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