diff options
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr')
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/table/TableLayoutManager.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/table/TableLayoutManager.java b/src/java/org/apache/fop/layoutmgr/table/TableLayoutManager.java index 1707ad422..00ecb01d2 100644 --- a/src/java/org/apache/fop/layoutmgr/table/TableLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/table/TableLayoutManager.java @@ -215,10 +215,12 @@ public class TableLayoutManager extends BlockStackingLayoutManager if (getTable().isSeparateBorderModel()) { addKnuthElementsForBorderPaddingBefore(returnList, !firstVisibleMarkServed); firstVisibleMarkServed = true; + // Border and padding to be repeated at each break + // This must be done only in the separate-border model, as in collapsing + // tables have no padding and borders are determined at the cell level + addPendingMarks(context); } - //Spaces, border and padding to be repeated at each break - addPendingMarks(context); // Elements for the table-header/footer/body LinkedList contentKnuthElements = null; |