import_cond_format_iconset
Defined in header: <orcus/spreadsheet/import_interface_cond_format.hpp>
-
class import_cond_format_iconset
Interface for importing an icon set rule of a conditional format. An icon set rule shows an icon in each cell chosen by comparing the cell value against a series of thresholds.
Public Functions
-
virtual ~import_cond_format_iconset()
-
virtual void set_show_value(bool show) = 0
Set whether or not to show the value in the cell.
- Parameters:
show – Whether or not to show the value in the cell.
-
virtual void set_icon_set(icon_set_t icons) = 0
Set the set of icons to use.
- Parameters:
icons – Set of icons to use.
-
virtual void set_reverse(bool reverse) = 0
Set whether or not to use the icons in reverse order.
- Parameters:
reverse – Whether or not to use the icons in reverse order.
-
virtual import_cond_format_value *start_value() = 0
Start importing a new threshold of the icon set. Each threshold corresponds to one icon.
The implementor should initialize the internal buffer to store the value data when this method is called.
Note
Note that the import_cond_format_iconset implementer must return a non-null pointer.
- Returns:
Interface for importing the new value.
-
virtual void commit() = 0
Commit the icon set rule to the parent conditional format.
-
virtual ~import_cond_format_iconset()