aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo/flow/TableRow.java
diff options
context:
space:
mode:
authorJordan Naftolin <jordan@apache.org>2000-06-29 22:24:01 +0000
committerJordan Naftolin <jordan@apache.org>2000-06-29 22:24:01 +0000
commit3206ba19bca8b4b972b7d33f0ee8f3581ee6b691 (patch)
treec59f758a544f492e9519aedc38cbe323cf4277f2 /src/org/apache/fop/fo/flow/TableRow.java
parent141bf4a14acc71eafd49961f2d470c990407aced (diff)
downloadxmlgraphics-fop-3206ba19bca8b4b972b7d33f0ee8f3581ee6b691.tar.gz
xmlgraphics-fop-3206ba19bca8b4b972b7d33f0ee8f3581ee6b691.zip
fixes duplicate id on overflow bug
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193451 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.java10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/org/apache/fop/fo/flow/TableRow.java b/src/org/apache/fop/fo/flow/TableRow.java
index efeef4142..52396cbe3 100644
--- a/src/org/apache/fop/fo/flow/TableRow.java
+++ b/src/org/apache/fop/fo/flow/TableRow.java
@@ -79,6 +79,7 @@ public class TableRow extends FObj {
int spaceBefore;
int spaceAfter;
ColorType backgroundColor;
+ String id;
ColorType borderColor;
int borderWidth;
@@ -129,11 +130,15 @@ public class TableRow extends FObj {
this.properties.get("border-width").getLength().mvalue();
this.borderStyle =
this.properties.get("border-style").getEnum();
+ this.id=
+ this.properties.get("id").getString();
if (area instanceof BlockArea) {
area.end();
}
+ area.getIDReferences().createID(id);
+
this.marker = 0;
}
@@ -143,9 +148,8 @@ public class TableRow extends FObj {
}
if ( marker==0 ) {
- // initialize id
- String id = this.properties.get("id").getString();
- area.getIDReferences().initializeID(id,area);
+ // configure id
+ area.getIDReferences().configureID(id,area);
}
this.areaContainer =