Open JUNE-Colin opened 4 months ago
I was able to fix my version of this 'bug' by calling table.setSplitLate(false);
. As long as you do not set setSplitRows to false, this should fix your problem. The documentation for splitLate is as following:
If true the row will only split if it's the first one in an empty page. It's true by default. It's only meaningful if setSplitRows(true).
The version I am using for OPNNPDF is 1.3.34 Create three rows of cells, with the first and second rows being regular text strings and the third row being large text strings. The length of the text in the third row exceeds the remaining height of one page of paper. When printing the large text in the third row, it will start from the second page of paper instead of the remaining height of the first page. Is there a solution to this problem?
Code samples:
Example of incorrect output: