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

#include <tabopdlg.hxx>

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

Public Member Functions

 ScTabOpDlg (SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, ScDocument *pDocument, const ScRefAddress &rCursorPos)
 
virtual ~ScTabOpDlg () override
 
virtual void SetReference (const ScRange &rRef, ScDocument &rDoc) override
 
virtual bool IsRefInputMode () const override
 
virtual void SetActive () override
 
virtual void Close () 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 EndDialog () 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)
 
- Public Member Functions inherited from ScRefHandler
 ScRefHandler (SfxDialogController &rController, SfxBindings *pB, bool bBindRef)
 
virtual ~ScRefHandler () COVERITY_NOEXCEPT_FALSE override
 
virtual void AddRefEntry () 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 ()
 
bool EnterRefMode ()
 
bool LeaveRefMode ()
 
bool CanInputDone (bool bForced)
 
- Public Member Functions inherited from IAnyRefDialog
virtual ~IAnyRefDialog () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

void Init ()
 
void RaiseError (ScTabOpErr eError)
 
 DECL_LINK (BtnHdl, weld::Button &, void)
 
 DECL_LINK (GetEditFocusHdl, formula::RefEdit &, void)
 
 DECL_LINK (LoseEditFocusHdl, formula::RefEdit &, void)
 
 DECL_LINK (GetButtonFocusHdl, formula::RefButton &, void)
 
 DECL_LINK (LoseButtonFocusHdl, formula::RefButton &, void)
 

Private Attributes

ScRefAddress theFormulaCell
 
ScRefAddress theFormulaEnd
 
ScRefAddress theRowCell
 
ScRefAddress theColCell
 
ScDocumentpDoc
 
const SCTAB nCurTab
 
bool bDlgLostFocus
 
const OUString errMsgNoFormula
 
const OUString errMsgNoColRow
 
const OUString errMsgWrongFormula
 
const OUString errMsgWrongRowCol
 
const OUString errMsgNoColFormula
 
const OUString errMsgNoRowFormula
 
formula::RefEditm_pEdActive
 
std::unique_ptr< weld::Labelm_xFtFormulaRange
 
std::unique_ptr< formula::RefEditm_xEdFormulaRange
 
std::unique_ptr< formula::RefButtonm_xRBFormulaRange
 
std::unique_ptr< weld::Labelm_xFtRowCell
 
std::unique_ptr< formula::RefEditm_xEdRowCell
 
std::unique_ptr< formula::RefButtonm_xRBRowCell
 
std::unique_ptr< weld::Labelm_xFtColCell
 
std::unique_ptr< formula::RefEditm_xEdColCell
 
std::unique_ptr< formula::RefButtonm_xRBColCell
 
std::unique_ptr< weld::Buttonm_xBtnOk
 
std::unique_ptr< weld::Buttonm_xBtnCancel
 

Additional Inherited Members

- Public Types inherited from ScRefHdlrControllerImpl< SfxModelessDialogController >
enum  
 
- Static Public Member Functions inherited from ScRefHandler
static bool CanInputStart (const formula::RefEdit *pEdit)
 
- 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, const OUString &rStr, const ScDocument &pDoc)
 
- Protected Member Functions inherited from formula::IControlReferenceHandler
 ~IControlReferenceHandler ()
 

Detailed Description

Definition at line 37 of file tabopdlg.hxx.

Constructor & Destructor Documentation

ScTabOpDlg::ScTabOpDlg ( SfxBindings pB,
SfxChildWindow pCW,
weld::Window pParent,
ScDocument pDocument,
const ScRefAddress rCursorPos 
)
ScTabOpDlg::~ScTabOpDlg ( )
overridevirtual

Definition at line 74 of file tabopdlg.cxx.

Member Function Documentation

void ScTabOpDlg::Close ( )
overridevirtual

Reimplemented from SfxModelessDialogController.

Definition at line 107 of file tabopdlg.cxx.

References ScRefHandler::DoClose().

ScTabOpDlg::DECL_LINK ( BtnHdl  ,
weld::Button ,
void   
)
private
ScTabOpDlg::DECL_LINK ( GetEditFocusHdl  ,
formula::RefEdit ,
void   
)
private
ScTabOpDlg::DECL_LINK ( LoseEditFocusHdl  ,
formula::RefEdit ,
void   
)
private
ScTabOpDlg::DECL_LINK ( GetButtonFocusHdl  ,
formula::RefButton ,
void   
)
private
ScTabOpDlg::DECL_LINK ( LoseButtonFocusHdl  ,
formula::RefButton ,
void   
)
private
void ScTabOpDlg::Init ( void  )
private
virtual bool ScTabOpDlg::IsRefInputMode ( ) const
inlineoverridevirtual

