LibreOffice Module svtools (master) 1
|
#include <accessibleruler.hxx>
Public Member Functions | |
SvtRulerAccessible (css::uno::Reference< css::accessibility::XAccessible > xParent, Ruler &rRepresentation, OUString aName) | |
bool | isVisible () |
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL | getAccessibleContext () override |
virtual sal_Bool SAL_CALL | containsPoint (const css::awt::Point &rPoint) override |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleAtPoint (const css::awt::Point &rPoint) override |
virtual css::awt::Rectangle SAL_CALL | getBounds () override |
virtual css::awt::Point SAL_CALL | getLocation () override |
virtual css::awt::Point SAL_CALL | getLocationOnScreen () override |
virtual css::awt::Size SAL_CALL | getSize () override |
virtual void SAL_CALL | grabFocus () override |
virtual sal_Int32 SAL_CALL | getForeground () override |
virtual sal_Int32 SAL_CALL | getBackground () override |
virtual sal_Int64 SAL_CALL | getAccessibleChildCount () override |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleChild (sal_Int64 nIndex) 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 |
Return empty uno::Reference to indicate that the relation set is not supported. More... | |
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 OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &sServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
Public Member Functions inherited from cppu::WeakAggComponentImplHelper5< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5 > | |
WeakAggComponentImplHelper5 (::osl::Mutex &rMutex) SAL_NOEXCEPT | |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT 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 |
Private Member Functions | |
virtual | ~SvtRulerAccessible () override |
virtual void SAL_CALL | disposing () override |
bool | IsAlive () const |
void | ThrowExceptionIfNotAlive () |
tools::Rectangle | GetBoundingBoxOnScreen () |
@Return the object's current bounding box relative to the desktop. More... | |
tools::Rectangle | GetBoundingBox () |
@Return the object's current bounding box relative to the parent object. More... | |
Private Attributes | |
OUString | msName |
Name of this object. More... | |
css::uno::Reference< css::accessibility::XAccessible > | mxParent |
Reference to the parent object. More... | |
VclPtr< Ruler > | mpRepr |
pointer to internal representation More... | |
sal_uInt32 | mnClientId |
client id in the AccessibleEventNotifier queue More... | |
Additional Inherited Members | |
Protected Attributes inherited from cppu::BaseMutex | |
mutable::osl::Mutex | m_aMutex |
Definition at line 46 of file accessibleruler.hxx.
SvtRulerAccessible::SvtRulerAccessible | ( | css::uno::Reference< css::accessibility::XAccessible > | xParent, |
Ruler & | rRepresentation, | ||
OUString | aName | ||
) |
|
overrideprivatevirtual |
Definition at line 53 of file accessibleruler.cxx.
References dispose(), IsAlive(), and m_refCount.
|
overridevirtual |
Definition at line 234 of file accessibleruler.cxx.
References comphelper::AccessibleEventNotifier::addEventListener(), cppu::BaseMutex::m_aMutex, mnClientId, and comphelper::AccessibleEventNotifier::registerClient().
|
overridevirtual |
Definition at line 72 of file accessibleruler.cxx.
References tools::Rectangle::Contains(), GetBoundingBox(), and VCLPoint().
|
overrideprivatevirtual |
Definition at line 313 of file accessibleruler.cxx.
References cppu::BaseMutex::m_aMutex, mnClientId, mpRepr, mxParent, and comphelper::AccessibleEventNotifier::revokeClientNotifyDisposing().
|
overridevirtual |
Definition at line 79 of file accessibleruler.cxx.
References cppu::BaseMutex::m_aMutex, and ThrowExceptionIfNotAlive().
|
overridevirtual |
Definition at line 134 of file accessibleruler.cxx.
|
overridevirtual |
Definition at line 125 of file accessibleruler.cxx.
References cppu::BaseMutex::m_aMutex, and ThrowExceptionIfNotAlive().
|
overridevirtual |
Definition at line 65 of file accessibleruler.cxx.
|
overridevirtual |
Definition at line 177 of file accessibleruler.cxx.
|
overridevirtual |
Definition at line 146 of file accessibleruler.cxx.
References i, cppu::BaseMutex::m_aMutex, and mxParent.
|
overridevirtual |
Definition at line 182 of file accessibleruler.cxx.
References cppu::BaseMutex::m_aMutex, and msName.
|
overridevirtual |
Definition at line 141 of file accessibleruler.cxx.
References mxParent.
|
overridevirtual |
Return empty uno::Reference to indicate that the relation set is not supported.
Definition at line 191 of file accessibleruler.cxx.
|
overridevirtual |
Definition at line 172 of file accessibleruler.cxx.
|
overridevirtual |
Definition at line 197 of file accessibleruler.cxx.
References IsAlive(), isVisible(), cppu::BaseMutex::m_aMutex, mpRepr, and WB_HORZ.
|
overridevirtual |
Definition at line 282 of file accessibleruler.cxx.
References cppu::BaseMutex::m_aMutex, mpRepr, and ThrowExceptionIfNotAlive().
|
private |
@Return the object's current bounding box relative to the parent object.
css::uno::RuntimeException |
Definition at line 339 of file accessibleruler.cxx.
References cppu::BaseMutex::m_aMutex, mpRepr, and ThrowExceptionIfNotAlive().
Referenced by containsPoint(), getBounds(), getLocation(), and getSize().
|
private |
@Return the object's current bounding box relative to the desktop.
css::uno::RuntimeException |
Definition at line 330 of file accessibleruler.cxx.
References cppu::BaseMutex::m_aMutex, mpRepr, and ThrowExceptionIfNotAlive().
Referenced by getLocationOnScreen().
|
overridevirtual |
Definition at line 91 of file accessibleruler.cxx.
References AWTRectangle(), and GetBoundingBox().
|
overridevirtual |
Definition at line 274 of file accessibleruler.cxx.
References cppu::BaseMutex::m_aMutex, mpRepr, and ThrowExceptionIfNotAlive().
Reimplemented from cppu::WeakAggComponentImplHelper5< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5 >.
Definition at line 308 of file accessibleruler.cxx.
|
overridevirtual |
Definition at line 292 of file accessibleruler.cxx.
|
overridevirtual |
Definition at line 220 of file accessibleruler.cxx.
References cppu::BaseMutex::m_aMutex, and mxParent.
|
overridevirtual |
Definition at line 97 of file accessibleruler.cxx.
References AWTPoint(), GetBoundingBox(), and TopLeft.
|
overridevirtual |
Definition at line 103 of file accessibleruler.cxx.
References AWTPoint(), GetBoundingBoxOnScreen(), and TopLeft.
|
overridevirtual |
Definition at line 109 of file accessibleruler.cxx.
References AWTSize(), and GetBoundingBox().
|
overridevirtual |
Definition at line 302 of file accessibleruler.cxx.
|
overridevirtual |
Definition at line 264 of file accessibleruler.cxx.
References cppu::BaseMutex::m_aMutex, mpRepr, and ThrowExceptionIfNotAlive().
|
inlineprivate |
Definition at line 181 of file accessibleruler.hxx.
Referenced by getAccessibleStateSet(), and ~SvtRulerAccessible().
bool SvtRulerAccessible::isVisible | ( | ) |
css::uno::RuntimeException |
Definition at line 115 of file accessibleruler.cxx.
References cppu::BaseMutex::m_aMutex, mpRepr, and ThrowExceptionIfNotAlive().
Referenced by getAccessibleStateSet().
|
overridevirtual |
Definition at line 245 of file accessibleruler.cxx.
References cppu::BaseMutex::m_aMutex, mnClientId, comphelper::AccessibleEventNotifier::removeEventListener(), and comphelper::AccessibleEventNotifier::revokeClient().
|
overridevirtual |
Definition at line 297 of file accessibleruler.cxx.
References sServiceName, and cppu::supportsService().
|
private |
DisposedException | if it's not alive |
Definition at line 349 of file accessibleruler.cxx.
Referenced by getAccessibleAtPoint(), getAccessibleChildCount(), getBackground(), GetBoundingBox(), GetBoundingBoxOnScreen(), getForeground(), grabFocus(), and isVisible().
|
private |
client id in the AccessibleEventNotifier queue
Definition at line 178 of file accessibleruler.hxx.
Referenced by addAccessibleEventListener(), disposing(), and removeAccessibleEventListener().
pointer to internal representation
Definition at line 175 of file accessibleruler.hxx.
Referenced by disposing(), getAccessibleStateSet(), getBackground(), GetBoundingBox(), GetBoundingBoxOnScreen(), getForeground(), grabFocus(), and isVisible().
|
private |
Name of this object.
Definition at line 168 of file accessibleruler.hxx.
Referenced by getAccessibleName().
|
private |
Reference to the parent object.
Definition at line 172 of file accessibleruler.hxx.
Referenced by disposing(), getAccessibleIndexInParent(), getAccessibleParent(), and getLocale().