Previous Next

How to create a style

In the layout editor, select the report element to which you want to apply a style. To create a style but not apply it to any elements, click in an empty area on the report page.
Choose ElementStyleNew Style. New Style appears, as shown in Figure 7-1. The left side displays the property categories. The right side displays the properties for the category that you select.

Figure 7-1 New Style

Figure 7-1  New Style
To apply style properties to a specific type of report element, select Predefined Style, and select a style from the drop-down list.
To create a user-named style, select Custom Style, and specify a unique descriptive name. Ensure that the name is not the same as any of the predefined style names. If you specify a name that is the same as a predefined style, your custom style takes precedence, and you can no longer use the predefined style to apply cascading styles.
When you finish setting style properties, choose OK to save the style. If you selected an element before you created the style, BIRT Report Designer applies the style to that element.
The custom styles and predefined styles that you define appear in Outline, as shown in Figure 7-2. Any time you want to change a style, access it from this view.

Figure 7-2 Styles in Outline

Figure 7-2  Styles in Outline

(c) Copyright Actuate Corporation 2011