LibreOffice Module vcl (master) 1
|
#include <treelist.hxx>
Classes | |
struct | Impl |
Protected Member Functions | |
void | ExpandListEntry (SvTreeListEntry *pParent) |
void | CollapseListEntry (SvTreeListEntry *pParent) |
bool | SelectListEntry (SvTreeListEntry *pEntry, bool bSelect) |
Protected Attributes | |
std::unique_ptr< SvTreeList > | pModel |
Private Attributes | |
struct SAL_DLLPRIVATE | Impl |
std::unique_ptr< Impl > | m_pImpl |
Friends | |
class | SvTreeList |
Definition at line 202 of file treelist.hxx.
SvListView::SvListView | ( | ) |
Definition at line 1012 of file treelist.cxx.
References m_pImpl, m_pImpl, pModel, and SvTreeList.
|
virtual |
Definition at line 1024 of file treelist.cxx.
References m_pImpl.
void SvListView::Clear | ( | ) |
Definition at line 1069 of file treelist.cxx.
|
protected |
Definition at line 865 of file treelist.cxx.
References DBG_ASSERT, GetViewData(), IsExpanded(), SvTreeListEntry::m_Children, m_pImpl, SvTreeListEntry::pParent, and SvViewDataEntry::SetExpanded().
Referenced by SvTreeListBox::Collapse().
void SvListView::dispose | ( | void | ) |
Definition at line 1019 of file treelist.cxx.
References pModel.
Referenced by SvTreeListBox::dispose().
|
protected |
Definition at line 846 of file treelist.cxx.
References DBG_ASSERT, GetViewData(), IsExpanded(), SvTreeListEntry::m_Children, m_pImpl, SvTreeListEntry::pParent, and SvViewDataEntry::SetExpanded().
Referenced by SvTreeListBox::Expand().
|
inline |
Definition at line 251 of file treelist.hxx.
Referenced by SvTreeListBox::CopySelection(), SvTreeListBox::CurrentEntry(), SvTreeListBox::EnableSelectionAsDropTarget(), SvImpLBox::EntryRemoved(), SalInstanceTreeView::get_selected(), SalInstanceTreeView::get_selected_id(), SalInstanceTreeView::get_selected_index(), SalInstanceTreeView::get_selected_rows(), SalInstanceTreeView::get_selected_text(), TreeListUIObject::get_state(), IconViewUIObject::get_state(), SvHeaderTabListBox::GetAllSelectedRows(), SvImpLBox::GetFocus(), SvTreeListBox::GetFocus(), SvImpLBox::LoseFocus(), SvImpLBox::MouseButtonDown(), SvTreeListBox::MoveSelectionCopyFallbackPossible(), SalInstanceTreeView::remove_selection(), SvTreeListBox::RemoveSelection(), and SalInstanceTreeView::selected_foreach().
|
inline |
Definition at line 231 of file treelist.hxx.
Referenced by SvImpLBox::FindMostRight(), and IconViewImpl::IterateVisibleEntryAreas().
|
inline |
Definition at line 263 of file treelist.hxx.
Referenced by SvImpLBox::ScrollToAbsPos(), and SalInstanceTreeView::vadjustment_get_value().
|
inline |
Definition at line 257 of file treelist.hxx.
Referenced by SalInstanceTreeView::get_iter_abs_pos(), and SvImpLBox::ScrollToAbsPos().
|
inline |
Definition at line 260 of file treelist.hxx.
Referenced by SvImpLBox::FillView().
sal_uInt32 SvListView::GetSelectionCount | ( | ) | const |
Definition at line 1029 of file treelist.cxx.
References m_pImpl.
Referenced by SalInstanceTreeView::count_selected_rows(), SvTreeListBox::EditedText(), SvImpLBox::EntryRemoved(), SvImpLBox::EntrySelected(), SalInstanceTreeView::get_selected_rows(), TreeListUIObject::get_state(), SvHeaderTabListBox::GetSelectedRowCount(), SvImpLBox::SelAllDestrAnch(), and SvTreeListBox::StartDrag().
const SvViewDataEntry * SvListView::GetViewData | ( | const SvTreeListEntry * | pEntry | ) | const |
Definition at line 1327 of file treelist.cxx.
References m_pImpl.
Referenced by CollapseListEntry(), ExpandListEntry(), SvTreeListBox::GetViewDataEntry(), SvTreeListBox::GetViewDataItem(), SvTreeList::GetVisibleCount(), SvTreeList::GetVisiblePos(), SvImpLBox::MouseButtonDown(), SvImpLBox::PaintDDCursor(), and SelectListEntry().
SvViewDataEntry * SvListView::GetViewData | ( | SvTreeListEntry * | pEntry | ) |
Definition at line 1336 of file treelist.cxx.
References m_pImpl.
|
inline |
Definition at line 269 of file treelist.hxx.
Referenced by TreeListEntryUIObject::get_state().
|
inline |
Definition at line 228 of file treelist.hxx.
Referenced by SvImpLBox::AdjustScrollBars(), SvImpLBox::DrawNet(), SvImpLBox::EntryCollapsed(), SvImpLBox::EntryExpanded(), SvImpLBox::EntryInserted(), SvImpLBox::EntryMoved(), SvImpLBox::EntryRemoved(), SvImpLBox::FillView(), TreeListUIObject::get_state(), SvImpLBox::Paint(), IconViewImpl::Paint(), SvImpLBox::ScrollToAbsPos(), SvImpLBox::ShowVerSBar(), and SvImpLBox::UpdateAll().
|
inline |
Definition at line 266 of file treelist.hxx.
Referenced by SvImpLBox::DrawNet(), SvImpLBox::EntryInserted(), SvImpLBox::EntryRemoved(), SvImpLBox::FillView(), SvImpLBox::GetEntryLine(), SvImpLBox::MakeVisible(), SvImpLBox::RemovingEntry(), SvImpLBox::SetAnchorSelection(), and SvImpLBox::SyncVerThumb().
bool SvListView::HasViewData | ( | ) | const |
Definition at line 1032 of file treelist.cxx.
References m_pImpl.
Referenced by SvTreeList::GetVisibleCount(), and SvImpLBox::SetEntryHeight().
|
virtual |
Reimplemented in SvTreeListBox.
Definition at line 1279 of file treelist.cxx.
Referenced by SvListView::Impl::InitTable().
bool SvListView::IsAllExpanded | ( | SvTreeListEntry * | pEntry | ) | const |
Definition at line 1293 of file treelist.cxx.
References DBG_ASSERT, SvTreeListEntry::GetChildEntries(), IsAllExpanded(), and IsExpanded().
Referenced by IsAllExpanded(), and SvImpLBox::KeyInput().
|
inline |
Definition at line 272 of file treelist.hxx.
Referenced by SvImpLBox::CollapsingEntry(), SvImpLBox::EntryCollapsed(), SvImpLBox::EntryInserted(), SvImpLBox::EntryMoved(), SvImpLBox::EntrySelected(), SvTreeListBox::FillAccessibleEntryStateSet(), SvImpLBox::IsEntryInView(), IconViewImpl::IsEntryInView(), SvImpLBox::MakeVisible(), SvImpLBox::RemovingEntry(), SvImpLBox::ScrollToAbsPos(), and SvImpLBox::SelAllDestrAnch().
bool SvListView::IsExpanded | ( | SvTreeListEntry * | pEntry | ) | const |
Definition at line 1283 of file treelist.cxx.
References DBG_ASSERT, and m_pImpl.
Referenced by SvImpLBox::ButtonDownCheckExpand(), SalInstanceTreeView::collapse_row(), CollapseListEntry(), SvImpLBox::CollapseTo(), SvImpLBox::DrawNet(), SalInstanceTreeView::expand_row(), SvImpLBox::ExpandAll(), ExpandListEntry(), SvTreeListBox::FillAccessibleEntryStateSet(), SvImpLBox::FindMostRight_Impl(), SalInstanceTreeView::get_row_expanded(), SvTabListBox::GetTab(), SvTreeList::GetVisibleChildCount(), IsAllExpanded(), SvTreeList::IsEntryVisible(), SvImpLBox::KeyInput(), SvImpLBox::MakeVisible(), SvImpLBox::MouseButtonDown(), SvTreeListBox::NextEntry(), SvTreeList::NextVisible(), SvTreeListBox::PaintEntry1(), SvTreeList::PrevVisible(), and SvImpLBox::RemovingEntry().
bool SvListView::IsSelected | ( | const SvTreeListEntry * | pEntry | ) | const |
Definition at line 1310 of file treelist.cxx.
References DBG_ASSERT, and m_pImpl.
Referenced by IconView::DumpEntryAndSiblings(), SvTreeListBox::EditItemText(), SvImpLBox::EntryRemoved(), SvTreeListBox::FillAccessibleEntryStateSet(), SvTreeList::FirstSelected(), TreeListEntryUIObject::get_state(), SvTreeList::GetChildSelectionCount(), SalInstanceTreeView::is_selected(), SvHeaderTabListBox::IsRowSelected(), ImpLBSelEng::IsSelectionAtPoint(), SvImpLBox::KeyInput(), lcl_DumpEntryAndSiblings(), SvImpLBox::MouseButtonDown(), SvImpLBox::MouseMove(), SvTreeList::NextSelected(), SvImpLBox::SelAllDestrAnch(), and SvTreeListBox::Select().
|
inline |
Definition at line 240 of file treelist.hxx.
Referenced by SvImpLBox::EntryInserted(), SvImpLBox::FillView(), and SvTreeListBox::GetDropTarget().
|
virtual |
Reimplemented in SvTreeListBox, and LclTabListBox.
Definition at line 1085 of file treelist.cxx.
Referenced by SvTreeListBox::ModelHasCleared(), and ModelNotification().
|
virtual |
Reimplemented in SvTreeListBox.
Definition at line 1117 of file treelist.cxx.
Referenced by ModelNotification().
|
virtual |
Reimplemented in SvTreeListBox, and LclTabListBox.
Definition at line 1089 of file treelist.cxx.
Referenced by ModelNotification().
|
virtual |
Reimplemented in SvTreeListBox, and LclTabListBox.
Definition at line 1093 of file treelist.cxx.
Referenced by ModelNotification().
|
virtual |
Reimplemented in SvTreeListBox, and LclTabListBox.
Definition at line 1102 of file treelist.cxx.
Referenced by ModelNotification().
|
virtual |
Reimplemented in SvTreeListBox, and LclTabListBox.
Definition at line 1110 of file treelist.cxx.
Referenced by ModelNotification().
|
virtual |
Reimplemented in SvTreeListBox.
Definition at line 1097 of file treelist.cxx.
Referenced by ModelNotification().
|
virtual |
Reimplemented in SvTreeListBox.
Definition at line 1106 of file treelist.cxx.
Referenced by ModelNotification().
|
virtual |
Reimplemented in SvTreeListBox.
Definition at line 1230 of file treelist.cxx.
References CLEARED, CLEARING, INSERTED, INSERTED_TREE, INVALIDATE_ENTRY, m_pImpl, ModelHasCleared(), ModelHasEntryInvalidated(), ModelHasInserted(), ModelHasInsertedTree(), ModelHasMoved(), ModelHasRemoved(), ModelIsMoving(), ModelIsRemoving(), MOVED, MOVING, REMOVED, REMOVING, RESORTED, and RESORTING.
Referenced by SvTreeList::Broadcast(), and SvTreeListBox::ModelNotification().
|
inline |
Definition at line 254 of file treelist.hxx.
Referenced by SvTreeListBox::EnableSelectionAsDropTarget(), SalInstanceTreeView::get_selected_rows(), SvHeaderTabListBox::GetAllSelectedRows(), SvImpLBox::GetFocus(), SvImpLBox::LoseFocus(), SvImpLBox::MouseButtonDown(), SvTreeListBox::MoveSelectionCopyFallbackPossible(), SalInstanceTreeView::remove_selection(), SvTreeListBox::RemoveSelection(), and SalInstanceTreeView::selected_foreach().
|
inline |
Definition at line 234 of file treelist.hxx.
Referenced by SvImpLBox::CursorDown(), SvImpLBox::DrawNet(), SvImpLBox::EntryCollapsed(), SvImpLBox::EntryRemoved(), SvImpLBox::FindMostRight(), SvImpLBox::GetClickedEntry(), SvImpLBox::GetEntry(), SvTreeListBox::GetNextEntryInView(), IconViewImpl::GoToPrevRow(), IconViewImpl::IterateVisibleEntryAreas(), SvImpLBox::KeyInput(), IconViewImpl::KeyInput(), SvImpLBox::MakePointVisible(), SvImpLBox::MovingEntry(), SvImpLBox::PageDown(), SvImpLBox::Paint(), SvImpLBox::SetAnchorSelection(), and SvImpLBox::SetCursor().
|
inline |
Definition at line 243 of file treelist.hxx.
|
inline |
Definition at line 237 of file treelist.hxx.
Referenced by SvImpLBox::CursorUp(), SvImpLBox::EntryRemoved(), SvImpLBox::FillView(), SvImpLBox::KeyInput(), IconViewImpl::KeyInput(), SvImpLBox::MakePointVisible(), SvImpLBox::MovingEntry(), SvImpLBox::PageUp(), and SvImpLBox::RemovingEntry().
|
inline |
Definition at line 246 of file treelist.hxx.
|
protected |
Definition at line 884 of file treelist.cxx.
References DBG_ASSERT, GetViewData(), SvViewDataEntry::IsSelectable(), SvViewDataEntry::IsSelected(), m_pImpl, and SvViewDataEntry::SetSelected().
Referenced by SvTreeListBox::EditItemText(), and SvTreeListBox::Select().
void SvListView::SetEntryFocus | ( | SvTreeListEntry * | pEntry, |
bool | bFocus | ||
) |
Definition at line 1319 of file treelist.cxx.
References DBG_ASSERT, and m_pImpl.
Referenced by SvImpLBox::GetFocus(), SvImpLBox::LoseFocus(), SvImpLBox::MakePointVisible(), and SvImpLBox::SetCursor().
|
friend |
Definition at line 204 of file treelist.hxx.
Referenced by SvListView().
|
private |
Definition at line 206 of file treelist.hxx.
|
private |
Definition at line 207 of file treelist.hxx.
Referenced by Clear(), CollapseListEntry(), ExpandListEntry(), GetSelectionCount(), GetViewData(), SvTreeList::GetVisibleCount(), SvTreeList::GetVisiblePos(), HasViewData(), IsExpanded(), IsSelected(), ModelNotification(), SvTreeList::NextVisible(), SelectListEntry(), SetEntryFocus(), SvListView(), and ~SvListView().
|
protected |
Definition at line 210 of file treelist.hxx.
Referenced by Clear(), SvTreeListBox::Clear(), SvTreeListBox::CopySelection(), dispose(), SvTreeListBox::EditedText(), SvTreeListBox::EnableSelectionAsDropTarget(), SvTreeListBox::FirstChild(), SvTreeListBox::GetChildCount(), SvTreeListBox::GetEntry(), SvTreeListBox::GetParent(), SvTreeListBox::GetTabPos(), SvTreeListBox::ImpEntryInserted(), SvListView::Impl::InitTable(), SvTreeListBox::Insert(), SvTreeListBox::ModelHasInsertedTree(), SvTreeListBox::ModelNotification(), SvTreeListBox::MoveSelectionCopyFallbackPossible(), SvTreeListBox::PaintEntry1(), SvTreeListBox::RemoveEntry(), SvTreeListBox::RemoveSelection(), SvTreeListBox::SelectChildren(), SvImpLBox::SetModel(), SvListView(), SvTreeListBox::SvTreeListBox(), SvImpLBox::UpdateContextBmpWidthMax(), and SvImpLBox::UpdateContextBmpWidthVector().