Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_ACCESSIBILITY_XACCESSIBLETABLE_HDL
2 : #define INCLUDED_COM_SUN_STAR_ACCESSIBILITY_XACCESSIBLETABLE_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : namespace com { namespace sun { namespace star { namespace accessibility { class XAccessible; } } } }
7 : namespace com { namespace sun { namespace star { namespace accessibility { class XAccessibleTable; } } } }
8 : #include "com/sun/star/lang/IndexOutOfBoundsException.hdl"
9 : #include "com/sun/star/uno/RuntimeException.hdl"
10 : #include "com/sun/star/uno/XInterface.hdl"
11 : #include "com/sun/star/uno/Reference.h"
12 : #include "com/sun/star/uno/Sequence.h"
13 : #include "cppu/macros.hxx"
14 : #include "rtl/ustring.hxx"
15 : #include "sal/types.h"
16 :
17 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
18 :
19 : namespace com { namespace sun { namespace star { namespace accessibility {
20 :
21 21 : class SAL_NO_VTABLE XAccessibleTable : public css::uno::XInterface
22 : {
23 : public:
24 :
25 : // Methods
26 : virtual ::sal_Int32 SAL_CALL getAccessibleRowCount() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
27 : virtual ::sal_Int32 SAL_CALL getAccessibleColumnCount() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
28 : virtual ::rtl::OUString SAL_CALL getAccessibleRowDescription( ::sal_Int32 nRow ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
29 : virtual ::rtl::OUString SAL_CALL getAccessibleColumnDescription( ::sal_Int32 nColumn ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
30 : virtual ::sal_Int32 SAL_CALL getAccessibleRowExtentAt( ::sal_Int32 nRow, ::sal_Int32 nColumn ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
31 : virtual ::sal_Int32 SAL_CALL getAccessibleColumnExtentAt( ::sal_Int32 nRow, ::sal_Int32 nColumn ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
32 : virtual ::com::sun::star::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL getAccessibleRowHeaders() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
33 : virtual ::com::sun::star::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL getAccessibleColumnHeaders() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
34 : virtual ::com::sun::star::uno::Sequence< ::sal_Int32 > SAL_CALL getSelectedAccessibleRows() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
35 : virtual ::com::sun::star::uno::Sequence< ::sal_Int32 > SAL_CALL getSelectedAccessibleColumns() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
36 : virtual ::sal_Bool SAL_CALL isAccessibleRowSelected( ::sal_Int32 nRow ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
37 : virtual ::sal_Bool SAL_CALL isAccessibleColumnSelected( ::sal_Int32 nColumn ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
38 : virtual ::com::sun::star::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleCellAt( ::sal_Int32 nRow, ::sal_Int32 nColumn ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
39 : virtual ::com::sun::star::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleCaption() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
40 : virtual ::com::sun::star::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleSummary() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
41 : virtual ::sal_Bool SAL_CALL isAccessibleSelected( ::sal_Int32 nRow, ::sal_Int32 nColumn ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
42 : virtual ::sal_Int32 SAL_CALL getAccessibleIndex( ::sal_Int32 nRow, ::sal_Int32 nColumn ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
43 : virtual ::sal_Int32 SAL_CALL getAccessibleRow( ::sal_Int32 nChildIndex ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
44 : virtual ::sal_Int32 SAL_CALL getAccessibleColumn( ::sal_Int32 nChildIndex ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
45 :
46 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
47 :
48 : protected:
49 21 : ~XAccessibleTable() throw () {} // avoid warnings about virtual members and non-virtual dtor
50 : };
51 :
52 :
53 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::accessibility::XAccessibleTable const *);
54 : } } } }
55 :
56 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::accessibility::XAccessibleTable > *) SAL_THROW(());
57 :
58 : #endif
|