Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_ACCESSIBILITY_XACCESSIBLECONTEXT_HDL
2 : #define INCLUDED_COM_SUN_STAR_ACCESSIBILITY_XACCESSIBLECONTEXT_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/accessibility/IllegalAccessibleComponentStateException.hdl"
7 : namespace com { namespace sun { namespace star { namespace accessibility { class XAccessible; } } } }
8 : namespace com { namespace sun { namespace star { namespace accessibility { class XAccessibleRelationSet; } } } }
9 : namespace com { namespace sun { namespace star { namespace accessibility { class XAccessibleStateSet; } } } }
10 : #include "com/sun/star/lang/IndexOutOfBoundsException.hdl"
11 : #include "com/sun/star/lang/Locale.hdl"
12 : #include "com/sun/star/uno/RuntimeException.hdl"
13 : #include "com/sun/star/uno/XInterface.hdl"
14 : #include "com/sun/star/uno/Reference.h"
15 : #include "cppu/macros.hxx"
16 : #include "rtl/ustring.hxx"
17 : #include "sal/types.h"
18 :
19 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
20 :
21 : namespace com { namespace sun { namespace star { namespace accessibility {
22 :
23 3282 : class SAL_NO_VTABLE XAccessibleContext : public css::uno::XInterface
24 : {
25 : public:
26 :
27 : // Methods
28 : virtual ::sal_Int32 SAL_CALL getAccessibleChildCount() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
29 : virtual ::com::sun::star::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( ::sal_Int32 i ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
30 : virtual ::com::sun::star::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
31 : virtual ::sal_Int32 SAL_CALL getAccessibleIndexInParent() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
32 : virtual ::sal_Int16 SAL_CALL getAccessibleRole() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
33 : virtual ::rtl::OUString SAL_CALL getAccessibleDescription() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
34 : virtual ::rtl::OUString SAL_CALL getAccessibleName() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
35 : virtual ::com::sun::star::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
36 : virtual ::com::sun::star::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
37 : virtual css::lang::Locale SAL_CALL getLocale() /* throw (css::accessibility::IllegalAccessibleComponentStateException, ::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 3022 : ~XAccessibleContext() 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 css::accessibility::XAccessibleContext const *);
47 : } } } }
48 :
49 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::accessibility::XAccessibleContext > *) SAL_THROW(());
50 :
51 : #endif
|