|
LibreOffice Module xmerge (master) 1
|
A DocumentSerializer2 represents a converter that converts a "Office" Document to a "Device" Document format.
More...
Public Member Functions | |
| ConvertData | serialize (String officeURL, String deviceURL) throws ConvertException, IOException |
Convert the data passed into the DocumentSerializer2 constructor into the "Device" Document format. More... | |
Public Member Functions inherited from org.openoffice.xmerge.DocumentSerializer | |
| ConvertData | serialize () throws ConvertException, IOException |
Convert the data passed into the DocumentSerializer constructor into the "Device" Document format. More... | |
A DocumentSerializer2 represents a converter that converts a "Office" Document to a "Device" Document format.
The PluginFactory createDocumentSerializer method creates a DocumentSerializer, which may or may not implement DocumentSerializer2. When it is constructed, a "Office" Document object is passed in to be used as input.
Definition at line 38 of file DocumentSerializer2.java.
| ConvertData org.openoffice.xmerge.DocumentSerializer2.serialize | ( | String | officeURL, |
| String | deviceURL | ||
| ) | throws ConvertException, IOException |
Convert the data passed into the DocumentSerializer2 constructor into the "Device" Document format.
The URL's passed may be used to resolve links and to name the output device document(s).
This method may or may not be thread-safe. It is expected that the user code does not call this method in more than one thread. And for most cases, this method is only done once.
ConvertData object to pass back the converted data.| officeURL | URL of the office document (may be null if unknown) |
| deviceURL | URL of the device document (may be null if unknown) |
| ConvertException | If any conversion error occurs. |
| IOException | If any I/O error occurs. |