To extract a text from Microsoft Office Word documents getText and getText(int) methods are used. These methods allow to extract a text from the entire document or a text from the selected page. TextOptions parameter is ignored for Microsoft Office Words documents.
Here are the steps to extract a text from Microsoft Office Word document:
Instantiate Parser object for the initial document; Call getText method and obtain TextReader object; Read a text from reader....Editor Product Solution GroupDocs...Family / GroupDocs.Parser for Java / Developer Guide / Advanced...
To extract a text from Microsoft Office Excel spreadsheets getText and getText(int) method is used. These methods allow to extract a text from the entire document or a text from the selected page.
Here are the steps to extract a text from Microsoft Office Excel spreadsheets:
Instantiate Parser object for the initial spreadsheet; Call getText method and obtain TextReader object; Read a text from reader. Warning getText method returns null value if text extraction isn’t supported for the document....Editor Product Solution GroupDocs...Family / GroupDocs.Parser for Java / Developer Guide / Advanced...