// (header, footer, body) has been reached, and the next row will anyway be
// different from the current one, and this is unnecessary to recall this
// method in the first lines of handleTableContentPosition, so we may reset
- // lastRow
+ // the following variables
lastRow = null;
+ firstRowIndex = -1;
+ rowOffsets.clear();
}
return actualRowHeight;
}
private int getRowOffset(int rowIndex) {
return ((Integer) rowOffsets.get(rowIndex - firstRowIndex)).intValue();
}
-
- void endPart() {
- firstRowIndex = -1;
- rowOffsets.clear();
- }
}
handleMarkersAndPositions(lst, body, firstPos, false, painter);
}
painter.addAreasAndFlushRow(true);
- painter.endPart();
}
private void handleMarkersAndPositions(List positions, TableBody body, boolean firstPos,