I am converting HTML to DOCX. How can I add a footer to the specific page or footnote also at the end of the specific page?
I am converting HTML to DOCX. How can I add a footer to the specific page or footnote also at the end of the specific page?
Hello,
To accomplish that task you need an Advanced or a Premium license, what license and version of phpdocx are you using?
Regards.
Hello,
To accomplish that task you need an Advanced or a Premium license and work with sections. The Basic package doesn't allow this kind of customization.
Regards.
Ok, let's imagine that I have upgraded my Licence to Advanced. How it can be done now? I just want to be sure that this is exactly what I need before moving to Advanced Licence
Hello,
You can add footnotes to specific contents in sections (MS Word doesn't work with pages but with sections) using DOCXPath (https://www.phpdocx.com/documentation/introduction/docxpath).
If you need to add a custom footer, you'd need to import the footer from an existing DOCX (from a template or generated from scratch using phpdocx) and then use DOCXPath to replace the previous footer.
Regards.