rptlibrary file. All of the
Styles will reside under the defaultTheme (under the Themes section).
Styles, Themes, and Templates
[ 186 ]
2. Delete all of the Styles stored in the Customer Orders.rptdesign file.
Right-click on Customer Orders.rptdesign under the Outline, and choose
Refresh Library.
3. In the Library Explorer, right-click on ClassicCarsLibrary.rptlibrary, and
choose Refresh.
4. Under the Property Editor, change the Themes drop-down to defaultTheme.
Chapter 8
[ 187 ]
5. When you apply the Theme, you will see that the Detail Table header
automatically applies the Style for the Table header.
6. Apply the remaining Custom Styles.
Now, you can create several different Themes by grouping Styles together in
Libraries. Now, when developing reports, you can create several different overall
looks that can be applied to reports by simply applying Themes using Libraries.
Using External CSS Style Sheets
A new feature in BIRT 2.2 is the ability to use external Style Sheets and simply link to
them. This works out very well when report documents are embedded into existing
Web Portals, by using the portal Style Sheets to keep a consistent look and feel. This
creates a sense of uniformity in the overall site.
Styles, Themes, and Templates
[ 188 ]
Let's say for instance, your graphics designer gives you a CSS file, and asks you to
design your reports around it.
Pages:
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162