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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user