Open ernestoacosta75 opened 2 years ago
Hello @ernestoacosta75 , our group are interested in this issue, and we will try to fix it. ---- SE_SUSTech, group: Lanrand
Good afternoon youyumeimei, Thanks for the interest of the group about this bug. It's really important for the correct PDF generation processs. Hoping to get other feedback from the group soon, I wish to all of you a nice weekend. Best regards, Ernesto.
Describe the bug After the migration from iText to OpenPDF I;m not able to find an implementation of kepRowsTogether() method as in iText, with the consequence that if I try to add a PdfPPTable in a cell of another PdfPTable, the cell containing the PdfPTable is moved to the next page.
To Reproduce In iText for PdfPTable we have: public void keepRowsTogether(int[] rows) { for(int i = 0; i < rows.length; ++i) { this.getRow(rows[i]).setMayNotBreak(true); }
In OpenPDF library this method is missed and the PdfPRow class doesn't have any member attribute called mayNotBreak.