forked from p30928647/excelize
29 lines
1.0 KiB
Go
29 lines
1.0 KiB
Go
|
// Copyright 2016 - 2019 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.
|
||
|
//
|
||
|
// Package excelize providing a set of functions that allow you to write to
|
||
|
// and read from XLSX files. Support reads and writes XLSX file generated by
|
||
|
// Microsoft Excel™ 2007 and later. Support save file without losing original
|
||
|
// charts of XLSX. This library needs Go version 1.8 or later.
|
||
|
|
||
|
package excelize
|
||
|
|
||
|
import "encoding/xml"
|
||
|
|
||
|
// xlsxCalcChain directly maps the calcChain element. This element represents the root of the calculation chain.
|
||
|
type xlsxCalcChain struct {
|
||
|
XMLName xml.Name `xml:"http://schemas.openxmlformats.org/spreadsheetml/2006/main calcChain"`
|
||
|
C []xlsxCalcChainC `xml:"c"`
|
||
|
}
|
||
|
|
||
|
// xlsxCalcChainC directly maps the c element.
|
||
|
type xlsxCalcChainC struct {
|
||
|
R string `xml:"r,attr"`
|
||
|
I int `xml:"i,attr"`
|
||
|
L bool `xml:"l,attr,omitempty"`
|
||
|
S bool `xml:"s,attr,omitempty"`
|
||
|
T bool `xml:"t,attr,omitempty"`
|
||
|
A bool `xml:"a,attr,omitempty"`
|
||
|
}
|