writer2latex.xmerge
public interface Document extends OutputFile
A Document
represents any Document
to be converted and the resulting Document
from any
conversion.
It is created by the PluginFactory
object's org.openoffice.xmerge.PluginFactory#createOfficeDocument
createOfficeDocument
method or the org.openoffice.xmerge.PluginFactory#createDeviceDocument
createDeviceDocument
method.
See Also: org.openoffice.xmerge.PluginFactory
Method Summary | |
---|---|
String | getName()
Returns the Document name with no file extension.
|
void | read(InputStream is) Reads the content from the This method may not be thread-safe. |
Document
name with no file extension.
Returns: The Document
name with no file extension.
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.
Parameters: is InputStream
to read in the
Document
content.
Throws: IOException If any I/O error occurs.