LibreOffice Module svx (master) 1
|
#include <sdrpagewindow.hxx>
Classes | |
struct | Impl |
Private Member Functions | |
SdrPageWindow (const SdrPageWindow &)=delete | |
SdrPageWindow & | operator= (const SdrPageWindow &)=delete |
Private Attributes | |
std::unique_ptr< Impl > | mpImpl |
Definition at line 46 of file sdrpagewindow.hxx.
|
privatedelete |
SdrPageWindow::SdrPageWindow | ( | SdrPageView & | rNewPageView, |
SdrPaintWindow & | rPaintWindow | ||
) |
Definition at line 122 of file sdrpagewindow.cxx.
SdrPageWindow::~SdrPageWindow | ( | ) |
Definition at line 127 of file sdrpagewindow.cxx.
References GetPageView(), SdrPageView::GetView(), mpImpl, FmFormView::RemoveControlContainer(), and ResetObjectContact().
uno::Reference< awt::XControlContainer > const & SdrPageWindow::GetControlContainer | ( | bool | _bCreateIfNecessary = true | ) | const |
Definition at line 66 of file sdrpagewindow.cxx.
References VCLUnoHelper::CreateControlContainer(), OutputDevice::GetMapMode(), MapMode::GetOrigin(), GetOriginalPaintWindow(), SdrPaintWindow::GetOutputDevice(), OutputDevice::GetOutputSizePixel(), OutputDevice::GetOwnerWindow(), GetPageView(), GetPaintWindow(), SdrPageView::GetView(), Size::Height(), FmFormView::InsertControlContainer(), SdrPaintView::IsPrintPreview(), mpImpl, SdrPaintWindow::OutputToWindow(), Size::Width(), Point::X(), xFactory, xModel, and Point::Y().
Referenced by FmXFormView::addWindow(), FmFormView::DeactivateControls(), FmFormView::DeleteDeviceFromPaintView(), SdrPageView::GetControlContainer(), FmPropBrw::impl_createPropertyBrowser_throw(), and FmFormView::InsertControlContainer().
sdr::contact::ObjectContact & SdrPageWindow::GetObjectContact | ( | ) |
Definition at line 500 of file sdrpagewindow.cxx.
References SdrView::createViewSpecificObjectContact(), GetPageView(), SdrPageView::GetView(), and mpImpl.
const sdr::contact::ObjectContact & SdrPageWindow::GetObjectContact | ( | ) | const |
Definition at line 488 of file sdrpagewindow.cxx.
References SdrView::createViewSpecificObjectContact(), GetPageView(), SdrPageView::GetView(), and mpImpl.
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(), SdrMarkView::getPossibleGridOffsetForPosition(), SdrMarkView::getPossibleGridOffsetForSdrObject(), SdrUnoObj::GetUnoControl(), PrePaint(), PrepareRedraw(), RedrawAll(), RedrawLayer(), SdrObjectPrimitiveHit(), SdrPaintView::SetAnimationPause(), SdrPaintView::SetAnimationTimer(), SetDesignMode(), and SdrDragView::ShowDragObj().
const SdrPaintWindow * SdrPageWindow::GetOriginalPaintWindow | ( | ) | const |
Definition at line 157 of file sdrpagewindow.cxx.
References mpImpl.
Referenced by GetControlContainer(), and sdr::contact::ViewObjectContactOfSdrObj::getPageViewOutputDevice().
rtl::Reference< sdr::overlay::OverlayManager > const & SdrPageWindow::GetOverlayManager | ( | ) | const |
Definition at line 163 of file sdrpagewindow.cxx.
References SdrPaintWindow::GetOverlayManager(), and GetPaintWindow().
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(), and SdrObjEditView::SdrBeginTextEdit().
SdrPageView & SdrPageWindow::GetPageView | ( | ) | const |
Definition at line 147 of file sdrpagewindow.cxx.
References mpImpl.
Referenced by FmXFormView::addWindow(), sdr::contact::ObjectContactOfPageView::AreGluePointsVisible(), sdr::contact::ViewContactOfUnoControl::CreateObjectSpecificViewObjectContact(), sdr::contact::ViewObjectContactOfUnoControl_Impl::ensureControl(), FormViewPageWindowAdapter::FormViewPageWindowAdapter(), sdr::contact::ObjectContactOfPageView::getActiveViewContact(), GetControlContainer(), GetObjectContact(), sdr::contact::ObjectContactOfPageView::GetSdrPage(), sdr::contact::ViewObjectContactOfUnoControl_Impl::impl_getPageView_nothrow(), InvalidatePageWindow(), sdr::contact::ObjectContactOfPageView::isMasterPageActive(), sdr::contact::ObjectContactOfPageView::isPageDecorationActive(), sdr::contact::ObjectContactOfPageView::ObjectContactOfPageView(), RedrawAll(), RedrawLayer(), sdr::contact::ObjectContactOfPageView::TryToGetSdrPageView(), and ~SdrPageWindow().
SdrPaintWindow & SdrPageWindow::GetPaintWindow | ( | ) | const |
Definition at line 152 of file sdrpagewindow.cxx.
References mpImpl.
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(), sdr::contact::ObjectContactOfPageView::DoProcessDisplay(), SdrPageView::DrawLayer(), GetControlContainer(), GetOverlayManager(), sdr::contact::ViewObjectContactOfSdrObj::getPageViewOutputDevice(), sdr::contact::ObjectContactOfPageView::GetPDFExtOutDevData(), impCreateDragRaster(), FmXFormView::implCreateFieldControl(), FmXFormView::implCreateXFormsControl(), InvalidatePageWindow(), sdr::contact::ObjectContactOfPageView::isDrawModeGray(), sdr::contact::ObjectContactOfPageView::isDrawModeHighContrast(), sdr::contact::ObjectContactOfPageView::isExportTaggedPDF(), sdr::contact::ObjectContactOfPageView::isOutputToPDFFile(), sdr::contact::ObjectContactOfPageView::isOutputToPrinter(), sdr::contact::ObjectContactOfPageView::isOutputToRecordingMetaFile(), PrepareRedraw(), RedrawAll(), RedrawLayer(), SdrObjEditView::SdrBeginTextEdit(), SdrDragView::ShowDragObj(), sdr::contact::ObjectContactOfPageView::TryToGetOutputDevice(), and SdrPaintView::UpdateDrawLayersRegion().
bool SdrPageWindow::HasObjectContact | ( | ) | const |
determines whether there already exists an ObjectContact
Definition at line 512 of file sdrpagewindow.cxx.
References mpImpl.
Referenced by PrePaint(), and PrepareRedraw().
void SdrPageWindow::InvalidatePageWindow | ( | const basegfx::B2DRange & | rRange | ) |
Definition at line 435 of file sdrpagewindow.cxx.
References o3tl::convert(), SfxViewShell::Current(), OutputDevice::EnableMapMode(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMaxX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMaxY(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinY(), GetPageView(), GetPaintWindow(), SdrPageView::GetView(), OutputDevice::GetViewTransformation(), basegfx::Range2D< typename TYPE, typename TRAITS >::grow(), SdrPaintView::InvalidateOneWin(), comphelper::LibreOfficeKit::isActive(), SvtOptionsDrawinglayer::IsAntiAliasing(), OutputDevice::IsMapModeEnabled(), o3tl::mm100, mpImpl, SfxLokHelper::notifyInvalidation(), basegfx::B2DRange::transform(), and o3tl::twip.
Referenced by sdr::contact::ObjectContactOfPageView::InvalidatePartOfView().
|
privatedelete |
SdrPaintWindow * SdrPageWindow::patchPaintWindow | ( | SdrPaintWindow & | rPaintWindow | ) |
Definition at line 168 of file sdrpagewindow.cxx.
References mpImpl.
Referenced by SdrPageView::DrawLayer().
void SdrPageWindow::PrePaint | ( | ) |
Definition at line 208 of file sdrpagewindow.cxx.
References GetObjectContact(), HasObjectContact(), and sdr::contact::ObjectContact::PrepareProcessDisplay().
Referenced by SdrPageView::PrePaint().
void SdrPageWindow::PrepareRedraw | ( | const vcl::Region & | rReg | ) |
Definition at line 217 of file sdrpagewindow.cxx.
References GetObjectContact(), GetPaintWindow(), HasObjectContact(), sdr::contact::ObjectContact::PrepareProcessDisplay(), and SdrPaintWindow::SetRedrawRegion().
Referenced by SdrPaintView::BeginDrawLayers(), and SdrPageView::CompleteRedraw().
void SdrPageWindow::RedrawAll | ( | sdr::contact::ViewObjectContactRedirector * | pRedirector | ) |
Definition at line 320 of file sdrpagewindow.cxx.
References SdrLayerIDSet::Clear(), SdrLayerAdmin::GetControlLayerName(), SdrModel::GetLayerAdmin(), SdrLayerAdmin::GetLayerID(), SdrPaintView::GetModel(), GetObjectContact(), GetPageView(), GetPaintWindow(), SdrPaintWindow::GetRedrawRegion(), SdrLayerIDSet::IsEmpty(), mpImpl, sdr::contact::ObjectContact::ProcessDisplay(), sdr::contact::DisplayInfo::SetProcessLayers(), sdr::contact::DisplayInfo::SetRedrawArea(), and sdr::contact::ObjectContact::SetViewObjectContactRedirector().
Referenced by SdrPageView::CompleteRedraw().
void SdrPageWindow::RedrawLayer | ( | const SdrLayerID * | pId, |
sdr::contact::ViewObjectContactRedirector * | pRedirector, | ||
basegfx::B2IRectangle const * | pPageFrame | ||
) |
Definition at line 369 of file sdrpagewindow.cxx.
References SdrLayerIDSet::ClearAll(), SdrLayerAdmin::GetControlLayerName(), SdrModel::GetLayerAdmin(), SdrLayerAdmin::GetLayerID(), SdrPaintView::GetModel(), GetObjectContact(), GetPageView(), GetPaintWindow(), SdrPaintWindow::GetRedrawRegion(), SdrPageView::GetView(), SdrLayerIDSet::IsSet(), mpImpl, sdr::contact::ObjectContact::ProcessDisplay(), SdrLayerIDSet::Set(), sdr::contact::DisplayInfo::SetControlLayerProcessingActive(), SdrPaintView::SetMasterPageVisualizationAllowed(), SdrPaintView::SetPageDecorationAllowed(), sdr::contact::DisplayInfo::SetProcessLayers(), sdr::contact::DisplayInfo::SetRedrawArea(), sdr::contact::ObjectContact::SetViewObjectContactRedirector(), and sdr::contact::DisplayInfo::SetWriterPageFrame().
Referenced by SdrPageView::DrawLayer().
void SdrPageWindow::ResetObjectContact | ( | ) |
Definition at line 518 of file sdrpagewindow.cxx.
References mpImpl.
Referenced by SdrView::SetMasterPagePaintCaching(), and ~SdrPageWindow().
void SdrPageWindow::SetDesignMode | ( | bool | _bDesignMode | ) | const |
sets all elements in the view which support a design and an alive mode into the given mode
Definition at line 527 of file sdrpagewindow.cxx.
References DBG_ASSERT, GetObjectContact(), and sdr::contact::ObjectContactOfPageView::SetUNOControlsDesignMode().
Referenced by SdrPageView::SetDesignMode().
void SdrPageWindow::unpatchPaintWindow | ( | SdrPaintWindow * | pPreviousPaintWindow | ) |
Definition at line 191 of file sdrpagewindow.cxx.
References mpImpl.
Referenced by SdrPageView::DrawLayer().
|
private |
Definition at line 50 of file sdrpagewindow.hxx.
Referenced by GetControlContainer(), GetObjectContact(), GetOriginalPaintWindow(), GetPageView(), GetPaintWindow(), HasObjectContact(), InvalidatePageWindow(), patchPaintWindow(), RedrawAll(), RedrawLayer(), ResetObjectContact(), unpatchPaintWindow(), and ~SdrPageWindow().