Documentation ¶
Index ¶
- type Docx
- func (d *Docx) Replace(oldString string, newString string, num int) (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) ReplaceLink(oldString string, newString string, num int) (err error)
- func (d *Docx) ReplaceRaw(oldString string, newString string, num int)
- func (d *Docx) Write(ioWriter io.Writer) (err error)
- func (d *Docx) WriteToFile(path string) (err error)
- type ReplaceDocx
- type ZipData
- type ZipFile
- type ZipInMemory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Docx ¶
type Docx struct {
// contains filtered or unexported fields
}
func (*Docx) ReplaceFooter ¶
func (*Docx) ReplaceHeader ¶
func (*Docx) ReplaceLink ¶
func (*Docx) WriteToFile ¶
type ReplaceDocx ¶
type ReplaceDocx struct {
// contains filtered or unexported fields
}
func ReadDocx ¶
func ReadDocx(reader ZipData) (*ReplaceDocx, error)
func ReadDocxFile ¶
func ReadDocxFile(path string) (*ReplaceDocx, error)
func ReadDocxFromMemory ¶
func ReadDocxFromMemory(data io.ReaderAt, size int64) (*ReplaceDocx, error)
func (*ReplaceDocx) Close ¶
func (r *ReplaceDocx) Close() error
func (*ReplaceDocx) Editable ¶
func (r *ReplaceDocx) Editable() *Docx
type ZipData ¶
type ZipData interface {
// contains filtered or unexported methods
}
Contains functions to work with data from a zip file
type ZipFile ¶
type ZipFile struct {
// contains filtered or unexported fields
}
Type for zip files read from disk
type ZipInMemory ¶
type ZipInMemory struct {
// contains filtered or unexported fields
}
Type for in memory zip files
Click to show internal directories.
Click to hide internal directories.