Adobe COLDFUSION 9 Manual page 1051

Developing applications
Hide thumbs Also See for COLDFUSION 9:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Working with Documents, Charts, and Reports
PageFooter
{
color:#2F2F2F;
font-size:8pt;
}
RectangleStyle
{
color:#E3EDEF;
background-color:#E3EDEF;
}
LineStyle
{
color:#CCCCCC;
background-color:#CCCCCC;
}
GroupFooter
{
color:Blue;
font-weight:bold;
font-family:Tahoma;
Change the ReportTitle style
5
shows:
ReportTitle
{
color:Red;
font-size:24pt;
font-weight: bold;
}
Save the CSS file.
6
Also, you can override report styles from ColdFusion. Form more information, see
page 1048.
Note: If you add a style to the CSS file, add a style with the same name to the report in Report Builder. Also, Report Builder
does not support all CSS styles. For more information, see the cfreport tag in the CFML Reference.
Import the CSS file
1
Choose Window > Report Styles.
Click the import styles icon (the one with the blue arrow).
2
Navigate to the location of the artStyles.css file, and click OK. Report Builder automatically updates the report style
3
definition and applies the updated style to report title.
Press F12 to preview the report.
4
Overriding report settings at run time
You can use the
tag in ColdFusion to override report settings in a Report Builder report at run time. The
cfreport
examples use the CFR file that you created in
Overriding the report query
This example filters the data in the report based on the login ID of the artist. When the artist logs on, the report displays
the data and pie chart for that artist. The report also includes the pie chart with data from all the artists.
attribute to Red and add the
color
"Creating a simple
Last updated 8/5/2010
attribute, as the following code
font-weight
"Overriding report
report" on page 1036.
1046
styles" on

Advertisement

Table of Contents
loading

Table of Contents