LibreOffice Module svx (master) 1
|
This interface contains methods missing from the XAccessibleContext interface that allow the modification of parent/child relationship. More...
#include <IAccessibleParent.hxx>
Public Member Functions | |
virtual | ~IAccessibleParent () |
Allow for a virtual destructor. More... | |
virtual bool | ReplaceChild (AccessibleShape *pCurrentChild, const css::uno::Reference< css::drawing::XShape > &_rxShape, const tools::Long _nIndex, const AccessibleShapeTreeInfo &_rShapeTreeInfo)=0 |
A call to this method requests the implementor to replace one child with another and send the appropriate notifications. More... | |
virtual AccessibleControlShape * | GetAccControlShapeFromModel (css::beans::XPropertySet *) |
virtual css::uno::Reference< css::accessibility::XAccessible > | GetAccessibleCaption (const css::uno::Reference< css::drawing::XShape > &) |
virtual bool | IsDocumentSelAll () |
This interface contains methods missing from the XAccessibleContext interface that allow the modification of parent/child relationship.
Definition at line 40 of file IAccessibleParent.hxx.
|
inlinevirtual |
Allow for a virtual destructor.
Definition at line 45 of file IAccessibleParent.hxx.
|
inlinevirtual |
css::uno::RuntimeException |
Reimplemented in accessibility::ChildrenManagerImpl.
Definition at line 89 of file IAccessibleParent.hxx.
Referenced by accessibility::AccessibleControlShape::GetLabeledByControlShape().
|
inlinevirtual |
css::uno::RuntimeException |
Reimplemented in accessibility::ChildrenManagerImpl.
Definition at line 94 of file IAccessibleParent.hxx.
Referenced by accessibility::AccessibleShape::getAccessibleRelationSet().
|
inlinevirtual |
Definition at line 96 of file IAccessibleParent.hxx.
|
pure virtual |
A call to this method requests the implementor to replace one child with another and send the appropriate notifications.
That are two child events: One notifying the removal of the current child and one about the existence of the new child. The index of the new child is implementation dependent, i.e. it is not guaranteed that the replacement has the same index as the current child has.
A default implementation can just use the ShapeTypeHandler::CreateAccessibleObject to let a factory create the new instance with the parameters given, and then place the new shape into the own structures.
pCurrentChild | This child is about to be replaced. |
_rxShape | The UNO shape which the old and new child represent |
_nIndex | The IndexInParent of the old child. Note that the index in parent of the replacement is not necessarily the same as that of the current child. |
_rShapeTreeInfo | The TreeInfo for the old child. |
RuntimeException | in case something went heavily wrong |
Implemented in accessibility::ChildrenManagerImpl.
Referenced by accessibility::AccessibleControlShape::elementInserted(), and accessibility::AccessibleControlShape::modeChanged().