import_cond_format_date

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

class import_cond_format_date

Interface for importing a date rule of a conditional format. A date rule applies a cell format when the cell value falls within a date period.

Public Functions

virtual ~import_cond_format_date()
virtual void set_period(cond_format_date_t period) = 0

Set the date period of the rule.

Parameters:

period – Date period of the rule.

virtual void set_dxf_id(std::size_t dxf) = 0

Set the ID of the differential cell format (dxf) to apply when the cell value falls within the date period.

Parameters:

dxf – ID of the differential cell format.

virtual void commit() = 0

Commit the date rule to the parent conditional format.