AccessibleTableBase.hxx (38d50f7b) AccessibleTableBase.hxx (0deba7fb)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 16 unchanged lines hidden (view full) ---

25#ifndef _SC_ACCESSIBLETABLEBASE_HXX
26#define _SC_ACCESSIBLETABLEBASE_HXX
27
28#include "AccessibleContextBase.hxx"
29#include "global.hxx"
30#include "address.hxx"
31#include <com/sun/star/accessibility/XAccessibleTable.hpp>
32#include <com/sun/star/accessibility/XAccessibleSelection.hpp>
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 16 unchanged lines hidden (view full) ---

25#ifndef _SC_ACCESSIBLETABLEBASE_HXX
26#define _SC_ACCESSIBLETABLEBASE_HXX
27
28#include "AccessibleContextBase.hxx"
29#include "global.hxx"
30#include "address.hxx"
31#include <com/sun/star/accessibility/XAccessibleTable.hpp>
32#include <com/sun/star/accessibility/XAccessibleSelection.hpp>
33//IAccessibility2 Implementation 2009-----
34#include <com/sun/star/accessibility/XAccessibleTableSelection.hpp>
35//-----IAccessibility2 Implementation 2009
33#include <cppuhelper/implbase2.hxx>
34
35class ScTabViewShell;
36
37/** @descr
38 This base class provides an implementation of the
39 <code>AccessibleTable</code> service.
40*/
41
42typedef cppu::ImplHelper2< ::com::sun::star::accessibility::XAccessibleTable,
43 ::com::sun::star::accessibility::XAccessibleSelection>
44 ScAccessibleTableBaseImpl;
45
46class ScAccessibleTableBase :
47 public ScAccessibleContextBase,
36#include <cppuhelper/implbase2.hxx>
37
38class ScTabViewShell;
39
40/** @descr
41 This base class provides an implementation of the
42 <code>AccessibleTable</code> service.
43*/
44
45typedef cppu::ImplHelper2< ::com::sun::star::accessibility::XAccessibleTable,
46 ::com::sun::star::accessibility::XAccessibleSelection>
47 ScAccessibleTableBaseImpl;
48
49class ScAccessibleTableBase :
50 public ScAccessibleContextBase,
51//IAccessibility2 Implementation 2009-----
52 public ::com::sun::star::accessibility::XAccessibleTableSelection,
53//-----IAccessibility2 Implementation 2009
48 public ScAccessibleTableBaseImpl
49{
50public:
51 //===== internal ========================================================
52 ScAccessibleTableBase(
53 const ::com::sun::star::uno::Reference<
54 ::com::sun::star::accessibility::XAccessible>& rxParent,
55 ScDocument* pDoc,

--- 138 unchanged lines hidden (view full) ---

194 throw (::com::sun::star::uno::RuntimeException);
195
196 /// Return the specified child or NULL if index is invalid.
197 // is overloaded to calculate this on demand
198 virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL
199 getAccessibleChild(sal_Int32 nIndex)
200 throw (::com::sun::star::uno::RuntimeException,
201 ::com::sun::star::lang::IndexOutOfBoundsException);
54 public ScAccessibleTableBaseImpl
55{
56public:
57 //===== internal ========================================================
58 ScAccessibleTableBase(
59 const ::com::sun::star::uno::Reference<
60 ::com::sun::star::accessibility::XAccessible>& rxParent,
61 ScDocument* pDoc,

--- 138 unchanged lines hidden (view full) ---

200 throw (::com::sun::star::uno::RuntimeException);
201
202 /// Return the specified child or NULL if index is invalid.
203 // is overloaded to calculate this on demand
204 virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL
205 getAccessibleChild(sal_Int32 nIndex)
206 throw (::com::sun::star::uno::RuntimeException,
207 ::com::sun::star::lang::IndexOutOfBoundsException);
208//IAccessibility2 Implementation 2009-----
209 virtual sal_Bool SAL_CALL selectRow( sal_Int32 row )
210 throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) ;
211 virtual sal_Bool SAL_CALL selectColumn( sal_Int32 column )
212 throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) ;
213 virtual sal_Bool SAL_CALL unselectRow( sal_Int32 row )
214 throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) ;
215 virtual sal_Bool SAL_CALL unselectColumn( sal_Int32 column )
216 throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) ;
217//-----IAccessibility2 Implementation 2009
202
203protected:
204 /// Return this object's description.
205 virtual ::rtl::OUString SAL_CALL
206 createAccessibleDescription(void)
207 throw (::com::sun::star::uno::RuntimeException);
208
209 /// Return the object's current name.

--- 85 unchanged lines hidden ---
218
219protected:
220 /// Return this object's description.
221 virtual ::rtl::OUString SAL_CALL
222 createAccessibleDescription(void)
223 throw (::com::sun::star::uno::RuntimeException);
224
225 /// Return the object's current name.

--- 85 unchanged lines hidden ---