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

#include <highred.hxx>

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

Public Member Functions

 ScHighlightChgDlg (SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, ScViewData &rViewData)
 
virtual ~ScHighlightChgDlg () override
 
virtual void SetActive () override
 
virtual void SetReference (const ScRange &rRef, ScDocument &rDoc) override
 
virtual void Close () override
 
virtual bool IsRefInputMode () const override
 
- Public Member Functions inherited from ScAnyRefDlgController
 ScAnyRefDlgController (SfxBindings *rt1, SfxChildWindow *rt2, weld::Window *rt3, const OUString &rt4, const OString &rt5)
 
- Public Member Functions inherited from ScRefHdlrControllerImpl< SfxModelessDialogController >
 ScRefHdlrControllerImpl (weld::Window *pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *pArg, SfxBindings *pB)
 
 ScRefHdlrControllerImpl (SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, const OUString &rUIXMLDescription, const OString &rID)
 
- Public Member Functions inherited from SfxModelessDialogController
virtual ~SfxModelessDialogController () override
 
void Initialize (SfxChildWinInfo const *pInfo)
 
bool IsClosing () const
 
virtual void Close () override
 
virtual void EndDialog (int nResponse) override
 
virtual void Activate () override
 
virtual void Deactivate () override
 
virtual void ChildWinDispose () override
 
virtual void FillInfo (SfxChildWinInfo &) const
 
SfxBindingsGetBindings () const
 
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog (int nResponse)
 
- Public Member Functions inherited from ScRefHandler
 ScRefHandler (SfxDialogController &rController, SfxBindings *pB, bool bBindRef)
 
virtual ~ScRefHandler () COVERITY_NOEXCEPT_FALSE override
 
virtual void SetReference (const ScRange &rRef, ScDocument &rDoc) override=0
 
virtual void AddRefEntry () override
 
virtual bool IsRefInputMode () const override
 
virtual bool IsTableLocked () const override
 
virtual bool IsDocAllowed (SfxObjectShell *pDocSh) const override
 
virtual void ShowReference (const OUString &rStr) override
 
virtual void HideReference (bool bDoneRefMode=true) override
 
virtual void ToggleCollapsed (formula::RefEdit *pEdit, formula::RefButton *pButton) override
 
virtual void ReleaseFocus (formula::RefEdit *pEdit) override
 
virtual void ViewShellChanged () override
 
void SwitchToDocument ()
 
virtual void SetActive () override=0
 
bool EnterRefMode ()
 
bool LeaveRefMode ()
 
bool CanInputDone (bool bForced)
 
- Public Member Functions inherited from IAnyRefDialog
virtual ~IAnyRefDialog () COVERITY_NOEXCEPT_FALSE
 
virtual void SetReference (const ScRange &rRef, ScDocument &rDoc)=0
 
virtual void RefInputStart (formula::RefEdit *pEdit, formula::RefButton *pButton=nullptr)=0
 
virtual void RefInputDone (bool bForced=false)=0
 
virtual bool IsTableLocked () const =0
 
virtual bool IsRefInputMode () const =0
 
virtual bool IsDocAllowed (SfxObjectShell *pDocSh) const =0
 
virtual void AddRefEntry ()=0
 
virtual void SetActive ()=0
 
virtual void ViewShellChanged ()=0
 
virtual void ShowReference (const OUString &_sRef)=0
 
virtual void HideReference (bool bDoneRefMode=true)=0
 
virtual void ReleaseFocus (RefEdit *pEdit)=0
 
virtual void ToggleCollapsed (RefEdit *pEdit, RefButton *pButton)=0
 

Protected Member Functions

virtual void RefInputDone (bool bForced=false) override
 
- Protected Member Functions inherited from SfxModelessDialogController
 SfxModelessDialogController (SfxBindings *, SfxChildWindow *pChildWin, weld::Window *pParent, const OUString &rUIXMLDescription, const OString &rID)
 
- Protected Member Functions inherited from ScRefHandler
void disposeRefHandler ()
 
bool DoClose (sal_uInt16 nId)
 
void SetDispatcherLock (bool bLock)
 
virtual void RefInputStart (formula::RefEdit *pEdit, formula::RefButton *pButton=nullptr) override
 
virtual void RefInputDone (bool bForced=false) override
 
bool ParseWithNames (ScRangeList &rRanges, std::u16string_view rStr, const ScDocument &pDoc)
 
- Protected Member Functions inherited from formula::IControlReferenceHandler
 ~IControlReferenceHandler ()
 

Private Member Functions

void Init ()
 
 DECL_LINK (RefHandle, SvxTPFilter *, void)
 
 DECL_LINK (HighlightHandle, weld::Toggleable &, void)
 
 DECL_LINK (OKBtnHdl, weld::Button &, void)
 

Private Attributes

ScViewDatam_rViewData
 
ScDocumentrDoc
 
ScChangeViewSettings aChangeViewSet
 
std::unique_ptr< weld::CheckButtonm_xHighlightBox
 
std::unique_ptr< weld::CheckButtonm_xCbAccept
 
