LibreOffice Module xmerge (master) 1
Public Member Functions | Private Member Functions | List of all members
org.openoffice.xmerge.merger.merge.CharacterBaseParagraphMerge Class Reference

This is an implementation of the NodeMergeAlgorithm interface. More...

Inheritance diagram for org.openoffice.xmerge.merger.merge.CharacterBaseParagraphMerge:
Collaboration diagram for org.openoffice.xmerge.merger.merge.CharacterBaseParagraphMerge:

Public Member Functions

void merge (Node orgPara, Node modPara)
 Merge two paragraphs Node by using Longest Common Subsequence (LCS) character algorithm defined in CharArrayLCSAlgorithm. More...
void merge (Node originalNode, Node modifyNode)
 This method is used to merge two given Node objects. More...

Private Member Functions

void applyDifference (CharacterParser orgParser, CharacterParser modParser, Difference[] diffs)
void coreMerge (int startDiffNum, int endDiffNum, Difference[] diffs, CharacterParser modParser, TextNodeEntry orgTextNode, int extraChar)

Detailed Description

This is an implementation of the NodeMergeAlgorithm interface.

It is used to merge two paragraph Node objects based on character comparisons.

Definition at line 36 of file

Member Function Documentation

◆ applyDifference()

void org.openoffice.xmerge.merger.merge.CharacterBaseParagraphMerge.applyDifference ( CharacterParser  orgParser,
CharacterParser  modParser,
Difference[]  diffs 

◆ coreMerge()

void org.openoffice.xmerge.merger.merge.CharacterBaseParagraphMerge.coreMerge ( int  startDiffNum,
int  endDiffNum,
Difference[]  diffs,
CharacterParser  modParser,
TextNodeEntry  orgTextNode,
int  extraChar 

◆ merge()

void org.openoffice.xmerge.merger.merge.CharacterBaseParagraphMerge.merge ( Node  orgPara,
Node  modPara 

The documentation for this class was generated from the following file: