Is there a way to automatically generate odt files from a given template?
I need to generate many, many similar .odt files that all conform to a standard template. My hack was to explode the .odt file using zip, edit the content.xml file of the template using perl, and re-zip the directory contents to make the .odt file again. Unfortunately that’s too naive :-).
Does anybody know of a method that would allow me to do what is essentially s/oldstr1/newstr1/ on teh content.xml file over many pairs of strings?
Many thanks,
Patrick Healy