Create Template, Set Layout, Add Title and Change Heading Style

As a first step, you create the report template, set up its size and layout and insert a Section Heading to add a title. See the detailed steps below:

Process

1. Create a new report template and specify the report layout.

  1. In NEXUS IC, choose Configuration ‣ Reports and Dashboards ‣ Templates from the menu.

  2. Choose Add to create a new report template.

  3. In the top half of the Add Report Template dialog, specify the name, status and category of the report as follows:

    • Name: Enter Example: Workpack Report

    • Status (optional): Select from the list of preconfigured statuses (see Configure Report Statuses), for example, Under Construction.

    • Category (optional): Select from the list of preconfigured categories (see Configure Report Categories), for example, Workpack.

  4. Under the Template Definition section of the dialog, configure the size and layout of the report by double-clicking the top Report Layout node on the right-hand side of the dialog. In this example, we select layout Portrait and page size A4.

  5. Choose OK.

    _images/report.template.workpack.reportlayout.png

Note

This size and layout settings will prevail until the next page break element, where you can overwrite these settings.

2. Add a level-1 Section Heading.

To add a main title to the report, with Heading 1 style, proceed as follows:

  1. Add a Section Heading element to the Report Layout structure (drag it or select it and choose Add).

  2. Double-click the element in the structure to edit it.

  3. Enter a name that identifies the element in the structure. This text does not appear in the actual report output.

  4. Enter the text of the heading that you want to see in the output in the Content field. This time, we just want to use the heading Workpack Report, but you can use right-click in this field if you want to add a variable.

  5. Select the Include in Table of Contents checkbox to have this section heading appear in the Table of Contents.

  6. In the Default Style field, select Heading 1, which is a preconfigured style that can be applied for level-1 section headings. If required, you can set up your own style and apply that instead (see Styles).

  7. Click OK.

3. Change the style of the headings.

You want to change the appearance of the headings used in the report. You want to change the font size and font colour of Heading 1 and Heading 2.

  1. Click OK to save your changes and close the Add Report Template dialog. This takes you back to the Configuration - Templates dialog.

  2. Choose Styles from the toolbar. This opens the Styles dialog.

  3. From the list of styles, double-click Heading 1 or select it and choose Edit.

  4. Change the Font Size value to 16.

  5. Change the Text Colour to another colour, for example, Navy.

  6. Click OK to save your changes.

    _images/report.template.workpack.headingstyle.png
  7. From the list of styles, double-click Heading 2* or select it and choose **Edit.

  8. Change the Font Size value to 13.

  9. Change the Text Colour to another colour, for example, Navy.

  10. Click OK to save your changes.

Result

The updated Heading 1 and Heading 2 styles are now applied to all the report templates in the Configuration - Templates dialog.

Proceed to Next Step next