Dominique De Munck wrote:

> I'm working in Java and I'm not able to get those objects. Are those
> fields private or something ?
> XComponent (= return type of loadComponentFromURL) does not offer any
> field "CurrentController".

Of course. You have to use the css.frame.XModel interface of the
returned component.

> XTextDocument has a a method getCurrentController() , but this returns a
> XController, and a cast to XTransferableSupplier  gives me an error.

You mean calling queryInterface from it, right? Casting doesn't work here.

That's exactly the right object. Which version of OOo are you using?

Ciao,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[EMAIL PROTECTED]".
I use it for the OOo lists and only rarely read other mails sent to it.

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

Reply via email to