Forum


Replies: 4   Views: 4556
Merging before creation?
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 loktron  · 26-01-2016 - 08:54

Is it possible to merge documents before creating them? I want to use one template, but insert different values to the same variables. Now i do it with a loop, generating a new document everytime, and would then eventually merge them. But this is very slow. So the better way would be to create multible docx objects, replace the variables, merge the objects and then create a single file. Is this possible? I have to generate up to 1000 pages at once and that takes around 2 to 3 hours...

Posted by admin  · 26-01-2016 - 11:15

Hello,

Yes, you can do that easily using the MultiMerge class included in Corporate and Enterprise licenses.

And there're some options to improve the speed of phpdocx. What license and version of phpdocx are you using?

Regards.

Posted by loktron  · 29-01-2016 - 08:16

I use the Try Version now but my company wants to buy the corperate licence next week as we plan to create pdf form letters.

Please tell me how to speed it up! I would really appreciate it. The product is amazing but 200 minutes for 1000 letters is much too long for our users...

Posted by admin  · 29-01-2016 - 12:58

Hello,

After you have purchased a license please write to contact[at]phpdocx.com and we'll be able to help you. The performance can be significantly improved.

Regards.

Posted by loktron  · 01-02-2016 - 06:35

Thank you, I will do that!