[Libreoffice-commits] core.git: offapi/com

Michael Stahl mstahl at redhat.com
Mon Jan 30 14:29:05 UTC 2017


 offapi/com/sun/star/document/Settings.idl             |    9 +++++++--
 offapi/com/sun/star/drawing/DocumentSettings.idl      |    6 +++++-
 offapi/com/sun/star/presentation/DocumentSettings.idl |    6 +++++-
 3 files changed, 17 insertions(+), 4 deletions(-)

New commits:
commit 57e696742c61297023ddeb21d8e8a8305b6844f8
Author: Michael Stahl <mstahl at redhat.com>
Date:   Mon Jan 30 12:08:16 2017 +0100

    offapi: improve some Settings documentation
    
    Change-Id: Ic63adf85d096cb51f43e5a54453d43ad02792a99

diff --git a/offapi/com/sun/star/document/Settings.idl b/offapi/com/sun/star/document/Settings.idl
index b0c6f31..9d4fa92 100644
--- a/offapi/com/sun/star/document/Settings.idl
+++ b/offapi/com/sun/star/document/Settings.idl
@@ -184,8 +184,13 @@ published service Settings
     [optional, property] boolean IsPrintBookletBack;
 
     // Draw and Impress
-    // Note: Define a constant group for that?
-    /**
+    /** how printing uses color.
+
+        <ul>
+        <li>0: Default</li>
+        <li>1: Grayscale</li>
+        <li>2: Black & White (with grayscale images)</li>
+        </ul>
      */
     [optional, property] long PrintQuality;
 
diff --git a/offapi/com/sun/star/drawing/DocumentSettings.idl b/offapi/com/sun/star/drawing/DocumentSettings.idl
index 7bdd289..5223d90 100644
--- a/offapi/com/sun/star/drawing/DocumentSettings.idl
+++ b/offapi/com/sun/star/drawing/DocumentSettings.idl
@@ -71,11 +71,15 @@ published service DocumentSettings
     [optional, property] boolean IsPrintTilePage;
 
     /** is the number format used for page number fields
+
+        Values 0-7 are supported.
+
+        @see com::sun::star::style::NumberingType
      */
     [optional, property] long PageNumberFormat;
 
     /** If this is true, the distance between two paragraphs is
-        the sum of ParaTopMargin of the previous and ParaBottomMargin of
+        the sum of ParaBottomMargin of the previous and ParaTopMargin of
         the next paragraph. If false, only the greater of the two is
         chosen.
      */
diff --git a/offapi/com/sun/star/presentation/DocumentSettings.idl b/offapi/com/sun/star/presentation/DocumentSettings.idl
index a4419de..613b8ca 100644
--- a/offapi/com/sun/star/presentation/DocumentSettings.idl
+++ b/offapi/com/sun/star/presentation/DocumentSettings.idl
@@ -82,11 +82,15 @@ published service DocumentSettings
     [optional, property] boolean IsPrintTilePage;
 
     /** is the number format used for page number fields
+
+        Values 0-7 are supported.
+
+        @see com::sun::star::style::NumberingType
      */
     [optional, property] long PageNumberFormat;
 
     /** If this is true, the distance between two paragraphs is
-        the sum of ParaTopMargin of the previous and ParaBottomMargin of
+        the sum of ParaBottomMargin of the previous and ParaTopMargin of
         the next paragraph. If false, only the greater of the two is
         chosen.
      */


More information about the Libreoffice-commits mailing list