LibreOffice Module xmerge (master) 1
|
General implementation of the PluginFactory
interface for SXW documents.
More...
Public Member Functions | |
SxwPluginFactory (ConverterInfo ci) | |
Constructor that caches the ConvertInfo that corresponds to the registry information for this plug-in. More... | |
Document | createOfficeDocument (String name, InputStream is) throws IOException |
Create a Document object that corresponds to the Office data passed in via the InputStream object. More... | |
Document | createOfficeDocument (String name, InputStream is, boolean isZip) throws IOException |
Create a Document object that corresponds to the Office data passed in via the InputStream object. More... | |
Public Member Functions inherited from org.openoffice.xmerge.PluginFactory | |
PluginFactory (ConverterInfo ci) | |
Constructor that caches the ConvertInfo that corresponds to the registry information for this plug-in. More... | |
ConverterInfo | getConverterInfo () |
Returns the ConvertInfo that corresponds to this plug-in. More... | |
abstract Document | createOfficeDocument (String name, InputStream is) throws IOException |
Create a Document object that corresponds to the Office data passed in via the InputStream object. More... | |
abstract Document | createOfficeDocument (String name, InputStream is, boolean isZip) throws IOException |
Create a Document object that corresponds to the Office data passed in via the InputStream object. More... | |
abstract Document | createDeviceDocument (String name, InputStream is) throws IOException |
Create a Document object that corresponds to the device data passed in via the InputStream object. More... | |
General implementation of the PluginFactory
interface for SXW documents.
Definition at line 36 of file SxwPluginFactory.java.
|
inline |
Constructor that caches the ConvertInfo
that corresponds to the registry information for this plug-in.
ci | ConvertInfo object. |
Definition at line 44 of file SxwPluginFactory.java.
|
inline |
Create a Document
object that corresponds to the Office data passed in via the InputStream
object.
This abstract method must be implemented for each plug-in.
This method will read from the given InputStream
object. The returned Document
object will contain the necessary data for the other objects created by the PluginFactory
to process, like a DocumentSerializer
object and a DocumentMerger
object.
name | The Document name. |
is | InputStream object corresponding to the Document . |
Document
object representing the particular Document
format for the PluginFactory
.IOException | If any I/O error occurs. |
Reimplemented from org.openoffice.xmerge.PluginFactory.
Definition at line 49 of file SxwPluginFactory.java.
References name.
|
inline |
Create a Document
object that corresponds to the Office data passed in via the InputStream
object.
This abstract method must be implemented for each plug-in.
This method will read from the given InputStream
object. The returned Document
object will contain the necessary data for the other objects created by the PluginFactory
to process, like a DocumentSerializer
object and a DocumentMerger
object.
name | The Document name. |
is | InputStream object corresponding to the Document . |
isZip | boolean to show that the created office document is to be zipped. |
Document
object representing the particular Document
format for the PluginFactory
.IOException | If any I/O error occurs. |
Reimplemented from org.openoffice.xmerge.PluginFactory.
Definition at line 59 of file SxwPluginFactory.java.
References name.