summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/AccessibleDocumentViewBase.hxx
diff options
context:
space:
mode:
authorKai Ahrens <ka@openoffice.org>2002-05-08 09:01:33 +0000
committerKai Ahrens <ka@openoffice.org>2002-05-08 09:01:33 +0000
commit84d1aa50f73c83c1bc7311e65dd87698ab841077 (patch)
treef81be14d589103f0acc46e668f5a0950ab02034c /sd/source/ui/inc/AccessibleDocumentViewBase.hxx
parent82d202487a8aea8ed7d98983c0e913cdaf4653f7 (diff)
#95585#: added accessibility selection
Diffstat (limited to 'sd/source/ui/inc/AccessibleDocumentViewBase.hxx')
-rw-r--r--sd/source/ui/inc/AccessibleDocumentViewBase.hxx29
1 files changed, 27 insertions, 2 deletions
diff --git a/sd/source/ui/inc/AccessibleDocumentViewBase.hxx b/sd/source/ui/inc/AccessibleDocumentViewBase.hxx
index c08336a03be8..14419e7bcaf1 100644
--- a/sd/source/ui/inc/AccessibleDocumentViewBase.hxx
+++ b/sd/source/ui/inc/AccessibleDocumentViewBase.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: AccessibleDocumentViewBase.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: af $ $Date: 2002-04-22 08:36:52 $
+ * last change: $Author: ka $ $Date: 2002-05-08 09:58:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -69,6 +69,9 @@
#ifndef _SVX_ACCESSIBILITY_ACCESSIBLE_COMPONENT_BASE_HXX
#include <svx/AccessibleComponentBase.hxx>
#endif
+#ifndef _SVX_ACCESSIBILITY_ACCESSIBLE_SELECTION_BASE_HXX
+#include <svx/AccessibleSelectionBase.hxx>
+#endif
#ifndef _SD_ACCESSIBILITY_ACCESSIBLE_VIEW_FORWARDER_HXX
#include "AccessibleViewForwarder.hxx"
#endif
@@ -111,6 +114,7 @@ namespace accessibility {
class AccessibleDocumentViewBase
: public AccessibleContextBase,
public AccessibleComponentBase,
+ public AccessibleSelectionBase,
public IAccessibleViewForwarderListener,
public ::com::sun::star::beans::XPropertyChangeListener,
public ::com::sun::star::frame::XFrameActionListener,
@@ -254,6 +258,27 @@ public:
throw (::com::sun::star::uno::RuntimeException);
protected:
+
+ // return the member maMutex;
+ virtual ::osl::Mutex&
+ implGetMutex();
+
+ // return ourself as context in default case
+ virtual ::com::sun::star::uno::Reference< ::drafts::com::sun::star::accessibility::XAccessibleContext >
+ implGetAccessibleContext()
+ throw ( ::com::sun::star::uno::RuntimeException );
+
+ // return sal_False in default case
+ virtual sal_Bool
+ implIsSelected( sal_Int32 nAccessibleChildIndex )
+ throw (::com::sun::star::uno::RuntimeException);
+
+ // return nothing in default case
+ virtual void
+ implSelect( sal_Int32 nAccessibleChildIndex, sal_Bool bSelect )
+ throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
+
+protected:
/// The core window that is made accessible.
SdWindow* mpWindow;