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

add AddInlineDrawingFrom

This commit is contained in:
源文雨
2023-02-20 22:48:04 +08:00
parent f07b5dd914
commit 292a298c57
27 changed files with 634 additions and 130 deletions

View File

@@ -1,15 +1,20 @@
package docxlib
import "encoding/xml"
import (
"encoding/xml"
"sync"
)
const (
XMLNS_REL = `http://schemas.openxmlformats.org/package/2006/relationships`
REL_HYPERLINK = `http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink`
REL_IMAGE = `http://schemas.openxmlformats.org/officeDocument/2006/relationships/image`
REL_TARGETMODE = "External"
)
type Relationships struct {
mu sync.RWMutex
XMLName xml.Name `xml:"Relationships"`
Xmlns string `xml:"xmlns,attr"`
Relationships []*Relationship `xml:"Relationship"`