PoDoFo 0.9.20
|
#include <PdfData.h>
Public Member Functions | |
PdfData (charbuff &&data, const std::shared_ptr< size_t > &writeBeacon={ }) | |
PdfData (const bufferview &data, const std::shared_ptr< size_t > &writeBeacon={ }) | |
void | Write (OutputStream &stream, PdfWriteFlags writeMode, const PdfStatefulEncrypt &encrypt, charbuff &buffer) const override |
const charbuff & | GetBuffer () const |
![]() | |
std::string | ToString () const |
Additional Inherited Members | |
![]() | |
PdfDataProvider () | |
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!
PdfData::PdfData | ( | charbuff && | data, |
const std::shared_ptr< size_t > & | writeBeacon = { } |
||
) |
|
explicit |
|
inline |
Access the data as a std::string
|
overridevirtual |
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 |
Implements PoDoFo::PdfDataProvider.