fumiama / go-docx

One of the most functional libraries to partially read and write .docx files (a.k.a. Microsoft Word documents or ECMA-376 Office Open XML) in Go.
GNU Affero General Public License v3.0
109 stars 14 forks source link

可以获取文档里的图片吗 #8

Closed wingjson closed 1 year ago

fumiama commented 1 year ago

图片解压docx就能获得,如果想按照段落获取,只需要通过图片的引用id获得相应的Media结构体。

Think-Me commented 1 month ago

图片解压docx就能获得,如果想按照段落获取,只需要通过图片的引用id获得相应的Media结构体。

请问图片的引用ID从哪里取?