Doc Generation: Class diagram

Overview

This sample generates a a Microsoft WordŽ XML file which documents class diagrams of an input UML model.

Launch configuration

 
Ruleset com.sodius.mdw.samples.docgen.DocGeneration
Rule main
Arguments a UML input model (e.g. models/product21.xmi)

Here is an example of a UML 2.1 based Java generation launch:

Features demonstrated

Feature Example Location Reference
Dynamically inserting pictures [#picture]diagramFile[/#picture] DocGenSample.dt.xml picture tag

Additional notes

A table of contents is created in the generated document. This table of contents needs to be manually refreshed once the document is generated.