diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-03-24 09:46:21 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-03-30 16:23:39 +0200 |
commit | 095073cf908b01636bfe6a9fe4224040728de976 (patch) | |
tree | 74443bef2cb264578f4662b0320fd9ff3a4caa07 /include | |
parent | cef6c73ad4b83d17ee3750a37e3134366dfb6687 (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>
(cherry picked from commit 1f2bccf2d28d4257aa0e325658d35182367b59d9)
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/filter/pdfdocument.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/vcl/filter/pdfdocument.hxx b/include/vcl/filter/pdfdocument.hxx index 8d362e7e339c..135d30d8d8bb 100644 --- a/include/vcl/filter/pdfdocument.hxx +++ b/include/vcl/filter/pdfdocument.hxx @@ -44,13 +44,14 @@ public: /// Indirect object: something with a unique ID. class VCL_DLLPUBLIC PDFObjectElement : public PDFElement { + /// The document owning this element. PDFDocument& m_rDoc; double m_fObjectValue; double m_fGenerationValue; std::map<OString, PDFElement*> m_aDictionary; /// Position after the '<<' token. sal_uInt64 m_nDictionaryOffset; - /// Length of the dictionary buffer till (before) the '<<' token. + /// Length of the dictionary buffer till (before) the '>>' token. sal_uInt64 m_nDictionaryLength; PDFDictionaryElement* m_pDictionaryElement; /// The contained direct array, if any. @@ -86,6 +87,7 @@ public: std::vector< std::unique_ptr<PDFElement> >& GetStoredElements(); SvMemoryStream* GetStreamBuffer() const; void SetStreamBuffer(std::unique_ptr<SvMemoryStream>& pStreamBuffer); + PDFDocument& GetDocument(); }; /// Array object: a list. |