19#ifndef INCLUDED_SW_SOURCE_UIBASE_INC_DBTREE_HXX
20#define INCLUDED_SW_SOURCE_UIBASE_INC_DBTREE_HXX
40 SAL_DLLPRIVATE
void InitTreeList();
46 OUString GetDBName(OUString& rTableName, OUString& rColumnName,
sal_Bool* pbIsTable =
nullptr);
48 void Select( std::u16string_view rDBName, std::u16string_view rTableName,
49 std::u16string_view rColumnName );
51 void ShowColumns(
bool bShowCol);
55 void AddDataSource(
const OUString& rSource);
63 void set_size_request(
int nWidth,
int nHeight) { m_xTreeView->set_size_request(nWidth, nHeight); }
bool get_selected(weld::TreeIter *pIter) const
void connect_row_activated(const Link< weld::TreeView &, bool > &rLink)
void set_size_request(int nWidth, int nHeight)
rtl::Reference< SwDBTreeList_Impl > m_pImpl
bool iter_parent(weld::TreeIter &rIter) const
int get_iter_depth(const weld::TreeIter &rIter) const
std::unique_ptr< weld::TreeIter > m_xScratchIter
std::unique_ptr< weld::TreeView > m_xTreeView
void connect_changed(const Link< weld::TreeView &, void > &rLink)
DECL_DLLPRIVATE_LINK(RequestingChildrenHdl, const weld::TreeIter &, bool)
std::unique_ptr< weld::TreeIter > make_iterator(const weld::TreeIter *pOrig=nullptr) const
Used by the UI to modify the document model.