LibreOffice Module vcl (master) 1
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | Friends | List of all members
SvListView Class Reference

#include <treelist.hxx>

Inheritance diagram for SvListView:
[legend]

Classes

struct  Impl
 

Public Member Functions

 SvListView ()
 
void dispose ()
 
virtual ~SvListView ()
 
void Clear ()
 
virtual void ModelNotification (SvListAction nActionId, SvTreeListEntry *pEntry1, SvTreeListEntry *pEntry2, sal_uInt32 nPos)
 
sal_uInt32 GetVisibleCount () const
 
SvTreeListEntryFirstVisible () const
 
SvTreeListEntryNextVisible (SvTreeListEntry *pEntry) const
 
SvTreeListEntryPrevVisible (SvTreeListEntry *pEntry) const
 
SvTreeListEntryLastVisible () const
 
SvTreeListEntryNextVisible (SvTreeListEntry *pEntry, sal_uInt16 &rDelta) const
 
SvTreeListEntryPrevVisible (SvTreeListEntry *pEntry, sal_uInt16 &rDelta) const
 
sal_uInt32 GetSelectionCount () const
 
SvTreeListEntryFirstSelected () const
 
SvTreeListEntryNextSelected (SvTreeListEntry *pEntry) const
 
SvTreeListEntryGetEntryAtAbsPos (sal_uInt32 nAbsPos) const
 
SvTreeListEntryGetEntryAtVisPos (sal_uInt32 nVisPos) const
 
sal_uInt32 GetAbsPos (SvTreeListEntry const *pEntry) const
 
sal_uInt32 GetVisiblePos (SvTreeListEntry const *pEntry) const
 
sal_uInt32 GetVisibleChildCount (SvTreeListEntry *pParent) const
 
bool IsEntryVisible (SvTreeListEntry *pEntry) const
 
bool IsExpanded (SvTreeListEntry *pEntry) const
 
bool IsAllExpanded (SvTreeListEntry *pEntry) const
 
bool IsSelected (const SvTreeListEntry *pEntry) const
 
void SetEntryFocus (SvTreeListEntry *pEntry, bool bFocus)
 
const SvViewDataEntryGetViewData (const SvTreeListEntry *pEntry) const
 
SvViewDataEntryGetViewData (SvTreeListEntry *pEntry)
 
bool HasViewData () const
 
virtual void InitViewData (SvViewDataEntry *, SvTreeListEntry *pEntry)
 
virtual void ModelHasCleared ()
 
virtual void ModelHasInserted (SvTreeListEntry *pEntry)
 
virtual void ModelHasInsertedTree (SvTreeListEntry *pEntry)
 
virtual void ModelIsMoving (SvTreeListEntry *pSource)
 
virtual void ModelHasMoved (SvTreeListEntry *pSource)
 
virtual void ModelIsRemoving (SvTreeListEntry *pEntry)
 
virtual void ModelHasRemoved (SvTreeListEntry *pEntry)
 
virtual void ModelHasEntryInvalidated (SvTreeListEntry *pEntry)
 

Protected Member Functions

void ExpandListEntry (SvTreeListEntry *pParent)
 
void CollapseListEntry (SvTreeListEntry *pParent)
 
bool SelectListEntry (SvTreeListEntry *pEntry, bool bSelect)
 

Protected Attributes

std::unique_ptr< SvTreeListpModel
 

Private Attributes

struct SAL_DLLPRIVATE Impl
 
std::unique_ptr< Implm_pImpl
 

Friends

class SvTreeList
 

Detailed Description

Definition at line 203 of file treelist.hxx.

Constructor & Destructor Documentation

◆ SvListView()

SvListView::SvListView ( )

Definition at line 1029 of file treelist.cxx.

References m_pImpl, m_pImpl, pModel, and SvTreeList.

◆ ~SvListView()

SvListView::~SvListView ( )
virtual

Definition at line 1041 of file treelist.cxx.

References m_pImpl.

Member Function Documentation

◆ Clear()

void SvListView::Clear ( )

Definition at line 1086 of file treelist.cxx.

References m_pImpl, and pModel.

◆ CollapseListEntry()

void SvListView::CollapseListEntry ( SvTreeListEntry pParent)
protected

◆ dispose()

void SvListView::dispose ( void  )

Definition at line 1036 of file treelist.cxx.

References pModel.

Referenced by SvTreeListBox::dispose().

◆ ExpandListEntry()

void SvListView::ExpandListEntry ( SvTreeListEntry pParent)
protected

◆ FirstSelected()

SvTreeListEntry * SvListView::FirstSelected ( ) const
inline

◆ FirstVisible()

SvTreeListEntry * SvListView::FirstVisible ( ) const
inline

◆ GetAbsPos()

sal_uInt32 SvListView::GetAbsPos ( SvTreeListEntry const *  pEntry) const
inline

◆ GetEntryAtAbsPos()

SvTreeListEntry * SvListView::GetEntryAtAbsPos ( sal_uInt32  nAbsPos) const
inline

◆ GetEntryAtVisPos()

SvTreeListEntry * SvListView::GetEntryAtVisPos ( sal_uInt32  nVisPos) const
inline

Definition at line 261 of file treelist.hxx.

Referenced by SvImpLBox::FillView().

◆ GetSelectionCount()

sal_uInt32 SvListView::GetSelectionCount ( ) const

◆ GetViewData() [1/2]

const SvViewDataEntry * SvListView::GetViewData ( const SvTreeListEntry pEntry) const

◆ GetViewData() [2/2]

SvViewDataEntry * SvListView::GetViewData ( SvTreeListEntry pEntry)

Definition at line 1353 of file treelist.cxx.

