LibreOffice Module vcl (master)  1
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
SvLBoxItem Class Referenceabstract

#include <treelistbox.hxx>

Inheritance diagram for SvLBoxItem:

Public Member Functions

 SvLBoxItem ()
virtual ~SvLBoxItem ()
virtual SvLBoxItemType GetType () const =0
virtual int CalcWidth (const SvTreeListBox *pView) const
int GetWidth (const SvTreeListBox *pView, const SvTreeListEntry *pEntry) const
int GetWidth (const SvTreeListBox *pView, const SvViewDataEntry *pData, sal_uInt16 nItemPos)
int GetHeight (const SvTreeListBox *pView, const SvTreeListEntry *pEntry) const
void Enable (bool bEnabled)
virtual void Paint (const Point &rPos, SvTreeListBox &rOutDev, vcl::RenderContext &rRenderContext, const SvViewDataEntry *pView, const SvTreeListEntry &rEntry)=0
virtual void InitViewData (SvTreeListBox *pView, SvTreeListEntry *pEntry, SvViewDataItem *pViewData=nullptr)=0
virtual std::unique_ptr< SvLBoxItemClone (SvLBoxItem const *pSource) const =0

Static Public Member Functions

static int GetHeight (const SvViewDataEntry *pData, sal_uInt16 nItemPos)

Protected Attributes

bool mbDisabled

Detailed Description

Definition at line 120 of file treelistbox.hxx.

Constructor & Destructor Documentation

SvLBoxItem::SvLBoxItem ( )

Definition at line 330 of file treelistbox.cxx.

SvLBoxItem::~SvLBoxItem ( )

Definition at line 335 of file treelistbox.cxx.

Member Function Documentation

int SvLBoxItem::CalcWidth ( const SvTreeListBox pView) const

Reimplemented in SvLBoxString.

Definition at line 375 of file treelistbox.cxx.

Referenced by GetWidth().

virtual std::unique_ptr<SvLBoxItem> SvLBoxItem::Clone ( SvLBoxItem const *  pSource) const
pure virtual
void SvLBoxItem::Enable ( bool  bEnabled)

Definition at line 134 of file treelistbox.hxx.

Referenced by SalInstanceTreeView::set_sensitive().

int SvLBoxItem::GetHeight ( const SvTreeListBox pView,
const SvTreeListEntry pEntry 
) const
int SvLBoxItem::GetHeight ( const SvViewDataEntry pData,
sal_uInt16  nItemPos 

Definition at line 369 of file treelistbox.cxx.

References SvViewDataEntry::GetItem(), and SvViewDataItem::mnHeight.

virtual SvLBoxItemType SvLBoxItem::GetType ( ) const
pure virtual
int SvLBoxItem::GetWidth ( const SvTreeListBox pView,
const SvTreeListEntry pEntry 
) const
int SvLBoxItem::GetWidth ( const SvTreeListBox pView,
const SvViewDataEntry pData,
sal_uInt16  nItemPos 
virtual void SvLBoxItem::InitViewData ( SvTreeListBox pView,
SvTreeListEntry pEntry,
SvViewDataItem pViewData = nullptr 
pure virtual
virtual void SvLBoxItem::Paint ( const Point rPos,
SvTreeListBox rOutDev,
vcl::RenderContext rRenderContext,
const SvViewDataEntry pView,
const SvTreeListEntry rEntry 
pure virtual

Member Data Documentation

bool SvLBoxItem::mbDisabled

Definition at line 123 of file treelistbox.hxx.

Referenced by SvLBoxString::Paint().

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