41 std::shared_ptr<SvStream> aPDFStream = maDataContainer.
getAsStream();
42 auto pPDFDocument = std::make_shared<filter::PDFDocument>();
43 if (!pPDFDocument->ReadWithPossibleFixup(*aPDFStream))
46 "PDFWriterImpl::writeReferenceXObject: reading the PDF document failed");
50 mpPDFDocument = pPDFDocument;
Container for the binary data, whose responsibility is to manage the make it as simple as possible to...
std::shared_ptr< SvStream > getAsStream()
ExternalPDFStream & get(sal_uInt32 nIndex)
std::vector< ExternalPDFStream > maStreamList
std::map< std::vector< sal_uInt8 >, sal_Int32 > maStreamIndexMap
sal_Int32 store(BinaryDataContainer const &rDataContainer)
#define SAL_WARN(area, stream)
std::map< sal_Int32, sal_Int32 > maCopiedResources
std::shared_ptr< filter::PDFDocument > mpPDFDocument
std::map< sal_Int32, sal_Int32 > & getCopiedResources()
std::shared_ptr< filter::PDFDocument > & getPDFDocument()
BinaryDataContainer maDataContainer