Hi Jimmy,

this is more a question for openoffice.api.dev.

...

This leaves two open questions:

1.) How to open a BASIC dialog from Java?

This can already be done by using the com.sun.star.awt.DialogProvider
service.


2.) How can I pass arguments from the BASIC dialog back to Java?

That's the problem. Currently this is not possible, at least not in
an easy way. You could only add listeners directly to the controls
after instantiating a dialog with the DialogProvider service but
that's also a pain.

The good news: It will be possible in 2.0.4. For details please have
a look at the spec describing the new functionality:

http://specs.openoffice.org/ide/DialogComponentEventBindingSpec.odt

You find some more information about the core aspects here:

http://specs.openoffice.org/ide/NonScriptDialogEvents.odt

Currently I'm also working on a new Developers Guide chapter descri-
bing this functionality and also on a corresponding SDK sample.

Regards

Andreas

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

Reply via email to