https://bz.apache.org/bugzilla/show_bug.cgi?id=58067
Bug ID: 58067 Summary: getText() of XWPFParagraph returns deleted text if in "review" mode Product: POI Version: unspecified Hardware: Macintosh Status: NEW Severity: normal Priority: P2 Component: XWPF Assignee: dev@poi.apache.org Reporter: fem...@in.tum.de Created attachment 32843 --> https://bz.apache.org/bugzilla/attachment.cgi?id=32843&action=edit A test file to reproduce the problem with Dear all, I’m looking for a simple solution to parse only the newest version of an XWPF file (as if all changes are accepted or so). As far as I could google and browse through the javadoc there is no such functionality in apache poi, is that correct? I.e.: - Open a MS Word document - Track changes - Remove text from the document (in tracked-mode) - Save. (see file attached) - Open file with apache POI - iterate through paragraphs - call getText() on the paragraphs Outcome: The removed text is returned. Expected: Only text of the "final version" of the document is returned. Best, Henning -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org