Package org.apache.poi.examples.hwpf
Class Word2Forrest
- java.lang.Object
-
- org.apache.poi.examples.hwpf.Word2Forrest
-
public final class Word2Forrest extends Object
-
-
Constructor Summary
Constructors Constructor Description Word2Forrest(HWPFDocument doc, OutputStream stream)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcloseBody()voidcloseDocument()voidcloseParagraph()voidcloseSection()voidcloseSource()voidcloseTitle()voidinit()static voidmain(String[] args)voidopenBody()voidopenDocument()voidopenParagraph()voidopenSection()voidopenSource()voidopenTitle()voidwritePlainText(String text)
-
-
-
Constructor Detail
-
Word2Forrest
public Word2Forrest(HWPFDocument doc, OutputStream stream) throws IOException
- Throws:
IOException
-
-
Method Detail
-
init
public void init() throws IOException- Throws:
IOException
-
openDocument
public void openDocument() throws IOException- Throws:
IOException
-
closeDocument
public void closeDocument() throws IOException- Throws:
IOException
-
openBody
public void openBody() throws IOException- Throws:
IOException
-
closeBody
public void closeBody() throws IOException- Throws:
IOException
-
openSection
public void openSection() throws IOException- Throws:
IOException
-
closeSection
public void closeSection() throws IOException- Throws:
IOException
-
openTitle
public void openTitle() throws IOException- Throws:
IOException
-
closeTitle
public void closeTitle() throws IOException- Throws:
IOException
-
writePlainText
public void writePlainText(String text) throws IOException
- Throws:
IOException
-
openParagraph
public void openParagraph() throws IOException- Throws:
IOException
-
closeParagraph
public void closeParagraph() throws IOException- Throws:
IOException
-
openSource
public void openSource() throws IOException- Throws:
IOException
-
closeSource
public void closeSource() throws IOException- Throws:
IOException
-
main
public static void main(String[] args) throws IOException
- Throws:
IOException
-
-