Deploying a report Changing orientation

4-40 Oracle Reports Users Guide to Building Reports See also Section 2.8.3, About report distribution Section 2.1.2, About report sectioning and sections Chapter Creating Advanced Distributions in the Oracle Fusion Middleware Publishing Reports to the Web with Oracle Reports Services manual.

4.7.13 Deploying a report

To deploy a report so that end users can view it, refer to the section Deploying Your Reports in the chapter Running Report Requests in the Oracle Fusion Middleware Publishing Reports to the Web with Oracle Reports Services manual. This section describes how to deploy a report with a paper layout that is, a REP, RDF, XML, spreadsheet, or JSP report and how to deploy a report with a Web layout that is, a JSP report.

4.7.14 Changing orientation

To change the orientation portrait or landscape of a report section, follow the steps for the desired output format: ■ Printer output DESTYPE=PRINTER or RTF output DESFORMAT=RTF ■ PDF output Printer output DESTYPE=PRINTER or RTF output DESFORMAT=RTF The orientation of report output is based on the following order of precedence: 1. ORIENTATION command line keyword. 2. ORIENTATION system parameter. 3. Orientation property for the pertinent report section Header, Main, or Trailer: Portrait or Landscape. 4. If the Orientation property is set to Default Width and Height properties for the pertinent report section: – If Width is greater than Height for example, 11 x 8.5, then orientation is landscape. – If Height is greater than Width for example, 8.5 x 11, then orientation is portrait. To set the report output orientation, do one of the following: ■ On the command line, specify the ORIENTATION command line keyword. This takes precedence over the ORIENTATION system parameter, the Orientation property, and the Width and Height properties. For information about the ORIENTATION command line keyword, see the appendix Command Line Keywords in the Oracle Fusion Middleware Publishing Reports to the Web with Oracle Reports Services manual. ■ Specify the ORIENTATION system parameter. This takes precedence over the Orientation property, and the Width and Height properties. To specify the ORIENTATION system parameter, which allows end users to modify the orientation at runtime: ■ Choose Tools Parameter Form Builder to display the Parameter Form Builder. ■ Click the ORIENTATION system parameter. How To... 4-41 ■ Click OK to display the Paper Parameter Form view. ■ Double-click the Orientation value field PF_ORIENTATION to display the Property Inspector. ■ Under the Parameter node, set the Initial Value property to Portrait or Landscape. ■ Click the Run Paper Layout button in the toolbar. ■ From the Orientation list, change the orientation if desired. ■ Set the Orientation property andor the Width and Height properties: – In the Object Navigator, under the Paper Layout node, double-click the properties icon for the pertinent report section Header, Main, or Trailer to display the Property Inspector by default, a report is defined in the Main Section. – In the Property Inspector, under the Section node, set the Orientation property to the desired value. If set to Portrait or Landscape, this value takes precedence over the Width and Height properties. If set to Default, orientation is based on the values of the Width and Height properties landscape orientation if Width is greater than Height, and portrait orientation if Height is greater than Width. PDF output For PDF output, any values specified for the ORIENTATION command line keyword, ORIENTATION system parameter, and Orientation property are ignored. Orientation of the PDF output is based solely on the values of the Width and Height properties:

1. In the Object Navigator, under the Paper Layout node, double-click the properties

icon for the pertinent report section Header, Main, or Trailer to display the Property Inspector by default, a report is defined in the Main Section.

2. In the Property Inspector, under the Section node, set the Width and Height

properties as desired for example, 11 or 15 width x 8.5 height for landscape, or 8.5 width x 11 or 15 height for portrait. Make sure that you subtract the margin depths for example, for an 8.5 x 11 page with top, bottom, left, and right margins of .25, set Width to 8 and Height to 10.5. See also Section 2.1.2, About report sectioning and sections

4.7.15 Suppressing the Parameter Form