Re: [dev] Openoffice automation using a service

2009-09-14 Thread tora - Takamichi Akiyama
Hi, Wei Min Teo wrote: The first instance of soffice.exe is start by the bootstrap command, it is ran as SYSTEM. I did not use any command line options just the default bootstrap function cppu::bootstrap(). I am sorry, but I cannot understand what you are saying. bootstrap command, bootstrap

RE: [dev] Openoffice automation using a service

2009-09-14 Thread Wei Min Teo
Hi, Sorry for the confusion, I meant using the bootstrap function instead of the bootstrap command. This is in a program ran as local system. I used C++ for coding. I used the sample code from this url :http://wiki.services.openoffice.org/wiki/UNO_registery_and_Bootstrapping under The

Re: [dev] hsqldb patch (cws dba32h) for OOo 3.2

2009-09-14 Thread Caolán McNamara
On Mon, 2009-09-14 at 07:16 +0200, Ocke Janssen wrote: Moin, in cws dba32h a patch for hsqldb will be applied. For those using a system hsqldb on their build environment please apply the patch as well. Thanks. btw, we have multi patch file support now so instead of...

Re: [dev] Openoffice automation using a service

2009-09-14 Thread tora - Takamichi Akiyama
Hi Wei, Wei Min Teo wrote: I used the sample code from this url :http://wiki.services.openoffice.org/wiki/UNO_registery_and_Bootstrapping under The new ::cppu::bootstrap() function. Thank you for the information. Now I understand. What I have just learned from that are It seems that

Re: [dev] Openoffice automation using a service

2009-09-14 Thread tora - Takamichi Akiyama
Another possible way (still, I am not sure, though): (1) Start soffice.exe as a normal user account with the following command line options. soffice.exe -nofirststartwizard -nologo -nodefault -norestore -nocrashreport -nolockcheck (2) And then use a recent way such as ::cppu::bootstrap() to

Re: [dev] Openoffice automation using a service

2009-09-14 Thread tora - Takamichi Akiyama
Sorry for multiple emails. If you attempt to use the following way, the user account for (1) and (2) must be identical. Otherwise, (2) will start another instance of soffice.bin from the scratch even though (1) is already running. The reason is that (1) will be waiting at its own named pipe,

[dev] Setting column optimal width for text columns in Writer

2009-09-14 Thread Michael Mellinger
I'm trying to do something similar to this using OpenOffice Writer. http://stackoverflow.com/questions/1364516/openoffice-api-optimalwidth-option-for-tableall-columns We have lots of documents with tables. Getting the tables formatted correctly is difficult. -Mike