@Deprecated
public final class WordDocument
extends java.lang.Object
Constructor and Description |
---|
WordDocument(java.io.InputStream inputStream)
Deprecated.
|
WordDocument(java.lang.String fileName)
Deprecated.
Constructs a Word document from fileName.
|
Modifier and Type | Method and Description |
---|---|
void |
closeDoc()
Deprecated.
|
static void |
main(java.lang.String[] args)
Deprecated.
right now this function takes one parameter: a Word file, and outputs an
XSL-FO document at c:\test.xml (this is hardcoded)
|
void |
openDoc()
Deprecated.
|
void |
writeAllText(java.io.Writer out)
Deprecated.
Spits out the document text
|
void |
writeSection(int start,
int end,
SEP sep,
BTreeSet text,
BTreeSet paragraphTable,
BTreeSet characterTable,
StyleSheet stylesheet)
Deprecated.
|
public WordDocument(java.lang.String fileName) throws java.io.IOException
fileName
- The name of the file to read.java.io.IOException
- if there is a problem while parsing the document.public WordDocument(java.io.InputStream inputStream) throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] args)
public void writeAllText(java.io.Writer out) throws java.io.IOException
out
- The Writer to write the text to.java.io.IOException
- if there is a problem while reading from the file or
writing out the text.public void openDoc()
public void writeSection(int start, int end, SEP sep, BTreeSet text, BTreeSet paragraphTable, BTreeSet characterTable, StyleSheet stylesheet)
public void closeDoc()
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.