summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-03-22 16:30:35 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-03-30 16:22:47 +0200
commit7de3c19ce685f9719a18859c9240d48e27b55dec (patch)
treed99afcacd689b3048d25038cb4361b5083f9bd8d /include
parent205245f4768e801f27f3ae440d327b0ec48f0dd0 (diff)
tdf#106693 vcl PDF export: initial UseReferenceXObject option
It's still on, but in experimental mode start work towards the ability to not use that markup. Change-Id: Idf11c0e0a3c61ad93af331346ec7107304f6dc0f Reviewed-on: https://gerrit.libreoffice.org/35538 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org> (cherry picked from commit 5f4826d89bfa1398b16fc85cf593ff58ce5e36a9)
Diffstat (limited to 'include')
-rw-r--r--include/vcl/pdfwriter.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/vcl/pdfwriter.hxx b/include/vcl/pdfwriter.hxx
index b54ce53891b2..f4dba18efc84 100644
--- a/include/vcl/pdfwriter.hxx
+++ b/include/vcl/pdfwriter.hxx
@@ -637,6 +637,8 @@ The following structure describes the permissions used in PDF security
PDFWriter::ColorMode ColorMode;
css::uno::Reference< css::security::XCertificate> SignCertificate;
OUString SignTSA;
+ /// Use reference XObject markup for PDF images.
+ bool UseReferenceXObject;
PDFWriterContext() :
RelFsys( false ), //i56629, i49415?, i64585?
@@ -666,7 +668,8 @@ The following structure describes the permissions used in PDF security
DPIx( 0 ),
DPIy( 0 ),
ColorMode( PDFWriter::DrawColor ),
- SignCertificate( nullptr )
+ SignCertificate( nullptr ),
+ UseReferenceXObject( false )
{}
};