LibreOffice Module sc (master)
1
|
#include <simpref.hxx>
Public Member Functions | |
ScSimpleRefDlg (SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent) | |
virtual | ~ScSimpleRefDlg () override |
virtual void | SetReference (const ScRange &rRef, ScDocument &rDoc) override |
virtual bool | IsRefInputMode () const override |
virtual void | SetActive () override |
virtual void | Close () override |
void | StartRefInput () |
void | SetRefString (const OUString &rStr) |
virtual void | FillInfo (SfxChildWinInfo &) const override |
void | SetCloseHdl (const Link< const OUString *, void > &rLink) |
void | SetUnoLinks (const Link< const OUString &, void > &rDone, const Link< const OUString &, void > &rAbort, const Link< const OUString &, void > &rChange) |
void | SetFlags (bool bSetCloseOnButtonUp, bool bSetSingleCell, bool bSetMultiSelection) |
![]() | |
ScAnyRefDlgController (SfxBindings *rt1, SfxChildWindow *rt2, weld::Window *rt3, const OUString &rt4, const OString &rt5) | |
![]() | |
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) | |
![]() | |
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 |
SfxBindings & | GetBindings () const |
![]() | |
SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId) | |
![]() | |
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) |
![]() | |
virtual | ~IAnyRefDialog () COVERITY_NOEXCEPT_FALSE |
Protected Member Functions | |
virtual void | RefInputDone (bool bForced=false) override |
![]() | |
SfxModelessDialogController (SfxBindings *, SfxChildWindow *pChildWin, weld::Window *pParent, const OUString &rUIXMLDescription, const OString &rID) | |
![]() | |
void | disposeRefHandler () |
bool | DoClose (sal_uInt16 nId) |
void | SetDispatcherLock (bool bLock) |
virtual void | RefInputStart (formula::RefEdit *pEdit, formula::RefButton *pButton=nullptr) override |
bool | ParseWithNames (ScRangeList &rRanges, const OUString &rStr, const ScDocument &pDoc) |
![]() | |
~IControlReferenceHandler () | |
Private Member Functions | |
void | Init () |
DECL_LINK (CancelBtnHdl, weld::Button &, void) | |
DECL_LINK (OkBtnHdl, weld::Button &, void) | |
Private Attributes | |
Link< const OUString *, void > | aCloseHdl |
Link< const OUString &, void > | aDoneHdl |
Link< const OUString &, void > | aAbortedHdl |
Link< const OUString &, void > | aChangeHdl |
ScRange | theCurArea |
bool | bCloseFlag |
bool | bAutoReOpen |
bool | bCloseOnButtonUp |
bool | bSingleCell |
bool | bMultiSelection |
std::unique_ptr< weld::Label > | m_xFtAssign |
std::unique_ptr< formula::RefEdit > | m_xEdAssign |
std::unique_ptr< formula::RefButton > | m_xRbAssign |
std::unique_ptr< weld::Button > | m_xBtnOk |
std::unique_ptr< weld::Button > | m_xBtnCancel |
Additional Inherited Members | |
![]() | |
enum | |
![]() | |
static bool | CanInputStart (const formula::RefEdit *pEdit) |
Definition at line 27 of file simpref.hxx.
ScSimpleRefDlg::ScSimpleRefDlg | ( | SfxBindings * | pB, |
SfxChildWindow * | pCW, | ||
weld::Window * | pParent | ||
) |
Definition at line 24 of file simpref.cxx.
References Init(), m_xEdAssign, m_xFtAssign, m_xRbAssign, and ScRefHandler::SetDispatcherLock().
|
overridevirtual |
Definition at line 44 of file simpref.cxx.
References ScRefHandler::SetDispatcherLock().
|
overridevirtual |
Reimplemented from SfxModelessDialogController.
Definition at line 103 of file simpref.cxx.
References m_xBtnCancel.
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxModelessDialogController.
Definition at line 49 of file simpref.cxx.
References bAutoReOpen, SfxChildWinInfo::bVisible, and SfxModelessDialogController::FillInfo().
Definition at line 60 of file simpref.cxx.
References bCloseFlag, LINK, m_xBtnCancel, and m_xBtnOk.
Referenced by ScSimpleRefDlg().
|
overridevirtual |
Reimplemented from ScRefHandler.
Definition at line 119 of file simpref.cxx.
|
overrideprotectedvirtual |
Reimplemented from ScRefHandler.
Definition at line 157 of file simpref.cxx.
References bCloseFlag, bCloseOnButtonUp, m_xBtnOk, and ScRefHandler::RefInputDone().
Referenced by SetActive().
|
overridevirtual |
Implements ScRefHandler.
Definition at line 108 of file simpref.cxx.
References m_xEdAssign, and RefInputDone().
Definition at line 124 of file simpref.cxx.
References aCloseHdl.
void ScSimpleRefDlg::SetFlags | ( | bool | bSetCloseOnButtonUp, |
bool | bSetSingleCell, | ||
bool | bSetMultiSelection | ||
) |
Definition at line 138 of file simpref.cxx.
References bCloseOnButtonUp, bMultiSelection, and bSingleCell.
|
overridevirtual |
Implements ScRefHandler.
Definition at line 69 of file simpref.cxx.
References aChangeHdl, ADDR_ABS_3D, ScRange::aEnd, ScRange::aStart, bMultiSelection, bSingleCell, ScAddress::Format(), ScDocument::GetAddressConvention(), Selection::Justify(), Selection::Len(), m_xEdAssign, Selection::Min(), RANGE_ABS_3D, ScRefHandler::RefInputStart(), and theCurArea.
void ScSimpleRefDlg::SetRefString | ( | const OUString & | rStr | ) |
Definition at line 55 of file simpref.cxx.
References m_xEdAssign.
void ScSimpleRefDlg::SetUnoLinks | ( | const Link< const OUString &, void > & | rDone, |
const Link< const OUString &, void > & | rAbort, | ||
const Link< const OUString &, void > & | rChange | ||
) |
Definition at line 129 of file simpref.cxx.
References aAbortedHdl, aChangeHdl, and aDoneHdl.
void ScSimpleRefDlg::StartRefInput | ( | ) |
Definition at line 145 of file simpref.cxx.
References bCloseFlag, bMultiSelection, m_xEdAssign, and m_xRbAssign.
Definition at line 32 of file simpref.hxx.
Referenced by SetUnoLinks().
Definition at line 33 of file simpref.hxx.
Referenced by SetReference(), and SetUnoLinks().
Definition at line 30 of file simpref.hxx.
Referenced by SetCloseHdl().
Definition at line 31 of file simpref.hxx.
Referenced by SetUnoLinks().
|
private |
Definition at line 37 of file simpref.hxx.
Referenced by FillInfo().
|
private |
Definition at line 36 of file simpref.hxx.
Referenced by Init(), RefInputDone(), and StartRefInput().
|
private |
Definition at line 38 of file simpref.hxx.
Referenced by RefInputDone(), and SetFlags().
|
private |
Definition at line 40 of file simpref.hxx.
Referenced by SetFlags(), SetReference(), and StartRefInput().
|
private |
Definition at line 39 of file simpref.hxx.
Referenced by SetFlags(), and SetReference().
|
private |
Definition at line 46 of file simpref.hxx.
|
private |
Definition at line 45 of file simpref.hxx.
Referenced by Init(), and RefInputDone().
|
private |
Definition at line 43 of file simpref.hxx.
Referenced by ScSimpleRefDlg(), SetActive(), SetReference(), SetRefString(), and StartRefInput().
|
private |
Definition at line 42 of file simpref.hxx.
Referenced by ScSimpleRefDlg().
|
private |
Definition at line 44 of file simpref.hxx.
Referenced by ScSimpleRefDlg(), and StartRefInput().
|
private |
Definition at line 35 of file simpref.hxx.
Referenced by SetReference().