LibreOffice Module sd (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
sd::SlideShowView Class Referencefinal

#include <slideshowviewimpl.hxx>

Inheritance diagram for sd::SlideShowView:
[legend]
Collaboration diagram for sd::SlideShowView:
[legend]

Public Member Functions

 SlideShowView (ShowWindow &rOutputWindow, SdDrawDocument *pDoc, AnimationMode eAnimationMode, SlideshowImpl *pSlideShow, bool bFullScreen)
 
void ignoreNextMouseReleased ()
 
virtual void disposing (std::unique_lock< std::mutex > &) override
 Dispose all internal references. More...
 
virtual void SAL_CALL disposing (const css::lang::EventObject &) override
 Disposing our broadcaster. More...
 
void paint (const css::awt::PaintEvent &e)
 
virtual css::uno::Reference< css::rendering::XSpriteCanvas > SAL_CALL getCanvas () override
 
virtual void SAL_CALL clear () override
 
virtual css::geometry::AffineMatrix2D SAL_CALL getTransformation () override
 
virtual css::geometry::IntegerSize2D SAL_CALL getTranslationOffset () override
 
virtual void SAL_CALL addTransformationChangedListener (const css::uno::Reference< css::util::XModifyListener > &xListener) override
 
virtual void SAL_CALL removeTransformationChangedListener (const css::uno::Reference< css::util::XModifyListener > &xListener) override
 
virtual void SAL_CALL addPaintListener (const css::uno::Reference< css::awt::XPaintListener > &xListener) override
 
virtual void SAL_CALL removePaintListener (const css::uno::Reference< css::awt::XPaintListener > &xListener) override
 
virtual void SAL_CALL addMouseListener (const css::uno::Reference< css::awt::XMouseListener > &xListener) override
 
virtual void SAL_CALL removeMouseListener (const css::uno::Reference< css::awt::XMouseListener > &xListener) override
 
virtual void SAL_CALL addMouseMotionListener (const css::uno::Reference< css::awt::XMouseMotionListener > &xListener) override
 
virtual void SAL_CALL removeMouseMotionListener (const css::uno::Reference< css::awt::XMouseMotionListener > &xListener) override
 
virtual void SAL_CALL setMouseCursor (sal_Int16 nPointerShape) override
 
virtual css::awt::Rectangle SAL_CALL getCanvasArea () override
 
virtual void SAL_CALL windowResized (const css::awt::WindowEvent &e) override
 
virtual void SAL_CALL windowMoved (const css::awt::WindowEvent &e) override
 
virtual void SAL_CALL windowShown (const css::lang::EventObject &e) override
 
virtual void SAL_CALL windowHidden (const css::lang::EventObject &e) override
 
virtual void SAL_CALL mousePressed (const css::awt::MouseEvent &e) override
 
virtual void SAL_CALL mouseReleased (const css::awt::MouseEvent &e) override
 
virtual void SAL_CALL mouseEntered (const css::awt::MouseEvent &e) override
 
virtual void SAL_CALL mouseExited (const css::awt::MouseEvent &e) override
 
virtual void SAL_CALL mouseDragged (const css::awt::MouseEvent &e) override
 
virtual void SAL_CALL mouseMoved (const css::awt::MouseEvent &e) override
 
- Public Member Functions inherited from comphelper::WeakComponentImplHelper< typename... Ifc >
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual void SAL_CALL dispose () noexcept final override
 
virtual void SAL_CALL addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override
 
virtual void SAL_CALL removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
- Public Member Functions inherited from comphelper::WeakComponentImplHelperBase
virtual ~WeakComponentImplHelperBase () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override
 
virtual void SAL_CALL removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) override
 
virtual void disposing (std::unique_lock< std::mutex > &)
 
- Public Member Functions inherited from comphelper::UnoImplBase
virtual ~UnoImplBase ()
 

Protected Member Functions

virtual ~SlideShowView () override
 
- Protected Member Functions inherited from comphelper::WeakComponentImplHelperBase
void throwIfDisposed (std::unique_lock< std::mutex > &)
 

Private Member Functions

void updateimpl (std::unique_lock< std::mutex > &rGuard, SlideshowImpl *pSlideShow)
 
void disposingImpl (std::unique_lock< std::mutex > &)
 

Private Attributes

::cppcanvas::SpriteCanvasSharedPtr mpCanvas
 
css::uno::Reference< css::awt::XWindow > mxWindow
 
css::uno::Reference< css::awt::XWindowPeer > mxWindowPeer
 
css::uno::Reference< css::awt::XPointer > mxPointer
 
SlideshowImplmpSlideShow
 
ShowWindowmrOutputWindow
 
std::vector< css::uno::WeakReference< css::util::XModifyListener > > maViewListeners
 
SlideShowViewPaintListeners maPaintListeners
 
SlideShowViewMouseListeners maMouseListeners
 
SlideShowViewMouseMotionListeners maMouseMotionListeners
 
SdDrawDocumentmpDoc
 
