Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_PRESENTATION_XSLIDESHOWCONTROLLER_HDL
2 : #define INCLUDED_COM_SUN_STAR_PRESENTATION_XSLIDESHOWCONTROLLER_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : namespace com { namespace sun { namespace star { namespace drawing { class XDrawPage; } } } }
7 : #include "com/sun/star/lang/IllegalArgumentException.hdl"
8 : #include "com/sun/star/lang/IndexOutOfBoundsException.hdl"
9 : namespace com { namespace sun { namespace star { namespace presentation { class XSlideShow; } } } }
10 : namespace com { namespace sun { namespace star { namespace presentation { class XSlideShowListener; } } } }
11 : #include "com/sun/star/uno/RuntimeException.hdl"
12 : #include "com/sun/star/uno/XInterface.hdl"
13 : #include "com/sun/star/uno/Reference.h"
14 : #include "cppu/macros.hxx"
15 : #include "rtl/ustring.hxx"
16 : #include "sal/types.h"
17 :
18 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
19 :
20 : namespace com { namespace sun { namespace star { namespace presentation {
21 :
22 0 : class SAL_NO_VTABLE XSlideShowController : public css::uno::XInterface
23 : {
24 : public:
25 :
26 : // Attributes
27 : virtual ::sal_Bool SAL_CALL getAlwaysOnTop() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
28 : virtual void SAL_CALL setAlwaysOnTop( ::sal_Bool _alwaysontop ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
29 : virtual ::sal_Bool SAL_CALL getMouseVisible() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
30 : virtual void SAL_CALL setMouseVisible( ::sal_Bool _mousevisible ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
31 : virtual ::sal_Bool SAL_CALL getUsePen() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
32 : virtual void SAL_CALL setUsePen( ::sal_Bool _usepen ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
33 : virtual ::sal_Int32 SAL_CALL getPenColor() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
34 : virtual void SAL_CALL setPenColor( ::sal_Int32 _pencolor ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
35 :
36 : // Methods
37 : virtual ::sal_Bool SAL_CALL isRunning() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
38 : virtual ::sal_Int32 SAL_CALL getSlideCount() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
39 : virtual ::com::sun::star::uno::Reference< css::drawing::XDrawPage > SAL_CALL getSlideByIndex( ::sal_Int32 Index ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
40 : virtual void SAL_CALL addSlideShowListener( const ::com::sun::star::uno::Reference< css::presentation::XSlideShowListener >& Listener ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
41 : virtual void SAL_CALL removeSlideShowListener( const ::com::sun::star::uno::Reference< css::presentation::XSlideShowListener >& Listener ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
42 : virtual void SAL_CALL gotoNextEffect() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
43 : virtual void SAL_CALL gotoPreviousEffect() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
44 : virtual void SAL_CALL gotoFirstSlide() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
45 : virtual void SAL_CALL gotoNextSlide() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
46 : virtual void SAL_CALL gotoPreviousSlide() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
47 : virtual void SAL_CALL gotoLastSlide() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
48 : virtual void SAL_CALL gotoBookmark( const ::rtl::OUString& Bookmark ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
49 : virtual void SAL_CALL gotoSlide( const ::com::sun::star::uno::Reference< css::drawing::XDrawPage >& Page ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
50 : virtual void SAL_CALL gotoSlideIndex( ::sal_Int32 Index ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
51 : virtual void SAL_CALL stopSound() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
52 : virtual void SAL_CALL pause() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
53 : virtual void SAL_CALL resume() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
54 : virtual ::sal_Bool SAL_CALL isPaused() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
55 : virtual void SAL_CALL blankScreen( ::sal_Int32 Color ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
56 : virtual void SAL_CALL activate() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
57 : virtual void SAL_CALL deactivate() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
58 : virtual ::sal_Bool SAL_CALL isActive() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
59 : virtual ::com::sun::star::uno::Reference< css::drawing::XDrawPage > SAL_CALL getCurrentSlide() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
60 : virtual ::sal_Int32 SAL_CALL getCurrentSlideIndex() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
61 : virtual ::sal_Int32 SAL_CALL getNextSlideIndex() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
62 : virtual ::sal_Bool SAL_CALL isEndless() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
63 : virtual ::sal_Bool SAL_CALL isFullScreen() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
64 : virtual ::com::sun::star::uno::Reference< css::presentation::XSlideShow > SAL_CALL getSlideShow() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
65 :
66 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
67 :
68 : protected:
69 0 : ~XSlideShowController() throw () {} // avoid warnings about virtual members and non-virtual dtor
70 : };
71 :
72 :
73 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::presentation::XSlideShowController const *);
74 : } } } }
75 :
76 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::presentation::XSlideShowController > *) SAL_THROW(());
77 :
78 : #endif
|