diff options
author | Jordan Naftolin <jordan@apache.org> | 2000-06-22 00:25:45 +0000 |
---|---|---|
committer | Jordan Naftolin <jordan@apache.org> | 2000-06-22 00:25:45 +0000 |
commit | b0511113c44e44d32ce818d2a49462aa78ffbd9c (patch) | |
tree | dc7c604b4cc47b174bbca24d6c0cfbf49b32eb7c /src/org/apache/fop/fo/flow/TableRow.java | |
parent | 395c91ae95d57c1b4c19c1dc35f3f5b2eb9b5011 (diff) | |
download | xmlgraphics-fop-b0511113c44e44d32ce818d2a49462aa78ffbd9c.tar.gz xmlgraphics-fop-b0511113c44e44d32ce818d2a49462aa78ffbd9c.zip |
added id support (required for internal-links)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193431 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.java | 7 |
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()) { |