bool mbIsMouseMotionListener
 
AnimationMode meAnimationMode
 
bool mbFirstPaint
 
bool mbMousePressedEaten
 
css::geometry::IntegerSize2D mTranslationOffset
 

Additional Inherited Members

- Protected Attributes inherited from comphelper::WeakComponentImplHelperBase
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > maEventListeners
 
- Protected Attributes inherited from comphelper::UnoImplBase
std::mutex m_aMutex
 
bool m_bDisposed
 

Detailed Description

Definition at line 101 of file slideshowviewimpl.hxx.

Constructor & Destructor Documentation

◆ SlideShowView()

sd::SlideShowView::SlideShowView ( ShowWindow rOutputWindow,
SdDrawDocument pDoc,
AnimationMode  eAnimationMode,
SlideshowImpl pSlideShow,
bool  bFullScreen 
)

◆ ~SlideShowView()

virtual sd::SlideShowView::~SlideShowView ( )
inlineoverrideprotectedvirtual

Definition at line 154 of file slideshowviewimpl.hxx.

Member Function Documentation

◆ addMouseListener()

void SAL_CALL sd::SlideShowView::addMouseListener ( const css::uno::Reference< css::awt::XMouseListener > &  xListener)
overridevirtual

◆ addMouseMotionListener()

void SAL_CALL sd::SlideShowView::addMouseMotionListener ( const css::uno::Reference< css::awt::XMouseMotionListener > &  xListener)
overridevirtual

◆ addPaintListener()

void SAL_CALL sd::SlideShowView::addPaintListener ( const css::uno::Reference< css::awt::XPaintListener > &  xListener)
overridevirtual

◆ addTransformationChangedListener()

void SAL_CALL sd::SlideShowView::addTransformationChangedListener ( const css::uno::Reference< css::util::XModifyListener > &  xListener)
overridevirtual

◆ clear()

void SAL_CALL sd::SlideShowView::clear ( )
overridevirtual

◆ disposing() [1/2]

virtual void SAL_CALL sd::SlideShowView::disposing ( const css::lang::EventObject &  )
overridevirtual

Disposing our broadcaster.

◆ disposing() [2/2]

void sd::SlideShowView::disposing ( std::unique_lock< std::mutex > &  rGuard)
overridevirtual

Dispose all internal references.

Reimplemented from comphelper::WeakComponentImplHelperBase.

Definition at line 143 of file slideshowviewimpl.cxx.

References disposingImpl(), mbIsMouseMotionListener, mpCanvas, mpSlideShow, and mxWindow.

◆ disposingImpl()

void sd::SlideShowView::disposingImpl ( std::unique_lock< std::mutex > &  rGuard)
private

◆ getCanvas()

Reference< rendering::XSpriteCanvas > SAL_CALL sd::SlideShowView::getCanvas ( )
overridevirtual

Definition at line 231 of file slideshowviewimpl.cxx.

References comphelper::UnoImplBase::m_aMutex, and mpCanvas.

Referenced by SlideShowView().

◆ getCanvasArea()

awt::Rectangle SAL_CALL sd::SlideShowView::getCanvasArea ( )
overridevirtual

Definition at line 421 of file slideshowviewimpl.cxx.

References mxWindow.

◆ getTransformation()

geometry::AffineMatrix2D SAL_CALL sd::SlideShowView::getTransformation ( )
overridevirtual

◆ getTranslationOffset()

geometry::IntegerSize2D SAL_CALL sd::SlideShowView::getTranslationOffset ( )
overridevirtual

Definition at line 262 of file slideshowviewimpl.cxx.

References mTranslationOffset.

◆ ignoreNextMouseReleased()

void sd::SlideShowView::ignoreNextMouseReleased ( )
inline

Definition at line 110 of file slideshowviewimpl.hxx.

References mbMousePressedEaten.

◆ mouseDragged()

void SAL_CALL sd::SlideShowView::mouseDragged ( const css::awt::MouseEvent &  e)
overridevirtual

◆ mouseEntered()

void SAL_CALL sd::SlideShowView::mouseEntered ( const css::awt::MouseEvent &  e)
overridevirtual

◆ mouseExited()

void SAL_CALL sd::SlideShowView::mouseExited ( const css::awt::MouseEvent &  e)
overridevirtual

◆ mouseMoved()

void SAL_CALL sd::SlideShowView::mouseMoved ( const css::awt::MouseEvent &  e)
overridevirtual

◆ mousePressed()

void SAL_CALL sd::SlideShowView::mousePressed ( const css::awt::MouseEvent &  e)
overridevirtual

◆ mouseReleased()

void SAL_CALL sd::SlideShowView::mouseReleased ( const css::awt::MouseEvent &  e)
overridevirtual

◆ paint()

void sd::SlideShowView::paint ( const css::awt::PaintEvent &  e)

◆ removeMouseListener()

void SAL_CALL sd::SlideShowView::removeMouseListener ( const css::uno::Reference< css::awt::XMouseListener > &  xListener)
overridevirtual

