Replies: 8   Views: 4739
Addtemplatevariable & 'table' with line breaks in table cells
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 falcana  · 14-01-2014 - 09:56

Thanks for the reply. Unfortunately your suggestion isn't an option for me. It's not predictable, how many line breaks the cell content will contain, as it is user generated content. The user can enter 2 or 20 lines or even more.

Isn't it possible to solve this somehow? You only need to consider the "\n" in the content and make a line break out of it in the docx.

I'm sure I'm not the only user facing this problem.