T
T
turbo_exe2013-03-29 13:56:52
PHP
turbo_exe, 2013-03-29 13:56:52

What php library would you recommend for working with odt?

what is needed:
take the odt template, replace the variables in it with values, save without knocking down the formatting.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Vladimir Rybakov, 2013-03-29
@turbo_exe

Used here such piece of OpenTBS for substitution of the data in xlsx
It and with odt and with docx is able to work.
It seemed quite convenient, at least compared to other solutions that I managed to look at.

I
iamwizard, 2013-03-29
@iamwizard

odt is a zip archive that, among other things, contains content.xml - directly text, add $ {variabe} tags to it and feed it to smarty - that's the template.

V
Vyacheslav Plisko, 2013-03-29
@AmdY

str_replace, In your case, it doesn't matter what file format, the main thing. so that there are unique placeholders that can be replaced.

N
Nikita Gusakov, 2013-03-29
@hell0w0rd

github.com/search?l=PHP&q=odt&ref=commandbar&type=Repositories

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question