I'm currently writing a docx generator in PHP. It creates tables, images, paragraphs e.g. and saves everything in the correct structure to a .zip (.docx). Now i need to include some macros into that .docx.
I have the macros in a .dot Template on a network drive, which is accessible for my .docx documents. How can I link that Template to my .docx-File?
Important: I need an approach to link the .dot file in the source of the .docx file. The macros should be automatically added in every .docx my Web-Tool creates for users.
Thanks for every advice