Forum


Replies: 3   Views: 3542
Multi-templated paged document
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 arcmedia  · 04-03-2015 - 10:44

I cannot find the way to concatenate multiple templates into one document. I have several WordFragment objects constructed from CreateDocxFromTemplate objects. How do I stitch them together, each in its own section? I have found the much promising method "insertWordFragmentAfter", but I can't seem to find any clear documentation for it (epecially for its parameter "referenceNode"). (Follow-up question: Once stiched together, how do I insert paging into a common variable?)