Applying conditional formatting
In conditional formats, you can define these properties:
- Foreground color
- Background color
- Bold
- Italic
- Underline
- Border side
Top, Bottom, Left, Right, or combinations of these
- Border style
- Border thickness
- Border color
If the report is in exact positioning mode, you can also set horizontal alignment and vertical alignment in a conditional format.
You can specify conditional formats for these report elements:
- Report
- Layout
- Label
- Field
- Special field
A single element can have multiple conditional formats. If multiple conditions evaluate to true, the formats are merged. Conditional formats cannot be directly specified on all field types but a format on a report or layout may also affect other field types.
Within a single element, properties are applied from top to bottom. For example, the first format of a field specifies a blue background color. The second format specifies a red background color and white foreground color. If both conditions are true, the field gets a blue background color and white foreground color.
Across elements, properties override properties on a higher level. For example, a conditional format on a layout specifies a red background color and white foreground color. A conditional format on a field in that layout specifies a blue background color. If both conditions are true, the field gets a blue background color and white foreground color.