Versions in this module Expand all Collapse all v1 v1.0.2-alpha Aug 18, 2023 v1.0.1 May 9, 2023 v1.0.0 May 4, 2023 Changes in this version type ParagraphProperties + func (p *ParagraphProperties) LineSpace(before, after shared.Twip) *ParagraphProperties + func (p *ParagraphProperties) XLineSpace(x float64) *ParagraphProperties v0 v0.0.1 Apr 4, 2023 Changes in this version + type CustomStyle struct + DefaultId int64 + Flg string + Format *Format + Id int64 + ParagraphStyle *ParagraphProperties + StyleName *StyleName + TextStyle *RunProperties + Type string + XMLName xml.Name + func NewCustomStyle(name, styleType string) CustomStyle + func (c *CustomStyle) DefaultStyle() map[string]*CustomStyle + type Format struct + XMLName xml.Name + type ParagraphProperties struct + AdjustRightInd *adjustRightInd + Ind *ind + Justification *justification + Kern *kern + OverflowPunct *overflowPunct + PStyle *pStyle + RPR *RunProperties + Shade *shade + SnapToGrid *snapToGrid + Spacing *spacing + TextAlignment *textAlignment + WidowControl *widowControl + XMLName xml.Name + func (p *ParagraphProperties) Align(align string) *ParagraphProperties + func (p *ParagraphProperties) IndCustom(leftChars, rightChars shared.Twip) *ParagraphProperties + func (p *ParagraphProperties) IndFirst() *ParagraphProperties + func (p *ParagraphProperties) IndHang() *ParagraphProperties + func (p *ParagraphProperties) LineSpce(before, after shared.Twip) *ParagraphProperties + func (p *ParagraphProperties) SetBold() *ParagraphProperties + func (p *ParagraphProperties) SetColor(color any) *ParagraphProperties + func (p *ParagraphProperties) SetFont(font ...string) *ParagraphProperties + func (p *ParagraphProperties) SetHead(styleId int64) *ParagraphProperties + func (p *ParagraphProperties) SetSize(size shared.Twip) *ParagraphProperties + func (p *ParagraphProperties) XLineSpce(x float64) *ParagraphProperties + type RunProperties struct + BCs *boldCs + Bold *bold + Color *colors + Fonts *fonts + Highlight *highlight + ICs *italicCs + Italic *italic + Kern *kern + Lang *lang + RStyle *rStyle + Shade *shade + Size *fontSize + SizeCs *fontSizeCs + Spacing *spacing + Underline *underline + VertAlign *vertAlign + XMLName xml.Name + func (r *RunProperties) HighlightColor(color any) *RunProperties + func (r *RunProperties) SetBold() *RunProperties + func (r *RunProperties) SetColor(color any) *RunProperties + func (r *RunProperties) SetFont(font ...string) *RunProperties + func (r *RunProperties) SetItalic() *RunProperties + func (r *RunProperties) SetSize(size shared.Twip) *RunProperties + func (r *RunProperties) SetSpace(size shared.Twip) *RunProperties + func (r *RunProperties) SetUnderLine(name string) *RunProperties + type StyleName struct + Val string + XMLName xml.Name v0.0.0-beta Apr 3, 2023 v0.0.0-alpha Mar 31, 2023