aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-12-15 13:04:29 +0000
committerJeremias Maerki <jeremias@apache.org>2005-12-15 13:04:29 +0000
commitc048da6b6826f6ad819680c5316b135d34ff7a53 (patch)
tree7e009259d943ec0014670266161af41df9f9adca /src
parent3377a2e7a34fdd28fec46ac57ca9476b9e0922be (diff)
downloadxmlgraphics-fop-c048da6b6826f6ad819680c5316b135d34ff7a53.tar.gz
xmlgraphics-fop-c048da6b6826f6ad819680c5316b135d34ff7a53.zip
Fixed a bug where the area for a finished cell that is broken over pages was created once for each row it was spanned over instead of only once.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357008 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java b/src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java
index 511c8559a..6847021f1 100644
--- a/src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java
@@ -916,7 +916,8 @@ public class TableContentLayoutManager implements PercentBaseContext {
if (gu == null
&& !currentGU.isEmpty()
&& currentGU.getColSpanIndex() == 0
- && currentGU.isLastGridUnitColSpan()) {
+ && currentGU.isLastGridUnitColSpan()
+ && (forcedFlush || currentGU.isLastGridUnitRowSpan())) {
gu = currentGU.getPrimary();
}
if (gu != null) {