Orcus
Public Member Functions | List of all members
orcus::spreadsheet::iface::import_auto_filter Class Referenceabstract

Public Member Functions

virtual void set_range (const char *p_ref, size_t n_ref)=0
 
virtual void set_column (orcus::spreadsheet::col_t col)=0
 
virtual void append_column_match_value (const char *p, size_t n)=0
 
virtual void commit_column ()=0
 
virtual void commit ()=0
 

Member Function Documentation

virtual void orcus::spreadsheet::iface::import_auto_filter::append_column_match_value ( const char *  p,
size_t  n 
)
pure virtual

Add a match value to the current column filter.

Parameters
ppointer to the first character of match value.
nlength of match value.
virtual void orcus::spreadsheet::iface::import_auto_filter::commit ( )
pure virtual

Commit current auto filter to the model.

virtual void orcus::spreadsheet::iface::import_auto_filter::commit_column ( )
pure virtual

Commit current column filter to the current auto filter.

virtual void orcus::spreadsheet::iface::import_auto_filter::set_column ( orcus::spreadsheet::col_t  col)
pure virtual

Specify the column position of a filter. The position is relative to the first column in the auto filter range.

Parameters
col0-based column position of a filter relative to the first column.
virtual void orcus::spreadsheet::iface::import_auto_filter::set_range ( const char *  p_ref,
size_t  n_ref 
)
pure virtual

Specify the range where the auto filter is applied. The range is given in a 2-dimensional A1-style reference.

Parameters
p_refpointer to the first character of range string.
n_reflength of range string.