Forum


Replies: 1   Views: 3449
Probleme with adddocx / multiple template
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 tazpitarte  · 03-01-2012 - 08:15

Hi,

i just bought phpDocx to generate contractual document.

Unfortunately it doesn't work like i hope. We work with two different template and i think it's impossible to add the both in one createDocx. So i tried to create two files and merge them thanks to the command "addDocx".

It's two special template with complex layout. At the end the result of the "addDocx" is a bit catastrophic and not usable in a professional context.

Is it a bug or just the normal way to work of the "addDocx" function ?

Is there better way to do this ?

Another question : is it possible to create loop with variable ? Something like this : http://djpate.com/2011/05/18/how-to-generate-a-word-docx-from-a-template-with-php/ it's very usefull.

Thanks a lot and have a good day