LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScConflictsDlg Class Reference

#include <conflictsdlg.hxx>

Inheritance diagram for ScConflictsDlg:
[legend]
Collaboration diagram for ScConflictsDlg:
[legend]

Public Member Functions

 ScConflictsDlg (weld::Window *pParent, ScViewData *pViewData, ScDocument *pSharedDoc, ScConflictsList &rConflictsList)
 
virtual ~ScConflictsDlg () override
 
void UpdateView ()
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OString &rHelpId)
 
OString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

OUString GetConflictString (const ScConflictsListEntry &rConflictEntry)
 
void SetActionString (const ScChangeAction *pAction, ScDocument *pDoc, const weld::TreeIter &rEntry)
 
void HandleListBoxSelection ()
 
void SetConflictAction (const weld::TreeIter &rRootEntry, ScConflictAction eConflictAction)
 
void KeepHandler (bool bMine)
 
void KeepAllHandler (bool bMine)
 
 DECL_LINK (SelectHandle, weld::TreeView &, void)
 
 DECL_LINK (UpdateSelectionHdl, Timer *, void)
 
 DECL_LINK (KeepMineHandle, weld::Button &, void)
 
 DECL_LINK (KeepOtherHandle, weld::Button &, void)
 
 DECL_LINK (KeepAllMineHandle, weld::Button &, void)
 
 DECL_LINK (KeepAllOthersHandle, weld::Button &, void)
 

Private Attributes

OUString maStrUnknownUser
 
ScViewData *const mpViewData
 
ScDocumentmpOwnDoc
 
ScChangeTrackmpOwnTrack
 
ScDocument *const mpSharedDoc
 
ScChangeTrackmpSharedTrack
 
ScConflictsListmrConflictsList
 
Idle maSelectionIdle
 
bool mbInSelectHdl
 
std::unique_ptr< weld::Buttonm_xBtnKeepMine
 
std::unique_ptr< weld::Buttonm_xBtnKeepOther
 
std::unique_ptr< weld::Buttonm_xBtnKeepAllMine
 
std::unique_ptr< weld::Buttonm_xBtnKeepAllOthers
 
std::unique_ptr< SvxRedlinTablem_xLbConflicts
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 108 of file conflictsdlg.hxx.

Constructor & Destructor Documentation

ScConflictsDlg::ScConflictsDlg ( weld::Window pParent,
ScViewData pViewData,
ScDocument pSharedDoc,
ScConflictsList rConflictsList 
)
ScConflictsDlg::~ScConflictsDlg ( )
overridevirtual

Definition at line 382 of file conflictsdlg.cxx.

Member Function Documentation

ScConflictsDlg::DECL_LINK ( SelectHandle  ,
weld::TreeView ,
void   
)
private
ScConflictsDlg::DECL_LINK ( UpdateSelectionHdl  ,
Timer ,
void   
)
private
ScConflictsDlg::DECL_LINK ( KeepMineHandle  ,
weld::Button ,
void   
)
private
ScConflictsDlg::DECL_LINK ( KeepOtherHandle  ,
weld::Button ,
void   
)
private
ScConflictsDlg::DECL_LINK ( KeepAllMineHandle  ,
weld::Button ,
void   
)
private
ScConflictsDlg::DECL_LINK ( KeepAllOthersHandle  ,
weld::Button ,
void   
)
private
OUString ScConflictsDlg::GetConflictString ( const ScConflictsListEntry rConflictEntry)
private
void ScConflictsDlg::HandleListBoxSelection ( )
private
void ScConflictsDlg::KeepAllHandler ( bool  bMine)
private
void ScConflictsDlg::KeepHandler ( bool  bMine)
private
void ScConflictsDlg::SetActionString ( const ScChangeAction pAction,
ScDocument pDoc,
const weld::TreeIter rEntry 
)
private
void ScConflictsDlg::SetConflictAction ( const weld::TreeIter rRootEntry,
ScConflictAction  eConflictAction 
)
private
void ScConflictsDlg::UpdateView ( )

Member Data Documentation

std::unique_ptr<weld::Button> ScConflictsDlg::m_xBtnKeepAllMine
private

Definition at line 125 of file conflictsdlg.hxx.

Referenced by ScConflictsDlg().

std::unique_ptr<weld::Button> ScConflictsDlg::m_xBtnKeepAllOthers
private

Definition at line 126 of file conflictsdlg.hxx.

Referenced by ScConflictsDlg().

std::unique_ptr<weld::Button> ScConflictsDlg::m_xBtnKeepMine
private

Definition at line 123 of file conflictsdlg.hxx.

Referenced by ScConflictsDlg().

std::unique_ptr<weld::Button> ScConflictsDlg::m_xBtnKeepOther
private

Definition at line 124 of file conflictsdlg.hxx.

Referenced by ScConflictsDlg().

std::unique_ptr<SvxRedlinTable> ScConflictsDlg::m_xLbConflicts
private
Idle ScConflictsDlg::maSelectionIdle
private

Definition at line 120 of file conflictsdlg.hxx.

Referenced by ScConflictsDlg().

OUString ScConflictsDlg::maStrUnknownUser
private

Definition at line 111 of file conflictsdlg.hxx.

Referenced by SetActionString().

bool ScConflictsDlg::mbInSelectHdl
private

Definition at line 121 of file conflictsdlg.hxx.

ScDocument* ScConflictsDlg::mpOwnDoc
private

Definition at line 114 of file conflictsdlg.hxx.

Referenced by GetConflictString(), ScConflictsDlg(), and UpdateView().

ScChangeTrack* ScConflictsDlg::mpOwnTrack
private

Definition at line 115 of file conflictsdlg.hxx.

Referenced by GetConflictString(), ScConflictsDlg(), and UpdateView().

ScDocument* const ScConflictsDlg::mpSharedDoc
private

Definition at line 116 of file conflictsdlg.hxx.

Referenced by ScConflictsDlg(), and UpdateView().

ScChangeTrack* ScConflictsDlg::mpSharedTrack
private

Definition at line 117 of file conflictsdlg.hxx.

Referenced by ScConflictsDlg(), and UpdateView().

ScViewData* const ScConflictsDlg::mpViewData
private

Definition at line 113 of file conflictsdlg.hxx.

Referenced by ScConflictsDlg().

ScConflictsList& ScConflictsDlg::mrConflictsList
private

Definition at line 118 of file conflictsdlg.hxx.

Referenced by UpdateView().


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