Branch data Line data Source code
1 : : #ifndef INCLUDED_OOO_VBA_EXCEL_XTITLE_HDL
2 : : #define INCLUDED_OOO_VBA_EXCEL_XTITLE_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/uno/RuntimeException.hdl"
7 : : namespace ooo { namespace vba { namespace excel { class XFont; } } }
8 : : #include "com/sun/star/script/BasicErrorException.hdl"
9 : : namespace ooo { namespace vba { namespace excel { class XInterior; } } }
10 : : #include "ooo/vba/XHelperInterface.hdl"
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 XTitle : public ::ooo::vba::XHelperInterface
21 : : {
22 : : public:
23 : :
24 : : // Methods
25 : : virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XInterior > SAL_CALL Interior( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
26 : : virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XFont > SAL_CALL Font( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
27 : : virtual void SAL_CALL setText( const ::rtl::OUString& Text ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
28 : : virtual ::rtl::OUString SAL_CALL getText( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
29 : : virtual void SAL_CALL setTop( double Top ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
30 : : virtual double SAL_CALL getTop( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
31 : : virtual void SAL_CALL setLeft( double Left ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual double SAL_CALL getLeft( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual void SAL_CALL setOrientation( ::sal_Int32 Orientation ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual ::sal_Int32 SAL_CALL getOrientation( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
35 : :
36 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
37 : :
38 : : protected:
39 : 0 : ~XTitle() throw () {} // avoid warnings about virtual members and non-virtual dtor
40 : : };
41 : :
42 : :
43 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::ooo::vba::excel::XTitle const *);
44 : : } } }
45 : :
46 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::excel::XTitle > *) SAL_THROW(());
47 : :
48 : : #endif
|