diff options
author | Michael Brauer <mib@openoffice.org> | 2002-02-20 17:33:01 +0000 |
---|---|---|
committer | Michael Brauer <mib@openoffice.org> | 2002-02-20 17:33:01 +0000 |
commit | 7585cb1c54d4365f548394dc3affd6da80ef77c7 (patch) | |
tree | 11f34cb2b20de681911b6b8f58bd139c3176ecee /sw/inc/accmap.hxx | |
parent | 65397bff2302f4d36be3699aaa18b0c75fddc617 (diff) |
#95586#: Accessible view is now view aware
Diffstat (limited to 'sw/inc/accmap.hxx')
-rw-r--r-- | sw/inc/accmap.hxx | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/sw/inc/accmap.hxx b/sw/inc/accmap.hxx index 7bb06c18ac1d..68ff084be886 100644 --- a/sw/inc/accmap.hxx +++ b/sw/inc/accmap.hxx @@ -2,9 +2,9 @@ * * $RCSfile: accmap.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: mib $ $Date: 2002-02-11 12:51:16 $ + * last change: $Author: mib $ $Date: 2002-02-20 18:33:01 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -81,34 +81,33 @@ class SwRootFrm; class SwAccessibleContext; class SwAccessibleMap_Impl; class SwRect; +class ViewShell; class SwAccessibleMap { ::vos::OMutex aMutex; SwAccessibleMap_Impl *pMap; + ViewShell *pVSh; sal_Int32 nPara; public: - SwAccessibleMap(); + SwAccessibleMap( ViewShell *pSh ); ~SwAccessibleMap(); ::com::sun::star::uno::Reference< - ::drafts::com::sun::star::accessibility::XAccessible> GetDocumentView( - const ::com::sun::star::uno::Reference< - ::drafts::com::sun::star::accessibility::XAccessible>& rxParent, - const Rectangle& rVisArea, - const SwRootFrm *pRootFrm ); + ::drafts::com::sun::star::accessibility::XAccessible> GetDocumentView(); ::vos::ORef < SwAccessibleContext > GetContextImpl( - const Rectangle& rVisArea, const SwFrm *pFrm, sal_Bool bCreate = sal_True ); ::com::sun::star::uno::Reference< ::drafts::com::sun::star::accessibility::XAccessible> GetContext( - const Rectangle& rVisArea, const SwFrm *pFrm, sal_Bool bCreate = sal_True ); + + ViewShell *GetShell() { return pVSh; } + void RemoveContext( SwAccessibleContext *pAcc ); void DisposeFrm( const SwFrm *pFrm ); @@ -116,7 +115,4 @@ public: void MoveFrm( const SwFrm *pFrm, const SwRect& rOldFrm ); }; - -extern SwAccessibleMap aAccMap; - #endif |