LibreOffice Module svx (master) 1
Public Member Functions | List of all members
accessibility::IAccessibleParent Class Referenceabstract

This interface contains methods missing from the XAccessibleContext interface that allow the modification of parent/child relationship. More...

#include <IAccessibleParent.hxx>

Inheritance diagram for accessibility::IAccessibleParent:
[legend]

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 AccessibleControlShapeGetAccControlShapeFromModel (css::beans::XPropertySet *)
 
virtual css::uno::Reference< css::accessibility::XAccessible > GetAccessibleCaption (const css::uno::Reference< css::drawing::XShape > &)
 
virtual bool IsDocumentSelAll ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~IAccessibleParent()

virtual accessibility::IAccessibleParent::~IAccessibleParent ( )
inlinevirtual

Allow for a virtual destructor.

Definition at line 45 of file IAccessibleParent.hxx.

Member Function Documentation

◆ GetAccControlShapeFromModel()

virtual AccessibleControlShape * accessibility::IAccessibleParent::GetAccControlShapeFromModel ( css::beans::XPropertySet *  )
inlinevirtual
Exceptions
css::uno::RuntimeException

Reimplemented in accessibility::ChildrenManagerImpl.

Definition at line 89 of file IAccessibleParent.hxx.

Referenced by accessibility::AccessibleControlShape::GetLabeledByControlShape().

◆ GetAccessibleCaption()

virtual css::uno::Reference< css::accessibility::XAccessible > accessibility::IAccessibleParent::GetAccessibleCaption ( const css::uno::Reference< css::drawing::XShape > &  )
inlinevirtual
Exceptions
css::uno::RuntimeException

Reimplemented in accessibility::ChildrenManagerImpl.

Definition at line 94 of file IAccessibleParent.hxx.

Referenced by accessibility::AccessibleShape::getAccessibleRelationSet().

◆ IsDocumentSelAll()

virtual bool accessibility::IAccessibleParent::IsDocumentSelAll ( )
inlinevirtual

Definition at line 96 of file IAccessibleParent.hxx.

◆ ReplaceChild()

virtual bool accessibility::IAccessibleParent::ReplaceChild ( AccessibleShape pCurrentChild,
const css::uno::Reference< css::drawing::XShape > &  _rxShape,
const tools::Long  _nIndex,
const AccessibleShapeTreeInfo _rShapeTreeInfo 
)
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.

Parameters
pCurrentChildThis child is about to be replaced.
_rxShapeThe UNO shape which the old and new child represent
_nIndexThe 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.
_rShapeTreeInfoThe TreeInfo for the old child.
Returns
If the replacement has taken place successfully <TRUE> is returned. If the replacement can not be carried out or an error occurs that does not result in an exception then <FALSE> is returned.
Exceptions
RuntimeExceptionin case something went heavily wrong

Implemented in accessibility::ChildrenManagerImpl.

Referenced by accessibility::AccessibleControlShape::elementInserted(), and accessibility::AccessibleControlShape::modeChanged().


The documentation for this class was generated from the following file: