aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo/flow/TableRow.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/fo/flow/TableRow.java')
-rw-r--r--src/org/apache/fop/fo/flow/TableRow.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/org/apache/fop/fo/flow/TableRow.java b/src/org/apache/fop/fo/flow/TableRow.java
index f8bc1875d..e9ebc8bc5 100644
--- a/src/org/apache/fop/fo/flow/TableRow.java
+++ b/src/org/apache/fop/fo/flow/TableRow.java
@@ -141,6 +141,12 @@ public class TableRow extends FObj {
area.addDisplaySpace(spaceBefore);
}
+ if ( marker==0 ) {
+ // initialize id
+ String id = this.properties.get("id").getString();
+ area.getIDReferences().initializeID(id,area);
+ }
+
this.areaContainer =
new AreaContainer(fs, -area.borderWidthLeft, -area.borderWidthTop,
area.getAllocationWidth(),
@@ -153,6 +159,7 @@ public class TableRow extends FObj {
areaContainer.start();
areaContainer.setAbsoluteHeight(area.getAbsoluteHeight());
+ areaContainer.setIDReferences(area.getIDReferences());
int numChildren = this.children.size();
if (numChildren != columns.size()) {