|
PoDoFo 1.1.0
|
A PdfDataProvider object with a PdfObject owner, specialized in holding objects. More...
#include <PdfDataContainer.h>
Public Member Functions | |
| const PdfObject * | GetOwner () const |
| PdfObject * | GetOwner () |
| virtual void | Write (OutputStream &stream, PdfWriteFlags writeMode, const PdfStatefulEncrypt *encrypt, charbuff &buffer) const =0 |
| Write the complete datatype to a file. | |
Public Member Functions inherited from PoDoFo::PdfDataProvider< PdfDataContainer > | |
| std::string | ToString (PdfWriteFlags flags=PdfWriteFlags::None) const |
| Converts the current object into a string representation which can be written directly to a PDF file on disc. | |
| void | ToString (std::string &str, PdfWriteFlags flags=PdfWriteFlags::None) const |
Protected Member Functions | |
| virtual void | resetDirty ()=0 |
| PdfObject * | GetIndirectObject (const PdfReference &reference) const |
| PdfDocument * | GetObjectDocument () |
| void | SetDirty () |
| bool | IsIndirectReferenceAllowed (const PdfObject &obj) |
| virtual void | setChildrenParent ()=0 |
| void | AssertMutable () const |
Friends | |
| class | PdfObject |
| class | PdfArray |
| class | PdfDictionary |
A PdfDataProvider object with a PdfObject owner, specialized in holding objects.
|
pure virtual |
Write the complete datatype to a file.
| device | write the object to this device |
| writeMode | additional options for writing this object |
| encrypt | an encryption object which is used to encrypt this object or nullptr to not encrypt this object |
Implemented in PoDoFo::PdfArray, and PoDoFo::PdfDictionary.