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

#include <slideshowimpl.hxx>

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

Public Member Functions

 SlideshowImpl (const css::uno::Reference< css::presentation::XPresentation2 > &xPresentation, ViewShell *pViewSh, ::sd::View *pView, SdDrawDocument *pDoc, vcl::Window *pParentWindow)
 
virtual sal_Bool SAL_CALL getAlwaysOnTop () override
 
virtual void SAL_CALL setAlwaysOnTop (sal_Bool _alwaysontop) override
 
virtual sal_Bool SAL_CALL getMouseVisible () override
 
virtual void SAL_CALL setMouseVisible (sal_Bool _mousevisible) override
 
virtual sal_Bool SAL_CALL getUsePen () override
 
virtual void SAL_CALL setUsePen (sal_Bool _usepen) override
 
virtual ::sal_Int32 SAL_CALL getPenColor () override
 
virtual void SAL_CALL setPenColor (::sal_Int32 _pencolor) override
 
virtual double SAL_CALL getPenWidth () override
 
virtual void SAL_CALL setPenWidth (double dStrokeWidth) override
 
virtual void SAL_CALL setEraseAllInk (sal_Bool bEraseAllInk) override
 
virtual sal_Bool SAL_CALL isRunning () override
 
virtual ::sal_Int32 SAL_CALL getSlideCount () override
 
virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL getSlideByIndex (::sal_Int32 Index) override
 
virtual void SAL_CALL addSlideShowListener (const css::uno::Reference< css::presentation::XSlideShowListener > &Listener) override
 
virtual void SAL_CALL removeSlideShowListener (const css::uno::Reference< css::presentation::XSlideShowListener > &Listener) override
 
virtual void SAL_CALL gotoNextEffect () override
 
virtual void SAL_CALL gotoPreviousEffect () override
 
virtual void SAL_CALL gotoFirstSlide () override
 
virtual void SAL_CALL gotoNextSlide () override
 
virtual void SAL_CALL gotoPreviousSlide () override
 
virtual void SAL_CALL gotoLastSlide () override
 
virtual void SAL_CALL gotoBookmark (const OUString &Bookmark) override
 
virtual void SAL_CALL gotoSlide (const css::uno::Reference< css::drawing::XDrawPage > &Page) override
 
virtual void SAL_CALL gotoSlideIndex (::sal_Int32 Index) override
 
virtual void SAL_CALL stopSound () override
 
virtual void SAL_CALL pause () override
 
virtual void SAL_CALL resume () override
 
virtual sal_Bool SAL_CALL isPaused () override
 
virtual void SAL_CALL blankScreen (::sal_Int32 Color) override
 
virtual void SAL_CALL activate () override
 
virtual void SAL_CALL deactivate () override
 
virtual sal_Bool SAL_CALL isActive () override
 
virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL getCurrentSlide () override
 
virtual ::sal_Int32 SAL_CALL getCurrentSlideIndex () override
 
virtual ::sal_Int32 SAL_CALL getNextSlideIndex () override
 
virtual sal_Bool SAL_CALL isEndless () override
 
virtual sal_Bool SAL_CALL isFullScreen () override
 
virtual css::uno::Reference< css::presentation::XSlideShow > SAL_CALL getSlideShow () override
 
virtual ::sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (::sal_Int32 Index) override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
void slideEnded (const bool bReverse)
 
void contextMenuShow (const css::awt::Point &point)
 
void hyperLinkClicked (const OUString &hyperLink)
 
void click (const css::uno::Reference< css::drawing::XShape > &xShape)
 
bool swipe (const CommandGestureSwipeData &rSwipeData)
 
bool longpress (const CommandGestureLongPressData &rLongPressData)
 
void endPresentation ()
 ends the presentation async More...
 
ViewShellgetViewShell () const
 
void paint ()
 
bool keyInput (const KeyEvent &rKEvt)
 
void mouseButtonUp (const MouseEvent &rMEvt)
 
- 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 ()
 

Private Member Functions

 SlideshowImpl (SlideshowImpl const &)=delete
 
void operator= (SlideshowImpl const &)=delete
 
virtual ~SlideshowImpl () override
 
virtual void disposing (std::unique_lock< std::mutex > &) override
 
bool startShow (PresentationSettingsEx const *pPresSettings)
 
bool startPreview (const css::uno::Reference< css::drawing::XDrawPage > &xDrawPage, const css::uno::Reference< css::animations::XAnimationNode > &xAnimationNode, vcl::Window *pParent)
 
