1
0
mirror of https://github.com/fumiama/go-docx.git synced 2026-06-20 17:40:33 +08:00

初步完成table

This commit is contained in:
源文雨
2023-02-23 22:41:29 +08:00
parent 2b7e65a399
commit be9f9e9672
12 changed files with 604 additions and 144 deletions

View File

@@ -61,6 +61,8 @@ func (f *Docx) parseDocument(file *zip.File) error {
// f.Document.XMLWP14 = XMLNS_WP14
f.Document.XMLName.Space = XMLNS_W
f.Document.XMLName.Local = "document"
f.Document.Body.file = f
err = xml.NewDecoder(zf).Decode(&f.Document)
if err != nil {
return err