|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
How-to extension with Python & NetBeans & .jarAlthough I'm a beginner, I'm planning to make an extension and, as I'm
willing to study hard, I would know if I am in a wrong direction. The extension will provide some little functionality to manage a warehouse and do invoice, adding some CRM functions. I'd like to use this software: - NetBeans - Python - jar libraries (ODFDOM) - MySQL I have some questions: - can I use Python and jar libraries together? - is it correct to use the OpenOffice.org Client Application of OO.o plugin for NetBeans? - can I use more than one language in the same .oxt? Thanks all and sorry for my bad english. Sergio --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: How-to extension with Python & NetBeans & .jarHi Sergio,
Sergio Corato wrote: > Although I'm a beginner, I'm planning to make an extension and, as I'm > willing to study hard, I would know if I am in a wrong direction. > > The extension will provide some little functionality to manage a > warehouse and do invoice, adding some CRM functions. > > I'd like to use this software: > - NetBeans > - Python > - jar libraries (ODFDOM) > - MySQL > > I have some questions: > - can I use Python and jar libraries together? > - is it correct to use the OpenOffice.org Client Application of OO.o > plugin for NetBeans? no or better it depends what exactly you want to achieve. If you want to integrate your stuff in some way in the office directly you need an add-on or a general UNO component project. The OOo API plugin supports Java only at the moment. In case of odfdom you don't need an office, the NB OOo API plugin or the office API. If you plan to generate documents standalone without further office interaction you need only a Python or Java project and the odfdom jars. > - can I use more than one language in the same .oxt? yes, in general you can combine all supported languages in one oxt package. I hope this helps a little bit. Otherwise feel free to ask again. Juergen > > Thanks all and sorry for my bad english. > Sergio > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@... > For additional commands, e-mail: dev-help@... > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: How-to extension with Python & NetBeans & .jarJuergen Schmidt ha scritto:
> Hi Sergio, > Thank you very much for your response, > 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?) > > I hope this helps a little bit. Otherwise feel free to ask again. > > Juergen > > It helps! Sergio --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: How-to extension with Python & NetBeans & .jarSergio 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 :-). 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: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: How-to extension with Python & NetBeans & .jarJan 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 :-). 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: dev-unsubscribe@... > For additional commands, e-mail: dev-help@... > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
| Free embeddable forum powered by Nabble | Forum Help |