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

Contains HTML Tags property

The Contains HTML Tags property specifies whether the boilerplate text or field object includes HTML tags.

Oracle Reports 10g Release 2 (10.1.2) introduces text formatting enhancements that allow you to use a defined set of HTML formatting tags to format text style (bold, italics, underline, and strikethrough) and text attributes (font name, font color, and font size), and generate formatted text objects in all bitmap output formats supported by Oracle Reports when the objects' Contains HTML Tags property is set to Yes.

Applies to

Boilerplate and fields, text file link, and placeholder columns.

Values

Yes

HTML interpretation takes place and the formatting displays in all bitmap output formats supported by Oracle Reports (including PDF, RTF, HTML, HTMLCSS, spreadsheet, and PostScript).

No

The rich text tags are not interpreted and appear as is in the output document.

Default

No

Required/Optional

Optional

Usage notes

Examples

Example 1: Turning formatting on and off

Consider a text boilerplate text 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 HTML and HTMLCSS output

About HTML formatting

About boilerplate objects