Hi Laurent,
There is no direct connection from XShape to their XAccessible
representations. Both types of objects are stored in trees that are
independent on at least the shape level.
One approach that may work in some circumstances is the following:
1. Get access to the AccessibleDrawDocumentView. This is the
accessibility representation of the view in the Impress center pane. It
can be obtained from the respective XWindow by querying that for
XAccessible.
2. Call XAccessible->getAccessibleContext() and query the returned
object for its XAccessibleComponent interface. That interface has a
getAccessibleAtPoint() function which returns the XAccessible for the
shape that covers the given point. Use a point of the original XShape here.
The problem with this approach is that of overlapping shapes. When
there is more then one XShape that covers the point given to
getAccessibleAtPoint() then one of them is returned. Not all of them
and not a specific one. The choice is an implementation detail and not
necessarily aparent deterministic.
Regards,
Andre
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]