Branch data Line data Source code
1 : : #ifndef INCLUDED_OOO_VBA_EXCEL_XBUTTON_HDL
2 : : #define INCLUDED_OOO_VBA_EXCEL_XBUTTON_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/uno/XInterface.hdl"
7 : : namespace ooo { namespace vba { namespace excel { class XFont; } } }
8 : : #include "com/sun/star/uno/RuntimeException.hdl"
9 : : namespace ooo { namespace vba { namespace excel { class XCharacters; } } }
10 : : #include "com/sun/star/uno/Any.h"
11 : : #include "com/sun/star/uno/Reference.h"
12 : : #include "cppu/macros.hxx"
13 : : #include "rtl/ustring.hxx"
14 : : #include "sal/types.h"
15 : :
16 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
17 : :
18 : : namespace ooo { namespace vba { namespace excel {
19 : :
20 : 0 : class SAL_NO_VTABLE XButton : public ::com::sun::star::uno::XInterface
21 : : {
22 : : public:
23 : :
24 : : // Attributes
25 : : virtual ::rtl::OUString SAL_CALL getCaption() throw (::com::sun::star::uno::RuntimeException) = 0;
26 : : virtual void SAL_CALL setCaption( const ::rtl::OUString& _caption ) throw (::com::sun::star::uno::RuntimeException) = 0;
27 : : virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XFont > SAL_CALL getFont() throw (::com::sun::star::uno::RuntimeException) = 0;
28 : : virtual void SAL_CALL setFont( const ::com::sun::star::uno::Reference< ::ooo::vba::excel::XFont >& _font ) throw (::com::sun::star::uno::RuntimeException) = 0;
29 : : virtual ::sal_Int32 SAL_CALL getHorizontalAlignment() throw (::com::sun::star::uno::RuntimeException) = 0;
30 : : virtual void SAL_CALL setHorizontalAlignment( ::sal_Int32 _horizontalalignment ) throw (::com::sun::star::uno::RuntimeException) = 0;
31 : : virtual ::sal_Int32 SAL_CALL getVerticalAlignment() throw (::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual void SAL_CALL setVerticalAlignment( ::sal_Int32 _verticalalignment ) throw (::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual ::sal_Int32 SAL_CALL getOrientation() throw (::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual void SAL_CALL setOrientation( ::sal_Int32 _orientation ) throw (::com::sun::star::uno::RuntimeException) = 0;
35 : :
36 : : // Methods
37 : : virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XCharacters > SAL_CALL Characters( const ::com::sun::star::uno::Any& Start, const ::com::sun::star::uno::Any& Length ) throw (::com::sun::star::uno::RuntimeException) = 0;
38 : :
39 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
40 : :
41 : : protected:
42 : 0 : ~XButton() throw () {} // avoid warnings about virtual members and non-virtual dtor
43 : : };
44 : :
45 : :
46 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::ooo::vba::excel::XButton const *);
47 : : } } }
48 : :
49 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::excel::XButton > *) SAL_THROW(());
50 : :
51 : : #endif
|