About applying templates About inheritance in templates

Advanced Concepts 2-55

2.7.3 About applying templates

When you apply a template to a report, all of the following objects, properties, and attributes from the template are applied to the current report section: ■ parameters and their validation triggers ■ physical page size ■ logical page size ■ characterbitmap mode ■ margin position ■ panel print order In addition, all of the layout objects in the margin of the template are copied into the same location in the current report section. Usage notes ■ The template will be applied to the current section of the report the section displayed in the Paper Layout view by default. If no section is displayed, the template will be applied to the Main Section of the report by default. 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. ■ You can apply different templates to each section of the report. However, if you are applying one of the default templates, you cannot combine two report blocks that use different default templates in a single report. All of your report blocks in any one report must use the same default template. See also Section 4.12.4, Applying a template to a report

2.7.4 About inheritance in templates

In templates, Sections, Frames, Fields, Labels, Headings, and Summaries properties all may inherit their values. Default properties The Default properties inherit the values preset by Oracle Reports Builder. When a property is set to its default Oracle Reports Builder value, the icon next to it in the Property Inspector is a small circle. Default properties become localized when you change their values, or select them and click the Localize Property button in the toolbar. When a property is localized, the icon next to it changes to a square. To return the properties to their inherited values, select the properties and click the Inherit Property button in the toolbar. Override properties The properties of Override Sections inherit their values from the Default properties. When a property inherits from a Default property, the icon next to it in the Property Inspector is an arrow. Properties in the Override Sections become localized when you change their values, or select them and click the Localize Property button in the toolbar. When a property is localized, the icon next to it changes to an arrow with a red cross through it. To return the values of properties in the Override Sections to their 2-56 Oracle Reports Users Guide to Building Reports inherited values, select the properties and click the Inherit Property button in the toolbar.

2.7.5 About the Template Editor