Orcus
|
#include <import_interface.hpp>
Public Member Functions | |
virtual void | set_range (const range_t &range)=0 |
virtual void | set_column (col_t col)=0 |
virtual void | append_column_match_value (std::string_view value)=0 |
virtual void | commit_column ()=0 |
virtual void | commit ()=0 |
Interface for importing auto filters.
Importing a single auto filter would roughly follow the following flow:
|
pure virtual |
Append a match value to the current column filter. A single column filter may have one or more match values.
value | match value to append to the current column filter. |
|
pure virtual |
Commit current auto filter data stored in the buffer to the sheet store.
|
pure virtual |
Commit the current column filter data to the current auto filter buffer. The implementor may clear the current column filter buffer after this call.
|
pure virtual |
Specify the column position of a filter. The position is relative to the first column in the auto filter range. This method gets called at the beginning of each column filter data. The implementor may initialize the column filter data buffer when this method is called.
col | 0-based column position of a filter relative to the first column of the auto filter range. |
|
pure virtual |
Specify the range where the auto filter is applied.
range | structure containing the top-left and bottom-right positions of the auto filter range. |