From: Joerg Pietschmann Date: Thu, 26 Sep 2002 22:17:58 +0000 (+0000) Subject: Moved table row ID creation so that the ID will always be created X-Git-Tag: fop-0_20_5rc~86 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a623e8e5c38cad78c90a03e223d8267b1bfc6bdc;p=xmlgraphics-fop.git Moved table row ID creation so that the ID will always be created if the row layout restarts. PR: 12876 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_20_2-maintain@195252 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/org/apache/fop/fo/flow/TableRow.java b/src/org/apache/fop/fo/flow/TableRow.java index 3d6e9aba1..a74da108a 100644 --- a/src/org/apache/fop/fo/flow/TableRow.java +++ b/src/org/apache/fop/fo/flow/TableRow.java @@ -209,8 +209,6 @@ 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); } @@ -226,9 +224,9 @@ public class TableRow extends FObj { initCellArray(); // check to make sure this row hasn't been partially // laid out yet (with an id created already) - area.getIDReferences().createID(id); - configID = true; } + // create ID also in case the row has been reset + area.getIDReferences().createID(id); this.marker = 0; int breakStatus = propMgr.checkBreakBefore(area); @@ -236,7 +234,6 @@ public class TableRow extends FObj { return new Status(breakStatus); } - // if (marker == 0 && configID) { if (marker == 0) { // KDL: need to do this if thrown or if split? // configure id area.getIDReferences().configureID(id, area);