xref: /AOO41X/main/sd/source/ui/inc/AccessibleSlideView.hxx (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1*cdf0e10cSrcweir /*************************************************************************
2*cdf0e10cSrcweir  *
3*cdf0e10cSrcweir  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir  *
5*cdf0e10cSrcweir  * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir  *
7*cdf0e10cSrcweir  * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir  *
9*cdf0e10cSrcweir  * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir  *
11*cdf0e10cSrcweir  * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir  * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir  * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir  *
15*cdf0e10cSrcweir  * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir  * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir  * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir  *
21*cdf0e10cSrcweir  * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir  * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir  * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir  * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir  *
26*cdf0e10cSrcweir  ************************************************************************/
27*cdf0e10cSrcweir 
28*cdf0e10cSrcweir #ifndef SD_ACCESSIBILITY_ACCESSIBLE_SLIDE_VIEW_HXX
29*cdf0e10cSrcweir #define SD_ACCESSIBILITY_ACCESSIBLE_SLIDE_VIEW_HXX
30*cdf0e10cSrcweir 
31*cdf0e10cSrcweir #include <cppuhelper/implbase6.hxx>
32*cdf0e10cSrcweir #include <cppuhelper/implbase7.hxx>
33*cdf0e10cSrcweir #include "SlideView.hxx"
34*cdf0e10cSrcweir #include <com/sun/star/lang/XUnoTunnel.hpp>
35*cdf0e10cSrcweir #include <com/sun/star/accessibility/XAccessible.hpp>
36*cdf0e10cSrcweir #include <com/sun/star/accessibility/XAccessibleContext.hpp>
37*cdf0e10cSrcweir #include <com/sun/star/accessibility/XAccessibleComponent.hpp>
38*cdf0e10cSrcweir #include <com/sun/star/accessibility/XAccessibleSelection.hpp>
39*cdf0e10cSrcweir #include <com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp>
40*cdf0e10cSrcweir #include <com/sun/star/lang/XServiceInfo.hpp>
41*cdf0e10cSrcweir 
42*cdf0e10cSrcweir #include <vector>
43*cdf0e10cSrcweir 
44*cdf0e10cSrcweir class SdDrawDocument;
45*cdf0e10cSrcweir class AccessibleSlideView;
46*cdf0e10cSrcweir 
47*cdf0e10cSrcweir namespace sd {
48*cdf0e10cSrcweir class SlideView;
49*cdf0e10cSrcweir class Window;
50*cdf0e10cSrcweir }
51*cdf0e10cSrcweir 
52*cdf0e10cSrcweir // -----------------------------
53*cdf0e10cSrcweir // - AccessibleSlideViewObject -
54*cdf0e10cSrcweir // -----------------------------
55*cdf0e10cSrcweir 
56*cdf0e10cSrcweir class AccessibleSlideViewObject : public ::cppu::WeakImplHelper6<
57*cdf0e10cSrcweir     ::com::sun::star::lang::XUnoTunnel,
58*cdf0e10cSrcweir     ::com::sun::star::accessibility::XAccessible,
59*cdf0e10cSrcweir     ::com::sun::star::accessibility::XAccessibleEventBroadcaster,
60*cdf0e10cSrcweir     ::com::sun::star::accessibility::XAccessibleContext,
61*cdf0e10cSrcweir     ::com::sun::star::accessibility::XAccessibleComponent,
62*cdf0e10cSrcweir     ::com::sun::star::lang::XServiceInfo >
63*cdf0e10cSrcweir {
64*cdf0e10cSrcweir private:
65*cdf0e10cSrcweir 
66*cdf0e10cSrcweir     ::osl::Mutex                                                                                                            maMutex;
67*cdf0e10cSrcweir     ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >                                mxParent;
68*cdf0e10cSrcweir     AccessibleSlideView*                                                                                                    mpManager;
69*cdf0e10cSrcweir     /// client id in the AccessibleEventNotifier queue
70*cdf0e10cSrcweir     sal_uInt32                                                                                                              mnClientId;
71*cdf0e10cSrcweir 	sal_uInt16		                                                                                                        mnPage;
72*cdf0e10cSrcweir 	sal_Bool		                                                                                                        mbVisible;
73*cdf0e10cSrcweir     sal_Bool                                                                                                                mbValid;
74*cdf0e10cSrcweir 
75*cdf0e10cSrcweir private:
76*cdf0e10cSrcweir 
77*cdf0e10cSrcweir 	// Misc
78*cdf0e10cSrcweir     static const ::com::sun::star::uno::Sequence< sal_Int8 >& getUnoTunnelId();
79*cdf0e10cSrcweir 
80*cdf0e10cSrcweir     // XUnoTunnel
81*cdf0e10cSrcweir     virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& rId ) throw( ::com::sun::star::uno::RuntimeException );
82*cdf0e10cSrcweir 
83*cdf0e10cSrcweir     // XAccessible
84*cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext(  ) throw (::com::sun::star::uno::RuntimeException);
85*cdf0e10cSrcweir 
86*cdf0e10cSrcweir     // XAccessibleEventBroadcaster
87*cdf0e10cSrcweir     virtual void SAL_CALL addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException);
88*cdf0e10cSrcweir     virtual void SAL_CALL removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException);
89*cdf0e10cSrcweir 
90*cdf0e10cSrcweir     // XAccessibleContext
91*cdf0e10cSrcweir     virtual sal_Int32 SAL_CALL getAccessibleChildCount(  ) throw (::com::sun::star::uno::RuntimeException);
92*cdf0e10cSrcweir     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);
93*cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL getAccessibleParent(  ) throw (::com::sun::star::uno::RuntimeException);
94*cdf0e10cSrcweir     virtual sal_Int32 SAL_CALL getAccessibleIndexInParent(  ) throw (::com::sun::star::uno::RuntimeException);
95*cdf0e10cSrcweir     virtual sal_Int16 SAL_CALL getAccessibleRole(  ) throw (::com::sun::star::uno::RuntimeException);
96*cdf0e10cSrcweir     virtual ::rtl::OUString SAL_CALL getAccessibleDescription(  ) throw (::com::sun::star::uno::RuntimeException);
97*cdf0e10cSrcweir     virtual ::rtl::OUString SAL_CALL getAccessibleName(  ) throw (::com::sun::star::uno::RuntimeException);
98*cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet(  ) throw (::com::sun::star::uno::RuntimeException);
99*cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet(  ) throw (::com::sun::star::uno::RuntimeException);
100*cdf0e10cSrcweir     virtual ::com::sun::star::lang::Locale SAL_CALL getLocale(  ) throw (::com::sun::star::accessibility::IllegalAccessibleComponentStateException, ::com::sun::star::uno::RuntimeException);
101*cdf0e10cSrcweir 
102*cdf0e10cSrcweir     // XAccessibleComponent
103*cdf0e10cSrcweir     virtual sal_Bool SAL_CALL containsPoint( const ::com::sun::star::awt::Point& aPoint ) throw (::com::sun::star::uno::RuntimeException);
104*cdf0e10cSrcweir     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);
105*cdf0e10cSrcweir     virtual ::com::sun::star::awt::Rectangle SAL_CALL getBounds(  ) throw (::com::sun::star::uno::RuntimeException);
106*cdf0e10cSrcweir     virtual ::com::sun::star::awt::Point SAL_CALL getLocation(  ) throw (::com::sun::star::uno::RuntimeException);
107*cdf0e10cSrcweir     virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen(  ) throw (::com::sun::star::uno::RuntimeException);
108*cdf0e10cSrcweir     virtual ::com::sun::star::awt::Size SAL_CALL getSize(  ) throw (::com::sun::star::uno::RuntimeException);
109*cdf0e10cSrcweir     virtual void SAL_CALL grabFocus(  ) throw (::com::sun::star::uno::RuntimeException);
110*cdf0e10cSrcweir 
111*cdf0e10cSrcweir     virtual sal_Int32 SAL_CALL getForeground (void)
112*cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
113*cdf0e10cSrcweir 
114*cdf0e10cSrcweir     virtual sal_Int32 SAL_CALL getBackground (void)
115*cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
116*cdf0e10cSrcweir 
117*cdf0e10cSrcweir 	//=====  XServiceInfo  ====================================================
118*cdf0e10cSrcweir 
119*cdf0e10cSrcweir     /**	Returns an identifier for the implementation of this object.
120*cdf0e10cSrcweir     */
121*cdf0e10cSrcweir 	virtual ::rtl::OUString SAL_CALL
122*cdf0e10cSrcweir     	getImplementationName (void)
123*cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
124*cdf0e10cSrcweir 
125*cdf0e10cSrcweir     /**	Return whether the specified service is supported by this class.
126*cdf0e10cSrcweir     */
127*cdf0e10cSrcweir     virtual sal_Bool SAL_CALL
128*cdf0e10cSrcweir     	supportsService (const ::rtl::OUString& sServiceName)
129*cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
130*cdf0e10cSrcweir 
131*cdf0e10cSrcweir     /** Returns a list of all supported services.
132*cdf0e10cSrcweir     */
133*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Sequence< ::rtl::OUString> SAL_CALL
134*cdf0e10cSrcweir     	getSupportedServiceNames (void)
135*cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
136*cdf0e10cSrcweir 
137*cdf0e10cSrcweir public:
138*cdf0e10cSrcweir 
139*cdf0e10cSrcweir     static AccessibleSlideViewObject* getImplementation( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rxData ) throw();
140*cdf0e10cSrcweir 
141*cdf0e10cSrcweir public:
142*cdf0e10cSrcweir 
143*cdf0e10cSrcweir 					            AccessibleSlideViewObject( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >& rxParent, sal_uInt16 nPage, sal_Bool bVisible );
144*cdf0e10cSrcweir 					            ~AccessibleSlideViewObject();
145*cdf0e10cSrcweir 
146*cdf0e10cSrcweir     void                        FireAccessibleEvent( short nEventId, const ::com::sun::star::uno::Any& rOldValue, const ::com::sun::star::uno::Any& rNewValue );
147*cdf0e10cSrcweir 
148*cdf0e10cSrcweir     /** This method acts like a dispose call.  It sends a disposing to all
149*cdf0e10cSrcweir         of its listeners.  It may be called twice.
150*cdf0e10cSrcweir     */
151*cdf0e10cSrcweir     void Destroyed (void);
152*cdf0e10cSrcweir 
153*cdf0e10cSrcweir     sal_uInt16                  GetPageNum() const { return mnPage; }
154*cdf0e10cSrcweir 
155*cdf0e10cSrcweir     void			            SetVisible( sal_Bool bVisible );
156*cdf0e10cSrcweir 	sal_Bool		            IsVisible() const;
157*cdf0e10cSrcweir };
158*cdf0e10cSrcweir 
159*cdf0e10cSrcweir // -----------------------
160*cdf0e10cSrcweir // - AccessibleSlideView -
161*cdf0e10cSrcweir // -----------------------
162*cdf0e10cSrcweir 
163*cdf0e10cSrcweir class AccessibleSlideView : public ::cppu::WeakImplHelper7<
164*cdf0e10cSrcweir     ::com::sun::star::lang::XUnoTunnel,
165*cdf0e10cSrcweir     ::com::sun::star::accessibility::XAccessible,
166*cdf0e10cSrcweir     ::com::sun::star::accessibility::XAccessibleEventBroadcaster,
167*cdf0e10cSrcweir     ::com::sun::star::accessibility::XAccessibleContext,
168*cdf0e10cSrcweir     ::com::sun::star::accessibility::XAccessibleComponent,
169*cdf0e10cSrcweir     ::com::sun::star::accessibility::XAccessibleSelection,
170*cdf0e10cSrcweir     ::com::sun::star::lang::XServiceInfo >
171*cdf0e10cSrcweir {
172*cdf0e10cSrcweir public:
173*cdf0e10cSrcweir 
174*cdf0e10cSrcweir     static AccessibleSlideView* getImplementation( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rxData ) throw();
175*cdf0e10cSrcweir 
176*cdf0e10cSrcweir     AccessibleSlideView(
177*cdf0e10cSrcweir         SdDrawDocument& rDoc,
178*cdf0e10cSrcweir         ::sd::SlideView& rView,
179*cdf0e10cSrcweir         ::sd::Window& rParentWindow);
180*cdf0e10cSrcweir     virtual ~AccessibleSlideView (void);
181*cdf0e10cSrcweir 
182*cdf0e10cSrcweir     void                        FireAccessibleEvent( short nEventId, const ::com::sun::star::uno::Any& rOldValue, const ::com::sun::star::uno::Any& rNewValue );
183*cdf0e10cSrcweir 
184*cdf0e10cSrcweir     /** This method acts like a dispose call.  It sends a disposing to all
185*cdf0e10cSrcweir         of its listeners.  It may be called twice.
186*cdf0e10cSrcweir     */
187*cdf0e10cSrcweir     void Destroyed (void);
188*cdf0e10cSrcweir 
189*cdf0e10cSrcweir     SdDrawDocument*             GetDrawDocument() const { return mpDoc; }
190*cdf0e10cSrcweir     ::sd::SlideView* GetSlideView() const { return mpView; }
191*cdf0e10cSrcweir     ::sd::Window* GetParentWindow() const { return mpParentWindow; }
192*cdf0e10cSrcweir 
193*cdf0e10cSrcweir 	void			            SetPageVisible( sal_uInt16 nPage, sal_Bool bVisible );
194*cdf0e10cSrcweir 	void			            Reset();
195*cdf0e10cSrcweir     void                        FocusHasChanged( sal_uInt16 nOldFocusPage, sal_uInt16 nNewFocusPage );
196*cdf0e10cSrcweir 
197*cdf0e10cSrcweir 
198*cdf0e10cSrcweir private:
199*cdf0e10cSrcweir     ::osl::Mutex maMutex;
200*cdf0e10cSrcweir 	::std::vector< ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > >               maSlidePageObjects;
201*cdf0e10cSrcweir     SdDrawDocument* mpDoc;
202*cdf0e10cSrcweir 	::sd::SlideView* mpView;
203*cdf0e10cSrcweir     ::sd::Window* mpParentWindow;
204*cdf0e10cSrcweir      /// client id in the AccessibleEventNotifier queue
205*cdf0e10cSrcweir     sal_uInt32 mnClientId;
206*cdf0e10cSrcweir 
207*cdf0e10cSrcweir     // internal
208*cdf0e10cSrcweir 	static const ::com::sun::star::uno::Sequence< sal_Int8 >&                                   getUnoTunnelId();
209*cdf0e10cSrcweir     sal_Int32                                                                                   ImplGetVisibleChildCount() const;
210*cdf0e10cSrcweir     ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >    ImplGetVisibleChild( sal_Int32 nVisibleChild ) const;
211*cdf0e10cSrcweir 
212*cdf0e10cSrcweir     // XUnoTunnel
213*cdf0e10cSrcweir     virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& rId ) throw( ::com::sun::star::uno::RuntimeException );
214*cdf0e10cSrcweir 
215*cdf0e10cSrcweir     // XAccessible
216*cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext(  ) throw (::com::sun::star::uno::RuntimeException);
217*cdf0e10cSrcweir 
218*cdf0e10cSrcweir     // XAccessibleEventBroadcaster
219*cdf0e10cSrcweir     virtual void SAL_CALL addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException);
220*cdf0e10cSrcweir     virtual void SAL_CALL removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException);
221*cdf0e10cSrcweir 
222*cdf0e10cSrcweir     // XAccessibleContext
223*cdf0e10cSrcweir     virtual sal_Int32 SAL_CALL getAccessibleChildCount(  ) throw (::com::sun::star::uno::RuntimeException);
224*cdf0e10cSrcweir     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);
225*cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL getAccessibleParent(  ) throw (::com::sun::star::uno::RuntimeException);
226*cdf0e10cSrcweir     virtual sal_Int32 SAL_CALL getAccessibleIndexInParent(  ) throw (::com::sun::star::uno::RuntimeException);
227*cdf0e10cSrcweir     virtual sal_Int16 SAL_CALL getAccessibleRole(  ) throw (::com::sun::star::uno::RuntimeException);
228*cdf0e10cSrcweir     virtual ::rtl::OUString SAL_CALL getAccessibleDescription(  ) throw (::com::sun::star::uno::RuntimeException);
229*cdf0e10cSrcweir     virtual ::rtl::OUString SAL_CALL getAccessibleName(  ) throw (::com::sun::star::uno::RuntimeException);
230*cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet(  ) throw (::com::sun::star::uno::RuntimeException);
231*cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet(  ) throw (::com::sun::star::uno::RuntimeException);
232*cdf0e10cSrcweir     virtual ::com::sun::star::lang::Locale SAL_CALL getLocale(  ) throw (::com::sun::star::accessibility::IllegalAccessibleComponentStateException, ::com::sun::star::uno::RuntimeException);
233*cdf0e10cSrcweir 
234*cdf0e10cSrcweir     // XAccessibleComponent
235*cdf0e10cSrcweir     virtual sal_Bool SAL_CALL containsPoint( const ::com::sun::star::awt::Point& aPoint ) throw (::com::sun::star::uno::RuntimeException);
236*cdf0e10cSrcweir     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);
237*cdf0e10cSrcweir     virtual ::com::sun::star::awt::Rectangle SAL_CALL getBounds(  ) throw (::com::sun::star::uno::RuntimeException);
238*cdf0e10cSrcweir     virtual ::com::sun::star::awt::Point SAL_CALL getLocation(  ) throw (::com::sun::star::uno::RuntimeException);
239*cdf0e10cSrcweir     virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen(  ) throw (::com::sun::star::uno::RuntimeException);
240*cdf0e10cSrcweir     virtual ::com::sun::star::awt::Size SAL_CALL getSize(  ) throw (::com::sun::star::uno::RuntimeException);
241*cdf0e10cSrcweir     virtual void SAL_CALL grabFocus(  ) throw (::com::sun::star::uno::RuntimeException);
242*cdf0e10cSrcweir 
243*cdf0e10cSrcweir     virtual sal_Int32 SAL_CALL getForeground (void)
244*cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
245*cdf0e10cSrcweir 
246*cdf0e10cSrcweir     virtual sal_Int32 SAL_CALL getBackground (void)
247*cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
248*cdf0e10cSrcweir 
249*cdf0e10cSrcweir     // XAccessibleSelection
250*cdf0e10cSrcweir     virtual void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
251*cdf0e10cSrcweir     virtual sal_Bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
252*cdf0e10cSrcweir     virtual void SAL_CALL clearAccessibleSelection(  ) throw (::com::sun::star::uno::RuntimeException);
253*cdf0e10cSrcweir     virtual void SAL_CALL selectAllAccessibleChildren(  ) throw (::com::sun::star::uno::RuntimeException);
254*cdf0e10cSrcweir     virtual sal_Int32 SAL_CALL getSelectedAccessibleChildCount(  ) throw (::com::sun::star::uno::RuntimeException);
255*cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
256*cdf0e10cSrcweir     virtual void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
257*cdf0e10cSrcweir 
258*cdf0e10cSrcweir 	//=====  XServiceInfo  ====================================================
259*cdf0e10cSrcweir 
260*cdf0e10cSrcweir     /**	Returns an identifier for the implementation of this object.
261*cdf0e10cSrcweir     */
262*cdf0e10cSrcweir 	virtual ::rtl::OUString SAL_CALL
263*cdf0e10cSrcweir     	getImplementationName (void)
264*cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
265*cdf0e10cSrcweir 
266*cdf0e10cSrcweir     /**	Return whether the specified service is supported by this class.
267*cdf0e10cSrcweir     */
268*cdf0e10cSrcweir     virtual sal_Bool SAL_CALL
269*cdf0e10cSrcweir     	supportsService (const ::rtl::OUString& sServiceName)
270*cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
271*cdf0e10cSrcweir 
272*cdf0e10cSrcweir     /** Returns a list of all supported services.
273*cdf0e10cSrcweir     */
274*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Sequence< ::rtl::OUString> SAL_CALL
275*cdf0e10cSrcweir     	getSupportedServiceNames (void)
276*cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
277*cdf0e10cSrcweir 
278*cdf0e10cSrcweir };
279*cdf0e10cSrcweir 
280*cdf0e10cSrcweir #endif
281