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_uLong nPos)
 
sal_uLong GetVisibleCount () const
 
SvTreeListEntryFirstVisible () const
 
SvTreeListEntryNextVisible (SvTreeListEntry *pEntry, sal_uInt16 *pDepth=nullptr) const
 
SvTreeListEntryPrevVisible (SvTreeListEntry *pEntry) const
 
SvTreeListEntryLastVisible () const
 
SvTreeListEntryNextVisible (SvTreeListEntry *pEntry, sal_uInt16 &rDelta) const
 
SvTreeListEntryPrevVisible (SvTreeListEntry *pEntry, sal_uInt16 &rDelta) const
 
sal_uLong GetSelectionCount () const
 
SvTreeListEntryFirstSelected () const
 
SvTreeListEntryNextSelected (SvTreeListEntry *pEntry) const
 
SvTreeListEntryPrevSelected (SvTreeListEntry *pEntry) const
 
SvTreeListEntryLastSelected () const
 
SvTreeListEntryGetEntryAtAbsPos (sal_uLong nAbsPos) const
 
SvTreeListEntryGetEntryAtVisPos (sal_uLong nVisPos) const
 
sal_uLong GetAbsPos (SvTreeListEntry const *pEntry) const
 
sal_uLong GetVisiblePos (SvTreeListEntry const *pEntry) const
 
sal_uLong GetVisibleChildCount (SvTreeListEntry *pParent) const
 
sal_uLong GetChildSelectionCount (SvTreeListEntry *pParent) const
 
bool IsEntryVisible (SvTreeListEntry *pEntry) const
 
bool IsExpanded (SvTreeListEntry *pEntry) const
 
bool IsSelected (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, SvTreeListEntry *pTargetParent, sal_uLong nPos)
 
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

std::unique_ptr< Implm_pImpl
 

Friends

class SvTreeList
 

Detailed Description

Definition at line 211 of file treelist.hxx.

Constructor & Destructor Documentation

SvListView::SvListView ( )

Definition at line 1075 of file treelist.cxx.

References m_pImpl, pModel, and SvTreeList.

SvListView::~SvListView ( )
virtual

Definition at line 1087 of file treelist.cxx.

References m_pImpl.

Member Function Documentation

void SvListView::Clear ( )

Definition at line 1132 of file treelist.cxx.

References m_pImpl, and pModel.

void SvListView::CollapseListEntry ( SvTreeListEntry pParent)
protected
void SvListView::dispose ( void  )

Definition at line 1082 of file treelist.cxx.

References pModel.

Referenced by SvTreeListBox::dispose().

void SvListView::ExpandListEntry ( SvTreeListEntry pParent)
protected
SvTreeListEntry* SvListView::FirstSelected ( ) const
inline
SvTreeListEntry* SvListView::FirstVisible ( ) const
inline

Definition at line 240 of file treelist.hxx.

Referenced by SvImpLBox::FindMostRight().

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

Definition at line 277 of file treelist.hxx.

Referenced by SvImpLBox::ScrollToAbsPos().

sal_uLong SvListView::GetChildSelectionCount ( SvTreeListEntry pParent) const
inline

Definition at line 286 of file treelist.hxx.

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

Definition at line 271 of file treelist.hxx.

Referenced by SvImpLBox::ScrollToAbsPos().

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

Definition at line 274 of file treelist.hxx.

Referenced by SvImpLBox::FillView().

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

Definition at line 1385 of file treelist.cxx.

References DBG_ASSERT, and m_pImpl.

sal_uLong SvListView::GetVisibleChildCount ( SvTreeListEntry pParent) const
inline

Definition at line 283 of file treelist.hxx.

Referenced by TreeListEntryUIObject::get_state().

sal_uLong SvListView::GetVisibleCount ( ) const
inline
sal_uLong SvListView::GetVisiblePos ( SvTreeListEntry const *  pEntry) const
inline
bool SvListView::HasViewData ( ) const

Definition at line 1095 of file treelist.cxx.

References m_pImpl.

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

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

Reimplemented in SvTreeListBox.

Definition at line 1345 of file treelist.cxx.

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

bool SvListView::IsEntryVisible ( SvTreeListEntry pEntry) const
inline
bool SvListView::IsExpanded ( SvTreeListEntry pEntry) const
bool SvListView::IsSelected ( SvTreeListEntry pEntry) const
SvTreeListEntry* SvListView::LastSelected ( ) const
inline

Definition at line 269 of file treelist.hxx.

SvTreeListEntry* SvListView::LastVisible ( ) const
inline
void SvListView::ModelHasCleared ( )
virtual

Reimplemented in SvTreeListBox, and LclTabListBox.

Definition at line 1148 of file treelist.cxx.

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

void SvListView::ModelHasEntryInvalidated ( SvTreeListEntry pEntry)
virtual

Reimplemented in SvTreeListBox.

Definition at line 1181 of file treelist.cxx.

Referenced by ModelNotification().

void SvListView::ModelHasInserted ( SvTreeListEntry pEntry)
virtual

Reimplemented in SvTreeListBox, and LclTabListBox.

Definition at line 1152 of file treelist.cxx.

Referenced by ModelNotification().

void SvListView::ModelHasInsertedTree ( SvTreeListEntry pEntry)
virtual

Reimplemented in SvTreeListBox, and LclTabListBox.

Definition at line 1156 of file treelist.cxx.

Referenced by ModelNotification().

void SvListView::ModelHasMoved ( SvTreeListEntry pSource)
virtual

Reimplemented in SvTreeListBox, and LclTabListBox.

Definition at line 1166 of file treelist.cxx.

Referenced by ModelNotification().

void SvListView::ModelHasRemoved ( SvTreeListEntry pEntry)
virtual

Reimplemented in SvTreeListBox, and LclTabListBox.

Definition at line 1174 of file treelist.cxx.

Referenced by ModelNotification().

void SvListView::ModelIsMoving ( SvTreeListEntry pSource,
SvTreeListEntry pTargetParent,
sal_uLong  nPos 
)
virtual

Reimplemented in SvTreeListBox.

Definition at line 1160 of file treelist.cxx.

Referenced by ModelNotification().

void SvListView::ModelIsRemoving ( SvTreeListEntry pEntry)
virtual

Reimplemented in SvTreeListBox.

Definition at line 1170 of file treelist.cxx.

Referenced by ModelNotification().

void SvListView::ModelNotification ( SvListAction  nActionId,
SvTreeListEntry pEntry1,
SvTreeListEntry pEntry2,
sal_uLong  nPos 
)
virtual
SvTreeListEntry* SvListView::NextSelected ( SvTreeListEntry pEntry) const
inline
SvTreeListEntry* SvListView::NextVisible ( SvTreeListEntry pEntry,
sal_uInt16 *  pDepth = nullptr 
) const
inline
SvTreeListEntry* SvListView::NextVisible ( SvTreeListEntry pEntry,
sal_uInt16 &  rDelta 
) const
inline

Definition at line 252 of file treelist.hxx.

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

Definition at line 266 of file treelist.hxx.

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

Definition at line 255 of file treelist.hxx.

bool SvListView::SelectListEntry ( SvTreeListEntry pEntry,
bool  bSelect 
)
protected
void SvListView::SetEntryFocus ( SvTreeListEntry pEntry,
bool  bFocus 
)

Friends And Related Function Documentation

friend class SvTreeList
friend

Definition at line 213 of file treelist.hxx.

Referenced by SvListView().

Member Data Documentation

std::unique_ptr<Impl> SvListView::m_pImpl
private
std::unique_ptr<SvTreeList> SvListView::pModel
protected

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