45 SetOutputSizePixel(aSize);
129 tools::Long nTLX = aBLPos.
X() + 5, nTLY = aBLPos.
Y() + ( nRectHeight - nItemId )/2;
130 tools::Long nTRX = aBLPos.
X() + nRectWidth - nTextWidth - 15, nTRY = aBLPos.
Y() + ( nRectHeight - nItemId )/2;
131 Point aStart(aBLPos.
X() + nRectWidth - nTextWidth - 5 , aBLPos.
Y() + nRectHeight/6);
#define CELL_LINE_STYLE_ENTRIES
const StyleSettings & GetStyleSettings() const
static const AllSettings & GetSettings()
static LanguageType getConfiguredSystemLanguage()
const vcl::Font & GetFont() const
void SetFont(const vcl::Font &rNewFont)
void DrawRect(const tools::Rectangle &rRect)
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
SAL_WARN_UNUSED_RESULT Point LogicToPixel(const Point &rLogicPt) const
const Color & GetLineColor() const
static vcl::Font GetDefaultFont(DefaultFontType nType, LanguageType eLang, GetDefaultFontFlags nFlags, const OutputDevice *pOutDev=nullptr)
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 Color & GetFillColor() const
constexpr tools::Long Y() const
constexpr tools::Long X() const
constexpr tools::Long Height() const
void setHeight(tools::Long nHeight)
constexpr tools::Long Width() const
const Color & GetFieldTextColor() const
vcl::RenderContext * GetRenderContext() const
const tools::Rectangle & GetRect() const
sal_uInt16 GetItemId() const
void SelectItem(sal_uInt16 nItemId)
void SetLineCount(sal_uInt16 nNewLines=0)
void SetColCount(sal_uInt16 nNewCols=1)
virtual void SetDrawingArea(weld::DrawingArea *pDrawingArea) override
void SetFontSize(const Size &)
void SetColor(const Color &)
const Size & GetFontSize() const
virtual OutputDevice & get_ref_device()=0
constexpr ::Color COL_WHITE(0xFF, 0xFF, 0xFF)
constexpr ::Color COL_TRANSPARENT(ColorTransparency, 0xFF, 0xFF, 0xFF, 0xFF)