I'd like to replace 2 variables in header but it seems that it accepts only one var. How can i repace more than once?
Thanks
I'd like to replace 2 variables in header but it seems that it accepts only one var. How can i repace more than once?
Thanks
Hello,
The method replaceVariableByText (http://www.phpdocx.com/api-documentation/templates/replace-variable-text-Word-document) allows to replace one or more placeholders. Note that you need to set the target parameter to replace placeholders in headers.
Regards.