Creating themes for a report template
You can add report item themes and styles into a template. Associate a library to the template to use global report themes from the library in the template.
How to add a report item theme
1 In Outline, right-click themes and choose one of the following:
*New Report Item Theme when creating the theme in a report design or report template.
*New Theme when creating the theme in a report library.
*Type a name for the theme and choose OK.
*Right-click the new theme and choose New Report Item Theme.
2 In New Report Item Theme, specify the following information:
*In Name, type a name for the theme when creating the theme in a report design or report template.
*In Type, select Chart.
Choose OK.
3 Right-click the theme, and choose New Style to create a style for the theme.
4 On New Style, select one of the following options:
*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, such as Report Title or Copyright.
5 Set the desired properties for the style by selecting a property category on the left and specifying property values.
6 When you finish setting style properties, choose OK to save the style.
7 Repeat steps 5 to 6 to create additional styles for the theme.
How to add styles to a theme
1 In Outline, right-click themes and choose one of the following:
*New Report Item Theme when creating the theme in a report design or report template.
*New Theme when creating the theme in a report library.
*Type a name for the theme and choose OK.
*Right-click the new theme and choose New Report Item Theme.
2 In New Report Item Theme, specify the following information:
*In Name, type a name for the theme when creating the theme in a report design or report template.
*In Type, select Chart.
Choose OK.
3 Right-click the theme, and choose New Style to create a style for the theme.
4 On New Style, select one of the following options:
*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, such as Report Title or Copyright.
5 Set the desired properties for the style by selecting a property category on the left and specifying property values.
6 When you finish setting style properties, choose OK to save the style.
7 Repeat steps 5 to 6 to create additional styles for the theme.
How to associate a library with a template
1 If the BIRT resource folder is not the current project folder, place the library in the BIRT resource folder, so that it is available to the template. To specify a folder as the resource folder:
1 Choose WindowPreferences.
2 In Preferences, shown in Figure 26‑6, expand Actuate BIRT, and choose Resource.
3 Choose File System to select a folder to use as the resource folder.
Figure 26‑6 Specifying the location of the resource folder in Preferences
4 On Directory Selection, navigate to a folder on your computer or on the network, or choose Make New Folder to create a new folder.
5 Choose OK to confirm your folder selection. Preferences displays the path to the resource folder.
6 Choose OK to save the resource folder location information, and close the Preferences window.
7 In Navigator, select the library, then choose FileCopy Library to Shared Resource Folder. Share Library displays the library name and the location of the resource folder.
8 Choose Finish to confirm placing a copy of the library in the resource folder.
2 Open the template file, and choose Outline view.
3 In Outline view, shown in Figure 26‑7, right-click Libraries and choose Use Library.
Figure 26‑7 Choosing Use Library in the Outline view
4 In Use Library, expand Shared Resources to display the libraries in the BIRT resource folder. Figure 26‑8 shows an example of Use Library.
Figure 26‑8 Displaying libraries in the resource folder
5 Select the library that contains the themes you want to use with the template, then choose OK.