summaryrefslogtreecommitdiff
path: root/starmath/inc/edit.hxx
diff options
context:
space:
mode:
authorThomas Lange <tl@openoffice.org>2002-06-13 13:44:44 +0000
committerThomas Lange <tl@openoffice.org>2002-06-13 13:44:44 +0000
commite716420ffb28f8e4137086392ff9a31f796609ed (patch)
tree78a9d8177c1104ff96f18c018437ddeeeee0feb9 /starmath/inc/edit.hxx
parentaf86fa3b49d8de756d530508b7b43e2a19d161fc (diff)
#99968# ZoomText can now read text in the commands-window
Diffstat (limited to 'starmath/inc/edit.hxx')
-rw-r--r--starmath/inc/edit.hxx27
1 files changed, 21 insertions, 6 deletions
diff --git a/starmath/inc/edit.hxx b/starmath/inc/edit.hxx
index 4e5ff51f8291..ab4d6b8c6e61 100644
--- a/starmath/inc/edit.hxx
+++ b/starmath/inc/edit.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: edit.hxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: tl $ $Date: 2001-08-31 14:11:58 $
+ * last change: $Author: tl $ $Date: 2002-06-13 14:44:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -74,6 +74,10 @@
#include <svx/editdata.hxx>
#endif
+#ifndef _ACCESSIBILITY_HXX_
+#include "accessibility.hxx"
+#endif
+
class SmDocShell;
class SmViewShell;
class EditView;
@@ -94,6 +98,10 @@ class SmCmdBoxWindow;
class SmEditWindow : public Window, public DropTargetHelper
{
+ ::com::sun::star::uno::Reference<
+ ::drafts::com::sun::star::accessibility::XAccessible > xAccessible;
+ SmEditAccessible * pAccessible;
+
SmCmdBoxWindow &rCmdBox;
EditView *pEditView;
ScrollBar *pHScrollBar,
@@ -130,14 +138,16 @@ class SmEditWindow : public Window, public DropTargetHelper
void SetScrollBarRanges();
void InitScrollBars();
- SmDocShell * GetDoc();
- EditEngine * GetEditEngine();
- SfxItemPool * GetEditEngineItemPool();
-
public:
SmEditWindow( SmCmdBoxWindow &rMyCmdBoxWin );
~SmEditWindow();
+ SmDocShell * GetDoc();
+ SmViewShell * GetView();
+ EditView * GetEditView() { return pEditView; }
+ EditEngine * GetEditEngine();
+ SfxItemPool * GetEditEngineItemPool();
+
// Window
virtual void SetText(const XubString &rText);
virtual XubString GetText();
@@ -164,6 +174,11 @@ public:
void Flush();
void DeleteEditView( SmViewShell &rView );
+
+ // for Accessibility
+ virtual ::com::sun::star::uno::Reference< ::drafts::com::sun::star::accessibility::XAccessible > CreateAccessible();
+
+ SmEditAccessible * GetAccessible() { return pAccessible; }
};