aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-05-09 20:45:15 +0000
committerGlen Mazza <gmazza@apache.org>2004-05-09 20:45:15 +0000
commit240bcc0c6d3af5ce0e8f9d2c2ca40f0d546f5b9f (patch)
treeae4d5e5f84d2281ea5e61949178de03aede5d000 /src/java/org/apache/fop/render
parent3d81811b573c812279c1a328f6aa132ea8cad2ab (diff)
downloadxmlgraphics-fop-240bcc0c6d3af5ce0e8f9d2c2ca40f0d546f5b9f.tar.gz
xmlgraphics-fop-240bcc0c6d3af5ce0e8f9d2c2ca40f0d546f5b9f.zip
String->int conversion and a few other simplifications to fo.Region* classes.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197575 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render')
-rw-r--r--src/java/org/apache/fop/render/rtf/PageAttributesConverter.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/render/rtf/PageAttributesConverter.java b/src/java/org/apache/fop/render/rtf/PageAttributesConverter.java
index fb34f9413..5220bb1bc 100644
--- a/src/java/org/apache/fop/render/rtf/PageAttributesConverter.java
+++ b/src/java/org/apache/fop/render/rtf/PageAttributesConverter.java
@@ -55,9 +55,9 @@ class PageAttributesConverter {
Property p = null;
Float f = null;
- Region before = pagemaster.getRegion("before");
- Region body = pagemaster.getRegion("body");
- Region after = pagemaster.getRegion("after");
+ Region before = pagemaster.getRegion(Region.BEFORE_CODE);
+ Region body = pagemaster.getRegion(Region.BODY_CODE);
+ Region after = pagemaster.getRegion(Region.AFTER_CODE);
//page attributes
props = pagemaster.propertyList;