ObeoNetwork / M2Doc

The M2Doc technology enables the generation of Office Open XML documents from models.
http://obeonetwork.github.io/M2Doc/
Eclipse Public License 2.0
38 stars 22 forks source link

Add a service to insert an other .docx. #509

Open ylussaud opened 10 months ago

ylussaud commented 10 months ago

This could be something like:

This service implies we make sure to copy any style, numbering, ... into the generated document.

jmauersberger commented 10 months ago

... and that other document is also handled as m2doc template? So all dynamic stuff is resolved? Or is that just static content.

ylussaud commented 10 months ago

The idea here is for static content only.

But I added support for name spaces and import extend to AQL for Acceleo 4. At some point I would like to be able to leverage this in M2Doc and made it possible to extend templates and override template constructs or import other template to reuse template constructs.

And why not be able to mix Acceleo 4 modules with M2Doc templates and vise versa...

But this work is not planed at the moment. I opened an issue for this feature:

https://github.com/ObeoNetwork/M2Doc/issues/510