Actions [VCL and LCL]

<< Click to display table of contents >>

Actions [VCL and LCL]

VCL and Lazarus versions of Report Workshop include a set of actions for editing report templates. They can be used in addition to other RichViewActions.

Groups of actions

Actions related to the whole report

action_new-report TrvrActionReportWizard generates a new master-detail report template basing on available data.

action_report-settings TrvrActionDocProperties edits report-related document properties.

Actions for editing properties of report tables

action_generation-rules TrvrActionRowGenerationRules edits row generation rules.

action_cross-table TrvrActionCrossTab edits a cross tabulation.

action_report-cell-settings TrvrActionCellProperties edits report table cell properties, as well as BackgroundVisualizers and BackgroundColorChangers collections

The actions above may be applied to normal tables: they convert them to report tables (after a confirmation)

Actions related to report tables

action_table-to-report TrvrActionConvertToReportTable converts the selected normal table to a report table.

action_insert-report-table TrvrActionInsertTable creates a new a report table (either a blank table or a table showing the a data table chosen by the user).

Note: additionally, the actions for editing report table properties may convert normal tables to report tables.

Other reporting actions

action_insert-chart TrvrActionInsertChart inserts a new chart into the editor.

Other actions

action_shape TrvrActionInsertShape inserts a geometric shape into the editor.

Actions requiring a link to a data provider

The following actions display dialogs in which data queries and/or expressiona are edited, and therefore require a reference to a data provider component in order to obtain lists of available tables and their fields for easier editing:

TrvrActionReportWizard

TrvrActionInsertChart

TrvrActionInsertTable

TrvrActionRowGenerationRules

TrvrActionCrossTab

TrvrActionCellProperties

TrvrActionDocProperties

All of these actions have a DataProvider property. If it is not assigned, the data query and expression editors will be simple text input fields; tools for inserting table and field names will be hidden.