mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
autofilter complex type
a filter is a complex type to manage <autoFilter ref="A1:D25"> <filterColumn colId="0"> <filters> <filter val="Southeast" /> <filter val="Northeast" /> </filters> </filterColumn> </autoFilter>
This commit is contained in:
parent
84011553a8
commit
0c517a9b0a
|
@ -2133,6 +2133,8 @@ void xlsx_consumer::read_worksheet(const std::string &rel_id)
|
|||
else if (current_worksheet_element == qn("spreadsheetml", "autoFilter")) // CT_AutoFilter 0-1
|
||||
{
|
||||
ws.auto_filter(xlnt::range_reference(parser().attribute("ref")));
|
||||
// complex type
|
||||
skip_remaining_content(current_worksheet_element);
|
||||
}
|
||||
else if (current_worksheet_element == qn("spreadsheetml", "sortState")) // CT_SortState 0-1
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user