OpenMW
Public Types | Public Member Functions
MWGui::TypesetBook Struct Reference

#include <bookpage.hpp>

List of all members.

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

Detailed Description

A formatted and paginated document to be used with the book page widget.


Member Typedef Documentation

typedef boost::shared_ptr<TypesetBook> MWGui::TypesetBook::Ptr

Member Function Documentation

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.


The documentation for this struct was generated from the following file: