LibreOffice Module vcl (master) 1
accessiblefactory.hxx
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#ifndef INCLUDED_VCL_ACCESSIBLEFACTORY_HXX
21#define INCLUDED_VCL_ACCESSIBLEFACTORY_HXX
22
24
25#include <com/sun/star/uno/Reference.hxx>
26
28#include <tools/gen.hxx>
29
30namespace com::sun::star {
31 namespace accessibility {
32 class XAccessible;
33 class XAccessibleContext;
34 }
35 namespace awt {
36 class XWindow;
37 }
38}
39
40namespace vcl { class IAccessibleBrowseBox; }
41namespace vcl { class IAccessibleTabListBox; }
42namespace vcl { class IAccessibleTableProvider; }
43
46class TabBar;
47class SvTreeListBox;
48class VCLXWindow;
49class TextEngine;
50class TextView;
51
52namespace vcl
53{
54 namespace table
55 {
56 class IAccessibleTable;
58 }
59
67 typedef void* (* GetSvtAccessibilityComponentFactory)( );
68
69
70 //= IAccessibleFactory
71
73 {
74 public:
77 const css::uno::Reference< css::accessibility::XAccessible >& rxParent,
79 ) const = 0;
80 virtual css::uno::Reference< css::accessibility::XAccessible >
82 SvTreeListBox& _rListBox,
83 const css::uno::Reference< css::accessibility::XAccessible >& _xParent
84 ) const = 0;
85 virtual css::uno::Reference< css::accessibility::XAccessible >
87 SvTreeListBox& _rListBox,
88 const css::uno::Reference< css::accessibility::XAccessible >& _xParent
89 ) const = 0;
92 const css::uno::Reference< css::accessibility::XAccessible >& _rxParent,
94 ) const = 0;
97 const css::uno::Reference< css::accessibility::XAccessible >& _rxParent,
99 ) const = 0;
100
101 virtual css::uno::Reference< css::accessibility::XAccessible >
103 SvtIconChoiceCtrl& _rIconCtrl,
104 const css::uno::Reference< css::accessibility::XAccessible >& _xParent
105 ) const = 0;
106
107 virtual css::uno::Reference< css::accessibility::XAccessible >
109 TabBar& _rTabBar
110 ) const = 0;
111
112 virtual css::uno::Reference< css::accessibility::XAccessibleContext >
114 VCLXWindow* pVclXWindow, TextEngine& rEngine, TextView& rView
115 ) const = 0;
116
117 virtual css::uno::Reference< css::accessibility::XAccessible >
119 const css::uno::Reference< css::accessibility::XAccessible >& rxParent,
120 vcl::IAccessibleTableProvider& _rOwningTable,
122 ) const = 0;
123
124 virtual css::uno::Reference< css::accessibility::XAccessible >
126 const css::uno::Reference< css::accessibility::XAccessible >& _rxParent,
128 const css::uno::Reference< css::awt::XWindow >& _xFocusWindow,
129 sal_Int32 _nRowId,
130 sal_uInt16 _nColId,
131 sal_Int32 _nOffset
132 ) const = 0;
133
134 virtual css::uno::Reference< css::accessibility::XAccessible >
136 sal_Int32 _nColumnRowId,
137 const css::uno::Reference< css::accessibility::XAccessible >& rxParent,
139 const css::uno::Reference< css::awt::XWindow >& _xFocusWindow,
141 ) const = 0;
142
143 virtual css::uno::Reference< css::accessibility::XAccessible >
145 const css::uno::Reference< css::accessibility::XAccessible >& _rxParent,
147 const css::uno::Reference< css::awt::XWindow >& _xFocusWindow,
148 sal_Int32 _nRowPos,
149 sal_uInt16 _nColPos,
150 const TriState& _eState,
151 bool _bIsTriState
152 ) const = 0;
153
154 virtual css::uno::Reference< css::accessibility::XAccessible >
156 const css::uno::Reference< css::accessibility::XAccessible >& _rxParent,
157 const css::uno::Reference< css::accessibility::XAccessible >& _rxControlAccessible,
158 const css::uno::Reference< css::awt::XWindow >& _rxFocusWindow,
160 sal_Int32 _nRowPos,
161 sal_uInt16 _nColPos
162 ) const = 0;
163
164 protected:
165 virtual ~IAccessibleFactory() override {}
166 };
167
168} // namespace vcl
169
170
171#endif // INCLUDED_VCL_ACCESSIBLEFACTORY_HXX
172
173/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
AccessibleBrowseBoxObjType
This enumeration contains a constant for each kind of accessible object of a BrowseBox.
interface for an implementation of a browse box's Accessible component
virtual css::uno::Reference< css::accessibility::XAccessible > createAccessibleTabBar(TabBar &_rTabBar) const =0
virtual css::uno::Reference< css::accessibility::XAccessible > createAccessibleCheckBoxCell(const css::uno::Reference< css::accessibility::XAccessible > &_rxParent, vcl::IAccessibleTableProvider &_rBrowseBox, const css::uno::Reference< css::awt::XWindow > &_xFocusWindow, sal_Int32 _nRowPos, sal_uInt16 _nColPos, const TriState &_eState, bool _bIsTriState) const =0
virtual css::uno::Reference< css::accessibility::XAccessible > createAccessibleBrowseBoxTableCell(const css::uno::Reference< css::accessibility::XAccessible > &_rxParent, vcl::IAccessibleTableProvider &_rBrowseBox, const css::uno::Reference< css::awt::XWindow > &_xFocusWindow, sal_Int32 _nRowId, sal_uInt16 _nColId, sal_Int32 _nOffset) const =0
virtual css::uno::Reference< css::accessibility::XAccessible > createAccessibleBrowseBoxHeaderCell(sal_Int32 _nColumnRowId, const css::uno::Reference< css::accessibility::XAccessible > &rxParent, vcl::IAccessibleTableProvider &_rBrowseBox, const css::uno::Reference< css::awt::XWindow > &_xFocusWindow, AccessibleBrowseBoxObjType _eObjType) const =0
virtual css::uno::Reference< css::accessibility::XAccessible > createAccessibleIconView(SvTreeListBox &_rListBox, const css::uno::Reference< css::accessibility::XAccessible > &_xParent) const =0
virtual css::uno::Reference< css::accessibility::XAccessible > createAccessibleBrowseBoxHeaderBar(const css::uno::Reference< css::accessibility::XAccessible > &rxParent, vcl::IAccessibleTableProvider &_rOwningTable, AccessibleBrowseBoxObjType _eObjType) const =0
virtual vcl::IAccessibleBrowseBox * createAccessibleBrowseBox(const css::uno::Reference< css::accessibility::XAccessible > &_rxParent, vcl::IAccessibleTableProvider &_rBrowseBox) const =0
virtual css::uno::Reference< css::accessibility::XAccessibleContext > createAccessibleTextWindowContext(VCLXWindow *pVclXWindow, TextEngine &rEngine, TextView &rView) const =0
virtual css::uno::Reference< css::accessibility::XAccessible > createEditBrowseBoxTableCellAccess(const css::uno::Reference< css::accessibility::XAccessible > &_rxParent, const css::uno::Reference< css::accessibility::XAccessible > &_rxControlAccessible, const css::uno::Reference< css::awt::XWindow > &_rxFocusWindow, vcl::IAccessibleTableProvider &_rBrowseBox, sal_Int32 _nRowPos, sal_uInt16 _nColPos) const =0
virtual css::uno::Reference< css::accessibility::XAccessible > createAccessibleIconChoiceCtrl(SvtIconChoiceCtrl &_rIconCtrl, const css::uno::Reference< css::accessibility::XAccessible > &_xParent) const =0
virtual ~IAccessibleFactory() override
virtual vcl::IAccessibleTabListBox * createAccessibleTabListBox(const css::uno::Reference< css::accessibility::XAccessible > &rxParent, SvHeaderTabListBox &rBox) const =0
virtual table::IAccessibleTableControl * createAccessibleTableControl(const css::uno::Reference< css::accessibility::XAccessible > &_rxParent, table::IAccessibleTable &_rTable) const =0
virtual css::uno::Reference< css::accessibility::XAccessible > createAccessibleTreeListBox(SvTreeListBox &_rListBox, const css::uno::Reference< css::accessibility::XAccessible > &_xParent) const =0
interface for an implementation of a table control's Accessible component
This abstract class provides methods to implement an accessible table object.
interface for an implementation of a table control's Accessible component
This abstract class provides methods to implement an accessible table object.
TriState
@ table