Hi,
I'm trying to split a .docx file to multiple pdf files by sections.
Here is how I do.
I parse all the paragraphs in .docx file by using TraversalUtil(body, new TraversalUtil.Callback().
If paragraph.getPPr().getPStyle().getVal() is not equal to 1 or 2, the paragraph will be store in List< Object> objectBuffer.
If paragraph.getPPr().getPStyle().getVal() is equal to 1 or 2, all the object in the objectBuffer will be added to a new WordprocessingMLPackage by using
wordMLPackage.getMainDocumentPart().addObject(tempObject).
And ...

News of Plutext