Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_PRESENTATION_XSLIDESHOW_HDL
2 : #define INCLUDED_COM_SUN_STAR_PRESENTATION_XSLIDESHOW_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : namespace com { namespace sun { namespace star { namespace animations { class XAnimationNode; } } } }
7 : #include "com/sun/star/beans/PropertyValue.hdl"
8 : namespace com { namespace sun { namespace star { namespace drawing { class XDrawPage; } } } }
9 : namespace com { namespace sun { namespace star { namespace drawing { class XDrawPagesSupplier; } } } }
10 : namespace com { namespace sun { namespace star { namespace drawing { class XShape; } } } }
11 : namespace com { namespace sun { namespace star { namespace lang { class XMultiServiceFactory; } } } }
12 : namespace com { namespace sun { namespace star { namespace presentation { class XShapeEventListener; } } } }
13 : namespace com { namespace sun { namespace star { namespace presentation { class XSlideShowListener; } } } }
14 : namespace com { namespace sun { namespace star { namespace presentation { class XSlideShowView; } } } }
15 : #include "com/sun/star/uno/RuntimeException.hdl"
16 : #include "com/sun/star/uno/XInterface.hdl"
17 : #include "com/sun/star/uno/Reference.h"
18 : #include "com/sun/star/uno/Sequence.h"
19 : #include "cppu/macros.hxx"
20 : #include "sal/types.h"
21 :
22 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
23 :
24 : namespace com { namespace sun { namespace star { namespace presentation {
25 :
26 0 : class SAL_NO_VTABLE XSlideShow : public css::uno::XInterface
27 : {
28 : public:
29 :
30 : // Methods
31 : virtual ::sal_Bool SAL_CALL nextEffect() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
32 : virtual ::sal_Bool SAL_CALL previousEffect() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
33 : virtual ::sal_Bool SAL_CALL startShapeActivity( const ::com::sun::star::uno::Reference< css::drawing::XShape >& xShape ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
34 : virtual ::sal_Bool SAL_CALL stopShapeActivity( const ::com::sun::star::uno::Reference< css::drawing::XShape >& xShape ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
35 : virtual void SAL_CALL displaySlide( const ::com::sun::star::uno::Reference< css::drawing::XDrawPage >& xSlide, const ::com::sun::star::uno::Reference< css::drawing::XDrawPagesSupplier >& xDrawPages, const ::com::sun::star::uno::Reference< css::animations::XAnimationNode >& AnimationNode, const ::com::sun::star::uno::Sequence< css::beans::PropertyValue >& aProperties ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
36 : virtual ::sal_Bool SAL_CALL pause( ::sal_Bool bPauseShow ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
37 : virtual ::com::sun::star::uno::Reference< css::drawing::XDrawPage > SAL_CALL getCurrentSlide() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
38 : virtual void SAL_CALL registerUserPaintPolygons( const ::com::sun::star::uno::Reference< css::lang::XMultiServiceFactory >& xDocFactory ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
39 : virtual ::sal_Bool SAL_CALL setProperty( const css::beans::PropertyValue& aShowProperty ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
40 : virtual ::sal_Bool SAL_CALL addView( const ::com::sun::star::uno::Reference< css::presentation::XSlideShowView >& xView ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
41 : virtual ::sal_Bool SAL_CALL removeView( const ::com::sun::star::uno::Reference< css::presentation::XSlideShowView >& xView ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
42 : virtual ::sal_Bool SAL_CALL update( double& nNextTimeout ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
43 : virtual void SAL_CALL addSlideShowListener( const ::com::sun::star::uno::Reference< css::presentation::XSlideShowListener >& xListener ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
44 : virtual void SAL_CALL removeSlideShowListener( const ::com::sun::star::uno::Reference< css::presentation::XSlideShowListener >& xListener ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
45 : virtual void SAL_CALL addShapeEventListener( const ::com::sun::star::uno::Reference< css::presentation::XShapeEventListener >& xListener, const ::com::sun::star::uno::Reference< css::drawing::XShape >& xShape ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
46 : virtual void SAL_CALL removeShapeEventListener( const ::com::sun::star::uno::Reference< css::presentation::XShapeEventListener >& xListener, const ::com::sun::star::uno::Reference< css::drawing::XShape >& xShape ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
47 : virtual void SAL_CALL setShapeCursor( const ::com::sun::star::uno::Reference< css::drawing::XShape >& xShape, ::sal_Int16 nPointerShape ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
48 :
49 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
50 :
51 : protected:
52 0 : ~XSlideShow() throw () {} // avoid warnings about virtual members and non-virtual dtor
53 : };
54 :
55 :
56 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::presentation::XSlideShow const *);
57 : } } } }
58 :
59 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::presentation::XSlideShow > *) SAL_THROW(());
60 :
61 : #endif
|