cond_format_date_rule_t

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

struct cond_format_date_rule_t

Stores a date rule of a conditional format, which applies a cell format when the cell value falls within a date period.

Public Functions

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

Public Members

cond_format_date_t period = cond_format_date_t::unknown

Date period of the rule.

std::optional<std::size_t> dxf_id

ID of the differential cell format to apply.