To create a boilerplate text object for HTML tags:
In the Paper Design view,
click in the tool palette.
Click and drag a rectangle.
In the new boilerplate object, type the desired HTML.
Click outside the boilerplate text object.
Double-click the boilerplate text object (or right-click the object, and choose Property Inspector).
In the Property Inspector, under the Web Settings node, set the Contains HTML Tags property to Yes.
When the text object's Contains HTML Tags property is set to Yes, HTML tags and attributes are formatted in your report output as follows:
If the report is generated to HTML or HTMLCSS output, all HTML tags and attributes are interpreted and formatted in the output.
If the report is generated to other bitmap output formats (for example, PDF, RTF, PostScript), a fixed set of HTML tags and attributes are interpreted and formatted in the output, as described in About HTML formatting. Any HTML coding not in the supported set of tags and attributes is not interpreted, and appears as is in the report output.
Consider a text boilerplate object that is defined as follows:
<i><b>Design time format</b> is merged with <span
style="font-family:Arial; color:#00F">run time formatting instructions.</span></i>
With its Contains HTML Tags property set to Yes, this will format as:
Design time format is merged with run time formatting instructions.
With its Contains HTML Tags property set to No, this will format in the report output as:
<i><b>Design time format</b> is merged with <span style="font-family:Arial; color:#00F">run time formatting instructions.</span></i>
In a boilerplate text object, you can type the following text:
<a href=http://your_webserver/reports/my_report.html>
<img src=oracle.gif> </a>
With the Contains HTML tags property set to Yes, this object will appear in
HTML/HTMLCSS report output as a graphic (oracle.gif
) , which the
end user can click to link to my_report.html
.
In a boilerplate text object, you can type the following Java Applet, called
NervousText.class
, which takes the object width and height as parameters:
<base href=http://cagney.uk.oracle.com/java/NervousText/>
<applet code="NervousText.class" width=&ObjectWidth height=&ObjectHeight>
<param name=text value="&deptno">
</applet>
With the Contains HTML tags property set to Yes, this object will be interpreted with the parameters replaced with their actual values, as follows:
<base href=http://cagney.uk.oracle.com/java/NervousText/>
<applet code="NervousText.class" width=84 height=72>
<param name=text value="10">
</applet
About Web links for HTML output
Linking an HTML object to a file
Selecting HTML tags from the database
About Parameter Forms for Web reports
About Parameter Form HTML extensions
Creating HTML Parameter Form input or select events
Creating an HTML Parameter Form header using PL/SQL
Creating an HTML Parameter Form footer using PL/SQL
Creating an HTML Parameter Form header using the Property Inspector
Creating an HTML Parameter Form footer using the Property Inspector
Copyright © 1984, 2005, Oracle. All rights reserved.