Table updation on each table break (ASPOSE.PDF JAVA)

Requirement : (ASPOSE.PDF JAVA)


I would like to insert a new additional row to the table in the new page whenever there is a table break at the end of the page.


Is there anything suitable in the PDF API which would allow me to do so ?

Hi Praveen,


Thanks for contacting support.

As per my understanding, your requirement is to insert/add a new row to subsequent page if table breaks on first page. In order to accomplish this requirement, you may set TableBreak property to true, get the table height and compare it with page height and in case the table height reaches the page height, you can add another row object. Please visit the following link for some hints on similar approach How to Figure out if the table will break in current page (the example is for .NET but you can get an idea regarding implementation).