Re: [dev] scripting openoffice

2006-10-09 Thread Éric Bischoff
Le Lundi 9 Octobre 2006 17:01, James Courtier-Dutton a écrit : > Éric Bischoff wrote: > > Le Lundi 9 Octobre 2006 11:47, James Courtier-Dutton a écrit : > >> Is it possible to do this on a server that is not running X? > >> I.e. The script would run without any GUI. > >> > >> James > > > > Yes. I'v

Re: [dev] scripting openoffice

2006-10-09 Thread James Courtier-Dutton
Laurent Godard wrote: > Hi james > >> The script runs a lot faster now. >> I can now do my processing task in about 1 min, whereas before it took >> me about 30 mins to do it all manually. >> > > great !! > any sumarry in the wiki would be very usefull > http://wiki.services.openoffice.org/wiki/M

Re: [dev] scripting openoffice

2006-10-09 Thread Laurent Godard
Hi james The script runs a lot faster now. I can now do my processing task in about 1 min, whereas before it took me about 30 mins to do it all manually. great !! any sumarry in the wiki would be very usefull http://wiki.services.openoffice.org/wiki/Main_Page Thanks Laurent -- Laurent God

Re: [dev] scripting openoffice

2006-10-09 Thread James Courtier-Dutton
Laurent Godard wrote: > Hi > >> Last thing to solve. I cannot seem to get it to function without X. >> > > run it inside Xvfb > look at --headless swtich of soffice > > Laurent > The script runs a lot faster now. I can now do my processing task in about 1 min, whereas before it took me about 3

Re: [dev] scripting openoffice

2006-10-09 Thread Jürgen Schmidt
James Courtier-Dutton wrote: Éric Bischoff wrote: Le Lundi 9 Octobre 2006 11:47, James Courtier-Dutton a écrit : Is it possible to do this on a server that is not running X? I.e. The script would run without any GUI. James Yes. I've sent that program to you in private to avoid polluting the l

Re: [dev] scripting openoffice

2006-10-09 Thread Laurent Godard
Hi Last thing to solve. I cannot seem to get it to function without X. run it inside Xvfb look at --headless swtich of soffice Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com - h

Re: [dev] scripting openoffice

2006-10-09 Thread James Courtier-Dutton
Éric Bischoff wrote: > Le Lundi 9 Octobre 2006 11:47, James Courtier-Dutton a écrit : >> Is it possible to do this on a server that is not running X? >> I.e. The script would run without any GUI. >> >> James > > Yes. I've sent that program to you in private to avoid polluting the list. > > Last

Re: [dev] scripting openoffice

2006-10-09 Thread James Courtier-Dutton
Laurent Godard wrote: > Hi > >> Now, where do I find a list of valid "Filtername" values? >> I have asked google for details of the storeToURL function, and it gave >> me some pages from the openoffice web site api.openoffice.org. >> > > you'll find some there > http://oooconv.free.fr/oooconv/ooo

Re: [dev] scripting openoffice

2006-10-09 Thread Éric Bischoff
Le Lundi 9 Octobre 2006 15:58, James Courtier-Dutton a écrit : > Now, where do I find a list of valid "Filtername" values? api.openoffice.org > I have asked google for details of the storeToURL function, and it gave > me some pages from the openoffice web site api.openoffice.org. Er... y

Re: [dev] scripting openoffice

2006-10-09 Thread Laurent Godard
Hi Now, where do I find a list of valid "Filtername" values? I have asked google for details of the storeToURL function, and it gave me some pages from the openoffice web site api.openoffice.org. you'll find some there http://oooconv.free.fr/oooconv/oooconv_fr.html Laurent -- Laurent Godard

Re: [dev] scripting openoffice

2006-10-09 Thread James Courtier-Dutton
Éric Bischoff wrote: > > My version of the program is used to convert from Open Document to Word in > the > context of an enterprise where some people did not migrate yet, to help them > exchange documents with their colleagues. > > If you want to convert in the opposite direction, just change

Re: [dev] scripting openoffice

2006-10-09 Thread Éric Bischoff
Le Lundi 9 Octobre 2006 15:41, James Courtier-Dutton a écrit : > Thank you, I have a problem with it though: > Pop-up-box: BASIC runtime error. > An exception occured > Type: com.sun.star.lang.IllegalArgumentException > Message: URL seems to be an unsupported one. > > document = bureau.loadComponen

Re: [dev] scripting openoffice

2006-10-09 Thread James Courtier-Dutton
Éric Bischoff wrote: > Le Lundi 9 Octobre 2006 11:47, James Courtier-Dutton a écrit : >> Hi, >> >> Is it possible to use a unix shell script to get openoffice to >> manipulate documents. >> e.g. >> A bash script would take a list of MS Word .doc files, and convert them >> all the .odt files or visa

Re: [dev] scripting openoffice

2006-10-09 Thread Laurent Godard
Hi Eric Éric Bischoff a écrit : Le Lundi 9 Octobre 2006 14:22, Laurent Godard a écrit : Hi eric Yes. I've sent that program to you in private to avoid polluting the list. may be a page on the wiki as it is a regular demand ? No problem, but can you please add that page? My problem is sa

Re: [dev] scripting openoffice

2006-10-09 Thread Éric Bischoff
Le Lundi 9 Octobre 2006 14:22, Laurent Godard a écrit : > Hi eric > > > Yes. I've sent that program to you in private to avoid polluting the > > list. > > may be a page on the wiki as it is a regular demand ? No problem, but can you please add that page? The code that I have sent is basically you

Re: [dev] scripting openoffice

2006-10-09 Thread Laurent Godard
Hi eric Yes. I've sent that program to you in private to avoid polluting the list. may be a page on the wiki as it is a regular demand ? Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo

Re: [dev] scripting openoffice

2006-10-09 Thread Éric Bischoff
Le Lundi 9 Octobre 2006 11:47, James Courtier-Dutton a écrit : > Hi, > > Is it possible to use a unix shell script to get openoffice to > manipulate documents. > e.g. > A bash script would take a list of MS Word .doc files, and convert them > all the .odt files or visa versa. > > Is it possible to

[dev] scripting openoffice

2006-10-09 Thread James Courtier-Dutton
Hi, Is it possible to use a unix shell script to get openoffice to manipulate documents. e.g. A bash script would take a list of MS Word .doc files, and convert them all the .odt files or visa versa. Is it possible to do this on a server that is not running X? I.e. The script would run without an