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 // MARKER(update_precomp.py): autogen include statement, do not remove
29*cdf0e10cSrcweir #include "precompiled_accessibility.hxx"
30*cdf0e10cSrcweir 
31*cdf0e10cSrcweir 
32*cdf0e10cSrcweir #include "accessibility/extended/AccessibleBrowseBoxTableBase.hxx"
33*cdf0e10cSrcweir #include <svtools/accessibletableprovider.hxx>
34*cdf0e10cSrcweir #include <tools/multisel.hxx>
35*cdf0e10cSrcweir #include <comphelper/sequence.hxx>
36*cdf0e10cSrcweir 
37*cdf0e10cSrcweir // ============================================================================
38*cdf0e10cSrcweir 
39*cdf0e10cSrcweir using ::rtl::OUString;
40*cdf0e10cSrcweir 
41*cdf0e10cSrcweir using ::com::sun::star::uno::Reference;
42*cdf0e10cSrcweir using ::com::sun::star::uno::Sequence;
43*cdf0e10cSrcweir using ::com::sun::star::uno::Any;
44*cdf0e10cSrcweir 
45*cdf0e10cSrcweir using namespace ::com::sun::star;
46*cdf0e10cSrcweir using namespace ::com::sun::star::accessibility;
47*cdf0e10cSrcweir using namespace ::svt;
48*cdf0e10cSrcweir 
49*cdf0e10cSrcweir // ============================================================================
50*cdf0e10cSrcweir 
51*cdf0e10cSrcweir namespace accessibility {
52*cdf0e10cSrcweir 
53*cdf0e10cSrcweir // ============================================================================
54*cdf0e10cSrcweir 
55*cdf0e10cSrcweir // Ctor/Dtor/disposing --------------------------------------------------------
56*cdf0e10cSrcweir 
57*cdf0e10cSrcweir DBG_NAME( AccessibleBrowseBoxTableBase )
58*cdf0e10cSrcweir 
59*cdf0e10cSrcweir AccessibleBrowseBoxTableBase::AccessibleBrowseBoxTableBase(
60*cdf0e10cSrcweir         const Reference< XAccessible >& rxParent,
61*cdf0e10cSrcweir         IAccessibleTableProvider&                      rBrowseBox,
62*cdf0e10cSrcweir         AccessibleBrowseBoxObjType      eObjType ) :
63*cdf0e10cSrcweir     BrowseBoxAccessibleElement( rxParent, rBrowseBox,NULL, eObjType )
64*cdf0e10cSrcweir {
65*cdf0e10cSrcweir     DBG_CTOR( AccessibleBrowseBoxTableBase, NULL );
66*cdf0e10cSrcweir }
67*cdf0e10cSrcweir 
68*cdf0e10cSrcweir AccessibleBrowseBoxTableBase::~AccessibleBrowseBoxTableBase()
69*cdf0e10cSrcweir {
70*cdf0e10cSrcweir     DBG_DTOR( AccessibleBrowseBoxTableBase, NULL );
71*cdf0e10cSrcweir }
72*cdf0e10cSrcweir 
73*cdf0e10cSrcweir // XAccessibleContext ---------------------------------------------------------
74*cdf0e10cSrcweir 
75*cdf0e10cSrcweir sal_Int32 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleChildCount()
76*cdf0e10cSrcweir     throw ( uno::RuntimeException )
77*cdf0e10cSrcweir {
78*cdf0e10cSrcweir     BBSolarGuard aSolarGuard;
79*cdf0e10cSrcweir     ::osl::MutexGuard aGuard( getOslMutex() );
80*cdf0e10cSrcweir     ensureIsAlive();
81*cdf0e10cSrcweir     return implGetChildCount();
82*cdf0e10cSrcweir }
83*cdf0e10cSrcweir 
84*cdf0e10cSrcweir sal_Int16 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleRole()
85*cdf0e10cSrcweir     throw ( uno::RuntimeException )
86*cdf0e10cSrcweir {
87*cdf0e10cSrcweir     ensureIsAlive();
88*cdf0e10cSrcweir     return AccessibleRole::TABLE;
89*cdf0e10cSrcweir }
90*cdf0e10cSrcweir 
91*cdf0e10cSrcweir // XAccessibleTable -----------------------------------------------------------
92*cdf0e10cSrcweir 
93*cdf0e10cSrcweir sal_Int32 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleRowCount()
94*cdf0e10cSrcweir     throw ( uno::RuntimeException )
95*cdf0e10cSrcweir {
96*cdf0e10cSrcweir     BBSolarGuard aSolarGuard;
97*cdf0e10cSrcweir     ::osl::MutexGuard aGuard( getOslMutex() );
98*cdf0e10cSrcweir     ensureIsAlive();
99*cdf0e10cSrcweir     return implGetRowCount();
100*cdf0e10cSrcweir }
101*cdf0e10cSrcweir 
102*cdf0e10cSrcweir sal_Int32 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleColumnCount()
103*cdf0e10cSrcweir     throw ( uno::RuntimeException )
104*cdf0e10cSrcweir {
105*cdf0e10cSrcweir     BBSolarGuard aSolarGuard;
106*cdf0e10cSrcweir     ::osl::MutexGuard aGuard( getOslMutex() );
107*cdf0e10cSrcweir     ensureIsAlive();
108*cdf0e10cSrcweir     return implGetColumnCount();
109*cdf0e10cSrcweir }
110*cdf0e10cSrcweir 
111*cdf0e10cSrcweir sal_Int32 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleRowExtentAt(
112*cdf0e10cSrcweir         sal_Int32 nRow, sal_Int32 nColumn )
113*cdf0e10cSrcweir     throw ( lang::IndexOutOfBoundsException, uno::RuntimeException )
114*cdf0e10cSrcweir {
115*cdf0e10cSrcweir     BBSolarGuard aSolarGuard;
116*cdf0e10cSrcweir     ::osl::MutexGuard aGuard( getOslMutex() );
117*cdf0e10cSrcweir     ensureIsAlive();
118*cdf0e10cSrcweir     ensureIsValidAddress( nRow, nColumn );
119*cdf0e10cSrcweir     return 1;   // merged cells not supported
120*cdf0e10cSrcweir }
121*cdf0e10cSrcweir 
122*cdf0e10cSrcweir sal_Int32 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleColumnExtentAt(
123*cdf0e10cSrcweir         sal_Int32 nRow, sal_Int32 nColumn )
124*cdf0e10cSrcweir     throw ( lang::IndexOutOfBoundsException, uno::RuntimeException )
125*cdf0e10cSrcweir {
126*cdf0e10cSrcweir     BBSolarGuard aSolarGuard;
127*cdf0e10cSrcweir     ::osl::MutexGuard aGuard( getOslMutex() );
128*cdf0e10cSrcweir     ensureIsAlive();
129*cdf0e10cSrcweir     ensureIsValidAddress( nRow, nColumn );
130*cdf0e10cSrcweir     return 1;   // merged cells not supported
131*cdf0e10cSrcweir }
132*cdf0e10cSrcweir 
133*cdf0e10cSrcweir Reference< XAccessible > SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleCaption()
134*cdf0e10cSrcweir     throw ( uno::RuntimeException )
135*cdf0e10cSrcweir {
136*cdf0e10cSrcweir     ensureIsAlive();
137*cdf0e10cSrcweir     return NULL;    // not supported
138*cdf0e10cSrcweir }
139*cdf0e10cSrcweir 
140*cdf0e10cSrcweir Reference< XAccessible > SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleSummary()
141*cdf0e10cSrcweir     throw ( uno::RuntimeException )
142*cdf0e10cSrcweir {
143*cdf0e10cSrcweir     ensureIsAlive();
144*cdf0e10cSrcweir     return NULL;    // not supported
145*cdf0e10cSrcweir }
146*cdf0e10cSrcweir 
147*cdf0e10cSrcweir sal_Int32 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleIndex(
148*cdf0e10cSrcweir         sal_Int32 nRow, sal_Int32 nColumn )
149*cdf0e10cSrcweir     throw ( lang::IndexOutOfBoundsException, uno::RuntimeException )
150*cdf0e10cSrcweir {
151*cdf0e10cSrcweir     BBSolarGuard aSolarGuard;
152*cdf0e10cSrcweir     ::osl::MutexGuard aGuard( getOslMutex() );
153*cdf0e10cSrcweir     ensureIsAlive();
154*cdf0e10cSrcweir     ensureIsValidAddress( nRow, nColumn );
155*cdf0e10cSrcweir     return implGetChildIndex( nRow, nColumn );
156*cdf0e10cSrcweir }
157*cdf0e10cSrcweir 
158*cdf0e10cSrcweir sal_Int32 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleRow( sal_Int32 nChildIndex )
159*cdf0e10cSrcweir     throw ( lang::IndexOutOfBoundsException, uno::RuntimeException )
160*cdf0e10cSrcweir {
161*cdf0e10cSrcweir     BBSolarGuard aSolarGuard;
162*cdf0e10cSrcweir     ::osl::MutexGuard aGuard( getOslMutex() );
163*cdf0e10cSrcweir     ensureIsAlive();
164*cdf0e10cSrcweir     ensureIsValidIndex( nChildIndex );
165*cdf0e10cSrcweir     return implGetRow( nChildIndex );
166*cdf0e10cSrcweir }
167*cdf0e10cSrcweir 
168*cdf0e10cSrcweir sal_Int32 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleColumn( sal_Int32 nChildIndex )
169*cdf0e10cSrcweir     throw ( lang::IndexOutOfBoundsException, uno::RuntimeException )
170*cdf0e10cSrcweir {
171*cdf0e10cSrcweir     BBSolarGuard aSolarGuard;
172*cdf0e10cSrcweir     ::osl::MutexGuard aGuard( getOslMutex() );
173*cdf0e10cSrcweir     ensureIsAlive();
174*cdf0e10cSrcweir     ensureIsValidIndex( nChildIndex );
175*cdf0e10cSrcweir     return implGetColumn( nChildIndex );
176*cdf0e10cSrcweir }
177*cdf0e10cSrcweir 
178*cdf0e10cSrcweir // XInterface -----------------------------------------------------------------
179*cdf0e10cSrcweir 
180*cdf0e10cSrcweir Any SAL_CALL AccessibleBrowseBoxTableBase::queryInterface( const uno::Type& rType )
181*cdf0e10cSrcweir     throw ( uno::RuntimeException )
182*cdf0e10cSrcweir {
183*cdf0e10cSrcweir     Any aAny( BrowseBoxAccessibleElement::queryInterface( rType ) );
184*cdf0e10cSrcweir     return aAny.hasValue() ?
185*cdf0e10cSrcweir         aAny : AccessibleBrowseBoxTableImplHelper::queryInterface( rType );
186*cdf0e10cSrcweir }
187*cdf0e10cSrcweir 
188*cdf0e10cSrcweir void SAL_CALL AccessibleBrowseBoxTableBase::acquire() throw ()
189*cdf0e10cSrcweir {
190*cdf0e10cSrcweir     BrowseBoxAccessibleElement::acquire();
191*cdf0e10cSrcweir }
192*cdf0e10cSrcweir 
193*cdf0e10cSrcweir void SAL_CALL AccessibleBrowseBoxTableBase::release() throw ()
194*cdf0e10cSrcweir {
195*cdf0e10cSrcweir     BrowseBoxAccessibleElement::release();
196*cdf0e10cSrcweir }
197*cdf0e10cSrcweir 
198*cdf0e10cSrcweir // XTypeProvider --------------------------------------------------------------
199*cdf0e10cSrcweir 
200*cdf0e10cSrcweir Sequence< uno::Type > SAL_CALL AccessibleBrowseBoxTableBase::getTypes()
201*cdf0e10cSrcweir     throw ( uno::RuntimeException )
202*cdf0e10cSrcweir {
203*cdf0e10cSrcweir     return ::comphelper::concatSequences(
204*cdf0e10cSrcweir         BrowseBoxAccessibleElement::getTypes(),
205*cdf0e10cSrcweir         AccessibleBrowseBoxTableImplHelper::getTypes() );
206*cdf0e10cSrcweir }
207*cdf0e10cSrcweir 
208*cdf0e10cSrcweir Sequence< sal_Int8 > SAL_CALL AccessibleBrowseBoxTableBase::getImplementationId()
209*cdf0e10cSrcweir     throw ( uno::RuntimeException )
210*cdf0e10cSrcweir {
211*cdf0e10cSrcweir     ::osl::MutexGuard aGuard( getOslGlobalMutex() );
212*cdf0e10cSrcweir     static Sequence< sal_Int8 > aId;
213*cdf0e10cSrcweir     implCreateUuid( aId );
214*cdf0e10cSrcweir 	return aId;
215*cdf0e10cSrcweir }
216*cdf0e10cSrcweir 
217*cdf0e10cSrcweir // internal virtual methods ---------------------------------------------------
218*cdf0e10cSrcweir 
219*cdf0e10cSrcweir sal_Int32 AccessibleBrowseBoxTableBase::implGetRowCount() const
220*cdf0e10cSrcweir {
221*cdf0e10cSrcweir     return mpBrowseBox->GetRowCount();
222*cdf0e10cSrcweir }
223*cdf0e10cSrcweir 
224*cdf0e10cSrcweir sal_Int32 AccessibleBrowseBoxTableBase::implGetColumnCount() const
225*cdf0e10cSrcweir {
226*cdf0e10cSrcweir     sal_uInt16 nColumns = mpBrowseBox->GetColumnCount();
227*cdf0e10cSrcweir     // do not count the "handle column"
228*cdf0e10cSrcweir     if( nColumns && implHasHandleColumn() )
229*cdf0e10cSrcweir         --nColumns;
230*cdf0e10cSrcweir     return nColumns;
231*cdf0e10cSrcweir }
232*cdf0e10cSrcweir 
233*cdf0e10cSrcweir // internal helper methods ----------------------------------------------------
234*cdf0e10cSrcweir 
235*cdf0e10cSrcweir sal_Bool AccessibleBrowseBoxTableBase::implHasHandleColumn() const
236*cdf0e10cSrcweir {
237*cdf0e10cSrcweir     return mpBrowseBox->HasRowHeader();
238*cdf0e10cSrcweir }
239*cdf0e10cSrcweir 
240*cdf0e10cSrcweir sal_uInt16 AccessibleBrowseBoxTableBase::implToVCLColumnPos( sal_Int32 nColumn ) const
241*cdf0e10cSrcweir {
242*cdf0e10cSrcweir     sal_uInt16 nVCLPos = 0;
243*cdf0e10cSrcweir     if( (0 <= nColumn) && (nColumn < implGetColumnCount()) )
244*cdf0e10cSrcweir     {
245*cdf0e10cSrcweir         // regard "handle column"
246*cdf0e10cSrcweir         if( implHasHandleColumn() )
247*cdf0e10cSrcweir             ++nColumn;
248*cdf0e10cSrcweir         nVCLPos = static_cast< sal_uInt16 >( nColumn );
249*cdf0e10cSrcweir     }
250*cdf0e10cSrcweir     return nVCLPos;
251*cdf0e10cSrcweir }
252*cdf0e10cSrcweir 
253*cdf0e10cSrcweir sal_Int32 AccessibleBrowseBoxTableBase::implGetChildCount() const
254*cdf0e10cSrcweir {
255*cdf0e10cSrcweir     return implGetRowCount() * implGetColumnCount();
256*cdf0e10cSrcweir }
257*cdf0e10cSrcweir 
258*cdf0e10cSrcweir sal_Int32 AccessibleBrowseBoxTableBase::implGetRow( sal_Int32 nChildIndex ) const
259*cdf0e10cSrcweir {
260*cdf0e10cSrcweir     sal_Int32 nColumns = implGetColumnCount();
261*cdf0e10cSrcweir     return nColumns ? (nChildIndex / nColumns) : 0;
262*cdf0e10cSrcweir }
263*cdf0e10cSrcweir 
264*cdf0e10cSrcweir sal_Int32 AccessibleBrowseBoxTableBase::implGetColumn( sal_Int32 nChildIndex ) const
265*cdf0e10cSrcweir {
266*cdf0e10cSrcweir     sal_Int32 nColumns = implGetColumnCount();
267*cdf0e10cSrcweir     return nColumns ? (nChildIndex % nColumns) : 0;
268*cdf0e10cSrcweir }
269*cdf0e10cSrcweir 
270*cdf0e10cSrcweir sal_Int32 AccessibleBrowseBoxTableBase::implGetChildIndex(
271*cdf0e10cSrcweir         sal_Int32 nRow, sal_Int32 nColumn ) const
272*cdf0e10cSrcweir {
273*cdf0e10cSrcweir     return nRow * implGetColumnCount() + nColumn;
274*cdf0e10cSrcweir }
275*cdf0e10cSrcweir 
276*cdf0e10cSrcweir sal_Bool AccessibleBrowseBoxTableBase::implIsRowSelected( sal_Int32 nRow ) const
277*cdf0e10cSrcweir {
278*cdf0e10cSrcweir     return mpBrowseBox->IsRowSelected( nRow );
279*cdf0e10cSrcweir }
280*cdf0e10cSrcweir 
281*cdf0e10cSrcweir sal_Bool AccessibleBrowseBoxTableBase::implIsColumnSelected( sal_Int32 nColumn ) const
282*cdf0e10cSrcweir {
283*cdf0e10cSrcweir     if( implHasHandleColumn() )
284*cdf0e10cSrcweir         --nColumn;
285*cdf0e10cSrcweir     return mpBrowseBox->IsColumnSelected( nColumn );
286*cdf0e10cSrcweir }
287*cdf0e10cSrcweir 
288*cdf0e10cSrcweir void AccessibleBrowseBoxTableBase::implSelectRow( sal_Int32 nRow, sal_Bool bSelect )
289*cdf0e10cSrcweir {
290*cdf0e10cSrcweir     mpBrowseBox->SelectRow( nRow, bSelect, sal_True );
291*cdf0e10cSrcweir }
292*cdf0e10cSrcweir 
293*cdf0e10cSrcweir void AccessibleBrowseBoxTableBase::implSelectColumn( sal_Int32 nColumnPos, sal_Bool bSelect )
294*cdf0e10cSrcweir {
295*cdf0e10cSrcweir     mpBrowseBox->SelectColumn( (sal_uInt16)nColumnPos, bSelect );
296*cdf0e10cSrcweir }
297*cdf0e10cSrcweir 
298*cdf0e10cSrcweir sal_Int32 AccessibleBrowseBoxTableBase::implGetSelectedRowCount() const
299*cdf0e10cSrcweir {
300*cdf0e10cSrcweir     return mpBrowseBox->GetSelectedRowCount();
301*cdf0e10cSrcweir }
302*cdf0e10cSrcweir 
303*cdf0e10cSrcweir sal_Int32 AccessibleBrowseBoxTableBase::implGetSelectedColumnCount() const
304*cdf0e10cSrcweir {
305*cdf0e10cSrcweir     return mpBrowseBox->GetSelectedColumnCount();
306*cdf0e10cSrcweir }
307*cdf0e10cSrcweir 
308*cdf0e10cSrcweir void AccessibleBrowseBoxTableBase::implGetSelectedRows( Sequence< sal_Int32 >& rSeq )
309*cdf0e10cSrcweir {
310*cdf0e10cSrcweir     mpBrowseBox->GetAllSelectedRows( rSeq );
311*cdf0e10cSrcweir }
312*cdf0e10cSrcweir 
313*cdf0e10cSrcweir void AccessibleBrowseBoxTableBase::implGetSelectedColumns( Sequence< sal_Int32 >& rSeq )
314*cdf0e10cSrcweir {
315*cdf0e10cSrcweir 	mpBrowseBox->GetAllSelectedColumns( rSeq );
316*cdf0e10cSrcweir }
317*cdf0e10cSrcweir 
318*cdf0e10cSrcweir void AccessibleBrowseBoxTableBase::ensureIsValidRow( sal_Int32 nRow )
319*cdf0e10cSrcweir     throw ( lang::IndexOutOfBoundsException )
320*cdf0e10cSrcweir {
321*cdf0e10cSrcweir     if( nRow >= implGetRowCount() )
322*cdf0e10cSrcweir         throw lang::IndexOutOfBoundsException(
323*cdf0e10cSrcweir             OUString( RTL_CONSTASCII_USTRINGPARAM( "row index is invalid" ) ), *this );
324*cdf0e10cSrcweir }
325*cdf0e10cSrcweir 
326*cdf0e10cSrcweir void AccessibleBrowseBoxTableBase::ensureIsValidColumn( sal_Int32 nColumn )
327*cdf0e10cSrcweir     throw ( lang::IndexOutOfBoundsException )
328*cdf0e10cSrcweir {
329*cdf0e10cSrcweir     if( nColumn >= implGetColumnCount() )
330*cdf0e10cSrcweir         throw lang::IndexOutOfBoundsException(
331*cdf0e10cSrcweir             OUString( RTL_CONSTASCII_USTRINGPARAM("column index is invalid") ), *this );
332*cdf0e10cSrcweir }
333*cdf0e10cSrcweir 
334*cdf0e10cSrcweir void AccessibleBrowseBoxTableBase::ensureIsValidAddress(
335*cdf0e10cSrcweir         sal_Int32 nRow, sal_Int32 nColumn )
336*cdf0e10cSrcweir     throw ( lang::IndexOutOfBoundsException )
337*cdf0e10cSrcweir {
338*cdf0e10cSrcweir     ensureIsValidRow( nRow );
339*cdf0e10cSrcweir     ensureIsValidColumn( nColumn );
340*cdf0e10cSrcweir }
341*cdf0e10cSrcweir 
342*cdf0e10cSrcweir void AccessibleBrowseBoxTableBase::ensureIsValidIndex( sal_Int32 nChildIndex )
343*cdf0e10cSrcweir     throw ( lang::IndexOutOfBoundsException )
344*cdf0e10cSrcweir {
345*cdf0e10cSrcweir     if( nChildIndex >= implGetChildCount() )
346*cdf0e10cSrcweir         throw lang::IndexOutOfBoundsException(
347*cdf0e10cSrcweir             OUString( RTL_CONSTASCII_USTRINGPARAM("child index is invalid") ), *this );
348*cdf0e10cSrcweir }
349*cdf0e10cSrcweir 
350*cdf0e10cSrcweir // ============================================================================
351*cdf0e10cSrcweir 
352*cdf0e10cSrcweir } // namespace accessibility
353*cdf0e10cSrcweir 
354*cdf0e10cSrcweir // ============================================================================
355*cdf0e10cSrcweir 
356