void startUpdateTimer ()
 forces an async call to update in the main thread More...
 
void update ()
 
void createSlideList (bool bAll, std::u16string_view rPresSlide)
 
void displayCurrentSlide (const bool bSkipAllMainSequenceEffects=false)
 
void displaySlideNumber (sal_Int32 nSlide)
 
void displaySlideIndex (sal_Int32 nIndex)
 nSlideIndex == -1 displays current slide again More...
 
sal_Int32 getCurrentSlideNumber () const
 
bool isInputFreezed () const
 
void jumpToBookmark (const OUString &sBookmark)
 
void hideChildWindows ()
 
void showChildWindows ()
 
void resize (const Size &rSize)
 
void setActiveXToolbarsVisible (bool bVisible)
 
 DECL_LINK (updateHdl, Timer *, void)
 
 DECL_LINK (ReadyForNextInputHdl, Timer *, void)
 
 DECL_LINK (endPresentationHdl, void *, void)
 
void ContextMenuSelectHdl (std::u16string_view rIdent)
 
 DECL_LINK (ContextMenuHdl, void *, void)
 
 DECL_LINK (deactivateHdl, Timer *, void)
 
 DECL_LINK (EventListenerHdl, VclSimpleEvent &, void)
 
void onFirstPaint ()
 called only by the slideshow view when the first paint event occurs. More...
 
::tools::Long getRestoreSlide () const
 
bool startShowImpl (const css::uno::Sequence< css::beans::PropertyValue > &aProperties)
 
SfxViewFramegetViewFrame () const
 
SfxDispatchergetDispatcher () const
 
SfxBindingsgetBindings () const
 
sal_Int32 getSlideNumberForBookmark (const OUString &rStrBookmark)
 
void removeShapeEvents ()
 
void registerShapeEvents (sal_Int32 nSlideNumber)
 
void registerShapeEvents (css::uno::Reference< css::drawing::XShapes > const &xShapes)
 
void gotoPreviousSlide (const bool bSkipAllMainSequenceEffects)
 
void updateSlideShow ()
 Called by our maUpdateTimer's updateHdl handler this method is responsible to call the slideshow update() method and, depending on its return value, wait for a certain amount of time before another call to update() is scheduled. More...
 

Static Private Member Functions

static css::uno::Reference< css::presentation::XSlideShow > createSlideShow ()
 
static void setAutoSaveState (bool bOn)
 

Private Attributes

css::uno::Reference< css::presentation::XSlideShow > mxShow
 
rtl::Reference< sd::SlideShowViewmxView
 
css::uno::Reference< css::frame::XModel > mxModel
 
Timer maUpdateTimer
 
Timer maInputFreezeTimer
 
Timer maDeactivateTimer
 
::sd::ViewmpView
 
ViewShellmpViewShell
 
DrawDocShellmpDocSh
 
SdDrawDocumentmpDoc
 
VclPtr< vcl::WindowmpParentWindow
 
VclPtr< sd::ShowWindowmpShowWindow
 
std::shared_ptr< AnimationSlideControllermpSlideController
 
::tools::Long mnRestoreSlide
 
Point maPopupMousePos
 
Size maPresSize
 
AnimationMode meAnimationMode
 
OUString maCharBuffer
 
VclPtr< ::sd::WindowmpOldActiveWindow
 
Link< StarBASIC *, bool > maStarBASICGlobalErrorHdl
 
::tools::ULong mnChildMask
 
bool mbDisposed
 
bool mbAutoSaveWasOn
 
bool mbRehearseTimings
 
bool mbIsPaused
 
bool mbWasPaused
 
bool mbInputFreeze
 
bool mbActive
 
PresentationSettings maPresSettings
 
sal_Int32 mnUserPaintColor
 
bool mbUsePen
 
double mdUserPaintStrokeWidth
 
std::map< css::uno::Reference< css::drawing::XShape >, WrappedShapeEventImplPtrmaShapeEventMap
 
css::uno::Reference< css::drawing::XDrawPage > mxPreviewDrawPage
 
css::uno::Reference< css::animations::XAnimationNode > mxPreviewAnimationNode
 
css::uno::Reference< css::media::XPlayer > mxPlayer
 
::std::unique_ptr< PaneHidermpPaneHider
 
ImplSVEventmnEndShowEvent
 
ImplSVEventmnContextMenuEvent
 
