Logo Search packages:      
Sourcecode: libpodofo version File versions  Download package

Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes

PoDoFo::PdfPagesTree Class Reference

#include <PdfPagesTree.h>

Inheritance diagram for PoDoFo::PdfPagesTree:
Inheritance graph
Collaboration diagram for PoDoFo::PdfPagesTree:
Collaboration graph

List of all members.

Public Member Functions

void ClearCache ()
PdfPageCreatePage (const PdfRect &rSize)
void DeletePage (int inPageNumber)
PdfObjectGetObject ()
const PdfObjectGetObject () const
PdfPageGetPage (const PdfReference &ref)
PdfPageGetPage (int nIndex)
int GetTotalNumberOfPages () const
void InsertPage (int nAfterPageNumber, PdfPage *pPage)
void InsertPage (int nAfterPageNumber, PdfObject *pPage)
 PdfPagesTree (PdfObject *pPagesRoot)
 PdfPagesTree (PdfVecObjects *pParent)
virtual ~PdfPagesTree ()

Protected Member Functions

PdfObjectCreateObject (const char *pszType=NULL)
PdfObjectGetNonConstObject () const
const char * TypeNameForIndex (int i, const char **ppTypes, long lLen) const
int TypeNameToIndex (const char *pszType, const char **ppTypes, long lLen, int nUnknownValue) const

Private Types

typedef std::deque< PdfObject * > PdfObjectList

Private Member Functions

int ChangePagesCount (PdfObject *inPageObj, int inDelta)
void DeletePageFromNode (PdfObject *pNode, const PdfObjectList &rlstParents, int nIndex, PdfObject *pPage)
void DeletePageNode (PdfObject *pParent, int nIndex)
int GetChildCount (const PdfObject *pNode) const
PdfObjectGetPageNode (int nPageNum, PdfObject *pParent, PdfObjectList &rLstParents)
PdfObjectGetPageNodeFromArray (int nPageNum, const PdfArray &rKidsArray, PdfObjectList &rLstParents)
int GetPosInKids (PdfObject *pPageObj, PdfObject *pPageParent)
const PdfObjectGetRoot () const
PdfObjectGetRoot ()
void InsertPageIntoNode (PdfObject *pNode, const PdfObjectList &rlstParents, int nIndex, PdfObject *pPage)
bool IsEmptyPageNode (PdfObject *pPageNode)
bool IsTypePage (const PdfObject *pObject) const
bool IsTypePages (const PdfObject *pObject) const

Private Attributes

PdfPagesTreeCache m_cache

Detailed Description

Class for managing the tree of Pages in a PDF document Don't use this class directly. Use PdfDocument instead.

See also:

Definition at line 48 of file PdfPagesTree.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index