| View previous topic :: View next topic |
| Author |
Message |
lbartnik Newbie

Joined: 01 Mar 2006 Posts: 1 Location: Poland
|
Posted: Wed Mar 01, 2006 4:53 pm Post subject: Reporting with OOWriter from command line with pdf export |
|
|
My task is to provide a website where one can choose some data and make a pdf out of it. I'm using fop (from Apache foundation) but it's a bit slow and requires a xml file. I wonder wheter it is possible to user OO Writer?
There are 2 problems: oowriter has to be started from the command line and the SQL query which determines data has its parameters (which in that case are to be provided in the command line).
Can anybody help me? I don't know how to use parametrised query. I don't know how to run oowriter from command line and have it produced a pdf file. I don't know how to provide those parameters in the command line.
Thanks for any help! |
|
| Back to top |
|
 |
hol.sten Super User


Joined: 14 Nov 2004 Posts: 3531 Location: Hamburg, Germany
|
Posted: Wed Mar 01, 2006 11:37 pm Post subject: Re: Reporting with OOWriter from command line with pdf expor |
|
|
| lbartnik wrote: | | My task is to provide a website where one can choose some data and make a pdf out of it. I'm using fop (from Apache foundation) but it's a bit slow and requires a xml file. |
If fop is to slow, OOo will be to slow, too. My guess it, that OOo will be much slower.
| lbartnik wrote: | | I wonder wheter it is possible to user OO Writer? |
Yes, at least it should be possible.
| lbartnik wrote: | | I don't know how to run oowriter from command line and have it produced a pdf file. I don't know how to provide those parameters in the command line. |
Read this http://www.oooforum.org/forum/viewtopic.phtml?t=3772 for example.
With kind regards
hol.sten |
|
| Back to top |
|
 |
claudiotaunay Newbie

Joined: 10 Apr 2010 Posts: 1
|
Posted: Sat Apr 10, 2010 10:58 am Post subject: Use abiword command line |
|
|
Hi,
You can use the command line abiword
take a look:
abiword --to=pdf /tmp/bar.odt
PS: abiword is similar de oowriter |
|
| Back to top |
|
 |
|