Forum


Replies: 1   Views: 3857
Modify page layout within fragment
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  · 11-03-2015 - 11:59

Hello, The current version of phpdocx doesn't allow to do that dinamically changes with templates. The addSection method allows to do that but only creating documents from scratch. Maybe you could do it using the MultiMerge class. This is working with documents and merge them to get the derised output. About your error, not all methods allow to be used with WordFragments. Anyway we'll consider adding it or a similar approach. Regards.