diff options
Diffstat (limited to 'src/org/apache/fop/fo/flow/Table.java')
-rw-r--r-- | src/org/apache/fop/fo/flow/Table.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/org/apache/fop/fo/flow/Table.java b/src/org/apache/fop/fo/flow/Table.java index f019d3040..f4ffeb68a 100644 --- a/src/org/apache/fop/fo/flow/Table.java +++ b/src/org/apache/fop/fo/flow/Table.java @@ -159,6 +159,12 @@ public class Table 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, 0, 0, area.getAllocationWidth(), area.spaceLeft(), Position.STATIC); @@ -170,6 +176,7 @@ public class Table extends FObj { areaContainer.start(); areaContainer.setAbsoluteHeight(area.getAbsoluteHeight()); + areaContainer.setIDReferences(area.getIDReferences()); // added by Eric Schaeffer currentColumnNumber = 0; |