mirror of
https://github.com/fumiama/go-docx.git
synced 2026-06-15 22:10:26 +08:00
House cleaning
This commit is contained in:
15
structnodes.go
Normal file
15
structnodes.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package docxlib
|
||||
|
||||
import "encoding/xml"
|
||||
|
||||
type ParagraphChild struct {
|
||||
Link *Hyperlink `xml:"http://schemas.openxmlformats.org/wordprocessingml/2006/main hyperlink"`
|
||||
Run *Run `xml:"http://schemas.openxmlformats.org/wordprocessingml/2006/main r"`
|
||||
}
|
||||
|
||||
type Paragraph struct {
|
||||
XMLName xml.Name `xml:"http://schemas.openxmlformats.org/wordprocessingml/2006/main p"`
|
||||
Data []ParagraphChild
|
||||
|
||||
file *DocxLib
|
||||
}
|
||||
Reference in New Issue
Block a user