Indigo DRS Data Reporting System Indigo DRS
Report Paragraphs Indigo DRS Help

Report Paragraphs allow content to be displayed using the Content Editor. Paragraph content can be HTML, RTF or Plain Text.

To add, edit or insert a Report Paragraph click on the Report Designer tree-view and select a Report Section or Report Group and then click the menu Edit | New, Insert or Edit Paragraph.

Click the Designer button or the Content (...) button on the property page to edit the Report Paragraph content.

The Build Option property controls the output of the Report by including the content in HTML and / or PDF builds.

Content Editors are a comprehensive suite of designers and editors with styling and formatting options to create rich content for the Report Designer.

Report Paragraphs can also contain a collection of Report Fields which are used to query, format and display Report Data.

Report Fields

XQuery or Python can be used to query Report Data and display it in the form of Report Fields.

To add Report Fields to a Report Paragraph click the Fields (...) collection property button to open Report Fields Collection Editor.

Enter the details for the Report Field using the property grid. Clicking the Query (...) button will open the relevant Query Designer / Editor.

Data Field Formatting

There are many options for formatting Field Data. Select the best formatting option to display the Field Data according to your requirements.

Data can be formatted for Boolean, Time, Date, Number, Currency and Strings.

Regular Expressions and Inbuilt Functions can also be applied to Data Formats to manipulate and extract Data.

Data Formats can also be declared globally in the Report and used throughout the Report to apply common Data Formatting options. If a global Data Format is available it will be shown in the drop-down for Field Formatting under Format Name.

Field Query Designer

Report XML Data can be queried using XQuery / XPath or Python statements. Queries are associated with Report Fields and the output of a Query will be substituted in place of the Report Field Name. If the Field Query Type is XQuery then the XQuery Designer will be opened otherwise if the Query Type is Python the Python Editor will be used.

Report Field Names must be specified in order to be recognized by the Content Editor and the Reporting Engine. Enter the Query for the Field using either the XQuery Designer or the Python Editor depending on the Query Type.

Retrieving the 'Name' of a Fee from the Report Data Source and displaying its output.

To display the Report Field in the Report Paragraph it needs to be added using the Content Editor.

Report builds will now output the result of the Report Query for the Field Name.

Report Expressions

Report Paragraphs can contain multiple Report Expressions. Report Expressions are mathematical equations and formulas that are evaluated by the Indigo DRS Expression Evaluation Engine (EEE).

The Expression Editor allows Report Expressions to be developed and evaluated.

Select the Report Expression to be inserted into the Report Paragraph.

Both symbolical and numerical computations are supported allowing complex mathematical equations and formulas to be calculated. Scientific, engineering, finance and mathematical expressions can be evaluated and included in the Report.

Report Rules

Report Rules are conditional XQuery or Python expressions that determine if Report content is enabled and applied to the build. Rule based queries return a Boolean that is either True or False and can query the Report Data Source and other Report Data Contexts. Rules are used for controlling the flow, visibility and activation of reporting content.

Report Rules if empty or null by default will always return True.

Report Namespaces

Report Namespaces are used for providing uniquely named elements and attributes and is a mechanism to avoid name conflicts by differentiating elements or attributes within an XML document that may have identical names, but different definitions. If the Report Data Source contains namespaces they can be applied to the XQuery Processor.