A script-enabled browser is required for this page to function properly.

Creating a boilerplate text object for HTML tags

Note: This procedure applies to paper-based reports.

To create a boilerplate text object for HTML tags:

  1. In the Paper Design view, click the Text tool in the tool palette.

  2. Click and drag a rectangle.

  3. In the new boilerplate object, type the desired HTML.

  4. Click outside the boilerplate text object.

  5. Double-click the boilerplate text object (or right-click the object, and choose Property Inspector).

  6. In the Property Inspector, under the Web Settings node, set the Contains HTML Tags property to Yes.

Usage notes

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:

Examples

Example 1: Turning formatting on and off

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>

Example 2:   Boilerplate text object tagged as a hyperlink

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.

Example 3:   Parameter values output to 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

See also

About boilerplate objects

About HTML formatting

About 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