Jan Holst Jensen wrote:
Sergio Corato wrote:
- can I use more than one language in the same .oxt?
yes, in general you can combine all supported languages in one oxt package.

Sorry, I haven't specified programming languages, like Python & OOoBasic together (or you understood so?)

Hi Sergio.

I am currently developing an extension that uses Python to implement a UNO component and I use Basic for the GUI interface (dialogs and high-level code), calling into the Python code via UNO interfaces. Works fine. Haven't integrated the Basic parts into the .oxt yet (the Python stuff is there) but I don't expect it to present problems. If I get into trouble then you will sure see me asking about it here :-).
i would use only the dialog editor to design the dialogs and export the xdl files. Use the DialogProvider2 to instantiate a dialog based on the exported xdl etc.

It's probably the better approach when your logic is the component and in Python anyway. And of course you hide the dialog library and use it in your extension only.

Well both ways are possible but i prefer the later one ;-)

Juergen




A shameless plug for the Python-based Calc extension example that I did:

http://wiki.services.openoffice.org/wiki/Calc/Add-In/Python_How-To

Cheers
-- Jan Holst Jensen

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to