writer2latex.xmerge
Interface Document
- OutputFile
- BibTeXDocument, BinaryGraphicsDocument, DOMDocument, LaTeXDocument, NewDOMDocument, OfficeDocument, XhtmlDocument
public interface Document
A
Document
represents any
Document
to be converted and the resulting
Document
from any
conversion.
It is created by the
PluginFactory
object's
createOfficeDocument
method or the
createDeviceDocument
method.
org.openoffice.xmerge.PluginFactory
String | getName() - Returns the
Document name with no file extension.
|
void | read(InputStream is) - Reads the content from the
InputStream into
the Document .
|
getName
public String getName()
Returns the Document
name with no file extension.
- The
Document
name with no file extension.
read
public void read(InputStream is)
throws IOException
Reads the content from the
InputStream
into
the
Document
.
This method may not be thread-safe.
Implementations may or may not synchronize this
method. User code (i.e. caller) must make sure that
calls to this method are thread-safe.
is
- InputStream
to read in the
Document
content.