css::uno::Reference< css::presentation::XPresentation2 > mxPresentation
 
::rtl::Reference< SlideShowListenerProxymxListenerProxy
 

Friends

class SlideShow
 
class SlideShowView
 

Additional Inherited Members

- Protected Member Functions inherited from comphelper::WeakComponentImplHelperBase
void throwIfDisposed (std::unique_lock< std::mutex > &)
 
- 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 130 of file slideshowimpl.hxx.

Constructor & Destructor Documentation

◆ SlideshowImpl() [1/2]

sd::SlideshowImpl::SlideshowImpl ( const css::uno::Reference< css::presentation::XPresentation2 > &  xPresentation,
ViewShell pViewSh,
::sd::View pView,
SdDrawDocument pDoc,
vcl::Window pParentWindow 
)
explicit

◆ SlideshowImpl() [2/2]

sd::SlideshowImpl::SlideshowImpl ( SlideshowImpl const &  )
privatedelete

◆ ~SlideshowImpl()

sd::SlideshowImpl::~SlideshowImpl ( )
overrideprivatevirtual

Member Function Documentation

◆ activate()

void SAL_CALL sd::SlideshowImpl::activate ( )
overridevirtual

◆ addSlideShowListener()

void SAL_CALL sd::SlideshowImpl::addSlideShowListener ( const css::uno::Reference< css::presentation::XSlideShowListener > &  Listener)
overridevirtual

Definition at line 1169 of file slideshowimpl.cxx.

◆ blankScreen()

void SAL_CALL sd::SlideshowImpl::blankScreen ( ::sal_Int32  Color)
overridevirtual

Definition at line 1453 of file slideshowimpl.cxx.

References ColorTransparency.

◆ click()

void sd::SlideshowImpl::click ( const css::uno::Reference< css::drawing::XShape > &  xShape)

◆ ContextMenuSelectHdl()

void sd::SlideshowImpl::ContextMenuSelectHdl ( std::u16string_view  rIdent)
private

◆ contextMenuShow()

void sd::SlideshowImpl::contextMenuShow ( const css::awt::Point &  point)

Definition at line 1615 of file slideshowimpl.cxx.

References LINK, point(), and Application::PostUserEvent().

◆ createSlideList()

void sd::SlideshowImpl::createSlideList ( bool  bAll,
std::u16string_view  rPresSlide 
)
private

◆ createSlideShow()

Reference< XSlideShow > sd::SlideshowImpl::createSlideShow ( )
staticprivate

Definition at line 2240 of file slideshowimpl.cxx.

References TOOLS_WARN_EXCEPTION.

◆ deactivate()

void SAL_CALL sd::SlideshowImpl::deactivate ( )
overridevirtual

Definition at line 2506 of file slideshowimpl.cxx.

References mbActive.

◆ DECL_LINK() [1/6]

sd::SlideshowImpl::DECL_LINK ( ContextMenuHdl  ,
void *  ,
void   
)
private

◆ DECL_LINK() [2/6]

sd::SlideshowImpl::DECL_LINK ( deactivateHdl  ,
Timer ,
void   
)
private

◆ DECL_LINK() [3/6]

sd::SlideshowImpl::DECL_LINK ( endPresentationHdl  ,
void *  ,
void   
)
private

◆ DECL_LINK() [4/6]

sd::SlideshowImpl::DECL_LINK ( EventListenerHdl  ,
VclSimpleEvent ,
void   
)
private

◆ DECL_LINK() [5/6]

sd::SlideshowImpl::DECL_LINK ( ReadyForNextInputHdl  ,
Timer ,
void   
)
private

◆ DECL_LINK() [6/6]

sd::SlideshowImpl::DECL_LINK ( updateHdl  ,
Timer ,
void   
)
private

◆ displayCurrentSlide()

void sd::SlideshowImpl::displayCurrentSlide ( const bool  bSkipAllMainSequenceEffects = false)
private

Definition at line 1345 of file slideshowimpl.cxx.

References update().

◆ displaySlideIndex()

void sd::SlideshowImpl::displaySlideIndex ( sal_Int32  nIndex)
private

nSlideIndex == -1 displays current slide again

Definition at line 1649 of file slideshowimpl.cxx.

◆ displaySlideNumber()

void sd::SlideshowImpl::displaySlideNumber ( sal_Int32  nSlide)
private

Definition at line 1637 of file slideshowimpl.cxx.

◆ disposing()

