LibreOffice Module sc (master) 1
|
#include <tabopdlg.hxx>
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 OUString &rt5) | |
Public Member Functions inherited from ScRefHdlrControllerImpl< SfxModelessDialogController > | |
ScRefHdlrControllerImpl (weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *pArg, SfxBindings *pB) | |
ScRefHdlrControllerImpl (SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &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 |
SfxBindings & | GetBindings () const |
Public Member Functions inherited from SfxDialogController | |
SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId) | |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | ChildWinDispose () |
virtual void | Close () |
virtual void | EndDialog (int nResponse) |
virtual bool | CloseOnHide () const |
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) |
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 |
ScDocument * | pDoc |
const SCTAB | nCurTab |
bool | bDlgLostFocus |
const OUString | errMsgNoFormula |
const OUString | errMsgNoColRow |
const OUString | errMsgWrongFormula |
const OUString | errMsgWrongRowCol |
const OUString | errMsgNoColFormula |
const OUString | errMsgNoRowFormula |
formula::RefEdit * | m_pEdActive |
std::unique_ptr< weld::Label > | m_xFtFormulaRange |
std::unique_ptr< formula::RefEdit > | m_xEdFormulaRange |
std::unique_ptr< formula::RefButton > | m_xRBFormulaRange |
std::unique_ptr< weld::Label > | m_xFtRowCell |
std::unique_ptr< formula::RefEdit > | m_xEdRowCell |
std::unique_ptr< formula::RefButton > | m_xRBRowCell |
std::unique_ptr< weld::Label > | m_xFtColCell |
std::unique_ptr< formula::RefEdit > | m_xEdColCell |
std::unique_ptr< formula::RefButton > | m_xRBColCell |
std::unique_ptr< weld::Button > | m_xBtnOk |
std::unique_ptr< weld::Button > | m_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 OUString &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) |
Definition at line 36 of file tabopdlg.hxx.
ScTabOpDlg::ScTabOpDlg | ( | SfxBindings * | pB, |
SfxChildWindow * | pCW, | ||
weld::Window * | pParent, | ||
ScDocument * | pDocument, | ||
const ScRefAddress & | rCursorPos | ||
) |
Definition at line 34 of file tabopdlg.cxx.
References Init(), m_xEdColCell, m_xEdFormulaRange, m_xEdRowCell, m_xFtColCell, m_xFtFormulaRange, m_xFtRowCell, m_xRBColCell, m_xRBFormulaRange, and m_xRBRowCell.
|
overridevirtual |
Definition at line 74 of file tabopdlg.cxx.
|
overridevirtual |
Reimplemented from SfxModelessDialogController.
Definition at line 107 of file tabopdlg.cxx.
References ScRefHandler::DoClose().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 78 of file tabopdlg.cxx.
References LINK, m_pEdActive, m_xBtnCancel, m_xBtnOk, m_xEdColCell, m_xEdFormulaRange, m_xEdRowCell, m_xRBColCell, m_xRBFormulaRange, and m_xRBRowCell.
Referenced by ScTabOpDlg().
|
inlineoverridevirtual |
Reimplemented from ScRefHandler.
Definition at line 45 of file tabopdlg.hxx.
|
private |
Definition at line 161 of file tabopdlg.cxx.
References Application::CreateMessageDialog(), errMsgNoColFormula, errMsgNoColRow, errMsgNoFormula, errMsgNoRowFormula, errMsgWrongFormula, errMsgWrongRowCol, formula::RefEdit::GrabFocus(), m_xDialog, m_xEdColCell, m_xEdFormulaRange, m_xEdRowCell, TABOPERR_NOCOLFORMULA, TABOPERR_NOCOLROW, TABOPERR_NOFORMULA, TABOPERR_NOROWFORMULA, TABOPERR_WRONGCOL, TABOPERR_WRONGFORMULA, and TABOPERR_WRONGROW.
|
overridevirtual |
Implements ScRefHandler.
Definition at line 112 of file tabopdlg.cxx.
References bDlgLostFocus, formula::RefEdit::GrabFocus(), m_pEdActive, m_xDialog, and ScRefHandler::RefInputDone().
|
overridevirtual |
Implements ScRefHandler.
Definition at line 126 of file tabopdlg.cxx.
References ScRange::aEnd, ScRange::aStart, aStr, ScRange::Format(), ScAddress::Format(), ScDocument::GetAddressConvention(), m_pEdActive, m_xEdColCell, m_xEdFormulaRange, m_xEdRowCell, nCurTab, RANGE_ABS, RANGE_ABS_3D, ScRefHandler::RefInputStart(), ScRefAddress::Set(), formula::RefEdit::SetRefString(), ScAddress::Tab(), theColCell, theFormulaCell, theFormulaEnd, and theRowCell.
|
private |
Definition at line 58 of file tabopdlg.hxx.
Referenced by SetActive().
|
private |
Definition at line 63 of file tabopdlg.hxx.
Referenced by RaiseError().
|
private |
Definition at line 60 of file tabopdlg.hxx.
Referenced by RaiseError().
|
private |
Definition at line 59 of file tabopdlg.hxx.
Referenced by RaiseError().
|
private |
Definition at line 64 of file tabopdlg.hxx.
Referenced by RaiseError().
|
private |
Definition at line 61 of file tabopdlg.hxx.
Referenced by RaiseError().
|
private |
Definition at line 62 of file tabopdlg.hxx.
Referenced by RaiseError().
|
private |
Definition at line 66 of file tabopdlg.hxx.
Referenced by Init(), SetActive(), and SetReference().
|
private |
Definition at line 80 of file tabopdlg.hxx.
Referenced by Init().
|
private |
Definition at line 79 of file tabopdlg.hxx.
Referenced by Init().
|
private |
Definition at line 76 of file tabopdlg.hxx.
Referenced by Init(), RaiseError(), ScTabOpDlg(), and SetReference().
|
private |
Definition at line 68 of file tabopdlg.hxx.
Referenced by Init(), RaiseError(), ScTabOpDlg(), and SetReference().
|
private |
Definition at line 72 of file tabopdlg.hxx.
Referenced by Init(), RaiseError(), ScTabOpDlg(), and SetReference().
|
private |
Definition at line 75 of file tabopdlg.hxx.
Referenced by ScTabOpDlg().
|
private |
Definition at line 67 of file tabopdlg.hxx.
Referenced by ScTabOpDlg().
|
private |
Definition at line 71 of file tabopdlg.hxx.
Referenced by ScTabOpDlg().
|
private |
Definition at line 77 of file tabopdlg.hxx.
Referenced by Init(), and ScTabOpDlg().
|
private |
Definition at line 69 of file tabopdlg.hxx.
Referenced by Init(), and ScTabOpDlg().
|
private |
Definition at line 73 of file tabopdlg.hxx.
Referenced by Init(), and ScTabOpDlg().
|
private |
Definition at line 57 of file tabopdlg.hxx.
Referenced by SetReference().
|
private |
Definition at line 56 of file tabopdlg.hxx.
|
private |
Definition at line 54 of file tabopdlg.hxx.
Referenced by SetReference().
|
private |
Definition at line 51 of file tabopdlg.hxx.
Referenced by SetReference().
|
private |
Definition at line 52 of file tabopdlg.hxx.
Referenced by SetReference().
|
private |
Definition at line 53 of file tabopdlg.hxx.
Referenced by SetReference().