1
Suggestions and Requests / More flexibel report generator
« on: December 13, 2006, 04:47:35 am »
I've written an EA report generator in Delphi which in some ways is more flexibel than the build in one.
Each package can contain a special tagged value which indicates which rtf template to use for the package. This way you can generate one output document which contains different packages which all have their own layout/template.
Within the rtf templates special xml like tags are used to get access to the model. These xml tags support "filtering" which means that packages, elements and diagrams and the like can be selected by their attribute values (like names, id's, etc.) and boolean expression based on these values.
This way you are not limited to place scenario's, constraints, etc at one place in the document. Constructs like the following are possible:
<constraints of type 'pre-condition>
<scenarios of type 'Basic-Path'>
<constraints of type 'post-condition'>
<scenarios of type 'Alternate'>
Maybe this functionality could be added to EA:
- Each package should have a property which indicates which rtf template to use for the package.
- The rtf template constructs should be more flexibel so that they can be placed at more than one position in any order.
- The rtf template constructs should support filtering/selecting special type of elements by using boolean expressions on their property values.
It makes the report generator a lot more flexibel in my opinion.
Any thoughts anyone?
Each package can contain a special tagged value which indicates which rtf template to use for the package. This way you can generate one output document which contains different packages which all have their own layout/template.
Within the rtf templates special xml like tags are used to get access to the model. These xml tags support "filtering" which means that packages, elements and diagrams and the like can be selected by their attribute values (like names, id's, etc.) and boolean expression based on these values.
This way you are not limited to place scenario's, constraints, etc at one place in the document. Constructs like the following are possible:
<constraints of type 'pre-condition>
<scenarios of type 'Basic-Path'>
<constraints of type 'post-condition'>
<scenarios of type 'Alternate'>
Maybe this functionality could be added to EA:
- Each package should have a property which indicates which rtf template to use for the package.
- The rtf template constructs should be more flexibel so that they can be placed at more than one position in any order.
- The rtf template constructs should support filtering/selecting special type of elements by using boolean expressions on their property values.
It makes the report generator a lot more flexibel in my opinion.
Any thoughts anyone?

