/Users/ericb/Desktop/SRC680_m247/starmath/source/accessibility.hxx

Go to the documentation of this file.
00001 /*************************************************************************
00002  *
00003  *  OpenOffice.org - a multi-platform office productivity suite
00004  *
00005  *  $RCSfile: accessibility.hxx,v $
00006  *
00007  *  $Revision: 1.20 $
00008  *
00009  *  last change: $Author: obo $ $Date: 2007/07/18 12:51:24 $
00010  *
00011  *  The Contents of this file are made available subject to
00012  *  the terms of GNU Lesser General Public License Version 2.1.
00013  *
00014  *
00015  *    GNU Lesser General Public License Version 2.1
00016  *    =============================================
00017  *    Copyright 2005 by Sun Microsystems, Inc.
00018  *    901 San Antonio Road, Palo Alto, CA 94303, USA
00019  *
00020  *    This library is free software; you can redistribute it and/or
00021  *    modify it under the terms of the GNU Lesser General Public
00022  *    License version 2.1, as published by the Free Software Foundation.
00023  *
00024  *    This library is distributed in the hope that it will be useful,
00025  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
00026  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00027  *    Lesser General Public License for more details.
00028  *
00029  *    You should have received a copy of the GNU Lesser General Public
00030  *    License along with this library; if not, write to the Free Software
00031  *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
00032  *    MA  02111-1307  USA
00033  *
00034  ************************************************************************/
00035 
00036 #ifdef _MSC_VER
00037 #pragma hdrstop
00038 #endif
00039 
00040 #ifndef _ACCESSIBILITY_HXX_
00041 #define _ACCESSIBILITY_HXX_
00042 
00043 //#ifndef _COM_SUN_STAR_LANG_XCOMPONENT_HPP_
00044 //#include <com/sun/star/lang/XComponent.hpp>
00045 //#endif
00046 #ifndef _COM_SUN_STAR_ACCESSIBILITY_XACCESSIBLE_HPP_
00047 #include <com/sun/star/accessibility/XAccessible.hpp>
00048 #endif
00049 #ifndef _COM_SUN_STAR_ACCESSIBILITY_XACCESSIBLECOMPONENT_HPP_
00050 #include <com/sun/star/accessibility/XAccessibleComponent.hpp>
00051 #endif
00052 #ifndef _COM_SUN_STAR_ACCESSIBILITY_XACCESSIBLECONTEXT_HPP_
00053 #include <com/sun/star/accessibility/XAccessibleContext.hpp>
00054 #endif
00055 #ifndef _COM_SUN_STAR_ACCESSIBILITY_XACCESSIBLETEXT_HPP_
00056 #include <com/sun/star/accessibility/XAccessibleText.hpp>
00057 #endif
00058 #ifndef _COM_SUN_STAR_ACCESSIBILITY_XACCESSIBLEEVENTBROADCASTER_HPP_
00059 #include <com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp>
00060 #endif
00061 #ifndef _COM_SUN_STAR_ACCESSIBILITY_ACCESSIBLEEVENTID_HPP_
00062 #include <com/sun/star/accessibility/AccessibleEventId.hpp>
00063 #endif
00064 #ifndef _COM_SUN_STAR_lang_XSERVICEINFO_HPP_
00065 #include <com/sun/star/lang/XServiceInfo.hpp>
00066 #endif
00067 
00068 #ifndef _COM_SUN_STAR_UNO_REFERENCE_H_
00069 #include <com/sun/star/uno/Reference.h>
00070 #endif
00071 
00072 #ifndef _OSL_MUTEX_HXX_
00073 #include <osl/mutex.hxx>
00074 #endif
00075 #ifndef _CPPUHELPER_INTERFACECONTAINER_H_
00076 #include <cppuhelper/interfacecontainer.h>
00077 #endif
00078 #ifndef _CPPUHELPER_IMPLBASE5_HXX_
00079 #include <cppuhelper/implbase5.hxx>
00080 #endif
00081 #ifndef _CPPUHELPER_IMPLBASE6_HXX_
00082 #include <cppuhelper/implbase6.hxx>
00083 #endif
00084 #ifndef _SFXBRDCST_HXX
00085 #include <svtools/brdcst.hxx>
00086 #endif
00087 
00088 #include <svx/editeng.hxx>
00089 
00090 #ifndef _SVX_UNOEDSRC_HXX
00091 #include <svx/unoedsrc.hxx> // SvxEditSource, SvxTextForwarder, SvxViewForwarder, SvxEditViewForwarder
00092 #endif
00093 #ifndef _SVX_ACCESSILE_TEXT_HELPER_HXX_
00094 #include <svx/AccessibleTextHelper.hxx>
00095 #endif
00096 
00097 #ifndef EDIT_HXX
00098 #include <edit.hxx>
00099 #endif
00100 
00101 class Window;
00102 class SmGraphicWindow;
00103 class SmEditWindow;
00104 class SmDocShell;
00105 
00106 namespace com { namespace sun { namespace star { namespace accessibility {
00107 struct AccessibleEventObject;
00108 }}}}
00109 
00110 #define css     com::sun::star
00111 
00113 //
00114 // classes and helper-classes used for accessibility in the graphic-window
00115 //
00116 
00117 typedef
00118 cppu::WeakImplHelper6
00119     <
00120         com::sun::star::lang::XServiceInfo,
00121         com::sun::star::accessibility::XAccessible,
00122         com::sun::star::accessibility::XAccessibleComponent,
00123         com::sun::star::accessibility::XAccessibleContext,
00124         com::sun::star::accessibility::XAccessibleText,
00125         com::sun::star::accessibility::XAccessibleEventBroadcaster
00126     >
00127 SmGraphicAccessibleBaseClass;
00128 
00129 class SmGraphicAccessible :
00130     public SmGraphicAccessibleBaseClass
00131 {
00132     //vos::ORefCount    aRefCount;  // number of references to object
00133     osl::Mutex                          aListenerMutex;
00134     String                              aAccName;
00136     sal_uInt32                          nClientId;
00137 
00138     SmGraphicWindow     *pWin;
00139 
00140     // disallow copy-ctor and assignment-operator for now
00141     SmGraphicAccessible( const SmGraphicAccessible & );
00142     SmGraphicAccessible & operator = ( const SmGraphicAccessible & );
00143 
00144 protected:
00145     SmDocShell *    GetDoc_Impl();
00146     String          GetAccessibleText_Impl();
00147 
00148 public:
00149     SmGraphicAccessible( SmGraphicWindow *pGraphicWin );
00150     virtual ~SmGraphicAccessible();
00151 
00152     SmGraphicWindow *   GetWin()    { return pWin; }
00153     void                ClearWin();     // to be called when view is destroyed
00154     void                LaunchEvent(
00155                             const sal_Int16 nAccesibleEventId,
00156                             const ::com::sun::star::uno::Any &rOldVal,
00157                             const ::com::sun::star::uno::Any &rNewVal);
00158 
00159     // XAccessible
00160     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext(  ) throw (::com::sun::star::uno::RuntimeException);
00161 
00162     // XAccessibleComponent
00163     virtual sal_Bool SAL_CALL containsPoint( const ::com::sun::star::awt::Point& aPoint ) throw (::com::sun::star::uno::RuntimeException);
00164     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint( const ::com::sun::star::awt::Point& aPoint ) throw (::com::sun::star::uno::RuntimeException);
00165     virtual ::com::sun::star::awt::Rectangle SAL_CALL getBounds(  ) throw (::com::sun::star::uno::RuntimeException);
00166     virtual ::com::sun::star::awt::Point SAL_CALL getLocation(  ) throw (::com::sun::star::uno::RuntimeException);
00167     virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen(  ) throw (::com::sun::star::uno::RuntimeException);
00168     virtual ::com::sun::star::awt::Size SAL_CALL getSize(  ) throw (::com::sun::star::uno::RuntimeException);
00169     virtual void SAL_CALL grabFocus(  ) throw (::com::sun::star::uno::RuntimeException);
00170     virtual sal_Int32 SAL_CALL getForeground(  ) throw (::com::sun::star::uno::RuntimeException);
00171     virtual sal_Int32 SAL_CALL getBackground(  ) throw (::com::sun::star::uno::RuntimeException);
00172 
00173     // XAccessibleContext
00174     virtual sal_Int32 SAL_CALL getAccessibleChildCount(  ) throw (::com::sun::star::uno::RuntimeException);
00175     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
00176     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL getAccessibleParent(  ) throw (::com::sun::star::uno::RuntimeException);
00177     virtual sal_Int32 SAL_CALL getAccessibleIndexInParent(  ) throw (::com::sun::star::uno::RuntimeException);
00178     virtual sal_Int16 SAL_CALL getAccessibleRole(  ) throw (::com::sun::star::uno::RuntimeException);
00179     virtual ::rtl::OUString SAL_CALL getAccessibleDescription(  ) throw (::com::sun::star::uno::RuntimeException);
00180     virtual ::rtl::OUString SAL_CALL getAccessibleName(  ) throw (::com::sun::star::uno::RuntimeException);
00181     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet(  ) throw (::com::sun::star::uno::RuntimeException);
00182     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet(  ) throw (::com::sun::star::uno::RuntimeException);
00183     virtual ::com::sun::star::lang::Locale SAL_CALL getLocale(  ) throw (::com::sun::star::accessibility::IllegalAccessibleComponentStateException, ::com::sun::star::uno::RuntimeException);
00184 
00185     // XAccessibleEventBroadcaster
00186     virtual void SAL_CALL addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException);
00187     virtual void SAL_CALL removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException);
00188 
00189     // XAccessibleText
00190     virtual sal_Int32 SAL_CALL getCaretPosition(  ) throw (::com::sun::star::uno::RuntimeException);
00191     virtual sal_Bool SAL_CALL setCaretPosition ( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
00192     virtual sal_Unicode SAL_CALL getCharacter( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
00193     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL getCharacterAttributes( sal_Int32 nIndex, const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aRequestedAttributes ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
00194     virtual ::com::sun::star::awt::Rectangle SAL_CALL getCharacterBounds( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
00195     virtual sal_Int32 SAL_CALL getCharacterCount(  ) throw (::com::sun::star::uno::RuntimeException);
00196     virtual sal_Int32 SAL_CALL getIndexAtPoint( const ::com::sun::star::awt::Point& aPoint ) throw (::com::sun::star::uno::RuntimeException);
00197     virtual ::rtl::OUString SAL_CALL getSelectedText(  ) throw (::com::sun::star::uno::RuntimeException);
00198     virtual sal_Int32 SAL_CALL getSelectionStart(  ) throw (::com::sun::star::uno::RuntimeException);
00199     virtual sal_Int32 SAL_CALL getSelectionEnd(  ) throw (::com::sun::star::uno::RuntimeException);
00200     virtual sal_Bool SAL_CALL setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
00201     virtual ::rtl::OUString SAL_CALL getText(  ) throw (::com::sun::star::uno::RuntimeException);
00202     virtual ::rtl::OUString SAL_CALL getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
00203     virtual ::com::sun::star::accessibility::TextSegment SAL_CALL getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
00204     virtual ::com::sun::star::accessibility::TextSegment SAL_CALL getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
00205     virtual ::com::sun::star::accessibility::TextSegment SAL_CALL getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
00206     virtual sal_Bool SAL_CALL copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
00207 
00208     // XServiceInfo
00209     virtual ::rtl::OUString SAL_CALL getImplementationName(  ) throw (::com::sun::star::uno::RuntimeException);
00210     virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) throw (::com::sun::star::uno::RuntimeException);
00211     virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames(  ) throw (::com::sun::star::uno::RuntimeException);
00212 };
00213 
00215 //
00216 // classes and helper-classes used for accessibility in the command-window
00217 //
00218 
00219 class SmEditAccessible;
00220 class SmEditSource;
00221 class EditEngine;
00222 class EditView;
00223 class SvxFieldItem;
00224 struct ESelection;
00225 
00226 
00227 class SmViewForwarder :
00228     public SvxViewForwarder
00229 {
00230     SmEditAccessible &          rEditAcc;
00231 
00232     // disallow copy-ctor and assignment-operator for now
00233     SmViewForwarder( const SmViewForwarder & );
00234     SmViewForwarder & operator = ( const SmViewForwarder & );
00235 
00236 public:
00237                         SmViewForwarder( SmEditAccessible &rAcc );
00238     virtual             ~SmViewForwarder();
00239 
00240     virtual BOOL        IsValid() const;
00241     virtual Rectangle   GetVisArea() const;
00242     virtual Point       LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) const;
00243     virtual Point       PixelToLogic( const Point& rPoint, const MapMode& rMapMode ) const;
00244 };
00245 
00246 
00247 class SmTextForwarder :     /* analog to SvxEditEngineForwarder */
00248     public SvxTextForwarder
00249 {
00250         SmEditAccessible &      rEditAcc;
00251     SmEditSource &      rEditSource;
00252 
00253     DECL_LINK( NotifyHdl, EENotify * );
00254 
00255     // disallow copy-ctor and assignment-operator for now
00256     SmTextForwarder( const SmTextForwarder & );
00257     SmTextForwarder & operator = ( const SmTextForwarder & );
00258 
00259 public:
00260     SmTextForwarder( SmEditAccessible& rAcc, SmEditSource & rSource );
00261     virtual ~SmTextForwarder();
00262 
00263         virtual USHORT          GetParagraphCount() const;
00264         virtual USHORT          GetTextLen( USHORT nParagraph ) const;
00265         virtual String          GetText( const ESelection& rSel ) const;
00266         virtual SfxItemSet      GetAttribs( const ESelection& rSel, BOOL bOnlyHardAttrib = EditEngineAttribs_All ) const;
00267         virtual SfxItemSet      GetParaAttribs( USHORT nPara ) const;
00268         virtual void            SetParaAttribs( USHORT nPara, const SfxItemSet& rSet );
00269         virtual void            GetPortions( USHORT nPara, SvUShorts& rList ) const;
00270 
00271         virtual USHORT          GetItemState( const ESelection& rSel, USHORT nWhich ) const;
00272         virtual USHORT          GetItemState( USHORT nPara, USHORT nWhich ) const;
00273 
00274         virtual void            QuickInsertText( const String& rText, const ESelection& rSel );
00275         virtual void            QuickInsertField( const SvxFieldItem& rFld, const ESelection& rSel );
00276         virtual void            QuickSetAttribs( const SfxItemSet& rSet, const ESelection& rSel );
00277         virtual void            QuickInsertLineBreak( const ESelection& rSel );
00278 
00279         virtual SfxItemPool* GetPool() const;
00280 
00281         virtual XubString    CalcFieldValue( const SvxFieldItem& rField, USHORT nPara, USHORT nPos, Color*& rpTxtColor, Color*& rpFldColor );
00282         virtual BOOL             IsValid() const;
00283 
00284     virtual LanguageType        GetLanguage( USHORT, USHORT ) const;
00285     virtual USHORT                      GetFieldCount( USHORT nPara ) const;
00286     virtual EFieldInfo          GetFieldInfo( USHORT nPara, USHORT nField ) const;
00287     virtual EBulletInfo     GetBulletInfo( USHORT nPara ) const;
00288     virtual Rectangle           GetCharBounds( USHORT nPara, USHORT nIndex ) const;
00289     virtual Rectangle           GetParaBounds( USHORT nPara ) const;
00290     virtual MapMode                     GetMapMode() const;
00291         virtual OutputDevice*   GetRefDevice() const;
00292     virtual sal_Bool            GetIndexAtPoint( const Point&, USHORT& nPara, USHORT& nIndex ) const;
00293     virtual sal_Bool            GetWordIndices( USHORT nPara, USHORT nIndex, USHORT& nStart, USHORT& nEnd ) const;
00294     virtual sal_Bool            GetAttributeRun( USHORT& nStartIndex, USHORT& nEndIndex, USHORT nPara, USHORT nIndex ) const;
00295     virtual USHORT                      GetLineCount( USHORT nPara ) const;
00296     virtual USHORT                      GetLineLen( USHORT nPara, USHORT nLine ) const;
00297     virtual sal_Bool            Delete( const ESelection& );
00298     virtual sal_Bool            InsertText( const String&, const ESelection& );
00299     virtual sal_Bool            QuickFormatDoc( BOOL bFull=FALSE );
00300 
00301     virtual USHORT          GetDepth( USHORT nPara ) const;
00302     virtual sal_Bool        SetDepth( USHORT nPara, USHORT nNewDepth );
00303     
00304     virtual const SfxItemSet*   GetEmptyItemSetPtr();
00305     // implementation functions for XParagraphAppend and XTextPortionAppend
00306     virtual void        AppendParagraph();
00307     virtual xub_StrLen  AppendTextPortion( USHORT nPara, const String &rText, const SfxItemSet &rSet );
00308 };
00309 
00310 
00311 class SmEditViewForwarder :     /* analog to SvxEditEngineViewForwarder */
00312     public SvxEditViewForwarder
00313 {
00314     SmEditAccessible&           rEditAcc;
00315 
00316     // disallow copy-ctor and assignment-operator for now
00317     SmEditViewForwarder( const SmEditViewForwarder & );
00318     SmEditViewForwarder & operator = ( const SmEditViewForwarder & );
00319 
00320 public:
00321                         SmEditViewForwarder( SmEditAccessible& rAcc );
00322     virtual             ~SmEditViewForwarder();
00323 
00324         virtual BOOL            IsValid() const;
00325 
00326     virtual Rectangle   GetVisArea() const;
00327     virtual Point               LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) const;
00328     virtual Point               PixelToLogic( const Point& rPoint, const MapMode& rMapMode ) const;
00329 
00330     virtual sal_Bool    GetSelection( ESelection& rSelection ) const;
00331     virtual sal_Bool    SetSelection( const ESelection& rSelection );
00332     virtual sal_Bool    Copy();
00333     virtual sal_Bool    Cut();
00334     virtual sal_Bool    Paste();
00335 };
00336 
00337 
00338 class SmEditSource :
00339     public SvxEditSource
00340 {
00341     SfxBroadcaster          aBroadCaster;
00342     SmViewForwarder         aViewFwd;
00343     SmTextForwarder         aTextFwd;
00344     SmEditViewForwarder     aEditViewFwd;
00345 
00346         SmEditAccessible&               rEditAcc;               
00347 
00348     // disallow copy-ctor and assignment-operator for now
00349     SmEditSource( const SmEditSource &rSrc );
00350     SmEditSource & operator = ( const SmEditSource & );
00351 
00352 public:
00353             SmEditSource( SmEditWindow *pWin, SmEditAccessible &rAcc );
00354     virtual ~SmEditSource();
00355 
00356     virtual SvxEditSource*      Clone() const;
00357     virtual SvxTextForwarder*   GetTextForwarder();
00358         virtual SvxViewForwarder*       GetViewForwarder();
00359         virtual SvxEditViewForwarder*   GetEditViewForwarder( sal_Bool bCreate = sal_False );
00360     virtual void                UpdateData();
00361     virtual SfxBroadcaster&             GetBroadcaster() const;
00362 };
00363 
00364 
00365 
00366 
00367 typedef
00368 cppu::WeakImplHelper5
00369     <
00370         com::sun::star::lang::XServiceInfo,
00371         com::sun::star::accessibility::XAccessible,
00372         com::sun::star::accessibility::XAccessibleComponent,
00373         com::sun::star::accessibility::XAccessibleContext,
00374         com::sun::star::accessibility::XAccessibleEventBroadcaster
00375     >
00376 SmEditAccessibleBaseClass;
00377 
00378 class SmEditAccessible :
00379     public SmEditAccessibleBaseClass
00380 {
00381     osl::Mutex                              aListenerMutex;
00382     String                                  aAccName;
00383     ::accessibility::AccessibleTextHelper    *pTextHelper;
00384     SmEditWindow                           *pWin;
00385 
00386     // disallow copy-ctor and assignment-operator for now
00387     SmEditAccessible( const SmEditAccessible & );
00388     SmEditAccessible & operator = ( const SmEditAccessible & );
00389 
00390 protected:
00391     SmDocShell *    GetDoc_Impl();
00392 
00393 public:
00394     SmEditAccessible( SmEditWindow *pEditWin );
00395     virtual ~SmEditAccessible();
00396 
00397     ::accessibility::AccessibleTextHelper *   GetTextHelper() { return pTextHelper; }
00398 
00399     void                Init();
00400     SmEditWindow *      GetWin()    { return pWin; }
00401     void                ClearWin();     // to be called when view is destroyed
00402 
00405         EditEngine * GetEditEngine()    { return pWin ? pWin->GetEditEngine() : 0; }
00406     EditView   * GetEditView()          { return pWin ? pWin->GetEditView() : 0; }
00407 
00408     // XAccessible
00409     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext(  ) throw (::com::sun::star::uno::RuntimeException);
00410 
00411     // XAccessibleComponent
00412     virtual sal_Bool SAL_CALL containsPoint( const ::com::sun::star::awt::Point& aPoint ) throw (::com::sun::star::uno::RuntimeException);
00413     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint( const ::com::sun::star::awt::Point& aPoint ) throw (::com::sun::star::uno::RuntimeException);
00414     virtual ::com::sun::star::awt::Rectangle SAL_CALL getBounds(  ) throw (::com::sun::star::uno::RuntimeException);
00415     virtual ::com::sun::star::awt::Point SAL_CALL getLocation(  ) throw (::com::sun::star::uno::RuntimeException);
00416     virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen(  ) throw (::com::sun::star::uno::RuntimeException);
00417     virtual ::com::sun::star::awt::Size SAL_CALL getSize(  ) throw (::com::sun::star::uno::RuntimeException);
00418     virtual void SAL_CALL grabFocus(  ) throw (::com::sun::star::uno::RuntimeException);
00419     virtual sal_Int32 SAL_CALL getForeground(  ) throw (::com::sun::star::uno::RuntimeException);
00420     virtual sal_Int32 SAL_CALL getBackground(  ) throw (::com::sun::star::uno::RuntimeException);
00421 
00422     // XAccessibleContext
00423     virtual sal_Int32 SAL_CALL getAccessibleChildCount(  ) throw (::com::sun::star::uno::RuntimeException);
00424     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
00425     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL getAccessibleParent(  ) throw (::com::sun::star::uno::RuntimeException);
00426     virtual sal_Int32 SAL_CALL getAccessibleIndexInParent(  ) throw (::com::sun::star::uno::RuntimeException);
00427     virtual sal_Int16 SAL_CALL getAccessibleRole(  ) throw (::com::sun::star::uno::RuntimeException);
00428     virtual ::rtl::OUString SAL_CALL getAccessibleDescription(  ) throw (::com::sun::star::uno::RuntimeException);
00429     virtual ::rtl::OUString SAL_CALL getAccessibleName(  ) throw (::com::sun::star::uno::RuntimeException);
00430     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet(  ) throw (::com::sun::star::uno::RuntimeException);
00431     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet(  ) throw (::com::sun::star::uno::RuntimeException);
00432     virtual ::com::sun::star::lang::Locale SAL_CALL getLocale(  ) throw (::com::sun::star::accessibility::IllegalAccessibleComponentStateException, ::com::sun::star::uno::RuntimeException);
00433 
00434     // XAccessibleEventBroadcaster
00435     virtual void SAL_CALL addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException);
00436     virtual void SAL_CALL removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException);
00437 
00438     // XServiceInfo
00439     virtual ::rtl::OUString SAL_CALL getImplementationName(  ) throw (::com::sun::star::uno::RuntimeException);
00440     virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) throw (::com::sun::star::uno::RuntimeException);
00441     virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames(  ) throw (::com::sun::star::uno::RuntimeException);
00442 };
00443 
00445 
00446 #endif
00447 

Generated on Wed Feb 20 17:21:56 2008 for maths by  doxygen 1.5.1