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

feat: 增加对删除线的支持 (#6)

fix #5
This commit is contained in:
Maiyang Lu
2023-05-25 11:03:00 +08:00
committed by GitHub
parent 050781fdde
commit dd75a0df96
2 changed files with 11 additions and 0 deletions

View File

@@ -111,6 +111,12 @@ type VertAlign struct {
Val string `xml:"w:val,attr"`
}
// Strike ...
type Strike struct {
XMLName xml.Name `xml:"w:strike,omitempty"`
Val string `xml:"w:val,attr"`
}
// Shade is an element that represents a shading pattern applied to a document element.
type Shade struct {
XMLName xml.Name `xml:"w:shd,omitempty"`