27#include <com/sun/star/presentation/ClickAction.hpp>
28#include <com/sun/star/presentation/XSlideShowNavigationListener.hpp>
29#include <com/sun/star/presentation/XSlideShowController.hpp>
30#include <com/sun/star/presentation/XShapeEventListener.hpp>
40namespace sd {
class DrawDocShell; }
41namespace sd {
class ViewShell; }
51class AnimationSlideController;
66 void SetArguments(
const css::uno::Sequence< css::beans::PropertyValue >& rArguments );
69 void SetPropertyValue( std::u16string_view rProperty,
const css::uno::Any& rValue );
83 public ::cppu::WeakImplHelper< css::presentation::XSlideShowNavigationListener, css::presentation::XShapeEventListener >
99 virtual void SAL_CALL
beginEvent(
const css::uno::Reference< css::animations::XAnimationNode >&
Node )
override;
100 virtual void SAL_CALL
endEvent(
const css::uno::Reference< css::animations::XAnimationNode >&
Node )
override;
101 virtual void SAL_CALL
repeat(
const css::uno::Reference< css::animations::XAnimationNode >&
Node, ::sal_Int32
Repeat )
override;
104 virtual void SAL_CALL
paused()
override;
105 virtual void SAL_CALL
resumed()
override;
110 virtual void SAL_CALL
hyperLinkClicked(
const OUString & hyperLink)
override;
116 virtual void SAL_CALL
disposing(
const css::lang::EventObject &
Source)
override;
119 virtual void SAL_CALL
click(
const css::uno::Reference< css::drawing::XShape > & xShape,
const css::awt::MouseEvent & aOriginalEvent)
override;
145 virtual ::sal_Int32 SAL_CALL
getPenColor()
override;
146 virtual void SAL_CALL
setPenColor( ::sal_Int32 _pencolor )
override;
148 virtual void SAL_CALL
setPenWidth(
double dStrokeWidth )
override;
153 virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL
getSlideByIndex( ::sal_Int32
Index )
override;
163 virtual void SAL_CALL
gotoSlide(
const css::uno::Reference< css::drawing::XDrawPage >& Page )
override;
165 virtual void SAL_CALL
stopSound( )
override;
166 virtual void SAL_CALL
pause( )
override;
167 virtual void SAL_CALL
resume( )
override;
170 virtual void SAL_CALL
activate( )
override;
173 virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL
getCurrentSlide( )
override;
178 virtual css::uno::Reference< css::presentation::XSlideShow > SAL_CALL
getSlideShow( )
override;
181 virtual ::sal_Int32 SAL_CALL
getCount( )
override;
182 virtual css::uno::Any SAL_CALL
getByIndex( ::sal_Int32
Index )
override;
191 void click(
const css::uno::Reference< css::drawing::XShape > & xShape);
214 virtual void disposing(std::unique_lock<std::mutex>&)
override;
219 const css::uno::Reference< css::drawing::XDrawPage >& xDrawPage,
220 const css::uno::Reference< css::animations::XAnimationNode >& xAnimationNode,
262 const css::uno::Sequence< css::beans::PropertyValue >& aProperties );
275 static css::uno::Reference< css::presentation::XSlideShow >
createSlideShow();
287 css::uno::Reference< css::presentation::XSlideShow >
mxShow;
289 css::uno::Reference< css::frame::XModel >
mxModel;
333 css::uno::Reference< css::media::XPlayer >
mxPlayer;
void addAsSlideShowListener()
void removeShapeEventListener(const css::uno::Reference< css::drawing::XShape > &xShape)
virtual void SAL_CALL disposing(const css::lang::EventObject &Source) override
virtual void SAL_CALL click(const css::uno::Reference< css::drawing::XShape > &xShape, const css::awt::MouseEvent &aOriginalEvent) override
virtual void SAL_CALL slideAnimationsEnded() override
virtual void SAL_CALL slideTransitionEnded() override
virtual void SAL_CALL slideTransitionStarted() override
virtual void SAL_CALL beginEvent(const css::uno::Reference< css::animations::XAnimationNode > &Node) override
rtl::Reference< SlideshowImpl > mxController
virtual void SAL_CALL paused() override
SlideShowListenerProxy(rtl::Reference< SlideshowImpl > xController, css::uno::Reference< css::presentation::XSlideShow > xSlideShow)
virtual ~SlideShowListenerProxy() override
virtual void SAL_CALL slideEnded(sal_Bool bReverse) override
virtual void SAL_CALL resumed() override
void removeSlideShowListener(const css::uno::Reference< css::presentation::XSlideShowListener > &Listener)
virtual void SAL_CALL contextMenuShow(const css::awt::Point &point) override
void addShapeEventListener(const css::uno::Reference< css::drawing::XShape > &xShape)
css::uno::Reference< css::presentation::XSlideShow > mxSlideShow
virtual void SAL_CALL hyperLinkClicked(const OUString &hyperLink) override
virtual void SAL_CALL endEvent(const css::uno::Reference< css::animations::XAnimationNode > &Node) override
virtual void SAL_CALL repeat(const css::uno::Reference< css::animations::XAnimationNode > &Node, ::sal_Int32 Repeat) override
void addSlideShowListener(const css::uno::Reference< css::presentation::XSlideShowListener > &Listener)
::comphelper::OInterfaceContainerHelper4< css::presentation::XSlideShowListener > maListeners
void removeAsSlideShowListener()
virtual void SAL_CALL setPenColor(::sal_Int32 _pencolor) override
void displaySlideIndex(sal_Int32 nIndex)
nSlideIndex == -1 displays current slide again
SlideshowImpl(const css::uno::Reference< css::presentation::XPresentation2 > &xPresentation, ViewShell *pViewSh, ::sd::View *pView, SdDrawDocument *pDoc, vcl::Window *pParentWindow)
::tools::Long getRestoreSlide() const
virtual void SAL_CALL gotoBookmark(const OUString &Bookmark) override
css::uno::Reference< css::animations::XAnimationNode > mxPreviewAnimationNode
DECL_LINK(updateHdl, Timer *, void)
virtual void SAL_CALL removeSlideShowListener(const css::uno::Reference< css::presentation::XSlideShowListener > &Listener) override
void jumpToBookmark(const OUString &sBookmark)
css::uno::Reference< css::presentation::XPresentation2 > mxPresentation
virtual sal_Bool SAL_CALL getAlwaysOnTop() override
::std::unique_ptr< PaneHider > mpPaneHider
::rtl::Reference< SlideShowListenerProxy > mxListenerProxy
ViewShell * getViewShell() const
DECL_LINK(ContextMenuHdl, void *, void)
static void setAutoSaveState(bool bOn)
virtual void SAL_CALL stopSound() override
void displaySlideNumber(sal_Int32 nSlide)
virtual sal_Bool SAL_CALL isActive() override
void registerShapeEvents(css::uno::Reference< css::drawing::XShapes > const &xShapes)
void onFirstPaint()
called only by the slideshow view when the first paint event occurs.
virtual void SAL_CALL blankScreen(::sal_Int32 Color) override
bool startShowImpl(const css::uno::Sequence< css::beans::PropertyValue > &aProperties)
css::uno::Reference< css::drawing::XDrawPage > mxPreviewDrawPage
VclPtr< sd::ShowWindow > mpShowWindow
sal_Int32 getSlideNumberForBookmark(const OUString &rStrBookmark)
virtual sal_Bool SAL_CALL getUsePen() override
::tools::Long mnRestoreSlide
virtual void SAL_CALL gotoNextEffect() override
void registerShapeEvents(sal_Int32 nSlideNumber)
void displayCurrentSlide(const bool bSkipAllMainSequenceEffects=false)
SlideshowImpl(SlideshowImpl const &)=delete
std::shared_ptr< AnimationSlideController > mpSlideController
virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL getSlideByIndex(::sal_Int32 Index) override
VclPtr< ::sd::Window > mpOldActiveWindow
DECL_LINK(ReadyForNextInputHdl, Timer *, void)
virtual void SAL_CALL gotoPreviousEffect() override
static css::uno::Reference< css::presentation::XSlideShow > createSlideShow()
DECL_LINK(EventListenerHdl, VclSimpleEvent &, void)
SfxBindings * getBindings() const
double mdUserPaintStrokeWidth
void resize(const Size &rSize)
ImplSVEvent * mnEndShowEvent
virtual void SAL_CALL setPenWidth(double dStrokeWidth) override
virtual void SAL_CALL setEraseAllInk(sal_Bool bEraseAllInk) override
void mouseButtonUp(const MouseEvent &rMEvt)
void startUpdateTimer()
forces an async call to update in the main thread
virtual sal_Bool SAL_CALL hasElements() override
DECL_LINK(deactivateHdl, Timer *, void)
void hyperLinkClicked(const OUString &hyperLink)
virtual sal_Bool SAL_CALL isEndless() override
virtual css::uno::Reference< css::presentation::XSlideShow > SAL_CALL getSlideShow() override
bool startShow(PresentationSettingsEx const *pPresSettings)
virtual ::sal_Int32 SAL_CALL getCount() override
virtual ::sal_Int32 SAL_CALL getNextSlideIndex() override
virtual void SAL_CALL pause() override
sal_Int32 mnUserPaintColor
virtual void SAL_CALL gotoFirstSlide() override
virtual sal_Bool SAL_CALL isPaused() override
virtual void SAL_CALL activate() override
void endPresentation()
ends the presentation async
virtual void SAL_CALL gotoSlideIndex(::sal_Int32 Index) override
virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL getCurrentSlide() override
bool swipe(const CommandGestureSwipeData &rSwipeData)
void ContextMenuSelectHdl(std::u16string_view rIdent)
void setActiveXToolbarsVisible(bool bVisible)
void slideEnded(const bool bReverse)
rtl::Reference< sd::SlideShowView > mxView
virtual ::sal_Int32 SAL_CALL getSlideCount() override
VclPtr< vcl::Window > mpParentWindow
sal_Int32 getCurrentSlideNumber() const
virtual void SAL_CALL gotoNextSlide() override
std::map< css::uno::Reference< css::drawing::XShape >, WrappedShapeEventImplPtr > maShapeEventMap
void click(const css::uno::Reference< css::drawing::XShape > &xShape)
void createSlideList(bool bAll, std::u16string_view rPresSlide)
virtual ::sal_Int32 SAL_CALL getPenColor() override
bool isInputFreezed() const
virtual void SAL_CALL gotoLastSlide() override
SfxViewFrame * getViewFrame() const
virtual void SAL_CALL gotoPreviousSlide() override
virtual sal_Bool SAL_CALL isRunning() override
virtual css::uno::Type SAL_CALL getElementType() override
virtual ::sal_Int32 SAL_CALL getCurrentSlideIndex() override
virtual void SAL_CALL resume() override
virtual void SAL_CALL setUsePen(sal_Bool _usepen) override
css::uno::Reference< css::presentation::XSlideShow > mxShow
Link< StarBASIC *, bool > maStarBASICGlobalErrorHdl
bool keyInput(const KeyEvent &rKEvt)
AnimationMode meAnimationMode
virtual double SAL_CALL getPenWidth() override
virtual sal_Bool SAL_CALL getMouseVisible() override
virtual void SAL_CALL setAlwaysOnTop(sal_Bool _alwaysontop) override
virtual void SAL_CALL deactivate() override
bool startPreview(const css::uno::Reference< css::drawing::XDrawPage > &xDrawPage, const css::uno::Reference< css::animations::XAnimationNode > &xAnimationNode, vcl::Window *pParent)
bool longpress(const CommandGestureLongPressData &rLongPressData)
PresentationSettings maPresSettings
SfxDispatcher * getDispatcher() const
ImplSVEvent * mnContextMenuEvent
virtual void SAL_CALL addSlideShowListener(const css::uno::Reference< css::presentation::XSlideShowListener > &Listener) override
virtual void disposing(std::unique_lock< std::mutex > &) override
virtual void SAL_CALL gotoSlide(const css::uno::Reference< css::drawing::XDrawPage > &Page) override
css::uno::Reference< css::frame::XModel > mxModel
virtual ~SlideshowImpl() override
virtual void SAL_CALL setMouseVisible(sal_Bool _mousevisible) override
::tools::ULong mnChildMask
void updateSlideShow()
Called by our maUpdateTimer's updateHdl handler this method is responsible to call the slideshow upda...
css::uno::Reference< css::media::XPlayer > mxPlayer
DECL_LINK(endPresentationHdl, void *, void)
virtual css::uno::Any SAL_CALL getByIndex(::sal_Int32 Index) override
void contextMenuShow(const css::awt::Point &point)
virtual sal_Bool SAL_CALL isFullScreen() override
void operator=(SlideshowImpl const &)=delete
Base class of the stacked shell hierarchy.
comphelper::WeakComponentImplHelper< css::presentation::XSlideShowController, css::container::XIndexAccess > SlideshowImplBase
std::shared_ptr< WrappedShapeEventImpl > WrappedShapeEventImplPtr
void SetArguments(const css::uno::Sequence< css::beans::PropertyValue > &rArguments)
css::uno::Reference< css::animations::XAnimationNode > mxAnimationNode
void SetPropertyValue(std::u16string_view rProperty, const css::uno::Any &rValue)
PresentationSettingsEx(const PresentationSettingsEx &)
css::uno::Reference< css::drawing::XDrawPage > mxStartPage
VclPtr< vcl::Window > mpParentWindow
css::presentation::ClickAction meClickAction
Reference< XController > xController