To add your own template to the list of predefined templates in the Report Wizard:
In a text editor (for example, Wordpad), open the preferences file. (On Windows,
open ORACLE_HOME\CAUPREFS.ORA
(user preferences) if it exists; otherwise, open ORACLE_HOME\CAGPREFS.ORA
(global preferences). On UNIX, open your_home_directory/prefs.ora
(user preferences)
if it exists; otherwise, open ORACLE_HOME/tools/admin/prefs.ora
(global preferences).)
Scroll down to the template descriptions identified by Reports.xxx_Template_Desc
(where xxx
specifies a report style: Tabular
, BreakAbove
, BreakLeft
,
FormLetter
, Formlike
, MailingLabel
, Matrix
, MatrixBreak
).
For each report style for which the template is defined:
To the Reports.xxx_Template_Desc
list, add
the description that you want to appear on the Template page of the
Report Wizard.
To the corresponding Reports.xxx_Template_File
list, add the file name of your template in the same
position as the addition you made to the description list.
filename.tdf
) to ORACLE_HOME/reports/TEMPLATES
.
To include a sample image of your template in the Report Wizard:
Copy or create the .bmp
file you want to use as the image for the template and name it filename.bmp
, where filename
is the file name of your template.
Copy the .bmp
file to ORACLE_HOME/reports/TEMPLATES
.
About inheritance in templates
Defining default template attributes
Defining override template attributes
Applying a template to a report
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
Copyright © 1984, 2005, Oracle. All rights reserved.