From 8dd9bf089787117ec4a49c1ea1c9f778c98d8cd7 Mon Sep 17 00:00:00 2001 From: Jordan Naftolin Date: Thu, 13 Jul 2000 17:35:42 +0000 Subject: [PATCH] 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 --- src/org/apache/fop/fo/flow/Flow.java | 5 +++++ 1 file changed, 5 insertions(+) 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); } -- 2.39.5