]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
K. Liddle: footnote height problem fix
authorarved <arved@unknown>
Tue, 1 May 2001 00:57:39 +0000 (00:57 +0000)
committerarved <arved@unknown>
Tue, 1 May 2001 00:57:39 +0000 (00:57 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194226 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/fo/flow/Footnote.java

index 6fd9be84c31b726bd87705738ebb63f8af1ca030..3d66d665c0b6236d35441c1077521165be05a9b7 100644 (file)
@@ -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) {