Re: [dev] Source Code
Where can I get Source Code for OpenOffice? best regards Robert Hrovat - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] SourceCode
I have already four it thanks best regards Robert - Original Message - From: Niklas Nebel [EMAIL PROTECTED] To: dev@openoffice.org 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]
Re: [dev] unopkg - installation of java component fails in most cases with OO 1.9_m130...
Hi again, I could reproduce your problem: the culprit seems to be the -agentlib parameter in your java-settings. Removing this entry worked for me. Regards, Steffen Oliver Brinzing wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I tried to install a java component with OO 1.9_130 using unopkg ... sometimes it works, but in most cases the installation fails with: WARNING: An error occurred while enabling the package: mycomp.uno.jar, Cause: (com.sun.star.registry.CannotRegisterImplementationException) { { Message = Could not create Java implementation loader, Context = (com.sun.star.uno.XInterface) 0x0 } } I am using Java 1.5.0_05-b05 The installation of the same package *always* works with OO 1.1.5 ... any hints ? 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 iD8DBQFDNRnaTiyrQM/QSkURAnhCAJ9vtQa2YstM8lmqS5P9aUPavz/QFwCfY+Ez lbs779dN07Aa9XUhQ0jcxqI= =xW7J -END PGP SIGNATURE- - 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]
Re: [dev] OO2 130 and OfficeBean
Hi, 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) With the current design it is not supported that the jar files are relocated. That is, they must be located in the program/classes directory. In a sense, the office installation must be regarded as one entity and hence cannot be split up. 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 What I meant is, one could use an own class loader that knows the location of the office and which loads the class files of your application. This class loader is passed into the NativeClassLoader: File path = NativeLibraryLoader.getResource( LocalOfficeConnection.class.getClassLoader(), aExec); Then this loader would be asked to get the path to the executable. 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) We intent to extend the OOoBean to be used along with the simple bootstrap mechanism. There is an example in the SDK: SDK\examples\DevelopersGuide\ProfUNO\SimpleBootstrap_java which uses a special loader class to load the application. The loader class com.sun.star.lib.loader.Loader can be found in the project ODK: odk\source\com\sun\star\lib\loader\Loader A description about this bootstrap mechanism can be found in the Developer's Guide, chapter 3.4.1 Java Language Binding, sub chapter Transparent Use of Office UNO Components However the OOoBean must be changed so that it can be passed an XComponentContext. The advantage would be that one can start the Java app (must be a jar) without putting all the office jars in the class path. It is much better that getProgramPath or NativeClassLoader use PATH (and yet any use variable) for search) Although this would be possible we once decided that applications must use the jars from the office installation which is being used (this allows to have different office installations). 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) I will put that on the list for testing. Thanks, Joachim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] OO2 130 and OfficeBean
On Wednesday 28 September 2005 10:54 am, Joachim Lingner wrote: Hi, We intent to extend the OOoBean to be used along with the simple bootstrap mechanism. There is an example in the SDK: SDK\examples\DevelopersGuide\ProfUNO\SimpleBootstrap_java which uses a special loader class to load the application. The loader class com.sun.star.lib.loader.Loader can be found in the project ODK: odk\source\com\sun\star\lib\loader\Loader A description about this bootstrap mechanism can be found in the Developer's Guide, chapter 3.4.1 Java Language Binding, sub chapter Transparent Use of Office UNO Components I try it 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) I will put that on the list for testing. I try it on ubuntu 5.10 with gnome 2.12 (gtk 2.8.3) and it doesn't work (your example OOoBeanViewer doesn't work , too) When I set SAL_USE_VCLPLUGIN=kde it work fine on ubuntu, too With gtk it haven't exception, connection (start) soffice is fine, but panel is empty Thanks Haris Peco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Multiselection copy
Robert Merič wrote: 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? Just copying a few lines won't suffice. Where cells are copied to the clipboard (ScViewFunc::CopyToClip or ScDocument::CopyToClip), you'll have to add code that finds the left-out columns/rows and stores that information with the clipboard content, and then where pasting, use that stored information. You will need to dig quite deep into the code for it. Niklas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] the lack of a really important fetaure in spreadshet
Markus Ralser wrote: 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. Yes, this has been suggested before, and it's on the list of Ideas and Feature Wishes for the new Chart at http://graphics.openoffice.org/chart/featurewishes.html. Niklas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] OO2 130 and OfficeBean
On Wednesday 28 September 2005 10:54 am, Joachim Lingner wrote: Joachim, ... We intent to extend the OOoBean to be used along with the simple bootstrap mechanism. There is an example in the SDK: SDK\examples\DevelopersGuide\ProfUNO\SimpleBootstrap_java which uses a special loader class to load the application. The loader class com.sun.star.lib.loader.Loader can be found in the project ODK: odk\source\com\sun\star\lib\loader\Loader A description about this bootstrap mechanism can be found in the Developer's Guide, chapter 3.4.1 Java Language Binding, sub chapter Transparent Use of Office UNO Components However the OOoBean must be changed so that it can be passed an XComponentContext. The advantage would be that one can start the Java app (must be a jar) without putting all the office jars in the class path. I try SimpleBootstrap_java.java (and another exampel form OfficeDev) and it work fine with both (kde and gtk).How I can add open OO frame to my Java panel (frame) ? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Multiselection copy
I found bIncludeFiltered in documentation and what must i do with this implementation. I think i must copy this implementation to function CopyFromClip. But wheere must I copy this and what must I do that this thing work in Calc' thanks best regards Robert - Original Message - From: Niklas Nebel [EMAIL PROTECTED] To: dev@openoffice.org 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]
Re: [dev] unopkg - installation of java component fails in most cases with OO 1.9_m130...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Steffen, I could reproduce your problem: the culprit seems to be the -agentlib parameter in your java-settings. Removing this entry worked for me. you are right :-) i use this setting for remote debugging ... but i found a workaround: unopkg remove swttest.uno.zip unopkg add swttest.uno.zip via commandline seems to work in all cases ... only unopkg reinstall -v causes the problem thanks 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 iD8DBQFDOtO9TiyrQM/QSkURAvygAJ9ZVC62mZiWT2UCM6z8JxsZtBxGuQCfZevW LzvdFTaw72apkk7Rxijhm08= =11RF -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] OO2 130 and OfficeBean
On Wednesday 28 September 2005 07:05 pm, snpe wrote: I try SimpleBootstrap_java.java (and another exampel form OfficeDev) and it work fine with both (kde and gtk).How I can add open OO frame to my Java panel (frame) ? Thanks I play with Desk.java from odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java and get this error when resize JSplitPane CE CE (soffice.bin:29942): Gdk-WARNING **: GdkWindow 0x360013f unexpectedly destroyed CE CE (soffice.bin:30014): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GtkWidget' CE CE (soffice.bin:30014): Gtk-CRITICAL **: gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)' failed resize doesn't work (it doeesn't work on kde, too) or this (soffice.bin:30377): Gdk-WARNING **: GdkWindow 0x3600038 unexpectedly destroyed CE CE (soffice.bin:30444): GLib-GObject-WARNING **: invalid uninstantiatable type `GObject-weak-references' in cast to `GtkWidget' CE CE (soffice.bin:30444): Gtk-CRITICAL **: gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)' failed - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]