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

add w:kern

This commit is contained in:
源文雨
2023-02-27 21:41:04 +08:00
parent d19032acad
commit 1b84ef3cf2
3 changed files with 32 additions and 0 deletions

View File

@@ -49,6 +49,12 @@ type Highlight struct {
Val string `xml:"w:val,attr,omitempty"`
}
// Kern ...
type Kern struct {
XMLName xml.Name `xml:"w:kern,omitempty"`
Val int64 `xml:"w:val,attr,omitempty"`
}
// Justification contains the way of the horizonal alignment
//
// w:jc 属性的取值可以是以下之一: