Max Giesbert schrieb:
actually i have problems with the very first line of code you sent:

acc =
ThisComponent.CurrentController.Frame.ComponentWindow.AccessibleContext

i am doing development right now using java. so i do get the
ComponentWindow by:

XWindow window = xController.getFrame().getComponentWindow();

but how do i get the AccessibleContext from XWindow?

The Window should support the XAccessible interface, which in turn contains one function getAccessibleContext() that returns the XAccessibleContext interface.

XAccessible acc = (XAccessible)UnoRuntime.queryInterface(XAccessible.class, window);
XAccessibleContext accessibleContext = acc.getAccessibleContext();


Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to