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

simplify drawing namespace

This commit is contained in:
源文雨
2023-02-21 12:42:20 +08:00
parent 292a298c57
commit 092b86e7f4
3 changed files with 27 additions and 16 deletions

View File

@@ -77,7 +77,7 @@ func main() {
fmt.Printf("\tWe've found a new run with the text ->%s\n", child.Run.Text.Text)
}
if child.Run.Drawing != nil {
fmt.Printf("\tWe've found a new run with the drawing ->%d\n", child.Run.Drawing.Inline.DistT) // TODO: replace to refid
fmt.Printf("\tWe've found a new run with the drawing ->%s\n", child.Run.Drawing.Inline.DocPr.Name) // TODO: replace to refid
}
}
if child.Link != nil {