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

add AddShape api

This commit is contained in:
源文雨
2023-02-27 16:12:56 +08:00
parent c8aae913f2
commit d19032acad
11 changed files with 211 additions and 23 deletions

View File

@@ -27,6 +27,7 @@ import (
"bytes"
"io"
"io/fs"
"sync"
)
// Docx is the structure that allow to access the internal represntation
@@ -39,8 +40,11 @@ type Docx struct {
media []Media
mediaNameIdx map[string]int
rID uintptr
imageID uintptr
rID uintptr
imageID uintptr
docID uintptr
slowIDs map[string]uintptr
slowIDsMu sync.Mutex
template string
tmplfs fs.FS