xmlApp.go 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // Copyright 2016 - 2019 The excelize Authors. All rights reserved. Use of
  2. // this source code is governed by a BSD-style license that can be found in
  3. // the LICENSE file.
  4. //
  5. // Package excelize providing a set of functions that allow you to write to
  6. // and read from XLSX files. Support reads and writes XLSX file generated by
  7. // Microsoft Excel™ 2007 and later. Support save file without losing original
  8. // charts of XLSX. This library needs Go version 1.8 or later.
  9. package excelize
  10. import "encoding/xml"
  11. type xlsxProperties struct {
  12. XMLName xml.Name `xml:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties Properties"`
  13. Template string
  14. Manager string
  15. Company string
  16. Pages int
  17. Words int
  18. Characters int
  19. PresentationFormat string
  20. Lines int
  21. Paragraphs int
  22. Slides int
  23. Notes int
  24. TotalTime int
  25. HiddenSlides int
  26. MMClips int
  27. ScaleCrop bool
  28. HeadingPairs *xlsxVectorVariant
  29. TitlesOfParts *xlsxVectorLpstr
  30. LinksUpToDate bool
  31. CharactersWithSpaces int
  32. SharedDoc bool
  33. HyperlinkBase string
  34. HLinks *xlsxVectorVariant
  35. HyperlinksChanged bool
  36. DigSig *xlsxDigSig
  37. Application string
  38. AppVersion string
  39. DocSecurity int
  40. }
  41. type xlsxVectorVariant struct {
  42. Content string `xml:",innerxml"`
  43. }
  44. type xlsxVectorLpstr struct {
  45. Content string `xml:",innerxml"`
  46. }
  47. type xlsxDigSig struct {
  48. Content string `xml:",innerxml"`
  49. }