Well it depends what your customer want to do with the document. If don't want to change it, I would go for pdf, since then it is guaranteed, that it look everywhere the same and you can store the document a long time. If you want to change values then of course go for odf. But it sounds like your costumer only wants something to print out.
For pdf there are some examples, but effectively it is nothing else than painting (using QPainter) on a defined piece of paper where you have to positioning the elements. One nice thing is that you can also use a QTextDocument for more advanced text documents and print it directly using QTextDocument::print().





Reply With Quote
Bookmarks