Re: [udk-dev] Spellcheck service and Python

2007-10-02 Thread Joerg Budischewski
Hi, the crash is a bug in the pyuno bridge, see (http://qa.openoffice.org/issues/show_bug.cgi?id=82156). Anyway, you code is still errornous, you have to replacce locale = uno.getClass(com.sun.star.lang.Locale) with locale = uno.getClass(com.sun.star.lang.Locale)() . And even nicer, you

Re: [udk-dev] Spellcheck service and Python

2007-10-01 Thread Bernard Marcelly
Message de Finn Gruwier Larsen date 2007-10-01 09:15 : Thanks, Bernard, for correcting my syntax. This was not syntax errors but misunderstanding of the API and of the Python bridge routines. For what you are doing you need a lot of knowledge in both. Anyway - OOo crashes when I run this

Re: [udk-dev] Spellcheck service and Python

2007-10-01 Thread Finn Gruwier Larsen
Bernard Marcelly skrev: Message de Finn Gruwier Larsen date 2007-10-01 09:15 : Thanks, Bernard, for correcting my syntax. This was not syntax errors but misunderstanding of the API and of the Python bridge routines. For what you are doing you need a lot of knowledge in both. True.

Re: [udk-dev] Spellcheck service and Python

2007-10-01 Thread Joerg Budischewski
Hi, please create an issue and assign it to me (jbu), attach your final minimal sample code. It is one of the very rare cases, where typedefs have been used in the ( here ::com::sun::star::beans::PropertyValues), maybe there is a workaround. There are no optional parameters in uno, you have

Re: [udk-dev] Spellcheck service and Python

2007-10-01 Thread Finn Gruwier Larsen
Joerg Budischewski skrev: Hi, please create an issue and assign it to me (jbu), attach your final minimal sample code. It is one of the very rare cases, where typedefs have been used in the ( here ::com::sun::star::beans::PropertyValues), maybe there is a workaround. OK, I will, thank you.

Re: [udk-dev] Spellcheck service and Python

2007-09-30 Thread Bernard Marcelly
Message de Finn Gruwier Larsen date 2007-09-30 22:21 : Hi, Hi, I hope I'm hitting the right mailing list... probably not, it's more an API stuff [EMAIL PROTECTED] Or ask at www.oooforum.org section Macros I have a problem accessing the SpellChecker service in the API from Python. (...)