LibreOffice Module sc (master) 1
|
#include <dbnamdlg.hxx>
Public Member Functions | |
ScDbNameDlg (SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, ScViewData &rViewData) | |
virtual | ~ScDbNameDlg () 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 | UpdateNames () |
void | UpdateDBData (const OUString &rStrName) |
void | SetInfoStrings (const ScDBData *pDBData) |
DECL_LINK (CancelBtnHdl, weld::Button &, void) | |
DECL_LINK (OkBtnHdl, weld::Button &, void) | |
DECL_LINK (AddBtnHdl, weld::Button &, void) | |
DECL_LINK (RemoveBtnHdl, weld::Button &, void) | |
DECL_LINK (NameModifyHdl, weld::ComboBox &, void) | |
DECL_LINK (AssModifyHdl, formula::RefEdit &, void) | |
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 29 of file dbnamdlg.hxx.
ScDbNameDlg::ScDbNameDlg | ( | SfxBindings * | pB, |
SfxChildWindow * | pCW, | ||
weld::Window * | pParent, | ||
ScViewData & | rViewData | ||
) |
Definition at line 123 of file dbnamdlg.cxx.
References aStrAdd, aStrInvalid, aStrModify, aStrOperations, aStrSource, Init(), m_xBtnAdd, m_xBtnDoSize, m_xBtnHeader, m_xBtnKeepFmt, m_xBtnStripData, m_xBtnTotals, m_xEdAssign, m_xEdName, m_xFrameLabel, m_xFTOperations, m_xFTSource, m_xInvalidFT, m_xModifyPB, m_xRbAssign, theCurArea, and xSaveObj.
|
overridevirtual |
Definition at line 168 of file dbnamdlg.cxx.
References xSaveObj.
|
overridevirtual |
Reimplemented from SfxModelessDialogController.
Definition at line 286 of file dbnamdlg.cxx.
References ScRefHandler::DoClose().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 173 of file dbnamdlg.cxx.
References aAddrDetails, ScRange::aEnd, ScRange::aStart, bInvalid, bSaved, ScAddress::Col(), ScRange::Format(), ScDBData::GetArea(), ScDBCollection::GetDBAtCursor(), ScDocument::GetDBCollection(), ScDBData::GetName(), ScViewData::GetSimpleArea(), ScDBData::HasHeader(), ScDBData::HasTotals(), ScDBData::IsDoSize(), ScDBData::IsKeepFmt(), ScDBData::IsStripData(), LINK, m_rViewData, m_xBtnAdd, m_xBtnCancel, m_xBtnDoSize, m_xBtnHeader, m_xBtnKeepFmt, m_xBtnOk, m_xBtnRemove, m_xBtnStripData, m_xBtnTotals, m_xEdAssign, m_xEdName, RANGE_ABS_3D, rDoc, ScAddress::Row(), SetInfoStrings(), STR_DB_LOCAL_NONAME, ScAddress::Tab(), theCurArea, TOP_LEFT, UpdateNames(), and xSaveObj.
Referenced by ScDbNameDlg().
|
overridevirtual |
Reimplemented from ScRefHandler.
Definition at line 361 of file dbnamdlg.cxx.
References bRefInputMode.
|
overridevirtual |
Implements ScRefHandler.
Definition at line 291 of file dbnamdlg.cxx.
References m_xEdAssign, and ScRefHandler::RefInputDone().
|
private |
Definition at line 248 of file dbnamdlg.cxx.
References aBuf, aStrOperations, aStrSource, ScDBData::GetOperations(), ScDBData::GetSourceString(), m_xFTOperations, and m_xFTSource.
Referenced by Init(), and UpdateDBData().
|
overridevirtual |
Implements ScRefHandler.
Definition at line 268 of file dbnamdlg.cxx.
References aAddrDetails, ScRange::aEnd, ScRange::aStart, bSaved, ScRange::Format(), m_xBtnAdd, m_xEdAssign, m_xOptions, RANGE_ABS_3D, ScRefHandler::RefInputStart(), theCurArea, and xSaveObj.
|
private |
Definition at line 328 of file dbnamdlg.cxx.
References aAddrDetails, aLocalDbCol, aStrModify, ScDBCollection::NamedDBs::findByUpperName(), ScRange::Format(), ScGlobal::getCharClass(), ScDBCollection::getNamedDBs(), m_xBtnAdd, m_xBtnDoSize, m_xBtnHeader, m_xBtnKeepFmt, m_xBtnRemove, m_xBtnStripData, m_xBtnTotals, m_xEdAssign, m_xOptions, pData, RANGE_ABS_3D, rDoc, SetInfoStrings(), and theCurArea.
|
private |
Definition at line 302 of file dbnamdlg.cxx.
References aLocalDbCol, aStrAdd, ScDBCollection::getNamedDBs(), m_xBtnAdd, m_xBtnRemove, m_xEdAssign, and m_xEdName.
Referenced by Init().
|
private |
Definition at line 56 of file dbnamdlg.hxx.
Referenced by Init(), SetReference(), and UpdateDBData().
|
private |
Definition at line 58 of file dbnamdlg.hxx.
Referenced by UpdateDBData(), and UpdateNames().
|
private |
Definition at line 60 of file dbnamdlg.hxx.
|
private |
Definition at line 46 of file dbnamdlg.hxx.
Referenced by ScDbNameDlg(), and UpdateNames().
|
private |
Definition at line 48 of file dbnamdlg.hxx.
Referenced by ScDbNameDlg().
|
private |
Definition at line 47 of file dbnamdlg.hxx.
Referenced by ScDbNameDlg(), and UpdateDBData().
|
private |
Definition at line 51 of file dbnamdlg.hxx.
Referenced by ScDbNameDlg(), and SetInfoStrings().
|
private |
Definition at line 50 of file dbnamdlg.hxx.
Referenced by ScDbNameDlg(), and SetInfoStrings().
|
private |
Definition at line 44 of file dbnamdlg.hxx.
Referenced by Init().
|
private |
Definition at line 55 of file dbnamdlg.hxx.
Referenced by IsRefInputMode().
|
private |
Definition at line 43 of file dbnamdlg.hxx.
Referenced by Init(), and SetReference().
|
private |
Definition at line 53 of file dbnamdlg.hxx.
Referenced by Init().
|
private |
Definition at line 64 of file dbnamdlg.hxx.
|
private |
Definition at line 79 of file dbnamdlg.hxx.
Referenced by Init(), ScDbNameDlg(), SetReference(), UpdateDBData(), and UpdateNames().
|
private |
Definition at line 78 of file dbnamdlg.hxx.
Referenced by Init().
|
private |
Definition at line 71 of file dbnamdlg.hxx.
Referenced by Init(), ScDbNameDlg(), and UpdateDBData().
|
private |
Definition at line 69 of file dbnamdlg.hxx.
Referenced by Init(), ScDbNameDlg(), and UpdateDBData().
|
private |
Definition at line 72 of file dbnamdlg.hxx.
Referenced by Init(), ScDbNameDlg(), and UpdateDBData().
|
private |
Definition at line 77 of file dbnamdlg.hxx.
Referenced by Init().
|
private |
Definition at line 80 of file dbnamdlg.hxx.
Referenced by Init(), UpdateDBData(), and UpdateNames().
|
private |
Definition at line 73 of file dbnamdlg.hxx.
Referenced by Init(), ScDbNameDlg(), and UpdateDBData().
|
private |
Definition at line 70 of file dbnamdlg.hxx.
Referenced by Init(), ScDbNameDlg(), and UpdateDBData().
|
private |
Definition at line 65 of file dbnamdlg.hxx.
Referenced by Init(), ScDbNameDlg(), SetActive(), SetReference(), UpdateDBData(), and UpdateNames().
|
private |
Definition at line 62 of file dbnamdlg.hxx.
Referenced by Init(), ScDbNameDlg(), and UpdateNames().
|
private |
Definition at line 85 of file dbnamdlg.hxx.
Referenced by ScDbNameDlg().
|
private |
Definition at line 75 of file dbnamdlg.hxx.
Referenced by ScDbNameDlg(), and SetInfoStrings().
|
private |
Definition at line 74 of file dbnamdlg.hxx.
Referenced by ScDbNameDlg(), and SetInfoStrings().
|
private |
Definition at line 83 of file dbnamdlg.hxx.
Referenced by ScDbNameDlg().
|
private |
Definition at line 82 of file dbnamdlg.hxx.
Referenced by ScDbNameDlg().
|
private |
Definition at line 68 of file dbnamdlg.hxx.
Referenced by SetReference(), and UpdateDBData().
|
private |
Definition at line 66 of file dbnamdlg.hxx.
Referenced by ScDbNameDlg().
|
private |
Definition at line 54 of file dbnamdlg.hxx.
Referenced by Init(), and UpdateDBData().
|
private |
Definition at line 59 of file dbnamdlg.hxx.
Referenced by Init(), ScDbNameDlg(), SetReference(), and UpdateDBData().