WYWIWYG : Industrial document generation from Models

Session Type: 
Standard Talk [25 minutes]
Speakers

Gendoc2 is a "What You Write Is What You Get" solution developed in order to generate industrial documents from EMF models. From a standard OpenOffice Writer (.odt) or Microsoft Word (.docx) document template in which a script in M2T Acceleo language is written for each dynamic section, and some tags are added to describe the location of the datasource models, a final document can be generated, respecting industrial quality document templates.

Modeling is more and more used in industrial domains, where quality constraints also impose to keep specific document templates. Such documents are not only reports of what is contained in the model but a complex and dedicated formatting of information, often containing headers, footers, dynamic bookmarks and hyperlinks. The document content can come from different models and must respect the constraints of the document template in terms of hierarchy and format.
In order to write such documents, several solutions could already be used :

  • exporting model diagrams as images and inserting them in the document, but the synchronization between models and documents is always a problem, and models contain often much more information than diagrams.
  • generating static reports from the models (PDF or HTML format) but it does not fit all industrial documentation needs.
  • generating files through M2T (model-to-text) technologies but generating a styled OpenOffice Writer or Microsoft Word document can become quite complex.

In order to answer those issues, Gendoc2 is a "What You Write Is What You Get" solution developed in order to generate industrial documents from EMF models.
This presentation will show the tool fonctionalities (generation of styled text, images, tables, hyperlinks, bookmarks), the modular approach and the extension capabilities.

Gendoc2 is based on top of Eclipse technologies : EMF and M2T Acceleo, and an Eclipse Proposal is (or will very soon be) in progress . The aim is to provide more integration with other Eclipse modeling technologies.

Schedule info

Status: 
Declined

Audience

Track: 
Building Industry Solutions
Experience level: 
Beginner

Copyright © 2012 The Eclipse Foundation. All Rights Reserved.