Styles are the visual traits of annotation, such as color, font, line width, etc. These styles are all defined in CM4D and applied to annotation in order to use common attributes throughout reports. In CM4D Peruse, these styles are used by Annotation Templates.
All custom Styles and Scores used by the annotation must be imported before importing the Annotation Template file. Any custom styles (non-default) and Scores used in the annotation are not already imported, an error will occur during the import of the annotation template and an error message is shown.
Styles are part of a CM4D document properties that allow common styles (such as font, line size, colors, etc.) to be applied to annotation across any number of sheets or reports. While some styles are included in a CM4D document by default, template developers can also create custom styles to use for annotation, scores or conditional styles.
For example, a Conditional style could be defined that changes the fill color of a box in the annotation if the value of the variable ~cp~ is greater than 1.33.
Any Styles used by the exported Annotation templates must also be exported from CM4D. To export custom styles from CM4D, go to the Document Styles and use the export function in that dialog.
The Default styles (in the bottom portion of the Styles dialog) cannot be exported from CM4D. For the purposes of Styles in CM4D Configuration, these defaults are automatically uploaded.
Changes to the default styles here will be reflected in the Root/Default styles in CM4D Configuration.
Styles appear in a grid card with one row per Style.
![]() |
|
Action | Click the three dots
to open the menu of available actions for the selected row.
|
Style Name | The Style label, taken from the label assigned in Document Styles, not from the exported template file name. |
Style Type | The category of style indicates its source:
|
A Style can be imported by clicking the Import button in the top right of the Styles card. The Import Style blade is opened to choose a file.
If the import is successful, the uploaded style appears in the grid as a Custom Style Type.
Custom Styles that reference other user-created Styles as its Base properties cannot be imported until the referenced 'parent' Styles are imported.
Styles are used by CM4D Peruse when displaying annotations in the 3D viewer.
Can we improve this topic?