Templates define common characteristics and objects that you want to apply to multiple paper-based reports. For example, you can define a template that includes the company logo and sets fonts and colors for selected areas of a report. You can create your own templates, or apply default templates provided with Reports Builder.
When you use the Report Wizard to create a paper-based report, you use the
Templates page of the wizard to apply a template (.tdf file) to the report.
The Templates page lists the default templates, as well as any templates that
you have created. Note: If the list of templates does not appear, make
sure that the REPORTS_PATH
environment
variable includes the location of the templates (for example, ORACLE_HOME/reports/templates
).
When you choose a template, objects in the margin area of a template are imported into the same locations in the current report section, overwriting any existing objects. The characteristics (formatting, fonts, colors, and so on) of objects in the body area of the template are applied to objects in the body area of the current report section. Any template properties, parameters, report triggers, program units, and attached libraries you have defined are also applied. 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.
If you later apply another template to a report, the existing template objects will be deleted in the current report section.
About inheritance in templates
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
Adding a template to the predefined templates list
Copyright © 1984, 2005, Oracle. All rights reserved.