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

Samuel Mehrbrodt s.mehrbrodt at gmail.com
Mon Mar 10 03:58:30 PDT 2014


 filter/source/pdf/pdfexport.cxx                            |    2 +-
 officecfg/registry/schema/org/openoffice/Office/Common.xcs |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit b6588bd7c831ce88a29131ca7ea8d3f3e082564e
Author: Samuel Mehrbrodt <s.mehrbrodt at gmail.com>
Date:   Sun Mar 2 16:48:18 2014 +0100

    Reduce image resolution by default in PDF Export
    
    PDF Files can quickly become very big when a user inserts some images. Most users don't know how to reduce the size of their images.
    This patch enables the resolution reduction for PDF Export to 300DPI by default.
    
    Change-Id: I3ce5191de35561b59169e52e2e2efbc4a343f025
    Reviewed-on: https://gerrit.libreoffice.org/8422
    Tested-by: Caolán McNamara <caolanm at redhat.com>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/filter/source/pdf/pdfexport.cxx b/filter/source/pdf/pdfexport.cxx
index 39c5d22..1ebe0fe 100644
--- a/filter/source/pdf/pdfexport.cxx
+++ b/filter/source/pdf/pdfexport.cxx
@@ -106,7 +106,7 @@ PDFExport::PDFExport( const Reference< XComponent >& rxSrcDoc,
     mbExportHiddenSlides        ( sal_False ),
     mnOpenBookmarkLevels        ( -1 ),
     mbUseLosslessCompression    ( sal_False ),
-    mbReduceImageResolution     ( sal_False ),
+    mbReduceImageResolution     ( sal_True ),
     mbSkipEmptyPages            ( sal_True ),
     mbAddStream                 ( sal_False ),
     mnMaxImageResolution        ( 300 ),
diff --git a/officecfg/registry/schema/org/openoffice/Office/Common.xcs b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
index 1e681e9..2fd0fe1 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
@@ -5001,7 +5001,7 @@
               <desc>Specifies if the resolution of each image is reduced to the
               resolution specified by the property MaxImageResolution.</desc>
             </info>
-            <value>false</value>
+            <value>true</value>
           </prop>
           <prop oor:name="MaxImageResolution" oor:type="xs:int" oor:nillable="false">
             <info>


More information about the Libreoffice-commits mailing list