1
0
mirror of https://github.com/fumiama/go-docx.git synced 2026-06-17 23:52:34 +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

@@ -29,7 +29,7 @@ func (p *Paragraph) AddText(text string) *Run {
RunProperties: &RunProperties{},
}
p.Data = append(p.Data, ParagraphChild{Run: run})
p.Children = append(p.Children, ParagraphChild{Run: run})
return run
}