22 #if !defined(VCL_DLLIMPLEMENTATION) && !defined(TOOLKIT_DLLIMPLEMENTATION) && !defined(VCL_INTERNALS)
23 #error "don't use this in new code"
62 typedef std::vector<std::unique_ptr<SvLBoxItem>>
ItemsType;
77 void SetListPositions();
78 void InvalidateChildrensListPositions();
84 static const size_t ITEM_NOT_FOUND = SAL_MAX_SIZE;
89 bool HasChildren()
const;
90 bool HasChildListPos()
const;
98 size_t ItemCount()
const;
103 void AddItem(std::unique_ptr<SvLBoxItem> pItem);
104 void ReplaceItem(std::unique_ptr<SvLBoxItem> pNewItem,
size_t nPos);
109 size_t GetPos(
const SvLBoxItem* pItem )
const;
111 void SetUserData(
void* pPtr );
112 void EnableChildrenOnDemand(
bool bEnable=
true );
113 bool HasChildrenOnDemand()
const;
121 void SetTextColor( std::optional<Color> xColor ) { mxTextColor = xColor; }
122 std::optional<Color>
const &
GetTextColor()
const {
return mxTextColor; }
const Color & GetBackColor() const
std::vector< std::unique_ptr< SvLBoxItem > > ItemsType
SvTLEntryFlags GetFlags() const
sal_uInt32 GetExtraIndent() const
SvTreeListEntries m_Children
void SetBackColor(const Color &rColor)
std::optional< Color > const & GetTextColor() const
Reference< XAnimationNode > Clone(const Reference< XAnimationNode > &xSourceNode, const SdPage *pSource, const SdPage *pTarget)
Control & operator=(const Control &)=delete
void * GetUserData() const
SvLBoxItem * GetItem(SvTreeListEntry *, tools::Long nX, SvLBoxTab **ppTab)
SvTLEntryFlags nEntryFlags
SvTreeListEntries & GetChildEntries()
const SvTreeListEntries & GetChildEntries() const
void SetFlags(EVControlBits &rBits, EVControlBits nMask, bool bOn)
void SetExtraIndent(sal_uInt32 nExtraIndent)
std::optional< Color > mxTextColor
void SetTextColor(std::optional< Color > xColor)
SvTreeListEntry * pParent
std::vector< std::unique_ptr< SvTreeListEntry > > SvTreeListEntries