Forum


Replies: 3   Views: 2822
Is ti possible to insert new text on a document at the end ?
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  · 24-04-2018 - 07:24

Hello,

A DOCX is not 'painted' as a PDF, it's more similar to HTML. So there's no option to know the exact position of a content until the DOCX is open using MS Word, LibreOffice, Google Docs or any other program, and the position and layout may vary depending on the program used.

The only way to accomplish what you need is using footers or sections. DOCXPath can query by section tags as well.

Regards.