From eb3ae69b2407270d76bc72549bf333fc4192fa2b Mon Sep 17 00:00:00 2001 From: Art Welch Date: Wed, 25 Apr 2001 22:01:24 +0000 Subject: [PATCH] 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 --- src/org/apache/fop/fo/flow/TableCell.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 { -- 2.39.5