LCOV - code coverage report
Current view: top level - sd/source/ui/slideshow - slideshowimpl.hxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 6 0.0 %
Date: 2014-04-14 Functions: 0 6 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       5             :  * This Source Code Form is subject to the terms of the Mozilla Public
       6             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8             :  *
       9             :  * This file incorporates work covered by the following license notice:
      10             :  *
      11             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12             :  *   contributor license agreements. See the NOTICE file distributed
      13             :  *   with this work for additional information regarding copyright
      14             :  *   ownership. The ASF licenses this file to you under the Apache
      15             :  *   License, Version 2.0 (the "License"); you may not use this file
      16             :  *   except in compliance with the License. You may obtain a copy of
      17             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18             :  */
      19             : 
      20             : #ifndef INCLUDED_SD_SOURCE_UI_SLIDESHOW_SLIDESHOWIMPL_HXX
      21             : #define INCLUDED_SD_SOURCE_UI_SLIDESHOW_SLIDESHOWIMPL_HXX
      22             : 
      23             : #include "sal/config.h"
      24             : #include "com/sun/star/uno/XComponentContext.hpp"
      25             : #include "cppuhelper/compbase1.hxx"
      26             : #include "cppuhelper/compbase2.hxx"
      27             : #include "cppuhelper/basemutex.hxx"
      28             : #include "cppuhelper/propertysetmixin.hxx"
      29             : #include <com/sun/star/awt/XActivateListener.hpp>
      30             : #include <com/sun/star/presentation/XSlideShow.hpp>
      31             : #include <com/sun/star/presentation/XSlideShowView.hpp>
      32             : #include <com/sun/star/presentation/XSlideShowListener.hpp>
      33             : #include <com/sun/star/presentation/XSlideShowController.hpp>
      34             : #include "com/sun/star/presentation/XShapeEventListener.hpp"
      35             : #include <com/sun/star/awt/WindowEvent.hpp>
      36             : #include <com/sun/star/awt/XWindowListener.hpp>
      37             : #include <com/sun/star/awt/XWindow.hpp>
      38             : #include <com/sun/star/awt/XWindowPeer.hpp>
      39             : #include <com/sun/star/util/XModifyListener.hpp>
      40             : #include <com/sun/star/awt/XPaintListener.hpp>
      41             : #include <com/sun/star/awt/XPointer.hpp>
      42             : #include <com/sun/star/drawing/XDrawPagesSupplier.hpp>
      43             : #include <com/sun/star/animations/XAnimationNodeSupplier.hpp>
      44             : #include <com/sun/star/presentation/ClickAction.hpp>
      45             : #include <com/sun/star/media/XManager.hpp>
      46             : #include <com/sun/star/media/XPlayer.hpp>
      47             : 
      48             : #include <toolkit/helper/vclunohelper.hxx>
      49             : 
      50             : #include <basegfx/matrix/b2dhommatrix.hxx>
      51             : #include <basegfx/tools/canvastools.hxx>
      52             : #include <vcl/help.hxx>
      53             : #include <unotools/pathoptions.hxx>
      54             : #include <unotools/saveopt.hxx>
      55             : #include <sfx2/bindings.hxx>
      56             : #include <sfx2/dispatch.hxx>
      57             : #include <sfx2/viewfrm.hxx>
      58             : #include <basic/sbstar.hxx>
      59             : #include <svx/svdpagv.hxx>
      60             : #include <svx/fmshell.hxx>
      61             : 
      62             : #include <svx/svxids.hrc>
      63             : #include "sdmod.hxx"
      64             : #include "cusshow.hxx"
      65             : #include "ViewShellBase.hxx"
      66             : #include "PresentationViewShell.hxx"
      67             : #include "ViewShell.hxx"
      68             : #include "drawview.hxx"
      69             : #include "drawdoc.hxx"
      70             : 
      71             : #include "showwindow.hxx"
      72             : 
      73             : #include "optsitem.hxx"
      74             : #include "FrameView.hxx"
      75             : #include "DrawDocShell.hxx"
      76             : 
      77             : #include "app.hrc"
      78             : 
      79             : #include "slideshow.hxx"
      80             : 
      81             : class SfxViewFrame;
      82             : class SfxRequest;
      83             : 
      84             : namespace sd
      85             : {
      86             : class SlideShowView;
      87             : class AnimationSlideController;
      88             : class PaneHider;
      89             : 
      90             : 
      91             : 
      92           0 : struct PresentationSettingsEx : public PresentationSettings
      93             : {
      94             :     sal_Bool mbRehearseTimings;
      95             :     sal_Bool mbPreview;
      96             :     ::Window* mpParentWindow;
      97             :     css::uno::Reference< css::drawing::XDrawPage > mxStartPage;
      98             :     css::uno::Reference< css::animations::XAnimationNode > mxAnimationNode;
      99             : 
     100             :     PresentationSettingsEx( const PresentationSettingsEx& );
     101             :     PresentationSettingsEx( PresentationSettings& );
     102             : 
     103             :     void SetArguments( const css::uno::Sequence< css::beans::PropertyValue >& rArguments ) throw (css::lang::IllegalArgumentException);
     104             : 
     105             :     void SetPropertyValue( const OUString& rProperty, const css::uno::Any& rValue ) throw (css::lang::IllegalArgumentException);
     106             : };
     107             : 
     108             : 
     109             : 
     110           0 : struct WrappedShapeEventImpl
     111             : {
     112             :     css::presentation::ClickAction meClickAction;
     113             :     sal_Int32 mnVerb;
     114             :     OUString maStrBookmark;
     115           0 :     WrappedShapeEventImpl() : meClickAction( css::presentation::ClickAction_NONE ), mnVerb( 0 ) {};
     116             : };
     117             : 
     118             : typedef boost::shared_ptr< WrappedShapeEventImpl > WrappedShapeEventImplPtr;
     119             : typedef std::map< css::uno::Reference< css::drawing::XShape >, WrappedShapeEventImplPtr > WrappedShapeEventImplMap;
     120             : 
     121             : 
     122             : 
     123             : class SlideShowListenerProxy : private ::cppu::BaseMutex,
     124             :         public ::cppu::WeakImplHelper2< css::presentation::XSlideShowListener, css::presentation::XShapeEventListener >
     125             : {
     126             : public:
     127             :     SlideShowListenerProxy( const rtl::Reference< SlideshowImpl >& xController, const css::uno::Reference< css::presentation::XSlideShow >& xSlideShow );
     128             :     virtual ~SlideShowListenerProxy();
     129             : 
     130             :     void addAsSlideShowListener();
     131             :     void removeAsSlideShowListener();
     132             : 
     133             :     void addSlideShowListener( const css::uno::Reference< css::presentation::XSlideShowListener >& Listener );
     134             :     void removeSlideShowListener( const css::uno::Reference< css::presentation::XSlideShowListener >& Listener );
     135             : 
     136             :     void addShapeEventListener( const css::uno::Reference< css::drawing::XShape >& xShape );
     137             :     void removeShapeEventListener( const css::uno::Reference< css::drawing::XShape >& xShape );
     138             : 
     139             :     // css::animations::XAnimationListener
     140             :     virtual void SAL_CALL beginEvent( const css::uno::Reference< css::animations::XAnimationNode >& Node ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     141             :     virtual void SAL_CALL endEvent( const css::uno::Reference< css::animations::XAnimationNode >& Node ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     142             :     virtual void SAL_CALL repeat( const css::uno::Reference< css::animations::XAnimationNode >& Node, ::sal_Int32 Repeat ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     143             : 
     144             :     // css::presentation::XSlideShowListener:
     145             :     virtual void SAL_CALL paused() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     146             :     virtual void SAL_CALL resumed() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     147             :     virtual void SAL_CALL slideTransitionStarted() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     148             :     virtual void SAL_CALL slideTransitionEnded() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     149             :     virtual void SAL_CALL slideAnimationsEnded() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     150             :     virtual void SAL_CALL slideEnded(sal_Bool bReverse) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     151             :     virtual void SAL_CALL hyperLinkClicked(const OUString & hyperLink) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     152             : 
     153             :     // css::lang::XEventListener:
     154             :     virtual void SAL_CALL disposing(const css::lang::EventObject & Source) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     155             : 
     156             :     // css::presentation::XShapeEventListener:
     157             :     virtual void SAL_CALL click(const css::uno::Reference< css::drawing::XShape > & xShape, const css::awt::MouseEvent & aOriginalEvent) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     158             : 
     159             :     ::cppu::OInterfaceContainerHelper maListeners;
     160             : 
     161             :     rtl::Reference< SlideshowImpl > mxController;
     162             :     css::uno::Reference< css::presentation::XSlideShow > mxSlideShow;
     163             : };
     164             : 
     165             : 
     166             : 
     167             : typedef ::cppu::WeakComponentImplHelper2< css::presentation::XSlideShowController, css::container::XIndexAccess > SlideshowImplBase;
     168             : 
     169             : class SlideshowImpl : private ::cppu::BaseMutex, public SlideshowImplBase
     170             : {
     171             : friend class SlideShow;
     172             : friend class SlideShowView;
     173             : 
     174             : public:
     175             :     explicit SlideshowImpl( const css::uno::Reference< css::presentation::XPresentation2 >& xPresentation, ViewShell* pViewSh, ::sd::View* pView, SdDrawDocument* pDoc, ::Window* pParentWindow);
     176             : 
     177             :     // css::presentation::XSlideShowController:
     178             :     virtual sal_Bool SAL_CALL getAlwaysOnTop() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     179             :     virtual void SAL_CALL setAlwaysOnTop( sal_Bool _alwaysontop ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     180             :     virtual sal_Bool SAL_CALL getMouseVisible() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     181             :     virtual void SAL_CALL setMouseVisible( sal_Bool _mousevisible ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     182             :     virtual sal_Bool SAL_CALL getUsePen() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     183             :     virtual void SAL_CALL setUsePen( sal_Bool _usepen ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     184             :     virtual ::sal_Int32 SAL_CALL getPenColor() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     185             :     virtual void SAL_CALL setPenColor( ::sal_Int32 _pencolor ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     186             :     virtual void SAL_CALL setUseEraser( sal_Bool _usepen ) throw (css::uno::RuntimeException);
     187             :     virtual double SAL_CALL getPenWidth() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     188             :     virtual void SAL_CALL setPenWidth( double dStrokeWidth ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     189             :     virtual void SAL_CALL setEraseAllInk( bool bEraseAllInk ) throw (css::uno::RuntimeException);
     190             :     virtual void SAL_CALL setEraseInk( sal_Int32 nEraseInkSize ) throw (css::uno::RuntimeException);
     191             :     virtual void SAL_CALL setPenMode( bool bSwitchPenMode) throw (css::uno::RuntimeException);
     192             :     virtual void SAL_CALL setEraserMode( bool bSwitchEraserMode ) throw (css::uno::RuntimeException);
     193             :     virtual void SAL_CALL setPointerMode( bool bSwitchPointerMode) throw (css::uno::RuntimeException);
     194             :     virtual void SAL_CALL setPointerPosition( const ::com::sun::star::geometry::RealPoint2D& pos ) throw (css::uno::RuntimeException);
     195             :     virtual sal_Bool SAL_CALL isRunning(  ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     196             :     virtual ::sal_Int32 SAL_CALL getSlideCount(  ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     197             :     virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL getSlideByIndex( ::sal_Int32 Index ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     198             :     virtual void SAL_CALL addSlideShowListener( const css::uno::Reference< css::presentation::XSlideShowListener >& Listener ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     199             :     virtual void SAL_CALL removeSlideShowListener( const css::uno::Reference< css::presentation::XSlideShowListener >& Listener ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     200             :     virtual void SAL_CALL gotoNextEffect(  ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     201             :     virtual void SAL_CALL gotoPreviousEffect(  ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     202             :     virtual void SAL_CALL gotoFirstSlide(  ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     203             :     virtual void SAL_CALL gotoNextSlide(  ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     204             :     virtual void SAL_CALL gotoPreviousSlide(  ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     205             :     virtual void SAL_CALL gotoLastSlide(  ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     206             :     virtual void SAL_CALL gotoBookmark( const OUString& Bookmark ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     207             :     virtual void SAL_CALL gotoSlide( const css::uno::Reference< css::drawing::XDrawPage >& Page ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     208             :     virtual void SAL_CALL gotoSlideIndex( ::sal_Int32 Index ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     209             :     virtual void SAL_CALL stopSound(  ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     210             :     virtual void SAL_CALL pause(  ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     211             :     virtual void SAL_CALL resume(  ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     212             :     virtual sal_Bool SAL_CALL isPaused(  ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     213             :     virtual void SAL_CALL blankScreen( ::sal_Int32 Color ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     214             :     virtual void SAL_CALL activate(  ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     215             :     virtual void SAL_CALL deactivate(  ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     216             :     virtual sal_Bool SAL_CALL isActive(  ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     217             :     virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL getCurrentSlide(  ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     218             :     virtual ::sal_Int32 SAL_CALL getCurrentSlideIndex(  ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     219             :     virtual ::sal_Int32 SAL_CALL getNextSlideIndex(  ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     220             :     virtual sal_Bool SAL_CALL isEndless(  ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     221             :     virtual sal_Bool SAL_CALL isFullScreen(  ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     222             :     virtual css::uno::Reference< css::presentation::XSlideShow > SAL_CALL getSlideShow(  ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     223             : 
     224             :     // XIndexAccess
     225             :     virtual ::sal_Int32 SAL_CALL getCount(  ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     226             :     virtual ::com::sun::star::uno::Any SAL_CALL getByIndex( ::sal_Int32 Index ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     227             :     virtual ::com::sun::star::uno::Type SAL_CALL getElementType(  ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     228             :     virtual sal_Bool SAL_CALL hasElements(  ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     229             : 
     230             :     // will be called from the SlideShowListenerProxy when this event is fired from the XSlideShow
     231             :     void slideEnded(const bool bReverse);
     232             :     void hyperLinkClicked(const OUString & hyperLink) throw (css::uno::RuntimeException);
     233             :     void click(const css::uno::Reference< css::drawing::XShape > & xShape, const css::awt::MouseEvent & aOriginalEvent);
     234             : 
     235             :     /// ends the presentation async
     236             :     void endPresentation();
     237             : 
     238           0 :     ViewShell* getViewShell() const { return mpViewShell; }
     239             : 
     240             :     void paint( const Rectangle& rRect );
     241             :     bool keyInput(const KeyEvent& rKEvt);
     242             :     void mouseButtonUp(const MouseEvent& rMEvt);
     243             : 
     244             : private:
     245             :     SlideshowImpl(SlideshowImpl &); // not defined
     246             :     void operator =(SlideshowImpl &); // not defined
     247             : 
     248             :     virtual ~SlideshowImpl();
     249             : 
     250             :     // overload WeakComponentImplHelperBase::disposing()
     251             :     // This function is called upon disposing the component,
     252             :     // if your component needs special work when it becomes
     253             :     // disposed, do it here.
     254             :     virtual void SAL_CALL disposing() SAL_OVERRIDE;
     255             : 
     256             :     // internal
     257             :     bool startShow( PresentationSettingsEx* pPresSettings );
     258             :     bool startPreview(
     259             :         const css::uno::Reference< css::drawing::XDrawPage >& xDrawPage,
     260             :         const css::uno::Reference< css::animations::XAnimationNode >& xAnimationNode,
     261             :         ::Window* pParent );
     262             : 
     263             :     ShowWindow* getShowWindow() const { return mpShowWindow; }
     264             : 
     265             :         /** forces an async call to update in the main thread */
     266             :     void startUpdateTimer();
     267             : 
     268             :     double update();
     269             : 
     270             :     void createSlideList( bool bAll, const OUString& rPresSlide );
     271             : 
     272             :     void displayCurrentSlide (const bool bSkipAllMainSequenceEffects = false);
     273             : 
     274             :     void displaySlideNumber( sal_Int32 nSlide );
     275             :     void displaySlideIndex( sal_Int32 nIndex );
     276             :     sal_Int32 getCurrentSlideNumber();
     277             :     sal_Int32 getFirstSlideNumber();
     278             :     sal_Int32 getLastSlideNumber();
     279           0 :     inline bool isInputFreezed() const { return mbInputFreeze; }
     280             : 
     281             :     void jumpToBookmark( const OUString& sBookmark );
     282             : 
     283             :     void hideChildWindows();
     284             :     void showChildWindows();
     285             : 
     286             :     void resize( const Size& rSize );
     287             : 
     288             :     void setActiveXToolbarsVisible( sal_Bool bVisible );
     289             : 
     290             :     DECL_LINK(updateHdl, void *);
     291             :     DECL_LINK( PostYieldListener, void* );
     292             :     DECL_LINK(ReadyForNextInputHdl, void *);
     293             :     DECL_LINK( endPresentationHdl, void* );
     294             :     DECL_LINK( ContextMenuSelectHdl, Menu * );
     295             :     DECL_LINK( ContextMenuHdl, void* );
     296             :     DECL_LINK(deactivateHdl, void *);
     297             :     DECL_LINK( EventListenerHdl, VclSimpleEvent* );
     298             : 
     299             :     // helper
     300             :     void receiveRequest(SfxRequest& rReq);
     301             : 
     302             :     /** called only by the slideshow view when the first paint event occurs.
     303             :         This actually starts the slideshow. */
     304             :     void onFirstPaint();
     305             : 
     306           0 :     long getRestoreSlide() const { return mnRestoreSlide; }
     307             : 
     308             : private:
     309             :     bool startShowImpl(
     310             :         const css::uno::Sequence< css::beans::PropertyValue >& aProperties );
     311             : 
     312             :     SfxViewFrame* getViewFrame() const;
     313             :     SfxDispatcher* getDispatcher() const;
     314             :     SfxBindings* getBindings() const;
     315             : 
     316             :     sal_Int32 getSlideNumberForBookmark( const OUString& rStrBookmark );
     317             : 
     318             :     void removeShapeEvents();
     319             :     void registerShapeEvents( sal_Int32 nSlideNumber );
     320             :     void registerShapeEvents( css::uno::Reference< css::drawing::XShapes >& xShapes ) throw (css::uno::Exception);
     321             : 
     322             :     css::uno::Reference< css::presentation::XSlideShow > createSlideShow() const;
     323             : 
     324             :     void setAutoSaveState( bool bOn );
     325             :     void gotoPreviousSlide (const bool bSkipAllMainSequenceEffects);
     326             : 
     327             :     /** Called by PostYieldListener and updateHdl handlers this method is
     328             :         responsible to call the slideshow update() method and, depending on
     329             :         its return value, wait for a certain amount of time before another
     330             :         call to update() is scheduled.
     331             :     */
     332             :     sal_Int32 updateSlideShow (void);
     333             : 
     334             :     css::uno::Reference< css::presentation::XSlideShow > mxShow;
     335             :     comphelper::ImplementationReference< ::sd::SlideShowView, css::presentation::XSlideShowView > mxView;
     336             :     css::uno::Reference< css::frame::XModel > mxModel;
     337             : 
     338             :     Timer maUpdateTimer;
     339             :     Timer maInputFreezeTimer;
     340             :     Timer maDeactivateTimer;
     341             : 
     342             :     ::sd::View* mpView;
     343             :     ViewShell* mpViewShell;
     344             :     DrawDocShell* mpDocSh;
     345             :     SdDrawDocument* mpDoc;
     346             : 
     347             :     SfxItemSet*     mpNewAttr;
     348             :     ::Window*       mpParentWindow;
     349             :     ShowWindow*     mpShowWindow;
     350             :     PushButton*     mpTimeButton;
     351             : 
     352             :     boost::shared_ptr< AnimationSlideController > mpSlideController;
     353             : 
     354             :     long            mnRestoreSlide;
     355             :     Point           maSlideOrigin;
     356             :     Point           maPopupMousePos;
     357             :     Size            maSlideSize;
     358             :     Size            maPresSize;
     359             :     AnimationMode   meAnimationMode;
     360             :     OUString        maCharBuffer;
     361             :     Pointer         maOldPointer;
     362             :     Pointer         maPencil;
     363             :     std::vector< ::sd::Window* > maDrawModeWindows;
     364             :     ::sd::Window*   mpOldActiveWindow;
     365             :     Link            maStarBASICGlobalErrorHdl;
     366             :     unsigned long   mnChildMask;
     367             :     bool            mbGridVisible;
     368             :     bool            mbBordVisible;
     369             :     bool            mbSlideBorderVisible;
     370             :     bool            mbSetOnlineSpelling;
     371             :     bool            mbDisposed;
     372             :     bool            mbAutoSaveWasOn;
     373             :     bool            mbRehearseTimings;
     374             :     bool            mbDesignMode;
     375             :     bool            mbIsPaused;
     376             :     bool            mbWasPaused;        // used to cache pause state during context menu
     377             :     bool            mbInputFreeze;
     378             :     sal_Bool        mbActive;
     379             : 
     380             :     PresentationSettings maPresSettings;
     381             :     sal_Int32       mnUserPaintColor;
     382             : 
     383             :     bool            mbUsePen;
     384             :     double          mdUserPaintStrokeWidth;
     385             : 
     386             :     /// used in updateHdl to prevent recursive calls
     387             :     sal_Int32       mnEntryCounter;
     388             : 
     389             :     sal_Int32       mnLastSlideNumber;
     390             :     WrappedShapeEventImplMap    maShapeEventMap;
     391             : 
     392             :     OUString msOnClick;
     393             :     OUString msBookmark;
     394             :     OUString msVerb;
     395             : 
     396             :     css::uno::Reference< css::drawing::XDrawPage > mxPreviewDrawPage;
     397             :     css::uno::Reference< css::animations::XAnimationNode > mxPreviewAnimationNode;
     398             : 
     399             :     css::uno::Reference< css::media::XPlayer > mxPlayer;
     400             : 
     401             :     ::std::auto_ptr<PaneHider> mpPaneHider;
     402             : 
     403             :     sal_uLong   mnEndShowEvent;
     404             :     sal_uLong   mnContextMenuEvent;
     405             :     sal_Int32 mnUpdateEvent;
     406             : 
     407             :     css::uno::Reference< css::presentation::XPresentation2 > mxPresentation;
     408             :     ::rtl::Reference< SlideShowListenerProxy > mxListenerProxy;
     409             : };
     410             : 
     411             : } // namespace ::sd
     412             : 
     413             : #endif
     414             : 
     415             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10