Same page multiple times in the same file
I have an ODT model that I fill with python variables in place of the document modifications, then call OpenOffice server to save it as PDF, this works well.
Now I need to achieve something a bit more complex : I have to read an input "cvs-like" text file, each line represents a page in the document. All the pages have the same structure, only the data is different. The number of lines and pages is dynamic. The odf model must have only 1 page that we repeat at will.
a very short example :
my input file :
my odt model :
Dear XX YY
the pdf output file :
Dear Mr John ...
Dear Mrs Smith ...
Is it possible to do this, and how ?
If not directly with AppyPod, will I have to generate 1 file per page, then find a tool (if exists) that will concatenate them into 1 odt file, then convert it to pdf ?
Can you help with this problem?
Provide an answer of your own, or ask Arnaud for more information if necessary.