LibreOffice Module sw (master)
1
|
#include <changedb.hxx>
Public Member Functions | |
SwChangeDBDlg (SwView const &rVw) | |
virtual short | run () override |
virtual | ~SwChangeDBDlg () override |
![]() | |
SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId) | |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | ChildWinDispose () |
virtual void | Close () |
virtual void | EndDialog () |
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 (const OUString &rDBName) |
void | ShowDBName (const SwDBData &rDBData) |
Private Attributes | |
SwWrtShell * | 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 45 of file changedb.cxx.
References FillDBPopup(), SwEditShell::GetDBData(), LINK, m_xAddDBPB, m_xAvailDBTLB, m_xDefineBT, m_xUsedDBTLB, pSh, ShowDBName(), and TreeSelect().
|
overridevirtual |
Definition at line 158 of file changedb.cxx.
|
private |
|
private |
|
private |
|
private |
Definition at line 78 of file changedb.cxx.
References SwEditShell::GetAllUsedDB(), SwEditShell::GetDBData(), comphelper::getProcessComponentContext(), getToken(), Insert(), m_xAvailDBTLB, m_xUsedDBTLB, nCount, pSh, SwDBData::sCommand, SwDBData::sDataSource, TreeSelect(), and u.
Referenced by SwChangeDBDlg().
|
private |
Definition at line 111 of file changedb.cxx.
References DB_DELIM, m_xUsedDBTLB, and u.
Referenced by FillDBPopup().
|
overridevirtual |
Definition at line 162 of file changedb.cxx.
References RET_OK, and UpdateFields().
Definition at line 236 of file changedb.cxx.
References m_xDocDBNameFT, SwDBData::sCommand, SwDBData::sDataSource, sName, and SwResId().
Referenced by SwChangeDBDlg().
|
private |
Definition at line 222 of file changedb.cxx.
References m_xAvailDBTLB, and m_xDefineBT.
Referenced by FillDBPopup(), and SwChangeDBDlg().
|
private |
Definition at line 170 of file changedb.cxx.
References SwEditShell::ChangeDBFields(), DB_DELIM, SwEditShell::EndAllAction(), m_xAvailDBTLB, m_xUsedDBTLB, pSh, and SwEditShell::StartAllAction().
Referenced by run().
|
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().
|
private |
Definition at line 33 of file changedb.hxx.
Referenced by FillDBPopup(), SwChangeDBDlg(), and UpdateFields().