1
0
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:
mabiao0525
2024-03-19 15:49:12 +08:00
committed by GitHub
parent f875425b6e
commit d74423910a
6 changed files with 140 additions and 15 deletions

View File

@@ -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
}