void sd::SlideshowImpl::disposing ( std::unique_lock< std::mutex > &  )
overrideprivatevirtual

◆ endPresentation()

void sd::SlideshowImpl::endPresentation ( )

ends the presentation async

Definition at line 1368 of file slideshowimpl.cxx.

References LINK, and Application::PostUserEvent().

◆ getAlwaysOnTop()

sal_Bool SAL_CALL sd::SlideshowImpl::getAlwaysOnTop ( )
overridevirtual

Definition at line 2615 of file slideshowimpl.cxx.

◆ getBindings()

SfxBindings * sd::SlideshowImpl::getBindings ( ) const
private

Definition at line 2409 of file slideshowimpl.cxx.

◆ getByIndex()

css::uno::Any SAL_CALL sd::SlideshowImpl::getByIndex ( ::sal_Int32  Index)
overridevirtual

Definition at line 3034 of file slideshowimpl.cxx.

References Any.

◆ getCount()

sal_Int32 SAL_CALL sd::SlideshowImpl::getCount ( )
override

Definition at line 3029 of file slideshowimpl.cxx.

◆ getCurrentSlide()

Reference< XDrawPage > SAL_CALL sd::SlideshowImpl::getCurrentSlide ( )
overridevirtual

Definition at line 2565 of file slideshowimpl.cxx.

◆ getCurrentSlideIndex()

sal_Int32 SAL_CALL sd::SlideshowImpl::getCurrentSlideIndex ( )
override

Definition at line 2594 of file slideshowimpl.cxx.

◆ getCurrentSlideNumber()

sal_Int32 sd::SlideshowImpl::getCurrentSlideNumber ( ) const
private

Definition at line 1667 of file slideshowimpl.cxx.

◆ getDispatcher()

SfxDispatcher * sd::SlideshowImpl::getDispatcher ( ) const
private

Definition at line 2404 of file slideshowimpl.cxx.

◆ getElementType()

css::uno::Type SAL_CALL sd::SlideshowImpl::getElementType ( )
overridevirtual

Definition at line 3039 of file slideshowimpl.cxx.

References cppu::UnoType< typename T >::get().

◆ getMouseVisible()

sal_Bool SAL_CALL sd::SlideshowImpl::getMouseVisible ( )
overridevirtual

Definition at line 2637 of file slideshowimpl.cxx.

◆ getNextSlideIndex()

sal_Int32 SAL_CALL sd::SlideshowImpl::getNextSlideIndex ( )
override

Definition at line 2580 of file slideshowimpl.cxx.

◆ getPenColor()

sal_Int32 SAL_CALL sd::SlideshowImpl::getPenColor ( )
override

Definition at line 2712 of file slideshowimpl.cxx.

◆ getPenWidth()

double SAL_CALL sd::SlideshowImpl::getPenWidth ( )
overridevirtual

Definition at line 2699 of file slideshowimpl.cxx.

References mdUserPaintStrokeWidth.

◆ getRestoreSlide()

::tools::Long sd::SlideshowImpl::getRestoreSlide ( ) const
inlineprivate

Definition at line 258 of file slideshowimpl.hxx.

References mnRestoreSlide.

◆ getSlideByIndex()

Reference< XDrawPage > SAL_CALL sd::SlideshowImpl::getSlideByIndex ( ::sal_Int32  Index)
overridevirtual

Definition at line 2606 of file slideshowimpl.cxx.

◆ getSlideCount()

sal_Int32 SAL_CALL sd::SlideshowImpl::getSlideCount ( )
override

Definition at line 2601 of file slideshowimpl.cxx.

◆ getSlideNumberForBookmark()

sal_Int32 sd::SlideshowImpl::getSlideNumberForBookmark ( const OUString &  rStrBookmark)
private

◆ getSlideShow()

Reference< XSlideShow > SAL_CALL sd::SlideshowImpl::getSlideShow ( )
overridevirtual

Definition at line 3049 of file slideshowimpl.cxx.

◆ getUsePen()

sal_Bool SAL_CALL sd::SlideshowImpl::getUsePen ( )
overridevirtual

Definition at line 2654 of file slideshowimpl.cxx.

◆ getViewFrame()

SfxViewFrame * sd::SlideshowImpl::getViewFrame ( ) const
private

Definition at line 2399 of file slideshowimpl.cxx.

◆ getViewShell()

ViewShell * sd::SlideshowImpl::getViewShell ( ) const
inline

Definition at line 198 of file slideshowimpl.hxx.

