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

Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes

PoDoFo::PdfPage Class Reference

#include <PdfPage.h>

Inheritance diagram for PoDoFo::PdfPage:
Inheritance graph
[legend]
Collaboration diagram for PoDoFo::PdfPage:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void AddColorResource (const PdfColor &rColor)
void AddResource (const PdfName &rIdentifier, const PdfReference &rRef, const PdfName &rName)
PdfAnnotationCreateAnnotation (EPdfAnnotation eType, const PdfRect &rRect)
void DeleteAnnotation (int index)
void DeleteAnnotation (const PdfReference &ref)
PdfAnnotationGetAnnotation (int index)
virtual const PdfRect GetArtBox () const
virtual const PdfRect GetBleedBox () const
virtual PdfObjectGetContents () const
virtual PdfObjectGetContentsForAppending () const
virtual const PdfRect GetCropBox () const
PdfField GetField (int index)
const PdfField GetField (int index) const
PdfObjectGetFromResources (const PdfName &rType, const PdfName &rKey)
virtual const PdfRect GetMediaBox () const
virtual int GetNumAnnots () const
int GetNumFields () const
const PdfObjectGetObject () const
PdfObjectGetObject ()
unsigned int GetPageNumber () const
virtual const PdfRect GetPageSize () const
virtual PdfObjectGetResources () const
virtual int GetRotation () const
virtual const PdfRect GetTrimBox () const
 PdfPage (const PdfRect &rSize, PdfDocument *pParent)
 PdfPage (const PdfRect &rSize, PdfVecObjects *pParent)
 PdfPage (PdfObject *pObject, const std::deque< PdfObject * > &listOfParents)
bool SetPageHeight (int newHeight)
bool SetPageWidth (int newWidth)
void SetTrimBox (const PdfRect &rSize)

Static Public Member Functions

static PdfRect CreateStandardPageSize (const EPdfPageSize ePageSize, bool bLandscape=false)
static const PdfArrayGetProcSet ()

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 Member Functions

void CreateContents ()
PdfObjectGetAnnotationsArray (bool bCreate=false) const
const PdfObjectGetInheritedKeyFromObject (const char *inKey, const PdfObject *inObject) const
const PdfRect GetPageBox (const char *inBox) const
void InitNewPage (const PdfRect &rSize)

Private Attributes

TMapAnnotation m_mapAnnotations
PdfContentsm_pContents
PdfObjectm_pResources

Detailed Description

PdfPage is one page in the pdf document. It is possible to draw on a page using a PdfPainter object. Every document needs at least one page.

Definition at line 48 of file PdfPage.h.


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

Generated by  Doxygen 1.6.0   Back to index