LibreOffice Module sw (master)  1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
SwCompareLine Class Reference
Collaboration diagram for SwCompareLine:

Public Member Functions

 SwCompareLine (const SwNode &rNd)
sal_uLong GetHashValue () const
bool Compare (const SwCompareLine &rLine) const
bool ChangesInLine (const SwCompareLine &rLine, std::unique_ptr< SwPaM > &rpInsRing, std::unique_ptr< SwPaM > &rpDelRing) const
const SwNodeGetNode () const
const SwNodeGetEndNode () const
OUString GetText () const

Static Public Member Functions

static sal_uLong GetTextNodeHashValue (const SwTextNode &rNd, sal_uLong nVal)
static bool CompareNode (const SwNode &rDstNd, const SwNode &rSrcNd)
static bool CompareTextNd (const SwTextNode &rDstNd, const SwTextNode &rSrcNd)

Private Attributes

const SwNoderNode

Detailed Description

Definition at line 50 of file doccomp.cxx.

Constructor & Destructor Documentation

SwCompareLine::SwCompareLine ( const SwNode rNd)

Definition at line 54 of file doccomp.cxx.

Member Function Documentation

bool SwCompareLine::ChangesInLine ( const SwCompareLine rLine,
std::unique_ptr< SwPaM > &  rpInsRing,
std::unique_ptr< SwPaM > &  rpDelRing 
) const
bool SwCompareLine::Compare ( const SwCompareLine rLine) const

Definition at line 1057 of file doccomp.cxx.

References rNode.

Referenced by Hash::CalcHashValue().

bool SwCompareLine::CompareNode ( const SwNode rDstNd,
const SwNode rSrcNd 
bool SwCompareLine::CompareTextNd ( const SwTextNode rDstNd,
const SwTextNode rSrcNd 

Definition at line 1246 of file doccomp.cxx.

References SwTextNode::GetText().

const SwNode & SwCompareLine::GetEndNode ( ) const
sal_uLong SwCompareLine::GetHashValue ( ) const
const SwNode& SwCompareLine::GetNode ( ) const

Definition at line 67 of file doccomp.cxx.

References rNode.

Referenced by ChangesInLine(), LineArrayComparator::Compare(), and CompareData::ShowDelete().

OUString SwCompareLine::GetText ( ) const
sal_uLong SwCompareLine::GetTextNodeHashValue ( const SwTextNode rNd,
sal_uLong  nVal 

Definition at line 1238 of file doccomp.cxx.

References SwTextNode::GetExpandText().

Member Data Documentation

const SwNode& SwCompareLine::rNode

Definition at line 52 of file doccomp.cxx.

Referenced by Compare(), and GetNode().

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