#include <PdfPagesTree.h>
Inheritance diagram for PoDoFo::PdfPagesTree:
Public Member Functions | |
PdfPagesTree (PdfVecObjects *pParent) | |
PdfPagesTree (PdfObject *pPagesRoot) | |
virtual | ~PdfPagesTree () |
int | GetTotalNumberOfPages () const |
PdfPage * | GetPage (int nIndex) |
PdfPage * | GetPage (const PdfReference &ref) |
void | InsertPage (int nAfterPageNumber, PdfObject *pPage) |
void | InsertPage (int nAfterPageNumber, PdfPage *pPage) |
PdfPage * | CreatePage (const PdfRect &rSize) |
void | DeletePage (int inPageNumber) |
void | ClearCache () |
|
Construct a new PdfPagesTree |
|
Construct a PdfPagesTree from the root /Pages object
|
|
Close/down destruct a PdfPagesTree |
|
Clear internal cache of PdfPage objects. All references to PdfPage object will become invalid when calling this method. All PdfPages will be deleted. You normally will never have to call this method. It is only useful if one modified the page nodes of the pagestree manually. |
|
Creates a new page object and inserts it into the internal page tree. The returned page is owned by the pages tree and will get deleted along with it!
|
|
Delete the specified page object from the internal pages tree. It does NOT remove any PdfObjects from memory - just the reference from the tree
|
|
Return a PdfPage for the specified Page reference. The returned page is owned by the pages tree and deleted along with it.
|
|
Return a PdfPage for the specified Page index The returned page is owned by the pages tree and deleted along with it.
|
|
Return the number of pages in the entire tree
|
|
Inserts an existing page object into the internal page tree. after the specified page number
|
|
Inserts an existing page object into the internal page tree. after the specified page number
|