Formatting, Filtering, and Sorting Options

Formatting, filtering, and sorting options are available for the following structure elements, data elements, and terminal data:

See Also
Insertion of Elements
Options Available for Description

Bold

Italic

Underlined

Text (variable, data, or template), OTScript code The structure element is generated with character formatting.

For an example, see Assigning Styles.

Comments Section, section title, paragraph, text, list, list Item, table, header row, header cell, row, cell, context, hyperlink, OTScript code, set field, page format, multicolumn, subtemplate call, text data, loop, image, and file attachment The structure element or data can have extra information provided in the Comments field.
Condition Section, section title, paragraph, text, list, list item, table, header row, header cell, row, cell, context, hyperlink, OTScript code, page format, multicolumn, subtemplate call, text data, loop, image, and file attachment

The structure element or data is filtered according to a specific criteria, which corresponds to a test written in OTScript.

For an example, see Filtering Structure Elements and Data.

Ignore when empty List, table, section, and row

Depending on parameters and data:

  • If a descendant structure of the structure element is generated, the structure element is generated.
  • If no descendant structure is generated, the structure element is not generated.

For an example, see Ignoring Structure Content.

List Type List A list can be a bulleted list or a numbered list. By default, the list is a bulleted list.
Loop separator Loop A separator string can replace the default loop separator.
Loop when empty Loop

The content of a loop is displayed in a report even if the contained methods do not provide results.

For an example, see Inserting Terminal Data and Loops.

Reverse order Loop

If the Sort attribute option is selected, the elements are displayed in the reverse order according to the sorting criterion. Otherwise, the elements are displayed in the reverse order as they are in the system.

Separator Method returning terminal data Elements in an enumeration of values, which corresponds to a multivalued attribute, can be separated using this separator.
Sort attribute Loop If a sort attribute is selected, the elements are sorted and displayed in the order of the selected attribute, otherwise they are displayed in the same order as they are in the system.
Warning: For nested loops, if the sort criterion is not applied on the first loop but on a bottom loop, the result cannot be the expected one. Indeed, the application of a sort criterion on the bottom loop does not affect the order provided by the results of its parent loops. To follow your expectations, the usage of an overwritten OTScript method to navigate elements could be a solution. For more information, see Managing OTScript Methods.
Style Section, section title, paragraph, list, table The structure element is generated with the style formatting. For table style, you have to define your own style and not reuse a predefined style.

For an example, see Assigning Styles.