#include <PdfDataType.h>
Inheritance diagram for PoDoFo::PdfDataType:
Public Member Functions | |
virtual void | Write (PdfOutputDevice *pDevice, const PdfEncrypt *pEncrypt=NULL) const =0 |
virtual bool | IsDirty () const |
virtual void | SetDirty (bool bDirty) |
Protected Member Functions | |
PdfDataType () |
PdfArray
PdfDictionary
PoDoFo::PdfDataType::PdfDataType | ( | ) | [protected] |
Create a new PdfDataType. Can only be called by subclasses
bool PoDoFo::PdfDataType::IsDirty | ( | ) | const [virtual] |
The dirty flag is set if this variant has been modified after construction.
Usually the dirty flag is also set if you call any non-const member function as we cannot determine if you actually changed something or not.
void PoDoFo::PdfDataType::SetDirty | ( | bool | bDirty | ) | [virtual] |
Sets the dirty flag of this PdfVariant
bDirty | true if this PdfVariant has been modified from the outside |
virtual void PoDoFo::PdfDataType::Write | ( | PdfOutputDevice * | pDevice, | |
const PdfEncrypt * | pEncrypt = NULL | |||
) | const [pure virtual] |
Write the complete datatype to a file.
pDevice | write the object to this device | |
pEncrypt | an encryption object which is used to encrypt this object or NULL to not encrypt this object |
Implemented in PoDoFo::PdfData, PoDoFo::PdfName, PoDoFo::PdfReference, and PoDoFo::PdfString.