References mpViewShell.

◆ gotoBookmark()

void SAL_CALL sd::SlideshowImpl::gotoBookmark ( const OUString &  Bookmark)
overridevirtual

Definition at line 2967 of file slideshowimpl.cxx.

◆ gotoFirstSlide()

void SAL_CALL sd::SlideshowImpl::gotoFirstSlide ( )
overridevirtual

Definition at line 2799 of file slideshowimpl.cxx.

References sd::SHOWWINDOWMODE_END.

◆ gotoLastSlide()

void SAL_CALL sd::SlideshowImpl::gotoLastSlide ( )
overridevirtual

Definition at line 2943 of file slideshowimpl.cxx.

References sd::SHOWWINDOWMODE_END.

◆ gotoNextEffect()

void SAL_CALL sd::SlideshowImpl::gotoNextEffect ( )
overridevirtual

◆ gotoNextSlide()

void SAL_CALL sd::SlideshowImpl::gotoNextSlide ( )
overridevirtual

◆ gotoPreviousEffect()

void SAL_CALL sd::SlideshowImpl::gotoPreviousEffect ( )
overridevirtual

◆ gotoPreviousSlide() [1/2]

void SAL_CALL sd::SlideshowImpl::gotoPreviousSlide ( )
overridevirtual

Definition at line 2891 of file slideshowimpl.cxx.

◆ gotoPreviousSlide() [2/2]

void sd::SlideshowImpl::gotoPreviousSlide ( const bool  bSkipAllMainSequenceEffects)
private

◆ gotoSlide()

void SAL_CALL sd::SlideshowImpl::gotoSlide ( const css::uno::Reference< css::drawing::XDrawPage > &  Page)
overridevirtual

Definition at line 2979 of file slideshowimpl.cxx.

◆ gotoSlideIndex()

void SAL_CALL sd::SlideshowImpl::gotoSlideIndex ( ::sal_Int32  Index)
overridevirtual

Definition at line 2999 of file slideshowimpl.cxx.

References nIndex.

◆ hasElements()

sal_Bool SAL_CALL sd::SlideshowImpl::hasElements ( )
overridevirtual

Definition at line 3044 of file slideshowimpl.cxx.

◆ hideChildWindows()

void sd::SlideshowImpl::hideChildWindows ( )
private

◆ hyperLinkClicked()

void sd::SlideshowImpl::hyperLinkClicked ( const OUString &  hyperLink)
Exceptions
css::uno::RuntimeException

Definition at line 1621 of file slideshowimpl.cxx.

References aName, aURL, getUiNameFromPageApiNameImpl(), and nPos.

◆ isActive()

sal_Bool SAL_CALL sd::SlideshowImpl::isActive ( )
overridevirtual

Definition at line 2537 of file slideshowimpl.cxx.

References mbActive.

◆ isEndless()

sal_Bool SAL_CALL sd::SlideshowImpl::isEndless ( )
overridevirtual

Definition at line 1672 of file slideshowimpl.cxx.

◆ isFullScreen()

sal_Bool SAL_CALL sd::SlideshowImpl::isFullScreen ( )
overridevirtual

Definition at line 2631 of file slideshowimpl.cxx.

Referenced by sd::PaneHider::PaneHider().

◆ isInputFreezed()

bool sd::SlideshowImpl::isInputFreezed ( ) const
inlineprivate

◆ isPaused()

sal_Bool SAL_CALL sd::SlideshowImpl::isPaused ( )
overridevirtual

Definition at line 1447 of file slideshowimpl.cxx.

◆ isRunning()

sal_Bool SAL_CALL sd::SlideshowImpl::isRunning ( )
overridevirtual

Definition at line 2748 of file slideshowimpl.cxx.

◆ jumpToBookmark()

void sd::SlideshowImpl::jumpToBookmark ( const OUString &  sBookmark)
private

Definition at line 1660 of file slideshowimpl.cxx.

◆ keyInput()

bool sd::SlideshowImpl::keyInput ( const KeyEvent rKEvt)

◆ longpress()

bool sd::SlideshowImpl::longpress ( const CommandGestureLongPressData rLongPressData)

◆ mouseButtonUp()

void sd::SlideshowImpl::mouseButtonUp ( const MouseEvent rMEvt)

◆ onFirstPaint()

void sd::SlideshowImpl::onFirstPaint ( )
private

called only by the slideshow view when the first paint event occurs.

This actually starts the slideshow.

