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) const |
int | GetHeight (const SvTreeListBox *pView, const SvTreeListEntry *pEntry) const |
void | Enable (bool bEnabled) |
bool | isEnable () const |
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 115 of file treelistbox.hxx.
SvLBoxItem::SvLBoxItem | ( | ) |
Definition at line 325 of file treelistbox.cxx.
|
virtual |
Definition at line 330 of file treelistbox.cxx.
|
virtual |
Reimplemented in SvLBoxString.
Definition at line 370 of file treelistbox.cxx.
Referenced by GetWidth().
|
pure virtual |
Implemented in SvLBoxString, SvLBoxButton, and SvLBoxContextBmp.
Referenced by SvTreeListEntry::Clone().
|
inline |
Definition at line 129 of file treelistbox.hxx.
Referenced by SalInstanceTreeView::set_sensitive().
int SvLBoxItem::GetHeight | ( | const SvTreeListBox * | pView, |
const SvTreeListEntry * | pEntry | ||
) | const |
Definition at line 346 of file treelistbox.cxx.
References SvTreeListBox::GetViewDataItem(), and SvViewDataItem::mnHeight.
Referenced by SvTreeListBox::CalcEntryHeight(), IconView::CalcEntryHeight(), SvTreeListBox::EditItemText(), SvLBoxString::Paint(), IconView::PaintEntry(), SvTreeListBox::PaintEntry1(), and SvImpLBox::RequestHelp().
|
static |
Definition at line 364 of file treelistbox.cxx.
References SvViewDataItem::mnHeight, and pData.
|
pure virtual |
Implemented in SvLBoxString, SvLBoxButton, and SvLBoxContextBmp.
Referenced by SvImpLBox::ButtonDownCheckCtrl(), IconView::CalcEntryHeight(), SalInstanceTreeView::do_set_toggle(), SvTabListBox::GetCellText(), SvTreeListBox::GetEntryAccessibleDescription(), SvTabListBox::GetEntryText(), SvTreeListBox::ImplEditEntry(), SvHeaderTabListBox::IsCellCheckBox(), lcl_DumpEntryAndSiblings(), SvTreeListBox::MouseButtonUp(), IconView::PaintEntry(), SvTreeListBox::PaintEntry1(), SvImpLBox::RequestHelp(), SvTreeListBox::SearchEntryTextWithHeadTitle(), and SalInstanceTreeView::set_sensitive().
int SvLBoxItem::GetWidth | ( | const SvTreeListBox * | pView, |
const SvTreeListEntry * | pEntry | ||
) | const |
Definition at line 334 of file treelistbox.cxx.
References CalcWidth(), SvTreeListBox::GetViewDataItem(), mnWidth, and SvViewDataItem::mnWidth.
Referenced by SvTreeListBox::CheckBoxInserted(), SvImpLBox::EntryReallyHit(), SvTreeListBox::GetFocusRect(), SvTreeListBox::GetItem_Impl(), SvTreeListBox::GetItemPos(), 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 | ||
) | const |
Definition at line 352 of file treelistbox.cxx.
References CalcWidth(), mnWidth, SvViewDataItem::mnWidth, and pData.
|
pure virtual |
Implemented in SvLBoxString, SvLBoxButton, and SvLBoxContextBmp.
Referenced by SvTreeListBox::InitViewData(), SvTreeListBox::ModelHasEntryInvalidated(), and SvTreeListBox::RecalcViewData().
|
inline |
Definition at line 130 of file treelistbox.hxx.
Referenced by SvImpLBox::ButtonUpCheckCtrl(), SalInstanceTreeView::do_get_sensitive(), and SvTreeListBox::MouseButtonUp().
|
pure virtual |
Implemented in SvLBoxString, SvLBoxButton, and SvLBoxContextBmp.
Referenced by IconView::PaintEntry(), and SvTreeListBox::PaintEntry1().
|
protected |
Definition at line 118 of file treelistbox.hxx.
Referenced by SvLBoxString::Paint(), SvLBoxButton::Paint(), and SvLBoxContextBmp::Paint().