LibreOffice Module svx (master) 1
|
@descr More...
#include <AccessibleControlShape.hxx>
Public Member Functions | |
AccessibleControlShape (const AccessibleShapeInfo &rShapeInfo, const AccessibleShapeTreeInfo &rShapeTreeInfo) | |
virtual | ~AccessibleControlShape () override |
const css::uno::Reference< css::beans::XPropertySet > & | GetControlModel () const |
AccessibleControlShape * | GetLabeledByControlShape () |
Public Member Functions inherited from accessibility::AccessibleShape | |
AccessibleShape (const AccessibleShapeInfo &rShapeInfo, const AccessibleShapeTreeInfo &rShapeTreeInfo) | |
Create a new accessible object that makes the given shape accessible. More... | |
virtual OUString SAL_CALL | getAccessibleName () override |
virtual OUString SAL_CALL | getAccessibleDescription () override |
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL | getAccessibleRelationSet () override |
virtual void SAL_CALL | selectAccessibleChild (sal_Int64 nChildIndex) override |
virtual sal_Bool SAL_CALL | isAccessibleChildSelected (sal_Int64 nChildIndex) override |
virtual void SAL_CALL | clearAccessibleSelection () override |
virtual void SAL_CALL | selectAllAccessibleChildren () override |
virtual sal_Int64 SAL_CALL | getSelectedAccessibleChildCount () override |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getSelectedAccessibleChild (sal_Int64 nSelectedChildIndex) override |
virtual void SAL_CALL | deselectAccessibleChild (sal_Int64 nSelectedChildIndex) override |
virtual css::uno::Any SAL_CALL | getExtendedAttributes () override |
virtual sal_Int16 SAL_CALL | getAccessibleRole () override |
Return this object's role. More... | |
virtual css::uno::Sequence< sal_Int32 > SAL_CALL | getGroupPosition (const css::uno::Any &rAny) override |
virtual OUString SAL_CALL | getObjectLink (const css::uno::Any &accoject) override |
virtual | ~AccessibleShape () override |
The destructor releases its children manager and text engine if still existent. More... | |
virtual void | Init () |
Initialize a new shape. More... | |
virtual bool | SetState (sal_Int64 aState) override |
Set the specified state. More... | |
virtual bool | ResetState (sal_Int64 aState) override |
Reset the specified state. More... | |
bool | GetState (sal_Int64 aState) |
Return the state of the specified state. More... | |
virtual sal_Int64 SAL_CALL | getAccessibleChildCount () override |
Return the number of currently visible children. More... | |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleChild (sal_Int64 nIndex) override |
Return the specified child. More... | |
virtual sal_Int64 SAL_CALL | getAccessibleStateSet () override |
Return the set of current states. More... | |
virtual sal_Int64 SAL_CALL | getAccessibleIndexInParent () override |
Return this objects index among the parents children. More... | |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleAtPoint (const css::awt::Point &aPoint) override |
The implementation below is at the moment straightforward. More... | |
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 sal_Int32 SAL_CALL | getForeground () override |
virtual sal_Int32 SAL_CALL | getBackground () override |
virtual void SAL_CALL | addAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &rxListener) override |
This call is forwarded to a) the base class and b) to the accessible edit engine if it is present. More... | |
virtual void SAL_CALL | removeAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &rxListener) override |
This call is forwarded to a) the base class and b) to the accessible edit engine if it is present. More... | |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) override |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual OUString SAL_CALL | getImplementationName () override |
Returns an identifier for the implementation of this object. More... | |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual void | ViewForwarderChanged () override |
This method is called to indicate a change of the specified view forwarder, specifically, a change in visible area. More... | |
void | disposing (const css::lang::EventObject &Source) |
Listen for disposing events of the model. More... | |
virtual void SAL_CALL | notifyShapeEvent (const css::document::EventObject &rEventObject) override |
virtual sal_Int32 SAL_CALL | getHyperLinkCount () override |
virtual css::uno::Reference< css::accessibility::XAccessibleHyperlink > SAL_CALL | getHyperLink (sal_Int32 nLinkIndex) override |
virtual sal_Int32 SAL_CALL | getHyperLinkIndex (sal_Int32 nCharIndex) override |
virtual sal_Int32 SAL_CALL | getCaretPosition () override |
virtual sal_Bool SAL_CALL | setCaretPosition (sal_Int32 nIndex) override |
virtual sal_Unicode SAL_CALL | getCharacter (sal_Int32 nIndex) override |
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL | getCharacterAttributes (sal_Int32 nIndex, const css::uno::Sequence< OUString > &aRequestedAttributes) override |
virtual css::awt::Rectangle SAL_CALL | getCharacterBounds (sal_Int32 nIndex) override |
virtual sal_Int32 SAL_CALL | getCharacterCount () override |
virtual sal_Int32 SAL_CALL | getIndexAtPoint (const css::awt::Point &aPoint) override |
virtual OUString SAL_CALL | getSelectedText () override |
virtual sal_Int32 SAL_CALL | getSelectionStart () override |
virtual sal_Int32 SAL_CALL | getSelectionEnd () override |
virtual sal_Bool SAL_CALL | setSelection (sal_Int32 nStartIndex, sal_Int32 nEndIndex) override |
virtual OUString SAL_CALL | getText () override |
virtual OUString SAL_CALL | getTextRange (sal_Int32 nStartIndex, sal_Int32 nEndIndex) override |
virtual css::accessibility::TextSegment SAL_CALL | getTextAtIndex (sal_Int32 nIndex, sal_Int16 aTextType) override |
virtual css::accessibility::TextSegment SAL_CALL | getTextBeforeIndex (sal_Int32 nIndex, sal_Int16 aTextType) override |
virtual css::accessibility::TextSegment SAL_CALL | getTextBehindIndex (sal_Int32 nIndex, sal_Int16 aTextType) override |
virtual sal_Bool SAL_CALL | copyText (sal_Int32 nStartIndex, sal_Int32 nEndIndex) override |
virtual sal_Bool SAL_CALL | scrollSubstringTo (sal_Int32 nStartIndex, sal_Int32 nEndIndex, css::accessibility::AccessibleScrollType aScrollType) override |
const css::uno::Reference< css::drawing::XShape > & | GetXShape () const |
void | setIndexInParent (sal_Int32 _nIndex) |
set the index _nIndex at the accessible shape More... | |
Public Member Functions inherited from accessibility::AccessibleContextBase | |
AccessibleContextBase (css::uno::Reference< css::accessibility::XAccessible > xParent, const sal_Int16 aRole) | |
virtual | ~AccessibleContextBase () override |
void | CommitChange (sal_Int16 aEventId, const css::uno::Any &rNewValue, const css::uno::Any &rOldValue, sal_Int32 nValueIndex) |
void | SetAccessibleDescription (const OUString &rsDescription, StringOrigin eDescriptionOrigin) |
void | SetAccessibleName (const OUString &rsName, StringOrigin eNameOrigin) |
virtual bool | SetState (sal_Int64 aState) |
virtual bool | ResetState (sal_Int64 aState) |
bool | GetState (sal_Int64 aState) |
void | SetRelationSet (const css::uno::Reference< css::accessibility::XAccessibleRelationSet > &rxRelationSet) |
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL | getAccessibleContext () 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 |
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 |
bool | IsDisposed () const |
Public Member Functions inherited from accessibility::AccessibleComponentBase | |
AccessibleComponentBase () | |
virtual | ~AccessibleComponentBase () |
virtual sal_Bool SAL_CALL | containsPoint (const css::awt::Point &aPoint) override |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleAtPoint (const css::awt::Point &aPoint) 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 css::uno::Reference< css::awt::XFont > SAL_CALL | getFont () override |
virtual OUString SAL_CALL | getTitledBorderText () override |
virtual OUString SAL_CALL | getToolTipText () override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () |
virtual void | ViewForwarderChanged ()=0 |
This method is called to indicate a change of the specified view forwarder, specifically, a change in visible area. More... | |
Public Member Functions inherited from cppu::ImplHelper4< class Ifc1, class Ifc2, class Ifc3, class Ifc4 > | |
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 |
Private Member Functions | |
virtual void SAL_CALL | grabFocus () override |
forward the focus to the contained control(in alive mode) More... | |
virtual sal_Int64 SAL_CALL | getAccessibleChildCount () override |
Return the number of currently visible children. More... | |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleChild (sal_Int64 i) override |
Return the specified child. More... | |
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL | getAccessibleRelationSet () override |
virtual OUString SAL_CALL | getImplementationName () override |
Returns an identifier for the implementation of this object. More... | |
virtual void SAL_CALL | propertyChange (const css::beans::PropertyChangeEvent &_rEvent) override |
virtual void SAL_CALL | disposing () override |
This method is called from the component helper base class while disposing. More... | |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
virtual void SAL_CALL | modeChanged (const css::util::ModeChangeEvent &_rSource) override |
virtual void SAL_CALL | notifyEvent (const css::accessibility::AccessibleEventObject &aEvent) override |
virtual void SAL_CALL | elementInserted (const css::container::ContainerEvent &Event) override |
virtual void SAL_CALL | elementRemoved (const css::container::ContainerEvent &Event) override |
virtual void SAL_CALL | elementReplaced (const css::container::ContainerEvent &Event) override |
virtual void | Init () override |
Initialize a new shape. More... | |
virtual OUString | CreateAccessibleBaseName () override |
Create a name string that contains the accessible name. More... | |
virtual OUString | CreateAccessibleName () override |
Create a unique name string that contains the accessible name. More... | |
OUString | CreateAccessibleDescription () |
Create a description string that contains the accessible description. More... | |
virtual bool | SetState (sal_Int64 _nState) override |
Set the specified state. More... | |
OUString | getControlModelStringProperty (const OUString &_rPropertyName) const |
(safely) reads the given property from the model of the UNO control More... | |
bool | ensureControlModelAccess () |
ensure that our control model exists(will be retrieved upon need only) More... | |
bool | ensureListeningState (const bool _bCurrentlyListening, const bool _bNeedNewListening, const OUString &_rPropertyName) |
ensures that we're listening for the given property if(and only if!) necessary More... | |
void | startStateMultiplexing () |
starts multiplexing the state changes of our aggregate context More... | |
void | stopStateMultiplexing () |
stops multiplexing the state changes of our aggregate context More... | |
void | adjustAccessibleRole () |
adjusts our AccessibleRole, depending on the control type we're working for More... | |
void | initializeComposedState () |
initializes composed states of the context More... | |
AccessibleControlShape (const AccessibleControlShape &)=delete | |
AccessibleControlShape & | operator= (const AccessibleControlShape &)=delete |
Private Attributes | |
css::uno::Reference< css::beans::XPropertySet > | m_xControlModel |
css::uno::Reference< css::beans::XPropertySetInfo > | m_xModelPropsMeta |
css::uno::Reference< css::awt::XControl > | m_xUnoControl |
css::uno::WeakReference< css::accessibility::XAccessibleContext > | m_aControlContext |
css::uno::Reference< css::uno::XAggregation > | m_xControlContextProxy |
css::uno::Reference< css::lang::XTypeProvider > | m_xControlContextTypeAccess |
css::uno::Reference< css::lang::XComponent > | m_xControlContextComponent |
rtl::Reference<::comphelper::OWrappedAccessibleChildrenManager > | m_pChildManager |
bool | m_bListeningForName: 1 |
bool | m_bListeningForDesc: 1 |
bool | m_bMultiplexingStates: 1 |
bool | m_bDisposeNativeContext: 1 |
bool | m_bWaitingForControl: 1 |
Additional Inherited Members | |
Public Types inherited from accessibility::AccessibleContextBase | |
enum | StringOrigin |
Public Attributes inherited from accessibility::AccessibleContextBase | |
ManuallySet | |
FromShape | |
AutomaticallyCreated | |
NotSet | |
Protected Member Functions inherited from accessibility::AccessibleShape | |
virtual void SAL_CALL | disposing () override |
This method is called from the component helper base class while disposing. More... | |
virtual OUString | CreateAccessibleBaseName () |
Create a base name string that contains the accessible name. More... | |
virtual OUString | CreateAccessibleName () override |
Create a unique name string that contains the accessible name. More... | |
OUString | GetFullAccessibleName (AccessibleShape *shape) |
virtual OUString | GetStyle () const |
void | UpdateStates () |
Update the <const>OPAQUE</const> and <const>SELECTED</const> state. More... | |
Protected Member Functions inherited from accessibility::AccessibleContextBase | |
virtual void SAL_CALL | disposing () override |
virtual OUString | CreateAccessibleName () |
void | FireEvent (const css::accessibility::AccessibleEventObject &aEvent) |
void | ThrowIfDisposed () |
void | SetAccessibleRole (sal_Int16 _nRole) |
Protected Member Functions inherited from accessibility::IAccessibleViewForwarderListener | |
~IAccessibleViewForwarderListener () | |
Protected Member Functions inherited from cppu::ImplHelper4< class Ifc1, class Ifc2, class Ifc3, class Ifc4 > | |
~ImplHelper4 () SAL_NOEXCEPT | |
Protected Attributes inherited from accessibility::AccessibleShape | |
std::unique_ptr< ChildrenManager > | mpChildrenManager |
Children manager. May be empty if there are no children. More... | |
css::uno::Reference< css::drawing::XShape > | mxShape |
Reference to the actual shape. More... | |
AccessibleShapeTreeInfo | maShapeTreeInfo |
Bundle of information passed to all shapes in a document tree. More... | |
sal_Int32 | m_nIndexInParent |
the index in parent. More... | |
std::unique_ptr< AccessibleTextHelper > | mpText |
The accessible text engine. More... | |
IAccessibleParent * | mpParent |
This object can be used to modify the child list of our parent. More... | |
SdrObject * | m_pShape |
This object can be removed when we have an extra interface to ask if the shape is selected. More... | |
Protected Attributes inherited from accessibility::AccessibleContextBase | |
sal_Int64 | mnStateSet |
css::uno::Reference< css::accessibility::XAccessibleRelationSet > | mxRelationSet |
@descr
Definition at line 69 of file AccessibleControlShape.hxx.
AccessibleControlShape::AccessibleControlShape | ( | const AccessibleShapeInfo & | rShapeInfo, |
const AccessibleShapeTreeInfo & | rShapeTreeInfo | ||
) |
Definition at line 112 of file AccessibleControlShape.cxx.
References comphelper::getProcessComponentContext(), m_pChildManager, and m_refCount.
|
overridevirtual |
Definition at line 131 of file AccessibleControlShape.cxx.
References m_pChildManager, m_xControlContextComponent, m_xControlContextProxy, and m_xControlContextTypeAccess.
|
privatedelete |
|
private |
adjusts our AccessibleRole, depending on the control type we're working for
Only to be called during initialization
Definition at line 743 of file AccessibleControlShape.cxx.
References m_aControlContext, m_xUnoControl, and accessibility::AccessibleContextBase::SetAccessibleRole().
Referenced by Init().
|
overrideprivatevirtual |
Create a name string that contains the accessible name.
Reimplemented from accessibility::AccessibleShape.
Definition at line 299 of file AccessibleControlShape.cxx.
References accessibility::DRAWING_CONTROL, accessibility::ShapeTypeHandler::GetTypeId(), accessibility::ShapeTypeHandler::Instance(), accessibility::AccessibleShape::mxShape, and sName.
|
private |
Create a description string that contains the accessible description.
Definition at line 319 of file AccessibleControlShape.cxx.
References accessibility::DescriptionGenerator::AddProperty(), accessibility::DescriptionGenerator::AppendString(), accessibility::DescriptionGenerator::Color, accessibility::DRAWING_CONTROL, ensureListeningState(), getControlModelStringProperty(), accessibility::ShapeTypeHandler::GetTypeId(), accessibility::DescriptionGenerator::Initialize(), accessibility::ShapeTypeHandler::Instance(), accessibility::DescriptionGenerator::Integer, m_bListeningForDesc, accessibility::AccessibleShape::mxShape, and u.
|
overrideprivatevirtual |
Create a unique name string that contains the accessible name.
The name consists of the base name and the index.
Reimplemented from accessibility::AccessibleShape.
Definition at line 578 of file AccessibleControlShape.cxx.
References CreateAccessibleName(), accessibility::AccessibleShape::CreateAccessibleName(), ensureControlModelAccess(), ensureListeningState(), accessibility::AccessibleShape::getAccessibleRole(), getControlModelStringProperty(), GetLabeledByControlShape(), m_bListeningForName, m_xModelPropsMeta, and sName.
Referenced by CreateAccessibleName().
|
overrideprivatevirtual |
This method is called from the component helper base class while disposing.
Reimplemented from accessibility::AccessibleShape.
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Definition at line 799 of file AccessibleControlShape.cxx.
References ensureControlModelAccess(), m_bWaitingForControl, m_xControlModel, accessibility::AccessibleShape::maShapeTreeInfo, accessibility::AccessibleShape::mpParent, accessibility::AccessibleShape::mxShape, and accessibility::IAccessibleParent::ReplaceChild().
|
overrideprivatevirtual |
Definition at line 832 of file AccessibleControlShape.cxx.
|
overrideprivatevirtual |
Definition at line 837 of file AccessibleControlShape.cxx.
|
private |
ensure that our control model exists(will be retrieved upon need only)
Definition at line 666 of file AccessibleControlShape.cxx.
References Exception, m_xControlModel, m_xModelPropsMeta, accessibility::AccessibleShape::mxShape, and TOOLS_WARN_EXCEPTION.
Referenced by CreateAccessibleName(), elementInserted(), ensureListeningState(), getAccessibleRelationSet(), and getControlModelStringProperty().
|
private |
ensures that we're listening for the given property if(and only if!) necessary
Definition at line 466 of file AccessibleControlShape.cxx.
References ensureControlModelAccess(), Exception, m_xControlModel, and m_xModelPropsMeta.
Referenced by CreateAccessibleDescription(), and CreateAccessibleName().
|
overrideprivatevirtual |
Return the specified child.
Forward the request to the shape.
nIndex | Index of the requested child. |
IndexOutOfBoundsException | Throws an exception if the index is not valid. |
Return the requested shape or throw an exception for a wrong index.
Reimplemented from accessibility::AccessibleShape.
Definition at line 512 of file AccessibleControlShape.cxx.
References accessibility::AccessibleShape::getAccessibleChild(), i, m_aControlContext, m_pChildManager, m_xUnoControl, and SAL_WARN_IF.
|
overrideprivatevirtual |
Return the number of currently visible children.
The children of this shape come from two sources: The children from group or scene shapes and the paragraphs of text.
Reimplemented from accessibility::AccessibleShape.
Definition at line 495 of file AccessibleControlShape.cxx.
References accessibility::AccessibleShape::getAccessibleChildCount(), m_aControlContext, and m_xUnoControl.
|
overrideprivatevirtual |
Reimplemented from accessibility::AccessibleShape.
Definition at line 556 of file AccessibleControlShape.cxx.
References ensureControlModelAccess(), accessibility::AccessibleContextBase::getAccessibleContext(), accessibility::AccessibleShape::getAccessibleRole(), and GetLabeledByControlShape().
|
inline |
Definition at line 80 of file AccessibleControlShape.hxx.
|
private |
(safely) reads the given property from the model of the UNO control
Definition at line 723 of file AccessibleControlShape.cxx.
References ensureControlModelAccess(), Exception, m_xControlModel, m_xModelPropsMeta, and TOOLS_WARN_EXCEPTION.
Referenced by CreateAccessibleDescription(), and CreateAccessibleName().
|
overrideprivatevirtual |
Returns an identifier for the implementation of this object.
Reimplemented from accessibility::AccessibleShape.
Definition at line 294 of file AccessibleControlShape.cxx.
AccessibleControlShape * AccessibleControlShape::GetLabeledByControlShape | ( | ) |
Definition at line 842 of file AccessibleControlShape.cxx.
References Any, accessibility::IAccessibleParent::GetAccControlShapeFromModel(), m_xControlModel, and accessibility::AccessibleShape::mpParent.
Referenced by CreateAccessibleName(), and getAccessibleRelationSet().
|
overrideprivatevirtual |
forward the focus to the contained control(in alive mode)
Reimplemented from accessibility::AccessibleComponentBase.
Definition at line 278 of file AccessibleControlShape.cxx.
References accessibility::AccessibleComponentBase::grabFocus(), and m_xUnoControl.
|
overrideprivatevirtual |
Initialize a new shape.
See the documentation of the base' constructor for the reason of this method's existence.
Reimplemented from accessibility::AccessibleShape.
Definition at line 157 of file AccessibleControlShape.cxx.
References adjustAccessibleRole(), Exception, accessibility::AccessibleShape::getAccessibleStateSet(), vcl::Window::GetOutDev(), comphelper::getProcessComponentContext(), SdrObject::getSdrObjectFromXShape(), accessibility::AccessibleShapeTreeInfo::GetSdrView(), SdrUnoObj::GetUnoControl(), accessibility::AccessibleShapeTreeInfo::GetWindow(), accessibility::AccessibleShape::Init(), initializeComposedState(), m_aControlContext, m_bDisposeNativeContext, m_bWaitingForControl, m_pChildManager, m_refCount, m_xControlContextComponent, m_xControlContextProxy, m_xControlContextTypeAccess, m_xUnoControl, accessibility::AccessibleShape::maShapeTreeInfo, accessibility::AccessibleShape::mxShape, startStateMultiplexing(), and xFactory.
|
private |
initializes composed states of the context
Some of the states of our inner context need to be propagated to the "composed context", too (such as "checked" for check boxes). At lifetime, this is done by multiplexing state changes, at initialization time, this method is used.
Definition at line 766 of file AccessibleControlShape.cxx.
References i, m_aControlContext, m_xUnoControl, accessibility::AccessibleContextBase::mnStateSet, and nState.
Referenced by Init().
|
overrideprivatevirtual |
Definition at line 441 of file AccessibleControlShape.cxx.
References m_xUnoControl, accessibility::AccessibleShape::maShapeTreeInfo, accessibility::AccessibleShape::mpParent, accessibility::AccessibleShape::mxShape, accessibility::IAccessibleParent::ReplaceChild(), SAL_INFO, SAL_WARN, and SAL_WARN_IF.
|
overrideprivatevirtual |
Definition at line 406 of file AccessibleControlShape.cxx.
References accessibility::AccessibleContextBase::FireEvent(), m_aMutex, m_pChildManager, accessibility::AccessibleShape::ResetState(), and accessibility::AccessibleShape::SetState().
|
privatedelete |
|
overrideprivatevirtual |
Definition at line 355 of file AccessibleControlShape.cxx.
References accessibility::AccessibleContextBase::AutomaticallyCreated, and m_aMutex.
|
overrideprivatevirtual |
Set the specified state.
Reimplemented from accessibility::AccessibleShape.
Definition at line 758 of file AccessibleControlShape.cxx.
References m_xUnoControl, and accessibility::AccessibleShape::SetState().
|
private |
starts multiplexing the state changes of our aggregate context
Definition at line 688 of file AccessibleControlShape.cxx.
References m_aControlContext, m_bMultiplexingStates, and m_xUnoControl.
Referenced by Init().
|
private |
stops multiplexing the state changes of our aggregate context
Definition at line 708 of file AccessibleControlShape.cxx.
References m_aControlContext, and m_bMultiplexingStates.
|
private |
Definition at line 185 of file AccessibleControlShape.hxx.
Referenced by adjustAccessibleRole(), getAccessibleChild(), getAccessibleChildCount(), Init(), initializeComposedState(), startStateMultiplexing(), and stopStateMultiplexing().
|
private |
Definition at line 199 of file AccessibleControlShape.hxx.
Referenced by Init().
|
private |
Definition at line 197 of file AccessibleControlShape.hxx.
Referenced by CreateAccessibleDescription().
|
private |
Definition at line 196 of file AccessibleControlShape.hxx.
Referenced by CreateAccessibleName().
|
private |
Definition at line 198 of file AccessibleControlShape.hxx.
Referenced by startStateMultiplexing(), and stopStateMultiplexing().
|
private |
Definition at line 200 of file AccessibleControlShape.hxx.
Referenced by elementInserted(), and Init().
|
private |
Definition at line 194 of file AccessibleControlShape.hxx.
Referenced by AccessibleControlShape(), getAccessibleChild(), Init(), notifyEvent(), and ~AccessibleControlShape().
|
private |
Definition at line 191 of file AccessibleControlShape.hxx.
Referenced by Init(), and ~AccessibleControlShape().
|
private |
Definition at line 187 of file AccessibleControlShape.hxx.
Referenced by Init(), and ~AccessibleControlShape().
|
private |
Definition at line 189 of file AccessibleControlShape.hxx.
Referenced by Init(), and ~AccessibleControlShape().
|
private |
Definition at line 178 of file AccessibleControlShape.hxx.
Referenced by elementInserted(), ensureControlModelAccess(), ensureListeningState(), getControlModelStringProperty(), and GetLabeledByControlShape().
|
private |
Definition at line 180 of file AccessibleControlShape.hxx.
Referenced by CreateAccessibleName(), ensureControlModelAccess(), ensureListeningState(), and getControlModelStringProperty().
|
private |
Definition at line 182 of file AccessibleControlShape.hxx.
Referenced by adjustAccessibleRole(), getAccessibleChild(), getAccessibleChildCount(), grabFocus(), Init(), initializeComposedState(), modeChanged(), SetState(), and startStateMultiplexing().