diff options
author | Finn Bock <bckfnn@apache.org> | 2004-09-22 08:18:42 +0000 |
---|---|---|
committer | Finn Bock <bckfnn@apache.org> | 2004-09-22 08:18:42 +0000 |
commit | 0d5f2c76c44d7d79330588a57ee413b68980b4ec (patch) | |
tree | 9279b3fc792d699b627f5bc67748b6e2ee9c76ce /src/java/org/apache/fop/area/Block.java | |
parent | 34ffd8adb7e91f485e3520079ae74e1dd1f7a532 (diff) | |
download | xmlgraphics-fop-0d5f2c76c44d7d79330588a57ee413b68980b4ec.tar.gz xmlgraphics-fop-0d5f2c76c44d7d79330588a57ee413b68980b4ec.zip |
Use content ipd/bpd instead of allocation width/height.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197956 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/area/Block.java')
-rw-r--r-- | src/java/org/apache/fop/area/Block.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/area/Block.java b/src/java/org/apache/fop/area/Block.java index 9dc3d300b..b4f770a99 100644 --- a/src/java/org/apache/fop/area/Block.java +++ b/src/java/org/apache/fop/area/Block.java @@ -75,7 +75,7 @@ public class Block extends BlockParent { children = new ArrayList(); } if (autoHeight) { - height += block.getHeight(); + bpd += block.getAllocBPD(); } children.add(block); } @@ -89,7 +89,7 @@ public class Block extends BlockParent { if (children == null) { children = new ArrayList(); } - height += line.getHeight(); + bpd += line.getBPD(); children.add(line); } |