LibreOffice Module sw (master) 1
|
#include <changedb.hxx>
Public Member Functions | |
SwChangeDBDlg (SwView const &rVw) | |
virtual short | run () override |
virtual | ~SwChangeDBDlg () override |
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 |
Private Member Functions | |
void | TreeSelect () |
DECL_LINK (TreeSelectHdl, weld::TreeView &, void) | |
DECL_LINK (ButtonHdl, weld::Button &, void) | |
DECL_LINK (AddDBHdl, weld::Button &, void) | |
void | UpdateFields () |
void | FillDBPopup () |
std::unique_ptr< weld::TreeIter > | Insert (std::u16string_view rDBName) |
void | ShowDBName (const SwDBData &rDBData) |
Private Attributes | |
SwWrtShell * | m_pSh |
std::unique_ptr< weld::TreeView > | m_xUsedDBTLB |
std::unique_ptr< SwDBTreeList > | m_xAvailDBTLB |
std::unique_ptr< weld::Button > | m_xAddDBPB |
std::unique_ptr< weld::Label > | m_xDocDBNameFT |
std::unique_ptr< weld::Button > | m_xDefineBT |
Definition at line 31 of file changedb.hxx.
SwChangeDBDlg::SwChangeDBDlg | ( | SwView const & | rVw | ) |
Definition at line 44 of file changedb.cxx.
References FillDBPopup(), SwEditShell::GetDBData(), LINK, m_pSh, m_xAddDBPB, m_xAvailDBTLB, m_xDefineBT, m_xUsedDBTLB, ShowDBName(), and TreeSelect().
|
overridevirtual |
Definition at line 157 of file changedb.cxx.
|
private |
|
private |
|
private |
|
private |
Definition at line 77 of file changedb.cxx.
References SwEditShell::GetAllUsedDB(), SwEditShell::GetDBData(), o3tl::getToken(), Insert(), m_pSh, m_xAvailDBTLB, m_xUsedDBTLB, nCount, SwDBData::sCommand, SwDBData::sDataSource, TreeSelect(), and u.
Referenced by SwChangeDBDlg().
|
private |
Definition at line 110 of file changedb.cxx.
References DB_DELIM, o3tl::getToken(), and m_xUsedDBTLB.
Referenced by FillDBPopup().
|
overridevirtual |
Definition at line 161 of file changedb.cxx.
References RET_OK, and UpdateFields().
|
private |
Definition at line 235 of file changedb.cxx.
References m_xDocDBNameFT, SwDBData::sCommand, SwDBData::sDataSource, sName, and SwResId().
Referenced by SwChangeDBDlg().
|
private |
Definition at line 221 of file changedb.cxx.
References m_xAvailDBTLB, and m_xDefineBT.
Referenced by FillDBPopup(), and SwChangeDBDlg().
|
private |
Definition at line 169 of file changedb.cxx.
References SwEditShell::ChangeDBFields(), DB_DELIM, SwEditShell::EndAllAction(), m_pSh, m_xAvailDBTLB, m_xUsedDBTLB, and SwEditShell::StartAllAction().
Referenced by run().
|
private |
Definition at line 33 of file changedb.hxx.
Referenced by FillDBPopup(), SwChangeDBDlg(), and UpdateFields().
|
private |
Definition at line 37 of file changedb.hxx.
Referenced by SwChangeDBDlg().
|
private |
Definition at line 36 of file changedb.hxx.
Referenced by FillDBPopup(), SwChangeDBDlg(), TreeSelect(), and UpdateFields().
|
private |
Definition at line 39 of file changedb.hxx.
Referenced by SwChangeDBDlg(), and TreeSelect().
|
private |
Definition at line 38 of file changedb.hxx.
Referenced by ShowDBName().
|
private |
Definition at line 35 of file changedb.hxx.
Referenced by FillDBPopup(), Insert(), SwChangeDBDlg(), and UpdateFields().