OpenOffice.org
XMerge API

org.openoffice.xmerge
Interface DocumentMergerFactory

All Known Implementing Classes:
SxcPluginFactory, PluginFactoryImpl, PluginFactoryImpl, PluginFactoryImpl

public interface DocumentMergerFactory

All plug-in implementations of the PluginFactory interface that also support merging must also implement this interface.

Merge is useful when an OfficeDocument is converted to a "Device" Document format, and the "Device" Document version is modified. Those changes can be merged back into the original OfficeDocument with the merger. The merger is capable of doing this even if the "Device" format is lossy in comparison to the OfficeDocument format.

See Also:
PluginFactory, DocumentMerger, ConverterCapabilities

Method Summary
 DocumentMerger createDocumentMerger(Document doc)
          Create a DocumentMerger object given a Document object.
 

Method Detail

createDocumentMerger

public DocumentMerger createDocumentMerger(Document doc)

Create a DocumentMerger object given a Document object.

Parameters:
doc - Document object that the created DocumentMerger object uses as a base Document for merging changes into.
Returns:
A DocumentMerger object or null if none exists.

OpenOffice.org
XMerge API

Copyright © 2002 OpenOffice.org