22 #if !defined(VCL_DLLIMPLEMENTATION) && !defined(TOOLKIT_DLLIMPLEMENTATION) && !defined(VCL_INTERNALS)
23 #error "don't use this in new code"
135 void EnableInvalidate(
bool bEnable );
151 {
return Insert(pEntry, pRootItem.get(), nRootPos ); }
189 { aCloneLink=rLink; }
192 {
return aCloneLink; }
222 virtual void ModelNotification(
230 {
return pModel->GetVisibleCount( const_cast<SvListView*>(
this) ); }
233 {
return pModel->FirstVisible(); }
236 {
return pModel->NextVisible(
this,pEntry); }
239 {
return pModel->PrevVisible(
this,pEntry); }
242 {
return pModel->LastVisible(
this); }
245 {
return pModel->NextVisible(
this,pEntry,rDelta); }
248 {
return pModel->PrevVisible(
this,pEntry,rDelta); }
250 sal_uInt32 GetSelectionCount()
const;
253 {
return pModel->FirstSelected(
this); }
256 {
return pModel->NextSelected(
this,pEntry); }
259 {
return pModel->GetEntryAtAbsPos(nAbsPos); }
262 {
return pModel->GetEntryAtVisPos(
this,nVisPos); }
265 {
return pModel->GetAbsPos(pEntry); }
268 {
return pModel->GetVisiblePos(
this,pEntry); }
271 {
return pModel->GetVisibleChildCount(
this,pParent); }
274 {
return pModel->IsEntryVisible(
this,pEntry); }
282 bool HasViewData()
const;
286 virtual void ModelHasCleared();
SvTreeListEntry * NextVisible(SvTreeListEntry *pEntry) const
SvTreeListEntry * NextSelected(SvTreeListEntry *pEntry) const
SvTreeListEntry * NextVisible(SvTreeListEntry *pEntry, sal_uInt16 &rDelta) const
size_t GetAbsPos(const weld::TreeView &rTreeView, const weld::TreeIter &rIter)
bool IsEntryVisible(SvTreeListEntry *pEntry) const
std::unique_ptr< Impl > m_pImpl
SvTreeListEntry * PrevVisible(SvTreeListEntry *pEntry) const
sal_uInt32 GetAbsPos(SvTreeListEntry const *pEntry) const
void SetSortMode(SvSortMode eMode)
View-dependent data for a tree list entry created in the virtual function SvTreeListBox::CreateViewDa...
std::unique_ptr< SvTreeListEntry > pRootItem
SvTreeListEntry * PrevVisible(SvTreeListEntry *pEntry, sal_uInt16 &rDelta) const
void SetCompareHdl(const Link< const SvSortData &, sal_Int32 > &rLink)
void SetCloneLink(const Link< SvTreeListEntry *, SvTreeListEntry * > &rLink)
bool IsEnableInvalidate() const
SvTreeListEntry * FirstSelected() const
sal_uInt32 Insert(SvTreeListEntry *pEntry, sal_uInt32 nRootPos=TREELIST_APPEND)
sal_uInt32 GetVisiblePos(SvTreeListEntry const *pEntry) const
Link< const SvSortData &, sal_Int32 > aCompareLink
const Link< SvTreeListEntry *, SvTreeListEntry * > & GetCloneLink() const
SvTreeListEntry * GetEntryAtAbsPos(sal_uInt32 nAbsPos) const
sal_uInt32 GetVisibleChildCount(SvTreeListEntry *pParent) const
sal_uInt32 GetVisibleCount() const
Reference< XAnimationNode > Clone(const Reference< XAnimationNode > &xSourceNode, const SdPage *pSource, const SdPage *pTarget)
sal_uInt32 GetEntryCount() const
SvTreeListEntry * FirstVisible() const
std::unique_ptr< SvTreeList > pModel
void Clear(EHistoryType eHistory)
const SvTreeListEntry * pRight
SvTreeListEntry * LastVisible() const
SvTreeListEntry * FirstVisible() const
SvSortMode GetSortMode() const
SvListView & mrOwnerListView
Link< SvTreeListEntry *, SvTreeListEntry * > aCloneLink
virtual void Insert(SotClipboardFormatId nFormat, const OUString &rFormatName) override
SvTreeListEntry * GetEntryAtVisPos(sal_uInt32 nVisPos) const
bool IsEntryVisible(const weld::TreeView &rTreeView, const weld::TreeIter &rIter)
std::vector< std::unique_ptr< SvTreeListEntry > > SvTreeListEntries
const SvTreeListEntry * pLeft