aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2008-02-14 12:09:05 +0000
committerVincent Hennebert <vhennebert@apache.org>2008-02-14 12:09:05 +0000
commit7594480319beef01b3c3d6b757b2c8aa53b6ae2e (patch)
treebfadc10fb90253b9f1d6de8f4d5536b806f464eb /src/java/org/apache/fop
parente397444e624314c9b1d4ea3bd9e2a958d129e9f4 (diff)
downloadxmlgraphics-fop-7594480319beef01b3c3d6b757b2c8aa53b6ae2e.tar.gz
xmlgraphics-fop-7594480319beef01b3c3d6b757b2c8aa53b6ae2e.zip
break-after set on the last child of a row-spanning cell must apply to the last row spanned by the cell
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627721 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r--src/java/org/apache/fop/fo/flow/table/EffRow.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fo/flow/table/EffRow.java b/src/java/org/apache/fop/fo/flow/table/EffRow.java
index ac99a1d37..7989f3d9d 100644
--- a/src/java/org/apache/fop/fo/flow/table/EffRow.java
+++ b/src/java/org/apache/fop/fo/flow/table/EffRow.java
@@ -197,7 +197,7 @@ public class EffRow {
int breakAfter = Constants.EN_AUTO;
for (Iterator iter = gridUnits.iterator(); iter.hasNext();) {
GridUnit gu = (GridUnit) iter.next();
- if (gu.isPrimary()) {
+ if (!gu.isEmpty() && gu.getColSpanIndex() == 0 && gu.isLastGridUnitRowSpan()) {
breakAfter = BreakUtil.compareBreakClasses(breakAfter,
gu.getPrimary().getBreakAfter());
}