diff options
author | xuri <xuri.me@gmail.com> | 2021-02-11 00:07:46 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2021-02-11 10:54:38 +0800 |
commit | 3648335d7f45d5cf204c32345f47e8938fe86bfb (patch) | |
tree | 19d431963317f82f78b063b0a90644c3f370718c /xmlTable.go | |
parent | 3783d1d01b458a56a4de6aba4a2d10605bfbc876 (diff) |
This improves compatibility for worksheet relative XML path and multi rules auto filter
Diffstat (limited to 'xmlTable.go')
-rw-r--r-- | xmlTable.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmlTable.go b/xmlTable.go index 22d191e..c48720b 100644 --- a/xmlTable.go +++ b/xmlTable.go @@ -1,4 +1,4 @@ -// Copyright 2016 - 2020 The excelize Authors. All rights reserved. Use of +// Copyright 2016 - 2021 The excelize Authors. All rights reserved. Use of // this source code is governed by a BSD-style license that can be found in // the LICENSE file. // @@ -46,9 +46,9 @@ type xlsxTable struct { // applied column by column to a table of data in the worksheet. This collection // expresses AutoFilter settings. type xlsxAutoFilter struct { - XMLName xml.Name `xml:"autoFilter"` - Ref string `xml:"ref,attr"` - FilterColumn *xlsxFilterColumn `xml:"filterColumn"` + XMLName xml.Name `xml:"autoFilter"` + Ref string `xml:"ref,attr"` + FilterColumn []*xlsxFilterColumn `xml:"filterColumn"` } // xlsxFilterColumn directly maps the filterColumn element. The filterColumn |