summaryrefslogtreecommitdiffstats
path: root/sw/inc/accmap.hxx
diff options
context:
space:
mode:
authorOliver-Rainer Wittmann <od@openoffice.org>2010-02-03 16:26:18 +0100
committerOliver-Rainer Wittmann <od@openoffice.org>2010-02-03 16:26:18 +0100
commit8d5a379f239ee595058a5c4b4d7d81041d3722f1 (patch)
tree67475b2422977f473a006b7e29f69b4879403849 /sw/inc/accmap.hxx
parentsw33a11y01: fix compiler warnings (diff)
downloadcore-8d5a379f239ee595058a5c4b4d7d81041d3722f1.tar.gz
core-8d5a379f239ee595058a5c4b4d7d81041d3722f1.zip
sw33a11y01: #i88070# - accessible Writer comments - fixes and part 2
Diffstat (limited to 'sw/inc/accmap.hxx')
-rw-r--r--sw/inc/accmap.hxx18
1 files changed, 12 insertions, 6 deletions
diff --git a/sw/inc/accmap.hxx b/sw/inc/accmap.hxx
index ce8ffa4514bf..0c6f3b698d15 100644
--- a/sw/inc/accmap.hxx
+++ b/sw/inc/accmap.hxx
@@ -63,7 +63,6 @@ class MapMode;
class SwAccPreviewData;
struct PrevwPage;
class Window;
-class SwFmtFld;
// real states for events
#define ACC_STATE_EDITABLE 0x01
@@ -91,7 +90,7 @@ typedef sal_uInt16 tAccessibleStates;
class SwAccessibleMap : public accessibility::IAccessibleViewForwarder,
public accessibility::IAccessibleParent
{
- ::vos::OMutex maMutex;
+ mutable ::vos::OMutex maMutex;
::vos::OMutex maEventMutex;
SwAccessibleContextMap_Impl *mpFrmMap;
SwAccessibleShapeMap_Impl *mpShapeMap;
@@ -204,10 +203,14 @@ public:
void RemoveContext( const SdrObject *pObj );
// Dispose frame and its children if bRecursive is set
- void Dispose( const SwFrm *pFrm, const SdrObject *pObj,
- sal_Bool bRecursive=sal_False );
-
- void InvalidatePosOrSize( const SwFrm *pFrm, const SdrObject *pObj,
+ void Dispose( const SwFrm* pFrm,
+ const SdrObject* pObj,
+ Window* pWindow,
+ sal_Bool bRecursive = sal_False );
+
+ void InvalidatePosOrSize( const SwFrm* pFrm,
+ const SdrObject* pObj,
+ Window* pWindow,
const SwRect& rOldFrm );
void InvalidateContent( const SwFrm *pFrm );
@@ -263,6 +266,9 @@ public:
*/
void InvalidateTextSelectionOfAllParas();
+ sal_Int32 GetChildIndex( const SwFrm& rParentFrm,
+ Window& rChild ) const;
+
// update preview data (and fire events if necessary)
// OD 15.01.2003 #103492# - complete re-factoring of method due to new
// page/print preview functionality.