Create ReportItem Type Hierarchy
Create a type hierarchy for Report Items. It may look something like this:
FileItem (text, .pdf, html, etc.)
Static items : definition does not require Provenance to look up the value.
hr, static text, page break, etc.
ImageItem (.png, .jpg., .gif)
#2 Updated by ben leinfelder about 10 years ago
I think it will be very useful to make StaticReportItem subclasses - if only to make rendering them in the UI more straightforward. The current use of "types" for the Static Item is workable for a small/controlled number of items, but requires quite a few changes to accommodate new types.
#4 Updated by debi staggs about 10 years ago
I am closing this bug, since this was created quite some time ago, although it did not look like the original hierarchy that was proposed. At this time the hierarchy looks something like this:
StaticReportItemImage, StaticReportItemLabel, etc.
Thinking that we might add 'view' classes to this as well.