diff options
author | arved <arved@unknown> | 2001-05-01 00:57:39 +0000 |
---|---|---|
committer | arved <arved@unknown> | 2001-05-01 00:57:39 +0000 |
commit | 545e4bea23b471278267b085ea08fe99cba5d336 (patch) | |
tree | 6053fceca69b7e71fe206845d4736d77ecbc7121 /src | |
parent | eb3ae69b2407270d76bc72549bf333fc4192fa2b (diff) | |
download | xmlgraphics-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.java | 4 |
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) { |