Defining override template attributes Applying a template to a report

4-108 Oracle Reports Users Guide to Building Reports Section 2.7.3, About applying templates Section 2.7.4, About inheritance in templates

4.12.2 Defining default template attributes

To define default attributes for report objects in a template that applies to all report styles:

1. In the Object Navigator, expand the Templates node, then the Paper Layout node,

then the Section node, then the Body node, then the Default node. 2. To change default properties for the overall layout and spacing for report styles, double-click the properties icon next to the Default node to display the Property Inspector. 3. To change default properties for frames, field labelsheadings, fields, summary labels, and summaries totals, fully expand the Default node, then double-click the properties icons to display the Property Inspector.

4. In the Paper Layout view, select from the Report Style list to view the layout for

individual report styles.

5. To make further changes for the currently displayed report style, either return to

the Object Navigator, or double-click an object to display the Property Inspector. See also Section 2.7.1, About templates Section 2.7.2, About template attributes

4.12.3 Defining override template attributes

To define override attributes for a selected report style:

1. In the Object Navigator, expand the Templates node, then the Paper Layout node,

then the Section node, then the Body node, then the Override node, then the node for the report style for which you want to define overrides for example, Tabular, Group Left . 2. To change default properties for the overall layout and spacing for a section of the selected report style, double-click the properties icon next to the Section Level n node to display the Property Inspector. 3. To create more than the default number of sections for a particular report style, click a Section Level n node, then click the Create button in the toolbar. Note: The Paper Layout view is synchronized with the Object Navigator; when you select a layout object, the associated node is highlighted in the Object Navigator. To select the parent frame for a layout object, click the object, then click the Select Parent Frame button in the toolbar to select the parent frame. Note: Any changes you make for an individual report style will override the attributes defined under the Default node. How To... 4-109 4. To delete a section for a particular report, click a Section Level n node, then click the Delete button in the toolbar.

5. For each section for which you want to define overrides, fully expand the Section

Level n node, then double-click the properties icons to display the Property Inspectors for the frames, field labelsheadings, fields, summary labels, and summaries totals.

6. In the Paper Layout view, select from the Report Style list to view the layout for

individual report styles.

7. To make further changes for the currently displayed report style, either return to

the Object Navigator, or double-click an object to display the Property Inspector. See also Section 2.7.1, About templates Section 2.7.2, About template attributes

4.12.4 Applying a template to a report

To apply a template to a report: 1. In the Object Navigator, click the report or report section to which you want to apply a template.

2. Choose Tools Report Wizard.

3. On the Template page, select a pre-defined template, or click Template file, and

click Browse to open the desired template. Note: Sections are mapped to groups in a report. For more information, see About template attributes. Note: You can only delete nodes down to the minimum requirement for the current report style. Note: The Paper Layout view is synchronized with the Object Navigator; when you select a layout object, the associated node is highlighted in the Object Navigator. To select the parent frame for a layout object, click the object, then click the Select Parent Frame button in the toolbar to select the parent frame. Note: Any changes you make for an individual report style will override the attributes defined under the Default node. Note: If you select the node for the entire report in the Object Navigator, the template will be applied to the Main section of the report by default. To apply the template to a specific section of your report, select the node for that section in the Object Navigator. 4-110 Oracle Reports Users Guide to Building Reports

4. Click Finish to apply the template to the current report section.

See also Section 2.7.1, About templates Section 2.7.3, About applying templates

4.12.5 Formatting the report title in a template