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 OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OUString &rHelpId)
 
OUString 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 105 of file conflictsdlg.hxx.

Constructor & Destructor Documentation

◆ ScConflictsDlg()

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

◆ ~ScConflictsDlg()

ScConflictsDlg::~ScConflictsDlg ( )
overridevirtual

Definition at line 377 of file conflictsdlg.cxx.

Member Function Documentation

◆ DECL_LINK() [1/6]

ScConflictsDlg::DECL_LINK ( KeepAllMineHandle  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/6]

ScConflictsDlg::DECL_LINK ( KeepAllOthersHandle  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/6]

ScConflictsDlg::DECL_LINK ( KeepMineHandle  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [4/6]

ScConflictsDlg::DECL_LINK ( KeepOtherHandle  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [5/6]

ScConflictsDlg::DECL_LINK ( SelectHandle  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [6/6]

ScConflictsDlg::DECL_LINK ( UpdateSelectionHdl  ,
Timer ,
void   
)
private

◆ GetConflictString()

OUString ScConflictsDlg::GetConflictString ( const ScConflictsListEntry rConflictEntry)
private

◆ HandleListBoxSelection()

void ScConflictsDlg::HandleListBoxSelection ( )
private

◆ KeepAllHandler()

void ScConflictsDlg::KeepAllHandler ( bool  bMine)
private

◆ KeepHandler()

void ScConflictsDlg::KeepHandler ( bool  bMine)
private

◆ SetActionString()

void ScConflictsDlg::SetActionString ( const ScChangeAction pAction,
ScDocument pDoc,
const weld::TreeIter rEntry 
)
private

◆ SetConflictAction()

void ScConflictsDlg::SetConflictAction ( const weld::TreeIter rRootEntry,
ScConflictAction  eConflictAction 
)
private

◆ UpdateView()

void ScConflictsDlg::UpdateView ( )

Member Data Documentation

◆ m_xBtnKeepAllMine

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

Definition at line 122 of file conflictsdlg.hxx.

Referenced by ScConflictsDlg().

◆ m_xBtnKeepAllOthers

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

Definition at line 123 of file conflictsdlg.hxx.

Referenced by ScConflictsDlg().

◆ m_xBtnKeepMine

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

Definition at line 120 of file conflictsdlg.hxx.

Referenced by ScConflictsDlg().

◆ m_xBtnKeepOther

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

Definition at line 121 of file conflictsdlg.hxx.

Referenced by ScConflictsDlg().

◆ m_xLbConflicts

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

◆ maSelectionIdle

Idle ScConflictsDlg::maSelectionIdle
private

Definition at line 117 of file conflictsdlg.hxx.

Referenced by ScConflictsDlg().

◆ maStrUnknownUser

OUString ScConflictsDlg::maStrUnknownUser
private

Definition at line 108 of file conflictsdlg.hxx.

Referenced by SetActionString().

◆ mbInSelectHdl

bool ScConflictsDlg::mbInSelectHdl
private

Definition at line 118 of file conflictsdlg.hxx.

◆ mpOwnDoc

ScDocument* ScConflictsDlg::mpOwnDoc
private

Definition at line 111 of file conflictsdlg.hxx.

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

◆ mpOwnTrack

ScChangeTrack* ScConflictsDlg::mpOwnTrack
private

Definition at line 112 of file conflictsdlg.hxx.

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

◆ mpSharedDoc

ScDocument* const ScConflictsDlg::mpSharedDoc
private

Definition at line 113 of file conflictsdlg.hxx.

Referenced by ScConflictsDlg(), and UpdateView().

◆ mpSharedTrack

ScChangeTrack* ScConflictsDlg::mpSharedTrack
private

Definition at line 114 of file conflictsdlg.hxx.

Referenced by ScConflictsDlg(), and UpdateView().

◆ mpViewData

ScViewData* const ScConflictsDlg::mpViewData
private

Definition at line 110 of file conflictsdlg.hxx.

Referenced by ScConflictsDlg().

◆ mrConflictsList

ScConflictsList& ScConflictsDlg::mrConflictsList
private

Definition at line 115 of file conflictsdlg.hxx.

Referenced by UpdateView().


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