|
LibreOffice Module xmerge (master) 1
|
General implementation of the PluginFactory interface for SXC Document objects.
More...
Public Member Functions | |
| SxcPluginFactory (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... | |
Public Member Functions inherited from org.openoffice.xmerge.DocumentMergerFactory | |
| DocumentMerger | createDocumentMerger (Document doc) |
Create a DocumentMerger object given a Document object. More... | |
General implementation of the PluginFactory interface for SXC Document objects.
Definition at line 37 of file SxcPluginFactory.java.
|
inline |
Constructor that caches the ConvertInfo that corresponds to the registry information for this plug-in.
| ci | ConvertInfo object. |
Definition at line 46 of file SxcPluginFactory.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 51 of file SxcPluginFactory.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 61 of file SxcPluginFactory.java.
References name.