Chapter 7 Reports


HTML presentation templates

An HTML presentation template file has an .HTMLTPL extension and allows you to define the header, footer, home page, and style sheet (for font, color, background, size, margin, and alignment) for your HTML report. The formatting defined in your style sheet will override any defined in the Report Wizard or Report Editor.

Note   Report saved with previous versions
If you open a report saved in a previous version, the HTML presentation template has the values of the default HTML presentation template or the Presentation template box will be set to (<None>).

Style sheet structure

The following table describes the use of class names in the report style sheets:

Class names Description
BODY Defines the background styles for all report pages, except the home page frame and the browser frame page.
.BROWSERBODY Defines the background styles for the browser page.
.HOMEBODY Defines the background styles for the home page.
.TEXT Defines the default font styles for text blocks, like description, annotation, etc.
.TITLE Defines the default font styles for the title of the home page.
TABLE Defines the default styles for tables.
TD Defines the default styles for table cells.
Table.GRID Defines the styles for object list tables.
TABLE.GRID TD.HEADER Defines the styles for the header cells of object list tables.
TABLE.GRID TD Defines the styles for the cells of object list tables of even rows.
TABLE.GRID TD TD2 Defines the styles for the cells of object list tables of odd rows.
Table.FORM Defines the styles for object card tables.
TABLE.FORM TD.HEADER Defines the styles for the cell name of object card tables.
TABLE.FORM TD Defines the styles for the cell value of object card tables.
Table.TEXT Defines the styles for the tables around the text blocks.
TABLE.TEXT TD Defines the styles for the cells of tables around the text blocks.
Table.TITLE Defines the styles for the tables around the home page title.
TABLE.TITLE TD Defines the styles for the cells of tables around the home page title.
Table.GRAPHICS Defines the styles for the tables around graphics.
TABLE.GRAPHICS TD Defines the styles for the cells of tables around graphics.
H1 Defines the styles for level 1 headings.
H2 Defines the styles for level 2 headings.
H3 Defines the styles for level 3 headings.
HR Defines the styles for separator lines.
A:LINK Defines the default colors for non-visited hyperlinks.
A: VISITED Defines the default colors for visited hyperlinks.
A: HOVER Defines the default colors for highlighted hyperlinks.
.BROWSER Defines the default font styles for the browser.
A.BROWSER:LINK Defines the default colors for non-visited hyperlinks of the browser.
A.BROWSER:VISITED Defines the default colors for visited hyperlinks of the browser.
A.BROWSER:HOVER Defines the default colors for highlighted hyperlinks of the browser.
TABLE.NAVGROUP Defines the styles for the tables around the navigation buttons.
TABLE. NAVGROUP TD Defines the styles for the cells of tables around the navigation buttons.
.NAVBUTTON Defines the default font styles for the navigation buttons.
A.NAVBUTTON:LINK Defines the default styles for non-visited hyperlinks of the navigation buttons.
A.NAVBUTTON:VISITED Defines the default styles for visited hyperlinks of the navigation buttons.
A.NAVBUTTON:HOVER Defines the default styles for highlighted hyperlinks of the navigation buttons.

 


Copyright (C) 2008. Sybase Inc. All rights reserved.