Re: [dev] A few brief questions ad extension packages (Re: [dev] Class-Path Entry in Manifest Package File and the Location of the Respective jars?

2007-02-05 Thread Stephan Bergmann
Rony G. Flatscher wrote: Hi Stephan, thank you very much for your answers! ... cut ... * ad application/vnd.sun.star.uno-component;type=native: No, such files are not put on any path. If those libraries are UNO libraries that support services/singletons, they will be found by the UNO

Re: [dev] Roundup extension packages for scripting engines ... (Re: [dev] A few brief questions ad extension packages (Re: [dev] Class-Path Entry in Manifest Package File and the Location of the Respe

2007-02-05 Thread Stephan Bergmann
Rony G. Flatscher wrote: Hi Stephan, after further experimentations a synopsis: * In order to install a scripting package under OOo one needs to supply a jar-file according to the scripting framework specs o if all parts are Java then adding all needed classes to that

Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Stephan Bergmann
Rony G. Flatscher wrote: Hi Caio Tiago, thank you *very* much, your directions worked right out of the book! ;) First I deinstalled the Ubuntu OOo, then followed your instructions and was able to install the genuine OOo from the OOo homepage, getting the standard installation tree on the /opt

Re: [dev] constructors in tools string classes

2007-02-05 Thread Stephan Bergmann
Takashi Ono wrote: Hi, Although the use of string classes in tools project is commented as depreciated, they are still used in many codes. They have constructors with one numeric argument to generate string of one character. To protect the misuse of these constructors, the class definition

Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Juergen Schmidt
Hi Rony, Rony G. Flatscher wrote: Hi there, just wanted to report that the genuine OOo 2.1 can be invoked via Java from the command line, whereas the Ubuntu version cannot. Did remove the genuine OOo 2.1 and re-installed the Ubuntu OOo 2.0.4 version (the latest they have). The Ubuntu version

Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Rony G. Flatscher
Hi, these were the required jar files suggested by netbeans: (i noticed you didnt mention jut.jar in the comments of your code) juh.jar jurt.jar jut.jar officebean.jar ridl.jar unoil.jar Thank you for this list, will look into it! --- Ad your environment: it seems that you have the

Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Rony G. Flatscher
Hi, these were the required jar files suggested by netbeans: (i noticed you didnt mention jut.jar in the comments of your code) juh.jar jurt.jar jut.jar officebean.jar ridl.jar unoil.jar One last remark: it is likely that your pacakge works because of officebean.jar. But I would

Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread ashok _
I tried executing the attached jar file on another ubuntu edgy box WITHOUT netbeans or the OO sdk...with just OO2.04 (the standard Ubuntu openoffice installation) installed, it works perfectly, if i do either : java -jar helloworld.jar or if do a launch with JVM from the Gnome file manager...

Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread ashok _
In fact... officebean.jar is not required for the helloworld appit was suggested by the netbeans wizard, but it will work without it On 2/5/07, Rony G. Flatscher [EMAIL PROTECTED] wrote: One last remark: it is likely that your pacakge works because of officebean.jar. But I would not

Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Rony G. Flatscher
Hi, In fact... officebean.jar is not required for the helloworld appit was suggested by the netbeans wizard, but it will work without it That is very interesting! Could you please either send me the jar-file (or its included manifest file) and the settings of CLASSPATH, PATH and

Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Rony G. Flatscher
Hi Stephan, The Ubuntu layout you described in a previous mail (libs in /usr/lib/openoffice/program, jars in /usr/share/java/openoffice) cannot work (at least not without some modifications to the OOo code base). Not sure why Ubuntu decided to ship a broken OOo (maybe they are not even aware

Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Rony G. Flatscher
Hi Jürgen, the problem is quite simple. The Ubuntu guys install OpenOffice or part of it in a way which is not supported in all cases. For example the Java UNO bootstrap mechanism depends on a specific layout (directory structure, Stephan has pointed out earlier). And yes i agree that they

Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Juergen Schmidt
Rony G. Flatscher wrote: Hi, In fact... officebean.jar is not required for the helloworld appit was suggested by the netbeans wizard, but it will work without it That is very interesting! Could you please either send me the jar-file (or its included manifest file) and the settings of

Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread ashok _
i have sent you the project with the build scripts offlist... but you dont need things like ld_library_path for the jar deploymet to work... there is an installationfinder loader packaged within the jar which locates the openoffice installation and other arbitary paths automatically which i

Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Jim Watson
Rony G. Flatscher wrote: See, I would like to learn what is needed for an out-of-the-box Ubuntu OOo installation to be employed to run Java apps from the command line. (Here SDK/NetBeans/Eclipse setups can come into ones way as it is then not always clear which environment is in effect under

[dev] Next .... (Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Rony G. Flatscher
Hi there, thanks to everyone, I was not aware of special needs to find OOo. Ashok was kind enough to send me his jar file, and its content is: Archive: helloworld.jar testing: META-INF/OK testing: META-INF/MANIFEST.MF OK testing: org/ OK

Re: [dev] Next .... (Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Jim Watson
Rony G. Flatscher wrote: However, *where* would one find the com.sun.star.lib.loader. package? Look in the SDK/classes directory... Get the SDK at api.openoffice.org jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For

[dev] SDK-only Java libs? (Re: [dev] Next .... (Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Rony G. Flatscher
Hi Jim, However, *where* would one find the com.sun.star.lib.loader. package? Look in the SDK/classes directory... Get the SDK at api.openoffice.org Oh, I see. Was not aware of that at all. But this would mean that one cannot reliably deploy Java applications from the command line without

Re: [dev] SDK-only Java libs? (Re: [dev] Next .... (Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Rony G. Flatscher
Hi there, just a stupid question: why doesn't the Bootstrap helper class use the com.sun.star.lib.loader. knowing the important role of that library to find the OO executable ? Regards, ---rony However, *where* would one find the com.sun.star.lib.loader. package? Look in the

[dev] Extension Manager [was: Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java]

2007-02-05 Thread Stephan Bergmann
Rony G. Flatscher wrote: Hi Stephan, The Ubuntu layout you described in a previous mail (libs in /usr/lib/openoffice/program, jars in /usr/share/java/openoffice) cannot work (at least not without some modifications to the OOo code base). Not sure why Ubuntu decided to ship a broken OOo (maybe

Re: [dev] SDK-only Java libs? (Re: [dev] Next .... (Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Stephan Bergmann
Rony G. Flatscher wrote: Hi there, just a stupid question: why doesn't the Bootstrap helper class use the com.sun.star.lib.loader. knowing the important role of that library to find the OO executable ? See http://www.openoffice.org/issues/show_bug.cgi?id=66050 for a planned improvement in

Re: [dev] Extending the binfilter Module

2007-02-05 Thread Thorsten Behrens
Mathias Bauer [EMAIL PROTECTED] writes: As long as no must changes are due the only disadvantage of binfilter in its current form is that it must be rebuilt sometimes. That's bearable. That reads each time for almost everybody outside Sun. But OTOH, it would prolly only shave off 3 minutes on

Re: [dev] Extending the binfilter Module

2007-02-05 Thread Thorsten Behrens
Jens-Heiner Rechtien [EMAIL PROTECTED] writes: Thorsten Behrens wrote: Hm - hard to estimate how many of those binary documents are still in active use. And it would be interesting if they are kept just because of laziness, or for good reasons (I clearly suspect the former). Laziness is

Re: [dev] A few brief questions ad extension packages (Re: [dev] Class-Path Entry in Manifest Package File and the Location of the Respective jars?

2007-02-05 Thread Stephan Bergmann
Rony G. Flatscher wrote: Hi Stephan, , in the case of the ooRexx scripting engine: * there is a platform dependent DLL/so which needs to be accessible (at the moment I copy it into OOoHome/program), so the library is *not* an UNO-component, just a native library, * there

Re: [dev] Extending the binfilter Module

2007-02-05 Thread Frank Schönheit - Sun Microsystems Germa ny
Hi Rüdiger, being late to the thread, and being the one who implicitly initiated this ... Why would you copy additional stuff into binfilter? Because binfilter has a code base which lives several years in the past, whilst the current code base moves forward constantly. At some point, you

[dev] CWS configrefactor01 unit tests ...

2007-02-05 Thread Michael Meeks
Hi Stefan, Any chance you can help me get some skeletal unit tests setup for CWS configrefactor01 ? I'm very happy to write nice chunks of unit test, but getting the environment setup (and some config data to play with) is more problematic I think. I checked in the (simple enough)

Re: [dev] How to add a menu item in the File menu?

2007-02-05 Thread Vladimir Glazounov
Hello 蒋闯, As far as I can see the the file format is broken. I think you have bypassed the localization procedure. The process is described here: http://www.khmeros.info/tools/oo2.0_program_translaltion.html Pavel, please correct me if you have a better link for this case. You also may try to

[dev] Re: CWS configrefactor01 unit tests ...

2007-02-05 Thread Stephan Bergmann
Michael Meeks wrote: Hi Stefan, Any chance you can help me get some skeletal unit tests setup for CWS configrefactor01 ? I'm very happy to write nice chunks of unit test, but getting the environment setup (and some config data to play with) is more problematic I think. I checked in the

[dev] formulas OO

2007-02-05 Thread Lucas Momparler
Hello, Why the mathematical formulas in all OO versions have so low graphic quality? This happens specially when you save as HTML to publish online. 3+2 can appear as 3-2 ! From version to version of OO you can see many design changes: icons, logos, presentations, buttons,... but when it

[dev] sc project to fix flashing of cells

2007-02-05 Thread Gregg Weber
Hi, I would like to work on a change to the sc code. I have built the 2.0.4 source on my machine, and browsed the code for a month or so. The change my company wants me to make involves improving the drawing of the cells area of the sc window. Currently, it flashes, because the whole thing is

Re: [dev] sc project to fix flashing of cells

2007-02-05 Thread Niklas Nebel
Gregg Weber wrote: I would like to work on a change to the sc code. I have built the 2.0.4 source on my machine, and browsed the code for a month or so. The change my company wants me to make involves improving the drawing of the cells area of the sc window. Currently, it flashes, because the