On Tue, 6 Sep 2011, kyopedlr wrote:
I am having some issues using the WordExtractor to remove content from my
word document. When I use:
"
HWPFDocument doc = new HWPFDocument( stream );
WordExtractor word = new WordExtractor(doc);
word.getText();
If you want full control over the text you get, I'd suggest you don't use
the WordExtractor. Instead, get the paragraphs from the HWPFDocument
directly, and fetch the text (and any formatting you want) from those.
That way you get complete control
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]