Forum


Replies: 5   Views: 304
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 admin  · 06-05-2019 - 14:34

Hello,

All pages of a section share the same headers and footers. It's not possible to add contents to a section that fills more than one page and then add one header for the first page, other for the second page and so on as you say you need to do in the topic: I need to place to each page an unique QR-code. DOCX documents don't allow this.

You need to work with sections to be able to have different headers and footers (https://www.techrepublic.com/blog/microsoft-office/accommodate-different-headers-and-footers-in-a-word-document/). The page numbering is a special content type can be continuous along the sections and it's generated automatically (from the template contents or using addPageNumber).

Regards.