Definition at line 1139 of file slideshowimpl.cxx.

Referenced by sd::SlideShowView::paint(), and sd::SlideShowView::updateimpl().

◆ operator=()

void sd::SlideshowImpl::operator= ( SlideshowImpl const &  )
privatedelete

◆ paint()

void sd::SlideshowImpl::paint ( )

Definition at line 1155 of file slideshowimpl.cxx.

References Exception, mxView, and TOOLS_WARN_EXCEPTION.

◆ pause()

void SAL_CALL sd::SlideshowImpl::pause ( )
overridevirtual

Definition at line 1391 of file slideshowimpl.cxx.

References Exception, and TOOLS_WARN_EXCEPTION.

◆ registerShapeEvents() [1/2]

void sd::SlideshowImpl::registerShapeEvents ( css::uno::Reference< css::drawing::XShapes > const &  xShapes)
private
Exceptions
css::uno::Exception

◆ registerShapeEvents() [2/2]

void sd::SlideshowImpl::registerShapeEvents ( sal_Int32  nSlideNumber)
private

Definition at line 1243 of file slideshowimpl.cxx.

References Exception, mxModel, and TOOLS_WARN_EXCEPTION.

◆ removeShapeEvents()

void sd::SlideshowImpl::removeShapeEvents ( )
private

Definition at line 1222 of file slideshowimpl.cxx.

References Exception, maShapeEventMap, and TOOLS_WARN_EXCEPTION.

◆ removeSlideShowListener()

void SAL_CALL sd::SlideshowImpl::removeSlideShowListener ( const css::uno::Reference< css::presentation::XSlideShowListener > &  Listener)
overridevirtual

Definition at line 1175 of file slideshowimpl.cxx.

◆ resize()

void sd::SlideshowImpl::resize ( const Size rSize)
private

Definition at line 2414 of file slideshowimpl.cxx.

References Exception, mxView, and TOOLS_WARN_EXCEPTION.

◆ resume()

void SAL_CALL sd::SlideshowImpl::resume ( )
overridevirtual

◆ setActiveXToolbarsVisible()

void sd::SlideshowImpl::setActiveXToolbarsVisible ( bool  bVisible)
private

◆ setAlwaysOnTop()

void SAL_CALL sd::SlideshowImpl::setAlwaysOnTop ( sal_Bool  _alwaysontop)
overridevirtual

Definition at line 2621 of file slideshowimpl.cxx.

◆ setAutoSaveState()

void sd::SlideshowImpl::setAutoSaveState ( bool  bOn)
staticprivate

◆ setEraseAllInk()

void SAL_CALL sd::SlideshowImpl::setEraseAllInk ( sal_Bool  bEraseAllInk)
overridevirtual
Exceptions
css::uno::RuntimeException

Definition at line 2725 of file slideshowimpl.cxx.

References Exception, and TOOLS_WARN_EXCEPTION.

◆ setMouseVisible()

void SAL_CALL sd::SlideshowImpl::setMouseVisible ( sal_Bool  _mousevisible)
overridevirtual

Definition at line 2643 of file slideshowimpl.cxx.

References bVisible.

◆ setPenColor()

void SAL_CALL sd::SlideshowImpl::setPenColor ( ::sal_Int32  _pencolor)
overridevirtual

Definition at line 2718 of file slideshowimpl.cxx.

◆ setPenWidth()

void SAL_CALL sd::SlideshowImpl::setPenWidth ( double  dStrokeWidth)
overridevirtual

Definition at line 2705 of file slideshowimpl.cxx.

References mdUserPaintStrokeWidth.

◆ setUsePen()

void SAL_CALL sd::SlideshowImpl::setUsePen ( sal_Bool  _usepen)
overridevirtual

Definition at line 2660 of file slideshowimpl.cxx.

References Any, Exception, mdUserPaintStrokeWidth, and TOOLS_WARN_EXCEPTION.

◆ showChildWindows()

void sd::SlideshowImpl::showChildWindows ( )
private

◆ slideEnded()

void sd::SlideshowImpl::slideEnded ( const bool  bReverse)

Definition at line 1181 of file slideshowimpl.cxx.

◆ startPreview()

bool sd::SlideshowImpl::startPreview ( const css::uno::Reference< css::drawing::XDrawPage > &  xDrawPage,
const css::uno::Reference< css::animations::XAnimationNode > &  xAnimationNode,
vcl::Window pParent 
)
private

◆ startShow()

