Using Expressions in the Rich Text Editor of Report Designer

Using Expressions in the Rich Text Editor of Report Designer

The articles in this section of the Knowledge Base involve working with Rich Text for display in your reports. To learn more about the Rich Text editor, and how to access this section within the Report Designer, see An Introduction to the Rich Text Editor in Report Designer. The purpose of this article is to break down the different options within the Rich Text editor.

RTF text is an expression. Utilizing expressions in the RichText component is very similar to using expressions in other text components.

There is one issue to consider. Any formatting must be applied to the full code insertion and not any individual part of it.

If you want the calculated value in the TRF text to be a specific color, the color attribute must be applied to the entire expression. This means everything from the opening curly brace “{“ to the closing curly brace “}” and the braces themselves must be the specific desired color. For example:


Fig. 01 – Correct Formatting


Fig. 02 – Incorrect Formatting. The entire expression is not formatted with the color.

Only plain text can be inserted without formatting commands. RTF text cannot be inserted. You can only assign all of its properties with the help of the DataColumn.

Expressions in the RTF component can be handled in different ways using the property Full Convert Expression. Setting the property to false leads to the expression being processed quickly and consistently. When the property is set to true, processing expressions in the RTF component is more thorough. Using this method slows report rendering down, but the expressions are converted more thoroughly. This thoroughness is especially beneficial if the expression uses characters other than numbers and Latin alphabet.


    • Related Articles

    • Understanding the Rich Text Editor in Report Designer

      The articles in this section of the Knowledge Base involve working with Rich Text for display in your reports. To learn more about the Rich Text editor, and how to access this section within the Report Designer, see An Introduction to the Rich Text ...
    • An Introduction to the Rich Text Editor in Report Designer

      The articles in this section of the Knowledge Base involve working with Rich Text for display in your reports. To access the Report Designer, select Toolbox Setup > Design Reports > Design (Report Type) Report. Select New Report to design a report ...
    • Understanding the Text Editor in Report Designer

      The Text Editor allows users to edit text components in Report Designer. This ability to modify text components allows for better customization of report appearances. Expression Tab Fig. 01 – Expression Tab (Text Editor) This tab has the following ...
    • Text Expressions

      Text expressions are the simplest expressions. Here are some examples: SampleText 54321 Example All of the expressions above are strings, and there are no calculations. These expressions would be printed as they have been defined. These types of ...
    • How to Load Rich Text from a Data Field in Report Designer

      The articles in this section of the Knowledge Base involve working with Rich Text for display in your reports. To learn more about the Rich Text editor, and how to access this section within the Report Designer, see  An Introduction to the Rich Text ...
    • Recent Articles

    • Toolbox Release Notes | Build 25.1.1204.641

      The following release notes apply to Toolbox build 25.1.1204.641 Toolbox Login Screen Update Fig. 1: The updated Toolbox Login interface. The Toolbox Login interface has had several changes applied to it to enhance its usability and allow for greater ...
    • Toolbox Release Notes | Build 25.1.1120.641

      The following release notes apply to Toolbox build 25.1.1120.641 Mouse Wheel Fix There was a reported issue in certain interfaces (such as report groups) in which hovering over a dropdown menu (such as Output Type) would result in the options within ...
    • Dynamic Dimensioning in Toolbox BSB

      When applying dimensions to products and other solids in Toolbox BSB, by default, all dimensions are drawn in 2D on the Y plane, requiring one to switch to a top view (or an appropriately high isometric view) to see them. BricsCAD has a feature that ...
    • Toolbox Release Notes | Build 25.1.1107.641

      The following release notes apply to Toolbox build 25.1.1107.641. Subassembly Prompt Fixes A pair of issues were reportedly occurring when attempting to work with subassembly prompts in the Edit Design Data interface. Subassemblies copied to the ...
    • Microvellum Foundation Library Release Notes | Build 25.1024

      The following release notes apply to the Microvellum Foundation Library build 25.1024. Additions Added Face Profile Options to the Door Wizard for enhanced design flexibility. Users can now apply decorative visual profiles to doors, drawer fronts, ...