Extending Report Workshop

Top  Previous  Next

Report Workshop can be customized by implementing plug-ins.

The following plug-in types can be implemented:

additional types for data fields

standard query processors

additional data provider components

additional value visualizers

additional functions for cross-tab reports

We are interested in third-party plug-ins for Report Workshop. If you decide to make one, please contact us. We will offer a technical help, and rewards for authors of interesting plug-ins (free licenses or discounts on our products, and others).

Additional types for data fields

Data fields have the following syntax: <full data field name>[ <field type>][ "<format>"]

Report Workshop implements standard field types, such as 'int', 'image', 'time', etc.

Programmers can implement additional data types. Objects that process custom data types can get initial value and return its different representation; additionally, they can [pre]process format strings.

hmtoggle_arrow1Example
hmtoggle_arrow1Implementation

Standard query processors

The main way for handing data queries in TRVReportGenerator is assigning a data provider component to its DataProvider property. This data provider is responsible for creating query processors to execute data queries.

Additionally, you can create query processors in OnCreateQueryProcessor event.

There is one more way: to implement a "standard" query processor class and register it for some prefix. After that, prefixed queries will be handled by this class of a query processor.

Standard query processor can use any prefix (consisting of English characters, digits and underscores), except for the reserved 'field' prefix.

hmtoggle_arrow1Example
hmtoggle_arrow1Implementation

Additional data provider components

The main way for handing data queries in TRVReportGenerator is assigning a data provider component to its DataProvider property. This data provider is responsible for creating query processors to execute data queries.

Report Workshop includes TRVReportDBDataProvider component (a universal DB provider that uses TDataSet-based queries), and a set of providers for specific database components sets.

Programmers can implement additional DB-related data provider components (inherited from TRVReportDBDataProvider), or another data provider components (inherited from TRVReportDataProvider).

Additional data visualizers

Data visualizers display diagrams that visualize values at backgrounds of report table cells.

Programmers can implement their own visualizers.

hmtoggle_arrow1Implementation

Additional functions for cross-tab reports

Report Workshop provides a set of aggregate functions for cross-tab reports, including 'sum', 'min', 'max', 'average', etc.

Programmers can implement additional functions.

hmtoggle_arrow1Example
hmtoggle_arrow1Implementation


Report Workshop © trichview.com