Reimplemented from ScRefHandler.

Definition at line 46 of file tabopdlg.hxx.

void ScTabOpDlg::RaiseError ( ScTabOpErr  eError)
private
void ScTabOpDlg::SetActive ( )
overridevirtual
void ScTabOpDlg::SetReference ( const ScRange rRef,
ScDocument rDoc 
)
overridevirtual

Member Data Documentation

bool ScTabOpDlg::bDlgLostFocus
private

Definition at line 59 of file tabopdlg.hxx.

Referenced by SetActive().

const OUString ScTabOpDlg::errMsgNoColFormula
private

Definition at line 64 of file tabopdlg.hxx.

Referenced by RaiseError().

const OUString ScTabOpDlg::errMsgNoColRow
private

Definition at line 61 of file tabopdlg.hxx.

Referenced by RaiseError().

const OUString ScTabOpDlg::errMsgNoFormula
private

Definition at line 60 of file tabopdlg.hxx.

Referenced by RaiseError().

const OUString ScTabOpDlg::errMsgNoRowFormula
private

Definition at line 65 of file tabopdlg.hxx.

Referenced by RaiseError().

const OUString ScTabOpDlg::errMsgWrongFormula
private

Definition at line 62 of file tabopdlg.hxx.

Referenced by RaiseError().

const OUString ScTabOpDlg::errMsgWrongRowCol
private

Definition at line 63 of file tabopdlg.hxx.

Referenced by RaiseError().

formula::RefEdit* ScTabOpDlg::m_pEdActive
private

Definition at line 67 of file tabopdlg.hxx.

Referenced by Init(), SetActive(), and SetReference().

std::unique_ptr<weld::Button> ScTabOpDlg::m_xBtnCancel
private

Definition at line 81 of file tabopdlg.hxx.

Referenced by Init().

std::unique_ptr<weld::Button> ScTabOpDlg::m_xBtnOk
private

Definition at line 80 of file tabopdlg.hxx.

Referenced by Init().

std::unique_ptr<formula::RefEdit> ScTabOpDlg::m_xEdColCell
private

Definition at line 77 of file tabopdlg.hxx.

Referenced by Init(), RaiseError(), ScTabOpDlg(), and SetReference().

std::unique_ptr<formula::RefEdit> ScTabOpDlg::m_xEdFormulaRange
private

Definition at line 69 of file tabopdlg.hxx.

Referenced by Init(), RaiseError(), ScTabOpDlg(), and SetReference().

std::unique_ptr<formula::RefEdit> ScTabOpDlg::m_xEdRowCell
private

Definition at line 73 of file tabopdlg.hxx.

Referenced by Init(), RaiseError(), ScTabOpDlg(), and SetReference().

std::unique_ptr<weld::Label> ScTabOpDlg::m_xFtColCell
private

Definition at line 76 of file tabopdlg.hxx.

Referenced by ScTabOpDlg().

std::unique_ptr<weld::Label> ScTabOpDlg::m_xFtFormulaRange
private

Definition at line 68 of file tabopdlg.hxx.

Referenced by ScTabOpDlg().

std::unique_ptr<weld::Label> ScTabOpDlg::m_xFtRowCell
private

Definition at line 72 of file tabopdlg.hxx.

Referenced by ScTabOpDlg().

std::unique_ptr<formula::RefButton> ScTabOpDlg::m_xRBColCell
private

Definition at line 78 of file tabopdlg.hxx.

Referenced by Init(), and ScTabOpDlg().

std::unique_ptr<formula::RefButton> ScTabOpDlg::m_xRBFormulaRange
private

Definition at line 70 of file tabopdlg.hxx.

Referenced by Init(), and ScTabOpDlg().

std::unique_ptr<formula::RefButton> ScTabOpDlg::m_xRBRowCell
private

Definition at line 74 of file tabopdlg.hxx.

Referenced by Init(), and ScTabOpDlg().

const SCTAB ScTabOpDlg::nCurTab
private

Definition at line 58 of file tabopdlg.hxx.

Referenced by SetReference().

ScDocument* ScTabOpDlg::pDoc
private

Definition at line 57 of file tabopdlg.hxx.

ScRefAddress ScTabOpDlg::theColCell
private

Definition at line 55 of file tabopdlg.hxx.

Referenced by SetReference().

ScRefAddress ScTabOpDlg::theFormulaCell
private

Definition at line 52 of file tabopdlg.hxx.

Referenced by SetReference().

ScRefAddress ScTabOpDlg::theFormulaEnd
private

Definition at line 53 of file tabopdlg.hxx.

Referenced by SetReference().

ScRefAddress ScTabOpDlg::theRowCell
private

Definition at line 54 of file tabopdlg.hxx.

Referenced by SetReference().


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