LibreOffice Module sw (master) 1
|
#include <dbtree.hxx>
Public Member Functions | |
SwDBTreeList (std::unique_ptr< weld::TreeView > xTreeView) | |
~SwDBTreeList () | |
OUString | GetDBName (OUString &rTableName, OUString &rColumnName, sal_Bool *pbIsTable=nullptr) |
void | Select (std::u16string_view rDBName, std::u16string_view rTableName, std::u16string_view rColumnName) |
void | ShowColumns (bool bShowCol) |
void | SetWrtShell (SwWrtShell &rSh) |
void | AddDataSource (const OUString &rSource) |
void | connect_changed (const Link< weld::TreeView &, void > &rLink) |
void | connect_row_activated (const Link< weld::TreeView &, bool > &rLink) |
std::unique_ptr< weld::TreeIter > | make_iterator (const weld::TreeIter *pOrig=nullptr) const |
bool | get_selected (weld::TreeIter *pIter) const |
bool | iter_parent (weld::TreeIter &rIter) const |
int | get_iter_depth (const weld::TreeIter &rIter) const |
void | set_size_request (int nWidth, int nHeight) |
Private Member Functions | |
DECL_DLLPRIVATE_LINK (RequestingChildrenHdl, const weld::TreeIter &, bool) | |
SAL_DLLPRIVATE void | InitTreeList () |
Private Attributes | |
bool | m_bInitialized |
bool | m_bShowColumns |
rtl::Reference< SwDBTreeList_Impl > | m_pImpl |
std::unique_ptr< weld::TreeView > | m_xTreeView |
std::unique_ptr< weld::TreeIter > | m_xScratchIter |
Definition at line 30 of file dbtree.hxx.
SwDBTreeList::SwDBTreeList | ( | std::unique_ptr< weld::TreeView > | xTreeView | ) |
Definition at line 130 of file dbtree.cxx.
References LINK, m_pImpl, and m_xTreeView.
SwDBTreeList::~SwDBTreeList | ( | ) |
Definition at line 140 of file dbtree.cxx.
void SwDBTreeList::AddDataSource | ( | const OUString & | rSource | ) |
Definition at line 176 of file dbtree.cxx.
References m_xScratchIter, and m_xTreeView.
|
inline |
Definition at line 57 of file dbtree.hxx.
|
inline |
Definition at line 58 of file dbtree.hxx.
|
private |
References Select.
|
inline |
Definition at line 62 of file dbtree.hxx.
|
inline |
Definition at line 60 of file dbtree.hxx.
OUString SwDBTreeList::GetDBName | ( | OUString & | rTableName, |
OUString & | rColumnName, | ||
sal_Bool * | pbIsTable = nullptr |
||
) |
|
private |
Definition at line 144 of file dbtree.cxx.
References begin, end, SwDBManager::getDataSourceAsParent(), getLocale(), comphelper::getProcessComponentContext(), Application::GetSettings(), m_bInitialized, m_pImpl, m_xScratchIter, m_xTreeView, Select(), u, x, and y.
Referenced by SetWrtShell().
|
inline |
Definition at line 61 of file dbtree.hxx.
|
inline |
Definition at line 59 of file dbtree.hxx.
void SwDBTreeList::Select | ( | std::u16string_view | rDBName, |
std::u16string_view | rTableName, | ||
std::u16string_view | rColumnName | ||
) |
Definition at line 327 of file dbtree.cxx.
References m_bShowColumns, and m_xTreeView.
Referenced by InitTreeList(), and ShowColumns().
Definition at line 63 of file dbtree.hxx.
void SwDBTreeList::SetWrtShell | ( | SwWrtShell & | rSh | ) |
Definition at line 401 of file dbtree.cxx.
References InitTreeList(), m_bInitialized, m_pImpl, and m_xTreeView.
void SwDBTreeList::ShowColumns | ( | bool | bShowCol | ) |
Definition at line 417 of file dbtree.cxx.
References GetDBName(), m_bShowColumns, m_xTreeView, and Select().
|
private |
Definition at line 32 of file dbtree.hxx.
Referenced by InitTreeList(), and SetWrtShell().
|
private |
Definition at line 33 of file dbtree.hxx.
Referenced by Select(), and ShowColumns().
|
private |
Definition at line 35 of file dbtree.hxx.
Referenced by InitTreeList(), and SetWrtShell().
|
private |
Definition at line 37 of file dbtree.hxx.
Referenced by AddDataSource(), and InitTreeList().
|
private |
Definition at line 36 of file dbtree.hxx.
Referenced by AddDataSource(), GetDBName(), InitTreeList(), Select(), SetWrtShell(), ShowColumns(), and SwDBTreeList().