mirror of
https://github.com/fumiama/go-docx.git
synced 2026-06-09 09:42:55 +08:00
feat: A3PageSize (#22)
* feat: A3PageSize * feat: A3PageSize2 * feat: A3PageSize3 * feat: A3PageSize3 * feat: A3PageSize4 * Update structsect.go --------- Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>
This commit is contained in:
2
pack.go
2
pack.go
@@ -36,7 +36,7 @@ func (f *Docx) pack(zipWriter *zip.Writer) (err error) {
|
||||
|
||||
if f.template != "" {
|
||||
for _, name := range f.tmpfslst {
|
||||
files[name], err = TemplateXMLFS.Open("xml/" + f.template + "/" + name)
|
||||
files[name], err = f.tmplfs.Open("xml/" + f.template + "/" + name)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user