summaryrefslogtreecommitdiff
path: root/xmlApp.go
diff options
context:
space:
mode:
Diffstat (limited to 'xmlApp.go')
-rw-r--r--xmlApp.go61
1 files changed, 61 insertions, 0 deletions
diff --git a/xmlApp.go b/xmlApp.go
new file mode 100644
index 0000000..5668cf6
--- /dev/null
+++ b/xmlApp.go
@@ -0,0 +1,61 @@
+// Copyright 2016 - 2020 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.10 or later.
+
+package excelize
+
+import "encoding/xml"
+
+// xlsxProperties specifies to an OOXML document properties such as the
+// template used, the number of pages and words, and the application name and
+// version.
+type xlsxProperties struct {
+ XMLName xml.Name `xml:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties Properties"`
+ Template string
+ Manager string
+ Company string
+ Pages int
+ Words int
+ Characters int
+ PresentationFormat string
+ Lines int
+ Paragraphs int
+ Slides int
+ Notes int
+ TotalTime int
+ HiddenSlides int
+ MMClips int
+ ScaleCrop bool
+ HeadingPairs *xlsxVectorVariant
+ TitlesOfParts *xlsxVectorLpstr
+ LinksUpToDate bool
+ CharactersWithSpaces int
+ SharedDoc bool
+ HyperlinkBase string
+ HLinks *xlsxVectorVariant
+ HyperlinksChanged bool
+ DigSig *xlsxDigSig
+ Application string
+ AppVersion string
+ DocSecurity int
+}
+
+// xlsxVectorVariant specifies the set of hyperlinks that were in this
+// document when last saved.
+type xlsxVectorVariant struct {
+ Content string `xml:",innerxml"`
+}
+
+type xlsxVectorLpstr struct {
+ Content string `xml:",innerxml"`
+}
+
+// xlsxDigSig contains the signature of a digitally signed document.
+type xlsxDigSig struct {
+ Content string `xml:",innerxml"`
+}