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 ); }
188 { aCloneLink=rLink; }
191 {
return aCloneLink; }
221 virtual void ModelNotification(
229 {
return pModel->GetVisibleCount(
const_cast<SvListView*
>(
this) ); }
232 {
return pModel->FirstVisible(); }
235 {
return pModel->NextVisible(
this,pEntry); }
238 {
return pModel->PrevVisible(
this,pEntry); }
241 {
return pModel->LastVisible(
this); }
244 {
return pModel->NextVisible(
this,pEntry,rDelta); }
247 {
return pModel->PrevVisible(
this,pEntry,rDelta); }
249 sal_uInt32 GetSelectionCount()
const;
252 {
return pModel->FirstSelected(
this); }
255 {
return pModel->NextSelected(
this,pEntry); }
258 {
return pModel->GetEntryAtAbsPos(nAbsPos); }
261 {
return pModel->GetEntryAtVisPos(
this,nVisPos); }
264 {
return pModel->GetAbsPos(pEntry); }
267 {
return pModel->GetVisiblePos(
this,pEntry); }
270 {
return pModel->GetVisibleChildCount(
this,pParent); }
273 {
return pModel->IsEntryVisible(
this,pEntry); }
281 bool HasViewData()
const;
285 virtual void ModelHasCleared();
sal_uInt32 GetVisiblePos(SvTreeListEntry const *pEntry) const
SvTreeListEntry * NextVisible(SvTreeListEntry *pEntry) const
SvTreeListEntry * GetEntryAtAbsPos(sal_uInt32 nAbsPos) const
SvTreeListEntry * FirstVisible() const
SvTreeListEntry * PrevVisible(SvTreeListEntry *pEntry, sal_uInt16 &rDelta) const
SvTreeListEntry * PrevVisible(SvTreeListEntry *pEntry) const
SvTreeListEntry * NextVisible(SvTreeListEntry *pEntry, sal_uInt16 &rDelta) const
std::unique_ptr< SvTreeList > pModel
sal_uInt32 GetVisibleCount() const
bool IsEntryVisible(SvTreeListEntry *pEntry) const
sal_uInt32 GetVisibleChildCount(SvTreeListEntry *pParent) const
SvTreeListEntry * NextSelected(SvTreeListEntry *pEntry) const
std::unique_ptr< Impl > m_pImpl
SvTreeListEntry * LastVisible() const
SvTreeListEntry * FirstSelected() const
sal_uInt32 GetAbsPos(SvTreeListEntry const *pEntry) const
SvTreeListEntry * GetEntryAtVisPos(sal_uInt32 nVisPos) const
sal_uInt32 Insert(SvTreeListEntry *pEntry, sal_uInt32 nRootPos=TREELIST_APPEND)
Link< SvTreeListEntry *, SvTreeListEntry * > aCloneLink
void SetSortMode(SvSortMode eMode)
sal_uInt32 GetEntryCount() const
SvListView & mrOwnerListView
std::unique_ptr< SvTreeListEntry > pRootItem
const Link< SvTreeListEntry *, SvTreeListEntry * > & GetCloneLink() const
Link< const SvSortData &, sal_Int32 > aCompareLink
SvTreeListEntry * FirstVisible() const
SvTreeList(const SvTreeList &)=delete
void SetCloneLink(const Link< SvTreeListEntry *, SvTreeListEntry * > &rLink)
SvSortMode GetSortMode() const
void SetCompareHdl(const Link< const SvSortData &, sal_Int32 > &rLink)
bool IsEnableInvalidate() const
View-dependent data for a tree list entry created in the virtual function SvTreeListBox::CreateViewDa...
virtual void Insert(SotClipboardFormatId nFormat, const OUString &rFormatName) override
void Clear(EHistoryType eHistory)
css::uno::Reference< css::animations::XAnimationNode > Clone(const css::uno::Reference< css::animations::XAnimationNode > &xSourceNode, const SdPage *pSource=nullptr, const SdPage *pTarget=nullptr)
size_t GetAbsPos(const weld::TreeView &rTreeView, const weld::TreeIter &rIter)
bool IsEntryVisible(const weld::TreeView &rTreeView, const weld::TreeIter &rIter)
const SvTreeListEntry * pLeft
const SvTreeListEntry * pRight
std::vector< std::unique_ptr< SvTreeListEntry > > SvTreeListEntries