]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Bugfix: LAST_IN_BODY wasn't set on the GridUnits of a row that wasn't the last in...
authorJeremias Maerki <jeremias@apache.org>
Mon, 30 May 2005 08:38:50 +0000 (08:38 +0000)
committerJeremias Maerki <jeremias@apache.org>
Mon, 30 May 2005 08:38:50 +0000 (08:38 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198699 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/layoutmgr/table/TableRowIterator.java

index f85ecf3d93670da75cedffa4021765333769430f..d19c9d74f6e4d6f83f41606e3755dba0eac106ed 100644 (file)
@@ -222,6 +222,10 @@ public class TableRowIterator {
             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) {