K
K
Kirillkokhv2015-04-13 07:46:32
PHP
Kirillkokhv, 2015-04-13 07:46:32

How to correctly insert a label in MS Word?

Greetings.
There was a need to print document templates with substituted values. Templates are created in MS Word, saved in XML format, then by means of php the required values ​​are supplied.
In the templates, we put placeholders like {deal.number}
The problem is that when saving, Word breaks the line and adds a bunch of tags that are unnecessary for me, so the parameters can no longer be substituted. And this does not always happen, sometimes the label remains in its original form.
How to deal with the brainchild of Microsoft'a?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Mokhov, 2015-04-13
@mokhovcom

use OpenTBS
demo

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question