#include <PdfPage.h>
Inheritance diagram for PoDoFo::PdfPage:
Public Member Functions | |
PdfPage (const PdfRect &rSize, PdfDocument *pParent) | |
PdfPage (const PdfRect &rSize, PdfVecObjects *pParent) | |
PdfPage (PdfObject *pObject, const std::deque< PdfObject * > &listOfParents) | |
virtual const PdfRect | GetPageSize () const |
bool | SetPageWidth (int newWidth) |
bool | SetPageHeight (int newHeight) |
void | SetTrimBox (const PdfRect &rSize) |
unsigned int | GetPageNumber () const |
virtual PdfObject * | GetContents () const |
virtual PdfObject * | GetContentsForAppending () const |
virtual PdfObject * | GetResources () const |
virtual const PdfRect | GetMediaBox () const |
virtual const PdfRect | GetCropBox () const |
virtual const PdfRect | GetTrimBox () const |
virtual const PdfRect | GetBleedBox () const |
virtual const PdfRect | GetArtBox () const |
virtual int | GetRotation () const |
virtual int | GetNumAnnots () const |
PdfAnnotation * | CreateAnnotation (EPdfAnnotation eType, const PdfRect &rRect) |
PdfAnnotation * | GetAnnotation (int index) |
void | DeleteAnnotation (int index) |
void | DeleteAnnotation (const PdfReference &ref) |
int | GetNumFields () const |
PdfField | GetField (int index) |
const PdfField | GetField (int index) const |
PdfObject * | GetFromResources (const PdfName &rType, const PdfName &rKey) |
const PdfObject * | GetInheritedKey (const PdfName &rName) const |
Static Public Member Functions | |
PdfRect | CreateStandardPageSize (const EPdfPageSize ePageSize, bool bLandscape=false) |
|
Create a new PdfPage object.
|
|
Create a new PdfPage object.
|
|
Create a PdfPage based on an existing PdfObject
|
|
Create a new annotation to this page.
|
|
Creates a PdfRect with the page size as values which is needed to create a PdfPage object from an enum which are defined for a few standard page sizes.
|
|
Delete the annotation object with reference ref from this page.
|
|
Delete the annotation with index index from this page.
|
|
Get the annotation with index index of the current page.
|
|
Get the current ArtBox in PDF units.
|
|
Get the current BleedBox (extra area for printing purposes) in PDF units.
|
|
Get access to the contents object of this page. If you want to draw onto the page, you have to add drawing commands to the stream of the Contents object.
Implements PoDoFo::PdfCanvas. |
|
Get access an object that you can use to ADD drawing to. If you want to draw onto the page, you have to add drawing commands to the stream of the Contents object.
Implements PoDoFo::PdfCanvas. |
|
Get the current CropBox (visible page size) in PDF units.
|
|
Get a PdfField with a certain index.
|
|
Get a PdfField with a certain index.
|
|
Get an element from the pages resources dictionary, using a type (category) and a key.
|
|
Method for getting a value that can be inherited Possible names that can be inherited according to the PDF specification are: Resources, MediaBox, CropBox and Rotate
|
|
Get the current MediaBox (physical page size) in PDF units.
|
|
Get the number of annotations associated with this page \ returns int number of annotations |
|
|
|
Page number inside of the document. The first page has the number 1, the last page has the number PdfPagesTree:GetTotalNumberOfPages()
|
|
Get the current page size in PDF Units
Implements PoDoFo::PdfCanvas. |
|
Get access to the resources object of this page. This is most likely an internal object.
Implements PoDoFo::PdfCanvas. |
|
Get the current page rotation (if any).
|
|
Get the current TrimBox (cut area) in PDF units.
|
|
Set the current page height in PDF Units
|
|
Set the current page width in PDF Units
|
|
Set the trimbox in PDF Units
|