LibreOffice Module vcl (master)
1
|
#include <treelistbox.hxx>
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< SvLBoxItem > | Clone (SvLBoxItem const *pSource) const =0 |
Static Public Member Functions | |
static int | GetHeight (const SvViewDataEntry *pData, sal_uInt16 nItemPos) |
Protected Attributes | |
bool | mbDisabled |
Definition at line 121 of file treelistbox.hxx.
SvLBoxItem::SvLBoxItem | ( | ) |
Definition at line 299 of file treelistbox.cxx.
|
virtual |
Definition at line 304 of file treelistbox.cxx.
|
virtual |
Reimplemented in SvLBoxString.
Definition at line 344 of file treelistbox.cxx.
Referenced by GetWidth().
|
pure virtual |
Implemented in SvLBoxContextBmp, SvLBoxButton, and SvLBoxString.
Referenced by SvTreeListEntry::Clone().
|
inline |
Definition at line 135 of file treelistbox.hxx.
Referenced by SalInstanceTreeView::set_sensitive().
int SvLBoxItem::GetHeight | ( | const SvTreeListBox * | pView, |
const SvTreeListEntry * | pEntry | ||
) | const |
Definition at line 320 of file treelistbox.cxx.
References SvTreeListBox::GetViewDataItem(), and SvViewDataItem::mnHeight.
Referenced by SvTreeListBox::EditItemText(), SvLBoxString::Paint(), IconView::PaintEntry(), SvTreeListBox::PaintEntry1(), SvImpLBox::RequestHelp(), and SvTreeListBox::SetEntryHeight().
|
static |
Definition at line 338 of file treelistbox.cxx.
References SvViewDataEntry::GetItem(), and SvViewDataItem::mnHeight.
|
pure virtual |
Implemented in SvLBoxContextBmp, SvLBoxButton, and SvLBoxString.
Referenced by SvImpLBox::ButtonDownCheckCtrl(), SvTabListBox::GetCellText(), SvTabListBox::GetEntryText(), SvTabListBox::GetTabEntryText(), SvTreeListBox::ImplEditEntry(), SvHeaderTabListBox::IsCellCheckBox(), IconView::PaintEntry(), SvTreeListBox::PaintEntry1(), SvImpLBox::RequestHelp(), SvTreeListBox::SearchEntryTextWithHeadTitle(), SalInstanceTreeView::set_sensitive(), and SvTabListBox::SetEntryText().
int SvLBoxItem::GetWidth | ( | const SvTreeListBox * | pView, |
const SvTreeListEntry * | pEntry | ||
) | const |
Definition at line 308 of file treelistbox.cxx.
References CalcWidth(), SvTreeListBox::GetViewDataItem(), mnWidth, and SvViewDataItem::mnWidth.
Referenced by SvTreeListBox::CheckBoxInserted(), SvImpLBox::EntryReallyHit(), SvTreeListBox::GetFocusRect(), SvTreeListBox::GetItem_Impl(), SvTreeListBox::getPreferredDimensions(), SvLBoxString::Paint(), IconView::PaintEntry(), SvTreeListBox::PaintEntry1(), SvImpLBox::RequestHelp(), and SvImpLBox::SetMostRight().
int SvLBoxItem::GetWidth | ( | const SvTreeListBox * | pView, |
const SvViewDataEntry * | pData, | ||
sal_uInt16 | nItemPos | ||
) |
Definition at line 326 of file treelistbox.cxx.
References CalcWidth(), SvViewDataEntry::GetItem(), mnWidth, and SvViewDataItem::mnWidth.
|
pure virtual |
Implemented in SvLBoxContextBmp, SvLBoxButton, and SvLBoxString.
Referenced by SvTreeListBox::InitViewData(), SvTreeListBox::ModelHasEntryInvalidated(), and SvTreeListBox::RecalcViewData().
|
pure virtual |
Implemented in SvLBoxContextBmp, SvLBoxButton, and SvLBoxString.
Referenced by IconView::PaintEntry(), and SvTreeListBox::PaintEntry1().
|
protected |
Definition at line 124 of file treelistbox.hxx.
Referenced by SvLBoxString::Paint().