1a462bbb7SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3a462bbb7SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4a462bbb7SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5a462bbb7SAndrew Rist  * distributed with this work for additional information
6a462bbb7SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7a462bbb7SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8a462bbb7SAndrew Rist  * "License"); you may not use this file except in compliance
9a462bbb7SAndrew Rist  * with the License.  You may obtain a copy of the License at
10a462bbb7SAndrew Rist  *
11a462bbb7SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12a462bbb7SAndrew Rist  *
13a462bbb7SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14a462bbb7SAndrew Rist  * software distributed under the License is distributed on an
15a462bbb7SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16a462bbb7SAndrew Rist  * KIND, either express or implied.  See the License for the
17a462bbb7SAndrew Rist  * specific language governing permissions and limitations
18a462bbb7SAndrew Rist  * under the License.
19a462bbb7SAndrew Rist  *
20a462bbb7SAndrew Rist  *************************************************************/
21a462bbb7SAndrew Rist 
22a462bbb7SAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir #ifndef ACCESSIBILITY_EXT_ACCESSIBLELISTBOXENTRY_HXX_
25cdf0e10cSrcweir #define ACCESSIBILITY_EXT_ACCESSIBLELISTBOXENTRY_HXX_
26cdf0e10cSrcweir 
27cdf0e10cSrcweir #include <deque>
28cdf0e10cSrcweir #include <com/sun/star/accessibility/XAccessible.hpp>
29cdf0e10cSrcweir #include <com/sun/star/accessibility/XAccessibleComponent.hpp>
30cdf0e10cSrcweir #include <com/sun/star/accessibility/XAccessibleContext.hpp>
31cdf0e10cSrcweir #include <com/sun/star/accessibility/XAccessibleStateSet.hpp>
32cdf0e10cSrcweir #include <com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp>
33cdf0e10cSrcweir #include <com/sun/star/accessibility/XAccessibleAction.hpp>
34cdf0e10cSrcweir #include <com/sun/star/accessibility/XAccessibleSelection.hpp>
35cdf0e10cSrcweir #include <com/sun/star/lang/DisposedException.hpp>
36cdf0e10cSrcweir #include <com/sun/star/lang/XEventListener.hpp>
37cdf0e10cSrcweir #include <com/sun/star/lang/XServiceInfo.hpp>
38*21075d77SSteve Yin /*
39cdf0e10cSrcweir #include <cppuhelper/compbase8.hxx>
40*21075d77SSteve Yin */
41*21075d77SSteve Yin #ifndef _COM_SUN_STAR_ACCESSIBILITY_XACCESSIBLEVALUE_HPP_
42*21075d77SSteve Yin #include <com/sun/star/accessibility/XAccessibleValue.hpp>
43*21075d77SSteve Yin #endif
44*21075d77SSteve Yin #ifndef _CPPUHELPER_COMPBASE9_HXX_
45*21075d77SSteve Yin #include <cppuhelper/compbase9.hxx>
46*21075d77SSteve Yin #endif
47cdf0e10cSrcweir #include <comphelper/broadcasthelper.hxx>
48cdf0e10cSrcweir #include <comphelper/accessibletexthelper.hxx>
49cdf0e10cSrcweir #include <tools/gen.hxx>
50cdf0e10cSrcweir #include "accessibility/extended/listboxaccessible.hxx"
51cdf0e10cSrcweir 
52cdf0e10cSrcweir // forward ---------------------------------------------------------------
53cdf0e10cSrcweir 
54cdf0e10cSrcweir namespace com { namespace sun { namespace star { namespace awt {
55cdf0e10cSrcweir 	struct Point;
56cdf0e10cSrcweir 	struct Rectangle;
57cdf0e10cSrcweir 	struct Size;
58cdf0e10cSrcweir 	class XFocusListener;
59cdf0e10cSrcweir } } } }
60cdf0e10cSrcweir 
61cdf0e10cSrcweir class SvTreeListBox;
62cdf0e10cSrcweir class SvLBoxEntry;
63cdf0e10cSrcweir 
64cdf0e10cSrcweir //........................................................................
65cdf0e10cSrcweir namespace accessibility
66cdf0e10cSrcweir {
67cdf0e10cSrcweir //........................................................................
68cdf0e10cSrcweir 
69cdf0e10cSrcweir // class AccessibleListBoxEntry ------------------------------------------
70*21075d77SSteve Yin /*
71cdf0e10cSrcweir 	typedef ::cppu::WeakAggComponentImplHelper8< ::com::sun::star::accessibility::XAccessible
72cdf0e10cSrcweir 												, ::com::sun::star::accessibility::XAccessibleContext
73cdf0e10cSrcweir 												, ::com::sun::star::accessibility::XAccessibleComponent
74cdf0e10cSrcweir 												, ::com::sun::star::accessibility::XAccessibleEventBroadcaster
75cdf0e10cSrcweir 												, ::com::sun::star::accessibility::XAccessibleAction
76cdf0e10cSrcweir 												, ::com::sun::star::accessibility::XAccessibleSelection
77cdf0e10cSrcweir 												, ::com::sun::star::accessibility::XAccessibleText
78cdf0e10cSrcweir 										    	, ::com::sun::star::lang::XServiceInfo > AccessibleListBoxEntry_BASE;
79*21075d77SSteve Yin */
80*21075d77SSteve Yin 	typedef ::cppu::WeakAggComponentImplHelper9< ::com::sun::star::accessibility::XAccessible
81*21075d77SSteve Yin 												, ::com::sun::star::accessibility::XAccessibleContext
82*21075d77SSteve Yin 												, ::com::sun::star::accessibility::XAccessibleComponent
83*21075d77SSteve Yin 												, ::com::sun::star::accessibility::XAccessibleEventBroadcaster
84*21075d77SSteve Yin 												, ::com::sun::star::accessibility::XAccessibleAction
85*21075d77SSteve Yin 												, ::com::sun::star::accessibility::XAccessibleSelection
86*21075d77SSteve Yin 												, ::com::sun::star::accessibility::XAccessibleText
87*21075d77SSteve Yin 												, ::com::sun::star::accessibility::XAccessibleValue
88*21075d77SSteve Yin 										    	, ::com::sun::star::lang::XServiceInfo > AccessibleListBoxEntry_BASE;
89*21075d77SSteve Yin 
90cdf0e10cSrcweir 	/** the class AccessibleListBoxEntry represents the class for an accessible object of a listbox entry */
91cdf0e10cSrcweir 	class AccessibleListBoxEntry:public ::comphelper::OBaseMutex
92cdf0e10cSrcweir 							   	,public AccessibleListBoxEntry_BASE
93cdf0e10cSrcweir 								,public ::comphelper::OCommonAccessibleText
94cdf0e10cSrcweir 								,public ListBoxAccessibleBase
95cdf0e10cSrcweir 	{
96cdf0e10cSrcweir 	friend class AccessibleListBox;
97cdf0e10cSrcweir 
98cdf0e10cSrcweir 	private:
99cdf0e10cSrcweir 		/** The treelistbox control */
100cdf0e10cSrcweir 		SvTreeListBox*						m_pListBox;
101cdf0e10cSrcweir 		::std::deque< sal_Int32 >			m_aEntryPath;
102*21075d77SSteve Yin 		SvLBoxEntry* 						m_pSvLBoxEntry;	// IA2 CWS. Needed for focused item...
103*21075d77SSteve Yin 
104cdf0e10cSrcweir 
105cdf0e10cSrcweir 	protected:
106cdf0e10cSrcweir         /// client id in the AccessibleEventNotifier queue
107cdf0e10cSrcweir         sal_uInt32                          m_nClientId;
108cdf0e10cSrcweir 
109cdf0e10cSrcweir         ::com::sun::star::uno::WeakReference< ::com::sun::star::accessibility::XAccessible >
110cdf0e10cSrcweir                                             m_aParent;
111cdf0e10cSrcweir 
112cdf0e10cSrcweir 	private:
113cdf0e10cSrcweir 		Rectangle				GetBoundingBox_Impl() const;
114cdf0e10cSrcweir 		Rectangle				GetBoundingBoxOnScreen_Impl() const;
115cdf0e10cSrcweir 		sal_Bool				IsAlive_Impl() const;
116cdf0e10cSrcweir 		sal_Bool				IsShowing_Impl() const;
117cdf0e10cSrcweir 
118cdf0e10cSrcweir 		Rectangle				GetBoundingBox() throw ( ::com::sun::star::lang::DisposedException );
119cdf0e10cSrcweir 		Rectangle				GetBoundingBoxOnScreen() throw ( ::com::sun::star::lang::DisposedException );
120cdf0e10cSrcweir     	void 					EnsureIsAlive() const throw ( ::com::sun::star::lang::DisposedException );
121cdf0e10cSrcweir 
122*21075d77SSteve Yin 		void	NotifyAccessibleEvent( sal_Int16 _nEventId, const ::com::sun::star::uno::Any& _aOldValue, const ::com::sun::star::uno::Any& _aNewValue );
123*21075d77SSteve Yin 
124cdf0e10cSrcweir 	protected:
125cdf0e10cSrcweir 		virtual ~AccessibleListBoxEntry();
126cdf0e10cSrcweir 
127cdf0e10cSrcweir 		/** this function is called upon disposing the component
128cdf0e10cSrcweir 		*/
129cdf0e10cSrcweir 		virtual void SAL_CALL					disposing();
130cdf0e10cSrcweir 
131cdf0e10cSrcweir 		// ListBoxAccessible/XComponent
132cdf0e10cSrcweir 		virtual void SAL_CALL dispose() throw ( ::com::sun::star::uno::RuntimeException );
133cdf0e10cSrcweir 
134cdf0e10cSrcweir 		// OCommonAccessibleText
135cdf0e10cSrcweir 		virtual ::rtl::OUString					implGetText();
136cdf0e10cSrcweir 		virtual ::com::sun::star::lang::Locale	implGetLocale();
137cdf0e10cSrcweir 		virtual void							implGetSelection( sal_Int32& nStartIndex, sal_Int32& nEndIndex );
138cdf0e10cSrcweir 
139cdf0e10cSrcweir 	public:
140cdf0e10cSrcweir 		/** Ctor()
141cdf0e10cSrcweir 			@param	_rListBox
142cdf0e10cSrcweir 				the view control
143cdf0e10cSrcweir 			@param	_pEntry
144cdf0e10cSrcweir 				the entry
145cdf0e10cSrcweir 			@param	_xParent
146cdf0e10cSrcweir 				is our parent accessible object
147cdf0e10cSrcweir 		*/
148cdf0e10cSrcweir 		AccessibleListBoxEntry(	SvTreeListBox& _rListBox, SvLBoxEntry* _pEntry,
149cdf0e10cSrcweir 								const ::com::sun::star::uno::Reference<
150cdf0e10cSrcweir 									::com::sun::star::accessibility::XAccessible >& _xParent );
151*21075d77SSteve Yin 
GetSvLBoxEntry() const152*21075d77SSteve Yin 		SvLBoxEntry* GetSvLBoxEntry() const { return m_pSvLBoxEntry; }
153*21075d77SSteve Yin 
154cdf0e10cSrcweir 
155cdf0e10cSrcweir 	protected:
156cdf0e10cSrcweir 		// XTypeProvider
157cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException);
158cdf0e10cSrcweir 
159cdf0e10cSrcweir 		// XServiceInfo
160cdf0e10cSrcweir 		virtual ::rtl::OUString SAL_CALL getImplementationName() throw(com::sun::star::uno::RuntimeException);
161cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) throw (::com::sun::star::uno::RuntimeException);
162cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() throw(com::sun::star::uno::RuntimeException);
163cdf0e10cSrcweir 
164cdf0e10cSrcweir 		// XServiceInfo - static methods
165cdf0e10cSrcweir 		static com::sun::star::uno::Sequence< ::rtl::OUString > getSupportedServiceNames_Static(void) throw(com::sun::star::uno::RuntimeException);
166cdf0e10cSrcweir 		static ::rtl::OUString getImplementationName_Static(void) throw(com::sun::star::uno::RuntimeException);
167cdf0e10cSrcweir 
168cdf0e10cSrcweir 		// XAccessible
169cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext(  ) throw (::com::sun::star::uno::RuntimeException);
170cdf0e10cSrcweir 
171cdf0e10cSrcweir 		// XAccessibleContext
172cdf0e10cSrcweir 		virtual sal_Int32 SAL_CALL getAccessibleChildCount(  ) throw (::com::sun::star::uno::RuntimeException);
173cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) throw ( ::com::sun::star::lang::IndexOutOfBoundsException,
174cdf0e10cSrcweir                 ::com::sun::star::uno::RuntimeException );
175cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL getAccessibleParent(  ) throw (::com::sun::star::uno::RuntimeException);
176cdf0e10cSrcweir 		virtual sal_Int32 SAL_CALL getAccessibleIndexInParent(  ) throw (::com::sun::star::uno::RuntimeException);
177cdf0e10cSrcweir 		virtual sal_Int16 SAL_CALL getAccessibleRole(  ) throw (::com::sun::star::uno::RuntimeException);
178cdf0e10cSrcweir 		virtual ::rtl::OUString SAL_CALL getAccessibleDescription(  ) throw (::com::sun::star::uno::RuntimeException);
179cdf0e10cSrcweir 		virtual ::rtl::OUString SAL_CALL getAccessibleName(  ) throw (::com::sun::star::uno::RuntimeException);
180cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet(  ) throw (::com::sun::star::uno::RuntimeException);
181cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet(  ) throw (::com::sun::star::uno::RuntimeException);
182cdf0e10cSrcweir 		virtual ::com::sun::star::lang::Locale SAL_CALL getLocale(  ) throw (::com::sun::star::accessibility::IllegalAccessibleComponentStateException, ::com::sun::star::uno::RuntimeException);
183cdf0e10cSrcweir 
184cdf0e10cSrcweir 		// XAccessibleComponent
185cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL containsPoint( const ::com::sun::star::awt::Point& aPoint ) throw (::com::sun::star::uno::RuntimeException);
186cdf0e10cSrcweir 		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);
187cdf0e10cSrcweir 		virtual ::com::sun::star::awt::Rectangle SAL_CALL getBounds(  ) throw (::com::sun::star::uno::RuntimeException);
188cdf0e10cSrcweir 		virtual ::com::sun::star::awt::Point SAL_CALL getLocation(  ) throw (::com::sun::star::uno::RuntimeException);
189cdf0e10cSrcweir 		virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen(  ) throw (::com::sun::star::uno::RuntimeException);
190cdf0e10cSrcweir 		virtual ::com::sun::star::awt::Size SAL_CALL getSize(  ) throw (::com::sun::star::uno::RuntimeException);
191cdf0e10cSrcweir 		virtual void SAL_CALL grabFocus(  ) throw (::com::sun::star::uno::RuntimeException);
192cdf0e10cSrcweir 		virtual sal_Int32 SAL_CALL getForeground(  ) throw (::com::sun::star::uno::RuntimeException);
193cdf0e10cSrcweir 		virtual sal_Int32 SAL_CALL getBackground(  ) throw (::com::sun::star::uno::RuntimeException);
194cdf0e10cSrcweir 
195cdf0e10cSrcweir 		// XAccessibleText
196cdf0e10cSrcweir 		virtual sal_Int32 SAL_CALL getCaretPosition() throw (::com::sun::star::uno::RuntimeException);
197cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL setCaretPosition( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
198cdf0e10cSrcweir 		virtual sal_Unicode SAL_CALL getCharacter( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
199cdf0e10cSrcweir 		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);
200cdf0e10cSrcweir 		virtual ::com::sun::star::awt::Rectangle SAL_CALL getCharacterBounds( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
201cdf0e10cSrcweir 		virtual sal_Int32 SAL_CALL getCharacterCount() throw (::com::sun::star::uno::RuntimeException);
202cdf0e10cSrcweir 		virtual sal_Int32 SAL_CALL getIndexAtPoint( const ::com::sun::star::awt::Point& aPoint ) throw (::com::sun::star::uno::RuntimeException);
203cdf0e10cSrcweir 		virtual ::rtl::OUString SAL_CALL getSelectedText() throw (::com::sun::star::uno::RuntimeException);
204cdf0e10cSrcweir 		virtual sal_Int32 SAL_CALL getSelectionStart() throw (::com::sun::star::uno::RuntimeException);
205cdf0e10cSrcweir 		virtual sal_Int32 SAL_CALL getSelectionEnd() throw (::com::sun::star::uno::RuntimeException);
206cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
207cdf0e10cSrcweir 		virtual ::rtl::OUString SAL_CALL getText() throw (::com::sun::star::uno::RuntimeException);
208cdf0e10cSrcweir 		virtual ::rtl::OUString SAL_CALL getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
209cdf0e10cSrcweir         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);
210cdf0e10cSrcweir         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);
211cdf0e10cSrcweir         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);
212cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
213cdf0e10cSrcweir 
214cdf0e10cSrcweir     	// XAccessibleEventBroadcaster
215cdf0e10cSrcweir         using cppu::WeakAggComponentImplHelperBase::addEventListener;
216cdf0e10cSrcweir 		virtual void SAL_CALL addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException);
217cdf0e10cSrcweir         using cppu::WeakAggComponentImplHelperBase::removeEventListener;
218cdf0e10cSrcweir     	virtual void SAL_CALL removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException);
219cdf0e10cSrcweir 
220cdf0e10cSrcweir     	// XAccessibleAction
221cdf0e10cSrcweir     	virtual sal_Int32 SAL_CALL getAccessibleActionCount(  ) throw (::com::sun::star::uno::RuntimeException);
222cdf0e10cSrcweir     	virtual sal_Bool SAL_CALL doAccessibleAction( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
223cdf0e10cSrcweir     	virtual ::rtl::OUString SAL_CALL getAccessibleActionDescription( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
224cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleKeyBinding > SAL_CALL getAccessibleActionKeyBinding( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
225cdf0e10cSrcweir 
226cdf0e10cSrcweir 		// XAccessibleSelection
227cdf0e10cSrcweir 		void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
228cdf0e10cSrcweir 		sal_Bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
229cdf0e10cSrcweir 		void SAL_CALL clearAccessibleSelection(  ) throw (::com::sun::star::uno::RuntimeException);
230cdf0e10cSrcweir 		void SAL_CALL selectAllAccessibleChildren(  ) throw (::com::sun::star::uno::RuntimeException);
231cdf0e10cSrcweir 		sal_Int32 SAL_CALL getSelectedAccessibleChildCount(  ) throw (::com::sun::star::uno::RuntimeException);
232cdf0e10cSrcweir 		::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);
233cdf0e10cSrcweir 		void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
234*21075d77SSteve Yin 		virtual ::com::sun::star::uno::Any SAL_CALL getCurrentValue(  ) throw (::com::sun::star::uno::RuntimeException);
235*21075d77SSteve Yin 		virtual sal_Bool SAL_CALL setCurrentValue( const ::com::sun::star::uno::Any& aNumber ) throw (::com::sun::star::uno::RuntimeException);
236*21075d77SSteve Yin 		virtual ::com::sun::star::uno::Any SAL_CALL getMaximumValue(  ) throw (::com::sun::star::uno::RuntimeException);
237*21075d77SSteve Yin 		virtual ::com::sun::star::uno::Any SAL_CALL getMinimumValue(  ) throw (::com::sun::star::uno::RuntimeException);
238cdf0e10cSrcweir     private:
239cdf0e10cSrcweir         ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > implGetParentAccessible( ) const;
240*21075d77SSteve Yin 		SvLBoxEntry* GetRealChild(sal_Int32 nIndex);
241*21075d77SSteve Yin 	public:
242*21075d77SSteve Yin 		sal_Int32 SAL_CALL getRoleType();
243cdf0e10cSrcweir 	};
244cdf0e10cSrcweir 
245cdf0e10cSrcweir //........................................................................
246cdf0e10cSrcweir }// namespace accessibility
247cdf0e10cSrcweir //........................................................................
248cdf0e10cSrcweir 
249cdf0e10cSrcweir #endif // ACCESSIBILITY_EXT_ACCESSIBLELISTBOXENTRY_HXX_
250cdf0e10cSrcweir 
251