Extract File Attached With Word Document

Asked By 0 points N/A Posted on -
qa-featured

How can I extract the text that a user attaches in a Word document, if I have inserted a content control? Is it possible that I should even update after the content control was changed?

SHARE
Answered By 0 points N/A #170744

Extract File Attached With Word Document

qa-featured

Hi Chester,
You can try using Apache POI, this provides basic text extraction this can also access metadata. This also supports text extraction for Rich text extraction, for .doc files you can use org.apache.poi.hwpf.extractor.WordExtractor, this will have the text on your document extracted. It can also work on powerpoint, publisher, visio and embedded objects. Once you finalize the document you can use the tool to extract the text.

Related Questions