22#include <com/sun/star/presentation/XPresentation2.hpp>
23#include <com/sun/star/lang/XServiceInfo.hpp>
40 namespace animations {
56#define PAGE_NO_END 65535
67struct PresentationSettingsEx;
92 const css::uno::Reference< css::drawing::XDrawPage >& xDrawPage,
93 const css::uno::Reference< css::animations::XAnimationNode >& xAnimationNode );
107 const css::uno::Reference< css::drawing::XDrawPage >& xDrawPage,
108 const css::uno::Reference< css::animations::XAnimationNode >& xAnimationNode );
112 virtual void disposing(std::unique_lock<std::mutex>&)
override;
120 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
getPropertySetInfo( )
override;
121 virtual void SAL_CALL
setPropertyValue(
const OUString& aPropertyName,
const css::uno::Any& aValue )
override;
122 virtual css::uno::Any SAL_CALL
getPropertyValue(
const OUString& PropertyName )
override;
123 virtual void SAL_CALL
addPropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
124 virtual void SAL_CALL
removePropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
125 virtual void SAL_CALL
addVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
126 virtual void SAL_CALL
removeVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
129 virtual void SAL_CALL
start( )
override;
130 virtual void SAL_CALL
end()
override;
134 virtual void SAL_CALL
startWithArguments(
const css::uno::Sequence< css::beans::PropertyValue >& Arguments)
override;
136 virtual css::uno::Reference< css::presentation::XSlideShowController > SAL_CALL
getController( )
override;
147 void pause(
bool bPause );
176 DECL_LINK( StartInPlacePresentationConfigurationHdl,
void *,
void );
209namespace slideshowhelp
virtual void disposing(std::unique_lock< std::mutex > &) override
void SetExitAfterPresenting(bool bExit)
static rtl::Reference< SlideShow > Create(SdDrawDocument *pDoc)
used by the model to create a slideshow for it
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
bool mbIsInStartup
This flag is used together with mxController.is() to prevent multiple instances of the slide show for...
void jumpToBookmark(const OUString &sBookmark)
ImplSVEvent * mnInPlaceConfigEvent
virtual sal_Bool SAL_CALL isRunning() override
bool isFullScreen() const
virtual void SAL_CALL start() override
static bool IsRunning(ViewShellBase const &rBase)
returns true if there is a running presentation for the given ViewShellBase
bool swipe(const CommandGestureSwipeData &rSwipeData)
rtl::Reference< SlideshowImpl > mxController
virtual void SAL_CALL end() override
ViewShellBase * mpCurrentViewShellBase
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
static css::uno::Reference< css::presentation::XSlideShowController > GetSlideShowController(ViewShellBase const &rBase)
SlideShow & operator=(const SlideShow &)=delete
std::shared_ptr< PresentationSettingsEx > mxCurrentSettings
SlideShow(const SlideShow &)=delete
void jumpToPageIndex(sal_Int32 nIndex)
bool dependsOn(ViewShellBase const *pViewShellBase)
virtual void SAL_CALL rehearseTimings() override
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
SvxItemPropertySet maPropSet
sal_Int32 getCurrentPageNumber() const
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
void ThrowIfDisposed() const
virtual OUString SAL_CALL getImplementationName() override
WorkWindow * GetWorkWindow()
void StartInPlacePresentationConfigurationCallback()
void startPreview(const css::uno::Reference< css::drawing::XDrawPage > &xDrawPage, const css::uno::Reference< css::animations::XAnimationNode > &xAnimationNode)
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
int getAnimationMode() const
void StartInPlacePresentation()
SlideShow(SdDrawDocument *pDoc)
static sal_Int32 GetDisplay()
convert configuration setting display concept to real screens
void resize(const Size &rSize)
void StartFullscreenPresentation()
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
static void Stop(ViewShellBase const &rBase)
OutputDevice * getShowWindow()
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
bool activate(ViewShellBase &rBase)
virtual css::uno::Reference< css::presentation::XSlideShowController > SAL_CALL getController() override
void jumpToPageNumber(sal_Int32 nPage)
DECL_LINK(StartInPlacePresentationConfigurationHdl, void *, void)
static bool StartPreview(ViewShellBase const &rBase, const css::uno::Reference< css::drawing::XDrawPage > &xDrawPage, const css::uno::Reference< css::animations::XAnimationNode > &xAnimationNode)
static rtl::Reference< SlideShow > GetSlideShow(SdDrawDocument const *pDocument)
void pause(bool bPause)
sets or clears the pause state of the running slideshow.
virtual void SAL_CALL startWithArguments(const css::uno::Sequence< css::beans::PropertyValue > &Arguments) override
bool IsExitAfterPresenting() const
bool longpress(const CommandGestureLongPressData &rLongPressData)
bool keyInput(const KeyEvent &rKEvt)
ViewShellBase * mpFullScreenViewShellBase
FrameView * mpFullScreenFrameView
void CreateController(ViewShell *pViewSh, ::sd::View *pView, vcl::Window *pParentWindow)
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
SfxViewShell descendant that the stacked Draw/Impress shells are based on.
Base class of the stacked shell hierarchy.
SD_DLLPUBLIC void ShowSlideShow(SfxRequest const &rReq, SdDrawDocument &rDoc)
comphelper::WeakComponentImplHelper< css::presentation::XPresentation2, css::lang::XServiceInfo > SlideshowBase