Issue 124895 - Make the original UNO element available through the Accessible View
Summary: Make the original UNO element available through the Accessible View
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 4.1.0
Hardware: All All
: P3 Minor
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2014-05-14 12:39 UTC by Jens Bornschein
Modified: 2014-06-06 11:47 UTC (History)
0 users

See Also:
Issue Type: FEATURE
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description Jens Bornschein 2014-05-14 12:39:45 UTC
Through the Accessible View – received via the top window – I didn't find a way to get the original model element. 
For example:
When I walk through the accessible tree of an AccessibleDrawDocumentView I only get access to XAccessibleContext (e.g. AccessibleShape) objects and not to the original UNO (e.g. XShape) for modify or manipulate it. In the AccessibleShape.cxx a function for returning the original UNO element already exists (uno::Reference< drawing::XShape > AccessibleShape::GetXShape()) but is protected via its access modifier. I would recommend that it should be possible to receive the original UNO and even the Model through an interface e.g. the XAccessibleContext interface. In the XAccessibleContext interface description is declared "… On the other hand it gives access to objects that expose the represented content. …".

I'm searching for a long time for a way to bring the XAccessible in relation to its UNO element and Model.