30#include <svx/svxids.hrc>
38using ::sd::framework::FrameworkHelper;
46 mpSlideShow(
std::move(pSlideShow)),
47 mpViewShellBase(pViewShellBase),
50 mnCurrentSlideNumber(0)
74 mpSelf = shared_from_this();
86 if (!mpSlideShow.is())
92 bool bIsExitAfterPresenting = mpSlideShow->IsExitAfterPresenting();
93 mpSlideShow->SetExitAfterPresenting(
false);
95 mpSlideShow->SetExitAfterPresenting(bIsExitAfterPresenting);
107 if (mpViewShellBase ==
nullptr)
110 ::std::shared_ptr<FrameworkHelper> pHelper(
111 FrameworkHelper::Instance(*mpViewShellBase));
112 if (pHelper->GetConfigurationController()->getResource(
116 pHelper->GetConfigurationController());
118 pHelper->RunOnConfigurationEvent(
119 FrameworkHelper::msConfigurationUpdateEndEvent,
121 pHelper->UpdateConfiguration();
const sal_Int16 mnEventId
PropertiesInfo aProperties
static unsigned int GetScreenCount()
static ImplSVEvent * PostUserEvent(const Link< void *, void > &rLink, void *pCaller=nullptr, bool bReferenceLink=false)
const SfxPoolItem * Execute(sal_uInt16 nSlot, SfxCallMode nCall=SfxCallMode::SLOT, const SfxPoolItem **pArgs=nullptr, sal_uInt16 nModi=0, const SfxPoolItem **pInternalArgs=nullptr)
SfxDispatcher * GetDispatcher()
SfxViewFrame & GetViewFrame() const
This class is used when a display is removed or added to restart the slide show.
::rtl::Reference< SlideShow > mpSlideShow
SlideShowRestarter(::rtl::Reference< SlideShow > pSlideShow, ViewShellBase *pViewShellBase)
Create a new SlideShowRestarter object.
void StartPresentation()
Restart the presentation on the slide last shown before the restart was initiated.
virtual ~SlideShowRestarter()
::std::shared_ptr< SlideShowRestarter > mpSelf
sal_Int32 mnCurrentSlideNumber
SfxDispatcher * mpDispatcher
void Restart(bool bForce)
Restarting the slide show is an asynchronous multi step process which is started by calling this meth...
ViewShellBase * mpViewShellBase
SfxViewShell descendant that the stacked Draw/Impress shells are based on.
DrawController * GetDrawController() const
Use this class instead of calling lock() and unlock() directly in order to be exception safe.
#define LINK(Instance, Class, Member)
SfxDispatcher * GetDispatcher()
css::beans::PropertyValue makePropertyValue(const OUString &rName, T &&rValue)
IMPL_LINK_NOARG(MainSequence, onTimerHdl, Timer *, void)
const OUString msFullScreenPaneURL