Skip to content

Commit 177c59c

Browse files
committed
Minor fixes in splitting
1 parent f845c29 commit 177c59c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layout/src/main/java/com/itextpdf/layout/renderer/TableRenderer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ public LayoutResult layout(LayoutContext layoutContext) {
734734
}
735735
}
736736
// Correct occupied areas of all added cells
737-
correctCellsOccupiedAreas(splits, row, targetOverflowRowIndex, blockMinHeight, layoutBox, bottomTableBorderWidth, row == rows.size() - 1);
737+
correctCellsOccupiedAreas(splits, row, targetOverflowRowIndex, blockMinHeight, layoutBox, bottomTableBorderWidth, !split && row == rows.size() - 1);
738738
}
739739
// process footer with collapsed borders
740740
if ((split || processAsLast || row == rows.size() - 1) && null != footerRenderer) {

0 commit comments

Comments
 (0)