LibreOffice Module svx (master)
1
|
#include <dlgctrl.hxx>
Protected Member Functions | |
void | InitSettings () |
tools::Rectangle | GetPreviewSize () const |
void | LocalPrePaint (vcl::RenderContext const &rRenderContext) |
void | LocalPostPaint (vcl::RenderContext &rRenderContext) |
Private Attributes | |
std::unique_ptr< SdrModel > | mpModel |
VclPtr< VirtualDevice > | mpBufferDevice |
Additional Inherited Members | |
![]() | |
static bool | IsUpdateMode () |
Definition at line 280 of file dlgctrl.hxx.
SvxPreviewBase::SvxPreviewBase | ( | ) |
Definition at line 1286 of file dlgctrl.cxx.
References mpModel.
|
overridevirtual |
Definition at line 1304 of file dlgctrl.cxx.
References VclPtr< VirtualDevice >::disposeAndClear(), mpBufferDevice, and mpModel.
|
inline |
Definition at line 320 of file dlgctrl.hxx.
Referenced by GetPreviewSize(), InitSettings(), SvxXLinePreview::Paint(), SvxXRectPreview::Paint(), and SvxXShadowPreview::Paint().
|
inline |
Definition at line 316 of file dlgctrl.hxx.
Referenced by SvxXRectPreview::Resize(), SvxXLinePreview::SetDrawingArea(), SvxXRectPreview::SetDrawingArea(), and SvxXShadowPreview::SetDrawingArea().
|
inline |
Definition at line 310 of file dlgctrl.hxx.
References weld::CustomWidgetController::GetOutputSizePixel(), and OutputDevice::PixelToLogic().
Referenced by SvxXLinePreview::Paint(), and SvxXLinePreview::Resize().
|
protected |
Definition at line 1366 of file dlgctrl.cxx.
References getBufferDevice(), weld::CustomWidgetController::GetOutputSizePixel(), and Point.
Referenced by SvxXRectPreview::Resize(), SvxXRectPreview::SetDrawingArea(), and SvxXShadowPreview::SetDrawingArea().
|
protected |
Definition at line 1271 of file dlgctrl.cxx.
References svtools::FONTCOLOR, getBufferDevice(), svtools::ColorConfig::GetColorValue(), StyleSettings::GetHighContrastMode(), Application::GetSettings(), AllSettings::GetStyleSettings(), StyleSettings::GetWindowColor(), weld::CustomWidgetController::Invalidate(), svtools::ColorConfigValue::nColor, OUTPUT_DRAWMODE_COLOR, OUTPUT_DRAWMODE_CONTRAST, OutputDevice::SetBackground(), OutputDevice::SetDrawMode(), and OutputDevice::SetTextColor().
Referenced by SvxXRectPreview::SetDrawingArea(), SvxXShadowPreview::SetDrawingArea(), and StyleUpdated().
|
protected |
Definition at line 1337 of file dlgctrl.cxx.
References OutputDevice::DrawOutDev(), OutputDevice::EnableMapMode(), weld::CustomWidgetController::GetOutputSizePixel(), OutputDevice::IsMapModeEnabled(), mpBufferDevice, and Point.
Referenced by SvxXLinePreview::Paint(), SvxXRectPreview::Paint(), and SvxXShadowPreview::Paint().
|
protected |
Definition at line 1310 of file dlgctrl.cxx.
References COL_WHITE, OutputDevice::DrawCheckered(), OutputDevice::EnableMapMode(), OutputDevice::Erase(), OutputDevice::GetAntialiasing(), weld::CustomWidgetController::GetOutputSizePixel(), OutputDevice::GetOutputSizePixel(), StyleSettings::GetPreviewUsesCheckeredBackground(), Application::GetSettings(), AllSettings::GetStyleSettings(), OutputDevice::IsMapModeEnabled(), mpBufferDevice, Point, OutputDevice::SetAntialiasing(), and VirtualDevice::SetOutputSizePixel().
Referenced by SvxXLinePreview::Paint(), SvxXRectPreview::Paint(), and SvxXShadowPreview::Paint().
|
overridevirtual |
Reimplemented from weld::CustomWidgetController.
Reimplemented in SvxXShadowPreview, SvxXRectPreview, and SvxXLinePreview.
Definition at line 1293 of file dlgctrl.cxx.
References VclPtr< reference_type >::Create(), weld::DrawingArea::get_ref_device(), getPreviewStripSize(), Size::Height(), mpBufferDevice, weld::Widget::set_size_request(), OutputDevice::SetMapMode(), weld::CustomWidgetController::SetOutputSizePixel(), and Size::Width().
Referenced by SvxXLinePreview::SetDrawingArea(), SvxXRectPreview::SetDrawingArea(), and SvxXShadowPreview::SetDrawingArea().
|
inline |
Definition at line 305 of file dlgctrl.hxx.
References OutputDevice::SetDrawMode().
|
overridevirtual |
Reimplemented from weld::CustomWidgetController.
Definition at line 1355 of file dlgctrl.cxx.
References InitSettings().
|
private |
Definition at line 284 of file dlgctrl.hxx.
Referenced by LocalPostPaint(), LocalPrePaint(), SetDrawingArea(), and ~SvxPreviewBase().
|
private |
Definition at line 283 of file dlgctrl.hxx.
Referenced by SvxPreviewBase(), and ~SvxPreviewBase().