Adding properties to the report
Hi again
We are currently adding stylesheet support to ReportBuilder, and I need some
help on how to do that easiest.
I was planning on adding an extra property to the report-object, and when
the user loads a report then load all the style-information to an internal
format that the styles could access through a property on the Report.
I have some questions to the above:
- Is there an easier way to do this?
- How do I register a new Report-object with ReportBuilder
Thank you
Steffen
We are currently adding stylesheet support to ReportBuilder, and I need some
help on how to do that easiest.
I was planning on adding an extra property to the report-object, and when
the user loads a report then load all the style-information to an internal
format that the styles could access through a property on the Report.
I have some questions to the above:
- Is there an easier way to do this?
- How do I register a new Report-object with ReportBuilder
Thank you
Steffen
This discussion has been closed.
Comments
Looking at your requirements, I do not think there is an easier way to do
this. Another option would be to store the style information outside the
report in a separate file and use it for each template that get loaded.
This could turn out to be more difficult however because you will need to
alter the template code.
Each ReportBuilder class in regestered in the RegPro.pas file. You will
need to register your new class in this file as well as register it with
Delphi so it can be streamed and saved.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com