48 pImpl->bDefaultImages =
true;
49 pImpl->bShowRadioButton = _bRadioBtn;
57 InitData( _bRadioBtn, pControlForSettings );
99 pImpl->pEntry = pActEntry;
100 pImpl->pBox = pActBox;
123 assert(
pImpl &&
"-SvLBoxButtonData::GetActEntry(): don't use me that way!");
124 return pImpl->pEntry;
129 assert(
pImpl &&
"-SvLBoxButtonData::GetActBox(): don't use me that way!");
137 if (
pImpl->bShowRadioButton )
159 return pImpl->bDefaultImages;
163 return pImpl->bShowRadioButton;
172 : mbEmphasized(false)
180 : mbEmphasized(false)
217 Point aStartPos(0, rPos.
Y() - 2);
219 drawSeparator(rRenderContext, aRegion);
251 rRenderContext.
Push();
265 rRenderContext.
Pop();
276 pNew->mfAlign = pOther->
mfAlign;
278 return std::unique_ptr<SvLBoxItem>(pNew.release());
299 pView->Control::SetFont( aFont );
371 bool bNativeOK =
false;
395 aCtrlRegion,
nState, aControlValue, OUString());
398 if (!bNativeOK &&
isVis)
406 return std::unique_ptr<SvLBoxItem>(pNew.release());
433 if( aContentSize.
Width() + 2 > io_rSize.
Width() )
470 m_pImpl->m_bExpanded = bExpanded;
491 m_pImpl->m_aImage1 = _rBitmap1;
492 m_pImpl->m_aImage2 = _rBitmap2;
523 if (_bSemiTransparent)
525 rRenderContext.
DrawImage(_rPos, rImage, nStyle);
534 return std::unique_ptr<SvLBoxItem>(pNew.release());
const StyleSettings & GetStyleSettings() const
static const AllSettings & GetSettings()
Gets the application's settings.
static Image GetCheckImage(const AllSettings &rSettings, DrawButtonFlags nFlags)
void setTristateVal(ButtonValue nTristate)
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
const vcl::Font & GetFont() const
void SetFont(const vcl::Font &rNewFont)
void DrawLine(const Point &rStartPt, const Point &rEndPt)
void DrawImage(const Point &rPos, const Image &rImage, DrawImageFlags nStyle=DrawImageFlags::NONE)
This is an overloaded member function, provided for convenience. It differs from the above function o...
const Color & GetLineColor() const
void Push(vcl::PushFlags nFlags=vcl::PushFlags::ALL)
bool GetNativeControlRegion(ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, tools::Rectangle &rNativeBoundingRegion, tools::Rectangle &rNativeContentRegion) const
Query the native control's actual drawing region (including adornment)
bool DrawNativeControl(ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, const OUString &aCaption, const Color &rBackgroundColor=COL_AUTO)
Request rendering of a particular control and/or part.
void DrawText(const Point &rStartPt, const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1, std::vector< tools::Rectangle > *pVector=nullptr, OUString *pDisplayText=nullptr, const SalLayoutGlyphs *pLayoutCache=nullptr)
const AllSettings & GetSettings() const
bool IsNativeControlSupported(ControlType nType, ControlPart nPart) const
Query the platform layer for control support.
constexpr tools::Long Y() const
tools::Long AdjustY(tools::Long nVertMove)
constexpr tools::Long X() const
constexpr tools::Long Height() const
void setWidth(tools::Long nWidth)
void setHeight(tools::Long nHeight)
constexpr tools::Long Width() const
const Color & GetShadowColor() const
virtual SvLBoxItemType GetType() const override
std::unique_ptr< SvLBoxContextBmp_Impl > m_pImpl
virtual ~SvLBoxContextBmp() override
virtual void Paint(const Point &rPos, SvTreeListBox &rOutDev, vcl::RenderContext &rRenderContext, const SvViewDataEntry *pView, const SvTreeListEntry &rEntry) override
virtual void InitViewData(SvTreeListBox *pView, SvTreeListEntry *pEntry, SvViewDataItem *pViewData=nullptr) override
Image & implGetImageStore(bool bFirst)
void SetModeImages(const Image &rBitmap1, const Image &rBitmap2)
virtual std::unique_ptr< SvLBoxItem > Clone(SvLBoxItem const *pSource) const override
int GetHeight(const SvTreeListBox *pView, const SvTreeListEntry *pEntry) const
int GetWidth(const SvTreeListBox *pView, const SvTreeListEntry *pEntry) const
virtual int CalcWidth(const SvTreeListBox *pView) const override
virtual void InitViewData(SvTreeListBox *pView, SvTreeListEntry *pEntry, SvViewDataItem *pViewData=nullptr) override
virtual void Paint(const Point &rPos, SvTreeListBox &rOutDev, vcl::RenderContext &rRenderContext, const SvViewDataEntry *pView, const SvTreeListEntry &rEntry) override
virtual ~SvLBoxString() override
virtual SvLBoxItemType GetType() const override
virtual std::unique_ptr< SvLBoxItem > Clone(SvLBoxItem const *pSource) const override
VCL_DLLPRIVATE void DrawCustomEntry(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect, const SvTreeListEntry &rEntry)
bool TextCenterAndClipEnabled() const
tools::Rectangle GetBoundingRect(const SvTreeListEntry *pEntry)
Calculate and return the bounding rectangle of an entry.
SvViewDataItem * GetViewDataItem(SvTreeListEntry const *, SvLBoxItem const *)
VCL_DLLPRIVATE Size MeasureCustomEntry(vcl::RenderContext &rRenderContext, const SvTreeListEntry &rEntry) const
short GetEntryWidth() const
SvTLEntryFlags GetFlags() const
View-dependent data for a tree list entry created in the virtual function SvTreeListBox::CreateViewDa...
void SetWeight(FontWeight)
tools::Long GetTextWidth(const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1, vcl::text::TextLayoutCache const *=nullptr, SalLayoutGlyphs const *const pLayoutCache=nullptr) const
Width of the text.
tools::Long GetTextHeight() const
Height where any character of the current font fits; in logic coordinates.
const AllSettings & GetSettings() const
::OutputDevice const * GetOutDev() const
const vcl::Font & GetFont() const
virtual Size GetSizePixel() const
std::unique_ptr< sal_Int32[]> pData
const wchar_t *typedef int(__stdcall *DllNativeUnregProc)(int