summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2018-03-13 10:20:32 +0100
committerDavid Tardon <dtardon@redhat.com>2018-03-13 11:51:27 +0100
commitfd877edc1822816be04b2e2fa0f883c00b5d2fb0 (patch)
treee09a523e01675f8edc570c43f362794b75fae3a0 /filter
parent8938e8b153f32f3f5926baddb87cb76c8e72755a (diff)
tdf#105679 honor more saved settings on direct PDF export
Change-Id: I555b2e2609b731ffac09014a3d84eda434cbb7a6
Diffstat (limited to 'filter')
-rw-r--r--filter/source/pdf/pdffilter.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/filter/source/pdf/pdffilter.cxx b/filter/source/pdf/pdffilter.cxx
index d20a2d3acd98..b8ccf47f455a 100644
--- a/filter/source/pdf/pdffilter.cxx
+++ b/filter/source/pdf/pdffilter.cxx
@@ -74,6 +74,7 @@ bool PDFFilter::implExport( const Sequence< PropertyValue >& rDescriptor )
aCfgItem.ReadBool( "ExportNotes", false );
aCfgItem.ReadBool( "ExportPlaceholders", false );
aCfgItem.ReadBool( "ExportNotesPages", false );
+ aCfgItem.ReadBool( "ExportOnlyNotesPages", false );
aCfgItem.ReadBool( "UseTransitionEffects", true );
aCfgItem.ReadBool( "IsSkipEmptyPages", false );
aCfgItem.ReadBool( "ExportFormFields", true );
@@ -87,8 +88,10 @@ bool PDFFilter::implExport( const Sequence< PropertyValue >& rDescriptor )
aCfgItem.ReadBool( "DisplayPDFDocumentTitle", true );
aCfgItem.ReadInt32( "InitialView", 0 );
aCfgItem.ReadInt32( "Magnification", 0 );
+ aCfgItem.ReadInt32( "Zoom", 100 );
aCfgItem.ReadInt32( "PageLayout", 0 );
aCfgItem.ReadBool( "FirstPageOnLeft", false );
+ aCfgItem.ReadInt32( "InitialPage", 1 );
aCfgItem.ReadBool( "IsAddStream", false );
// the encryption is not available when exporting directly, since the encryption is off by default and the selection