This user guide demonstrates how to create a report template using Report Wizard and use it in MagicDraw. To make the most of Report Wizard, you need to understand Apache Velocity and MagicDraw elements. Report Wizard uses Apache Velocity, this means that you will need to know how to create a Velocity template and that every rule that applies to Velocity will also apply to MagicDraw Report Wizard.

Velocity is a Java-based template engine that processes templates and references Java objects to produce output documents. A basic Velocity template can contain static text, layouts, conditional statements, and placeholders for each referenced Java object. When a template is being read by Velocity, conditional statements will be processed and placeholders will be replaced with the value from the referenced Java objects. You can use Velocity, for example, to generate web pages, emails, and read XML documents, but with Report Wizard it is now possible to use Velocity to read other types of templates, such as Rich Text Format documents. This user guide covers some basic aspects of Velocity, MagicDraw elements, and Report Wizard directives.

Related page