diff options
| author | xuri <xuri.me@gmail.com> | 2019-02-26 14:21:44 +0800 |
|---|---|---|
| committer | xuri <xuri.me@gmail.com> | 2019-02-26 14:21:44 +0800 |
| commit | f66212da9bab1c39ab791d41881c70ae7ba00c20 (patch) | |
| tree | 3ec2286ddab3146b122a827a8654804567e9fd51 /excelize.go | |
| parent | 1aed1d744b12885c4a88c090494175c59208e038 (diff) | |
Resolve #106, #294 performance optimization for add hyperlink
Diffstat (limited to 'excelize.go')
| -rw-r--r-- | excelize.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/excelize.go b/excelize.go index a2bec07..feb41cb 100644 --- a/excelize.go +++ b/excelize.go @@ -40,6 +40,7 @@ type File struct { VMLDrawing map[string]*vmlDrawing WorkBook *xlsxWorkbook WorkBookRels *xlsxWorkbookRels + WorkSheetRels map[string]*xlsxWorkbookRels XLSX map[string][]byte } @@ -84,6 +85,7 @@ func OpenReader(r io.Reader) (*File, error) { SheetCount: sheetCount, DecodeVMLDrawing: make(map[string]*decodeVmlDrawing), VMLDrawing: make(map[string]*vmlDrawing), + WorkSheetRels: make(map[string]*xlsxWorkbookRels), XLSX: file, } f.CalcChain = f.calcChainReader() |
