diff options
author | Jeremias Maerki <jeremias@apache.org> | 2005-05-30 08:38:50 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2005-05-30 08:38:50 +0000 |
commit | 00e5508f82a175379ab8aedd53386d10846992c0 (patch) | |
tree | 4eb33b7d2a4cdc873428f69a5f49646c4bc3e12b /src/java/org/apache/fop/layoutmgr/table | |
parent | a567b5af74fc4c36f81cecc0d1e1a0044b9939bc (diff) | |
download | xmlgraphics-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.java | 4 |
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) { |