summaryrefslogtreecommitdiffstats
path: root/sw/inc/accmap.hxx
diff options
context:
space:
mode:
authorMichael Brauer <mib@openoffice.org>2002-03-21 11:56:53 +0000
committerMichael Brauer <mib@openoffice.org>2002-03-21 11:56:53 +0000
commitdd8dacac09f810f0f65be4ac324674a42b27a3b7 (patch)
treed39d88bf221147e5c6e265f6c0285d623df6a4de /sw/inc/accmap.hxx
parent#95586#: Acquire solar mutex while creating accessible (VCL doesn't do that) (diff)
downloadcore-dd8dacac09f810f0f65be4ac324674a42b27a3b7.tar.gz
core-dd8dacac09f810f0f65be4ac324674a42b27a3b7.zip
#95586#: Focus events
Diffstat (limited to 'sw/inc/accmap.hxx')
-rw-r--r--sw/inc/accmap.hxx17
1 files changed, 15 insertions, 2 deletions
diff --git a/sw/inc/accmap.hxx b/sw/inc/accmap.hxx
index a215684a26cf..c744121400fc 100644
--- a/sw/inc/accmap.hxx
+++ b/sw/inc/accmap.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: accmap.hxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: mib $ $Date: 2002-03-18 12:56:32 $
+ * last change: $Author: mib $ $Date: 2002-03-21 12:56:53 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -86,6 +86,12 @@ struct SwAccessibleEvent_Impl;
class SwRect;
class ViewShell;
+#define ACC_STATE_EDITABLE 0x01
+#define ACC_STATE_OPAQUE 0x02
+#define ACC_STATE_CARET 0x80
+
+#define ACC_STATE_MASK 0x7F
+
class SwAccessibleMap
{
::vos::OMutex aMutex;
@@ -98,8 +104,13 @@ class SwAccessibleMap
sal_Int32 nFootnote;
sal_Int32 nEndnote;
+ static void FireEvent( const SwAccessibleEvent_Impl& rEvent );
void AppendEvent( const SwAccessibleEvent_Impl& rEvent );
+ void InvalidateCaretPosition(
+ const ::com::sun::star::uno::Reference<
+ ::drafts::com::sun::star::accessibility::XAccessible>& rAcc );
+
public:
SwAccessibleMap( ViewShell *pSh );
@@ -131,6 +142,8 @@ public:
void SetCaretContext(
const ::vos::ORef < SwAccessibleContext >& rCaretContext );
+ void InvalidateStates( sal_uInt8 nStates );
+
void FireEvents();
};