Editing text Referencing a field in boilerplate text

How To... 4-65 a href=http:your_webserverreportsmy_report.htmlimg src=oracle.gif a With the Contains HTML tags property set to Yes, this object will appear in HTMLHTMLCSS 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.comjavaNervousText 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.comjavaNervousText applet code=NervousText.class width=84 height=72 param name=text value=10 applet See also Section 1.8.5, About boilerplate objects Section 2.5.1, About Parameter Form HTML extensions

4.9.2.4 Editing text

To insert and replace text:

1. In the Paper Design view, Paper Layout view, or Paper Parameter Form view,

single-click the text object.

2. Click the text to change to edit mode.

3. Modify the text as desired, then click outside the text object.

To delete text: 1. In the Paper Design view, Paper Layout view, or Paper Parameter Form view, single-click the text object.

2. To cut all the text, choose Edit Delete.

To cut, copy, or paste text: 1. In the Paper Layout view or Parameter Form view, single-click the text object.

2. Click and drag to mark the text you want to cut or copy, then choose Edit Cut or

Edit Copy .

3. To paste text, choose Edit Paste.

4.9.2.5 Referencing a field in boilerplate text

To reference a field in boilerplate text: 1. In the Paper Design view or Paper Layout view, click in the boilerplate text where you want the reference to a field to appear. 2. Type an ampersand followed by the name of the field. 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