◆ removeMouseMotionListener()

void SAL_CALL sd::SlideShowView::removeMouseMotionListener ( const css::uno::Reference< css::awt::XMouseMotionListener > &  xListener)
overridevirtual

◆ removePaintListener()

void SAL_CALL sd::SlideShowView::removePaintListener ( const css::uno::Reference< css::awt::XPaintListener > &  xListener)
overridevirtual

◆ removeTransformationChangedListener()

void SAL_CALL sd::SlideShowView::removeTransformationChangedListener ( const css::uno::Reference< css::util::XModifyListener > &  xListener)
overridevirtual

◆ setMouseCursor()

void SAL_CALL sd::SlideShowView::setMouseCursor ( sal_Int16  nPointerShape)
overridevirtual

Definition at line 409 of file slideshowviewimpl.cxx.

References comphelper::UnoImplBase::m_aMutex, mxPointer, and mxWindowPeer.

◆ updateimpl()

void sd::SlideShowView::updateimpl ( std::unique_lock< std::mutex > &  rGuard,
SlideshowImpl pSlideShow 
)
private

◆ windowHidden()

void SAL_CALL sd::SlideShowView::windowHidden ( const css::lang::EventObject &  e)
overridevirtual

Definition at line 498 of file slideshowviewimpl.cxx.

◆ windowMoved()

void SAL_CALL sd::SlideShowView::windowMoved ( const css::awt::WindowEvent &  e)
overridevirtual

Definition at line 488 of file slideshowviewimpl.cxx.

◆ windowResized()

void SAL_CALL sd::SlideShowView::windowResized ( const css::awt::WindowEvent &  e)
overridevirtual

◆ windowShown()

void SAL_CALL sd::SlideShowView::windowShown ( const css::lang::EventObject &  e)
overridevirtual

Definition at line 493 of file slideshowviewimpl.cxx.

Member Data Documentation

◆ maMouseListeners

SlideShowViewMouseListeners sd::SlideShowView::maMouseListeners
private

◆ maMouseMotionListeners

SlideShowViewMouseMotionListeners sd::SlideShowView::maMouseMotionListeners
private

◆ maPaintListeners

SlideShowViewPaintListeners sd::SlideShowView::maPaintListeners
private

Definition at line 169 of file slideshowviewimpl.hxx.

Referenced by addPaintListener(), disposingImpl(), paint(), and removePaintListener().

◆ maViewListeners

std::vector< css::uno::WeakReference< css::util::XModifyListener > > sd::SlideShowView::maViewListeners
private

◆ mbFirstPaint

bool sd::SlideShowView::mbFirstPaint
private

Definition at line 175 of file slideshowviewimpl.hxx.

Referenced by paint(), and updateimpl().

◆ mbIsMouseMotionListener

bool sd::SlideShowView::mbIsMouseMotionListener
private

Definition at line 173 of file slideshowviewimpl.hxx.

Referenced by addMouseMotionListener(), and disposing().

◆ mbMousePressedEaten

bool sd::SlideShowView::mbMousePressedEaten
private

Definition at line 176 of file slideshowviewimpl.hxx.

Referenced by ignoreNextMouseReleased(), mousePressed(), and mouseReleased().

◆ meAnimationMode

AnimationMode sd::SlideShowView::meAnimationMode
private

Definition at line 174 of file slideshowviewimpl.hxx.

Referenced by getTransformation().

◆ mpCanvas

::cppcanvas::SpriteCanvasSharedPtr sd::SlideShowView::mpCanvas
private

Definition at line 161 of file slideshowviewimpl.hxx.

Referenced by clear(), disposing(), and getCanvas().

◆ mpDoc

SdDrawDocument* sd::SlideShowView::mpDoc
private

Definition at line 172 of file slideshowviewimpl.hxx.

Referenced by getTransformation().

◆ mpSlideShow

SlideshowImpl* sd::SlideShowView::mpSlideShow
private

◆ mrOutputWindow

ShowWindow& sd::SlideShowView::mrOutputWindow
private

Definition at line 166 of file slideshowviewimpl.hxx.

Referenced by clear(), and getTransformation().

◆ mTranslationOffset

css::geometry::IntegerSize2D sd::SlideShowView::mTranslationOffset
private

Definition at line 177 of file slideshowviewimpl.hxx.

Referenced by getTransformation(), getTranslationOffset(), and SlideShowView().

◆ mxPointer

css::uno::Reference< css::awt::XPointer > sd::SlideShowView::mxPointer
private

Definition at line 164 of file slideshowviewimpl.hxx.

Referenced by setMouseCursor(), and SlideShowView().

◆ mxWindow

css::uno::Reference< css::awt::XWindow > sd::SlideShowView::mxWindow
private

◆ mxWindowPeer

css::uno::Reference< css::awt::XWindowPeer > sd::SlideShowView::mxWindowPeer
private

Definition at line 163 of file slideshowviewimpl.hxx.

Referenced by setMouseCursor().


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