Re: [dev] OO2 130 and OfficeBean
snpe wrote: Hello, I try OfficeBean and have one problem : when I call program with OO jars (jars in OO_HOME/program/classes) it work fine I want import jars in my project, but then OfficeBean can't find soffice program OO seek soffice in /soffice always (linux) When using OOoBean then jars, such as jurt.jar, ridl.jar, etc. must be on the class path. They must also be located in the program classes directory. OOoBean uses com.sun.star.lib.util.NativeClassLoader (jurt.jar) to get the location of the executable. NativeClassLoader examines the parent directory of the jar, where it finds soffice. I link soffice to /soffice for check and get InteruptedException How I can set program location for OfficeBean ? One could use an UrlClassLoader that knows the location of soffice to load OOoBean. (never tested that before). Have a look at LocalOfficeConnection.getProgramPath and NativeLibraryLoader.getResource. Joachim. Thanks Haris Peco - 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]
[dev] question about forums
Hi, I'm wondering why these who wants to read the forums have to be registered to do that? Is it possible only for writing to requier registrastion? regards -- - Hristo Simeonov Hristov Leader of OpenOffice.org - Bulgarian GnuPG key 0xD0D895EB: 0282 D8D0 90D3 963F E57E B0A7 2670 88D9 D0D8 95EB
[dev] the lack of a really important fetaure in spreadshet
Dear OpenOffice community, for first, many gratulation for your excellent office suite. I am sure, it will convince a lot of people to migrate to it. I am mailing becuase in my opinion a really important feature is lacking in openoffice calc. It is to add different error bars in a single chart. The only feature I could find was to add to every coloum the same error bar. However, if I have real statistical data, I have to add a different error values for each column. Example: Values Standard-Deviation 0,147 0,042 0,141 0,021 0,167 0,029 0,285 0,082 So one would need a different error bar for every measurement. Thank you, it will improve your application Markus Ralser - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Multiselection copy
Robert Merič wrote: I am interested how can I enable multiselection copying. Can you tell me how can I program this function (copy and paste) to copy multiselection. Wheh I am in Calc I want to sellect first and third row and then copy to another list. This function will be very useful for this. If you restrict it to the cases where whole columns/rows are missing from a single rectangular selection, the implementation can be similar to that of filtered rows (look for bIncludeFiltered in ScDocument::CopyFromClip, sc/source/core/data/document.cxx). Niklas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] OO2 130 and OfficeBean
Joachim, On Tuesday 27 September 2005 08:19 am, Joachim Lingner wrote: > snpe wrote: > > Hello, > > I try OfficeBean and have one problem : > > > > when I call program with OO jars (jars in OO_HOME/program/classes) it work > > fine > > > > I want import jars in my project, but then OfficeBean can't find soffice > > program > > OO seek soffice in /soffice always (linux) > When using OOoBean then jars, such as jurt.jar, ridl.jar, etc. must be > on the class path. They must also be located in the program classes > directory. OOoBean uses com.sun.star.lib.util.NativeClassLoader > (jurt.jar) to get the location of the executable. NativeClassLoader > examines the parent directory of the jar, where it finds soffice. It is fine when jars are in original position Example : 1) create project and add jars from OFFICE_HOME/program/classes in classpath (no relocate jars, only add in classpath) - It work fine 2) create project, add jars from OFFICE_HOME/program/classes in my project folder (relocate it) - add relocated jars in classpath.It compile, load class, but can't find officebean libraries (libofficebean.so) - I add java.library.path=OFFICE_HOME/program and libofficebean.so is ok, but OOoBean can't find soffice program.I try add soffice in PATH, java.library.path,com.sun.star.beans.path without success - OOoBean seek soffice relative to jars files - I see NativeClassLoader and it search with loader of class LocalOfficeConnection and relative from officebean.jar - I think that loader have to seek in PATH yet (or OFFICE_HOME) It is simple add in LocalOfficeConnection#getProgramPath for seek in PATH (and/or OFFICE_HOME) > > > I link soffice to /soffice for check and get InteruptedException > > How I can set program location for OfficeBean ? > One could use an UrlClassLoader that knows the location of soffice to > load OOoBean. (never tested that before). > Have a look at LocalOfficeConnection.getProgramPath and > NativeLibraryLoader.getResource. > This not help, because NativeLibraryPath search urls directories (or parent directories) only If I relocate jars then it can't find soffice My workaround for now is : make classloader - use OFFICE_HOME env. variable for soffice libraries (add in path) dynamic and load OO classes dynamic with this, but I have to use reflection for calling OO method (I work in eclipse and can't change classloader on runtime, but OO doesn't use context classloader) It is much better that getProgramPath or NativeClassLoader use PATH (and yet any use variable) for search) There is yet another problem : I try officebean in KDE and it work fine in KDE, but when I set SAL_USE_VCLPLUGIN=gtk it doesn't work - no exception, office start, loadFromURL work fine, acquireSystemWindow work without exception but no connection (panel is empty) I try from gtk environment, but it isn't work , too (I don't test enough this, because my gnome is compiled and hard patched - gtk is 2.8.4) Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] unopkg - installation of java component fails in most cases with OO 1.9_m130...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Steffen, > What platform are you on? i am using windows xp sp2 ... > Can you give some more details of your command-line, and in which case > the registering failed? it seems, that especially a 'unopkg reinstall' fails on packages which do not include a protocolhandler.xcu/addon.xcu file e.g. I remove the package via GUI and add the new version ... > And, lastly, could you make your package available? Only, of course, if > it's not closed source. it's just a demo service, i will sent it directly to you (including source) Oliver GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDOW2ATiyrQM/QSkURApkWAKCjpHON389oy3j2X5UbYEFdIalnyQCgrAQl 0wFJk6LUv8Ok04SGrXhlhj4= =r6gN -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Multiselection copy
OK I'll look for it tomorrow. And what must I do with this implementation. Where must I copy it that multiselection copying will work when some rows missed? thanks!! best regards Robert - Original Message - From: "Niklas Nebel" <[EMAIL PROTECTED]> To: Sent: Tuesday, September 27, 2005 5:22 PM Subject: Re: [dev] Multiselection copy Robert Merič wrote: I am interested how can I enable multiselection copying. Can you tell me how can I program this function (copy and paste) to copy multiselection. Wheh I am in Calc I want to sellect first and third row and then copy to another list. This function will be very useful for this. If you restrict it to the cases where whole columns/rows are missing from a single rectangular selection, the implementation can be similar to that of filtered rows (look for bIncludeFiltered in ScDocument::CopyFromClip, sc/source/core/data/document.cxx). Niklas - 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]