The ReportBuilder generates a report by loading the report data and running the modules that are registered. The default modules are the PageBuilder and the GridBuilder. Optional modules are ChartBuilder and FormBuilder. Additional modules can also be registered to add custom processing into reports.
Properties
ReportOptionsCallback | A delegate that is called to populate report options with data. |
DataSourceCallback | A delegate that is called to populate report data from data sources. |
BaseUri | A static property defining the base URI that is pre-pended to filenames. |
TemplateFolder | The folder in the web application that contains Moxy templates. |
ReportFolder | The root folder in the web application that contains report definitions. |
Methods
BuildReport | Builds the report, using the ReportOptionsCallback and DataSourceCallback to populate report data, running all registered modules and returning a ReportDocument object that can be used to render or publish the report. |
PreBuildReport | Builds enough of the report to provide page titles and options. |
RegisterModule | Registers a report builder module that will be run when building a report. A module must inherit from the Builder class and implement its virtual functions. |
Click to see Comments