aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo/flow/TableRow.java
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2000-12-13 03:37:52 +0000
committerKeiron Liddle <keiron@apache.org>2000-12-13 03:37:52 +0000
commit49b6731e47a1534f9cef1b409b7533404cf61a96 (patch)
treec1a217c08f5d230a89f5814d9f92c3ca5c1fcd70 /src/org/apache/fop/fo/flow/TableRow.java
parentbdd647d98f3f93f2d2b992dc9fec6f8614364881 (diff)
downloadxmlgraphics-fop-49b6731e47a1534f9cef1b409b7533404cf61a96.tar.gz
xmlgraphics-fop-49b6731e47a1534f9cef1b409b7533404cf61a96.zip
Applied Kelly's patch to fix problem where id's where being setup twice for
table row going over the page Submitted by: Kelly Campbell git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193868 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.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/org/apache/fop/fo/flow/TableRow.java b/src/org/apache/fop/fo/flow/TableRow.java
index 7ee5ebb96..d7bdcf028 100644
--- a/src/org/apache/fop/fo/flow/TableRow.java
+++ b/src/org/apache/fop/fo/flow/TableRow.java
@@ -337,6 +337,8 @@ public class TableRow extends FObj {
}
public Status layout(Area area) throws FOPException {
+ boolean configID = false;
+
if (this.marker == BREAK_AFTER) {
return new Status(Status.OK);
}
@@ -350,6 +352,7 @@ public class TableRow extends FObj {
}
area.getIDReferences().createID(id);
+ configID = true;
this.marker = 0;
}
@@ -360,7 +363,7 @@ public class TableRow extends FObj {
area.increaseHeight(spaceBefore);
}
- if (marker == 0) {
+ if (marker == 0 && configID) {
// configure id
area.getIDReferences().configureID(id, area);
}
@@ -536,7 +539,6 @@ public class TableRow extends FObj {
area.start();
}
-
// test to see if some cells are not
// completely laid out.
// Hani Elabed 11/22/2000
@@ -549,9 +551,6 @@ public class TableRow extends FObj {
}
}
-
-
-
// replaced by Hani Elabed 11/27/2000
//return new Status(Status.OK);
@@ -580,7 +579,7 @@ public class TableRow extends FObj {
// area.increaseHeight(areaContainer.getHeight());
area.removeChild(areaContainer);
this.resetMarker();
+ cells = null;
this.removeID(area.getIDReferences());
- marker = 0;
}
}