Lines Matching refs:_pEntry
64 SbaTableQueryBrowser::EntryType SbaTableQueryBrowser::getChildType( SvLBoxEntry* _pEntry ) const in getChildType()
66 DBG_ASSERT(isContainer(_pEntry), "SbaTableQueryBrowser::getChildType: invalid entry!"); in getChildType()
67 switch (getEntryType(_pEntry)) in getChildType()
80 String SbaTableQueryBrowser::GetEntryText( SvLBoxEntry* _pEntry ) const in GetEntryText()
82 return m_pTreeView->getListBox().GetEntryText(_pEntry); in GetEntryText()
86 SbaTableQueryBrowser::EntryType SbaTableQueryBrowser::getEntryType( SvLBoxEntry* _pEntry ) const in getEntryType()
88 if (!_pEntry) in getEntryType()
91 SvLBoxEntry* pRootEntry = m_pTreeView->getListBox().GetRootLevelParent(_pEntry); in getEntryType()
92 SvLBoxEntry* pEntryParent = m_pTreeView->getListBox().GetParent(_pEntry); in getEntryType()
102 if (pRootEntry == _pEntry) in getEntryType()
105 if (pTables == _pEntry) in getEntryType()
108 if (pQueries == _pEntry) in getEntryType()
116 DBTreeListUserData* pEntryData = static_cast<DBTreeListUserData*>(_pEntry->GetUserData()); in getEntryType()
132 void SbaTableQueryBrowser::select(SvLBoxEntry* _pEntry, sal_Bool _bSelect) in select() argument
134 SvLBoxItem* pTextItem = _pEntry ? _pEntry->GetFirstItem(SV_ITEM_ID_BOLDLBSTRING) : NULL; in select()
138 m_pTreeModel->InvalidateEntry(_pEntry); in select()
146 void SbaTableQueryBrowser::selectPath(SvLBoxEntry* _pEntry, sal_Bool _bSelect) in selectPath() argument
148 while (_pEntry) in selectPath()
150 select(_pEntry, _bSelect); in selectPath()
151 _pEntry = m_pTreeModel->GetParent(_pEntry); in selectPath()
155 sal_Bool SbaTableQueryBrowser::isSelected(SvLBoxEntry* _pEntry) const in isSelected()
157 SvLBoxItem* pTextItem = _pEntry ? _pEntry->GetFirstItem(SV_ITEM_ID_BOLDLBSTRING) : NULL; in isSelected()