aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorarved <arved@unknown>2001-05-01 00:57:39 +0000
committerarved <arved@unknown>2001-05-01 00:57:39 +0000
commit545e4bea23b471278267b085ea08fe99cba5d336 (patch)
tree6053fceca69b7e71fe206845d4736d77ecbc7121 /src
parenteb3ae69b2407270d76bc72549bf333fc4192fa2b (diff)
downloadxmlgraphics-fop-545e4bea23b471278267b085ea08fe99cba5d336.tar.gz
xmlgraphics-fop-545e4bea23b471278267b085ea08fe99cba5d336.zip
K. Liddle: footnote height problem fix
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194226 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/org/apache/fop/fo/flow/Footnote.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/apache/fop/fo/flow/Footnote.java b/src/org/apache/fop/fo/flow/Footnote.java
index 6fd9be84c..3d66d665c 100644
--- a/src/org/apache/fop/fo/flow/Footnote.java
+++ b/src/org/apache/fop/fo/flow/Footnote.java
@@ -104,7 +104,7 @@ public class Footnote extends FObj {
} else {
Page page = area.getPage();
layoutFootnote(page, (FootnoteBody)fbody, area);
- }
+ }
}
}
if(fbody == null) {
@@ -134,7 +134,7 @@ public class Footnote extends FObj {
return false;
} else {
if(area != null) {
- area.setMaxHeight(area.getMaxHeight() - footArea.getHeight());
+ area.setMaxHeight(area.getMaxHeight() - footArea.getHeight() + oldHeight);
}
//bac.setMaxHeight(bac.getMaxHeight() - footArea.getHeight() + oldHeight);
if(bac.getFootnoteState() == 0) {