LibreOffice Module xmerge (master) 1
|
A DocumentSerializer
represents a converter that converts a "Office" Document
to a "Device" Document
format.
More...
Public Member Functions | |
ConvertData | serialize () throws ConvertException, IOException |
Convert the data passed into the DocumentSerializer constructor into the "Device" Document format. More... | |
A DocumentSerializer
represents a converter that converts a "Office" Document
to a "Device" Document
format.
The DocumentSerializer
object is created by the PluginFactory
createDocumentSerializer
method. When it is constructed, an "Office" Document
object is passed in to be used as input.
Definition at line 38 of file DocumentSerializer.java.
ConvertData org.openoffice.xmerge.DocumentSerializer.serialize | ( | ) | throws ConvertException, IOException |
Convert the data passed into the DocumentSerializer
constructor into the "Device" Document
format.
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.ConvertException | If any conversion error occurs. |
IOException | If any I/O error occurs. |
Implemented in org.openoffice.xmerge.converter.xml.sxc.SxcDocumentSerializer, and org.openoffice.xmerge.converter.xml.xslt.DocumentSerializerImpl.
Referenced by org.openoffice.xmerge.Convert.convert().