101 bool bHandleContentAction,
bool bHandleNonContentAction );
ScConflictsList & mrConflictsList
std::unique_ptr< SvxRedlinTable > m_xLbConflicts
DECL_LINK(KeepAllOthersHandle, weld::Button &, void)
void SetConflictAction(const weld::TreeIter &rRootEntry, ScConflictAction eConflictAction)
ScConflictsDlg(weld::Window *pParent, ScViewData *pViewData, ScDocument *pSharedDoc, ScConflictsList &rConflictsList)
DECL_LINK(SelectHandle, weld::TreeView &, void)
DECL_LINK(KeepAllMineHandle, weld::Button &, void)
ScChangeTrack * mpSharedTrack
OUString maStrUnknownUser
DECL_LINK(KeepMineHandle, weld::Button &, void)
std::unique_ptr< weld::Button > m_xBtnKeepAllMine
std::unique_ptr< weld::Button > m_xBtnKeepMine
OUString GetConflictString(const ScConflictsListEntry &rConflictEntry)
ScDocument *const mpSharedDoc
void SetActionString(const ScChangeAction *pAction, ScDocument *pDoc, const weld::TreeIter &rEntry)
void KeepHandler(bool bMine)
DECL_LINK(KeepOtherHandle, weld::Button &, void)
void KeepAllHandler(bool bMine)
ScViewData *const mpViewData
void HandleListBoxSelection()
DECL_LINK(UpdateSelectionHdl, Timer *, void)
std::unique_ptr< weld::Button > m_xBtnKeepAllOthers
virtual ~ScConflictsDlg() override
ScChangeTrack * mpOwnTrack
std::unique_ptr< weld::Button > m_xBtnKeepOther
ScConflictsList & mrConflictsList
ScConflictsListEntry * GetIntersectingEntry(const ScChangeAction *pAction) const
ScConflictsListEntry & GetEntry(sal_uLong nSharedAction, const std::vector< sal_uLong > &rOwnActions)
static bool DoActionsIntersect(const ScChangeAction *pAction1, const ScChangeAction *pAction2)
ScConflictsFinder(ScChangeTrack *pTrack, sal_uLong nStartShared, sal_uLong nEndShared, sal_uLong nStartOwn, sal_uLong nEndOwn, ScConflictsList &rConflictsList)
static void TransformConflictsList(ScConflictsList &rConflictsList, ScChangeActionMergeMap *pSharedMap, ScChangeActionMergeMap *pOwnMap)
static void Transform_Impl(std::vector< sal_uLong > &rActionList, ScChangeActionMergeMap *pMergeMap)
static bool HasOwnAction(ScConflictsList &rConflictsList, sal_uLong nOwnAction)
static ScConflictsListEntry * GetSharedActionEntry(ScConflictsList &rConflictsList, sal_uLong nSharedAction)
static ScConflictsListEntry * GetOwnActionEntry(ScConflictsList &rConflictsList, sal_uLong nOwnAction)
ScConflictsList & mrConflictsList
void HandleAction(ScChangeAction *pAction, bool bIsSharedAction, bool bHandleContentAction, bool bHandleNonContentAction)
ScConflictsResolver(ScChangeTrack *pTrack, ScConflictsList &rConflictsList)
@ SC_CONFLICT_ACTION_NONE
@ SC_CONFLICT_ACTION_KEEP_MINE
@ SC_CONFLICT_ACTION_KEEP_OTHER
::std::vector< ScConflictsListEntry > ScConflictsList
std::unordered_map< sal_uLong, sal_uLong > ScChangeActionMergeMap
bool HasOwnAction(sal_uLong nOwnAction) const
bool HasSharedAction(sal_uLong nSharedAction) const
std::vector< sal_uLong > maOwnActions
ScConflictAction meConflictAction
std::vector< sal_uLong > maSharedActions