cond_format_iconset_rule_t

Defined in header: <orcus/spreadsheet/cond_format.hpp>

struct cond_format_iconset_rule_t

Stores an icon set rule of a conditional format, which shows an icon in each cell chosen by comparing the cell value against a series of thresholds.

Public Functions

cond_format_iconset_rule_t()
cond_format_iconset_rule_t(const cond_format_iconset_rule_t &other)
cond_format_iconset_rule_t(cond_format_iconset_rule_t &&other)
~cond_format_iconset_rule_t()
cond_format_iconset_rule_t &operator=(cond_format_iconset_rule_t other)
void swap(cond_format_iconset_rule_t &other) noexcept

Public Members

bool show_value = true

Whether or not to show the value in the cell.

icon_set_t icon_set = icon_set_t::unknown

Set of icons to use.

bool reverse = false

Whether or not to use the icons in reverse order.

std::vector<cond_format_value_t> values

Thresholds of the icon set, one per icon.