OpenMW
|
#include <bookpage.hpp>
Public Types | |
typedef boost::shared_ptr < TypesetBook > | Ptr |
typedef intptr_t | InteractiveId |
Public Member Functions | |
virtual size_t | pageCount () const =0 |
Returns the number of pages in the document. | |
virtual std::pair< unsigned int, unsigned int > | getSize () const =0 |
A formatted and paginated document to be used with the book page widget.
typedef intptr_t MWGui::TypesetBook::InteractiveId |
typedef boost::shared_ptr<TypesetBook> MWGui::TypesetBook::Ptr |
virtual std::pair<unsigned int, unsigned int> MWGui::TypesetBook::getSize | ( | ) | const [pure virtual] |
Return the area covered by the document. The first integer is the maximum with of any line. This is not the largest coordinate of the right edge of any line, it is the largest distance from the left edge to the right edge. The second integer is the height of all text combined prior to pagination.
Implemented in MWGui::TypesetBookImpl.
virtual size_t MWGui::TypesetBook::pageCount | ( | ) | const [pure virtual] |
Returns the number of pages in the document.
Implemented in MWGui::TypesetBookImpl.