Line data Source code
1 : #ifndef INCLUDED_OOO_VBA_EXCEL_XHYPERLINK_HDL
2 : #define INCLUDED_OOO_VBA_EXCEL_XHYPERLINK_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/uno/RuntimeException.hdl"
7 : namespace ooo { namespace vba { namespace msforms { class XShape; } } }
8 : #include "ooo/vba/XHelperInterface.hdl"
9 : namespace ooo { namespace vba { namespace excel { class XRange; } } }
10 : #include "com/sun/star/uno/Reference.h"
11 : #include "cppu/macros.hxx"
12 : #include "rtl/ustring.hxx"
13 : #include "sal/types.h"
14 :
15 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
16 :
17 : namespace ooo { namespace vba { namespace excel {
18 :
19 0 : class SAL_NO_VTABLE XHyperlink : public ::ooo::vba::XHelperInterface
20 : {
21 : public:
22 :
23 : // Attributes
24 : virtual ::rtl::OUString SAL_CALL getName() = 0;
25 : virtual void SAL_CALL setName( const ::rtl::OUString& _name ) = 0;
26 : virtual ::rtl::OUString SAL_CALL getAddress() = 0;
27 : virtual void SAL_CALL setAddress( const ::rtl::OUString& _address ) = 0;
28 : virtual ::rtl::OUString SAL_CALL getSubAddress() = 0;
29 : virtual void SAL_CALL setSubAddress( const ::rtl::OUString& _subaddress ) = 0;
30 : virtual ::rtl::OUString SAL_CALL getScreenTip() = 0;
31 : virtual void SAL_CALL setScreenTip( const ::rtl::OUString& _screentip ) = 0;
32 : virtual ::rtl::OUString SAL_CALL getTextToDisplay() = 0;
33 : virtual void SAL_CALL setTextToDisplay( const ::rtl::OUString& _texttodisplay ) = 0;
34 : virtual ::sal_Int32 SAL_CALL getType() = 0;
35 : virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL getRange() = 0;
36 : virtual ::com::sun::star::uno::Reference< ::ooo::vba::msforms::XShape > SAL_CALL getShape() = 0;
37 :
38 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
39 :
40 : protected:
41 0 : ~XHyperlink() throw () {} // avoid warnings about virtual members and non-virtual dtor
42 : };
43 :
44 :
45 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::ooo::vba::excel::XHyperlink const *);
46 : } } }
47 :
48 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::excel::XHyperlink > *) SAL_THROW(());
49 :
50 : #endif
|