aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2003-12-29 23:28:47 +0000
committerGlen Mazza <gmazza@apache.org>2003-12-29 23:28:47 +0000
commitb3157f195b82c379f72b7e203865a9505ed2ddce (patch)
treee723d0babd81913123455fa7514c1b14f55e066a /src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java
parent7818de28ec0bf0f1b36da617076227df89bdc3ea (diff)
downloadxmlgraphics-fop-b3157f195b82c379f72b7e203865a9505ed2ddce.tar.gz
xmlgraphics-fop-b3157f195b82c379f72b7e203865a9505ed2ddce.zip
More String->int conversions, annoyingly incremental but I'm getting there...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197076 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java')
-rw-r--r--src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java b/src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java
index 189d28c67..86870754a 100644
--- a/src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java
@@ -107,14 +107,14 @@ public class BlockContainerLayoutManager extends BlockStackingLayoutManager {
absoluteCTM = CTM.getCTMandRelDims(pm.getAbsRefOrient(),
pm.getWritingMode(), rect, relDims);
}
- height = pm.getPropertyList().get("height").getLength();
- width = pm.getPropertyList().get("width").getLength();
+ height = pm.getPropertyList().get(PR_HEIGHT).getLength();
+ width = pm.getPropertyList().get(PR_WIDTH).getLength();
}
protected int getRotatedIPD() {
PropertyList props = propManager.getPropertyList();
- int height = props.get("height").getLength().getValue();
- height = props.get("inline-progression-dimension.optimum").getLength().getValue();
+ int height = props.get(PR_HEIGHT).getLength().getValue();
+ height = props.get(PR_INLINE_PROGRESSION_DIMENSION | CP_OPTIMUM).getLength().getValue();
return height;
}