On Fri, 15 Jul 2011, Drew Cimino wrote:
However, getBodyElements() seems to be returning a list of elements that all span the entire length of the document, and contain only the paragraphs or only the tables. I'm not sure if the numerous elements are versions tracked by word or something, but they seem like multiple instances of the same document. Can anyone explain what's going on, or what other method I should be using to do what I want? Thanks very much.

Your best bet probably is to unzip the .docx file, and look at the XML of the document. Does your text occur multiple times in there? How does the current version differ from the past versions? Is POI giving you everything that's in the file, or is there a bug?

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to