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. More... | |
virtual std::pair< unsigned int, unsigned int > | getSize () const =0 |
A formatted and paginated document to be used with the book page widget.
typedef boost::shared_ptr<TypesetBook> MWGui::TypesetBook::Ptr |
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.
|
pure virtual |
Returns the number of pages in the document.
Implemented in MWGui::TypesetBookImpl.