bool sd::SlideshowImpl::startShow ( PresentationSettingsEx const *  pPresSettings)
private

◆ startShowImpl()

bool sd::SlideshowImpl::startShowImpl ( const css::uno::Sequence< css::beans::PropertyValue > &  aProperties)
private

◆ startUpdateTimer()

void sd::SlideshowImpl::startUpdateTimer ( )
private

forces an async call to update in the main thread

Definition at line 1683 of file slideshowimpl.cxx.

Referenced by sd::SlideShowView::updateimpl().

◆ stopSound()

void SAL_CALL sd::SlideshowImpl::stopSound ( )
overridevirtual

Definition at line 3009 of file slideshowimpl.cxx.

References Exception, and TOOLS_WARN_EXCEPTION.

◆ swipe()

bool sd::SlideshowImpl::swipe ( const CommandGestureSwipeData rSwipeData)

Definition at line 1189 of file slideshowimpl.cxx.

References CommandGestureSwipeData::getVelocityX(), and mxView.

◆ update()

void sd::SlideshowImpl::update ( )
private

Definition at line 1678 of file slideshowimpl.cxx.

◆ updateSlideShow()

void sd::SlideshowImpl::updateSlideShow ( )
private

Called by our maUpdateTimer's updateHdl handler this method is responsible to call the slideshow update() method and, depending on its return value, wait for a certain amount of time before another call to update() is scheduled.

Definition at line 1708 of file slideshowimpl.cxx.

References Exception, Application::Reschedule(), and TOOLS_WARN_EXCEPTION.

Friends And Related Function Documentation

◆ SlideShow

friend class SlideShow
friend

Definition at line 132 of file slideshowimpl.hxx.

◆ SlideShowView

friend class SlideShowView
friend

Definition at line 133 of file slideshowimpl.hxx.

Member Data Documentation

◆ maCharBuffer

OUString sd::SlideshowImpl::maCharBuffer
private

Definition at line 309 of file slideshowimpl.hxx.

◆ maDeactivateTimer

Timer sd::SlideshowImpl::maDeactivateTimer
private

Definition at line 293 of file slideshowimpl.hxx.

◆ maInputFreezeTimer

Timer sd::SlideshowImpl::maInputFreezeTimer
private

Definition at line 292 of file slideshowimpl.hxx.

◆ maPopupMousePos

Point sd::SlideshowImpl::maPopupMousePos
private

Definition at line 306 of file slideshowimpl.hxx.

◆ maPresSettings

PresentationSettings sd::SlideshowImpl::maPresSettings
private

Definition at line 321 of file slideshowimpl.hxx.

◆ maPresSize

Size sd::SlideshowImpl::maPresSize
private

Definition at line 307 of file slideshowimpl.hxx.

◆ maShapeEventMap

std::map< css::uno::Reference< css::drawing::XShape >, WrappedShapeEventImplPtr > sd::SlideshowImpl::maShapeEventMap
private

Definition at line 328 of file slideshowimpl.hxx.

◆ maStarBASICGlobalErrorHdl

Link<StarBASIC*,bool> sd::SlideshowImpl::maStarBASICGlobalErrorHdl
private

Definition at line 311 of file slideshowimpl.hxx.

◆ maUpdateTimer

Timer sd::SlideshowImpl::maUpdateTimer
private

Definition at line 291 of file slideshowimpl.hxx.

◆ mbActive

bool sd::SlideshowImpl::mbActive
private

Definition at line 319 of file slideshowimpl.hxx.

◆ mbAutoSaveWasOn

bool sd::SlideshowImpl::mbAutoSaveWasOn
private

Definition at line 314 of file slideshowimpl.hxx.

◆ mbDisposed

bool sd::SlideshowImpl::mbDisposed
private

Definition at line 313 of file slideshowimpl.hxx.

◆ mbInputFreeze

bool sd::SlideshowImpl::mbInputFreeze
private

Definition at line 318 of file slideshowimpl.hxx.

Referenced by isInputFreezed().

◆ mbIsPaused

bool sd::SlideshowImpl::mbIsPaused
private

Definition at line 316 of file slideshowimpl.hxx.

◆ mbRehearseTimings

bool sd::SlideshowImpl::mbRehearseTimings
private

Definition at line 315 of file slideshowimpl.hxx.

◆ mbUsePen

bool sd::SlideshowImpl::mbUsePen
private

Definition at line 324 of file slideshowimpl.hxx.

