Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metadata ¶
type Metadata struct { Generator string `xml:"generator"` Title string `xml:"title"` Description string `xml:"description"` Subject string `xml:"subject"` PrintDate string `xml:"print-date"` Keyword string `xml:"keyword"` InitialCreator string `xml:"initial-creator"` CreationDate string `xml:"creation-date"` Creator string `xml:"creator"` Date string `xml:"date"` Language string `xml:"language"` EditingCycles string `xml:"editing-cycles"` EditingDuration string `xml:"editing-duration"` Stats Statistics `xml:"document-statistic"` }
Metadata is a struct that contains metadata fields
type OpenOfficeXML ¶
type OpenOfficeXML struct {
Meta Metadata `xml:"meta"`
}
OpenOfficeXML contains the fields of te file meta.xml
type Statistics ¶
type Statistics struct { PageCount int `xml:"page-count,attr"` ImageCount int `xml:"image-count,attr"` ObjectCount int `xml:"object-count,attr"` ParagraphCount int `xml:"paragraph-count,attr"` WordCount int `xml:"word-count,attr"` CharCount int `xml:"character-count,attr"` }
Statistics is a struct that contains the document-statistics
Click to show internal directories.
Click to hide internal directories.