I support a couple of PHP and mySQL based web databases in a shared hosting package. Databases have a mechanism for the user to load OpenOffice documents using placeholders:
[person.name] [person.address] [person.postcode]
Then I use this great PHP tool to run through an OpenOffice document and insert values ββfrom the database into it. The result will again be an OpenOffice document.
What he cannot do is dynamic images .
Does anyone know - only a PHP solution is desirable - to embed images in OpenOffice documents?
- I know PUNO . It is impossible to use it in this context because it shares hosting.
- I know that OpenOffice can be run as a daemon - the same thing.
- I know phpDocWriter . This was great for SXW files, but now they are dead.
- I know that OpenDocument is a collection of XML files in a ZIP file. Once I tried to programmatically add a caption to each image in an ODT document. It drove me crazy with insanity. I look with admiration at the developers who work with the format, but this is not for me.
I would really appreciate any hints of existing solutions.
source share