1
0
mirror of https://github.com/fumiama/go-docx.git synced 2026-06-27 14:40:24 +08:00

Fix links

This commit is contained in:
Gonzalo Fernandez-Victorio
2021-04-30 13:51:52 +01:00
parent c821a33692
commit 9cb29541da
6 changed files with 33 additions and 13 deletions

View File

@@ -15,12 +15,6 @@ func (f *DocxLib) Paragraphs() []*Paragraph {
return f.Document.Body.Paragraphs
}
func (p *Paragraph) Runs() (ret []*Run) {
data := p.Data
for _, d := range data {
if d.Run != nil {
ret = append(ret, d.Run)
}
}
return
func (p *Paragraph) Children() (ret []ParagraphChild) {
return p.Data
}