Versions in this module Expand all Collapse all v1 v1.2.0 Feb 2, 2023 Changes in this version + const NEWLINE + const TAB + type Docx struct + func (d *Docx) GetContent() string + func (d *Docx) ImagesLen() int + func (d *Docx) Replace(oldString string, newString string, num int) (err error) + func (d *Docx) ReplaceAllPng(newImage string) (err error) + func (d *Docx) ReplaceFooter(oldString string, newString string) (err error) + func (d *Docx) ReplaceHeader(oldString string, newString string) (err error) + func (d *Docx) ReplaceImage(oldImage string, newImage string) (err error) + func (d *Docx) ReplaceLink(oldString string, newString string, num int) (err error) + func (d *Docx) ReplaceRaw(oldString string, newString string, num int) + func (d *Docx) SetContent(content string) + func (d *Docx) Write(ioWriter io.Writer) (err error) + func (d *Docx) WriteToFile(path string) (err error) + type ReplaceDocx struct + func ReadDocx(reader ZipData) (*ReplaceDocx, error) + func ReadDocxFile(path string) (*ReplaceDocx, error) + func ReadDocxFromFS(file string, fs fs.FS) (*ReplaceDocx, error) + func ReadDocxFromMemory(data io.ReaderAt, size int64) (*ReplaceDocx, error) + func (r *ReplaceDocx) Close() error + func (r *ReplaceDocx) Editable() *Docx + type ZipData interface + type ZipFile struct + type ZipInMemory struct