aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/area
diff options
context:
space:
mode:
authorFinn Bock <bckfnn@apache.org>2004-01-29 19:34:22 +0000
committerFinn Bock <bckfnn@apache.org>2004-01-29 19:34:22 +0000
commitdb4c23d41bdf944d96373ddb0165446777c48e9d (patch)
tree0dfe4414d4ca6a7b02426282abf17050663b66ff /src/java/org/apache/fop/area
parent938811aa9177e819fe5f51f6e14476559e847b69 (diff)
downloadxmlgraphics-fop-db4c23d41bdf944d96373ddb0165446777c48e9d.tar.gz
xmlgraphics-fop-db4c23d41bdf944d96373ddb0165446777c48e9d.zip
Added SPACE_START and SPACE_END traits.
PR: 25802. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197290 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/area')
-rw-r--r--src/java/org/apache/fop/area/Trait.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/area/Trait.java b/src/java/org/apache/fop/area/Trait.java
index ed1be8773..00af98b39 100644
--- a/src/java/org/apache/fop/area/Trait.java
+++ b/src/java/org/apache/fop/area/Trait.java
@@ -171,6 +171,16 @@ public class Trait implements Serializable {
*/
public static final Integer PADDING_AFTER = new Integer(22);
+ /**
+ * The space start.
+ */
+ public static final Integer SPACE_START = new Integer(23);
+
+ /**
+ * The space end.
+ */
+ public static final Integer SPACE_END = new Integer(24);
+
private static final Map TRAIT_INFO = new HashMap();
private static class TraitInfo {
@@ -230,6 +240,10 @@ public class Trait implements Serializable {
new TraitInfo("padding-before", Integer.class));
TRAIT_INFO.put(PADDING_AFTER,
new TraitInfo("padding-after", Integer.class));
+ TRAIT_INFO.put(SPACE_START,
+ new TraitInfo("space-start", Integer.class));
+ TRAIT_INFO.put(SPACE_END,
+ new TraitInfo("space-end", Integer.class));
}
/**