From b5c689c525814dce0dffb02852e99483b4f477d8 Mon Sep 17 00:00:00 2001 From: Jordan Naftolin Date: Thu, 20 Jul 2000 18:47:49 +0000 Subject: [PATCH] now handles id's correctly when a table overflows onto another page git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193538 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/fo/flow/TableRow.java | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/src/org/apache/fop/fo/flow/TableRow.java b/src/org/apache/fop/fo/flow/TableRow.java index f876b5997..764cda7e6 100644 --- a/src/org/apache/fop/fo/flow/TableRow.java +++ b/src/org/apache/fop/fo/flow/TableRow.java @@ -198,9 +198,10 @@ public class TableRow extends FObj { status = new Status(Status.AREA_FULL_SOME); } - resetMarker(); - area.removeChild(areaContainer); - + area.removeChild(areaContainer); + this.resetMarker(); + this.removeID(area.getIDReferences()); + return status; } @@ -230,15 +231,7 @@ public class TableRow extends FObj { } return new Status(Status.OK); - } - - public void resetMarker() { - this.marker = START; - int numChildren = this.children.size(); - for (int i = 0; i < numChildren; i++) { - ((FONode) children.elementAt(i)).resetMarker(); - } - } + } public int getAreaHeight() { return areaContainer.getHeight(); -- 2.39.5