Forum


Replies: 7   Views: 2565
Replacevariablebytext on wordfragment
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 skicka.spam.hit  · 02-10-2017 - 17:26

Hi, 

Is there anyway to use ReplaceVariableByText on a WordFragment? The WordFragment in question is created by the addExternalFile function. The reason for this weird setup is that this seems to be the only way to make list paragraphs to "restart" and not "continue numbering" (i.e. creating a addExternalFile form a file with the list paragraphs "restarted" and adding this to the document).