LibreOffice Module toolkit (master) 1
|
class implementing the AccessibleContext for a UNO control - to be used in design mode of the control. More...
#include <accessiblecontrolcontext.hxx>
Static Public Member Functions | |
static rtl::Reference< OAccessibleControlContext > | create (const css::uno::Reference< css::accessibility::XAccessible > &_rxCreator) |
creates an accessible context for a uno control More... | |
Private Member Functions | |
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_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::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleAtPoint (const css::awt::Point &aPoint) override |
virtual void SAL_CALL | grabFocus () override |
virtual sal_Int32 SAL_CALL | getForeground () override |
virtual sal_Int32 SAL_CALL | getBackground () override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
OUString | getModelStringProperty (const char *_pPropertyName) |
void | startModelListening () |
void | stopModelListening () |
vcl::Window * | implGetWindow (css::uno::Reference< css::awt::XWindow > *_pxUNOWindow=nullptr) const |
OAccessibleControlContext () | |
ctor. More... | |
virtual | ~OAccessibleControlContext () override |
void | Init (const css::uno::Reference< css::accessibility::XAccessible > &_rxCreator) |
late ctor More... | |
virtual css::awt::Rectangle | implGetBounds () override |
Private Attributes | |
css::uno::Reference< css::beans::XPropertySet > | m_xControlModel |
css::uno::Reference< css::beans::XPropertySetInfo > | m_xModelPropsInfo |
class implementing the AccessibleContext for a UNO control - to be used in design mode of the control.
life time control
This control should be held weak by the creator (a UNO control), it itself holds a hard reference to the control model, and a weak reference to the control. The reference to the model is freed when the model is being disposed.
Definition at line 47 of file accessiblecontrolcontext.hxx.
|
private |
ctor.
Definition at line 49 of file accessiblecontrolcontext.cxx.
Referenced by create().
|
overrideprivatevirtual |
Definition at line 55 of file accessiblecontrolcontext.cxx.
|
static |
creates an accessible context for a uno control
_rxCreator | the uno control's XAccessible interface. This must be an XControl, from which an XControlModel can be retrieved. |
Definition at line 83 of file accessiblecontrolcontext.cxx.
References Exception, OAccessibleControlContext(), and TOOLS_WARN_EXCEPTION.
Referenced by UnoControl::getAccessibleContext().
|
overrideprivatevirtual |
Definition at line 181 of file accessiblecontrolcontext.cxx.
References m_xControlModel, m_xModelPropsInfo, and stopModelListening().
|
overrideprivatevirtual |
Definition at line 281 of file accessiblecontrolcontext.cxx.
|
overrideprivatevirtual |
Definition at line 124 of file accessiblecontrolcontext.cxx.
|
overrideprivatevirtual |
Definition at line 117 of file accessiblecontrolcontext.cxx.
|
overrideprivatevirtual |
Definition at line 143 of file accessiblecontrolcontext.cxx.
References getModelStringProperty().
|
overrideprivatevirtual |
Definition at line 150 of file accessiblecontrolcontext.cxx.
References getModelStringProperty().
|
overrideprivatevirtual |
Definition at line 131 of file accessiblecontrolcontext.cxx.
|
overrideprivatevirtual |
Definition at line 157 of file accessiblecontrolcontext.cxx.
|
overrideprivatevirtual |
Definition at line 137 of file accessiblecontrolcontext.cxx.
|
overrideprivatevirtual |
Definition at line 163 of file accessiblecontrolcontext.cxx.
References isAlive().
|
overrideprivatevirtual |
Definition at line 320 of file accessiblecontrolcontext.cxx.
References implGetWindow().
|
overrideprivatevirtual |
Definition at line 294 of file accessiblecontrolcontext.cxx.
References vcl::Font::GetColor(), and implGetWindow().
|
private |
Definition at line 194 of file accessiblecontrolcontext.cxx.
References Exception, m_xControlModel, m_xModelPropsInfo, and TOOLS_WARN_EXCEPTION.
Referenced by getAccessibleDescription(), and getAccessibleName().
|
overrideprivatevirtual |
Definition at line 288 of file accessiblecontrolcontext.cxx.
|
overrideprivatevirtual |
Definition at line 230 of file accessiblecontrolcontext.cxx.
References vcl::Window::GetPosPixel(), implGetWindow(), Point::X(), and Point::Y().
|
private |
Definition at line 214 of file accessiblecontrolcontext.cxx.
References VCLUnoHelper::GetWindow().
Referenced by getBackground(), getForeground(), and implGetBounds().
|
private |
late ctor
Definition at line 61 of file accessiblecontrolcontext.cxx.
References m_xControlModel, and startModelListening().
|
private |
Definition at line 99 of file accessiblecontrolcontext.cxx.
References m_xControlModel.
Referenced by Init().
|
private |
Definition at line 108 of file accessiblecontrolcontext.cxx.
References m_xControlModel.
Referenced by disposing().
|
private |
Definition at line 107 of file accessiblecontrolcontext.hxx.
Referenced by disposing(), getModelStringProperty(), Init(), startModelListening(), and stopModelListening().
|
private |
Definition at line 109 of file accessiblecontrolcontext.hxx.
Referenced by disposing(), and getModelStringProperty().