◆ mbWasPaused

bool sd::SlideshowImpl::mbWasPaused
private

Definition at line 317 of file slideshowimpl.hxx.

◆ mdUserPaintStrokeWidth

double sd::SlideshowImpl::mdUserPaintStrokeWidth
private

Definition at line 325 of file slideshowimpl.hxx.

◆ meAnimationMode

AnimationMode sd::SlideshowImpl::meAnimationMode
private

Definition at line 308 of file slideshowimpl.hxx.

◆ mnChildMask

::tools::ULong sd::SlideshowImpl::mnChildMask
private

Definition at line 312 of file slideshowimpl.hxx.

◆ mnContextMenuEvent

ImplSVEvent* sd::SlideshowImpl::mnContextMenuEvent
private

Definition at line 338 of file slideshowimpl.hxx.

◆ mnEndShowEvent

ImplSVEvent* sd::SlideshowImpl::mnEndShowEvent
private

Definition at line 337 of file slideshowimpl.hxx.

◆ mnRestoreSlide

::tools::Long sd::SlideshowImpl::mnRestoreSlide
private

Definition at line 305 of file slideshowimpl.hxx.

Referenced by getRestoreSlide().

◆ mnUserPaintColor

sal_Int32 sd::SlideshowImpl::mnUserPaintColor
private

Definition at line 322 of file slideshowimpl.hxx.

◆ mpDoc

SdDrawDocument* sd::SlideshowImpl::mpDoc
private

Definition at line 298 of file slideshowimpl.hxx.

◆ mpDocSh

DrawDocShell* sd::SlideshowImpl::mpDocSh
private

Definition at line 297 of file slideshowimpl.hxx.

◆ mpOldActiveWindow

VclPtr< ::sd::Window> sd::SlideshowImpl::mpOldActiveWindow
private

Definition at line 310 of file slideshowimpl.hxx.

◆ mpPaneHider

::std::unique_ptr<PaneHider> sd::SlideshowImpl::mpPaneHider
private

Definition at line 335 of file slideshowimpl.hxx.

◆ mpParentWindow

VclPtr<vcl::Window> sd::SlideshowImpl::mpParentWindow
private

Definition at line 300 of file slideshowimpl.hxx.

◆ mpShowWindow

VclPtr<sd::ShowWindow> sd::SlideshowImpl::mpShowWindow
private

Definition at line 301 of file slideshowimpl.hxx.

◆ mpSlideController

std::shared_ptr< AnimationSlideController > sd::SlideshowImpl::mpSlideController
private

Definition at line 303 of file slideshowimpl.hxx.

◆ mpView

::sd::View* sd::SlideshowImpl::mpView
private

Definition at line 295 of file slideshowimpl.hxx.

◆ mpViewShell

ViewShell* sd::SlideshowImpl::mpViewShell
private

Definition at line 296 of file slideshowimpl.hxx.

Referenced by getViewShell().

◆ mxListenerProxy

::rtl::Reference< SlideShowListenerProxy > sd::SlideshowImpl::mxListenerProxy
private

Definition at line 341 of file slideshowimpl.hxx.

◆ mxModel

css::uno::Reference< css::frame::XModel > sd::SlideshowImpl::mxModel
private

Definition at line 289 of file slideshowimpl.hxx.

◆ mxPlayer

css::uno::Reference< css::media::XPlayer > sd::SlideshowImpl::mxPlayer
private

Definition at line 333 of file slideshowimpl.hxx.

◆ mxPresentation

css::uno::Reference< css::presentation::XPresentation2 > sd::SlideshowImpl::mxPresentation
private

Definition at line 340 of file slideshowimpl.hxx.

◆ mxPreviewAnimationNode

css::uno::Reference< css::animations::XAnimationNode > sd::SlideshowImpl::mxPreviewAnimationNode
private

Definition at line 331 of file slideshowimpl.hxx.

◆ mxPreviewDrawPage

css::uno::Reference< css::drawing::XDrawPage > sd::SlideshowImpl::mxPreviewDrawPage
private

Definition at line 330 of file slideshowimpl.hxx.

◆ mxShow

css::uno::Reference< css::presentation::XSlideShow > sd::SlideshowImpl::mxShow
private

Definition at line 287 of file slideshowimpl.hxx.

◆ mxView

rtl::Reference<sd::SlideShowView> sd::SlideshowImpl::mxView
private

Definition at line 288 of file slideshowimpl.hxx.


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