Page History
...
Multiexcerpt | ||
---|---|---|
| ||
With the Excel Generator you can create Excel documents out of complex structured data. |
Info | ||
---|---|---|
| ||
The Excel Generator uses the HSSF and XSSF component of Apache POI. |
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
...
- The adapter uses jXLS for configuring and building the resulting Excel documents. Create an Excel template file containing your jXLS.
To get a deeper understanding of the syntax used in the XLS templates, refer to the jXLS documentation.
- Create the needed objects in an action script in your UML model and provide the data.
- Call the Excel generator.
...
generateExcel( filename : String, data : StringData[], templateFilename : String )
Parameter | Direction | Description |
---|---|---|
filename | in | The filename of the Excel output file. |
data | in | The map holding the data to be written to the Excel file. |
templateFilename | in | The filename of the Excel template file. |
The creation of an Excel document then is as simple as shown in the activity diagram below. Action create data contains the action script.
...
Overview
Content Tools