Forum


Replies: 5   Views: 306
How to place different qr-codes to pages in a docx-document?
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 alex_passionfive  · 06-05-2019 - 12:49

If the final DOCX has a placeholder that appear more than one time, and it needs to be replaced by unique contents, the firstMatch option available in replace methods can be used.

firstMatch doesn't work for me, if the placeholder is located in the footer or in the header. The QR-Code should be at the top of the document. Is there a solution? And if I set firstMatch=true, how can I replace the placeholder in the rest of the pages?