Forum


Replies: 1   Views: 3518
Bookmarking between words (with templates)
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 admin  · 17-06-2015 - 13:57

Hello, We recommend you to use addBookmark and addLink methods together, one to refer the other, but getting their WordFragment. Then replace existing placeholders in your documents by these WordFragments. The method replaceVariableByWordFragment (http://www.phpdocx.com/api-documentation/templates/replace-variable-word-fragment-Word-document) allows to replace placeholders by WordFragments. Regards.