From: Art Welch Date: Wed, 25 Apr 2001 22:01:24 +0000 (+0000) Subject: Overflows may cause a row to be re-laid out, need to skip cell content that has alrea... X-Git-Tag: PRE_CODEFORMATTING~152 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=eb3ae69b2407270d76bc72549bf333fc4192fa2b;p=xmlgraphics-fop.git Overflows may cause a row to be re-laid out, need to skip cell content that has already been processed. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194225 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/org/apache/fop/fo/flow/TableCell.java b/src/org/apache/fop/fo/flow/TableCell.java index a6bf16b7f..a5c17aba8 100644 --- a/src/org/apache/fop/fo/flow/TableCell.java +++ b/src/org/apache/fop/fo/flow/TableCell.java @@ -175,9 +175,12 @@ public class TableCell extends FObj { fo.setIsInTableCell(); fo.forceWidth(width); // ??? + // Overflows may cause a row to be re-layedout, need to pass already processed content. + this.marker = i; + Status status; if ((status = fo.layout(cellArea)).isIncomplete()) { - this.marker = i; + //this.marker = i; if ((i == 0) && (status.getCode() == Status.AREA_FULL_NONE)) { return new Status(Status.AREA_FULL_NONE); } else {