fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / starmath / source / accessibility.hxx
blobdf0745b4aaef9cf289c854dea0eab5b7e1e15bc3
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifdef _MSC_VER
21 #pragma hdrstop
22 #endif
24 #ifndef _ACCESSIBILITY_HXX_
25 #define _ACCESSIBILITY_HXX_
27 #include <com/sun/star/accessibility/XAccessible.hpp>
28 #include <com/sun/star/accessibility/XAccessibleComponent.hpp>
29 #include <com/sun/star/accessibility/XAccessibleContext.hpp>
30 #include <com/sun/star/accessibility/XAccessibleText.hpp>
31 #include <com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp>
32 #include <com/sun/star/accessibility/AccessibleEventId.hpp>
33 #include <com/sun/star/lang/XServiceInfo.hpp>
34 #include <com/sun/star/uno/Reference.h>
35 #include <osl/mutex.hxx>
36 #include <cppuhelper/interfacecontainer.h>
37 #include <cppuhelper/implbase5.hxx>
38 #include <cppuhelper/implbase6.hxx>
39 #include <svl/brdcst.hxx>
41 #include <editeng/editeng.hxx>
42 #include <editeng/unoedsrc.hxx> // SvxEditSource, SvxTextForwarder, SvxViewForwarder, SvxEditViewForwarder
43 #include <svx/AccessibleTextHelper.hxx>
44 #include <edit.hxx>
46 class SmGraphicWindow;
47 class SmEditWindow;
48 class SmDocShell;
50 namespace com { namespace sun { namespace star { namespace accessibility {
51 struct AccessibleEventObject;
52 }}}}
54 //////////////////////////////////////////////////////////////////////
56 // classes and helper-classes used for accessibility in the graphic-window
59 typedef
60 cppu::WeakImplHelper6
62 com::sun::star::lang::XServiceInfo,
63 com::sun::star::accessibility::XAccessible,
64 com::sun::star::accessibility::XAccessibleComponent,
65 com::sun::star::accessibility::XAccessibleContext,
66 com::sun::star::accessibility::XAccessibleText,
67 com::sun::star::accessibility::XAccessibleEventBroadcaster
69 SmGraphicAccessibleBaseClass;
71 class SmGraphicAccessible :
72 public SmGraphicAccessibleBaseClass
74 osl::Mutex aListenerMutex;
75 OUString aAccName;
76 /// client id in the AccessibleEventNotifier queue
77 sal_uInt32 nClientId;
79 SmGraphicWindow *pWin;
81 // disallow copy-ctor and assignment-operator for now
82 SmGraphicAccessible( const SmGraphicAccessible & );
83 SmGraphicAccessible & operator = ( const SmGraphicAccessible & );
85 protected:
86 SmDocShell * GetDoc_Impl();
87 OUString GetAccessibleText_Impl();
89 public:
90 SmGraphicAccessible( SmGraphicWindow *pGraphicWin );
91 virtual ~SmGraphicAccessible();
93 SmGraphicWindow * GetWin() { return pWin; }
94 void ClearWin(); // to be called when view is destroyed
95 void LaunchEvent(
96 const sal_Int16 nAccesibleEventId,
97 const ::com::sun::star::uno::Any &rOldVal,
98 const ::com::sun::star::uno::Any &rNewVal);
100 // XAccessible
101 virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) throw (::com::sun::star::uno::RuntimeException);
103 // XAccessibleComponent
104 virtual sal_Bool SAL_CALL containsPoint( const ::com::sun::star::awt::Point& aPoint ) throw (::com::sun::star::uno::RuntimeException);
105 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);
106 virtual ::com::sun::star::awt::Rectangle SAL_CALL getBounds( ) throw (::com::sun::star::uno::RuntimeException);
107 virtual ::com::sun::star::awt::Point SAL_CALL getLocation( ) throw (::com::sun::star::uno::RuntimeException);
108 virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen( ) throw (::com::sun::star::uno::RuntimeException);
109 virtual ::com::sun::star::awt::Size SAL_CALL getSize( ) throw (::com::sun::star::uno::RuntimeException);
110 virtual void SAL_CALL grabFocus( ) throw (::com::sun::star::uno::RuntimeException);
111 virtual sal_Int32 SAL_CALL getForeground( ) throw (::com::sun::star::uno::RuntimeException);
112 virtual sal_Int32 SAL_CALL getBackground( ) throw (::com::sun::star::uno::RuntimeException);
114 // XAccessibleContext
115 virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) throw (::com::sun::star::uno::RuntimeException);
116 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);
117 virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL getAccessibleParent( ) throw (::com::sun::star::uno::RuntimeException);
118 virtual sal_Int32 SAL_CALL getAccessibleIndexInParent( ) throw (::com::sun::star::uno::RuntimeException);
119 virtual sal_Int16 SAL_CALL getAccessibleRole( ) throw (::com::sun::star::uno::RuntimeException);
120 virtual OUString SAL_CALL getAccessibleDescription( ) throw (::com::sun::star::uno::RuntimeException);
121 virtual OUString SAL_CALL getAccessibleName( ) throw (::com::sun::star::uno::RuntimeException);
122 virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet( ) throw (::com::sun::star::uno::RuntimeException);
123 virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet( ) throw (::com::sun::star::uno::RuntimeException);
124 virtual ::com::sun::star::lang::Locale SAL_CALL getLocale( ) throw (::com::sun::star::accessibility::IllegalAccessibleComponentStateException, ::com::sun::star::uno::RuntimeException);
126 // XAccessibleEventBroadcaster
127 virtual void SAL_CALL addAccessibleEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException);
128 virtual void SAL_CALL removeAccessibleEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException);
130 // XAccessibleText
131 virtual sal_Int32 SAL_CALL getCaretPosition( ) throw (::com::sun::star::uno::RuntimeException);
132 virtual sal_Bool SAL_CALL setCaretPosition ( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
133 virtual sal_Unicode SAL_CALL getCharacter( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
134 virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL getCharacterAttributes( sal_Int32 nIndex, const ::com::sun::star::uno::Sequence< OUString >& aRequestedAttributes ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
135 virtual ::com::sun::star::awt::Rectangle SAL_CALL getCharacterBounds( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
136 virtual sal_Int32 SAL_CALL getCharacterCount( ) throw (::com::sun::star::uno::RuntimeException);
137 virtual sal_Int32 SAL_CALL getIndexAtPoint( const ::com::sun::star::awt::Point& aPoint ) throw (::com::sun::star::uno::RuntimeException);
138 virtual OUString SAL_CALL getSelectedText( ) throw (::com::sun::star::uno::RuntimeException);
139 virtual sal_Int32 SAL_CALL getSelectionStart( ) throw (::com::sun::star::uno::RuntimeException);
140 virtual sal_Int32 SAL_CALL getSelectionEnd( ) throw (::com::sun::star::uno::RuntimeException);
141 virtual sal_Bool SAL_CALL setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
142 virtual OUString SAL_CALL getText( ) throw (::com::sun::star::uno::RuntimeException);
143 virtual OUString SAL_CALL getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
144 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);
145 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);
146 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);
147 virtual sal_Bool SAL_CALL copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
149 // XServiceInfo
150 virtual OUString SAL_CALL getImplementationName( ) throw (::com::sun::star::uno::RuntimeException);
151 virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw (::com::sun::star::uno::RuntimeException);
152 virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException);
155 //////////////////////////////////////////////////////////////////////
157 // classes and helper-classes used for accessibility in the command-window
160 class SmEditAccessible;
161 class SmEditSource;
162 class EditEngine;
163 class EditView;
164 class SvxFieldItem;
165 struct ESelection;
168 class SmViewForwarder :
169 public SvxViewForwarder
171 SmEditAccessible & rEditAcc;
173 // disallow copy-ctor and assignment-operator for now
174 SmViewForwarder( const SmViewForwarder & );
175 SmViewForwarder & operator = ( const SmViewForwarder & );
177 public:
178 SmViewForwarder( SmEditAccessible &rAcc );
179 virtual ~SmViewForwarder();
181 virtual sal_Bool IsValid() const;
182 virtual Rectangle GetVisArea() const;
183 virtual Point LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) const;
184 virtual Point PixelToLogic( const Point& rPoint, const MapMode& rMapMode ) const;
188 class SmTextForwarder : /* analog to SvxEditEngineForwarder */
189 public SvxTextForwarder
191 SmEditAccessible & rEditAcc;
192 SmEditSource & rEditSource;
194 DECL_LINK( NotifyHdl, EENotify * );
196 // disallow copy-ctor and assignment-operator for now
197 SmTextForwarder( const SmTextForwarder & );
198 SmTextForwarder & operator = ( const SmTextForwarder & );
200 public:
201 SmTextForwarder( SmEditAccessible& rAcc, SmEditSource & rSource );
202 virtual ~SmTextForwarder();
204 virtual sal_Int32 GetParagraphCount() const;
205 virtual sal_uInt16 GetTextLen( sal_Int32 nParagraph ) const;
206 virtual String GetText( const ESelection& rSel ) const;
207 virtual SfxItemSet GetAttribs( const ESelection& rSel, sal_Bool bOnlyHardAttrib = EditEngineAttribs_All ) const;
208 virtual SfxItemSet GetParaAttribs( sal_Int32 nPara ) const;
209 virtual void SetParaAttribs( sal_Int32 nPara, const SfxItemSet& rSet );
210 virtual void RemoveAttribs( const ESelection& rSelection, sal_Bool bRemoveParaAttribs, sal_uInt16 nWhich );
211 virtual void GetPortions( sal_Int32 nPara, std::vector<sal_uInt16>& rList ) const;
213 virtual sal_uInt16 GetItemState( const ESelection& rSel, sal_uInt16 nWhich ) const;
214 virtual sal_uInt16 GetItemState( sal_Int32 nPara, sal_uInt16 nWhich ) const;
216 virtual void QuickInsertText( const String& rText, const ESelection& rSel );
217 virtual void QuickInsertField( const SvxFieldItem& rFld, const ESelection& rSel );
218 virtual void QuickSetAttribs( const SfxItemSet& rSet, const ESelection& rSel );
219 virtual void QuickInsertLineBreak( const ESelection& rSel );
221 virtual SfxItemPool* GetPool() const;
223 virtual OUString CalcFieldValue( const SvxFieldItem& rField, sal_Int32 nPara, sal_uInt16 nPos, Color*& rpTxtColor, Color*& rpFldColor );
224 virtual void FieldClicked(const SvxFieldItem&, sal_Int32, sal_uInt16);
225 virtual sal_Bool IsValid() const;
227 virtual LanguageType GetLanguage( sal_Int32, sal_uInt16 ) const;
228 virtual sal_uInt16 GetFieldCount( sal_Int32 nPara ) const;
229 virtual EFieldInfo GetFieldInfo( sal_Int32 nPara, sal_uInt16 nField ) const;
230 virtual EBulletInfo GetBulletInfo( sal_Int32 nPara ) const;
231 virtual Rectangle GetCharBounds( sal_Int32 nPara, sal_uInt16 nIndex ) const;
232 virtual Rectangle GetParaBounds( sal_Int32 nPara ) const;
233 virtual MapMode GetMapMode() const;
234 virtual OutputDevice* GetRefDevice() const;
235 virtual sal_Bool GetIndexAtPoint( const Point&, sal_Int32& nPara, sal_uInt16& nIndex ) const;
236 virtual sal_Bool GetWordIndices( sal_Int32 nPara, sal_uInt16 nIndex, sal_uInt16& nStart, sal_uInt16& nEnd ) const;
237 virtual sal_Bool GetAttributeRun( sal_uInt16& nStartIndex, sal_uInt16& nEndIndex, sal_Int32 nPara, sal_uInt16 nIndex ) const;
238 virtual sal_uInt16 GetLineCount( sal_Int32 nPara ) const;
239 virtual sal_uInt16 GetLineLen( sal_Int32 nPara, sal_uInt16 nLine ) const;
240 virtual void GetLineBoundaries( /*out*/sal_uInt16 &rStart, /*out*/sal_uInt16 &rEnd, sal_Int32 nParagraph, sal_uInt16 nLine ) const;
241 virtual sal_uInt16 GetLineNumberAtIndex( sal_Int32 nPara, sal_uInt16 nLine ) const;
242 virtual sal_Bool Delete( const ESelection& );
243 virtual sal_Bool InsertText( const String&, const ESelection& );
244 virtual sal_Bool QuickFormatDoc( sal_Bool bFull=sal_False );
246 virtual sal_Int16 GetDepth( sal_Int32 nPara ) const;
247 virtual sal_Bool SetDepth( sal_Int32 nPara, sal_Int16 nNewDepth );
249 virtual const SfxItemSet* GetEmptyItemSetPtr();
250 // implementation functions for XParagraphAppend and XTextPortionAppend
251 virtual void AppendParagraph();
252 virtual xub_StrLen AppendTextPortion( sal_Int32 nPara, const String &rText, const SfxItemSet &rSet );
254 virtual void CopyText(const SvxTextForwarder& rSource);
258 class SmEditViewForwarder : /* analog to SvxEditEngineViewForwarder */
259 public SvxEditViewForwarder
261 SmEditAccessible& rEditAcc;
263 // disallow copy-ctor and assignment-operator for now
264 SmEditViewForwarder( const SmEditViewForwarder & );
265 SmEditViewForwarder & operator = ( const SmEditViewForwarder & );
267 public:
268 SmEditViewForwarder( SmEditAccessible& rAcc );
269 virtual ~SmEditViewForwarder();
271 virtual sal_Bool IsValid() const;
273 virtual Rectangle GetVisArea() const;
274 virtual Point LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) const;
275 virtual Point PixelToLogic( const Point& rPoint, const MapMode& rMapMode ) const;
277 virtual sal_Bool GetSelection( ESelection& rSelection ) const;
278 virtual sal_Bool SetSelection( const ESelection& rSelection );
279 virtual sal_Bool Copy();
280 virtual sal_Bool Cut();
281 virtual sal_Bool Paste();
285 class SmEditSource :
286 public SvxEditSource
288 SfxBroadcaster aBroadCaster;
289 SmViewForwarder aViewFwd;
290 SmTextForwarder aTextFwd;
291 SmEditViewForwarder aEditViewFwd;
293 SmEditAccessible& rEditAcc;
295 // disallow copy-ctor and assignment-operator for now
296 SmEditSource( const SmEditSource &rSrc );
297 SmEditSource & operator = ( const SmEditSource & );
299 public:
300 SmEditSource( SmEditWindow *pWin, SmEditAccessible &rAcc );
301 virtual ~SmEditSource();
303 virtual SvxEditSource* Clone() const;
304 virtual SvxTextForwarder* GetTextForwarder();
305 virtual SvxViewForwarder* GetViewForwarder();
306 virtual SvxEditViewForwarder* GetEditViewForwarder( sal_Bool bCreate = sal_False );
307 virtual void UpdateData();
308 virtual SfxBroadcaster& GetBroadcaster() const;
314 typedef
315 cppu::WeakImplHelper5
317 com::sun::star::lang::XServiceInfo,
318 com::sun::star::accessibility::XAccessible,
319 com::sun::star::accessibility::XAccessibleComponent,
320 com::sun::star::accessibility::XAccessibleContext,
321 com::sun::star::accessibility::XAccessibleEventBroadcaster
323 SmEditAccessibleBaseClass;
325 class SmEditAccessible :
326 public SmEditAccessibleBaseClass
328 osl::Mutex aListenerMutex;
329 OUString aAccName;
330 ::accessibility::AccessibleTextHelper *pTextHelper;
331 SmEditWindow *pWin;
333 // disallow copy-ctor and assignment-operator for now
334 SmEditAccessible( const SmEditAccessible & );
335 SmEditAccessible & operator = ( const SmEditAccessible & );
337 public:
338 SmEditAccessible( SmEditWindow *pEditWin );
339 virtual ~SmEditAccessible();
341 ::accessibility::AccessibleTextHelper * GetTextHelper() { return pTextHelper; }
343 void Init();
344 SmEditWindow * GetWin() { return pWin; }
345 void ClearWin(); // to be called when view is destroyed
347 //! access EditEngine and EditView via the functions in the respective window
348 //! pointers may be 0 (e.g. during reload)
349 EditEngine * GetEditEngine() { return pWin ? pWin->GetEditEngine() : 0; }
350 EditView * GetEditView() { return pWin ? pWin->GetEditView() : 0; }
352 // XAccessible
353 virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) throw (::com::sun::star::uno::RuntimeException);
355 // XAccessibleComponent
356 virtual sal_Bool SAL_CALL containsPoint( const ::com::sun::star::awt::Point& aPoint ) throw (::com::sun::star::uno::RuntimeException);
357 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);
358 virtual ::com::sun::star::awt::Rectangle SAL_CALL getBounds( ) throw (::com::sun::star::uno::RuntimeException);
359 virtual ::com::sun::star::awt::Point SAL_CALL getLocation( ) throw (::com::sun::star::uno::RuntimeException);
360 virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen( ) throw (::com::sun::star::uno::RuntimeException);
361 virtual ::com::sun::star::awt::Size SAL_CALL getSize( ) throw (::com::sun::star::uno::RuntimeException);
362 virtual void SAL_CALL grabFocus( ) throw (::com::sun::star::uno::RuntimeException);
363 virtual sal_Int32 SAL_CALL getForeground( ) throw (::com::sun::star::uno::RuntimeException);
364 virtual sal_Int32 SAL_CALL getBackground( ) throw (::com::sun::star::uno::RuntimeException);
366 // XAccessibleContext
367 virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) throw (::com::sun::star::uno::RuntimeException);
368 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);
369 virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL getAccessibleParent( ) throw (::com::sun::star::uno::RuntimeException);
370 virtual sal_Int32 SAL_CALL getAccessibleIndexInParent( ) throw (::com::sun::star::uno::RuntimeException);
371 virtual sal_Int16 SAL_CALL getAccessibleRole( ) throw (::com::sun::star::uno::RuntimeException);
372 virtual OUString SAL_CALL getAccessibleDescription( ) throw (::com::sun::star::uno::RuntimeException);
373 virtual OUString SAL_CALL getAccessibleName( ) throw (::com::sun::star::uno::RuntimeException);
374 virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet( ) throw (::com::sun::star::uno::RuntimeException);
375 virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet( ) throw (::com::sun::star::uno::RuntimeException);
376 virtual ::com::sun::star::lang::Locale SAL_CALL getLocale( ) throw (::com::sun::star::accessibility::IllegalAccessibleComponentStateException, ::com::sun::star::uno::RuntimeException);
378 // XAccessibleEventBroadcaster
379 virtual void SAL_CALL addAccessibleEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException);
380 virtual void SAL_CALL removeAccessibleEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException);
382 // XServiceInfo
383 virtual OUString SAL_CALL getImplementationName( ) throw (::com::sun::star::uno::RuntimeException);
384 virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw (::com::sun::star::uno::RuntimeException);
385 virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException);
388 //////////////////////////////////////////////////////////////////////
390 #endif
392 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */