How to insert page break end of each table in Docx

2018-08-07 Thread venkatesh
i am trying to insert page break end of end page, but my code is not working XWPFDocument doc = new XWPFDocument(OPCPackage.open(filePath)); int count =0; List tables = doc.getTables(); for (XW

Re: How to insert page break end of each table in Docx

2018-08-07 Thread Mark Murphy
This looks like you are creating a page break at the end of the document for each table in the document. So you will have all your tables, and at the end of the document, you have a bunch of page breaks. On Tue, Aug 7, 2018 at 10:57 AM venkatesh wrote: > i am trying to insert page break end of e