Line data Source code
1 : #ifndef INCLUDED_OOO_VBA_EXCEL_XSHEETOBJECT_HDL
2 : #define INCLUDED_OOO_VBA_EXCEL_XSHEETOBJECT_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/uno/RuntimeException.hdl"
7 : #include "ooo/vba/XHelperInterface.hdl"
8 : #include "com/sun/star/uno/Reference.h"
9 : #include "cppu/macros.hxx"
10 : #include "rtl/ustring.hxx"
11 : #include "sal/types.h"
12 :
13 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
14 :
15 : namespace ooo { namespace vba { namespace excel {
16 :
17 0 : class SAL_NO_VTABLE XSheetObject : public ::ooo::vba::XHelperInterface
18 : {
19 : public:
20 :
21 : // Attributes
22 : virtual double SAL_CALL getLeft() = 0;
23 : virtual void SAL_CALL setLeft( double _left ) = 0;
24 : virtual double SAL_CALL getTop() = 0;
25 : virtual void SAL_CALL setTop( double _top ) = 0;
26 : virtual double SAL_CALL getWidth() = 0;
27 : virtual void SAL_CALL setWidth( double _width ) = 0;
28 : virtual double SAL_CALL getHeight() = 0;
29 : virtual void SAL_CALL setHeight( double _height ) = 0;
30 : virtual ::rtl::OUString SAL_CALL getName() = 0;
31 : virtual void SAL_CALL setName( const ::rtl::OUString& _name ) = 0;
32 : virtual ::rtl::OUString SAL_CALL getOnAction() = 0;
33 : virtual void SAL_CALL setOnAction( const ::rtl::OUString& _onaction ) = 0;
34 : virtual ::sal_Int32 SAL_CALL getPlacement() = 0;
35 : virtual void SAL_CALL setPlacement( ::sal_Int32 _placement ) = 0;
36 : virtual ::sal_Bool SAL_CALL getPrintObject() = 0;
37 : virtual void SAL_CALL setPrintObject( ::sal_Bool _printobject ) = 0;
38 :
39 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
40 :
41 : protected:
42 0 : ~XSheetObject() 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::XSheetObject const *);
47 : } } }
48 :
49 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::excel::XSheetObject > *) SAL_THROW(());
50 :
51 : #endif
|