I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
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