1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Is the odtPHP library supported?
It integrates all that is needed for accomplishing OpenOffice templating. Put the odtphp library files in a directory on your hosting and make the includes required to use it.
Link to this FAQ: