#include <PdfDataType.h>
Inheritance diagram for PoDoFo::PdfDataType:
Public Member Functions | |
virtual void | Write (PdfOutputDevice *pDevice, EPdfWriteMode eWriteMode, const PdfEncrypt *pEncrypt=NULL) const =0 |
virtual bool | IsDirty () const |
virtual void | SetDirty (bool bDirty) |
void | SetImmutable (bool bImmutable) |
bool | GetImmutable () const |
Protected Member Functions | |
PdfDataType () | |
void | AssertMutable () const |
PdfArray
PdfDictionary
|
Create a new PdfDataType. Can only be called by subclasses |
|
Will throw an exception if called on an immutable object, so this should be called before actually changing a value! |
|
Retrieve if an object is immutable. This is used by PdfImmediateWriter and PdfStreamedDocument so that no keys can be added to an object after setting stream data on it.
|
|
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.
|
|
Sets the dirty flag of this PdfVariant
|
|
Sets this object to immutable, so that no keys can be edited or changed.
|
|
Write the complete datatype to a file.
Implemented in PoDoFo::PdfData, PoDoFo::PdfName, PoDoFo::PdfReference, and PoDoFo::PdfString. |