LibreOffice Module sc (master) 1
|
#include <conflictsdlg.hxx>
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 | |
ScConflictsListEntry * | GetIntersectingEntry (const ScChangeAction *pAction) const |
ScConflictsListEntry & | GetEntry (sal_uLong nSharedAction, const std::vector< sal_uLong > &rOwnActions) |
Static Private Member Functions | |
static bool | DoActionsIntersect (const ScChangeAction *pAction1, const ScChangeAction *pAction2) |
Private Attributes | |
ScChangeTrack * | mpTrack |
sal_uLong | mnStartShared |
sal_uLong | mnEndShared |
sal_uLong | mnStartOwn |
sal_uLong | mnEndOwn |
ScConflictsList & | mrConflictsList |
Definition at line 69 of file conflictsdlg.hxx.
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.
|
staticprivate |
Definition at line 132 of file conflictsdlg.cxx.
References ScChangeAction::GetBigRange(), and ScBigRange::Intersects().
Referenced by Find(), and GetIntersectingEntry().
bool ScConflictsFinder::Find | ( | ) |
Definition at line 191 of file conflictsdlg.cxx.
References DoActionsIntersect(), ScChangeTrack::GetAction(), ScChangeAction::GetActionNumber(), GetEntry(), ScChangeAction::GetNext(), ScConflictsListHelper::HasOwnAction(), ScConflictsListEntry::maOwnActions, mnEndOwn, mnEndShared, mnStartOwn, mnStartShared, mpTrack, and mrConflictsList.
Referenced by ScDocShell::MergeSharedDocument().
|
private |
Definition at line 153 of file conflictsdlg.cxx.
References ScChangeTrack::GetAction(), GetIntersectingEntry(), ScConflictsListHelper::GetSharedActionEntry(), ScConflictsListEntry::maSharedActions, ScConflictsListEntry::meConflictAction, mpTrack, mrConflictsList, and SC_CONFLICT_ACTION_NONE.
Referenced by Find().
|
private |
Definition at line 137 of file conflictsdlg.cxx.
References DoActionsIntersect(), ScChangeTrack::GetAction(), mpTrack, and mrConflictsList.
Referenced by GetEntry().
|
private |
Definition at line 76 of file conflictsdlg.hxx.
Referenced by Find().
|
private |
Definition at line 74 of file conflictsdlg.hxx.
Referenced by Find().
|
private |
Definition at line 75 of file conflictsdlg.hxx.
Referenced by Find().
|
private |
Definition at line 73 of file conflictsdlg.hxx.
Referenced by Find().
|
private |
Definition at line 72 of file conflictsdlg.hxx.
Referenced by Find(), GetEntry(), and GetIntersectingEntry().
|
private |
Definition at line 77 of file conflictsdlg.hxx.
Referenced by Find(), GetEntry(), and GetIntersectingEntry().