Forum


Replies: 2   Views: 2451
Table issue when try to clone block
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 office_icsl  · 01-12-2017 - 12:18

I'm currently generating a Word Document from template and noticed wierd behaviour trying to use Clone Block, which includes table with some variables, and then replacing the variables with ReplaceTableVariables method with first match flag. All tables exclude the last one contain only first item from array, the last one has all items in it. I suppose it's some kind of bug, because by only one data structure, which compatible with replaceTableVariables (array of arrays) everything works fine