aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo/flow/TableRow.java
diff options
context:
space:
mode:
authorJordan Naftolin <jordan@apache.org>2000-07-20 18:47:49 +0000
committerJordan Naftolin <jordan@apache.org>2000-07-20 18:47:49 +0000
commitb5c689c525814dce0dffb02852e99483b4f477d8 (patch)
treec6efd1767ead04b489604c01dc1bd174dce4f7c4 /src/org/apache/fop/fo/flow/TableRow.java
parent747d8039c24e54f97d1371454577aaa9e697f1c6 (diff)
downloadxmlgraphics-fop-b5c689c525814dce0dffb02852e99483b4f477d8.tar.gz
xmlgraphics-fop-b5c689c525814dce0dffb02852e99483b4f477d8.zip
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
Diffstat (limited to 'src/org/apache/fop/fo/flow/TableRow.java')
-rw-r--r--src/org/apache/fop/fo/flow/TableRow.java17
1 files 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();