About Structure Elements Tab

The structure elements build the template structure and format the generated report file.

See Also
Inserting Structure Elements
Assigning Styles

From the Structures tab, you can access structure elements, which are the following:



Structure Elements Description
Section

A section is a document chapter. It contains a title and a body.

A section can contain a subsection.

For more information about the insertion in a template, see Inserting Lists.

Paragraph

A paragraph is a text, which ends with a carriage return.

A paragraph cannot contain another paragraph.

For more information about the insertion in a template, see Inserting Free Text.

List

A list contains list items and sublists.

For more information about the insertion in a template, see Inserting Lists.

List Items
Table

A table contains:

  • A header: The first row of a table, which contains header cells.
  • Multiple rows: Composed of cells

For more information about the insertion in a template, see Inserting Tables.

Header Row
Header Cell
Row
Cell
Hyperlink

A hyperlink contains a URL written in OTScript code and a text to be displayed.

For more information about the insertion in a template, see Inserting Anchors.

Anchor

An anchor is a name defined by an OTScript code.

For more information about the insertion in a template, see Inserting Anchors.

Context

This instruction defines a context, which is a block of template elements.

For more information about the insertion in a context, see Inserting Contexts and Context Calls.

Text

A template text is a free and constant text entered by the user.

Tip: You can directly enter text in the fields in the Properties tab when you select a text in the template editor.

For more information about the insertion in a template, see Inserting Free Text.

OTScript Code

An OTScript code is a piece of code returning a terminal element that can be:

  • A text
  • A numerical value
  • A Boolean
  • A rich text
  • An image
  • A file attachment
Tip: You can directly enter some code in the fields of the Properties tab when you select OTScript elements in the template editor.

For more information about the insertion in a template, see Inserting OTScript Code Blocks.

Context Call

This instruction calls a context to recursively insert the same behavior evaluation in a generated report file.

For more information about the insertion in a context, see Inserting Contexts and Context Calls.

Set Field

This instruction defines a field, which is an association between a name and an OTScript code.

If you use the corresponding field in output formats or in template texts, the field is substituted by its value during the report file generation.

For more information about the insertion in a template, see Inserting Set Fields.

Page Format

You can select the orientation of pages and the paper size of a generated report file.

For more information about the insertion in a template, see Inserting Formatting Instructions.

Multicolumn

A section of a generated report file can be displayed in columns.

For more information about the insertion in a template, see Inserting Formatting Instructions.

Subtemplate Call

This instruction calls an existing template to insert the corresponding subtemplate in a generated report file.

For more information about the insertion in a template, see Including Existing Templates.