A DocumentMerger
can merge changes from a modified "Device" Document
to the assigned original "Office" Document
.
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.
The ConverterCapabilities
object is what the DocumentMerger utilizes to know how the "Office" Document
tags are supported in the "Device" format.
The DocumentMerger
object is created by a the DocumentMergerFactory
{@link org.openoffice.xmerge.DocumentMergerFactory#createDocumentMerger createDocumenMerger} method. When it is constructed, the"Original Office" Document
object is passed in to be used as input.
@author Herbie Ong
@see org.openoffice.xmerge.PluginFactory
@see org.openoffice.xmerge.DocumentMergerFactory
@see org.openoffice.xmerge.ConverterCapabilities