|
PoDoFo
0.9.6
|
#include <PdfData.h>
Public Member Functions | |
| PdfData (const char *pszData) | |
| PdfData (const char *pszData, size_t dataSize) | |
| PdfData (const PdfData &rhs) | |
| void | Write (PdfOutputDevice *pDevice, EPdfWriteMode eWriteMode, const PdfEncrypt *pEncrypt=NULL) const |
| const PdfData & | operator= (const PdfData &rhs) |
| const std::string & | data () const |
Public Member Functions inherited from PoDoFo::PdfDataType | |
| virtual bool | IsDirty () const |
| virtual void | SetDirty (bool bDirty) |
| void | SetImmutable (bool bImmutable) |
| bool | GetImmutable () const |
Additional Inherited Members | |
Protected Member Functions inherited from PoDoFo::PdfDataType | |
| PdfDataType () | |
| void | AssertMutable () const |
A datatype that allows to write arbitrary data to a PDF file. The user of this class has to ensure that the data written to the PDF file using this class is valid data for a PDF file!
This class is used in PoDoFo to pad PdfVariants.
|
inline |
|
inline |
|
inline |
|
inline |
Access the data as a std::string
|
virtual |
Write the complete datatype to a file.
| pDevice | write the object to this device |
| eWriteMode | additional options for writing this object |
| pEncrypt | an encryption object which is used to encrypt this object or NULL to not encrypt this object |
PdfData cannot do any encryption for you. So the encryption object will be ignored as it is also the case for the write mode!
Implements PoDoFo::PdfDataType.