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

add: xmlns:wp14 in Document

This commit is contained in:
源文雨
2023-02-15 14:10:48 +08:00
parent 9a504d59dc
commit d10c5b0cb3
6 changed files with 15 additions and 10 deletions

View File

@@ -5,6 +5,10 @@ import (
"sync/atomic"
)
const (
HYPERLINK_STYLE = "a1"
)
// when adding an hyperlink we need to store a reference in the relationship field
func (f *Docx) addLinkRelation(link string) string {
rel := &Relationship{