OpenPDF icon indicating copy to clipboard operation
OpenPDF copied to clipboard

keepRowsTogether method not implemented

Open ernestoacosta75 opened this issue 3 years ago • 2 comments

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.

ernestoacosta75 avatar Feb 18 '22 15:02 ernestoacosta75

Hello @ernestoacosta75 , our group are interested in this issue, and we will try to fix it. ---- SE_SUSTech, group: Lanrand

youyumeimei avatar Mar 09 '22 18:03 youyumeimei

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.

ernestoacosta75 avatar Mar 11 '22 15:03 ernestoacosta75