Creating an RTF Template for a Form Report

An RTF template for a form report is created in the same way as described in Creating an RTF Template for a Table Report, with the following additional considerations:

  • The page size and orientation will typically be A4 portrait rather than A3 landscape.

  • The report body may contain a combination of individual fields (with their field labels), small tables, and static text.

  • Individual fields can be organized by manually creating a two column table (with no borders), with the fields added individually to the right hand columns by clicking Insert / Field, with the field labels placed in the adjacent left hand column.

    The following figure shows how data elements in the XML file are mapped to placeholders in the RTF template when the report is run.

    Figure B-13 XML Data to RTF Template Mapping

    This figure shows the XML Data to RTF Template Mapping.
  • If the report is to contain multiple records, the form will need to be specified as a repeating group, by selecting the body of the report and clicking Repeating Group.