Is there a way to split a table in this way to keep the applied styles and so that adding a row in the first part of the table directly affects the second part of the table? I would be interested in the method presented below:
Document doc = new Document();
final DocumentBuilder documentBuilder = new DocumentBuilder(doc);
final Table table = documentBuilder.startTable();
/* create some columns and rows */
// table.splitAfterRow(3); <----
documentBuilder.endTable()
In the attachment, I am sending you a sample document. When you add a row in the first part of the table, the numbering of the second part automatically changes. expected_table_behavior.zip (12.7 KB)