Forum


Replies: 2   Views: 98
How to improve merging process ?

Posted by admin  · 01-11-2024 - 17:53

Hello,

You could use optimizeDocx to optimize the final DOCX output and reduce its size.

If the headers are the same for all DOCX documents, the easiest approach would be to remove them from the documents to be merged, then do the merging, and finally import the headers/footers using importHeadersAndFooters.

If you also want to improve the performance, Premium licenses allow using in-memory DOCX documents (https://www.phpdocx.com/documentation/cookbook/in-memory-docx-documents).

Regards.