Posted on 2011-07-11 04:27:58.435699-07 by mcfaq in response to 13391
Re: Create Document via template (*.ott)
Here are the links to the sources and the resulting Opendocument:
perl prog:
http://dl.dropbox.com/u/34353811/OpenOffice-OODoc/ootest.pl
template being used effetively:
http://dl.dropbox.com/u/34353811/OpenOffice-OODoc/template.odt
template normally to be used by Openoffice or LibreOffice Editors:
http://dl.dropbox.com/u/34353811/OpenOffice-OODoc/template.ott
Pictures to be used in result document by using the template:
http://dl.dropbox.com/u/34353811/OpenOffice-OODoc/pic1.jpg
http://dl.dropbox.com/u/34353811/OpenOffice-OODoc/pic2.jpg
The wrong result file:
http://dl.dropbox.com/u/34353811/OpenOffice-OODoc/myfile.odt
To reproduce the result yust do this:
Copy the files without myfile.odt to folder /var/www.
Invoke perl ootest.pl
Kind regards.
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.