69 const bool bUpdateSelection =
false);
Show previews for all the slides in a document and allow the user to insert or delete slides and modi...
Manage the current slide.
void ReleaseCurrentSlide()
When switching from one slide to a new current slide then this method releases all ties to the old sl...
void AcquireCurrentSlide(const sal_Int32 nSlideIndex)
When switching from one slide to a new current slide then this method connects to the new current sli...
const model::SharedPageDescriptor & GetCurrentSlide() const
Return the page descriptor for the current slide.
void NotifyCurrentSlideChange(const sal_Int32 nSlideIndex)
Call this when the current page of the main view shell has been switched.
void HandleModelChange()
Modify inner state in reaction to a change of the SlideSorterModel.
void SetCurrentSlideAtXController(const model::SharedPageDescriptor &rpSlide)
void SwitchCurrentSlide(const model::SharedPageDescriptor &rpSlide, const bool bUpdateSelection=false)
void SetCurrentSlideAtTabControl(const model::SharedPageDescriptor &rpSlide)
sal_Int32 mnCurrentSlideIndex
void SetCurrentSlideAtViewShellBase(const model::SharedPageDescriptor &rpSlide)
Timer maSwitchPageDelayTimer
Timer to control the delay after which to ask XController/ViewShellBase to switch to another slide.
CurrentSlideManager(SlideSorter &rSlideSorter)
Create a new CurrentSlideManager object that manages the current slide for the given SlideSorter.
void PrepareModelChange()
Release all references to model data.
model::SharedPageDescriptor mpCurrentSlide
void SwitchCurrentSlide(const sal_Int32 nSlideIndex)
Call this method to switch the current page of the main view shell to the given slide.
DECL_LINK(SwitchPageCallback, Timer *, void)
SlideSorter & mrSlideSorter
std::shared_ptr< PageDescriptor > SharedPageDescriptor