[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice
From:       David Faure <faure () kde ! org>
Date:       2003-05-31 17:58:42
[Download RAW message or body]

CVS commit by faure: 

Mention new linespacing property


  M +11 -6     kpresenter/dtd/kpresenter.dtd   1.68
  M +11 -6     kword/dtd/kword.dtd   1.151


--- koffice/kword/dtd/kword.dtd  #1.150:1.151
@@ -898,10 +898,15 @@
 
 <!--
-        The space to be added between two consecutive lines in a given paragraph.
-        The "type" can be "oneandhalf" for 1.5 lines and "double" for 2 lines.
-        More generally it can also be "multiple", where spacingvalue=3 means 3 lines.
+        Linespacing defines the height of a line in a paragraph.
+        By default the line height is the height of the biggest character in the line.
+
+        The "type" can be "oneandhalf" for 1.5 * line_height and "double" for 2 * line_height.
+        More generally it can also be "multiple", where spacingvalue=3 means 3 * line_height.
         Other values for the type are
-        "custom": spacingvalue is the exact value of the linespacing in pt
-        "atleast": the linespacing is at least spacingvalue (in pt)
+        "custom": spacingvalue is the distance between the lines in pt (added to the line height)
+        "atleast": the total line height is at least spacingvalue (in pt)
+        "fixed": spacingvalue is equal to the total line height (in pt).
+
+        See koffice/lib/kotext/koparaglayout.h for more details.
 
         spacingvalue isn't used if type is "oneandhalf" or "double".
@@ -913,5 +918,5 @@
     EMPTY>
 <!ATTLIST LINESPACING
-    type (oneandhalf|double|custom|atleast|multiple) #IMPLIED
+    type (oneandhalf|double|custom|atleast|multiple|fixed) #IMPLIED
     spacingvalue CDATA #IMPLIED>
 

--- koffice/kpresenter/dtd/kpresenter.dtd  #1.67:1.68
@@ -447,10 +447,15 @@
 
 <!-- 
-        The space to be added between two consecutive lines in a given paragraph.
-        The "type" can be "oneandhalf" for 1.5 lines and "double" for 2 lines.
-        More generally it can also be "multiple", where spacingvalue=3 means 3 lines.
+        Linespacing defines the height of a line in a paragraph.
+        By default the line height is the height of the biggest character in the line.
+
+        The "type" can be "oneandhalf" for 1.5 * line_height and "double" for 2 * line_height.
+        More generally it can also be "multiple", where spacingvalue=3 means 3 * line_height.
         Other values for the type are
-        "custom": spacingvalue is the exact value of the linespacing in pt
-        "atleast": the linespacing is at least spacingvalue (in pt)
+        "custom": spacingvalue is the distance between the lines in pt (added to the line height)
+        "atleast": the total line height is at least spacingvalue (in pt)
+        "fixed": spacingvalue is equal to the total line height (in pt).
+
+        See koffice/lib/kotext/koparaglayout.h for more details.
 
         spacingvalue isn't used if type is "oneandhalf" or "double".
@@ -459,5 +464,5 @@
     EMPTY>
 <!ATTLIST LINESPACING
-    type (oneandhalf|double|custom|atleast|multiple) #IMPLIED
+    type (oneandhalf|double|custom|atleast|multiple|fixed) #IMPLIED
     spacingvalue CDATA #IMPLIED>
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic