1
0
mirror of https://github.com/fumiama/go-docx.git synced 2026-06-13 12:20:30 +08:00

add AddInlineDrawingFrom

This commit is contained in:
源文雨
2023-02-20 22:48:04 +08:00
parent f07b5dd914
commit 292a298c57
27 changed files with 634 additions and 130 deletions

View File

@@ -42,8 +42,10 @@ func newEmptyFile() *Docx {
},
},
},
rId: 3,
buf: bytes.NewBuffer(make([]byte, 0, 1024*1024*4)),
media: make([]Media, 0, 64),
mediaNameIdx: make(map[string]int, 64),
rId: 3,
buf: bytes.NewBuffer(make([]byte, 0, 1024*1024*4)),
}
docx.Document.file = docx
return docx