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

Public Member Functions | Protected Member Functions | Private Attributes

PoDoFo::PdfElement Class Reference

#include <PdfElement.h>

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

List of all members.

Public Member Functions

PdfObjectGetObject ()
const PdfObjectGetObject () const

Protected Member Functions

PdfObjectCreateObject (const char *pszType=NULL)
PdfObjectGetNonConstObject () const
 PdfElement (const char *pszType, PdfObject *pObject)
 PdfElement (EPdfDataType eExpectedDataType, PdfObject *pObject)
 PdfElement (const char *pszType, PdfDocument *pParent)
 PdfElement (const char *pszType, PdfVecObjects *pParent)
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 Attributes

PdfObjectm_pObject

Detailed Description

PdfElement is a common base class for all elements in a PDF file. For example pages, action and annotations.

Every PDF element has one PdfObject and provides an easier interface to modify the contents of the dictionary.

A PdfElement base class can be created from an existing PdfObject or created from scratch. In the later case, the PdfElement creates a PdfObject and adds it to a vector of objects.

A PdfElement cannot be created directly. Use one of the subclasses which implement real functionallity.

See also:
PdfPage
PdfAction
PdfAnnotation

Definition at line 47 of file PdfElement.h.


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

Generated by  Doxygen 1.6.0   Back to index