Versions in this module Expand all Collapse all v1 v1.0.1 Oct 14, 2018 Changes in this version + type AppProperties struct + func NewAppProperties() AppProperties + func (a AppProperties) Application() string + func (a AppProperties) ApplicationVersion() string + func (a AppProperties) Company() string + func (a AppProperties) SetApplication(s string) + func (a AppProperties) SetApplicationVersion(s string) + func (a AppProperties) SetCompany(s string) + func (a AppProperties) SetDocSecurity(v int32) + func (a AppProperties) SetLinksUpToDate(v bool) + func (a AppProperties) X() *extended_properties.Properties + type ContentTypes struct + func NewContentTypes() ContentTypes + func (c ContentTypes) AddDefault(fileExtension string, contentType string) + func (c ContentTypes) AddOverride(path, contentType string) + func (c ContentTypes) EnsureDefault(ext, contentType string) + func (c ContentTypes) EnsureOverride(path, contentType string) + func (c ContentTypes) RemoveOverride(path string) + func (c ContentTypes) X() *content_types.Types + type CoreProperties struct + func NewCoreProperties() CoreProperties + func (c CoreProperties) Author() string + func (c CoreProperties) Category() string + func (c CoreProperties) ContentStatus() string + func (c CoreProperties) Created() time.Time + func (c CoreProperties) Description() string + func (c CoreProperties) LastModifiedBy() string + func (c CoreProperties) Modified() time.Time + func (c CoreProperties) SetAuthor(s string) + func (c CoreProperties) SetCategory(s string) + func (c CoreProperties) SetContentStatus(s string) + func (c CoreProperties) SetCreated(t time.Time) + func (c CoreProperties) SetDescription(s string) + func (c CoreProperties) SetLanguage(s string) + func (c CoreProperties) SetLastModifiedBy(s string) + func (c CoreProperties) SetModified(t time.Time) + func (c CoreProperties) SetTitle(s string) + func (c CoreProperties) Title() string + func (c CoreProperties) X() *core_properties.CoreProperties + type DocBase struct + AppProperties AppProperties + ContentTypes ContentTypes + CoreProperties CoreProperties + ExtraFiles []ExtraFile + Images []ImageRef + Rels Relationships + Thumbnail image.Image + TmpPath string + func (d *DocBase) AddExtraFileFromZip(f *zip.File) error + func (d *DocBase) WriteExtraFiles(z *zip.Writer) error + type ExtraFile struct + DiskPath string + ZipPath string + type Hyperlink Relationship + type Image struct + Format string + Path string + Size image.Point + func ImageFromFile(path string) (Image, error) + type ImageRef struct + func MakeImageRef(img Image, d *DocBase, rels Relationships) ImageRef + func (i *ImageRef) SetRelID(id string) + func (i ImageRef) Format() string + func (i ImageRef) Path() string + func (i ImageRef) RelID() string + func (i ImageRef) RelativeHeight(w measurement.Distance) measurement.Distance + func (i ImageRef) RelativeWidth(h measurement.Distance) measurement.Distance + func (i ImageRef) Size() image.Point + type Relationship struct + func NewRelationship() Relationship + func (r Relationship) ID() string + func (r Relationship) SetTarget(s string) + func (r Relationship) String() string + func (r Relationship) Target() string + func (r Relationship) Type() string + func (r Relationship) X() *relationships.Relationship + type Relationships struct + func NewRelationships() Relationships + func (r Relationships) AddAutoRelationship(dt gooxml.DocType, src string, idx int, ctype string) Relationship + func (r Relationships) AddHyperlink(target string) Hyperlink + func (r Relationships) AddRelationship(target, ctype string) Relationship + func (r Relationships) Clear() + func (r Relationships) FindRIDForN(i int, t string) string + func (r Relationships) IsEmpty() bool + func (r Relationships) Relationships() []Relationship + func (r Relationships) X() *relationships.Relationships + type Theme struct + func NewTheme() Theme + func (t Theme) X() *dml.Theme