aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache
diff options
context:
space:
mode:
authorFinn Bock <bckfnn@apache.org>2004-10-29 10:35:03 +0000
committerFinn Bock <bckfnn@apache.org>2004-10-29 10:35:03 +0000
commit28c23bbe5296b052905d7f61313d26828f1a9376 (patch)
treef972147e62521ef84cbb05e4ba45aa06a228da3f /src/java/org/apache
parent1b4a17a2f8b7d7c9a18d223a45bd7786be1a0332 (diff)
downloadxmlgraphics-fop-28c23bbe5296b052905d7f61313d26828f1a9376.tar.gz
xmlgraphics-fop-28c23bbe5296b052905d7f61313d26828f1a9376.zip
The 'space-treatment' property has long ago been renamed to
'white-space-treatment'. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198111 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache')
-rw-r--r--src/java/org/apache/fop/fo/Constants.java2
-rw-r--r--src/java/org/apache/fop/fo/FOPropertyMapping.java6
2 files changed, 1 insertions, 7 deletions
diff --git a/src/java/org/apache/fop/fo/Constants.java b/src/java/org/apache/fop/fo/Constants.java
index d92827fcf..926640427 100644
--- a/src/java/org/apache/fop/fo/Constants.java
+++ b/src/java/org/apache/fop/fo/Constants.java
@@ -326,7 +326,7 @@ public interface Constants {
int PR_SPACE_BEFORE = 201;
int PR_SPACE_END = 202;
int PR_SPACE_START = 203;
- int PR_SPACE_TREATMENT = 204;
+ // space-treatment was removed. TODO: re-number properties.
int PR_SPAN = 205;
int PR_SPEAK = 206;
int PR_SPEAK_HEADER = 207;
diff --git a/src/java/org/apache/fop/fo/FOPropertyMapping.java b/src/java/org/apache/fop/fo/FOPropertyMapping.java
index 6865cf697..aef492af0 100644
--- a/src/java/org/apache/fop/fo/FOPropertyMapping.java
+++ b/src/java/org/apache/fop/fo/FOPropertyMapping.java
@@ -1578,12 +1578,6 @@ public class FOPropertyMapping implements Constants {
m.setDefault("treat-as-space");
addPropertyMaker("linefeed-treatment", m);
- // space-treatment
- m = new ToBeImplementedProperty.Maker(PR_SPACE_TREATMENT);
- m.setInherited(true);
- m.setDefault("preserve");
- addPropertyMaker("space-treatment", m);
-
// text-align TODO: make it a StringProperty with enums.
m = new EnumProperty.Maker(PR_TEXT_ALIGN);
m.setInherited(true);