aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/layoutmgr/table
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-05-30 08:38:50 +0000
committerJeremias Maerki <jeremias@apache.org>2005-05-30 08:38:50 +0000
commit00e5508f82a175379ab8aedd53386d10846992c0 (patch)
tree4eb33b7d2a4cdc873428f69a5f49646c4bc3e12b /src/java/org/apache/fop/layoutmgr/table
parenta567b5af74fc4c36f81cecc0d1e1a0044b9939bc (diff)
downloadxmlgraphics-fop-00e5508f82a175379ab8aedd53386d10846992c0.tar.gz
xmlgraphics-fop-00e5508f82a175379ab8aedd53386d10846992c0.zip
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.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198699 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr/table')
-rw-r--r--src/java/org/apache/fop/layoutmgr/table/TableRowIterator.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/table/TableRowIterator.java b/src/java/org/apache/fop/layoutmgr/table/TableRowIterator.java
index f85ecf3d9..d19c9d74f 100644
--- a/src/java/org/apache/fop/layoutmgr/table/TableRowIterator.java
+++ b/src/java/org/apache/fop/layoutmgr/table/TableRowIterator.java
@@ -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) {