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. More...

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

Public Member Functions

 PositionBaseRowMerge (ConverterCapabilities cc)
 Constructor. More...
 
void merge (Node orgRow, Node modRow)
 This method is used to merge two given. 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 PositionBaseRowMerge.java.

Constructor & Destructor Documentation

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

Constructor.

Parameters
ccThe
ConverterCapabilities
.

Definition at line 49 of file PositionBaseRowMerge.java.

Member Function Documentation

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

This method is used to merge two given.

objects.

Note: the original

may be modified.

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

Implements org.openoffice.xmerge.merger.NodeMergeAlgorithm.

Definition at line 53 of file PositionBaseRowMerge.java.

References org.openoffice.xmerge.merger.merge.PositionBaseRowMerge.mergeCellSequences().

void org.openoffice.xmerge.merger.merge.PositionBaseRowMerge.mergeCells ( Element  orgCell,
Element  modCell 
)
inlineprivate
void org.openoffice.xmerge.merger.merge.PositionBaseRowMerge.mergeCellSequences ( Iterator  orgSeq,
Iterator  modSeq 
)
inlineprivate
Element org.openoffice.xmerge.merger.merge.PositionBaseRowMerge.splitColRepeatedCell ( Element  orgCell,
int  splitNum,
int  orgNum 
)
inlineprivate

Member Data Documentation

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

The capabilities of this converter.

Definition at line 42 of file PositionBaseRowMerge.java.


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