LibreOffice Module xmerge (master)  1
Packages | Classes
Package org.openoffice.xmerge.merger

The. More...

Packages

package  diff
 Provides implementations for the Iterator interface and related support classes.
 
package  merge
 Provides implementations for the MergeAlgorithm interface, the NodeMergeAlgorithm interface, and related support classes.
 

Classes

interface  DiffAlgorithm
 This is the difference algorithm interface. More...
 
class  Difference
 This is the. More...
 
interface  Iterator
 This is an interface used by the DiffAlgorithm and MergeAlgorithm to access a. More...
 
interface  MergeAlgorithm
 This is the. More...
 
interface  NodeMergeAlgorithm
 This is an interface for a MergeAlgorithm to merge two. More...
 

Detailed Description

The.

1 DiffAlgorithm

and

1 MergeAlgorithm

are used to provide the merge capabilities of this project.

Merge is useful when an

1 OfficeDocument

is converted to a { "Device"}

1 Document

format, and the { "Device"}

1 Document

version is modified. Those changes can be merged back into the original

1 OfficeDocument

with the merger. The merger is capable of doing this even if the { "Device"} format is lossy in comparison to the

1 OfficeDocument

format.

The

1 DiffAlgorithm

generates a list of

1 Difference

objects that represent the differences between two

1 OfficeDocument

objects. It is assumed that one is the original

1 OfficeDocument

object and the other is a "lossy" version of the same

1 Document

with edits to be merged. Typically the { "lossy"} version is created by converting a { "Device"}

1 Document

back into an

1 OfficeDocument

.

The

1 MergeAlgorithm

takes the

1 Difference

objects as input, and creates a merged

1 OfficeDocument

. A merged

1 OfficeDocument

has the following features:

Each converter provides an implementation of the ConverterCapabilities which specifies which

1 OfficeDocument

tags are supported for the device format.