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

初步添加shape

This commit is contained in:
源文雨
2023-02-26 22:26:38 +08:00
parent 1f52bf35fe
commit c8aae913f2
6 changed files with 358 additions and 55 deletions

View File

@@ -31,9 +31,11 @@ func newEmptyA4File() *Docx {
XMLName: xml.Name{
Space: "w",
},
XMLW: XMLNS_W,
XMLR: XMLNS_R,
XMLWP: XMLNS_WP,
XMLW: XMLNS_W,
XMLR: XMLNS_R,
XMLWP: XMLNS_WP,
XMLWPS: XMLNS_WPS,
// XMLMC: XMLNS_MC,
// XMLWP14: XMLNS_WP14,
Body: Body{
Items: make([]interface{}, 0, 64),