import_cond_format_colorscale

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

class import_cond_format_colorscale

Interface for importing a color scale rule of a conditional format. A color scale rule colors each cell by interpolating between two or more thresholds, each of which carries a color.

Public Functions

virtual ~import_cond_format_colorscale()
virtual import_cond_format_value *start_value() = 0

Start importing a new threshold of the color scale.

The implementor should initialize the internal buffer to store the value data when this method is called.

Note

Note that the import_cond_format_colorscale implementer must return a non-null pointer.

Returns:

Interface for importing the new value.

virtual void commit() = 0

Commit the color scale rule to the parent conditional format.