xmlSharedStrings.go 1003 B

123456789101112131415161718192021222324252627282930
  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
  5. // I have 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 -
  14. // currently I have not checked this for completeness - it does as
  15. // much as I need.
  16. type xlsxSI struct {
  17. T string `xml:"t"`
  18. R []xlsxR `xml:"r"`
  19. }
  20. // xlsxR directly maps the r element from the namespace
  21. // http://schemas.openxmlformats.org/spreadsheetml/2006/main -
  22. // currently I have not checked this for completeness - it does as
  23. // much as I need.
  24. type xlsxR struct {
  25. T string `xml:"t"`
  26. }