LibreOffice Module xmerge (master)
1
|
A. More...
Public Member Functions | |
PluginFactory (ConverterInfo ci) | |
Constructor that caches the. More... | |
ConverterInfo | getConverterInfo () |
Returns the. More... | |
abstract Document | createOfficeDocument (String name, InputStream is) throws IOException |
Create a. More... | |
abstract Document | createOfficeDocument (String name, InputStream is, boolean isZip) throws IOException |
Create a. More... | |
abstract Document | createDeviceDocument (String name, InputStream is) throws IOException |
Create a. More... | |
Private Attributes | |
final ConverterInfo | ciCache |
Cached. More... | |
A.
encapsulates the conversions from one
format to another.
It provides conversions in both directions. Refer to the package description for its usage.
Conversion from the "Office"
format to a "Device"
format may be lossy, i.e. some information may be lost. If a plug-in implements the
interface, then there is the possibility for merging the changes done on the "Device"
back to the original "Office"
via the
interface.
Plug-ins that convert from the "Device"
format to the "Office"
format must implement the
interface. Plug-ins that convert from the "Office"
format to the "Device" format must implement the
interface.
All plug-ins should have an associated Plug-in Configuration XML File which describes the capabilities of the plug-in. If the plug-in is bundled in a jarfile, then this XML file is also bundled with the jarfile. The data in the XML file is managed by the
object. The
manages a registry of all
objects. For more information about this XML file, refer to org.openoffice.xmerge.util.registry.
Definition at line 67 of file PluginFactory.java.
|
inline |
Constructor that caches the.
that corresponds to the registry information for this plug-in.
ci |
Definition at line 80 of file PluginFactory.java.
|
abstract |
Create a.
object that corresponds to the device data passed in via the
object.
This abstract method must be implemented for each plug-in.
This method will read from the given
object. The returned
object will contain the necessary data for the other objects created by the
to process, like a
object and a
object.
name | The name. |
is |
Referenced by org.openoffice.xmerge.Convert.addInputStream().
|
abstract |
Create a.
object that corresponds to the Office data passed in via the
object.
This abstract method must be implemented for each plug-in.
This method will read from the given
object. The returned
object will contain the necessary data for the other objects created by the
to process, like a
object and a
object.
name | The name. |
is |
Referenced by org.openoffice.xmerge.Convert.addInputStream(), and org.openoffice.xmerge.Convert.getOfficeDocument().
|
abstract |
Create a.
object that corresponds to the Office data passed in via the
object.
This abstract method must be implemented for each plug-in.
This method will read from the given
object. The returned
object will contain the necessary data for the other objects created by the
to process, like a
object and a
object.
name | The name. |
is |
|
inline |
Returns the.
that corresponds to this plug-in.
Definition at line 89 of file PluginFactory.java.
References org.openoffice.xmerge.PluginFactory.ciCache.
Referenced by org.openoffice.xmerge.converter.xml.xslt.PluginFactoryImpl.getDeviceFileExtension(), org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.resolve(), org.openoffice.xmerge.converter.xml.xslt.DocumentSerializerImpl.resolve(), org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.transform(), and org.openoffice.xmerge.converter.xml.xslt.DocumentSerializerImpl.transform().
|
private |
Cached.
object.
Definition at line 72 of file PluginFactory.java.
Referenced by org.openoffice.xmerge.PluginFactory.getConverterInfo().