Forum


Replies: 1   Views: 4218
Replacevariablebytext in table
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 integralmicro  · 10-06-2016 - 15:55

Hello,

I use phpdocx v4.0 and I have a table with some variable to be replaced by a text (not duplicate line). This table contains 2 columns with :

  • in left column a title
  • in right column the variable to be replaced

I have changed the symbol for # and sometime I have the title and the variable with the same name like :

  • HT | #totalHT#
  • TVA | #TVA#
  • TTC | #totalTTC#

When phpdocx replace #TVA#, the row TVA merge with the row HT like for example:

  • HT | 50€TVA10€
  • TTC | 60€

I have already thousand files with this table and I can't change the name variable in all of them.

Can you help me to prevent the merge for this situation.

 

Thanx