98 Point aLineStart(aBLPos.X() + 5, aBLPos.Y() + ( nRectHeight - nItemId )/2);
99 Point aLineEnd(aBLPos.X() + nRectWidth * 7 / 9 - 10, aBLPos.Y() + ( nRectHeight - nItemId )/2);
102 Point aImgStart(aBLPos.X() + 5, aBLPos.Y() + ( nRectHeight - 23 ) / 2);
139 Point aStart(aBLPos.X() + nRectWidth * 7 / 9 , aBLPos.Y() + nRectHeight/6);
148 for(sal_uInt16
i = 1;
i <= nItemId;
i++)
150 pDev->
DrawLine(aLineStart,aLineEnd );
151 aLineStart.setY(aLineStart.getY() + 1);
152 aLineEnd.setY (aLineEnd.getY() + 1);
167 SetOutputSizePixel(aSize);
Size GetSizePixel() const
void DrawText(const Point &rStartPt, const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1, MetricVector *pVector=nullptr, OUString *pDisplayText=nullptr, const SalLayoutGlyphs *pLayoutCache=nullptr)
virtual void SetDrawingArea(weld::DrawingArea *pDrawingArea) override
static vcl::Font GetDefaultFont(DefaultFontType nType, LanguageType eLang, GetDefaultFontFlags nFlags, const OutputDevice *pOutDev=nullptr)
void SetFontSize(const Size &)
void DrawImage(const Point &rPos, const Image &rImage, DrawImageFlags nStyle=DrawImageFlags::NONE)
const tools::Rectangle & GetRect() const
constexpr::Color COL_TRANSPARENT(ColorTransparency, 0xFF, 0xFF, 0xFF, 0xFF)
static const AllSettings & GetSettings()
void SetLineCount(sal_uInt16 nNewLines=0)
const vcl::Font & GetFont() const
virtual OutputDevice & get_ref_device()=0
void DrawLine(const Point &rStartPt, const Point &rEndPt)
void DrawRect(const tools::Rectangle &rRect)
static LanguageType getSystemLanguage()
vcl::RenderContext * GetRenderContext() const
tools::Long Width() const
const Color & GetLineColor() const
const Size & GetFontSize() const
void SetColor(const Color &)
sal_uInt16 GetItemId() const
void SelectItem(sal_uInt16 nItemId)
Point LogicToPixel(const Point &rLogicPt) const
void SetFont(const vcl::Font &rNewFont)
virtual void Resize() override
void SetColCount(sal_uInt16 nNewCols=1)
const ::std::vector< Color > ImpSvNumberformatScan::StandardColor COL_WHITE
void setHeight(tools::Long nHeight)
const Color & GetFillColor() const