I implemented a component written in Java into OpenOffice 2.x.
I'm now about to create dialogs for several user inputs. Since it's quite a pain to create all those dialogs with Java I was wondering if I can use the BASIC Dialogs for this?

Does it even make sense to call Java from a button, which then calls a BASIC dialog, which gives all the parameters back to Java which does apply the changes to the document?

This leaves two open questions:

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


1.) ??

2.)
Sub AccessJava
Dim Service As Object
Service = CreateUnoService("org.openoffice.addon.TestComponent")
...what now? I'd like to pass the input of textfields to a method of my component...
End Sub

Thanks

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

Reply via email to