[Libreoffice-commits] core.git: filter/source

David Tardon dtardon at redhat.com
Tue Mar 13 10:53:56 UTC 2018


 filter/source/pdf/pdffilter.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit fd877edc1822816be04b2e2fa0f883c00b5d2fb0
Author: David Tardon <dtardon at redhat.com>
Date:   Tue Mar 13 10:20:32 2018 +0100

    tdf#105679 honor more saved settings on direct PDF export
    
    Change-Id: I555b2e2609b731ffac09014a3d84eda434cbb7a6

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


More information about the Libreoffice-commits mailing list