A style collection is a group of styles united by some criteria. A collection must contain at least one style. For example, if styles are used together in the current report, you can combine them into one collection. Note that a report can contain collections of several styles. However, currently only one collection applies to the report.
You can create collections of styles using the following options:
Manually enter in the collection name style property.
Note that both manually created style collections and automatically generated style collections may exist at the same time. You can also edit the collection of generated styles and all the styles within it, if desired.
Manually create a collection of styles
Step 1:Run Style Designer
Step 2: Create a style from the Add Style menu or open a previously saved file with the style.
Step 3:Fill the collection name property. The value of this property is the name of the future collection. For example, naming 5 styles Black creates a collection named Black in the list of elements in the style designer. These 5 styles are included. Keep the following points in mind when working with collections of styles:
Step 4:Configure style conditions. Without conditions, when you apply a collection of styles to a report, the styles are applied in order from top to bottom. As a result, the last style in the collection is applied to the report. However, you can also change the style of a report component by selecting the report component in the report template and choosing the appropriate style from the style menu on the Home tab of the report designer.
Step 5: Set the style settings (brush, color, border, alignment, etc.).
Step 6:Click the OK button in the Style Designer.
Create a collection of generated styles
step 1:Run Style Designer.
Step 2:Select the Create Style Collection command from the Style Designer's Actions or context menu.
Step 3:Sets parameters for future style collections.
Step 4:Click the [OK] button in the [Create Style Collection] dialog.
Step 5:Edit the style from the collection as desired and click the OK button in the style designer.
Apply a collection of styles to your report
Once the collections are created, you can select one of these collections in your report. To do this, click Select Styles on the Home Report Designer tab. A drop-down list displays a list of all report collections and styles.
After selecting the collection, a message is displayed. You must confirm or cancel this action.
Click Yes to apply the collection's styles to the report components according to the conditions specified in these styles.