Re: [api-dev] java macro classpath

2008-07-21 Thread Sevastian `seva` Foglia
Stephan Bergmann ha scritto: Sevastian `seva` Foglia wrote: Hi all, I have a problem with a Java extension that uses several jar. It's a Java macro that using Scripting Framework. It's not my first extension in Java and I know that I have to write a parcel-descriptor file to specify classpath

[api-dev] java macro classpath

2008-07-18 Thread Sevastian `seva` Foglia
Hi all, I have a problem with a Java extension that uses several jar. It's a Java macro that using Scripting Framework. It's not my first extension in Java and I know that I have to write a parcel-descriptor file to specify classpath. The problem is that some classes specified in the classpath

[api-dev] arguments to java macro

2007-04-27 Thread Sevastian `seva` Foglia
Hi all. How can I give arguments to a java macro? I try to modify the tag functionname on parcel-descriptor.xml and the URL properties on Addons.xcu, but I can't retrieve the parameters. Anyone did some similar? Thanks Seva -

[api-dev] new base document from macro

2007-03-07 Thread Sevastian `seva` Foglia
Hi! I found a trick to open a new base document from a macro with Dialog Wizard. This is the snippet [code] oDesktop = CreateUnoService(com.sun.star.frame.Desktop) doc = oDesktop.loadComponentFromURL(private:factory/sdatabase?Interactive, _blank, 0, args) [/code] I hope it will be

[api-dev] change default template

2006-11-16 Thread Sevastian `seva` Foglia
In Writer, I want to set the default template. For this, you have to do : File - Templates - Organize, choose a template and right click on it and select Set As Default Template. I would like to do that in a macro. Is it possible ? Thanks

[api-dev] python and zlib

2006-09-20 Thread Sevastian `seva` Foglia
Hi all! When I try to use zipfile library in a python script on windows I receive following error RuntimeError: De-compression requires the (missing) zlib module zlib is used by zipfile.py module which is C:\Programmi\OpenOffice.org 2.0\program\python-core-2.3.4\lib Is it a bug of python

[api-dev] dialog and combobox

2006-07-28 Thread Sevastian `seva` Foglia
Hi all. If I set to true combobox ReadOnly property I can't select its item. Is it a bug? How can I make combobox not editable? Thanks Seva - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [api-dev] Crash during document closing (Java)

2005-06-14 Thread Sevastian `seva` Foglia
Andreas Bröker wrote: Hello, we integrate the Writer Component into a SWT application. After we execute some Java API calls and try to close the document OpenOffice.org (1.9.104) will crash. I have already send a crash report. How can this happen ? Best regards Andreas I have same

Re: [api-dev] CDbl function

2005-03-04 Thread Sevastian `seva` Foglia
Davide Dozza wrote: Bernard Marcelly wrote: Le 2005-03-03 20:04, Alexej Kryukov a écrit : On Thursday 03 March 2005 20:40, Sevastian `seva` Foglia wrote: Sub Main Dim sVal as String sVal = 0,30 print CDbl(sVal) End Sub I correctly display 0,3 on my OOo 1.1.3 french, Windows XP french