]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Add white-space-treatment and linefeed-treatment
authorKaren Lease <klease@apache.org>
Wed, 21 Nov 2001 22:15:15 +0000 (22:15 +0000)
committerKaren Lease <klease@apache.org>
Wed, 21 Nov 2001 22:15:15 +0000 (22:15 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194573 13f79535-47bb-0310-9956-ffa450edef68

src/codegen/foproperties.xml

index 4603e91558d000aabbc911f69cd384f085c470b7..335441e6c1601166e07f0ca1925c5d56b93e54fe 100644 (file)
   <property>
     <name>linefeed-treatment</name>
     <inherited>true</inherited>
-    <datatype>ToBeImplemented</datatype>
+    <datatype>Enum</datatype>
+      <enumeration>
+        <value const="IGNORE">ignore</value>
+        <value const="PRESERVE">preserve</value>
+        <value const="TREAT_AS_SPACE">treat-as-space</value>
+        <value const="TREAT_AS_ZERO_WIDTH_SPACE">treat-as-zero-width-space</value>
+      </enumeration>
     <default>treat-as-space</default>
   </property>
   <property>
     <default>baseline</default>
   </property>
   <property>
-    <name>white-space</name>
+    <name>white-space-treatment</name>
     <inherited>true</inherited>
-    <datatype>ToBeImplemented</datatype>
-    <default>normal</default>
+    <datatype>Enum</datatype>
+      <enumeration>
+        <value const="IGNORE">ignore</value>
+        <value const="PRESERVE">preserve</value>
+        <value const="IGNORE_IF_BEFORE_LINEFEED">ignore-if-before-linefeed</value>
+        <value const="IGNORE_IF_AFTER_LINEFEED">ignore-if-after-linefeed</value>
+        <value const="IGNORE_IF_SURROUNDING_LINEFEED">ignore-if-surrounding-linefeed</value>
+      </enumeration>
+    <default>ignore-if-surrounding-linefeed</default>
   </property>
   <property>
     <name>xml:lang</name>