Generally speaking, a style in Mail & Deploy is a collection of properties and settings that dictate how an item (e.g. text, a table cell etc.) is rendered in a report document.
Each style value has four different application modes.
None.
If a style value has this application mode, the associated property will not be set in the report document and whatever is the default for the report type ( Report Types) will be kept.
Keep Original.
If a style value has this application mode, the associated property will be set to the value that has originally set; e.g. when a table report element ( Table Elements) is read from a datasource, the original value of that style in the datasource will be kept.
Constant Value.
If a style value has this application mode, the associated property will be set to a constant value.
Expression.
If a style value has this application mode, the associated property will be set to a value evaluated from an expression ( see Expressions).
General Attributes
Each style has the following general attribute:
Name | The name of the style; this is only used within Mail & Deploy to identify the style. |
Style Types
Table Cell Styles
This type of style contains properties and settings to format the cell of a table and its contents. It has in addition to the general attributes that every style has - the following style attributes:
Text Style Attributes
Font Name | The name of the font to use to render the text. |
Font Size | The size of the font to use to render the text. |
Font Is Bold | Determines whether the text shall be rendered bold. |
Font Is Italic | Determines whether the text shall be rendered italic. |
Font Is Underlined | Determines whether the text shall be rendered underline. |
Text Color | The colour in which the text shall be rendered. |
Value Format | The format string that determines in which format the text shall be rendered. This can be any standard format string (Standard Date Time Format Strings Documentation) or a more flexible custom format string (Custom Date Time Format Strings Documentation). |
Wrap | Determines whether the text may be wrapped within the table cell. |
Horizontal Alignment | Determines how the text shall be horizontally aligned within the table cell. |
Vertical Alignment | Determines how the text shall be vertically aligned within the table cell. |
Background Style Attributes
Background Pattern | The pattern in which to render the background. |
Background Color | The color in which to render the background of the table cell. |
Border Style Attributes
For each border side (top, bottom, left, right) the following attributes are available:
Border Line Type | The line type in which the border shall be rendered. |
Border Color | The color in which the border shall be rendered. |
Padding Style Attributes
For each side (top, bottom, left, right) the following attributes are available:
Padding | The padding of the text within the cell. |