40 CustomWidgetController::SetDrawingArea(pDrawingArea);
81 for (sal_uInt16
i = 0;
i < 9; ++
i)
113 if (4 ==
i || 5 ==
i || 6 ==
i)
137 if (3 <=
i && 5 >=
i)
143 nLW = aLineSiz.
Width() * 8 / 10;
146 nLW = aLineSiz.
Width() * 9 / 10;
149 nLW = aLineSiz.
Width() / 2;
153 if (nLW > aSiz.
Width())
158 case SvxAdjust::Left:
160 case SvxAdjust::Right:
163 case SvxAdjust::Center:
168 if (SvxAdjust::Block ==
eAdjust)
174 case SvxAdjust::Left:
176 case SvxAdjust::Right:
179 case SvxAdjust::Center:
182 case SvxAdjust::Block:
209 rRenderContext.
Pop();
const StyleSettings & GetStyleSettings() const
SAL_WARN_UNUSED_RESULT Point PixelToLogic(const Point &rDevicePt) const
void DrawRect(const tools::Rectangle &rRect)
void Push(vcl::PushFlags nFlags=vcl::PushFlags::ALL)
const AllSettings & GetSettings() const
void setX(tools::Long nX)
tools::Long AdjustY(tools::Long nVertMove)
tools::Long AdjustX(tools::Long nHorzMove)
constexpr tools::Long Height() const
tools::Long AdjustHeight(tools::Long n)
void setWidth(tools::Long nWidth)
tools::Long AdjustWidth(tools::Long n)
constexpr tools::Long Width() const
const Color & GetWindowColor() const
void DrawParagraph(vcl::RenderContext &rRenderContext)
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
virtual void SetDrawingArea(weld::DrawingArea *pDrawingArea) override
virtual OutputDevice & get_ref_device()=0
constexpr ::Color COL_GRAY(0x80, 0x80, 0x80)
constexpr ::Color COL_LIGHTGRAY(0xC0, 0xC0, 0xC0)
Size SFX2_DLLPUBLIC getParagraphPreviewOptimalSize(const OutputDevice &rReference)
sal_Int32 nFirstLineOffset
tools::Long const nRightMargin
tools::Long const nLeftMargin