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

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

PoDoFo::PdfObject Class Reference

#include <PdfObject.h>

Inheritance diagram for PoDoFo::PdfObject:
Inheritance graph
Collaboration diagram for PoDoFo::PdfObject:
Collaboration graph

List of all members.

Public Member Functions

void Clear ()
void DelayedStreamLoad () const
void FlateCompressStream ()
const PdfArrayGetArray () const
PdfArrayGetArray ()
bool GetBool () const
pdf_long GetByteOffset (const char *pszKey, EPdfWriteMode eWriteMode)
EPdfDataType GetDataType () const
const char * GetDataTypeString () const
const PdfDictionaryGetDictionary () const
PdfDictionaryGetDictionary ()
bool GetImmutable () const
PdfObjectGetIndirectKey (const PdfName &key) const
const PdfNameGetName () const
pdf_int64 GetNumber () const
pdf_long GetObjectLength (EPdfWriteMode eWriteMode)
PdfVecObjectsGetOwner () const
PdfObjectGetParent () const
PdfDataGetRawData ()
const PdfDataGetRawData () const
double GetReal () const
const PdfReferenceGetReference () const
PdfStreamGetStream ()
const PdfStreamGetStream () const
const PdfStringGetString () const
bool HasStream () const
bool IsArray () const
bool IsBool () const
bool IsDictionary () const
bool IsDirty () const
bool IsEmpty () const
bool IsHexString () const
bool IsName () const
bool IsNull () const
bool IsNumber () const
bool IsRawData () const
bool IsReal () const
bool IsReference () const
bool IsString () const
PdfObjectMustGetIndirectKey (const PdfName &key) const
bool operator!= (const PdfVariant &rhs) const
PODOFO_NOTHROW bool operator< (const PdfObject &rhs) const
const PdfObjectoperator= (const PdfObject &rhs)
PODOFO_NOTHROW bool operator== (const PdfObject &rhs) const
bool operator== (const PdfVariant &rhs) const
 PdfObject (const PdfString &rsString)
 PdfObject ()
 PdfObject (const PdfArray &tList)
 PdfObject (const PdfName &rName)
 PdfObject (const PdfReference &rRef, const char *pszType)
 PdfObject (const PdfReference &rRef)
 PdfObject (bool b)
 PdfObject (double d)
 PdfObject (const PdfDictionary &rDict)
 PdfObject (pdf_int64 l)
 PdfObject (const PdfObject &rhs)
 PdfObject (const PdfVariant &var)
 PdfObject (const PdfReference &rRef, const PdfVariant &rVariant)
const PdfReferenceReference () const
void SetBool (bool b)
void SetImmutable (bool bImmutable)
void SetNumber (long l)
void SetOwner (PdfVecObjects *pVecObjects)
void SetReal (double d)
void ToString (std::string &rsData, EPdfWriteMode eWriteMode=ePdfWriteMode_Clean) const
virtual void Write (PdfOutputDevice *pDevice, EPdfWriteMode eWriteMode, const PdfEncrypt *pEncrypt, const PdfName &keyStop) const
void Write (PdfOutputDevice *pDevice, EPdfWriteMode eWriteMode, const PdfEncrypt *pEncrypt=NULL) const
void WriteObject (PdfOutputDevice *pDevice, EPdfWriteMode eWriteMode, PdfEncrypt *pEncrypt, const PdfName &keyStop=PdfName::KeyNull) const

Static Public Attributes

static PdfVariant NullValue

Protected Member Functions

void AssertMutable () const
void DelayedLoad () const
PODOFO_NOTHROW bool DelayedLoadDone () const
virtual void DelayedLoadImpl ()
PODOFO_NOTHROW bool DelayedStreamLoadDone () const
virtual void DelayedStreamLoadImpl ()
void EnableDelayedLoading ()
void EnableDelayedStreamLoading ()
PdfArrayGetArray_NoDL ()
const PdfArrayGetArray_NoDL () const
const PdfDictionaryGetDictionary_NoDL () const
PdfDictionaryGetDictionary_NoDL ()
PdfStreamGetStream_NoDL ()
void SetDirty (bool bDirty)

Protected Attributes

PdfReference m_reference

Private Member Functions

void InitPdfObject ()
template<typename T >
 PdfObject (T *)

Private Attributes

bool m_bDelayedStreamLoadDone


class PdfVecObjects

Detailed Description

This class represents a PDF indirect Object in memory

It is possible to manipulate the stream which can be appended to the object (if the object is of underlying type dictionary). A PdfObject is uniquely identified by an object number and a generation number which has to be passed to the constructor.

The object can be written to a file easily using the WriteObject() function.

See also:

Definition at line 51 of file PdfObject.h.

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

Generated by  Doxygen 1.6.0   Back to index