aboutsummaryrefslogtreecommitdiffstats
path: root/src/codegen/foproperties.xml
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2000-12-12 03:12:52 +0000
committerKeiron Liddle <keiron@apache.org>2000-12-12 03:12:52 +0000
commit7464d725f84b11e5e55f210817b1b1a02726497a (patch)
tree3fc2fa98583bb933e910615fa29567364a4aa081 /src/codegen/foproperties.xml
parentb6b0b4133426dfca547b243ac5d7a7ff44f48bff (diff)
downloadxmlgraphics-fop-7464d725f84b11e5e55f210817b1b1a02726497a.tar.gz
xmlgraphics-fop-7464d725f84b11e5e55f210817b1b1a02726497a.zip
Updated tables to handle headers, footers, keep-with
colspan is partly done Also fixed the bug where some of a block was missing if near end of page Code changes sponsored by Dresdner Bank, Germany git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193859 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/codegen/foproperties.xml')
-rw-r--r--src/codegen/foproperties.xml68
1 files changed, 57 insertions, 11 deletions
diff --git a/src/codegen/foproperties.xml b/src/codegen/foproperties.xml
index 59e1d4358..14e4deccf 100644
--- a/src/codegen/foproperties.xml
+++ b/src/codegen/foproperties.xml
@@ -9,6 +9,36 @@
new ColorType(strval)</datatype-conversion>
</property>
<property type="generic">
+ <name>generic-boolean</name>
+ <class-name>GenericBoolean</class-name>
+ <datatype>Enum</datatype>
+ <enumeration>
+ <value const="TRUE">true</value>
+ <value const="FALSE">false</value>
+ </enumeration>
+ </property>
+ <property type="generic">
+ <name>generic-keep</name>
+ <class-name>GenericKeep</class-name>
+ <datatype>Number</datatype>
+ <keyword-equiv match="auto" eval="true">0</keyword-equiv>
+ <keyword-equiv match="always" eval="true">-1</keyword-equiv>
+<!-- <compound>
+ <subproperty>
+ <name>within-page</name>
+ <datatype>Number</datatype>
+ </subproperty>
+ <subproperty>
+ <name>within-line</name>
+ <datatype>Number</datatype>
+ </subproperty>
+ <subproperty>
+ <name>within-column</name>
+ <datatype>Number</datatype>
+ </subproperty>
+ </compound>-->
+ </property>
+ <property type="generic">
<name>conditional-length-template</name>
<class-name>GenericCondLength</class-name>
<datatype>CondLength</datatype>
@@ -300,11 +330,7 @@
<property>
<name>white-space-collapse</name>
<inherited>true</inherited>
- <datatype>Enum</datatype>
- <enumeration>
- <value const="TRUE">true</value>
- <value const="FALSE">false</value>
- </enumeration>
+ <use-generic>GenericBoolean</use-generic>
<default>true</default>
</property>
<property>
@@ -376,12 +402,20 @@
<property>
<name>keep-with-next</name>
<inherited>false</inherited>
- <datatype>Enum</datatype>
- <enumeration>
- <value const="TRUE">true</value>
- <value const="FALSE">false</value>
- </enumeration>
- <default>false</default>
+ <use-generic>GenericKeep</use-generic>
+ <default>auto</default>
+ </property>
+ <property>
+ <name>keep-with-previous</name>
+ <inherited>false</inherited>
+ <use-generic>GenericKeep</use-generic>
+ <default>auto</default>
+ </property>
+ <property>
+ <name>keep-together</name>
+ <inherited>false</inherited>
+ <use-generic>GenericKeep</use-generic>
+ <default>auto</default>
</property>
<property>
<name>background-color</name>
@@ -857,6 +891,18 @@
<datatype>Number</datatype>
<default>1</default>
</property>
+ <property>
+ <name>widows</name>
+ <inherited>true</inherited>
+ <datatype>Number</datatype>
+ <default>2</default>
+ </property>
+ <property>
+ <name>orphans</name>
+ <inherited>true</inherited>
+ <datatype>Number</datatype>
+ <default>2</default>
+ </property>
<property>
<name>region-name</name>