Hi Tobias,
>>So, I assume "the component" for you is the XComponent of the controller.
>
> Yes. But how to get it? I know how to get the XController and the
> XModel. But how to get the XComponent?
analogous to how you get the XComponent interface of the frame, or how
you get any interface for any object:
XController xController = xFrame.getController();
XComponent xControllerComponent = (XComponent)
UnoRuntime.queryInterface(XComponent.class, xController);
Ciao
Frank
--
- Frank Schönheit, Software Engineer [EMAIL PROTECTED] -
- Sun Microsystems http://www.sun.com/staroffice -
- OpenOffice.org Database http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]