summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-12-30 12:17:39 +0100
committerTomaž Vajngerl <quikee@gmail.com>2019-12-30 17:34:08 +0100
commite11dd7a101f2ab64cb7ee4a5c6ac46232356c573 (patch)
tree28b355a4b05f99af27501b2068767160ef15e5bc /vcl
parent960f781ad48b0e475a43ff7e58f67f2e65d3f4de (diff)
pdf: move TransparencyEmit out of PDFWriterImpl class
Change-Id: I974845db88c0ae07881c573091a69c5098fa311b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86003 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.hxx34
1 files changed, 17 insertions, 17 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx
index 2c1730345e96..57e9ca4eb9c7 100644
--- a/vcl/source/gdi/pdfwriter_impl.hxx
+++ b/vcl/source/gdi/pdfwriter_impl.hxx
@@ -239,6 +239,23 @@ struct TilingEmit
{}
};
+// for transparency group XObjects
+struct TransparencyEmit
+{
+ sal_Int32 m_nObject;
+ sal_Int32 m_nExtGStateObject;
+ double m_fAlpha;
+ tools::Rectangle m_aBoundRect;
+ std::unique_ptr<SvMemoryStream> m_pContentStream;
+ std::unique_ptr<SvMemoryStream> m_pSoftMaskStream;
+
+ TransparencyEmit()
+ : m_nObject( 0 ),
+ m_nExtGStateObject( -1 ),
+ m_fAlpha( 0.0 )
+ {}
+};
+
}
class PDFWriterImpl : public VirtualDevice
@@ -248,23 +265,6 @@ class PDFWriterImpl : public VirtualDevice
public:
friend struct vcl::pdf::PDFPage;
- // for transparency group XObjects
- struct TransparencyEmit
- {
- sal_Int32 m_nObject;
- sal_Int32 m_nExtGStateObject;
- double m_fAlpha;
- tools::Rectangle m_aBoundRect;
- std::unique_ptr<SvMemoryStream> m_pContentStream;
- std::unique_ptr<SvMemoryStream> m_pSoftMaskStream;
-
- TransparencyEmit()
- : m_nObject( 0 ),
- m_nExtGStateObject( -1 ),
- m_fAlpha( 0.0 )
- {}
- };
-
// font subsets
class GlyphEmit
{