LibreOffice Module sc (master) 1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
ScConflictsFinder Class Referencefinal

#include <conflictsdlg.hxx>

Collaboration diagram for ScConflictsFinder:
[legend]

Public Member Functions

 ScConflictsFinder (ScChangeTrack *pTrack, sal_uLong nStartShared, sal_uLong nEndShared, sal_uLong nStartOwn, sal_uLong nEndOwn, ScConflictsList &rConflictsList)
 
bool Find ()
 

Private Member Functions

ScConflictsListEntryGetIntersectingEntry (const ScChangeAction *pAction) const
 
ScConflictsListEntryGetEntry (sal_uLong nSharedAction, const std::vector< sal_uLong > &rOwnActions)
 

Static Private Member Functions

static bool DoActionsIntersect (const ScChangeAction *pAction1, const ScChangeAction *pAction2)
 

Private Attributes

ScChangeTrackmpTrack
 
sal_uLong mnStartShared
 
sal_uLong mnEndShared
 
sal_uLong mnStartOwn
 
sal_uLong mnEndOwn
 
ScConflictsListmrConflictsList
 

Detailed Description

Definition at line 69 of file conflictsdlg.hxx.

Constructor & Destructor Documentation

◆ ScConflictsFinder()

ScConflictsFinder::ScConflictsFinder ( ScChangeTrack pTrack,
sal_uLong  nStartShared,
sal_uLong  nEndShared,
sal_uLong  nStartOwn,
sal_uLong  nEndOwn,
ScConflictsList rConflictsList 
)

Definition at line 121 of file conflictsdlg.cxx.

Member Function Documentation

◆ DoActionsIntersect()

bool ScConflictsFinder::DoActionsIntersect ( const ScChangeAction pAction1,
const ScChangeAction pAction2 
)
staticprivate

Definition at line 132 of file conflictsdlg.cxx.

References ScChangeAction::GetBigRange(), and ScBigRange::Intersects().

Referenced by Find(), and GetIntersectingEntry().

◆ Find()

bool ScConflictsFinder::Find ( )

◆ GetEntry()

ScConflictsListEntry & ScConflictsFinder::GetEntry ( sal_uLong  nSharedAction,
const std::vector< sal_uLong > &  rOwnActions 
)
private

◆ GetIntersectingEntry()

ScConflictsListEntry * ScConflictsFinder::GetIntersectingEntry ( const ScChangeAction pAction) const
private

Definition at line 137 of file conflictsdlg.cxx.

References DoActionsIntersect(), ScChangeTrack::GetAction(), mpTrack, and mrConflictsList.

Referenced by GetEntry().

Member Data Documentation

◆ mnEndOwn

sal_uLong ScConflictsFinder::mnEndOwn
private

Definition at line 76 of file conflictsdlg.hxx.

Referenced by Find().

◆ mnEndShared

sal_uLong ScConflictsFinder::mnEndShared
private

Definition at line 74 of file conflictsdlg.hxx.

Referenced by Find().

◆ mnStartOwn

sal_uLong ScConflictsFinder::mnStartOwn
private

Definition at line 75 of file conflictsdlg.hxx.

Referenced by Find().

◆ mnStartShared

sal_uLong ScConflictsFinder::mnStartShared
private

Definition at line 73 of file conflictsdlg.hxx.

Referenced by Find().

◆ mpTrack

ScChangeTrack* ScConflictsFinder::mpTrack
private

Definition at line 72 of file conflictsdlg.hxx.

Referenced by Find(), GetEntry(), and GetIntersectingEntry().

◆ mrConflictsList

ScConflictsList& ScConflictsFinder::mrConflictsList
private

Definition at line 77 of file conflictsdlg.hxx.

Referenced by Find(), GetEntry(), and GetIntersectingEntry().


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