[prev in list] [next in list] [prev in thread] [next in thread]
List: fop-cvs
Subject: cvs commit: xml-fop/src/java/org/apache/fop/layoutmgr/table TableRowIterator.java
From: jeremias () apache ! org
Date: 2005-05-30 8:38:50
Message-ID: 20050530083850.21410.qmail () minotaur ! apache ! org
[Download RAW message or body]
jeremias 2005/05/30 01:38:50
Modified: src/java/org/apache/fop/layoutmgr/table
TableRowIterator.java
Log:
Bugfix: LAST_IN_BODY wasn't set on the GridUnits of a row that wasn't the last in a \
table, i.e. when there are multiple bodies.
Revision Changes Path
1.5 +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.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- TableRowIterator.java 26 May 2005 17:13:25 -0000 1.4
+++ TableRowIterator.java 30 May 2005 08:38:50 -0000 1.5
@@ -222,6 +222,10 @@
if (!childInBodyIterator.hasNext()) {
//force skip on to next body
childInBodyIterator = null;
+ if (rows.size() > 0) {
+ getCachedRow(rows.size() - 1).setFlagForAllGridUnits(
+ GridUnit.LAST_IN_BODY, true);
+ }
}
}
if (childInBodyIterator == null) {
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic