Document Generation with M2Doc

Session details
Session Type: 
Experience level: 

Not everyone uses modeling tools and the awesome work one can do with these tools must be conveyed to the outside world, for instance, in the form of documents.

The M2Doc technology enables the generation of Office Open XML documents from Ecore models and Sirius representations.

The overall approach M2Doc implements consists in creating templates in the OOX format where static text authoring benefit from the WYSIWYG capabilities of the usual tools (e.g. Microsoft Word). Dynamic parts are inserted using a dedicated vocabulary of OOX fields code. Fields are mainly used to insert page numbers, references, etc. M2Doc makes use them to describe documentation generation directives. This allows a total separation between the document and the M2Doc directives.

The template language makes an extensive use of the Acceleo Query Language which provides a full fledged, extensible model query language and engine.

In this talk, I will present the M2Doc technology and talk about the way it is integrated with Sirius.


Schedule info
Session Time Slot(s): 
Thursday, October 26, 2017 - 13:45 to 14:20

Our Sponsors

For information about becoming a sponsor, please visit the EclipseCon Europe 2017 sponsor prospectus page.

Elite Dual ECE/OSGi CE



Club ECE Sponsor

IoT Theme Day

Project Quality Day

Smart Home Day


EclipseCon Support Other Events

Our Other Events

Eclipse events are hosted all over the world!

  • EclipseCon Europe 2018