16.14 Formatting a Report Region or Report Query Using Report Layouts
Create a report layout to format a report region or report layout.
- About Report Layouts
Learn about report layouts. - About Report Layout Options
Learn about report layout options. - Creating a Report Layout
Create a report layout in Shared Components. - Editing a Report Layout
Edit a report layout in Shared Components. - Copying a Report Layout
Copy a report layout to edit and save.
Parent topic: Managing Shared Components
16.14.1 About Report Layouts
Learn about report layouts.
To format either a classic report region or report query, you associate it with a report layout. Using report layouts renders the data in a printer-friendly format. If you do not select a report layout, a default XSL-FO layout is used. The default XSL-FO layout is always used for rendering Interactive Report regions.
When creating and using report layouts, you can:
- Take advantage of the default layouts for report regions and generic layouts for report queries provided with Oracle APEX.
- Utilize the built-in XSL-FO-based layouts for report regions by copying and customizing the code. You can edit several attributes for report regions that control page size, fonts, colors, and so on.
- Create RTF or XSL-FO report layouts to customize the report look and feel. To use RTF report layouts, your APEX service administrator must select the Advanced setting for your site.
Note:
Interactive reports do not support a custom report layout.
See Also:
Configuring Report Printing in Oracle APEX Administration Guide
16.14.2 About Report Layout Options
Learn about report layout options.
You can create a report layout based on one of these options:
-
Generic Columns - A generic report layout works with most query result sets. With this layout, the number of columns is automatically adjusted when generating the printable document.
Many report layout attributes can be defined declaratively for report regions using the built-in XSL-FO default layout. This step allows for creating customizable copies of the built-in default XSL-FO layout, if additional control over the report layout is needed.
-
Named Columns - A named column report layout is a query-specific report layout designed to work with a defined list of columns in the query result set. This type of layout is used for custom-designed layouts when precise control of the positioning of page items and query columns is required.
Note that the availability of the Report Layout options depends on how your site administrator configured the report printing settings at your site. All options described in these steps may not be available to you.
See Also:
Configuring Report Printing in Oracle APEX Administration Guide
16.14.3 Creating a Report Layout
Create a report layout in Shared Components.
To create a report layout:
16.14.4 Editing a Report Layout
Edit a report layout in Shared Components.
You can edit a generic column report layout directly in Oracle APEX. However, to edit a named column report layout, you must download the current file, edit it, and then upload it again.
To edit a report layout:
16.14.5 Copying a Report Layout
Copy a report layout to edit and save.
To copy a report layout:
- Navigate to the Shared Components page:
- Under Files and Reports, click Report Layouts.
- On the Report Layouts page, click Copy.
- On the Copy Report Layout page:
- Copy Report Layout - Select the layout you want to copy.
- Report Layout Name - Enter a name for the copy.
- Click Copy.