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

feat: embed template xmls

This commit is contained in:
源文雨
2023-02-09 14:05:31 +08:00
parent 20d91d61a4
commit 2d8e706815
17 changed files with 481 additions and 429 deletions

View File

@@ -12,8 +12,8 @@ type ParagraphChild struct {
}
type Paragraph struct {
XMLName xml.Name `xml:"http://schemas.openxmlformats.org/wordprocessingml/2006/main p"`
Children []ParagraphChild
XMLName xml.Name `xml:"http://schemas.openxmlformats.org/wordprocessingml/2006/main p"`
Children []ParagraphChild // Children will generate an unnecessary tag <Children> ... </Children> but we have no other choice
file *Docx
}