LibreOffice Module vcl (master) 1
|
#include <svlbitm.hxx>
Public Member Functions | |
SvLBoxString (OUString aText) | |
SvLBoxString () | |
virtual | ~SvLBoxString () override |
virtual SvLBoxItemType | GetType () const override |
virtual void | InitViewData (SvTreeListBox *pView, SvTreeListEntry *pEntry, SvViewDataItem *pViewData=nullptr) override |
virtual int | CalcWidth (const SvTreeListBox *pView) const override |
void | Align (double fAlign) |
void | Emphasize (bool bEmphasize) |
bool | IsEmphasized () const |
void | SetCustomRender () |
const OUString & | GetText () const |
void | SetText (const OUString &rText) |
virtual void | Paint (const Point &rPos, SvTreeListBox &rOutDev, vcl::RenderContext &rRenderContext, const SvViewDataEntry *pView, const SvTreeListEntry &rEntry) override |
virtual std::unique_ptr< SvLBoxItem > | Clone (SvLBoxItem const *pSource) const override |
Public Member Functions inherited from SvLBoxItem | |
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 |
Protected Attributes | |
OUString | maText |
Protected Attributes inherited from SvLBoxItem | |
bool | mbDisabled |
Private Attributes | |
bool | mbEmphasized |
bool | mbCustom |
double | mfAlign |
Additional Inherited Members | |
Static Public Member Functions inherited from SvLBoxItem | |
static int | GetHeight (const SvViewDataEntry *pData, sal_uInt16 nItemPos) |
Definition at line 105 of file svlbitm.hxx.
SvLBoxString::SvLBoxString | ( | OUString | aText | ) |
Definition at line 171 of file svlbitm.cxx.
SvLBoxString::SvLBoxString | ( | ) |
Definition at line 179 of file svlbitm.cxx.
|
overridevirtual |
Definition at line 186 of file svlbitm.cxx.
|
inline |
Definition at line 126 of file svlbitm.hxx.
|
overridevirtual |
Reimplemented from SvLBoxItem.
Definition at line 318 of file svlbitm.cxx.
References vcl::Window::GetTextWidth(), and maText.
|
overridevirtual |
Implements SvLBoxItem.
Definition at line 268 of file svlbitm.cxx.
References maText, mbCustom, mbEmphasized, and mfAlign.
|
inline |
Definition at line 128 of file svlbitm.hxx.
|
inline |
Definition at line 133 of file svlbitm.hxx.
References maText.
Referenced by SvTreeListBox::CloneEntry(), SvTreeListBox::DefaultCompare(), SvTreeListBox::EditItemText(), SvTreeListBox::GetEntryAccessibleDescription(), SvTreeListBox::GetEntryText(), lcl_DumpEntryAndSiblings(), and SvTreeListBox::SearchEntryTextWithHeadTitle().
|
overridevirtual |
|
overridevirtual |
Implements SvLBoxItem.
Definition at line 281 of file svlbitm.cxx.
References SvTreeListEntry::GetFlags(), vcl::Window::GetFont(), vcl::Window::GetOutDev(), vcl::Window::GetTextHeight(), SvTreeListBox::GetViewDataItem(), Size::Height(), IS_SEPARATOR, mbCustom, mbEmphasized, SvTreeListBox::MeasureCustomEntry(), SvViewDataItem::mnHeight, SvViewDataItem::mnWidth, OutputDevice::Pop(), OutputDevice::Push(), vcl::Font::SetWeight(), WEIGHT_BOLD, and Size::Width().
Referenced by SvTreeListBox::SetEntryText().
|
inline |
Definition at line 129 of file svlbitm.hxx.
|
overridevirtual |
Implements SvLBoxItem.
Definition at line 210 of file svlbitm.cxx.
References Center, Disable, SvTreeListBox::DrawCustomEntry(), OutputDevice::DrawText(), SvTreeListBox::GetBoundingRect(), SvTreeListBox::GetEntryWidth(), SvTreeListEntry::GetFlags(), OutputDevice::GetFont(), SvLBoxItem::GetHeight(), tools::Rectangle::getOpenWidth(), vcl::Window::GetSizePixel(), SvLBoxItem::GetWidth(), IS_SEPARATOR, vcl::Window::IsEnabled(), Left, maText, mbCustom, SvLBoxItem::mbDisabled, mbEmphasized, mfAlign, NONE, PathEllipsis, OutputDevice::Pop(), OutputDevice::Push(), Right, OutputDevice::SetFont(), Size::setHeight(), vcl::Font::SetWeight(), Size::setWidth(), SvTreeListBox::TextCenterAndClipEnabled(), WEIGHT_BOLD, Size::Width(), and Point::Y().
|
inline |
Definition at line 131 of file svlbitm.hxx.
|
inline |
Definition at line 137 of file svlbitm.hxx.
References maText.
Referenced by SvTreeListBox::SetEntryText().
|
protected |
Definition at line 112 of file svlbitm.hxx.
Referenced by CalcWidth(), Clone(), and Paint().
|
private |
Definition at line 109 of file svlbitm.hxx.
Referenced by Clone(), InitViewData(), and Paint().
|
private |
Definition at line 108 of file svlbitm.hxx.
Referenced by Clone(), InitViewData(), and Paint().
|
private |
Definition at line 110 of file svlbitm.hxx.