LibreOffice Module svx (master) 1
|
#include <objectcontactofpageview.hxx>
Public Member Functions | |
SdrPageWindow & | GetPageWindow () const |
SdrPage * | GetSdrPage () const |
ObjectContactOfPageView (SdrPageWindow &rPageWindow, const char *pDebugName) | |
virtual | ~ObjectContactOfPageView () override |
virtual void | setLazyInvalidate (ViewObjectContact &rVOC) override |
virtual void | PrepareProcessDisplay () override |
virtual void | Invoke () final override |
virtual void | ProcessDisplay (DisplayInfo &rDisplayInfo) override |
virtual bool | DoVisualizeEnteredGroup () const override |
virtual const ViewContact * | getActiveViewContact () const override |
virtual void | InvalidatePartOfView (const basegfx::B2DRange &rRange) const override |
virtual bool | AreGluePointsVisible () const override |
virtual bool | IsTextAnimationAllowed () const override |
virtual bool | IsGraphicAnimationAllowed () const override |
virtual bool | isOutputToPrinter () const override |
virtual bool | isPageDecorationActive () const override |
virtual bool | isMasterPageActive () const override |
virtual bool | isOutputToRecordingMetaFile () const override |
virtual bool | isOutputToPDFFile () const override |
virtual bool | isExportTaggedPDF () const override |
virtual ::vcl::PDFExtOutDevData const * | GetPDFExtOutDevData () const override |
virtual bool | isDrawModeGray () const override |
virtual bool | isDrawModeHighContrast () const override |
virtual SdrPageView * | TryToGetSdrPageView () const override |
access to SdrPageView. May return 0L like the default implementations do. Override as needed. More... | |
virtual OutputDevice * | TryToGetOutputDevice () const override |
access to OutputDevice. May return 0L like the default implementations do. Override as needed. More... | |
void | SetUNOControlsDesignMode (bool _bDesignMode) const |
sets all UNO controls which are associated with this ObjectContact to design or alive mode. More... | |
Public Member Functions inherited from sdr::contact::ObjectContact | |
ObjectContact () | |
virtual | ~ObjectContact () COVERITY_NOEXCEPT_FALSE |
virtual void | setLazyInvalidate (ViewObjectContact &rVOC) |
virtual void | PrepareProcessDisplay () |
virtual void | ProcessDisplay (DisplayInfo &rDisplayInfo) |
virtual bool | DoVisualizeEnteredGroup () const |
virtual const ViewContact * | getActiveViewContact () const |
virtual void | InvalidatePartOfView (const basegfx::B2DRange &rRange) const |
virtual bool | AreGluePointsVisible () const |
sdr::animation::primitiveAnimator & | getPrimitiveAnimator () |
virtual bool | IsTextAnimationAllowed () const |
virtual bool | IsGraphicAnimationAllowed () const |
ViewObjectContactRedirector * | GetViewObjectContactRedirector () const |
void | SetViewObjectContactRedirector (ViewObjectContactRedirector *pNew) |
virtual bool | isOutputToPrinter () const |
virtual bool | isPageDecorationActive () const |
virtual bool | isMasterPageActive () const |
virtual bool | isOutputToRecordingMetaFile () const |
virtual bool | isOutputToPDFFile () const |
virtual bool | isExportTaggedPDF () const |
virtual ::vcl::PDFExtOutDevData const * | GetPDFExtOutDevData () const |
virtual bool | isDrawModeGray () const |
virtual bool | isDrawModeHighContrast () const |
bool | IsPreviewRenderer () const |
const drawinglayer::geometry::ViewInformation2D & | getViewInformation2D () const |
virtual SdrPageView * | TryToGetSdrPageView () const |
access to SdrPageView. May return 0L like the default implementations do. Override as needed. More... | |
virtual OutputDevice * | TryToGetOutputDevice () const |
access to OutputDevice. May return 0L like the default implementations do. Override as needed. More... | |
virtual bool | supportsGridOffsets () const |
virtual void | calculateGridOffsetForViewOjectContact (basegfx::B2DVector &rTarget, const ViewObjectContact &rClient) const |
virtual void | calculateGridOffsetForB2DRange (basegfx::B2DVector &rTarget, const basegfx::B2DRange &rB2DRange) const |
void | resetAllGridOffsets () |
Public Member Functions inherited from Idle | |
Idle (const char *pDebugName) | |
virtual void | Start (bool bStartTimer=true) override |
Public Member Functions inherited from Timer | |
Timer (const char *pDebugName) | |
Timer (const Timer &rTimer) | |
virtual | ~Timer () override |
Timer & | operator= (const Timer &rTimer) |
virtual void | Invoke () override |
void | Invoke (Timer *arg) |
void | SetInvokeHandler (const Link< Timer *, void > &rLink) |
void | ClearInvokeHandler () |
void | SetTimeout (sal_uInt64 nTimeoutMs) |
sal_uInt64 | GetTimeout () const |
virtual void | Start (bool bStartTimer=true) override |
Public Member Functions inherited from Task | |
Task (const char *pDebugName) | |
Task (const Task &rTask) | |
virtual | ~Task () COVERITY_NOEXCEPT_FALSE |
Task & | operator= (const Task &rTask) |
void | SetPriority (TaskPriority ePriority) |
TaskPriority | GetPriority () const |
const char * | GetDebugName () const |
virtual void | Invoke ()=0 |
virtual void | Start (bool bStartTimer=true) |
void | Stop () |
bool | IsActive () const |
void | SetStatic () |
bool | IsStatic () const |
Private Member Functions | |
void | DoProcessDisplay (DisplayInfo &rDisplayInfo) |
Private Attributes | |
SdrPageWindow & | mrPageWindow |
Additional Inherited Members | |
Protected Member Functions inherited from sdr::contact::ObjectContact | |
sal_uInt32 | getViewObjectContactCount () const |
ViewObjectContact * | getViewObjectContact (sal_uInt32 a) const |
void | setPreviewRenderer (bool bNew) |
void | updateViewInformation2D (const drawinglayer::geometry::ViewInformation2D &rViewInformation2D) |
Protected Member Functions inherited from Idle | |
virtual sal_uInt64 | UpdateMinPeriod (sal_uInt64 nTimeNow) const override |
Idle (bool bAuto, const char *pDebugName) | |
Protected Member Functions inherited from Timer | |
virtual void | SetDeletionFlags () override |
virtual sal_uInt64 | UpdateMinPeriod (sal_uInt64 nTimeNow) const override |
Timer (bool bAuto, const char *pDebugName) | |
Protected Member Functions inherited from Task | |
const ImplSchedulerData * | GetSchedulerData () const |
virtual void | SetDeletionFlags () |
virtual sal_uInt64 | UpdateMinPeriod (sal_uInt64 nTimeNow) const=0 |
Static Protected Member Functions inherited from Task | |
static void | StartTimer (sal_uInt64 nMS) |
Definition at line 31 of file objectcontactofpageview.hxx.
|
explicit |
Definition at line 55 of file objectcontactofpageview.cxx.
References SdrPageWindow::GetPageView(), SdrPageView::GetView(), SdrPaintView::IsPreviewRenderer(), sdr::contact::ObjectContact::setPreviewRenderer(), Task::SetPriority(), and Task::Stop().
|
overridevirtual |
Definition at line 68 of file objectcontactofpageview.cxx.
References Invoke().
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 354 of file objectcontactofpageview.cxx.
References SdrPageWindow::GetPageView(), GetPageWindow(), SdrPageView::GetView(), SdrPaintView::ImpIsGlueVisible(), and comphelper::LibreOfficeKit::isActive().
|
private |
Definition at line 124 of file objectcontactofpageview.cxx.
References vcl::unotools::b2DRectangleFromRectangle(), sdr::contact::DisplayInfo::ClearGhostedDrawMode(), vcl::CLIPREGION, drawinglayer::processor2d::createProcessor2DFromOutputDevice(), vcl::text::Default, DoVisualizeEnteredGroup(), basegfx::Range2D< typename TYPE, typename TRAITS >::expand(), vcl::Region::GetBoundRect(), Size::getHeight(), OutputDevice::GetInverseViewTransformation(), 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(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), OutputDevice::GetOutputSizePixel(), GetPageWindow(), SdrPageWindow::GetPaintWindow(), sdr::contact::ViewObjectContact::getPrimitive2DSequenceHierarchy(), sdr::contact::ObjectContact::getPrimitiveAnimator(), sdr::contact::DisplayInfo::GetRedrawArea(), GetSdrPage(), SdrPaintWindow::GetTargetOutputDevice(), GetTime(), SdrPage::GetViewContact(), sdr::contact::ObjectContact::getViewInformation2D(), sdr::contact::ViewContact::GetViewObjectContact(), OutputDevice::GetViewTransformation(), Size::getWidth(), GetXDrawPageForSdrPage(), i, basegfx::Range2D< typename TYPE, typename TRAITS >::intersect(), OutputDevice::IntersectClipRegion(), comphelper::LibreOfficeKit::isActive(), vcl::Region::IsEmpty(), isOutputToPrinter(), isOutputToRecordingMetaFile(), vcl::Region::Overlaps(), pObject, OutputDevice::Pop(), OutputDevice::Push(), sdr::contact::DisplayInfo::SetGhostedDrawMode(), OutputDevice::SetLayoutMode(), drawinglayer::geometry::ViewInformation2D::setViewport(), drawinglayer::geometry::ViewInformation2D::setViewTime(), drawinglayer::geometry::ViewInformation2D::setViewTransformation(), drawinglayer::geometry::ViewInformation2D::setVisualizedPage(), basegfx::B2DRange::transform(), TryToGetOutputDevice(), and sdr::contact::ObjectContact::updateViewInformation2D().
Referenced by ProcessDisplay().
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 294 of file objectcontactofpageview.cxx.
Referenced by DoProcessDisplay().
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 300 of file objectcontactofpageview.cxx.
References SdrPageView::GetObjList(), SdrPageWindow::GetPageView(), GetPageWindow(), SdrObjList::getSdrObjectFromSdrObjList(), GetSdrPage(), SdrObjList::getSdrPageFromSdrObjList(), SdrObject::GetViewContact(), and SdrPage::GetViewContact().
|
inline |
Definition at line 42 of file objectcontactofpageview.hxx.
Referenced by AreGluePointsVisible(), sdr::contact::ViewContactOfUnoControl::CreateObjectSpecificViewObjectContact(), DoProcessDisplay(), sdr::contact::ViewObjectContactOfUnoControl_Impl::ensureControl(), getActiveViewContact(), sdr::contact::ViewObjectContactOfSdrObj::getPageViewOutputDevice(), GetSdrPage(), sdr::contact::ViewObjectContactOfUnoControl_Impl::impl_getPageView_nothrow(), InvalidatePartOfView(), isMasterPageActive(), and isPageDecorationActive().
|
override |
Definition at line 422 of file objectcontactofpageview.cxx.
References OutputDevice::GetExtOutDevData(), SdrPaintWindow::GetOutputDevice(), SdrPageWindow::GetPaintWindow(), isOutputToPDFFile(), and mrPageWindow.
SdrPage * sdr::contact::ObjectContactOfPageView::GetSdrPage | ( | ) | const |
Definition at line 50 of file objectcontactofpageview.cxx.
References SdrPageView::GetPage(), SdrPageWindow::GetPageView(), and GetPageWindow().
Referenced by DoProcessDisplay(), getActiveViewContact(), and ProcessDisplay().
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 347 of file objectcontactofpageview.cxx.
References GetPageWindow(), and SdrPageWindow::InvalidatePageWindow().
|
finaloverridevirtual |
Reimplemented from Timer.
Definition at line 91 of file objectcontactofpageview.cxx.
References a, sdr::contact::ObjectContact::getViewObjectContact(), sdr::contact::ObjectContact::getViewObjectContactCount(), Task::Stop(), and sdr::contact::ViewObjectContact::triggerLazyInvalidate().
Referenced by PrepareProcessDisplay(), and ~ObjectContactOfPageView().
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 434 of file objectcontactofpageview.cxx.
References OutputDevice::GetDrawMode(), SdrPaintWindow::GetOutputDevice(), SdrPageWindow::GetPaintWindow(), and mrPageWindow.
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 441 of file objectcontactofpageview.cxx.
References OutputDevice::GetDrawMode(), SdrPaintWindow::GetOutputDevice(), SdrPageWindow::GetPaintWindow(), and mrPageWindow.
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 407 of file objectcontactofpageview.cxx.
References OutputDevice::GetExtOutDevData(), vcl::PDFExtOutDevData::GetIsExportTaggedPDF(), SdrPaintWindow::GetOutputDevice(), SdrPageWindow::GetPaintWindow(), isOutputToPDFFile(), and mrPageWindow.
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 369 of file objectcontactofpageview.cxx.
References SvtAccessibilityOptions::GetIsAllowAnimatedGraphics(), and utl::ConfigManager::IsFuzzing().
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 389 of file objectcontactofpageview.cxx.
References SdrPageWindow::GetPageView(), GetPageWindow(), SdrPageView::GetView(), and SdrPaintView::IsMasterPageVisualizationAllowed().
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 402 of file objectcontactofpageview.cxx.
References OutputDevice::GetOutDevType(), SdrPaintWindow::GetOutputDevice(), SdrPageWindow::GetPaintWindow(), mrPageWindow, and OUTDEV_PDF.
Referenced by GetPDFExtOutDevData(), and isExportTaggedPDF().
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 377 of file objectcontactofpageview.cxx.
References OutputDevice::GetOutDevType(), SdrPaintWindow::GetOutputDevice(), SdrPageWindow::GetPaintWindow(), mrPageWindow, and OUTDEV_PRINTER.
Referenced by DoProcessDisplay().
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 395 of file objectcontactofpageview.cxx.
References OutputDevice::GetConnectMetaFile(), SdrPaintWindow::GetOutputDevice(), SdrPageWindow::GetPaintWindow(), GDIMetaFile::IsPause(), GDIMetaFile::IsRecord(), and mrPageWindow.
Referenced by DoProcessDisplay().
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 383 of file objectcontactofpageview.cxx.
References SdrPageWindow::GetPageView(), GetPageWindow(), SdrPageView::GetView(), and SdrPaintView::IsPageDecorationAllowed().
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 361 of file objectcontactofpageview.cxx.
References SvtAccessibilityOptions::GetIsAllowAnimatedText(), and utl::ConfigManager::IsFuzzing().
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 83 of file objectcontactofpageview.cxx.
References Invoke(), and Task::IsActive().
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 107 of file objectcontactofpageview.cxx.
References DoProcessDisplay(), sdr::contact::ViewContact::GetObjectCount(), sdr::contact::DisplayInfo::GetProcessLayers(), GetSdrPage(), SdrPage::GetViewContact(), and SdrLayerIDSet::IsEmpty().
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 75 of file objectcontactofpageview.cxx.
References Idle::Start().
void sdr::contact::ObjectContactOfPageView::SetUNOControlsDesignMode | ( | bool | _bDesignMode | ) | const |
sets all UNO controls which are associated with this ObjectContact to design or alive mode.
Definition at line 470 of file objectcontactofpageview.cxx.
References a, sdr::contact::ObjectContact::getViewObjectContact(), sdr::contact::ObjectContact::getViewObjectContactCount(), nCount, and sdr::contact::ViewObjectContactOfUnoControl::setControlDesignMode().
Referenced by SdrPageWindow::SetDesignMode().
|
overridevirtual |
access to OutputDevice. May return 0L like the default implementations do. Override as needed.
Reimplemented from sdr::contact::ObjectContact.
Definition at line 455 of file objectcontactofpageview.cxx.
References SdrPaintWindow::GetOutputDevice(), SdrPageWindow::GetPaintWindow(), SdrPreRenderDevice::GetPreRenderDevice(), SdrPaintWindow::GetPreRenderDevice(), and mrPageWindow.
Referenced by DoProcessDisplay().
|
overridevirtual |
access to SdrPageView. May return 0L like the default implementations do. Override as needed.
Reimplemented from sdr::contact::ObjectContact.
Definition at line 448 of file objectcontactofpageview.cxx.
References SdrPageWindow::GetPageView(), and mrPageWindow.
|
private |
Definition at line 35 of file objectcontactofpageview.hxx.
Referenced by GetPDFExtOutDevData(), isDrawModeGray(), isDrawModeHighContrast(), isExportTaggedPDF(), isOutputToPDFFile(), isOutputToPrinter(), isOutputToRecordingMetaFile(), TryToGetOutputDevice(), and TryToGetSdrPageView().