You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ar...@apache.org on 2001/04/26 00:01:25 UTC
cvs commit: xml-fop/src/org/apache/fop/fo/flow TableCell.java
artw 01/04/25 15:01:25
Modified: src/org/apache/fop/fo/flow TableCell.java
Log:
Overflows may cause a row to be re-laid out, need to skip cell content that has already been processed.
Revision Changes Path
1.30 +5 -2 xml-fop/src/org/apache/fop/fo/flow/TableCell.java
Index: TableCell.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/TableCell.java,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- TableCell.java 2001/04/19 21:45:59 1.29
+++ TableCell.java 2001/04/25 22:01:24 1.30
@@ -1,4 +1,4 @@
-/*-- $Id: TableCell.java,v 1.29 2001/04/19 21:45:59 klease Exp $ --
+/*-- $Id: TableCell.java,v 1.30 2001/04/25 22:01:24 artw Exp $ --
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
* LICENSE file included with these sources.
@@ -175,9 +175,12 @@
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 {
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org