I am trying to insert some number of rows (depend on my list size) between header and last row of my table.
Please find the attachment for more details.
Any inputs would be highly appreciated
Note: I am doing this in Docx4j easily. (refer expected output in my attachment)
Table table = (Table)doc.getChild(NodeType.TABLE, 1, true);
//Clone the row and insert it
doc.save(MyDir + “output.docx”);