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

inline drawing add Size

This commit is contained in:
源文雨
2023-02-21 13:45:40 +08:00
parent 585ee6cda8
commit 2b5d237bc2
6 changed files with 52 additions and 77 deletions

View File

@@ -26,7 +26,7 @@ func (p *Paragraph) String() string {
case c.Link != nil:
id := c.Link.ID
text := c.Link.Run.InstrText
link, err := p.file.ReferHref(id)
link, err := p.file.ReferTarget(id)
sb.WriteString(text)
sb.WriteByte('(')
if err != nil {