Versions in this module Expand all Collapse all v1 v1.0.0 Jul 18, 2022 Changes in this version + const HYPERLINK_STYLE + const REL_HYPERLINK + const REL_TARGETMODE + const TEMP_CONTENT + const TEMP_DOCPROPS_APP + const TEMP_DOCPROPS_CORE + const TEMP_REL + const TEMP_WORD_STYLE + const TEMP_WORD_THEME_THEME + const XMLNS + const XMLNS_R + const XMLNS_W + type Body struct + Paragraph []*Paragraph + XMLName xml.Name + type Color struct + Val string + XMLName xml.Name + type DocRelation struct + Relationship []*RelationShip + XMLName xml.Name + Xmlns string + type Document struct + Body *Body + XMLName xml.Name + XMLR string + XMLW string + type File struct + DocRelation DocRelation + Document Document + func NewFile() *File + func (f *File) AddParagraph() *Paragraph + func (f *File) Save(path string) (err error) + func (f *File) Write(writer io.Writer) (err error) + type Hyperlink struct + ID string + Run Run + XMLName xml.Name + type Paragraph struct + Data []interface{} + XMLName xml.Name + func (p *Paragraph) AddLink(text string, link string) *Hyperlink + func (p *Paragraph) AddText(text string) *Run + type RelationShip struct + ID string + Target string + TargetMode string + Type string + XMLName xml.Name + type Run struct + InstrText string + RunProperties *RunProperties + Text *Text + XMLName xml.Name + func (r *Run) Color(color string) *Run + func (r *Run) Size(size int) *Run + func (r *Run) Style(style string) *Run + type RunProperties struct + Color *Color + RunStyle *RunStyle + Size *Size + XMLName xml.Name + type RunStyle struct + Val string + XMLName xml.Name + type Size struct + Val int + XMLName xml.Name + type Text struct + Text string + XMLName xml.Name + XMLSpace string