20#ifndef INCLUDED_EDITENG_ACCESSIBLECONTEXTBASE_HXX
21#define INCLUDED_EDITENG_ACCESSIBLECONTEXTBASE_HXX
23#include <com/sun/star/accessibility/XAccessible.hpp>
24#include <com/sun/star/accessibility/XAccessibleContext.hpp>
25#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp>
26#include <com/sun/star/uno/Reference.hxx>
27#include <com/sun/star/lang/XServiceInfo.hpp>
46 public cppu::WeakComponentImplHelper<
47 css::accessibility::XAccessible,
48 css::accessibility::XAccessibleContext,
49 css::accessibility::XAccessibleEventBroadcaster,
50 css::lang::XServiceInfo
67 css::uno::Reference< css::accessibility::XAccessible> xParent,
68 const sal_Int16 aRole);
83 void CommitChange (sal_Int16 aEventId,
84 const css::uno::Any& rNewValue,
85 const css::uno::Any& rOldValue,
86 sal_Int32 nValueIndex);
99 void SetAccessibleDescription (
100 const OUString& rsDescription,
101 StringOrigin eDescriptionOrigin);
113 void SetAccessibleName (
114 const OUString& rsName,
115 StringOrigin eNameOrigin);
127 virtual bool SetState (sal_Int64 aState);
139 virtual bool ResetState (sal_Int64 aState);
160 void SetRelationSet (
161 const css::uno::Reference< css::accessibility::XAccessibleRelationSet>& rxRelationSet);
167 virtual css::uno::Reference< css::accessibility::XAccessibleContext> SAL_CALL
168 getAccessibleContext()
override;
174 virtual sal_Int64 SAL_CALL
175 getAccessibleChildCount()
override;
178 virtual css::uno::Reference< css::accessibility::XAccessible> SAL_CALL
179 getAccessibleChild (sal_Int64 nIndex)
override;
182 virtual css::uno::Reference< css::accessibility::XAccessible> SAL_CALL
183 getAccessibleParent()
override;
186 virtual sal_Int64 SAL_CALL
187 getAccessibleIndexInParent()
override;
190 virtual sal_Int16 SAL_CALL
191 getAccessibleRole()
override;
194 virtual OUString SAL_CALL
195 getAccessibleDescription()
override;
198 virtual OUString SAL_CALL
199 getAccessibleName()
override;
202 virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet> SAL_CALL
203 getAccessibleRelationSet()
override;
206 virtual sal_Int64 SAL_CALL getAccessibleStateSet()
override;
211 virtual css::lang::Locale SAL_CALL
216 virtual void SAL_CALL
217 addAccessibleEventListener (
218 const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener)
override;
220 virtual void SAL_CALL
221 removeAccessibleEventListener (
222 const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener)
override;
229 virtual OUString SAL_CALL
240 virtual css::uno::Sequence< OUString> SAL_CALL
248 virtual css::uno::Sequence<sal_Int8> SAL_CALL
249 getImplementationId()
override;
257 bool IsDisposed()
const;
267 css::uno::Reference< css::accessibility::XAccessibleRelationSet>
mxRelationSet;
270 virtual void SAL_CALL disposing()
override;
279 virtual OUString CreateAccessibleName();
281 void FireEvent (
const css::accessibility::AccessibleEventObject& aEvent);
289 void ThrowIfDisposed();
297 void SetAccessibleRole( sal_Int16 _nRole );
301 css::uno::Reference< css::accessibility::XAccessible>
mxParent;
@descr This base class provides an implementation of the AccessibleContext service.
StringOrigin
The origin of the accessible name or description.
sal_Int64 mnStateSet
The state set.
sal_Int16 maRole
This is the role of this object.
StringOrigin meNameOrigin
The origin of the name is used to determine whether new name given to the SetAccessibleName is ignore...
css::uno::Reference< css::accessibility::XAccessible > mxParent
Reference to the parent object.
css::uno::Reference< css::accessibility::XAccessibleRelationSet > mxRelationSet
The relation set.
OUString msDescription
Description of this object.
sal_uInt32 mnClientId
client id in the AccessibleEventNotifier queue
OUString msName
Name of this object.
StringOrigin meDescriptionOrigin
The origin of the description is used to determine whether new descriptions given to the SetAccessibl...
#define EDITENG_DLLPUBLIC
const LanguageTag & getLocale()
css::uno::Sequence< OUString > getSupportedServiceNames()
OUString getImplementationName()
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)