LibreOffice Module comphelper (master) 1
|
#include <accessiblewrapper.hxx>
Public Member Functions | |
OAccessibleContextWrapper (const css::uno::Reference< css::uno::XComponentContext > &_rxContext, const css::uno::Reference< css::accessibility::XAccessibleContext > &_rxInnerAccessibleContext, const css::uno::Reference< css::accessibility::XAccessible > &_rxOwningAccessible, const css::uno::Reference< css::accessibility::XAccessible > &_rxParentAccessible) | |
ctor More... | |
virtual sal_Int64 SAL_CALL | getAccessibleChildCount () override |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleChild (sal_Int64 i) override |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleParent () override |
virtual sal_Int64 SAL_CALL | getAccessibleIndexInParent () override |
virtual sal_Int16 SAL_CALL | getAccessibleRole () override |
virtual OUString SAL_CALL | getAccessibleDescription () override |
virtual OUString SAL_CALL | getAccessibleName () override |
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL | getAccessibleRelationSet () override |
virtual sal_Int64 SAL_CALL | getAccessibleStateSet () override |
virtual css::lang::Locale SAL_CALL | getLocale () override |
virtual void SAL_CALL | addAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override |
virtual void SAL_CALL | removeAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override |
virtual void | notifyTranslatedEvent (const css::accessibility::AccessibleEventObject &_rEvent) override |
notify an accessible event which has been translated (if necessary) More... | |
virtual void SAL_CALL | disposing () override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
Public Member Functions inherited from cppu::ImplHelper1< class Ifc1 > | |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () SAL_OVERRIDE |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () SAL_OVERRIDE |
Protected Member Functions | |
virtual | ~OAccessibleContextWrapper () override |
Protected Member Functions inherited from comphelper::OAccessibleContextWrapperHelper | |
OAccessibleContextWrapperHelper (const css::uno::Reference< css::uno::XComponentContext > &_rxContext, ::cppu::OBroadcastHelper &_rBHelper, const css::uno::Reference< css::accessibility::XAccessibleContext > &_rxInnerAccessibleContext, const css::uno::Reference< css::accessibility::XAccessible > &_rxOwningAccessible, const css::uno::Reference< css::accessibility::XAccessible > &_rxParentAccessible) | |
ctor More... | |
void | aggregateProxy (oslInterlockedCount &_rRefCount, ::cppu::OWeakObject &_rDelegator) |
to be called from within your ctor - does the aggregation of a proxy for m_xInnerContext More... | |
css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &_rType) override |
sal_Int64 | baseGetAccessibleChildCount () |
css::uno::Reference< css::accessibility::XAccessible > | baseGetAccessibleChild (sal_Int64 i) |
css::uno::Reference< css::accessibility::XAccessibleRelationSet > | baseGetAccessibleRelationSet () |
virtual void SAL_CALL | notifyEvent (const css::accessibility::AccessibleEventObject &aEvent) override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
virtual void SAL_CALL | dispose () override |
virtual void | notifyTranslatedEvent (const css::accessibility::AccessibleEventObject &_rEvent)=0 |
notify an accessible event which has been translated (if necessary) More... | |
virtual | ~OAccessibleContextWrapperHelper () override |
OAccessibleContextWrapperHelper (const OAccessibleContextWrapperHelper &)=delete | |
OAccessibleContextWrapperHelper & | operator= (const OAccessibleContextWrapperHelper &)=delete |
Protected Member Functions inherited from cppu::ImplHelper1< class Ifc1 > | |
~ImplHelper1 () SAL_NOEXCEPT | |
Private Member Functions | |
OAccessibleContextWrapper (const OAccessibleContextWrapper &)=delete | |
OAccessibleContextWrapper & | operator= (const OAccessibleContextWrapper &)=delete |
Private Attributes | |
::comphelper::AccessibleEventNotifier::TClientId | m_nNotifierClient |
Additional Inherited Members | |
Protected Attributes inherited from cppu::BaseMutex | |
mutable::osl::Mutex | m_aMutex |
Protected Attributes inherited from comphelper::OAccessibleContextWrapperHelper | |
css::uno::Reference< css::accessibility::XAccessibleContext > | m_xInnerContext |
the context we're wrapping (properly typed, in opposite to OComponentProxyAggregationHelper::m_xInner) More... | |
css::uno::Reference< css::accessibility::XAccessible > | m_xOwningAccessible |
the XAccessible which created this context More... | |
css::uno::Reference< css::accessibility::XAccessible > | m_xParentAccessible |
the XAccessible which is to be returned in getAccessibleParent More... | |
rtl::Reference< OWrappedAccessibleChildrenManager > | m_xChildMapper |
Definition at line 243 of file accessiblewrapper.hxx.
comphelper::OAccessibleContextWrapper::OAccessibleContextWrapper | ( | const css::uno::Reference< css::uno::XComponentContext > & | _rxContext, |
const css::uno::Reference< css::accessibility::XAccessibleContext > & | _rxInnerAccessibleContext, | ||
const css::uno::Reference< css::accessibility::XAccessible > & | _rxOwningAccessible, | ||
const css::uno::Reference< css::accessibility::XAccessible > & | _rxParentAccessible | ||
) |
ctor
_rxContext | a service factory |
_rxInnerAccessibleContext | the object to wrap |
_rxOwningAccessible | The XAccessible which created this object. This is necessary because children of our wrapped context need to be wrapped, too, and if they're asked for a parent, they of course should return the proper parent The object will be held with a hard reference |
_rxParentAccessible | The XAccessible to return in the getAccessibleParent call |
|
overrideprotectedvirtual |
Definition at line 492 of file accessiblewrapper.cxx.
|
privatedelete |
|
overridevirtual |
Definition at line 564 of file accessiblewrapper.cxx.
References comphelper::AccessibleEventNotifier::addEventListener(), cppu::BaseMutex::m_aMutex, m_nNotifierClient, and comphelper::AccessibleEventNotifier::registerClient().
|
overridevirtual |
Definition at line 588 of file accessiblewrapper.cxx.
References comphelper::OAccessibleContextWrapperHelper::dispose(), cppu::BaseMutex::m_aMutex, m_nNotifierClient, and comphelper::AccessibleEventNotifier::revokeClientNotifyDisposing().
|
overridevirtual |
Reimplemented from comphelper::OAccessibleContextWrapperHelper.
Definition at line 211 of file accessiblewrapper.cxx.
|
overridevirtual |
Definition at line 503 of file accessiblewrapper.cxx.
References comphelper::OAccessibleContextWrapperHelper::baseGetAccessibleChild(), and i.
|
overridevirtual |
Definition at line 497 of file accessiblewrapper.cxx.
References comphelper::OAccessibleContextWrapperHelper::baseGetAccessibleChildCount().
|
overridevirtual |
Definition at line 527 of file accessiblewrapper.cxx.
References comphelper::OAccessibleContextWrapperHelper::m_xInnerContext.
|
overridevirtual |
Definition at line 515 of file accessiblewrapper.cxx.
References comphelper::OAccessibleContextWrapperHelper::m_xInnerContext.
|
overridevirtual |
Definition at line 533 of file accessiblewrapper.cxx.
References comphelper::OAccessibleContextWrapperHelper::m_xInnerContext.
|
overridevirtual |
Definition at line 509 of file accessiblewrapper.cxx.
References comphelper::OAccessibleContextWrapperHelper::m_xParentAccessible.
|
overridevirtual |
Definition at line 539 of file accessiblewrapper.cxx.
References comphelper::OAccessibleContextWrapperHelper::baseGetAccessibleRelationSet().
|
overridevirtual |
Definition at line 521 of file accessiblewrapper.cxx.
References comphelper::OAccessibleContextWrapperHelper::m_xInnerContext.
|
overridevirtual |
Definition at line 545 of file accessiblewrapper.cxx.
References comphelper::OAccessibleContextWrapperHelper::m_xInnerContext.
|
overridevirtual |
Definition at line 551 of file accessiblewrapper.cxx.
References Locale, and comphelper::OAccessibleContextWrapperHelper::m_xInnerContext.
|
overridevirtual |
notify an accessible event which has been translated (if necessary)
Usually, you derive your class from both OAccessibleContextWrapperHelper and XAccessibleEventBroadcaster, and simply call all your XAccessibleEventListener with the given event.
The mutex of the BroadcastHelper passed to the instance's ctor is not locked when calling into this method
css::uno::RuntimeException |
Implements comphelper::OAccessibleContextWrapperHelper.
Definition at line 557 of file accessiblewrapper.cxx.
References comphelper::AccessibleEventNotifier::addEvent(), and m_nNotifierClient.
|
privatedelete |
|
overridevirtual |
Definition at line 573 of file accessiblewrapper.cxx.
References cppu::BaseMutex::m_aMutex, m_nNotifierClient, nId, comphelper::AccessibleEventNotifier::removeEventListener(), and comphelper::AccessibleEventNotifier::revokeClient().
|
private |
Definition at line 249 of file accessiblewrapper.hxx.
Referenced by addAccessibleEventListener(), disposing(), notifyTranslatedEvent(), and removeAccessibleEventListener().