How to: |
You can style a report or objects in a report by changing font size and style, adjusting colors, and adding grids.
If you have worked with HTML you know that you do not always have complete control over how your report or document looks in any given Web browser, because browsers interpret HTML code and display it according to their local configurations. Nevertheless, the Report Painter works with HTML to provide you with as much styling control as possible. In fact, since Web browsers have gotten better at handling fonts and fonts sizes, you can apply a greater range of fonts and font styles to report element in HTML reports.
To further improve the display of HTML output you can:
For PDF reports, output may be affected by limitations of AdobeĀ® ReaderĀ®.
The Report Painter enables you to apply a number of fonts and font styles to columns and the contents of object areas. You can apply fonts to any element of the report using the Font toolbar, from which you can also specify whether to apply font styles to Titles only, Data only, or Titles and Data.
You can copy styling characteristics from one column to another.
To add or remove the grid that appears around your report:
The Report Options dialog box opens. Ensure that HTML is selected as the report output.
Note:
Tip: If you choose to turn grids on, you can improve the grid display in HTML reports by using internal Cascading Style Sheets.
You can apply a grid to an entire report, a column, or another object area, such as a heading or footing.
To set a global report grid (that will apply to all objects you subsequently add to the report):
The Report Options dialog box opens at the Style tab.
Note: Ensure that PDF is selected as the report output.
The Grid dialog box opens.
Note: With the default StyleSheet, which is included automatically in the request, the Select Grid button will not be available. To make it available, delete the default StyleSheet from the request. For information about deleting the default StyleSheet from the request, see Using the StyleSheet File Selector.
Make your grid selection:
Horizontal & Vertical to insert lines between rows and columns.
Horizontal to insert lines between rows.
Vertical to insert lines between columns.
Note: By default, the None option button is selected. If you do not select a line style, no grid lines will be shown.
Report to apply a grid to the entire report.
Data to apply a grid only to the data component of a column.
Title to apply a grid to only the title component of a column.
Table Heading to apply a grid only to the report heading component of a report.
Table Footing to apply a grid only to the report footing component of a report.
Heading to apply a grid only to the page heading component of a report.
Footing to apply a grid only to the page footing component of a report.
Subhead to apply a grid only to a subheading component of a report.
Subfoot to apply a grid only to a subfooting component of a report.
Subtotal to apply a grid only to a subtotal component of a report.
Across Column to apply a grid only to ACROSS values used as column titles under an ACROSS value in a report.
Across Title to apply a grid only an ACROSS value used as a column title component of a report.
Column Totals to apply a grid only to the column total component of a report.
Row Totals (Report) to apply a grid only the row total column component of a report.
Row Totals (Title) to apply a grid only the row total title component of a report.
Row Totals (Data) to apply a grid only the data in the row total column component of a report.
Note: If grids are on, you cannot use the Borders feature.
To apply a grid to a column:
The Field Properties dialog box opens at the Style tab.
Column Title and Data to apply grids to the column title and data.
Column Data to apply grids to column data.
Column Title to apply grids to column title.
The Grid dialog box opens. Make your grid selections:
Note: By default, the None option button is selected. If you do not select a line style, no grid lines will be shown.
To apply a grid to another object area:
The Properties dialog box opens at the Style tab.
Note: The active object area shows the object area selected. For example, Page Heading.
Note: By default, the None option button is selected. If you do not select a line style, no grid lines will be shown.
The Field Properties dialog box opens at the Style tab.
Note: To remove a grid for an entire report, select the Style tab in the Report Options dialog box.
The Grid dialog box opens.
You can add borders to an entire report, a column, or another object area, such as a heading or footing.
Note: You must remove grids from the report, column, or object area before you can apply borders.
You can set borders to a report globally, so that they will apply to all objects you subsequently add to the report. To set global borders:
The Report Options dialog box opens at the Style tab.
Note: Ensure that HTML or PDF is selected as the report output format.
The Borders dialog box opens.
By default, the Make All Borders The Same option is selected.
OFF to turn borders off.
LIGHT to apply thin border lines.
MEDIUM to apply medium border lines.
HEAVY to apply thick border lines.
After you make border width, style, and color selections you can see them in the Border Preview window in the Borders dialog box.
Note: By default, the None option button is selected. If you do not select a border width, style, or color, no borders will be shown.
To apply a border to a column:
The Field Properties dialog box opens at the Style tab.
The Borders dialog box opens.
By default, the Make All Borders The Same option is selected.
To specify border settings for the top, bottom, left, and right borders, select the Make All Borders the Same check box to turn off that option.
OFF to turn borders off. (This is the default.)
LIGHT to apply thin border lines.
MEDIUM to apply medium border lines.
HEAVY to apply thick border lines.
After you make border width, style, and color selections you can see them in the Border Preview window in the Borders dialog box.
Note: If the OFF option is selected in the Width drop-down list, no borders will be shown.
To apply a border to another object area:
The Properties dialog box opens at the Style tab.
The Borders dialog box opens.
To specify border settings for the top, bottom, left, and right borders, select the Make All Borders the Same check box to turn off that option.
OFF to turn borders off. This is the default.
LIGHT to apply thin border lines.
MEDIUM to apply medium border lines.
HEAVY to apply thick border lines.
After you make border width, style, and color selections you can see them in the Border Preview window in the Borders dialog box.
Note: If the OFF option is selected in the Width drop-down list, no borders will be shown.
WebFOCUS |