Hi Tobias, > OK. But that does not work... > > Here my xFrame: > -----%<----- > CO> [EMAIL PROTECTED] > [oid=867a494;gcc3[0];c226f3b38e9111dbbb1ff0b779ca904b, > type=com.sun.star.frame.XFrame] > -----%<----- > > Here my xController > -----%<----- > CO> [EMAIL PROTECTED] > [oid=88fee74;gcc3[0];c226f3b38e9111dbbb1ff0b779ca904b, > type=com.sun.star.frame.XController] > -----%<----- > > And then I query for the xControllerComponent as you described above: > -----%<----- > CO> [EMAIL PROTECTED] > [oid=88fee74;gcc3[0];c226f3b38e9111dbbb1ff0b779ca904b, > type=com.sun.star.frame.XController] > -----%<----- > > ?!?! Do you know, what I can do now?
How did you produce those lines? "xControllerComponent.toString()"? In this case it in fact looks like the queryInterface somehow was unsuccessful, but I do not know enough about our Java-UNO language binding here ... Sorry, no idea :( 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]