excelize/xmlContentTypes.go

20 lines
448 B
Go
Raw Normal View History

2016-08-30 11:51:31 +08:00
package excelize
import "encoding/xml"
2016-08-30 11:51:31 +08:00
type xlsxTypes struct {
XMLName xml.Name `xml:"http://schemas.openxmlformats.org/package/2006/content-types Types"`
Overrides []xlsxOverride `xml:"Override"`
Defaults []xlsxDefault `xml:"Default"`
}
type xlsxOverride struct {
PartName string `xml:",attr"`
ContentType string `xml:",attr"`
}
type xlsxDefault struct {
Extension string `xml:",attr"`
ContentType string `xml:",attr"`
}