I'm looking for removing first page of my world document using XWPFDocument.

XWPFDocument document = getTemplateFromFile('file.docx');
Actually in document.getBodyElements() I have 40 XWPFParagraph and no one of
them is telling me when page break is added.

What is the best way to achieve this? The best would be to remove page we
want using document.getPages().removePage(pPosition); ^^



--
Sent from: http://apache-poi.1045710.n5.nabble.com/POI-Dev-f2312866.html

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to