LayoutA Layout represents the content face of a report, which data should be in.
A layout is a list of LayoutElements in order of appereance.
A Layout has also a Title property, the report shows it as heading. And, of course, serializable, saved/loaded automatically.
Editable through a GUI included in the plugin. LayoutElementA LayoutElement means a column in the report, built up from four information
TemplateA Template represents the visual properties of a report, such as fonts, colors and sizes.
This is not editable from the GUI, yet, but it has a fully XML-based representation (frankly, the Template class generated from XSD),
For first run (or everytime when StrengthReportTemplates.xml not available from running directory) it loads the default, then on exit it tries to save it to running directory.
If you edit is, you can change the appereance for your own.
XML configuration filesNow the plugin has two xml-serialization based "memory", the LayoutBox and TemplareBox (each containt a list of Layout and Template, respectively).
There a default set of each built into the binary, for first run (or everytime when the files not in running directory it loads the default). On exit it tries to save it to running directory.
You can edit them and next run the plugin tries to load them, so you can customize the Templates thriugh it. The Layouts has a built in graphical editor.
|