Formatting the report title in a template Adding items and objects to a template Modifying objects in the template margin Modifying the color, pattern, or border of body objects in a template

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

To set default attributes such as font and color for the title in a selected template:

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. Double-click the properties icon next to the Default node to display the Property Inspector.

3. Under Title, modify the properties as desired.

To set the placement and override attributes such as font and color for the title in a selected template:

1. In the Paper Layout view of the template, create a boilerplate text object for the

title in the margin.

2. Size and position the title, and modify the color and text attributes as desired.

3. Double-click the title object to display its Property Inspector.

4. Under General Information, set the Name property to B_ORREPORT_TITLE.

See also Section 2.1.1, About report titles Section 2.7.1, About templates

4.12.6 Adding items and objects to a template

To add items and objects to a template: 1. In the Paper Layout view of the Template Editor, click the Margin button in the toolbar to display the margin area. 2. Create objects in the margin of your template. You cannot create objects in the body of a template. See also Section 2.7.5, About the Template Editor Section 2.7.1, About templates Section 2.7.2, About template attributes Section 2.7.4, About inheritance in templates

4.12.7 Modifying objects in the template margin

To modify objects in the margin of a template: 1. In the Paper Layout view of the Template Editor, click the Edit Margin button in the toolbar. 2. Modify objects in the margin of your template. How To... 4-111 See also Section 2.7.5, About the Template Editor Section 2.7.1, About templates Section 2.7.2, About template attributes Section 2.7.4, About inheritance in templates

4.12.8 Modifying the color, pattern, or border of body objects in a template

Template objects can be modified using the same techniques as report objects. To change the color or pattern of objects in a template, however, you use the template Property Inspector, rather than the Color tools in the tool palette: ■ The Fill Pattern property defines the pattern to use for the space enclosed by the objects. You can define the background and foreground colors of the fill pattern using the Foreground Color and Background Color properties. ■ The Edge Pattern property defines the pattern to use for the borders of the objects. You can define the background and foreground colors of the edge pattern using the Edge Foreground Color and Edge Background Color properties. ■ The Text Color property specifies the text color to use for the objects. See also Section 2.4.5, About changing colors and patterns Section 4.9.6.2, Changing colors Section 4.9.6.3, Changing patterns Section 2.7.1, About templates

4.12.9 Adding a template to the pre-defined templates list