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 | isOutputToRecordingMetaFile () const override |
virtual bool | isOutputToPDFFile () 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... | |
![]() | |
ObjectContact () | |
virtual | ~ObjectContact () COVERITY_NOEXCEPT_FALSE |
sdr::animation::primitiveAnimator & | getPrimitiveAnimator () |
ViewObjectContactRedirector * | GetViewObjectContactRedirector () const |
void | SetViewObjectContactRedirector (ViewObjectContactRedirector *pNew) |
bool | IsPreviewRenderer () const |
const drawinglayer::geometry::ViewInformation2D & | getViewInformation2D () const |
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 () |
![]() | |
Idle (const char *pDebugName=nullptr) | |
virtual void | Start () override |
![]() | |
Timer (const char *pDebugName=nullptr) | |
Timer (const Timer &rTimer) | |
virtual | ~Timer () override |
Timer & | operator= (const Timer &rTimer) |
void | Invoke (Timer *arg) |
void | SetInvokeHandler (const Link< Timer *, void > &rLink) |
void | ClearInvokeHandler () |
void | SetTimeout (sal_uInt64 nTimeoutMs) |
sal_uInt64 | GetTimeout () const |
![]() | |
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 |
void | SetDebugName (const char *pDebugName) |
const char * | GetDebugName () const |
void | Stop () |
bool | IsActive () const |
void | SetStatic () |
bool | IsStatic () const |
Private Member Functions | |
void | DoProcessDisplay (DisplayInfo &rDisplayInfo) |
Private Attributes | |
SdrPageWindow & | mrPageWindow |
Additional Inherited Members | |
![]() | |
sal_uInt32 | getViewObjectContactCount () const |
ViewObjectContact * | getViewObjectContact (sal_uInt32 a) const |
void | setPreviewRenderer (bool bNew) |
void | updateViewInformation2D (const drawinglayer::geometry::ViewInformation2D &rViewInformation2D) |
![]() | |
virtual sal_uInt64 | UpdateMinPeriod (sal_uInt64 nTimeNow) const override |
Idle (bool bAuto, const char *pDebugName) | |
![]() | |
virtual void | SetDeletionFlags () override |
Timer (bool bAuto, const char *pDebugName) | |
![]() | |
const ImplSchedulerData * | GetSchedulerData () const |
![]() | |
static void | StartTimer (sal_uInt64 nMS) |
Definition at line 31 of file objectcontactofpageview.hxx.
|
explicit |
Definition at line 53 of file objectcontactofpageview.cxx.
References SdrPageWindow::GetPageView(), SdrPageView::GetView(), sdr::contact::ObjectContact::IsPreviewRenderer(), sdr::contact::ObjectContact::setPreviewRenderer(), Task::SetPriority(), and Task::Stop().
|
overridevirtual |
Definition at line 67 of file objectcontactofpageview.cxx.
References Invoke().
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 341 of file objectcontactofpageview.cxx.
References SdrPageWindow::GetPageView(), GetPageWindow(), SdrPageView::GetView(), and SdrPaintView::ImpIsGlueVisible().
|
private |
Definition at line 123 of file objectcontactofpageview.cxx.
References vcl::unotools::b2DRectangleFromRectangle(), sdr::contact::DisplayInfo::ClearGhostedDrawMode(), drawinglayer::processor2d::createProcessor2DFromOutputDevice(), DoVisualizeEnteredGroup(), basegfx::B2DRange::expand(), vcl::Region::GetBoundRect(), SdrObject::GetCurrentBoundRect(), OutputDevice::GetInverseViewTransformation(), basegfx::B2DRange::getMaxX(), basegfx::B2DRange::getMaxY(), basegfx::B2DRange::getMinX(), basegfx::B2DRange::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(), GetXDrawPageForSdrPage(), i, basegfx::B2DRange::intersect(), OutputDevice::IntersectClipRegion(), comphelper::LibreOfficeKit::isActive(), vcl::Region::IsEmpty(), isOutputToPrinter(), isOutputToRecordingMetaFile(), pObject, OutputDevice::Pop(), OutputDevice::Push(), sdr::contact::DisplayInfo::SetGhostedDrawMode(), OutputDevice::SetLayoutMode(), basegfx::B2DRange::transform(), TryToGetOutputDevice(), and sdr::contact::ObjectContact::updateViewInformation2D().
Referenced by ProcessDisplay().
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 300 of file objectcontactofpageview.cxx.
Referenced by DoProcessDisplay().
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 306 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(), sdr::contact::ViewObjectContactOfUnoControl_Impl::impl_getPageView_nothrow(), InvalidatePartOfView(), IsGraphicAnimationAllowed(), and IsTextAnimationAllowed().
SdrPage * sdr::contact::ObjectContactOfPageView::GetSdrPage | ( | ) | const |
Definition at line 48 of file objectcontactofpageview.cxx.
Referenced by DoProcessDisplay(), getActiveViewContact(), and ProcessDisplay().
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 334 of file objectcontactofpageview.cxx.
References GetPageWindow(), and SdrPageWindow::InvalidatePageWindow().
|
finaloverridevirtual |
Reimplemented from Timer.
Definition at line 90 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 386 of file objectcontactofpageview.cxx.
References OutputDevice::GetDrawMode(), SdrPaintWindow::GetOutputDevice(), SdrPageWindow::GetPaintWindow(), and mrPageWindow.
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 393 of file objectcontactofpageview.cxx.
References OutputDevice::GetDrawMode(), SdrPaintWindow::GetOutputDevice(), SdrPageWindow::GetPaintWindow(), and mrPageWindow.
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 357 of file objectcontactofpageview.cxx.
References SdrView::getAccessibilityOptions(), SvtAccessibilityOptions::GetIsAllowAnimatedGraphics(), SdrPageWindow::GetPageView(), GetPageWindow(), SdrPageView::GetView(), and utl::ConfigManager::IsFuzzing().
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 380 of file objectcontactofpageview.cxx.
References OutputDevice::GetOutDevType(), SdrPaintWindow::GetOutputDevice(), SdrPageWindow::GetPaintWindow(), mrPageWindow, and OUTDEV_PDF.
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 367 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 373 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 347 of file objectcontactofpageview.cxx.
References SdrView::getAccessibilityOptions(), SvtAccessibilityOptions::GetIsAllowAnimatedText(), SdrPageWindow::GetPageView(), GetPageWindow(), SdrPageView::GetView(), and utl::ConfigManager::IsFuzzing().
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 82 of file objectcontactofpageview.cxx.
References Invoke(), and Task::IsActive().
|
overridevirtual |
Reimplemented from sdr::contact::ObjectContact.
Definition at line 106 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 74 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 422 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 407 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 400 of file objectcontactofpageview.cxx.
References SdrPageWindow::GetPageView(), and mrPageWindow.
|
private |
Definition at line 35 of file objectcontactofpageview.hxx.
Referenced by isDrawModeGray(), isDrawModeHighContrast(), isOutputToPDFFile(), isOutputToPrinter(), isOutputToRecordingMetaFile(), TryToGetOutputDevice(), and TryToGetSdrPageView().