Controllers

Controllers process the modifications made to a report. Although you can directly modify report objects, without using the controllers, the changes you make are not synchronized with the server. To modify a report and ensure that the server is updated, the appropriate controller must be used.
Controller
Model
Description
DatabaseController
Database
Manipulates the tables, tablejoins and datasources in the report.
DataDefController
DataDefinition
Adds, modifies, removes, or moves the data structures in the report.
ReportDefController
ReportDefinition
Manipulates the layout and format of the areas, sections, and report objects in the report.
SubreportController
SubreportClientDocument
Manipulates and imports subreports.
CustomFunctionController
CustomFunction
Manipulates custom functions.
RowsetController
Rowset
Allows you to retrieve unformatted data in the report directly.
PrintOutputController
N/A
Allows you to export reports to a specific format and manipulate the page size.
DataDefController
The DataDefController controller manipulates the data structures of the report. It is composed of several controllers that can access and modify objects defined by the DataDefinition model:
  • FormulaFieldController
    Manipulates report formulas.
  • ParameterFieldController
    Manipulates parameter fields in the report.
  • SummaryFieldController
    Manipulates summary fields in the report.
  • ResultFieldController
    Manipulates fields that are used as data source for one or more field objects in the report.
  • GroupController
    Manipulates groups in a report.
  • SortController
    Manipulates the way data is sorted in the report.
  • FilterController
    Manipulates filters in record selection formula and group selection formula.
ReportDefController
The ReportDefController controller is responsible for manipulating the layout of the report as well as selecting the content of the report. The ReportDefController class is composed of several controllers that can access and modify objects defined by the ReportDefinition model:
  • ReportAreaController
    Sets the properties for areas in the report.

    Note: Report areas are predefined, but area format and area name can be changed.
  • ReportSectionController
    Adds, removes, and sets the properties for sections in the report.
  • ReportObjectController
    Adds, removes, and modifies the report objects defined in the report definition.