cond_format_condition_rule_t
Defined in header: <orcus/spreadsheet/cond_format.hpp>
-
struct cond_format_condition_rule_t
Stores a condition rule of a conditional format, which applies a cell format when the condition expressed by its operator and operands is met.
Public Functions
-
cond_format_condition_rule_t()
-
cond_format_condition_rule_t(const cond_format_condition_rule_t &other)
-
cond_format_condition_rule_t(cond_format_condition_rule_t &&other)
-
~cond_format_condition_rule_t()
-
cond_format_condition_rule_t &operator=(cond_format_condition_rule_t other)
-
void swap(cond_format_condition_rule_t &other) noexcept
Public Members
-
cond_format_operator_t op = cond_format_operator_t::unknown
Operator of the condition.
-
std::optional<std::size_t> dxf_id
ID of the differential cell format to apply when the condition is met.
-
std::string_view rank
Rank value, when the operator is one of the top or bottom operators.
-
std::string_view text
Text value, when the operator is one of the text operators.
-
std::string_view std_dev
Number of standard deviations, when the operator is one of the average operators.
-
std::vector<cond_format_value_t> values
Operands of the condition.
-
cond_format_condition_rule_t()