public class WordToText extends Object
| Constructor and Description |
|---|
WordToText() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getParagraphText(org.apache.poi.hwpf.HWPFDocument doc)
Get the text from the word file, as an array with one String
per paragraph
|
String |
getTextFromPieces(org.apache.poi.hwpf.HWPFDocument doc)
Grab the text out of the text pieces.
|
Reader |
parse(InputStream in)
Gets the text from a Word document.
|
public String[] getParagraphText(org.apache.poi.hwpf.HWPFDocument doc)
public String getTextFromPieces(org.apache.poi.hwpf.HWPFDocument doc)
public Reader parse(InputStream in) throws org.openmdx.base.exception.ServiceException
in - The InputStream representing the Word file.org.openmdx.base.exception.ServiceExceptionThis software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.