Line data Source code
1 : #ifndef INCLUDED_OOO_VBA_XASSISTANT_HDL
2 : #define INCLUDED_OOO_VBA_XASSISTANT_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/uno/RuntimeException.hdl"
7 : #include "com/sun/star/script/BasicErrorException.hdl"
8 : #include "ooo/vba/XHelperInterface.hdl"
9 : #include "com/sun/star/uno/Reference.h"
10 : #include "cppu/macros.hxx"
11 : #include "rtl/ustring.hxx"
12 : #include "sal/types.h"
13 :
14 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
15 :
16 : namespace ooo { namespace vba {
17 :
18 0 : class SAL_NO_VTABLE XAssistant : public ::ooo::vba::XHelperInterface
19 : {
20 : public:
21 :
22 : // Attributes
23 : virtual ::sal_Bool SAL_CALL getOn() = 0;
24 : virtual void SAL_CALL setOn( ::sal_Bool _on ) = 0;
25 : virtual ::sal_Bool SAL_CALL getVisible() = 0;
26 : virtual void SAL_CALL setVisible( ::sal_Bool _visible ) = 0;
27 : virtual ::sal_Int32 SAL_CALL getTop() = 0;
28 : virtual void SAL_CALL setTop( ::sal_Int32 _top ) = 0;
29 : virtual ::sal_Int32 SAL_CALL getLeft() = 0;
30 : virtual void SAL_CALL setLeft( ::sal_Int32 _left ) = 0;
31 : virtual ::sal_Int32 SAL_CALL getAnimation() = 0;
32 : virtual void SAL_CALL setAnimation( ::sal_Int32 _animation ) = 0;
33 :
34 : // Methods
35 : virtual ::rtl::OUString SAL_CALL Name() = 0;
36 :
37 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
38 :
39 : protected:
40 0 : ~XAssistant() throw () {} // avoid warnings about virtual members and non-virtual dtor
41 : };
42 :
43 :
44 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::ooo::vba::XAssistant const *);
45 : } }
46 :
47 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::XAssistant > *) SAL_THROW(());
48 :
49 : #endif
|