LibreOffice Module svx (master) 1
|
#include <sdrpaintwindow.hxx>
Public Member Functions | |
SdrPaintWindow (SdrPaintView &rNewPaintView, OutputDevice &rOut, vcl::Window *pWindow=nullptr) | |
~SdrPaintWindow () | |
void | setPatched (SdrPaintWindow *pPaintWindow) |
SdrPaintWindow * | getPatched () const |
OutputDevice & | GetOutputDevice () const |
vcl::Window * | GetWindow () const |
rtl::Reference< sdr::overlay::OverlayManager > const & | GetOverlayManager () const |
void | DrawOverlay (const vcl::Region &rRegion) |
tools::Rectangle | GetVisibleArea () const |
bool | OutputToPrinter () const |
bool | OutputToWindow () const |
void | SetOutputToWindow (bool bOutputToWindow) |
bool | OutputToRecordingMetaFile () const |
void | PreparePreRenderDevice () |
void | OutputPreRenderDevice (const vcl::Region &rExpandedRegion) |
SdrPreRenderDevice * | GetPreRenderDevice () const |
const vcl::Region & | GetRedrawRegion () const |
void | SetRedrawRegion (const vcl::Region &rNew) |
bool | getTemporaryTarget () const |
void | setTemporaryTarget (bool bNew) |
OutputDevice & | GetTargetOutputDevice () |
Private Member Functions | |
void | impCreateOverlayManager () |
Private Attributes | |
VclPtr< OutputDevice > | mpOutputDevice |
VclPtr< vcl::Window > | mpWindow |
In case mrOutputDevice is a buffer for a vcl::Window, this is the window. More... | |
SdrPaintView & | mrPaintView |
rtl::Reference< sdr::overlay::OverlayManager > | mxOverlayManager |
std::unique_ptr< SdrPreRenderDevice > | mpPreRenderDevice |
vcl::Region | maRedrawRegion |
bool | mbTemporaryTarget: 1 |
bool | mbOutputToWindow: 1 |
SdrPaintWindow * | mpPatched |
Definition at line 59 of file sdrpaintwindow.hxx.
SdrPaintWindow::SdrPaintWindow | ( | SdrPaintView & | rNewPaintView, |
OutputDevice & | rOut, | ||
vcl::Window * | pWindow = nullptr |
||
) |
Definition at line 241 of file sdrpaintwindow.cxx.
References mpWindow, and OUTDEV_WINDOW.
SdrPaintWindow::~SdrPaintWindow | ( | ) |
Definition at line 251 of file sdrpaintwindow.cxx.
References mpPreRenderDevice, and mxOverlayManager.
void SdrPaintWindow::DrawOverlay | ( | const vcl::Region & | rRegion | ) |
Definition at line 312 of file sdrpaintwindow.cxx.
References impCreateOverlayManager(), mpPreRenderDevice, mxOverlayManager, and OutputToPrinter().
Referenced by SdrPaintView::EndCompleteRedraw().
|
inline |
Definition at line 101 of file sdrpaintwindow.hxx.
Referenced by SdrHdl::CreateB2dIAObject(), svx::diagram::DiagramFrameHdl::CreateB2dIAObject(), sdr::table::TableBorderHdl::CreateB2dIAObject(), SdrPageView::FindPatchedPageWindow(), SdrPageWindow::GetControlContainer(), SdrPaintView::GetFirstOutputDevice(), sdr::contact::ViewObjectContactOfSdrObj::getPageViewOutputDevice(), sdr::contact::ObjectContactOfPageView::GetPDFExtOutDevData(), GetVisibleArea(), SdrPaintView::GlueInvalidate(), impCreateDragRaster(), impCreateOverlayManager(), SdrPageView::ImpInvalidateHelpLineArea(), FmXFormView::implCreateFieldControl(), FmXFormView::implCreateXFormsControl(), SdrPaintView::InvalidateAllWin(), sdr::contact::ObjectContactOfPageView::isDrawModeGray(), sdr::contact::ObjectContactOfPageView::isDrawModeHighContrast(), sdr::contact::ObjectContactOfPageView::isExportTaggedPDF(), sdr::contact::ObjectContactOfPageView::isOutputToPDFFile(), sdr::contact::ObjectContactOfPageView::isOutputToPrinter(), sdr::contact::ObjectContactOfPageView::isOutputToRecordingMetaFile(), svxform::NavigatorTree::MarkViewObj(), SdrObjEditView::SdrBeginTextEdit(), SdrObjEditView::TextEditDrawing(), and sdr::contact::ObjectContactOfPageView::TryToGetOutputDevice().
rtl::Reference< sdr::overlay::OverlayManager > const & SdrPaintWindow::GetOverlayManager | ( | ) | const |
Definition at line 258 of file sdrpaintwindow.cxx.
References impCreateOverlayManager(), and mxOverlayManager.
Referenced by ImpSdrCreateViewExtraData::CreateAndShowOverlay(), SdrPageWindow::GetOverlayManager(), ImplConnectMarkerOverlay::ImplConnectMarkerOverlay(), SdrDropMarkerOverlay::ImplCreateOverlays(), ImplHelpLineOverlay::ImplHelpLineOverlay(), ImplMarkingOverlay::ImplMarkingOverlay(), ImplPageOriginOverlay::ImplPageOriginOverlay(), MarkingSubSelectionOverlay::MarkingSubSelectionOverlay(), Impl3DMirrorConstructOverlay::SetMirrorAxis(), SdrCreateView::ShowCreateObj(), SdrDragView::ShowDragObj(), and sdr::table::SvxTableController::updateSelectionOverlay().
|
inline |
Definition at line 98 of file sdrpaintwindow.hxx.
Referenced by SdrPaintView::FindPaintWindow().
|
inline |
Definition at line 127 of file sdrpaintwindow.hxx.
Referenced by sdr::contact::ObjectContactOfPageView::TryToGetOutputDevice().
|
inline |
Definition at line 130 of file sdrpaintwindow.hxx.
Referenced by SdrPageView::DrawLayer(), SdrPaintView::EndCompleteRedraw(), SdrPageWindow::RedrawAll(), SdrPageWindow::RedrawLayer(), and SdrObjEditView::TextEditDrawing().
|
inline |
Definition at line 138 of file sdrpaintwindow.hxx.
Referenced by sdr::contact::ObjectContactOfPageView::DoProcessDisplay(), SdrPaintView::ImpFormLayerDrawing(), GraphCtrl::Paint(), ContourWindow::Paint(), and SdrObjEditView::TextEditDrawing().
|
inline |
Definition at line 134 of file sdrpaintwindow.hxx.
Referenced by SdrPaintView::EndCompleteRedraw().
tools::Rectangle SdrPaintWindow::GetVisibleArea | ( | ) | const |
Definition at line 269 of file sdrpaintwindow.cxx.
References GetOutputDevice(), and OutputDevice::PixelToLogic().
Referenced by SvxGraphCtrlAccessibleContext::GetVisibleArea().
|
inline |
Definition at line 102 of file sdrpaintwindow.hxx.
References mpWindow.
Referenced by SdrObjEditView::TextEditDrawing().
|
private |
Definition at line 234 of file sdrpaintwindow.cxx.
References SdrPaintView::CreateOverlayManager(), GetOutputDevice(), mrPaintView, and mxOverlayManager.
Referenced by DrawOverlay(), and GetOverlayManager().
void SdrPaintWindow::OutputPreRenderDevice | ( | const vcl::Region & | rExpandedRegion | ) |
Definition at line 303 of file sdrpaintwindow.cxx.
References mpPreRenderDevice.
Referenced by SdrPaintView::EndCompleteRedraw().
|
inline |
Definition at line 114 of file sdrpaintwindow.hxx.
References OUTDEV_PRINTER.
Referenced by DrawOverlay(), and PreparePreRenderDevice().
bool SdrPaintWindow::OutputToRecordingMetaFile | ( | ) | const |
Definition at line 275 of file sdrpaintwindow.cxx.
References GDIMetaFile::IsPause(), GDIMetaFile::IsRecord(), and mpOutputDevice.
Referenced by PreparePreRenderDevice().
|
inline |
Definition at line 117 of file sdrpaintwindow.hxx.
Referenced by SdrHdl::CreateB2dIAObject(), svx::diagram::DiagramFrameHdl::CreateB2dIAObject(), SdrHdlColor::CreateB2dIAObject(), SdrHdlGradient::CreateB2dIAObject(), SdrHdlLine::CreateB2dIAObject(), SdrHdlBezWgt::CreateB2dIAObject(), E3dVolumeMarker::CreateB2dIAObject(), ImpEdgeHdl::CreateB2dIAObject(), ImpMeasureHdl::CreateB2dIAObject(), ImpTextframeHdl::CreateB2dIAObject(), SdrCropHdl::CreateB2dIAObject(), SdrCropViewHdl::CreateB2dIAObject(), sdr::table::TableEdgeHdl::CreateB2dIAObject(), sdr::table::TableBorderHdl::CreateB2dIAObject(), SdrPageWindow::GetControlContainer(), SdrPaintView::GlueInvalidate(), SdrPageView::ImpInvalidateHelpLineArea(), FmXFormView::implCreateFieldControl(), SdrPaintView::InvalidateAllWin(), SdrObjEditView::SdrBeginTextEdit(), and SdrDragView::ShowDragObj().
void SdrPaintWindow::PreparePreRenderDevice | ( | ) |
Definition at line 281 of file sdrpaintwindow.cxx.
References SdrPaintView::IsBufferedOutputAllowed(), mpOutputDevice, mpPreRenderDevice, mrPaintView, OutputToPrinter(), and OutputToRecordingMetaFile().
Referenced by SdrPaintView::BeginCompleteRedraw().
|
inline |
Definition at line 119 of file sdrpaintwindow.hxx.
Referenced by GraphCtrl::Paint(), ContourWindow::Paint(), and GraphCtrlView::~GraphCtrlView().
|
inline |
Definition at line 97 of file sdrpaintwindow.hxx.
void SdrPaintWindow::SetRedrawRegion | ( | const vcl::Region & | rNew | ) |
Definition at line 332 of file sdrpaintwindow.cxx.
References maRedrawRegion.
Referenced by SdrPageView::DrawLayer(), SdrPageWindow::PrepareRedraw(), and SdrPaintView::UpdateDrawLayersRegion().
|
inline |
Definition at line 135 of file sdrpaintwindow.hxx.
Referenced by SdrPaintView::BeginCompleteRedraw().
|
private |
Definition at line 79 of file sdrpaintwindow.hxx.
Referenced by SetRedrawRegion().
|
private |
Definition at line 84 of file sdrpaintwindow.hxx.
|
private |
Definition at line 82 of file sdrpaintwindow.hxx.
|
private |
Definition at line 63 of file sdrpaintwindow.hxx.
Referenced by OutputToRecordingMetaFile(), and PreparePreRenderDevice().
|
private |
Definition at line 87 of file sdrpaintwindow.hxx.
|
private |
Definition at line 76 of file sdrpaintwindow.hxx.
Referenced by DrawOverlay(), OutputPreRenderDevice(), PreparePreRenderDevice(), and ~SdrPaintWindow().
|
private |
In case mrOutputDevice is a buffer for a vcl::Window, this is the window.
Definition at line 66 of file sdrpaintwindow.hxx.
|
private |
Definition at line 69 of file sdrpaintwindow.hxx.
Referenced by impCreateOverlayManager(), and PreparePreRenderDevice().
|
private |
Definition at line 73 of file sdrpaintwindow.hxx.
Referenced by DrawOverlay(), GetOverlayManager(), impCreateOverlayManager(), and ~SdrPaintWindow().