15#include <rtl/strbuf.hxx>
16#include <rtl/string.hxx>
24class PDFObjectContainer;
27class PDFObjectElement;
38 std::map<sal_Int32, sal_Int32>& rCopiedResources);
46 std::map<sal_Int32, sal_Int32>& rCopiedResources);
51 std::map<sal_Int32, sal_Int32>& rCopiedResources);
57 std::map<sal_Int32, sal_Int32>& rCopiedResources);
60 static sal_Int32
copyPageStreams(std::vector<filter::PDFObjectElement*>& rContentStreams,
Allows creating, updating and writing PDF objects in a container.
Copies objects from one PDF file into another one.
OString copyExternalResources(filter::PDFObjectElement &rPage, const OString &rKind, std::map< sal_Int32, sal_Int32 > &rCopiedResources)
Copies resources of a given kind from an external page to the output, returning what has to be includ...
PDFObjectCopier(PDFObjectContainer &rContainer)
void copyRecursively(OStringBuffer &rLine, filter::PDFElement &rInputElement, SvMemoryStream &rDocBuffer, std::map< sal_Int32, sal_Int32 > &rCopiedResources)
static sal_Int32 copyPageStreams(std::vector< filter::PDFObjectElement * > &rContentStreams, SvMemoryStream &rStream, bool &rCompressed)
Copies page one or more page streams from rContentStreams into rStream.
void copyPageResources(filter::PDFObjectElement *pPage, OStringBuffer &rLine)
Copies resources of pPage into rLine.
PDFObjectContainer & m_rContainer
sal_Int32 copyExternalResource(SvMemoryStream &rDocBuffer, filter::PDFObjectElement &rObject, std::map< sal_Int32, sal_Int32 > &rCopiedResources)
Copies a single resource from an external document, returns the new object ID in our document.
A byte range in a PDF file.
Indirect object: something with a unique ID.