summaryrefslogtreecommitdiff
path: root/vcl/source/filter/ipdf/pdfdocument.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-03-24 09:46:21 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-03-24 12:47:33 +0000
commit1f2bccf2d28d4257aa0e325658d35182367b59d9 (patch)
tree5b4ef3eed66491c4ceabbc170fbb428d214ac672 /vcl/source/filter/ipdf/pdfdocument.cxx
parentce3e3185f9ef64b44e26593a8300ae912b6fe68e (diff)
tdf#106693 vcl PDF export, norefxobj: copy XObject references
With this the images inside the PDF image show up correctly. Change-Id: I430502fb6ae9de8111dda7e67db33642ff263317 Reviewed-on: https://gerrit.libreoffice.org/35621 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'vcl/source/filter/ipdf/pdfdocument.cxx')
-rw-r--r--vcl/source/filter/ipdf/pdfdocument.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/filter/ipdf/pdfdocument.cxx b/vcl/source/filter/ipdf/pdfdocument.cxx
index 72996ecd652c..900c5f281863 100644
--- a/vcl/source/filter/ipdf/pdfdocument.cxx
+++ b/vcl/source/filter/ipdf/pdfdocument.cxx
@@ -2586,6 +2586,11 @@ void PDFObjectElement::SetStreamBuffer(std::unique_ptr<SvMemoryStream>& pStreamB
m_pStreamBuffer = std::move(pStreamBuffer);
}
+PDFDocument& PDFObjectElement::GetDocument()
+{
+ return m_rDoc;
+}
+
PDFReferenceElement::PDFReferenceElement(PDFDocument& rDoc, int fObjectValue, int fGenerationValue)
: m_rDoc(rDoc),
m_fObjectValue(fObjectValue),