1
0
mirror of https://github.com/fumiama/go-docx.git synced 2026-06-09 01:30:25 +08:00

add SplitByParagraph

This commit is contained in:
源文雨
2023-03-09 17:20:17 +08:00
parent 2a630f6342
commit 69a899d4a5
12 changed files with 282 additions and 37 deletions

View File

@@ -21,7 +21,6 @@
package docx
import (
"bytes"
"encoding/xml"
)
@@ -71,7 +70,6 @@ func newEmptyA4File() *Docx {
slowIDs: make(map[string]uintptr, 64),
template: "a4",
tmpfslst: A4TemplateFilesList,
buf: bytes.NewBuffer(make([]byte, 0, 1024*1024)),
}
docx.Document.Body.file = docx
return docx