Forum


Replies: 4   Views: 3585
Replacevariablebyexternalfile changes border and background colors of tables
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 Philippe GAUTHIER  · 29-08-2016 - 14:00

Hello,

I am integrating a Word docx file into another using replaceVariableByExternalFile. The first one contains tables having different background colors (blue, green and orange). The second one contains just the template var replaced by the first document.

As a result, the tables border and background colors are all messed up (changed to respectively a kind of light blue, dark grey and green, borders and background alike).

Thx for your answers.