1
0
mirror of https://github.com/fumiama/go-docx.git synced 2026-06-11 19:10:24 +08:00

feat: add drawing inline marshal

This commit is contained in:
源文雨
2023-02-08 21:25:09 +08:00
parent 362dfefee9
commit ae07360d5e
12 changed files with 627 additions and 77 deletions

View File

@@ -34,7 +34,7 @@ func (p *Paragraph) AddLink(text string, link string) *Hyperlink {
},
}
p.Data = append(p.Data, ParagraphChild{Link: hyperlink})
p.Children = append(p.Children, ParagraphChild{Link: hyperlink})
return hyperlink
}