References m_pImpl.

◆ GetVisibleChildCount()

sal_uInt32 SvListView::GetVisibleChildCount ( SvTreeListEntry pParent) const
inline

Definition at line 270 of file treelist.hxx.

Referenced by TreeListEntryUIObject::get_state().

◆ GetVisibleCount()

sal_uInt32 SvListView::GetVisibleCount ( ) const
inline

◆ GetVisiblePos()

sal_uInt32 SvListView::GetVisiblePos ( SvTreeListEntry const *  pEntry) const
inline

◆ HasViewData()

bool SvListView::HasViewData ( ) const

Definition at line 1049 of file treelist.cxx.

References m_pImpl.

Referenced by SvTreeList::GetVisibleCount(), and SvImpLBox::SetEntryHeight().

◆ InitViewData()

void SvListView::InitViewData ( SvViewDataEntry ,
SvTreeListEntry pEntry 
)
virtual

Reimplemented in SvTreeListBox.

Definition at line 1296 of file treelist.cxx.

Referenced by SvListView::Impl::InitTable().

◆ IsAllExpanded()

bool SvListView::IsAllExpanded ( SvTreeListEntry pEntry) const

◆ IsEntryVisible()

bool SvListView::IsEntryVisible ( SvTreeListEntry pEntry) const
inline

◆ IsExpanded()

bool SvListView::IsExpanded ( SvTreeListEntry pEntry) const

◆ IsSelected()

bool SvListView::IsSelected ( const SvTreeListEntry pEntry) const

◆ LastVisible()

SvTreeListEntry * SvListView::LastVisible ( ) const
inline

◆ ModelHasCleared()

void SvListView::ModelHasCleared ( )
virtual

Reimplemented in SvTreeListBox, and LclTabListBox.

Definition at line 1102 of file treelist.cxx.

Referenced by SvTreeListBox::ModelHasCleared(), and ModelNotification().

◆ ModelHasEntryInvalidated()

void SvListView::ModelHasEntryInvalidated ( SvTreeListEntry pEntry)
virtual

Reimplemented in SvTreeListBox.

Definition at line 1134 of file treelist.cxx.

Referenced by ModelNotification().

◆ ModelHasInserted()

void SvListView::ModelHasInserted ( SvTreeListEntry pEntry)
virtual

Reimplemented in SvTreeListBox, and LclTabListBox.

Definition at line 1106 of file treelist.cxx.

Referenced by ModelNotification().

◆ ModelHasInsertedTree()

void SvListView::ModelHasInsertedTree ( SvTreeListEntry pEntry)
virtual

Reimplemented in SvTreeListBox, and LclTabListBox.

Definition at line 1110 of file treelist.cxx.

Referenced by ModelNotification().

◆ ModelHasMoved()

void SvListView::ModelHasMoved ( SvTreeListEntry pSource)
virtual

Reimplemented in SvTreeListBox, and LclTabListBox.

Definition at line 1119 of file treelist.cxx.

Referenced by ModelNotification().

◆ ModelHasRemoved()

void SvListView::ModelHasRemoved ( SvTreeListEntry pEntry)
virtual

Reimplemented in SvTreeListBox, and LclTabListBox.

Definition at line 1127 of file treelist.cxx.

Referenced by ModelNotification().

◆ ModelIsMoving()

void SvListView::ModelIsMoving ( SvTreeListEntry pSource)
virtual

Reimplemented in SvTreeListBox.

Definition at line 1114 of file treelist.cxx.

Referenced by ModelNotification().

◆ ModelIsRemoving()

void SvListView::ModelIsRemoving ( SvTreeListEntry pEntry)
virtual

Reimplemented in SvTreeListBox.

Definition at line 1123 of file treelist.cxx.

Referenced by ModelNotification().

◆ ModelNotification()

void SvListView::ModelNotification ( SvListAction  nActionId,
SvTreeListEntry pEntry1,
SvTreeListEntry pEntry2,
sal_uInt32  nPos 
)
virtual

◆ NextSelected()

SvTreeListEntry * SvListView::NextSelected ( SvTreeListEntry pEntry) const
inline

◆ NextVisible() [1/2]

SvTreeListEntry * SvListView::NextVisible ( SvTreeListEntry pEntry) const
inline

◆ NextVisible() [2/2]

SvTreeListEntry * SvListView::NextVisible ( SvTreeListEntry pEntry,
sal_uInt16 &  rDelta 
) const
inline

Definition at line 244 of file treelist.hxx.

◆ PrevVisible() [1/2]

SvTreeListEntry * SvListView::PrevVisible ( SvTreeListEntry pEntry) const
inline

◆ PrevVisible() [2/2]

SvTreeListEntry * SvListView::PrevVisible ( SvTreeListEntry pEntry,
sal_uInt16 &  rDelta 
) const
inline

Definition at line 247 of file treelist.hxx.

◆ SelectListEntry()

bool SvListView::SelectListEntry ( SvTreeListEntry pEntry,
bool  bSelect 
)
protected

◆ SetEntryFocus()

void SvListView::SetEntryFocus ( SvTreeListEntry pEntry,
bool  bFocus 
)

Friends And Related Function Documentation

◆ SvTreeList

friend class SvTreeList
friend

Definition at line 205 of file treelist.hxx.

Referenced by SvListView().

Member Data Documentation

◆ Impl

struct SAL_DLLPRIVATE SvListView::Impl
private

Definition at line 207 of file treelist.hxx.

◆ m_pImpl

std::unique_ptr<Impl> SvListView::m_pImpl
private

◆ pModel

std::unique_ptr<SvTreeList> SvListView::pModel
protected

The documentation for this class was generated from the following files: