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 <osl/interlck.h>
30 #include <svx/dialmgr.hxx>
31 #include <svx/strings.hrc>
32 #include <comphelper/types.hxx>
33 
34 namespace svx
35 {
36  using namespace comphelper;
37  using namespace ::com::sun::star;
38  using namespace ::com::sun::star::uno;
39  using namespace ::com::sun::star::lang;
40  using namespace ::com::sun::star::accessibility;
41 
43  mrParent( rParent )
44  ,mnId( _nPos )
45  ,m_pParent(_pParent)
46 {
47 }
48 
50 {
51  if ( m_xItem.is() )
52  {
53  m_xItem->ParentDestroyed();
54  m_xItem.clear();
55  }
56 }
57 
58 uno::Reference< css::accessibility::XAccessible > SvxShowCharSetItem::GetAccessible()
59 {
60  if( !m_xItem.is() )
61  {
62  m_xItem = new SvxShowCharSetItemAcc( this );
63  }
64 
65  return m_xItem.get();
66 }
67 
69  : m_pParent(pParent)
70 {
71  osl_atomic_increment(&m_refCount);
72  {
73  lateInit(this);
74  }
75  osl_atomic_decrement(&m_refCount);
76 }
77 
79 {
81 }
82 
84 {
86  for (auto& rChild : m_aChildren)
87  ::comphelper::disposeComponent(rChild);
88 
89  m_aChildren.clear();
90  m_pParent = nullptr;
91 }
92 
93 
95 IMPLEMENT_FORWARD_XTYPEPROVIDER2( SvxShowCharSetAcc, OAccessibleSelectionHelper, OAccessibleHelper_Base )
96 
97 bool SvxShowCharSetAcc::implIsSelected( sal_Int32 nAccessibleChildIndex )
98 {
99  return m_pParent && m_pParent->IsSelected(
100  sal::static_int_cast<sal_uInt16>(nAccessibleChildIndex));
101 }
102 
103  // select the specified child => watch for special ChildIndexes (ACCESSIBLE_SELECTION_CHILD_xxx)
104 void SvxShowCharSetAcc::implSelect(sal_Int32 nAccessibleChildIndex, bool bSelect)
105 {
106  if ( m_pParent )
107  {
108  if ( bSelect )
109  m_pParent->SelectIndex(nAccessibleChildIndex, true);
110  else
111  m_pParent->DeSelect();
112  }
113 }
114 
115 css::awt::Rectangle SvxShowCharSetAcc::implGetBounds()
116 {
117  awt::Rectangle aRet;
118 
119  if (m_pParent)
120  {
121  const Point aOutPos;//( m_pParent->GetPosPixel() );
122  Size aOutSize( m_pParent->GetOutputSizePixel());
123 
124  aRet.X = aOutPos.X();
125  aRet.Y = aOutPos.Y();
126  aRet.Width = aOutSize.Width();
127  aRet.Height = aOutSize.Height();
128  }
129 
130  return aRet;
131 }
132 
134 {
135  OExternalLockGuard aGuard( this );
136 
137  return m_pParent->getMaxCharCount();
138 }
139 
140 uno::Reference< css::accessibility::XAccessible > SAL_CALL SvxShowCharSetAcc::getAccessibleChild( sal_Int32 i )
141 {
142  OExternalLockGuard aGuard( this );
143 
144  uno::Reference< css::accessibility::XAccessible > xRet;
145  SvxShowCharSetItem* pItem = m_pParent->ImplGetItem( static_cast< sal_uInt16 >( i ) );
146 
147  if( !pItem )
148  throw lang::IndexOutOfBoundsException();
149 
150  pItem->m_pParent = this;
151  xRet = pItem->GetAccessible();
152  m_aChildren.push_back(xRet);
153 
154  return xRet;
155 }
156 
157 uno::Reference< css::accessibility::XAccessible > SAL_CALL SvxShowCharSetAcc::getAccessibleParent()
158 {
159  OExternalLockGuard aGuard( this );
160 
161  if (m_pParent)
162  return m_pParent->getAccessibleParent();
163  return uno::Reference<css::accessibility::XAccessible>();
164 }
165 
167 {
168  return css::accessibility::AccessibleRole::TABLE;
169 }
170 
172 {
173  OExternalLockGuard aGuard( this );
174  return SvxResId( RID_SVXSTR_CHARACTER_SELECTION );
175 }
176 
177 
179 {
180  OExternalLockGuard aGuard( this );
181 
182  return SvxResId( RID_SVXSTR_CHAR_SEL_DESC );
183 }
184 
185 
186 uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL SvxShowCharSetAcc::getAccessibleRelationSet()
187 {
188  return uno::Reference< css::accessibility::XAccessibleRelationSet >();
189 }
190 
191 
192 uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL SvxShowCharSetAcc::getAccessibleStateSet()
193 {
194  OExternalLockGuard aGuard( this );
195 
196  ::utl::AccessibleStateSetHelper* pStateSet = new ::utl::AccessibleStateSetHelper;
197 
198  if (m_pParent)
199  {
200  // SELECTABLE
201  pStateSet->AddState( AccessibleStateType::FOCUSABLE );
202  if (m_pParent->HasFocus())
203  {
204  pStateSet->AddState( AccessibleStateType::FOCUSED );
205  pStateSet->AddState( AccessibleStateType::ACTIVE );
206  }
207  if (m_pParent->IsEnabled())
208  {
209  pStateSet->AddState( AccessibleStateType::ENABLED );
210  pStateSet->AddState( AccessibleStateType::SENSITIVE );
211  }
212  if (m_pParent->IsVisible())
213  pStateSet->AddState( AccessibleStateType::VISIBLE );
214 
215  pStateSet->AddState( AccessibleStateType::MANAGES_DESCENDANTS );
216  }
217 
218  return pStateSet;
219 }
220 
221 
222 uno::Reference< css::accessibility::XAccessible > SAL_CALL SvxShowCharSetAcc::getAccessibleAtPoint( const awt::Point& aPoint )
223 {
224  OExternalLockGuard aGuard( this );
225 
226  uno::Reference< css::accessibility::XAccessible > xRet;
227  const sal_uInt16 nItemId = sal::static_int_cast<sal_uInt16>(
228  m_pParent->PixelToMapIndex( Point( aPoint.X, aPoint.Y ) ));
229 
230  if( sal_uInt16(-1) != nItemId )
231  {
232  SvxShowCharSetItem* pItem = m_pParent->ImplGetItem( nItemId );
233  xRet = pItem->GetAccessible();
234  }
235  return xRet;
236 }
237 
239 {
240  OExternalLockGuard aGuard( this );
241 
242  m_pParent->GrabFocus();
243 }
244 
246 {
247  return ((getAccessibleChildCount()-1) / COLUMN_COUNT) + 1;
248 }
249 
251 {
252  return COLUMN_COUNT;
253 }
254 
255 OUString SAL_CALL SvxShowCharSetAcc::getAccessibleRowDescription( sal_Int32 /*nRow*/ )
256 {
257  return OUString();
258 }
259 
260 OUString SAL_CALL SvxShowCharSetAcc::getAccessibleColumnDescription( sal_Int32 /*nColumn*/ )
261 {
262  return OUString();
263 }
264 
265 sal_Int32 SAL_CALL SvxShowCharSetAcc::getAccessibleRowExtentAt( sal_Int32 /*nRow*/, sal_Int32 /*nColumn*/ )
266 {
267  return 1;
268 }
269 
270 sal_Int32 SAL_CALL SvxShowCharSetAcc::getAccessibleColumnExtentAt( sal_Int32 /*nRow*/, sal_Int32 /*nColumn*/ )
271 {
272  return 1;
273 }
274 
275 Reference< XAccessibleTable > SAL_CALL SvxShowCharSetAcc::getAccessibleRowHeaders( )
276 {
277  return Reference< XAccessibleTable >();
278 }
279 
280 Reference< XAccessibleTable > SAL_CALL SvxShowCharSetAcc::getAccessibleColumnHeaders( )
281 {
282  return Reference< XAccessibleTable >();
283 }
284 
285 Sequence< sal_Int32 > SAL_CALL SvxShowCharSetAcc::getSelectedAccessibleRows( )
286 {
287  OExternalLockGuard aGuard( this );
288 
289  Sequence< sal_Int32 > aSel(1);
291  return aSel;
292 }
293 
294 Sequence< sal_Int32 > SAL_CALL SvxShowCharSetAcc::getSelectedAccessibleColumns( )
295 {
296  OExternalLockGuard aGuard( this );
297 
298  Sequence< sal_Int32 > aSel(1);
300  return aSel;
301 }
302 
304 {
305  OExternalLockGuard aGuard( this );
306 
308 }
309 
311 {
312  OExternalLockGuard aGuard( this );
313  ensureAlive();
315 }
316 
317 Reference< XAccessible > SAL_CALL SvxShowCharSetAcc::getAccessibleCellAt( sal_Int32 nRow, sal_Int32 nColumn )
318 {
319  OExternalLockGuard aGuard( this );
320 
322  sal::static_int_cast<sal_uInt16>(getAccessibleIndex(nRow,nColumn) ));
323  if ( !pItem )
324  throw IndexOutOfBoundsException();
325  return pItem->GetAccessible();
326 }
327 
328 Reference< XAccessible > SAL_CALL SvxShowCharSetAcc::getAccessibleCaption( )
329 {
330  return Reference< XAccessible >();
331 }
332 
333 Reference< XAccessible > SAL_CALL SvxShowCharSetAcc::getAccessibleSummary( )
334 {
335  return Reference< XAccessible >();
336 }
337 
338 sal_Bool SAL_CALL SvxShowCharSetAcc::isAccessibleSelected( sal_Int32 nRow, sal_Int32 nColumn )
339 {
340  OExternalLockGuard aGuard( this );
341 
342  return m_pParent->GetSelectIndexId() == getAccessibleIndex(nRow,nColumn);
343 }
344 
345 sal_Int32 SAL_CALL SvxShowCharSetAcc::getAccessibleIndex( sal_Int32 nRow, sal_Int32 nColumn )
346 {
347  return (nRow*COLUMN_COUNT) + nColumn;
348 }
349 
350 sal_Int32 SAL_CALL SvxShowCharSetAcc::getAccessibleRow( sal_Int32 nChildIndex )
351 {
352  OExternalLockGuard aGuard( this );
353 
354  return SvxShowCharSet::GetRowPos(sal::static_int_cast<sal_uInt16>(nChildIndex));
355 }
356 
357 sal_Int32 SAL_CALL SvxShowCharSetAcc::getAccessibleColumn( sal_Int32 nChildIndex )
358 {
359  OExternalLockGuard aGuard( this );
360 
361  return SvxShowCharSet::GetColumnPos(sal::static_int_cast<sal_uInt16>(nChildIndex));
362 }
363 
364 
366 {
367  OSL_ENSURE(pParent,"NO parent supplied!");
368  osl_atomic_increment(&m_refCount);
369  { // #b6211265 #
370  lateInit(this);
371  }
372  osl_atomic_decrement(&m_refCount);
373 }
374 
375 
377 {
378  ensureDisposed();
379 }
380 
383 
384 void SvxShowCharSetItemAcc::ParentDestroyed()
385 {
386  const ::osl::MutexGuard aGuard( GetMutex() );
387  mpParent = nullptr;
388 }
389 
391 {
392  return 0;
393 }
394 
395 
396 uno::Reference< css::accessibility::XAccessible > SAL_CALL SvxShowCharSetItemAcc::getAccessibleChild( sal_Int32 /*i*/ )
397 {
398  throw lang::IndexOutOfBoundsException();
399 }
400 
401 
402 uno::Reference< css::accessibility::XAccessible > SAL_CALL SvxShowCharSetItemAcc::getAccessibleParent()
403 {
404  OExternalLockGuard aGuard( this );
405 
406  return mpParent->m_pParent;
407 }
408 
409 
411 {
412  return css::accessibility::AccessibleRole::TABLE_CELL;
413 }
414 
415 
417 {
418  OExternalLockGuard aGuard( this );
419 
420  OUString sDescription;
421 
422  const OUString aCharStr( mpParent->maText);
423  sal_Int32 nStrIndex = 0;
424  const sal_UCS4 c = aCharStr.iterateCodePoints( &nStrIndex );
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
long GetWidth() const
static sal_uInt16 GetRowPos(sal_uInt16 _nPos)
Definition: charmap.cxx:192
virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet() override
Definition: charmapacc.cxx:192
virtual svx::SvxShowCharSetItem * ImplGetItem(int _nPos)
Definition: charmap.cxx:819
long GetHeight() const
virtual sal_Bool SAL_CALL isAccessibleRowSelected(sal_Int32 nRow) override
Definition: charmapacc.cxx:303
virtual OUString SAL_CALL getAccessibleRowDescription(sal_Int32 nRow) override
Definition: charmapacc.cxx:255
tools::Rectangle & Intersection(const tools::Rectangle &rRect)
virtual sal_Int32 SAL_CALL getAccessibleChildCount() override
Definition: charmapacc.cxx:133
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:345
virtual css::awt::Rectangle implGetBounds() override
implements the calculation of the bounding rectangle - still waiting to be overwritten ...
Definition: charmapacc.cxx:115
virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet() override
Definition: charmapacc.cxx:469
virtual ~SvxShowCharSetItemAcc() override
Definition: charmapacc.cxx:376
SvxShowCharSetAcc * m_pParent
Definition: charmapacc.hxx:52
virtual sal_Int32 SAL_CALL getAccessibleRowCount() override
Definition: charmapacc.cxx:245
ULONG m_refCount
SvxShowCharSetItem * mpParent
Definition: charmapacc.hxx:165
sal_uInt16 const mnId
Definition: charmapacc.hxx:48
const StyleSettings & GetStyleSettings() const
static const AllSettings & GetSettings()
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent() override
Definition: charmapacc.cxx:157
::std::vector< css::uno::Reference< css::accessibility::XAccessible > > m_aChildren
Definition: charmapacc.hxx:73
virtual void SAL_CALL disposing() override
sal_uInt16 GetSelectIndexId() const
Definition: charmap.hxx:93
virtual sal_Int16 SAL_CALL getAccessibleRole() override
Definition: charmapacc.cxx:166
SvxShowCharSetItem(SvxShowCharSet &rParent, SvxShowCharSetAcc *_pParent, sal_uInt16 _nPos)
Definition: charmapacc.cxx:42
virtual sal_Int32 SAL_CALL getAccessibleRowExtentAt(sal_Int32 nRow, sal_Int32 nColumn) override
Definition: charmapacc.cxx:265
tools::Rectangle maRect
Definition: charmapacc.hxx:50
Size const & GetOutputSizePixel() const
virtual void SAL_CALL grabFocus() override
Definition: charmapacc.cxx:238
virtual ~SvxShowCharSetAcc() override
Definition: charmapacc.cxx:78
virtual sal_Bool SAL_CALL doAccessibleAction(sal_Int32 nIndex) override
Definition: charmapacc.cxx:509
OUString SvxResId(const char *pId)
Definition: dialmgr.cxx:28
virtual sal_Int32 getMaxCharCount() const
Definition: charmap.cxx:838
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent() override
Definition: charmapacc.cxx:402
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:338
int PixelToMapIndex(const Point &) const
Definition: charmap.cxx:373
long Top() const
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleCellAt(sal_Int32 nRow, sal_Int32 nColumn) override
Definition: charmapacc.cxx:317
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleCaption() override
Definition: charmapacc.cxx:328
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
virtual css::uno::Sequence< sal_Int32 > SAL_CALL getSelectedAccessibleRows() override
Definition: charmapacc.cxx:285
virtual void SelectIndex(int index, bool bFocus=false)
Definition: charmap.cxx:684
rtl::Reference< SvxShowCharSetItemAcc > m_xItem
Definition: charmapacc.hxx:51
void DeSelect()
Definition: charmap.cxx:462
static sal_uInt16 GetColumnPos(sal_uInt16 _nPos)
Definition: charmap.cxx:344
int i
unsigned char sal_Bool
virtual sal_Int32 SAL_CALL getAccessibleActionCount() override
Definition: charmapacc.cxx:503
SvxShowCharSetItemAcc(SvxShowCharSetItem *pParent)
Definition: charmapacc.cxx:365
virtual int LastInView() const
Definition: charmap.cxx:354
SvxShowCharSet * m_pParent
Definition: charmapacc.hxx:74
virtual OUString SAL_CALL getAccessibleActionDescription(sal_Int32 nIndex) override
Definition: charmapacc.cxx:522
long X() const
virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL getAccessibleRowHeaders() override
Definition: charmapacc.cxx:275
int FirstInView() const
Definition: charmap.cxx:349
virtual void implSelect(sal_Int32 nAccessibleChildIndex, bool bSelect) override
Definition: charmapacc.cxx:104
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleSummary() override
Definition: charmapacc.cxx:333
RegionData_Impl * mpParent
css::uno::Reference< css::accessibility::XAccessible > GetAccessible()
Definition: charmapacc.cxx:58
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:410
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint(const css::awt::Point &aPoint) override
Definition: charmapacc.cxx:222
virtual OUString SAL_CALL getAccessibleDescription() override
Definition: charmapacc.cxx:416
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:270
sal_uInt16 const mnId
#define COLUMN_COUNT
Definition: charmap.hxx:46
virtual void SAL_CALL disposing() override
Definition: charmapacc.cxx:83
const Color & GetWindowColor() const
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild(sal_Int32 i) override
Definition: charmapacc.cxx:140
long Left() const
virtual sal_Int32 SAL_CALL getAccessibleRow(sal_Int32 nChildIndex) override
Definition: charmapacc.cxx:350
SvxShowCharSet & mrParent
Definition: charmapacc.hxx:47
virtual sal_Int32 SAL_CALL getBackground() override
Definition: charmapacc.cxx:577
SvxShowCharSetAcc(SvxShowCharSet *pParent)
Definition: charmapacc.cxx:68
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet() override
Definition: charmapacc.cxx:186
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:260
virtual sal_Int32 SAL_CALL getAccessibleColumnCount() override
Definition: charmapacc.cxx:250
virtual css::uno::Sequence< sal_Int32 > SAL_CALL getSelectedAccessibleColumns() override
Definition: charmapacc.cxx:294
virtual sal_Int32 SAL_CALL getAccessibleColumn(sal_Int32 nChildIndex) override
Definition: charmapacc.cxx:357
sal_uInt32 sal_UCS4
virtual OUString SAL_CALL getAccessibleName() override
Definition: charmapacc.cxx:445
virtual sal_Bool SAL_CALL isAccessibleColumnSelected(sal_Int32 nColumn) override
Definition: charmapacc.cxx:310
const Color & GetDialogTextColor() const
virtual void SAL_CALL grabFocus() override
Definition: charmapacc.cxx:538
virtual OUString SAL_CALL getAccessibleName() override
Definition: charmapacc.cxx:178
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild(sal_Int32 i) override
Definition: charmapacc.cxx:396
void AddState(sal_Int16 aState)
BaseContainerNodeSharedPtr & mrParent
sal_Int32 h
virtual OUString SAL_CALL getAccessibleDescription() override
Definition: charmapacc.cxx:171
void OutputIndex(int index)
Definition: charmap.cxx:756
virtual sal_Int32 SAL_CALL getAccessibleChildCount() override
Definition: charmapacc.cxx:390
long Y() const
virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL getAccessibleColumnHeaders() override
Definition: charmapacc.cxx:280