]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Now calls removeID when keep-with-next is encountered
authorJordan Naftolin <jordan@apache.org>
Thu, 13 Jul 2000 17:35:42 +0000 (17:35 +0000)
committerJordan Naftolin <jordan@apache.org>
Thu, 13 Jul 2000 17:35:42 +0000 (17:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193497 13f79535-47bb-0310-9956-ffa450edef68

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

index 46b70da1cccd5dd748a00f38e0003c8c60cbd4c1..3d68ef470de77a8d97e7e5684f105a70883343b6 100644 (file)
@@ -109,6 +109,7 @@ public class Flow extends FObj {
                    FObj prevChild = (FObj) children.elementAt(this.marker);
                    prevChild.removeAreas();
                    prevChild.resetMarker();
+                   prevChild.removeID(area.getIDReferences());
                    return new Status(Status.AREA_FULL_SOME);
                    // should probably return AREA_FULL_NONE if first
                    // or perhaps an entirely new status code
@@ -120,6 +121,10 @@ public class Flow extends FObj {
            if (status.getCode() == Status.KEEP_WITH_NEXT) {
                prevChildMustKeepWithNext = true;
            }
+           else {
+               prevChildMustKeepWithNext = false;
+           }
+           
        }
        return new Status(Status.OK);
     }