LibreOffice Module svx (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sdr::contact::ObjectContactOfPageView Class Reference

#include <objectcontactofpageview.hxx>

Inheritance diagram for sdr::contact::ObjectContactOfPageView:
[legend]
Collaboration diagram for sdr::contact::ObjectContactOfPageView:
[legend]

Public Member Functions

SdrPageWindowGetPageWindow () const
 
SdrPageGetSdrPage () 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 ViewContactgetActiveViewContact () 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 isOutputToRecordingMetaFile () const override
 
virtual bool isOutputToPDFFile () const override
 
virtual bool isExportTaggedPDF () const override
 
virtual bool isDrawModeGray () const override
 
virtual bool isDrawModeHighContrast () const override
 
virtual SdrPageViewTryToGetSdrPageView () const override
 access to SdrPageView. May return 0L like the default implementations do. Override as needed. More...
 
virtual OutputDeviceTryToGetOutputDevice () 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 ViewContactgetActiveViewContact () const
 
virtual void InvalidatePartOfView (const basegfx::B2DRange &rRange) const
 
virtual bool AreGluePointsVisible () const
 
sdr::animation::primitiveAnimatorgetPrimitiveAnimator ()
 
virtual bool IsTextAnimationAllowed () const
 
virtual bool IsGraphicAnimationAllowed () const
 
ViewObjectContactRedirectorGetViewObjectContactRedirector () const
 
void SetViewObjectContactRedirector (ViewObjectContactRedirector *pNew)
 
virtual bool isOutputToPrinter () const
 
virtual bool isOutputToRecordingMetaFile () const
 
virtual bool isOutputToPDFFile () const
 
virtual bool isExportTaggedPDF () const
 
virtual bool isDrawModeGray () const
 
virtual bool isDrawModeHighContrast () const
 
bool IsPreviewRenderer () const
 
const drawinglayer::geometry::ViewInformation2DgetViewInformation2D () const
 
virtual SdrPageViewTryToGetSdrPageView () const
 access to SdrPageView. May return 0L like the default implementations do. Override as needed. More...
 
virtual OutputDeviceTryToGetOutputDevice () 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
 
Timeroperator= (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
 
Taskoperator= (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

SdrPageWindowmrPageWindow
 

Additional Inherited Members

- Protected Member Functions inherited from sdr::contact::ObjectContact
sal_uInt32 getViewObjectContactCount () const
 
ViewObjectContactgetViewObjectContact (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 ImplSchedulerDataGetSchedulerData () 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)
 

Detailed Description

Definition at line 31 of file objectcontactofpageview.hxx.

Constructor & Destructor Documentation

◆ ObjectContactOfPageView()

sdr::contact::ObjectContactOfPageView::ObjectContactOfPageView ( SdrPageWindow rPageWindow,
const char *  pDebugName 
)
explicit

◆ ~ObjectContactOfPageView()

sdr::contact::ObjectContactOfPageView::~ObjectContactOfPageView ( )
overridevirtual

Definition at line 68 of file objectcontactofpageview.cxx.

References Invoke().

Member Function Documentation

◆ AreGluePointsVisible()

bool sdr::contact::ObjectContactOfPageView::AreGluePointsVisible ( ) const
overridevirtual

◆ DoProcessDisplay()

void sdr::contact::ObjectContactOfPageView::DoProcessDisplay ( DisplayInfo rDisplayInfo)
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().

◆ DoVisualizeEnteredGroup()

bool sdr::contact::ObjectContactOfPageView::DoVisualizeEnteredGroup ( ) const
overridevirtual

Reimplemented from sdr::contact::ObjectContact.

Definition at line 290 of file objectcontactofpageview.cxx.

Referenced by DoProcessDisplay().

◆ getActiveViewContact()

const ViewContact * sdr::contact::ObjectContactOfPageView::getActiveViewContact ( ) const
overridevirtual

◆ GetPageWindow()

SdrPageWindow & sdr::contact::ObjectContactOfPageView::GetPageWindow ( ) const
inline

◆ GetSdrPage()

SdrPage * sdr::contact::ObjectContactOfPageView::GetSdrPage ( ) const

◆ InvalidatePartOfView()

void sdr::contact::ObjectContactOfPageView::InvalidatePartOfView ( const basegfx::B2DRange rRange) const
overridevirtual

◆ Invoke()

void sdr::contact::ObjectContactOfPageView::Invoke ( )
finaloverridevirtual

◆ isDrawModeGray()

bool sdr::contact::ObjectContactOfPageView::isDrawModeGray ( ) const
overridevirtual

◆ isDrawModeHighContrast()

bool sdr::contact::ObjectContactOfPageView::isDrawModeHighContrast ( ) const
overridevirtual

◆ isExportTaggedPDF()

bool sdr::contact::ObjectContactOfPageView::isExportTaggedPDF ( ) const
overridevirtual

◆ IsGraphicAnimationAllowed()

bool sdr::contact::ObjectContactOfPageView::IsGraphicAnimationAllowed ( ) const
overridevirtual

◆ isOutputToPDFFile()

bool sdr::contact::ObjectContactOfPageView::isOutputToPDFFile ( ) const
overridevirtual

◆ isOutputToPrinter()

bool sdr::contact::ObjectContactOfPageView::isOutputToPrinter ( ) const
overridevirtual

◆ isOutputToRecordingMetaFile()

bool sdr::contact::ObjectContactOfPageView::isOutputToRecordingMetaFile ( ) const
overridevirtual

◆ IsTextAnimationAllowed()

bool sdr::contact::ObjectContactOfPageView::IsTextAnimationAllowed ( ) const
overridevirtual

◆ PrepareProcessDisplay()

void sdr::contact::ObjectContactOfPageView::PrepareProcessDisplay ( )
overridevirtual

Reimplemented from sdr::contact::ObjectContact.

Definition at line 83 of file objectcontactofpageview.cxx.

References Invoke(), and Task::IsActive().

◆ ProcessDisplay()

void sdr::contact::ObjectContactOfPageView::ProcessDisplay ( DisplayInfo rDisplayInfo)
overridevirtual

◆ setLazyInvalidate()

void sdr::contact::ObjectContactOfPageView::setLazyInvalidate ( ViewObjectContact rVOC)
overridevirtual

Reimplemented from sdr::contact::ObjectContact.

Definition at line 75 of file objectcontactofpageview.cxx.

References Idle::Start().

◆ SetUNOControlsDesignMode()

void sdr::contact::ObjectContactOfPageView::SetUNOControlsDesignMode ( bool  _bDesignMode) const

◆ TryToGetOutputDevice()

OutputDevice * sdr::contact::ObjectContactOfPageView::TryToGetOutputDevice ( ) const
overridevirtual

access to OutputDevice. May return 0L like the default implementations do. Override as needed.

Reimplemented from sdr::contact::ObjectContact.

Definition at line 413 of file objectcontactofpageview.cxx.

References SdrPaintWindow::GetOutputDevice(), SdrPageWindow::GetPaintWindow(), SdrPreRenderDevice::GetPreRenderDevice(), SdrPaintWindow::GetPreRenderDevice(), and mrPageWindow.

Referenced by DoProcessDisplay().

◆ TryToGetSdrPageView()

SdrPageView * sdr::contact::ObjectContactOfPageView::TryToGetSdrPageView ( ) const
overridevirtual

access to SdrPageView. May return 0L like the default implementations do. Override as needed.

Reimplemented from sdr::contact::ObjectContact.

Definition at line 406 of file objectcontactofpageview.cxx.

References SdrPageWindow::GetPageView(), and mrPageWindow.

Member Data Documentation

◆ mrPageWindow

SdrPageWindow& sdr::contact::ObjectContactOfPageView::mrPageWindow
private

The documentation for this class was generated from the following files: