aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJordan Naftolin <jordan@apache.org>2000-07-13 17:35:42 +0000
committerJordan Naftolin <jordan@apache.org>2000-07-13 17:35:42 +0000
commit8dd9bf089787117ec4a49c1ea1c9f778c98d8cd7 (patch)
tree3b61bfb7e0cc54d05475c0fdc8286aa15b105560 /src
parentaad223315a4d17974d381b5a28a3130b550ca440 (diff)
downloadxmlgraphics-fop-8dd9bf089787117ec4a49c1ea1c9f778c98d8cd7.tar.gz
xmlgraphics-fop-8dd9bf089787117ec4a49c1ea1c9f778c98d8cd7.zip
Now calls removeID when keep-with-next is encountered
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193497 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/org/apache/fop/fo/flow/Flow.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/org/apache/fop/fo/flow/Flow.java b/src/org/apache/fop/fo/flow/Flow.java
index 46b70da1c..3d68ef470 100644
--- a/src/org/apache/fop/fo/flow/Flow.java
+++ b/src/org/apache/fop/fo/flow/Flow.java
@@ -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);
}