PoDoFo 0.9.20
|
#include <PdfDataProvider.h>
Public Member Functions | |
std::string | ToString () const |
virtual void | Write (OutputStream &stream, PdfWriteFlags writeMode, const PdfStatefulEncrypt &encrypt, charbuff &buffer) const =0 |
Protected Member Functions | |
PdfDataProvider () | |
An interface for data provider classes that are stored in a PdfVariant
|
protected |
Create a new PdfDataProvider. Can only be called by subclasses
string PdfDataProvider::ToString | ( | ) | const |
Converts the current object into a string representation which can be written directly to a PDF file on disc.
str | the object string is returned in this object. |
|
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, PoDoFo::PdfData, PoDoFo::PdfDictionary, PoDoFo::PdfName, and PoDoFo::PdfString.