summaryrefslogtreecommitdiff
path: root/sw/inc/accmap.hxx
diff options
context:
space:
mode:
authorDaniel Vogelheim <dvo@openoffice.org>2002-04-24 14:27:21 +0000
committerDaniel Vogelheim <dvo@openoffice.org>2002-04-24 14:27:21 +0000
commit8d9ecac0c47f6ad67d48eeb1a4352fbf5495dbc2 (patch)
tree6dfe7b089be516f5d1df0f6537c0d7a8e25265d9 /sw/inc/accmap.hxx
parent8fcfb253d754c7750e4c02e00892f5b1b4454342 (diff)
#95586# added XAccessibleRelation interface to text frames
Diffstat (limited to 'sw/inc/accmap.hxx')
-rw-r--r--sw/inc/accmap.hxx14
1 files changed, 11 insertions, 3 deletions
diff --git a/sw/inc/accmap.hxx b/sw/inc/accmap.hxx
index b5b8ab86dcd8..562e7c36e7a0 100644
--- a/sw/inc/accmap.hxx
+++ b/sw/inc/accmap.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: accmap.hxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: mib $ $Date: 2002-04-17 14:26:24 $
+ * last change: $Author: dvo $ $Date: 2002-04-24 15:25:50 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -95,8 +95,12 @@ class ViewShell;
// pseudo states for events
#define ACC_STATE_CARET 0x80
+#define ACC_STATE_RELATION_FROM 0x40
+#define ACC_STATE_RELATION_TO 0x20
-#define ACC_STATE_MASK 0x7F
+#define ACC_STATE_RELATION_MASK 0x60
+
+#define ACC_STATE_MASK 0x1F
class SwAccessibleMap
{
@@ -117,6 +121,8 @@ class SwAccessibleMap
const ::com::sun::star::uno::Reference<
::drafts::com::sun::star::accessibility::XAccessible>& rAcc );
+ void _InvalidateRelationSet( const SwFrm* pFrm, sal_Bool bFrom );
+
public:
SwAccessibleMap( ViewShell *pSh );
@@ -154,6 +160,8 @@ public:
// is processed when the last action ends.
void InvalidateStates( sal_uInt8 nStates );
+ void InvalidateRelationSet( const SwFrm* pMaster, const SwFrm* pFollow );
+
void FireEvents();
};