diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2019-12-30 17:54:55 +0100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2019-12-30 21:14:37 +0100 |
commit | 7cd0a5b1a1b23a7c50b92302511e081703c8ec3a (patch) | |
tree | 1298472c9bb913fd964e640ccae55f691728c3be /vcl | |
parent | 7327e9b392124679280921131079d2c4ca2588b7 (diff) |
pdf: move PDFScreen out of PDFWriterImpl class
Change-Id: I9d41a1a1daac66ca760ae47e88b17bd97a1278e2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86020
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.hxx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx index 62a6f467adf2..c2145aa8c2de 100644 --- a/vcl/source/gdi/pdfwriter_impl.hxx +++ b/vcl/source/gdi/pdfwriter_impl.hxx @@ -394,6 +394,22 @@ struct PDFNoteEntry : public PDFAnnotation {} }; +/// A PDF Screen annotation. +struct PDFScreen : public PDFAnnotation +{ + /// Linked video. + OUString m_aURL; + /// Embedded video. + OUString m_aTempFileURL; + /// ID of the EmbeddedFile object. + sal_Int32 m_nTempFileObject; + + PDFScreen() + : m_nTempFileObject(0) + { + } +}; + } class PDFWriterImpl : public VirtualDevice @@ -403,22 +419,6 @@ class PDFWriterImpl : public VirtualDevice public: friend struct vcl::pdf::PDFPage; - /// A PDF Screen annotation. - struct PDFScreen : public PDFAnnotation - { - /// Linked video. - OUString m_aURL; - /// Embedded video. - OUString m_aTempFileURL; - /// ID of the EmbeddedFile object. - sal_Int32 m_nTempFileObject; - - PDFScreen() - : m_nTempFileObject(0) - { - } - }; - struct PDFWidget : public PDFAnnotation { typedef std::unordered_map<OString, SvMemoryStream*> PDFAppearanceStreams; |