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

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

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

Public Member Functions

 PositionBaseRowMerge (ConverterCapabilities cc)
 Constructor. More...
void merge (Node orgRow, Node modRow)
 This method is used to merge two given Node objects. More...
void merge (Node originalNode, Node modifyNode)
 This method is used to merge two given Node objects. More...

Private Member Functions

void mergeCellSequences (Iterator orgSeq, Iterator modSeq)
Element splitColRepeatedCell (Element orgCell, int splitNum, int orgNum)
void mergeCells (Element orgCell, Element modCell)

Private Attributes

final ConverterCapabilities cc_
 The capabilities of this converter. More...

Detailed Description

This is an implementation of the NodeMergeAlgorithm interface.

It is used to merge two rows using a positional comparison base method.

Definition at line 39 of file

Constructor & Destructor Documentation

◆ PositionBaseRowMerge()

org.openoffice.xmerge.merger.merge.PositionBaseRowMerge.PositionBaseRowMerge ( ConverterCapabilities  cc)


ccThe ConverterCapabilities.

Definition at line 49 of file

References org.openoffice.xmerge.merger.merge.PositionBaseRowMerge.cc_.

Member Function Documentation

◆ merge()

void org.openoffice.xmerge.merger.merge.PositionBaseRowMerge.merge ( Node  originalNode,
Node  modifyNode 

This method is used to merge two given Node objects.

Note: the original Node may be modified.

originalNodeThe original Node.
modifyNodeThe Node to be merged. It may be modified.

Implements org.openoffice.xmerge.merger.NodeMergeAlgorithm.

Definition at line 53 of file

References org.openoffice.xmerge.merger.merge.PositionBaseRowMerge.cc_, and org.openoffice.xmerge.merger.merge.PositionBaseRowMerge.mergeCellSequences().

◆ mergeCells()

void org.openoffice.xmerge.merger.merge.PositionBaseRowMerge.mergeCells ( Element  orgCell,
Element  modCell 

◆ mergeCellSequences()

void org.openoffice.xmerge.merger.merge.PositionBaseRowMerge.mergeCellSequences ( Iterator  orgSeq,
Iterator  modSeq 

◆ splitColRepeatedCell()

Element org.openoffice.xmerge.merger.merge.PositionBaseRowMerge.splitColRepeatedCell ( Element  orgCell,
int  splitNum,
int  orgNum 

Member Data Documentation

◆ cc_

final ConverterCapabilities org.openoffice.xmerge.merger.merge.PositionBaseRowMerge.cc_

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