TinyButStrong - the PHP Template Engine
Categories > TBS next version >

Using getpart with docx subtemplate inclusion

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs

By: Sarah
Date: 2013-01-18
Time: 18:33

Using getpart with docx subtemplate inclusion

It would be a nice feature to be able to use .docx files as subtemplates, especially if getpart could be used with it. This would allow my subtemplates to be maintained in Word without having to separate out the document.xml, rename it, and upload it separately. Maybe the performance hit would be too high to be worth it, but if not, this would be a handy feature.
By: Skrol29
Date: 2013-01-18
Time: 23:04

Re: Using getpart with docx subtemplate inclusion

Insert a docx inside another docx is quite difficult without M Office  because styles and other inner objects that are saved inside each documents can be different.
Thus, the inserted XML will have corrupted references.
I have not the solution yet.