Linking a boilerplate text object to a file Linking an HTML text object to a file

4-66 Oracle Reports Users Guide to Building Reports If you want to place the field reference in front of other text with no spaces in between, enclose the field name in angle brackets to separate it from the text for example, fieldnameOracle. If the field reference follows other text, no angle brackets are needed for example, Oraclefieldname. You can include field references right next to each other with no spaces in between and without angle brackets for example, field1field2field3. Usage notes ■ A reference to a field includes the fields properties. Therefore, if the Horizontal Elasticity property is set to Fixed, any extra spaces in the field will appear in the report output. For example, if field f_sal is fixed horizontally, f_ salweek may produce 800week in the report output. ■ In addition to referencing fields in a boilerplate text object, you can directly reference a database column for example, SAL. For example, SALweek may produce 800week in the report output. See also Section 1.8.4, About fields Section 1.8.5, About boilerplate objects

4.9.2.6 Linking a boilerplate text object to a file

To link a boilerplate text object to a file:

1. In the Paper Design view or Paper Layout view, click the File Link tool in the tool

palette.

2. Click and drag a rectangle.

3. Double-click the file link object to display the Property Inspector.

4. Under the File Link Boilerplate node:

■ Set the Source File Format property to Text. ■ Set the Source Filename property to the name of the file containing the text. See also Section 1.8.5, About boilerplate objects

4.9.2.7 Linking an HTML text object to a file

To link an HTML object to a file: 1. In the Paper Design view or Paper Layout view, click the File Link tool in the tool palette. 2. Click and drag a rectangle. Note: This procedure applies paper-based reports. File Link objects are not implemented in JSP-based Web reports. Note: This procedure applies to paper-based reports. File Link objects are not implemented in JSP-based Web reports. How To... 4-67 3. Double-click the file link object to display the Property Inspector.

4. Under the File Link Boilerplate node:

■ set the Source File Format property to Text. ■ set the Source Filename property to the name of the file containing the HTML tags.

5. Under the Web Settings node, set the Contains HTML Tags property to Yes.

Usage notes When the text objects 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 Section 2.8.9, About HTML formatting . Any HTML not in the supported set of tags and attributes are not interpreted, and appear as is in the report output. See also Section 1.8.5, About boilerplate objects

4.9.2.8 Wrapping text in a field