Versions in this module Expand all Collapse all v1 v1.0.0 Apr 23, 2024 Changes in this version + type A14Ext struct + Uri string + UseLocalDpi *A14UseLocalDpi + type A14UseLocalDpi struct + A14 string + Val string + type ABlip struct + Cstate string + Embed string + ExtLst *AExtLst + type ABlipFill struct + Blip *ABlip + Stretch AStretch + type ACNvGraphicFramePr struct + GraphicFrameLocks *AXmlnSValue + type AExtLst struct + Ext *A14Ext + type AGraphic struct + A string + GraphicData *PicGraphicData + NoChangeAspect string + type APrstGeom struct + AvLst AvLst + Prst string + type ASpPr struct + PrstGeom *APrstGeom + Xfrm *AXfrm + type AStretch struct + FillRect FillRect + type AXfrm struct + Ext CxCyValue + Off XyValue + Rot string + type AXmlnSValue struct + A string + A14 string + NoChangeAspect string + Pic string + Uri string + type Anchor struct + AllowOverlap string + BehindDoc string + CNvGraphicFramePr *CNvGraphicFramePr + DistB string + DistL string + DistR string + DistT string + DocPr *IdNameValue + EffectExtent *LtrbValue + Extent *CxCyValue + Graphic *Graphic + LayoutInCell string + Locked string + PositionH *Position + PositionV *Position + RelativeHeight string + SimplePos *XyValue + SimplePosAttr string + SizeRelH *SizeRel + SizeRelV *SizeRel + WrapNone *EmptyValue + func (a *Anchor) ToWAnchor() *WAnchor + type AvLst struct + type BdrValue struct + Color string + Space string + Sz string + Value string + func (b *BdrValue) From(b1 *BdrValue) + type Blip struct + Cstate string + Embed string + ExtLst *ExtLst + func (b *Blip) ToABlip() *ABlip + type BlipFill struct + Blip *Blip + Stretch Stretch + func (b *BlipFill) ToABlipFill() *ABlipFill + type Body struct + Items []DocItem + Params BodyParams + type BodyParams struct + Bidi IntValue + FooterReference *ReferenceValue + HeaderReference *ReferenceValue + PageMargin MarginValue + PageSize SizeValue + func (b *BodyParams) ToWBodyParams() WBodyParams + type BookMarkEnd struct + func (b *BookMarkEnd) Clone() DocItem + func (b *BookMarkEnd) Tag() string + type BookMarkStart struct + func (b *BookMarkStart) Clone() DocItem + func (b *BookMarkStart) Tag() string + type BoolValue struct + Value bool + type CNvGraphicFramePr struct + GraphicFrameLocks *XmlnSValue + func (c *CNvGraphicFramePr) ToACNvGraphicFramePr() *ACNvGraphicFramePr + type CxCyValue struct + Cx string + Cy string + type DocItem interface + Clone func() DocItem + PlainText func() string + Tag func() string + Type func() DocItemType + type DocItemType int + const BookMark + const Paragraph + const Record + const Table + type Document struct + Body Body + Scheme map[string]string + SkipScheme string + func (doc *Document) Decode(reader io.Reader) error + func (doc *Document) Encode(writer io.Writer) error + type Drawing struct + Anchor *Anchor + Inline *Inline + func (d *Drawing) ToWDrawing() *WDrawing + type EmptyValue struct + type Ext struct + Uri string + UseLocalDpi *UseLocalDpi + func (e *Ext) ToA14Ext() *A14Ext + type ExtLst struct + Ext *Ext + func (e *ExtLst) ToAExtLst() *AExtLst + type FillRect struct + type FloatValue struct + Value float64 + type Graphic struct + A string + GraphicData *GraphicData + NoChangeAspect string + func (g *Graphic) ToAGraphic() *AGraphic + type GraphicData struct + Pic *Pic + Uri string + func (g *GraphicData) ToPicGraphicData() *PicGraphicData + type Header struct + Items []DocItem + Scheme map[string]string + SkipScheme string + func (h *Header) Decode(reader io.Reader) error + func (h *Header) Encode(writer io.Writer) error + type HeightValue struct + HeightRule string + Value int64 + func (h *HeightValue) From(h1 *HeightValue) + type IBookMark struct + ID string + Name string + func (b *IBookMark) PlainText() string + func (b *IBookMark) Tag() string + func (b *IBookMark) Type() DocItemType + type IdNameValue struct + ID string + Name string + type Inline struct + CNvGraphicFramePr *CNvGraphicFramePr + DistB string + DistL string + DistR string + DistT string + DocPr *IdNameValue + EffectExtent *LtrbValue + Extent *CxCyValue + Graphic *Graphic + func (i *Inline) ToWInline() *WInline + type IntValue struct + Value int64 + func (i *IntValue) From(i1 *IntValue) + type LookValue struct + FirstColumn string + FirstRow string + LastColumn string + LastRow string + NoHBand string + NoVBand string + Value string + func (l *LookValue) From(l1 *LookValue) + type LtrbValue struct + B string + L string + R string + T string + type MarginValue struct + Bottom int64 + Footer int64 + Header int64 + Left int64 + Right int64 + Top int64 + func (m *MarginValue) From(m1 *MarginValue) + type Margins struct + Bottom WidthValue + Left WidthValue + Right WidthValue + Top WidthValue + func (m *Margins) From(m1 *Margins) + func (m *Margins) ToWMargins() *WMargins + type NvPicPr struct + CNvPicPr *EmptyValue + CNvPr *IdNameValue + type PBdrValue struct + Bar BdrValue + Between BdrValue + Bottom BdrValue + Left BdrValue + Right BdrValue + Top BdrValue + func (pb *PBdrValue) From(pb1 *PBdrValue) + func (pv *PBdrValue) ToWPBdrValue() *WPBdrValue + type ParagraphItem struct + Items []DocItem + Params ParagraphParams + RsidP string + RsidR string + RsidRDefault string + RsidRPr string + func (item *ParagraphItem) Clone() DocItem + func (item *ParagraphItem) PlainText() string + func (item *ParagraphItem) Tag() string + func (item *ParagraphItem) Type() DocItemType + type ParagraphParams struct + Bidi *IntValue + Ind *MarginValue + Jc *StringValue + PBdr *PBdrValue + Rpr *RecordParams + Spacing *SpacingValue + Style *StringValue + WindowControl *StringValue + func (pp *ParagraphParams) ToWParagraphParams() *WParagraphParams + type Pic struct + BlipFill *BlipFill + NvPicPr *NvPicPr + Pic string + SpPr *SpPr + func (p *Pic) ToPicPic() *PicPic + type PicGraphicData struct + Pic *PicPic + Uri string + type PicNvPicPr struct + CNvPicPr *EmptyValue + CNvPr *IdNameValue + type PicPic struct + BlipFill *ABlipFill + NvPicPr *PicNvPicPr + Pic string + SpPr *ASpPr + type Position struct + PosOffset string + RelativeFrom string + type PrstGeom struct + AvLst AvLst + Prst string + type RecordFonts struct + ASCII string + CS string + EastAsia string + HandleANSI string + HandleInt string + type RecordItem struct + Break bool + Drawing *Drawing + Params *RecordParams + Tab bool + Text Text + func (item *RecordItem) Clone() DocItem + func (item *RecordItem) PlainText() string + func (item *RecordItem) Tag() string + func (item *RecordItem) Type() DocItemType + type RecordParams struct + Bold *EmptyValue + BoldCS *EmptyValue + Color *StringValue + Fonts *RecordFonts + Highlight *StyleValue + Italic *EmptyValue + Lang *StringValue + NoProof *EmptyValue + Rtl *IntValue + Size *IntValue + SizeCs *IntValue + Strike *EmptyValue + Underline *ShadowValue + VertAlign *StyleValue + func (rp *RecordParams) Clone() *RecordParams + func (rp *RecordParams) ToWRecordParams() *WRecordParams + type ReferenceValue struct + ID string + Type string + type ShadowValue struct + Color string + Fill string + ThemeFill string + ThemeFillShade string + Value string + func (s *ShadowValue) From(s1 *ShadowValue) + type SimpleDocxFile struct + func OpenFile(fileName string) (*SimpleDocxFile, error) + func (f *SimpleDocxFile) Render(v interface{}) error + func (f *SimpleDocxFile) RenderHeader(index int, v interface{}) error + func (f *SimpleDocxFile) Save(fileName string) error + func (f *SimpleDocxFile) Write(writer io.Writer) error + type SizeRel struct + PctHeight string + PctWidth string + RelativeFrom string + type SizeValue struct + Height int64 + Orientation string + Width int64 + func (s *SizeValue) From(s1 *SizeValue) + type SpPr struct + PrstGeom *PrstGeom + Xfrm *Xfrm + func (s *SpPr) ToASpPr() *ASpPr + type SpacingValue struct + After int64 + Before int64 + Line int64 + LineRule string + func (s *SpacingValue) From(s1 *SpacingValue) + type Stretch struct + FillRect FillRect + type StringValue struct + Value string + func (s *StringValue) From(s1 *StringValue) + type StyleValue struct + Value string + func (s *StyleValue) From(s1 *StyleValue) + type TableBorder struct + Color string + Frame int64 + Shadow int64 + Size int64 + Space int64 + Value string + func (b *TableBorder) From(b1 *TableBorder) + type TableBorders struct + Bottom TableBorder + InsideH *TableBorder + InsideV *TableBorder + Left TableBorder + Right TableBorder + Top TableBorder + func (b *TableBorders) From(b1 *TableBorders) + func (tb *TableBorders) ToWTableBorders() *WTableBorders + type TableCell struct + Items []DocItem + Params TableCellParams + func (cell *TableCell) Clone() *TableCell + type TableCellParams struct + Borders *TableBorders + GridSpan *IntValue + HideMark *EmptyValue + Margins *Margins + NoWrap *EmptyValue + Shadow *ShadowValue + VerticalAlign *StringValue + VerticalMerge *StringValue + Width *WidthValue + type TableGrid struct + Cols []*WidthValue + func (g *TableGrid) ToWGirdParams() *WTableGrid + type TableItem struct + Grid TableGrid + Params TableParams + Rows []*TableRow + func (item *TableItem) Clone() DocItem + func (item *TableItem) PlainText() string + func (item *TableItem) Tag() string + func (item *TableItem) Type() DocItemType + type TableLayout struct + Type string + type TableParams struct + Borders *TableBorders + DocGrid *IntValue + Ind *WidthValue + Jc *StringValue + Layout *TableLayout + Look *LookValue + Shadow *ShadowValue + Style *StyleValue + Width *WidthValue + func (tp *TableParams) ToWTableParams() *WTableParams + type TableParamsEx struct + Shadow ShadowValue + type TableRow struct + Cells []*TableCell + OtherParams *TableParamsEx + Params *TableRowParams + RsidR string + RsidTr string + func (row *TableRow) Clone() *TableRow + type TableRowParams struct + Height HeightValue + IsHeader bool + type Text struct + Space string + Value string + func (t Text) ToWText() *WText + type UseLocalDpi struct + A14 string + Val string + type WAnchor struct + AllowOverlap string + BehindDoc string + CNvGraphicFramePr *ACNvGraphicFramePr + DistB string + DistL string + DistR string + DistT string + DocPr *IdNameValue + EffectExtent *LtrbValue + Extent *CxCyValue + Graphic *AGraphic + LayoutInCell string + Locked string + PositionH *WPosition + PositionV *WPosition + RelativeHeight string + SimplePos *XyValue + SimplePosAttr string + SizeRelH *WSizeRel + SizeRelV *WSizeRel + WrapNone *EmptyValue + type WBdrValue struct + Color string + Space string + Sz string + Value string + type WBodyParams struct + Bidi WIntValue + FooterReference *WReferenceValue + HeaderReference *WReferenceValue + PageMargin WMarginValue + PageSize WSizeValue + type WDrawing struct + Anchor *WAnchor + Inline *WInline + type WEmptyValue struct + type WInline struct + CNvGraphicFramePr *ACNvGraphicFramePr + DistB string + DistL string + DistR string + DistT string + DocPr *IdNameValue + EffectExtent *LtrbValue + Extent *CxCyValue + Graphic *AGraphic + type WIntValue struct + Value int64 + type WLookValue struct + FirstColumn string + FirstRow string + LastColumn string + LastRow string + NoHBand string + NoVBand string + Value string + type WMarginValue struct + Bottom int64 + Footer int64 + Header int64 + Left int64 + Right int64 + Top int64 + type WMargins struct + Bottom WWidthValue + Left WWidthValue + Right WWidthValue + Top WWidthValue + type WPBdrValue struct + Bar WBdrValue + Between WBdrValue + Bottom WBdrValue + Left WBdrValue + Right WBdrValue + Top WBdrValue + type WParagraphParams struct + Bidi *WIntValue + Ind *WMarginValue + Jc *WStringValue + PBdr *WPBdrValue + Rpr *WRecordParams + Spacing *WSpacingValue + Style *WStringValue + WindowControl *WStringValue + type WPosition struct + PosOffset string + RelativeFrom string + type WRecordFonts struct + ASCII string + CS string + EastAsia string + HandleANSI string + HandleInt string + type WRecordParams struct + Bold *WEmptyValue + BoldCS *WEmptyValue + Color *WStringValue + Fonts *WRecordFonts + Highlight *WStyleValue + Italic *WEmptyValue + Lang *WStringValue + NoProof *WEmptyValue + Rtl *WIntValue + Size *WIntValue + SizeCs *WIntValue + Strike *WEmptyValue + Underline *WShadowValue + VertAlign *WStyleValue + type WReferenceValue struct + ID string + Type string + type WShadowValue struct + Color string + Fill string + ThemeFill string + ThemeFillShade string + Value string + type WSizeRel struct + PctHeight string + PctWidth string + RelativeFrom string + type WSizeValue struct + Height int64 + Orientation string + Width int64 + type WSpacingValue struct + After int64 + Before int64 + Line int64 + LineRule string + type WStringValue struct + Value string + type WStyleValue struct + Value string + type WTableBorder struct + Color string + Frame int64 + Shadow int64 + Size int64 + Space int64 + Value string + type WTableBorders struct + Bottom WTableBorder + InsideH *WTableBorder + InsideV *WTableBorder + Left WTableBorder + Right WTableBorder + Top WTableBorder + type WTableCellParams struct + Borders *WTableBorders + GridSpan *WIntValue + HideMark *WEmptyValue + Margins *WMargins + NoWrap *WEmptyValue + Shadow *WShadowValue + VerticalAlign *WStringValue + VerticalMerge *WStringValue + Width *WWidthValue + type WTableGrid struct + Cols []*WWidthValue + type WTableLayout struct + Type string + type WTableParams struct + Borders *WTableBorders + DocGrid *WIntValue + Ind *WWidthValue + Jc *WStringValue + Layout *WTableLayout + Look *WLookValue + Shadow *WShadowValue + Style *WStyleValue + Width *WWidthValue + type WTableParamsEx struct + Shadow ShadowValue + type WText struct + Space string + Value string + type WWidthValue struct + Type string + Value int64 + type WidthValue struct + Type string + Value int64 + func (w *WidthValue) From(w1 *WidthValue) + type Xfrm struct + Ext CxCyValue + Off XyValue + Rot string + type XmlnSValue struct + A string + A14 string + NoChangeAspect string + Pic string + Uri string + type XyValue struct + X string + Y string