Replies: 1   Views: 3495
Template variables and multiple lines
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by gbressel  · 13-02-2013 - 14:57

Replacing a template variable by multiple lines generally works. (Like in example at

But, if your word template is like:


The replaced line looks like:

Address: (TAB)(TAB)(TAB)Peter Principle
Address: (TAB)(TAB)(TAB)Living in the Dark 17
Address: (TAB)(TAB)(TAB)31111 No Place to Live

The content before the replaced Variable is beeing repeated through each line.