From: arved Date: Tue, 1 May 2001 00:57:39 +0000 (+0000) Subject: K. Liddle: footnote height problem fix X-Git-Tag: PRE_CODEFORMATTING~151 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=545e4bea23b471278267b085ea08fe99cba5d336;p=xmlgraphics-fop.git K. Liddle: footnote height problem fix git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194226 13f79535-47bb-0310-9956-ffa450edef68 --- 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) {