22#if !defined(VCL_DLLIMPLEMENTATION) && !defined(TOOLKIT_DLLIMPLEMENTATION) && !defined(VCL_INTERNALS)
23#error "don't use this in new code"
61 typedef std::vector<std::unique_ptr<SvLBoxItem>>
ItemsType;
75 void SetListPositions();
76 void InvalidateChildrensListPositions();
82 static const size_t ITEM_NOT_FOUND = SAL_MAX_SIZE;
87 bool HasChildren()
const;
88 bool HasChildListPos()
const;
89 sal_uInt32 GetChildListPos()
const;
96 size_t ItemCount()
const;
101 void AddItem(std::unique_ptr<SvLBoxItem> pItem);
102 void ReplaceItem(std::unique_ptr<SvLBoxItem> pNewItem,
size_t nPos);
107 size_t GetPos(
const SvLBoxItem* pItem )
const;
109 void SetUserData(
void* pPtr );
110 void EnableChildrenOnDemand(
bool bEnable=
true );
111 bool HasChildrenOnDemand()
const;
116 void SetTextColor( std::optional<Color> xColor ) { mxTextColor = xColor; }
117 std::optional<Color>
const &
GetTextColor()
const {
return mxTextColor; }
SvLBoxItem * GetItem(SvTreeListEntry *, tools::Long nX, SvLBoxTab **ppTab)
std::optional< Color > const & GetTextColor() const
void operator=(SvTreeListEntry const &)=delete
const SvTreeListEntries & GetChildEntries() const
SvTreeListEntries m_Children
void * GetUserData() const
void SetExtraIndent(sal_uInt32 nExtraIndent)
SvTLEntryFlags GetFlags() const
SvTreeListEntries & GetChildEntries()
sal_uInt32 GetExtraIndent() const
SvTreeListEntry(const SvTreeListEntry &r)=delete
SvTreeListEntry * pParent
SvTLEntryFlags nEntryFlags
void SetTextColor(std::optional< Color > xColor)
std::optional< Color > mxTextColor
std::vector< std::unique_ptr< SvLBoxItem > > ItemsType
void SetFlags(EVControlBits &rBits, EVControlBits nMask, bool bOn)
css::uno::Reference< css::animations::XAnimationNode > Clone(const css::uno::Reference< css::animations::XAnimationNode > &xSourceNode, const SdPage *pSource=nullptr, const SdPage *pTarget=nullptr)
std::vector< std::unique_ptr< SvTreeListEntry > > SvTreeListEntries