Generating RTF output Generating text output Generating delimited output

4-36 Oracle Reports Users Guide to Building Reports [CDATA[ function CF_1Formula return Date is aa date; begin --aa :=a.lire; end; ]] textSource function programUnits ■ If your report includes a graph, the graph information will not be saved in the XML file XML is text-based output, which means images are not included. See also Section 2.8.7, About XML in reports Topic Oracle Reports XML tags in the Reference section of the Oracle Reports online Help. Chapters Creating Advanced Distributions and Customizing Reports with XML in the Oracle Fusion Middleware Publishing Reports to the Web with Oracle Reports Services manual.

4.7.8 Generating RTF output

To generate RTF output: 1. In the Object Navigator, select or open the report, then click the Run Paper Layout button in the toolbar to run the report.

2. To preview your report output in a Microsoft Word document, choose File

Preview Format RTF .

3. To save your report output as an RTF file, choose File Generate to File RTF.

4. In the Save dialog box, specify a location and file name. Click Save.

See also Section 2.8.11, About RTF output

4.7.9 Generating text output

To generate text output: 1. To generate pure text output, which can be read by many different applications, set the Initial Value property of the MODE system parameter to Character see Section 4.11.1, Using a pre-defined system parameter . 2. In the Object Navigator, select or open the report, then click the Run Paper Layout button in the toolbar to run the report.

3. To preview your report output in a text viewer, choose File Preview Format

Text . Note: If MODE is set to Bitmap the default, the result is PostScript output, which can be read and rendered only by PostScript-compatible applications such as a PostScript printer. How To... 4-37

4. To save your report output as a text file, choose File Generate to File Text.

5. In the Save dialog box, specify a location and file name. Click Save.

See also Section 2.8.14, About text output

4.7.10 Generating delimited output

You can generate a report to delimited output using either of the following methods: ■ From Oracle Reports Builder ■ From the command line To generate delimited output from Oracle Reports Builder:

1. In the Object Navigator, select or open the report, then click the Run Paper Layout

button in the toolbar to run the report.

2. To preview your delimited report output in a spreadsheet, choose File Preview

Format Delimited or File Preview Format DelimitedData for large volume reports.

3. To save your delimited report output to a file, choose File Generate to File

Delimited or File Generate to File DelimitedData for large volume reports. 4. In the Delimited Output dialog box or DelimitedData Output dialog box, choose from the list or type the delimiter that will separate the cells in your report output.

5. If you want to use formatting options, choose from the list or type a Date Format

Mask or a Number Format Mask.

6. If you want to use a cell wrapper, choose from the list or type the cell wrapper that

will be placed around the cell data in your report output.

7. Click OK.

8. In the Save dialog box, specify a location and file name. Click Save.

To generate delimited output from the command line: ■ Run a report using Reports Server clients rwclient, rwservlet or rwrun, with DESFORMAT=DELIMITED or DELIMITEDDATA. You can open your delimited output file .csv to display it automatically in Microsoft Excel. Or, you can import the output file into an existing Excel worksheet. Usage notes ■ You can distribute a report in DelimitedData output format, specified either in a distribution XML file or in the Distribution dialog box. Note: To run a report through a URL, specify the Excel mimetype so that your browser opens the report output directly in Excel. For example: http:hostname:portreportsrwservlet?report=report_name +server=server_name+userid=db_connect_string+destype=cache +desformat=delimited+mimetype=applicationvnd.ms-excel 4-38 Oracle Reports Users Guide to Building Reports Limitations ■ When generating a report to delimited output, only data as defined by the report Data Model, no layout information, displays in Microsoft Excel. To generate report output that preserves the layout information in Excel, see Section 2.8.13, About Enhanced Spreadsheet output . ■ Report distribution does not support Delimited output format. You cannot specify DELIMITED as an output format in a distribution XML file or in the Distribution dialog box. ■ Report bursting does not support Delimited or DelimitedData output format. See also Section 2.8.12, About delimited output Section 4.9.7.1, Specifying date and time format masks Section 4.9.7.2, Specifying number format masks

4.7.11 Generating Enhanced spreadsheet output