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
40 stars 22 forks source link

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

Open ylussaud opened 1 year ago

ylussaud commented 1 year ago

This could be something like:

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

jmauersberger commented 1 year 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 1 year 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