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 je...@apache.org on 2005/05/26 19:13:25 UTC
cvs commit: xml-fop/src/java/org/apache/fop/layoutmgr/table TableRowIterator.java
jeremias 2005/05/26 10:13:25
Modified: src/java/org/apache/fop/layoutmgr/table
TableRowIterator.java
Log:
Skip markers (they are validated properly earlier).
Revision Changes Path
1.4 +5 -1 xml-fop/src/java/org/apache/fop/layoutmgr/table/TableRowIterator.java
Index: TableRowIterator.java
===================================================================
RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/layoutmgr/table/TableRowIterator.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- TableRowIterator.java 23 May 2005 08:40:36 -0000 1.3
+++ TableRowIterator.java 26 May 2005 17:13:25 -0000 1.4
@@ -24,6 +24,7 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
+import org.apache.fop.fo.flow.Marker;
import org.apache.fop.fo.flow.Table;
import org.apache.fop.fo.flow.TableBody;
import org.apache.fop.fo.flow.TableCell;
@@ -245,6 +246,9 @@
}
}
Object node = childInBodyIterator.next();
+ while (node instanceof Marker) {
+ node = childInBodyIterator.next();
+ }
this.currentRow.clear();
this.currentRowIndex++;
TableRow rowFO = null;
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org