xmlSharedStrings.go 997 B

12345678910111213141516171819202122232425262728
  1. package excelize
  2. import "encoding/xml"
  3. // xlsxSST directly maps the sst element from the namespace
  4. // http://schemas.openxmlformats.org/spreadsheetml/2006/main currently I have
  5. // not checked this for completeness - it does as much as I need.
  6. type xlsxSST struct {
  7. XMLName xml.Name `xml:"http://schemas.openxmlformats.org/spreadsheetml/2006/main sst"`
  8. Count int `xml:"count,attr"`
  9. UniqueCount int `xml:"uniqueCount,attr"`
  10. SI []xlsxSI `xml:"si"`
  11. }
  12. // xlsxSI directly maps the si element from the namespace
  13. // http://schemas.openxmlformats.org/spreadsheetml/2006/main - currently I have
  14. // not checked this for completeness - it does as much as I need.
  15. type xlsxSI struct {
  16. T string `xml:"t"`
  17. R []xlsxR `xml:"r"`
  18. }
  19. // xlsxR directly maps the r element from the namespace
  20. // http://schemas.openxmlformats.org/spreadsheetml/2006/main - currently I have
  21. // not checked this for completeness - it does as much as I need.
  22. type xlsxR struct {
  23. T string `xml:"t"`
  24. }