On 11.03.2005, at 10:15, Tom Schindl wrote:
But as already suggested by Christian
((XModel)UnoRuntime.queryInterface ("com.sun.star.XModel",xDesktop.getCurrentComponent())).getURL();
Should work.
Tom
No: I get the following error.
cannot resolve symbol
symbol : method queryInterface (java.lang.String,com.sun.star.lang.XComponent)
location: class com.sun.star.uno.UnoRuntime
XModel xmodel = (XModel)UnoRuntime.queryInterface("com.sun.star.frame.XModel", desktop);
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
