Advanced

How to automatically create OpenDocument invoices without OpenOffice

Posted by mfioretti on · 2 comments
Stop! Zona-m; By M. Fioretti
Mail this story
Print this story

Here is a script takes an Opendocument template and fills it with data from a plain text file (which could be generated on the fly by querying a database or in many other ways), creating an OpenDocument invoice ready to be printed or sent via email.

Full Story

  Nav
» Read more about: Groups: OpenOffice.org

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments (2)

Sander_Marechal ·
The script will lead to an ODF file with an invalid mimetype. Creating an ODF file using the zip command on the commandline is only slightly more complicated. See this article on my blog: http://www.jejik.com/articles/2010/03/how_to_correctly_creat...
mfioretti ·
Sander, thanks for the suggestion, which indeed fixes the weak part of the script. Somebody else already added yesterday another way to achieve the same result, you'll find it in the comments. I have already added your comment too to the article.

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post