LibreOffice Module svx (master)  1
charmapacc.cxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
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 .
18  */
19 
21 #include <vcl/settings.hxx>
22 #include <vcl/svapp.hxx>
23 #include <stdio.h>
24 #include <svx/charmap.hxx>
25 #include <charmapacc.hxx>
26 #include <com/sun/star/accessibility/AccessibleRole.hpp>
27 #include <com/sun/star/accessibility/AccessibleStateType.hpp>
28 #include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
29 #include <o3tl/temporary.hxx>
30 #include <osl/interlck.h>
31 #include <svx/dialmgr.hxx>
32 #include <svx/strings.hrc>
33 #include <comphelper/types.hxx>
34 
35 namespace svx
36 {
37  using namespace comphelper;
38  using namespace ::com::sun::star;
39  using namespace ::com::sun::star::uno;
40  using namespace ::com::sun::star::lang;
41  using namespace ::com::sun::star::accessibility;
42 
44  mrParent( rParent )
45  ,mnId( _nPos )
46  ,m_pParent(_pParent)
47 {
48 }
49 
51 {
52  if ( m_xItem.is() )
53  {
54  m_xItem->ParentDestroyed();
55  m_xItem.clear();
56  }
57 }
58 
59 uno::Reference< css::accessibility::XAccessible > SvxShowCharSetItem::GetAccessible()
60 {
61  if( !m_xItem.is() )
62  {
63  m_xItem = new SvxShowCharSetItemAcc( this );
64  }
65 
66  return m_xItem;
67 }
68 
70  : m_pParent(pParent)
71 {
72  osl_atomic_increment(&m_refCount);
73  {
74  lateInit(this);
75  }
76  osl_atomic_decrement(&m_refCount);
77 }
78 
80 {
81  ensureDisposed();
82 }
83 
85 {
86  OAccessibleSelectionHelper::disposing();
87  for (auto& rChild : m_aChildren)
88  ::comphelper::disposeComponent(rChild);
89 
90  m_aChildren.clear();
91  m_pParent = nullptr;
92 }
93 
94 
96 IMPLEMENT_FORWARD_XTYPEPROVIDER2( SvxShowCharSetAcc, OAccessibleSelectionHelper, OAccessibleHelper_Base )
97 
98 bool SvxShowCharSetAcc::implIsSelected( sal_Int32 nAccessibleChildIndex )
99 {
100  return m_pParent && m_pParent->IsSelected(
101  sal::static_int_cast<sal_uInt16>(nAccessibleChildIndex));
102 }
103 
104  // select the specified child => watch for special ChildIndexes (ACCESSIBLE_SELECTION_CHILD_xxx)
105 void SvxShowCharSetAcc::implSelect(sal_Int32 nAccessibleChildIndex, bool bSelect)
106 {
107  if ( m_pParent )
108  {
109  if ( bSelect )
110  m_pParent->SelectIndex(nAccessibleChildIndex, true);
111  else
112  m_pParent->DeSelect();
113  }
114 }
115 
116 css::awt::Rectangle SvxShowCharSetAcc::implGetBounds()
117 {
118  awt::Rectangle aRet;
119 
120  if (m_pParent)
121  {
122  const Point aOutPos;//( m_pParent->GetPosPixel() );
123  Size aOutSize( m_pParent->GetOutputSizePixel());
124 
125  aRet.X = aOutPos.X();
126  aRet.Y = aOutPos.Y();
127  aRet.Width = aOutSize.Width();
128  aRet.Height = aOutSize.Height();
129  }
130 
131  return aRet;
132 }
133 
135 {
136  OExternalLockGuard aGuard( this );
137 
138  return m_pParent->getMaxCharCount();
139 }
140 
141 uno::Reference< css::accessibility::XAccessible > SAL_CALL SvxShowCharSetAcc::getAccessibleChild( sal_Int32 i )
142 {
143  OExternalLockGuard aGuard( this );
144 
145  uno::Reference< css::accessibility::XAccessible > xRet;
146  SvxShowCharSetItem* pItem = m_pParent->ImplGetItem( static_cast< sal_uInt16 >( i ) );
147 
148  if( !pItem )
149  throw lang::IndexOutOfBoundsException();
150 
151  pItem->m_pParent = this;
152  xRet = pItem->GetAccessible();
153  m_aChildren.push_back(xRet);
154 
155  return xRet;
156 }
157 
158 uno::Reference< css::accessibility::XAccessible > SAL_CALL SvxShowCharSetAcc::getAccessibleParent()
159 {
160  OExternalLockGuard aGuard( this );
161 
162  if (m_pParent)
163  return m_pParent->getAccessibleParent();
164  return uno::Reference<css::accessibility::XAccessible>();
165 }
166 
168 {
169  return css::accessibility::AccessibleRole::TABLE;
170 }
171 
173 {
174  OExternalLockGuard aGuard( this );
175  return SvxResId( RID_SVXSTR_CHARACTER_SELECTION );
176 }
177 
178 
180 {
181  OExternalLockGuard aGuard( this );
182 
183  return SvxResId( RID_SVXSTR_CHAR_SEL_DESC );
184 }
185 
186 
187 uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL SvxShowCharSetAcc::getAccessibleRelationSet()
188 {
189  return uno::Reference< css::accessibility::XAccessibleRelationSet >();
190 }
191 
192 
193 uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL SvxShowCharSetAcc::getAccessibleStateSet()
194 {
195  OExternalLockGuard aGuard( this );
196 
197  ::utl::AccessibleStateSetHelper* pStateSet = new ::utl::AccessibleStateSetHelper;
198 
199  if (m_pParent)
200  {
201  // SELECTABLE
202  pStateSet->AddState( AccessibleStateType::FOCUSABLE );
203  if (m_pParent->HasFocus())
204  {
205  pStateSet->AddState( AccessibleStateType::FOCUSED );
206  pStateSet->AddState( AccessibleStateType::ACTIVE );
207  }
208  if (m_pParent->IsEnabled())
209  {
210  pStateSet->AddState( AccessibleStateType::ENABLED );
211  pStateSet->AddState( AccessibleStateType::SENSITIVE );
212  }
213  if (m_pParent->IsVisible())
214  pStateSet->AddState( AccessibleStateType::VISIBLE );
215 
216  pStateSet->AddState( AccessibleStateType::MANAGES_DESCENDANTS );
217  }
218 
219  return pStateSet;
220 }
221 
222 
223 uno::Reference< css::accessibility::XAccessible > SAL_CALL SvxShowCharSetAcc::getAccessibleAtPoint( const awt::Point& aPoint )
224 {
225  OExternalLockGuard aGuard( this );
226 
227  uno::Reference< css::accessibility::XAccessible > xRet;
228  const sal_uInt16 nItemId = sal::static_int_cast<sal_uInt16>(
229  m_pParent->PixelToMapIndex( Point( aPoint.X, aPoint.Y ) ));
230 
231  if( sal_uInt16(-1) != nItemId )
232  {
233  SvxShowCharSetItem* pItem = m_pParent->ImplGetItem( nItemId );
234  xRet = pItem->GetAccessible();
235  }
236  return xRet;
237 }
238 
240 {
241  OExternalLockGuard aGuard( this );
242 
243  m_pParent->GrabFocus();
244 }
245 
247 {
248  return ((getAccessibleChildCount()-1) / COLUMN_COUNT) + 1;
249 }
250 
252 {
253  return COLUMN_COUNT;
254 }
255 
256 OUString SAL_CALL SvxShowCharSetAcc::getAccessibleRowDescription( sal_Int32 /*nRow*/ )
257 {
258  return OUString();
259 }
260 
261 OUString SAL_CALL SvxShowCharSetAcc::getAccessibleColumnDescription( sal_Int32 /*nColumn*/ )
262 {
263  return OUString();
264 }
265 
266 sal_Int32 SAL_CALL SvxShowCharSetAcc::getAccessibleRowExtentAt( sal_Int32 /*nRow*/, sal_Int32 /*nColumn*/ )
267 {
268  return 1;
269 }
270 
271 sal_Int32 SAL_CALL SvxShowCharSetAcc::getAccessibleColumnExtentAt( sal_Int32 /*nRow*/, sal_Int32 /*nColumn*/ )
272 {
273  return 1;
274 }
275 
276 Reference< XAccessibleTable > SAL_CALL SvxShowCharSetAcc::getAccessibleRowHeaders( )
277 {
278  return Reference< XAccessibleTable >();
279 }
280 
281 Reference< XAccessibleTable > SAL_CALL SvxShowCharSetAcc::getAccessibleColumnHeaders( )
282 {
283  return Reference< XAccessibleTable >();
284 }
285 
286 Sequence< sal_Int32 > SAL_CALL SvxShowCharSetAcc::getSelectedAccessibleRows( )
287 {
288  OExternalLockGuard aGuard( this );
289 
290  Sequence< sal_Int32 > aSel(1);
292  return aSel;
293 }
294 
295 Sequence< sal_Int32 > SAL_CALL SvxShowCharSetAcc::getSelectedAccessibleColumns( )
296 {
297  OExternalLockGuard aGuard( this );
298 
299  Sequence< sal_Int32 > aSel(1);
301  return aSel;
302 }
303 
305 {
306  OExternalLockGuard aGuard( this );
307 
309 }
310 
312 {
313  OExternalLockGuard aGuard( this );
314  ensureAlive();
316 }
317 
318 Reference< XAccessible > SAL_CALL SvxShowCharSetAcc::getAccessibleCellAt( sal_Int32 nRow, sal_Int32 nColumn )
319 {
320  OExternalLockGuard aGuard( this );
321 
323  sal::static_int_cast<sal_uInt16>(getAccessibleIndex(nRow,nColumn) ));
324  if ( !pItem )
325  throw IndexOutOfBoundsException();
326  return pItem->GetAccessible();
327 }
328 
329 Reference< XAccessible > SAL_CALL SvxShowCharSetAcc::getAccessibleCaption( )
330 {
331  return Reference< XAccessible >();
332 }
333 
334 Reference< XAccessible > SAL_CALL SvxShowCharSetAcc::getAccessibleSummary( )
335 {
336  return Reference< XAccessible >();
337 }
338 
339 sal_Bool SAL_CALL SvxShowCharSetAcc::isAccessibleSelected( sal_Int32 nRow, sal_Int32 nColumn )
340 {
341  OExternalLockGuard aGuard( this );
342 
343  return m_pParent->GetSelectIndexId() == getAccessibleIndex(nRow,nColumn);
344 }
345 
346 sal_Int32 SAL_CALL SvxShowCharSetAcc::getAccessibleIndex( sal_Int32 nRow, sal_Int32 nColumn )
347 {
348  return (nRow*COLUMN_COUNT) + nColumn;
349 }
350 
351 sal_Int32 SAL_CALL SvxShowCharSetAcc::getAccessibleRow( sal_Int32 nChildIndex )
352 {
353  OExternalLockGuard aGuard( this );
354 
355  return SvxShowCharSet::GetRowPos(sal::static_int_cast<sal_uInt16>(nChildIndex));
356 }
357 
358 sal_Int32 SAL_CALL SvxShowCharSetAcc::getAccessibleColumn( sal_Int32 nChildIndex )
359 {
360  OExternalLockGuard aGuard( this );
361 
362  return SvxShowCharSet::GetColumnPos(sal::static_int_cast<sal_uInt16>(nChildIndex));
363 }
364 
365 
367 {
368  OSL_ENSURE(pParent,"NO parent supplied!");
369  osl_atomic_increment(&m_refCount);
370  { // #b6211265 #
371  lateInit(this);
372  }
373  osl_atomic_decrement(&m_refCount);
374 }
375 
376 
378 {
379  ensureDisposed();
380 }
381 
384 
385 void SvxShowCharSetItemAcc::ParentDestroyed()
386 {
387  const ::osl::MutexGuard aGuard( GetMutex() );
388  mpParent = nullptr;
389 }
390 
392 {
393  return 0;
394 }
395 
396 
397 uno::Reference< css::accessibility::XAccessible > SAL_CALL SvxShowCharSetItemAcc::getAccessibleChild( sal_Int32 /*i*/ )
398 {
399  throw lang::IndexOutOfBoundsException();
400 }
401 
402 
403 uno::Reference< css::accessibility::XAccessible > SAL_CALL SvxShowCharSetItemAcc::getAccessibleParent()
404 {
405  OExternalLockGuard aGuard( this );
406 
407  return mpParent->m_pParent;
408 }
409 
410 
412 {
413  return css::accessibility::AccessibleRole::TABLE_CELL;
414 }
415 
416 
418 {
419  OExternalLockGuard aGuard( this );
420 
421  OUString sDescription;
422 
423  const OUString aCharStr( mpParent->maText);
424  const sal_UCS4 c = aCharStr.iterateCodePoints( &o3tl::temporary(sal_Int32(0)) );
425  const int tmp_len = (c < 0x10000) ? 4 : 6;
426  char buf[16] = "0x0000";
427  sal_UCS4 c_Shifted = c;
428  for( int i = 0; i < tmp_len; ++i )
429  {
430  char h = static_cast<char>(c_Shifted & 0x0F);
431  buf[tmp_len+1-i] = (h > 9) ? (h - 10 + 'A') : (h + '0');
432  c_Shifted >>= 4;
433  }
434  if( c < 256 )
435  snprintf( buf+6, 10, " (%" SAL_PRIuUINT32 ")", c );
436 
437  sDescription = SvxResId( RID_SVXSTR_CHARACTER_CODE )
438  + " "
439  + OUString(buf, strlen(buf), RTL_TEXTENCODING_ASCII_US);
440 
441  return sDescription;
442 }
443 
444 
446 {
447  OExternalLockGuard aGuard( this );
448 
449  OUString aRet;
450 
451  if( mpParent )
452  {
453  aRet = mpParent->maText;
454 
455  if (aRet.isEmpty())
456  aRet = getAccessibleDescription();
457  }
458 
459  return aRet;
460 }
461 
462 
463 uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL SvxShowCharSetItemAcc::getAccessibleRelationSet()
464 {
465  return uno::Reference< css::accessibility::XAccessibleRelationSet >();
466 }
467 
468 
469 uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL SvxShowCharSetItemAcc::getAccessibleStateSet()
470 {
471  OExternalLockGuard aGuard( this );
472 
473  ::utl::AccessibleStateSetHelper* pStateSet = new ::utl::AccessibleStateSetHelper;
474 
475  if( mpParent )
476  {
477  if (mpParent->mrParent.IsEnabled())
478  {
479  pStateSet->AddState( css::accessibility::AccessibleStateType::ENABLED );
480  // SELECTABLE
481  pStateSet->AddState( css::accessibility::AccessibleStateType::SELECTABLE );
482  pStateSet->AddState( css::accessibility::AccessibleStateType::FOCUSABLE );
483  }
484 
485  // SELECTED
487  {
488  pStateSet->AddState( css::accessibility::AccessibleStateType::SELECTED );
489  pStateSet->AddState( css::accessibility::AccessibleStateType::FOCUSED );
490  }
492  {
493  pStateSet->AddState( AccessibleStateType::VISIBLE );
494  pStateSet->AddState( AccessibleStateType::SHOWING );
495  }
496  pStateSet->AddState( AccessibleStateType::TRANSIENT );
497  }
498 
499  return pStateSet;
500 }
501 
502 
504 {
505  return 1;
506 }
507 
508 
510 {
511  OExternalLockGuard aGuard( this );
512 
513  if( nIndex == 0 )
514  {
516  return true;
517  }
518  throw IndexOutOfBoundsException();
519 }
520 
521 
523 {
524  if( nIndex == 0 )
525  return "press";
526  throw IndexOutOfBoundsException();
527 }
528 
529 
530 Reference< css::accessibility::XAccessibleKeyBinding > SvxShowCharSetItemAcc::getAccessibleActionKeyBinding( sal_Int32 nIndex )
531 {
532  if( nIndex == 0 )
533  return Reference< css::accessibility::XAccessibleKeyBinding >();
534  throw IndexOutOfBoundsException();
535 }
536 
537 
539 {
540  // nothing to do
541 }
542 
544 {
545  awt::Rectangle aRet;
546 
547  if( mpParent )
548  {
549  tools::Rectangle aRect( mpParent->maRect );
551 
552  aRect.Intersection( aParentRect );
553 
554  aRet.X = aRect.Left();
555  aRet.Y = aRect.Top();
556  aRet.Width = aRect.GetWidth();
557  aRet.Height = aRect.GetHeight();
558  }
559 
560  return aRet;
561 }
562 
563 uno::Reference< css::accessibility::XAccessible > SAL_CALL SvxShowCharSetItemAcc::getAccessibleAtPoint( const awt::Point& /*aPoint*/ )
564 {
565  return uno::Reference< css::accessibility::XAccessible >();
566 }
567 
568 sal_Int32 SAL_CALL SvxShowCharSetAcc::getForeground( )
569 {
570  OExternalLockGuard aGuard( this );
571 
572  //see SvxShowCharSet::InitSettings
573  const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings();
574  return static_cast<sal_Int32>(rStyleSettings.GetDialogTextColor());
575 }
576 
577 sal_Int32 SAL_CALL SvxShowCharSetAcc::getBackground( )
578 {
579  OExternalLockGuard aGuard( this );
580 
581  //see SvxShowCharSet::InitSettings
582  const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings();
583  return static_cast<sal_Int32>(rStyleSettings.GetWindowColor());
584 }
585 
586 }
587 
588 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet() override
Definition: charmapacc.cxx:463
IMPLEMENT_FORWARD_XINTERFACE2(ChildWindowPane, ChildWindowPaneInterfaceBase, Pane)
virtual sal_Int32 SAL_CALL getForeground() override
Definition: charmapacc.cxx:568
The child implementation of the table.
Definition: charmapacc.hxx:161
static sal_uInt16 GetRowPos(sal_uInt16 _nPos)
Definition: charmap.cxx:190
virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet() override
Definition: charmapacc.cxx:193
virtual svx::SvxShowCharSetItem * ImplGetItem(int _nPos)
Definition: charmap.cxx:817
virtual sal_Bool SAL_CALL isAccessibleRowSelected(sal_Int32 nRow) override
Definition: charmapacc.cxx:304
virtual OUString SAL_CALL getAccessibleRowDescription(sal_Int32 nRow) override
Definition: charmapacc.cxx:256
tools::Rectangle & Intersection(const tools::Rectangle &rRect)
sal_uInt32 sal_UCS4
virtual sal_Int32 SAL_CALL getAccessibleChildCount() override
Definition: charmapacc.cxx:134
The table implementation of the vcl control.
Definition: charmapacc.hxx:70
virtual sal_Int32 SAL_CALL getAccessibleIndex(sal_Int32 nRow, sal_Int32 nColumn) override
Definition: charmapacc.cxx:346
virtual css::awt::Rectangle implGetBounds() override
implements the calculation of the bounding rectangle - still waiting to be overwritten ...
Definition: charmapacc.cxx:116
virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet() override
Definition: charmapacc.cxx:469
virtual ~SvxShowCharSetItemAcc() override
Definition: charmapacc.cxx:377
SvxShowCharSetAcc * m_pParent
Definition: charmapacc.hxx:52
virtual sal_Int32 SAL_CALL getAccessibleRowCount() override
Definition: charmapacc.cxx:246
ULONG m_refCount
SvxShowCharSetItem * mpParent
Definition: charmapacc.hxx:165
const StyleSettings & GetStyleSettings() const
static const AllSettings & GetSettings()
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent() override
Definition: charmapacc.cxx:158
::std::vector< css::uno::Reference< css::accessibility::XAccessible > > m_aChildren
Definition: charmapacc.hxx:73
sal_uInt16 GetSelectIndexId() const
Definition: charmap.hxx:93
virtual sal_Int16 SAL_CALL getAccessibleRole() override
Definition: charmapacc.cxx:167
SvxShowCharSetItem(SvxShowCharSet &rParent, SvxShowCharSetAcc *_pParent, sal_uInt16 _nPos)
Definition: charmapacc.cxx:43
tools::Long GetWidth() const
bool lateInit
virtual sal_Int32 SAL_CALL getAccessibleRowExtentAt(sal_Int32 nRow, sal_Int32 nColumn) override
Definition: charmapacc.cxx:266
sal_uInt16 mnId
tools::Rectangle maRect
Definition: charmapacc.hxx:50
Size const & GetOutputSizePixel() const
virtual void SAL_CALL grabFocus() override
Definition: charmapacc.cxx:239
virtual ~SvxShowCharSetAcc() override
Definition: charmapacc.cxx:79
virtual sal_Bool SAL_CALL doAccessibleAction(sal_Int32 nIndex) override
Definition: charmapacc.cxx:509
tools::Long Left() const
OUString SvxResId(const char *pId)
Definition: dialmgr.cxx:25
virtual sal_Int32 getMaxCharCount() const
Definition: charmap.cxx:836
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent() override
Definition: charmapacc.cxx:403
uno::Reference< css::accessibility::XAccessible > getAccessibleParent() const
Definition: charmap.hxx:102
virtual sal_Bool SAL_CALL isAccessibleSelected(sal_Int32 nRow, sal_Int32 nColumn) override
Definition: charmapacc.cxx:339
int PixelToMapIndex(const Point &) const
Definition: charmap.cxx:371
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleCellAt(sal_Int32 nRow, sal_Int32 nColumn) override
Definition: charmapacc.cxx:318
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleCaption() override
Definition: charmapacc.cxx:329
void lateInit(const css::uno::Reference< css::accessibility::XAccessible > &_rxAccessible)
virtual css::awt::Rectangle implGetBounds() override
implements the calculation of the bounding rectangle - still waiting to be overwritten ...
Definition: charmapacc.cxx:543
int i
virtual css::uno::Sequence< sal_Int32 > SAL_CALL getSelectedAccessibleRows() override
Definition: charmapacc.cxx:286
virtual void SelectIndex(int index, bool bFocus=false)
Definition: charmap.cxx:682
rtl::Reference< SvxShowCharSetItemAcc > m_xItem
Definition: charmapacc.hxx:51
void DeSelect()
Definition: charmap.cxx:460
static sal_uInt16 GetColumnPos(sal_uInt16 _nPos)
Definition: charmap.cxx:342
tools::Long Width() const
unsigned char sal_Bool
virtual sal_Int32 SAL_CALL getAccessibleActionCount() override
Definition: charmapacc.cxx:503
SvxShowCharSetItemAcc(SvxShowCharSetItem *pParent)
Definition: charmapacc.cxx:366
virtual int LastInView() const
Definition: charmap.cxx:352
SvxShowCharSet * m_pParent
Definition: charmapacc.hxx:74
tools::Long Top() const
virtual OUString SAL_CALL getAccessibleActionDescription(sal_Int32 nIndex) override
Definition: charmapacc.cxx:522
virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL getAccessibleRowHeaders() override
Definition: charmapacc.cxx:276
constexpr T & temporary(T &&x)
int FirstInView() const
Definition: charmap.cxx:347
virtual void implSelect(sal_Int32 nAccessibleChildIndex, bool bSelect) override
Definition: charmapacc.cxx:105
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleSummary() override
Definition: charmapacc.cxx:334
RegionData_Impl * mpParent
css::uno::Reference< css::accessibility::XAccessible > GetAccessible()
Definition: charmapacc.cxx:59
virtual css::uno::Reference< css::accessibility::XAccessibleKeyBinding > SAL_CALL getAccessibleActionKeyBinding(sal_Int32 nIndex) override
Definition: charmapacc.cxx:530
virtual sal_Int16 SAL_CALL getAccessibleRole() override
Definition: charmapacc.cxx:411
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint(const css::awt::Point &aPoint) override
Definition: charmapacc.cxx:223
virtual OUString SAL_CALL getAccessibleDescription() override
Definition: charmapacc.cxx:417
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint(const css::awt::Point &aPoint) override
Definition: charmapacc.cxx:563
virtual sal_Int32 SAL_CALL getAccessibleColumnExtentAt(sal_Int32 nRow, sal_Int32 nColumn) override
Definition: charmapacc.cxx:271
#define COLUMN_COUNT
Definition: charmap.hxx:46
virtual void SAL_CALL disposing() override
Definition: charmapacc.cxx:84
const Color & GetWindowColor() const
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild(sal_Int32 i) override
Definition: charmapacc.cxx:141
virtual sal_Int32 SAL_CALL getAccessibleRow(sal_Int32 nChildIndex) override
Definition: charmapacc.cxx:351
SvxShowCharSet & mrParent
Definition: charmapacc.hxx:47
virtual sal_Int32 SAL_CALL getBackground() override
Definition: charmapacc.cxx:577
SvxShowCharSetAcc(SvxShowCharSet *pParent)
Definition: charmapacc.cxx:69
tools::Long GetHeight() const
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet() override
Definition: charmapacc.cxx:187
Simple struct to hold some information about the single items of the table.
Definition: charmapacc.hxx:45
virtual OUString SAL_CALL getAccessibleColumnDescription(sal_Int32 nColumn) override
Definition: charmapacc.cxx:261
virtual sal_Int32 SAL_CALL getAccessibleColumnCount() override
Definition: charmapacc.cxx:251
virtual css::uno::Sequence< sal_Int32 > SAL_CALL getSelectedAccessibleColumns() override
Definition: charmapacc.cxx:295
virtual sal_Int32 SAL_CALL getAccessibleColumn(sal_Int32 nChildIndex) override
Definition: charmapacc.cxx:358
virtual OUString SAL_CALL getAccessibleName() override
Definition: charmapacc.cxx:445
virtual sal_Bool SAL_CALL isAccessibleColumnSelected(sal_Int32 nColumn) override
Definition: charmapacc.cxx:311
const Color & GetDialogTextColor() const
virtual void SAL_CALL grabFocus() override
Definition: charmapacc.cxx:538
virtual OUString SAL_CALL getAccessibleName() override
Definition: charmapacc.cxx:179
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild(sal_Int32 i) override
Definition: charmapacc.cxx:397
void AddState(sal_Int16 aState)
BaseContainerNodeSharedPtr & mrParent
sal_Int32 h
virtual OUString SAL_CALL getAccessibleDescription() override
Definition: charmapacc.cxx:172
void OutputIndex(int index)
Definition: charmap.cxx:754
virtual sal_Int32 SAL_CALL getAccessibleChildCount() override
Definition: charmapacc.cxx:391
virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL getAccessibleColumnHeaders() override
Definition: charmapacc.cxx:281