Re: [discuss] commandline tool: render ODT into PS or PDF
Daniel Carrera wrote: I don't know how easy it is. The OOo API is not exactly straight forward. But even if it's not hard, it would make OOo a dependency. Would you want a command-line tool to have a 300MB dependency? (all this assuming that OOo doesn't require an X server if you provide the -invisible option). One of the ODF developers has just confirmed that you can't run OOo without X. He tried the approach of using OOo2 as a back-end and failed. Because OOo requires a lot of things that have no place on a server (like X). Cheers, Daniel. -- /\/`) http://oooauthors.org /\/_/ http://opendocumentfellowship.org /\/_/ \/_/I am not over-weight, I am under-tall. / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [discuss] commandline tool: render ODT into PS or PDF
Henrik Sundberg wrote: Perhaps I misunderstand the question completely. I expect it to be easy to create a macro that exports a document in PDF format. I don't know how easy it is. The OOo API is not exactly straight forward. But even if it's not hard, it would make OOo a dependency. Would you want a command-line tool to have a 300MB dependency? (all this assuming that OOo doesn't require an X server if you provide the -invisible option). Command-line programs are expected to be small, light, and usually pipelinable. All of these would be hard to accomplish using OOo marcos. Cheers, Daniel. -- /\/`) http://oooauthors.org /\/_/ http://opendocumentfellowship.org /\/_/ \/_/I am not over-weight, I am under-tall. / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [discuss] commandline tool: render ODT into PS or PDF
2006/1/14, Markus Heller <[EMAIL PROTECTED]>: > This, however, makes it necessary that a server can generate PS or PDF files > from the ODT templates on a scripting (commandline) base. > > Thus my question: Is there a tool or a method which allows me to render ODT on > the commandline? The tool should not require graphical output since it is > meant to run on a system without an X-server (graphical engine) > Perhaps I misunderstand the question completely. I expect it to be easy to create a macro that exports a document in PDF format. This, together with info from Louis Suarez-Potts in another thread can be what you are looking for: "Like its Microsoft counterpart, OpenOffice has a macro language. You can start up OpenOffice from the Linux or Windows command-line prompt with instructions to to run a particular macro, and you can even pass a filename as a parameter to that macro. Adding the -invisible switch to the command line tells OpenOffice to start up without the graphical user interface (GUI)." HTH /$ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[discuss] commandline tool: render ODT into PS or PDF
Dear list, maybe some of you know the open source enterprise resource planning tool SQL Ledger or its German derivative LX-Office. This tool uses LaTeX template files for purchase orders, offers, bills etc. There are variable fields in the tex files which are filled with the according values, and the tex files are being rendered with latex into DVI->PS->PDF Even though I love LaTeX, I deem it a little too complex for an average business environment and I would like to substitute it by ODT templates. This, however, makes it necessary that a server can generate PS or PDF files from the ODT templates on a scripting (commandline) base. Thus my question: Is there a tool or a method which allows me to render ODT on the commandline? The tool should not require graphical output since it is meant to run on a system without an X-server (graphical engine) Thanks in advance! Markus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [discuss] commandline tool: render ODT into PS or PDF
Hello Markus, Thus my question: Is there a tool or a method which allows me to render ODT on the commandline? The tool should not require graphical output since it is meant to run on a system without an X-server (graphical engine) OOo is not working on such a tool, but the OpenDocument Fellowship is doing something that *might* lead to such a tool. The missing component would be an HTML->PDF convertor. One of our members has been working on an XSLT transformation to turn ODT files into HTML. It's already well advanced. So, if we can find a tool that converts HTML to PDF, we could combine them. Do you know of any program to convert HTML to PDF? Cheers, Daniel. -- /\/`) http://oooauthors.org /\/_/ http://opendocumentfellowship.org /\/_/ \/_/I am not over-weight, I am under-tall. / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]