LibreOffice Module svx (master)
1
|
#include <paraprev.hxx>
Private Member Functions | |
virtual void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override |
virtual void | SetDrawingArea (weld::DrawingArea *pDrawingArea) override |
void | DrawParagraph (vcl::RenderContext &rRenderContext) |
Private Attributes | |
Size | aSize |
tools::Long | nLeftMargin |
tools::Long | nRightMargin |
short | nFirstLineOffset |
sal_uInt16 | nUpper |
sal_uInt16 | nLower |
SvxAdjust | eAdjust |
SvxAdjust | eLastLine |
SvxPrevLineSpace | eLine |
Additional Inherited Members | |
![]() | |
static bool | IsUpdateMode () |
Definition at line 37 of file paraprev.hxx.
SvxParaPrevWindow::SvxParaPrevWindow | ( | ) |
Definition at line 25 of file paraprev.cxx.
References aSize, Left, N1, nFirstLineOffset, nLeftMargin, and nRightMargin.
|
private |
Definition at line 52 of file paraprev.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), aSize, COL_GRAY, COL_LIGHTGRAY(), DEF_MARGIN, OutputDevice::DrawRect(), eAdjust, eLastLine, eLine, weld::CustomWidgetController::GetOutputSizePixel(), OutputDevice::GetSettings(), AllSettings::GetStyleSettings(), StyleSettings::GetWindowColor(), Size::Height(), i, Leading, Min, N1, N115, N15, N2, nFirstLineOffset, nLeftMargin, nLower, nRightMargin, nUpper, OutputDevice::PixelToLogic(), Point, OutputDevice::Pop(), Prop, OutputDevice::Push(), OutputDevice::SetFillColor(), OutputDevice::SetLineColor(), OutputDevice::SetMapMode(), and Size::Width().
Referenced by Paint().
|
overrideprivatevirtual |
Implements weld::CustomWidgetController.
Definition at line 45 of file paraprev.cxx.
References DrawParagraph().
Definition at line 82 of file paraprev.hxx.
|
overrideprivatevirtual |
Reimplemented from weld::CustomWidgetController.
Definition at line 38 of file paraprev.cxx.
References weld::DrawingArea::get_ref_device(), getParagraphPreviewOptimalSize(), Size::Height(), weld::Widget::set_size_request(), and Size::Width().
|
inline |
Definition at line 62 of file paraprev.hxx.
Definition at line 86 of file paraprev.hxx.
|
inline |
Definition at line 66 of file paraprev.hxx.
|
inline |
Definition at line 90 of file paraprev.hxx.
|
inline |
Definition at line 78 of file paraprev.hxx.
|
inline |
Definition at line 70 of file paraprev.hxx.
Definition at line 94 of file paraprev.hxx.
|
inline |
Definition at line 74 of file paraprev.hxx.
|
private |
Definition at line 39 of file paraprev.hxx.
Referenced by DrawParagraph(), and SvxParaPrevWindow().
|
private |
Definition at line 49 of file paraprev.hxx.
Referenced by DrawParagraph().
|
private |
Definition at line 51 of file paraprev.hxx.
Referenced by DrawParagraph().
|
private |
Definition at line 53 of file paraprev.hxx.
Referenced by DrawParagraph().
|
private |
Definition at line 44 of file paraprev.hxx.
Referenced by DrawParagraph().
|
private |
Definition at line 42 of file paraprev.hxx.
Referenced by DrawParagraph().
|
private |
Definition at line 47 of file paraprev.hxx.
Referenced by DrawParagraph().
|
private |
Definition at line 43 of file paraprev.hxx.
Referenced by DrawParagraph().
|
private |
Definition at line 46 of file paraprev.hxx.
Referenced by DrawParagraph().