std::unique_ptr< weld::CheckButtonm_xCbReject
 
std::unique_ptr< weld::Buttonm_xOkButton
 
std::unique_ptr< formula::RefEditm_xEdAssign
 
std::unique_ptr< formula::RefButtonm_xRbAssign
 
std::unique_ptr< weld::Containerm_xBox
 
std::unique_ptr< SvxTPFilterm_xFilterCtr
 

Additional Inherited Members

- Public Types inherited from ScRefHdlrControllerImpl< SfxModelessDialogController >
enum  
 
- Static Public Member Functions inherited from ScRefHandler
static bool CanInputStart (const formula::RefEdit *pEdit)
 

Detailed Description

Definition at line 31 of file highred.hxx.

Constructor & Destructor Documentation

◆ ScHighlightChgDlg()

ScHighlightChgDlg::ScHighlightChgDlg ( SfxBindings pB,
SfxChildWindow pCW,
weld::Window pParent,
ScViewData rViewData 
)

◆ ~ScHighlightChgDlg()

ScHighlightChgDlg::~ScHighlightChgDlg ( )
overridevirtual

Definition at line 55 of file highred.cxx.

References ScRefHandler::SetDispatcherLock().

Member Function Documentation

◆ Close()

void ScHighlightChgDlg::Close ( )
overridevirtual

Reimplemented from SfxModelessDialogController.

Definition at line 138 of file highred.cxx.

References ScRefHandler::DoClose().

◆ DECL_LINK() [1/3]

ScHighlightChgDlg::DECL_LINK ( HighlightHandle  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/3]

ScHighlightChgDlg::DECL_LINK ( OKBtnHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/3]

ScHighlightChgDlg::DECL_LINK ( RefHandle  ,
SvxTPFilter ,
void   
)
private

◆ Init()

void ScHighlightChgDlg::Init ( void  )
private

◆ IsRefInputMode()

bool ScHighlightChgDlg::IsRefInputMode ( ) const
overridevirtual

Reimplemented from ScRefHandler.

Definition at line 159 of file highred.cxx.

References m_xEdAssign.

◆ RefInputDone()

void ScHighlightChgDlg::RefInputDone ( bool  bForced = false)
overrideprotectedvirtual

Reimplemented from ScRefHandler.

Definition at line 143 of file highred.cxx.

References m_xEdAssign, m_xFilterCtr, m_xRbAssign, and ScRefHandler::RefInputDone().

◆ SetActive()

void ScHighlightChgDlg::SetActive ( )
overridevirtual

Implements ScRefHandler.

Definition at line 155 of file highred.cxx.

◆ SetReference()

void ScHighlightChgDlg::SetReference ( const ScRange rRef,
ScDocument rDoc 
)
overridevirtual

Member Data Documentation

◆ aChangeViewSet

ScChangeViewSettings ScHighlightChgDlg::aChangeViewSet
private

Definition at line 36 of file highred.hxx.

Referenced by Init().

◆ m_rViewData

ScViewData& ScHighlightChgDlg::m_rViewData
private

Definition at line 34 of file highred.hxx.

◆ m_xBox

std::unique_ptr<weld::Container> ScHighlightChgDlg::m_xBox
private

Definition at line 46 of file highred.hxx.

◆ m_xCbAccept

std::unique_ptr<weld::CheckButton> ScHighlightChgDlg::m_xCbAccept
private

Definition at line 39 of file highred.hxx.

Referenced by Init().

◆ m_xCbReject

std::unique_ptr<weld::CheckButton> ScHighlightChgDlg::m_xCbReject
private

Definition at line 40 of file highred.hxx.

Referenced by Init().

◆ m_xEdAssign

std::unique_ptr<formula::RefEdit> ScHighlightChgDlg::m_xEdAssign
private

Definition at line 43 of file highred.hxx.

Referenced by IsRefInputMode(), RefInputDone(), ScHighlightChgDlg(), and SetReference().

◆ m_xFilterCtr

std::unique_ptr<SvxTPFilter> ScHighlightChgDlg::m_xFilterCtr
private

Definition at line 48 of file highred.hxx.

Referenced by Init(), RefInputDone(), ScHighlightChgDlg(), and SetReference().

◆ m_xHighlightBox

std::unique_ptr<weld::CheckButton> ScHighlightChgDlg::m_xHighlightBox
private

Definition at line 38 of file highred.hxx.

Referenced by Init(), and ScHighlightChgDlg().

◆ m_xOkButton

std::unique_ptr<weld::Button> ScHighlightChgDlg::m_xOkButton
private

Definition at line 41 of file highred.hxx.

Referenced by ScHighlightChgDlg().

◆ m_xRbAssign

std::unique_ptr<formula::RefButton> ScHighlightChgDlg::m_xRbAssign
private

Definition at line 44 of file highred.hxx.

Referenced by RefInputDone(), and ScHighlightChgDlg().

◆ rDoc

ScDocument& ScHighlightChgDlg::rDoc
private

Definition at line 35 of file highred.hxx.

Referenced by Init().


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