Styles
In the Styles tab of Reporting, you can define style sets and collections to use in your assets, such as report views.
Once a style is created, it can be applied to report views, or exported and used separately for reports. This allows you to create specific styles for different needs, which you can then quickly apply to assets without having to modify all the individual elements by hand.
The styles can be created, modified, deleted, and imported and exported. When a style is changed within the Styles tabs, these changes are also automatically shown in all the assets that the style was applied to, which means that you do not need to make the changes in the various assets manually.
|
Note When styles and style sets are created in the Styles tab of Reporting, they are referred to view styles, as they are primarily intended to be used with report views. Similarly, if they are created within a report, in the Report Designer (which means they are not available for all users and for views), they are referred to as report styles. |
Read more about the various functionalities of styles in Reporting, as well as how to use them, in the upcoming sections of this document.
Styles tab
To work with view styles in Reporting, navigate to the tabs in the upper central section of the Reporting window and click Styles. This opens the Styles tab.
The following becomes available:
- A list of all available view styles, in form of a table:
- Information about the name and owner of the style is shown.
- Each row has additional options, allowing you to Edit or Delete existing styles.
- A search bar, facilitating the navigation through available styles. Searches are done by style title.
- The + Create new style button.
Creating a new style
To create a new view style in Reporting, do the following:
- Click Create new style in the Styles tab. A new pop-up opens.
- Enter the name in the style name field.
- Click Create style. A new window opens where you can start creating the view style elements within your set. This window consists of the following:
- Style title: Located in the top-left part of the screen. Click Edit
to modify the title of the style. - Top toolbar: This section contains basic editing options, such as Save.
- Properties pane: A pane containing the properties of each individual element style that you add to the style set. Here you can set up, edit and see the properties for each style. The properties vary based on what kind of style you are working with (e.g., for a component, a chart, a map, etc.).
- Style Designer: In this section of the window, you create and organize the individual style elements for your style set.
- To create a new view style element, in the Style Designer section, click Add Style. Alternatively, if you have not created any styles yet, click anywhere inside the Style Designer space and proceed to the next step.
- In the dropdown menu, click the element you want to create a style for.
- In the Properties pane, set up all the relevant properties to suit your needs. The individual properties vary based on the report element you are creating the style for. If the style you want to edit is not already selected (and its properties not opened), click it in the list in the Style Designer to see and modify its properties.
- If needed, use any of the options available in the style designer toolbar. Find out more about this in Style designer toolbar.
- Repeat the previous three steps as many times as necessary to create all the needed style elements.
- Once you have set everything up, click Save
to save your changes. Your style set can now be used with report views, as described in Select style.
Style designer toolbar
The style designer toolbar offers some additional features that can be used to further enhance your use of styles in Reporting.
The following options are available:
- Add Style: Add an individual new style, as described in Creating a new style.
- Actions: The following actions apply to all the styles in the currently open style set:
- Open: Load an .sts file from your machine to import a premade style set.
- Save As: Save the current style set as an .sts file on your machine. This file can then be shared with Reporting users that have access to the Styles feature.
- Create Style Collection: Create a new collection in your style set. This feature creates a predefined set of styles for certain report elements, such as charts or various level headings. This also creates a new folder for the collection. Multiple collections can be created within the same style set. In the Create Style Collection pop-up window, adjust the collection settings to your needs. Individual styles from the collection can later on be modified as needed.
- Delete: Delete the currently selected individual style or collection folder.
|
Caution The action of deleting a style component or collection folder is permanent and cannot be undone. |
- Get Style from Selected Components: Primarily used by Report Designers in the Report Designer tool when creating base reports and adding individual report elements; this feature is used to select a pre-styled component and to turn its properties into a style that can then be applied to other report elements.
|
Note To get a style from a selected component in the report designer interface, you first need to click the component from which you want to get the style, then click Style Designer, and then click Get Style from Selected Components. If you open the Style Designer without having selected a component beforehand, this option will not be available. |
- Filter and Sort: Filter through the various kinds of styles, or sort them in ascending or descending order.
- Search: Search the available styles for quicker use. The search is done by style name only.
|
Note In order for styles to work properly, all elements of a report that you want to apply styles to need to be given a style in the Report Designer. Report elements without an assigned style will not have any style applied to them in report views. The name of the styles assigned to the individual elements in the Report Designer need to be the same as the names in any other style you may want to use e.g. for report views. In other words, you need to ensure that all the styles intended for the same element (e.g., Heading 1) always have the same name across all style sets to ensure full functionality and faster switching between styles. |