diff options
author | Ri Xu <xuri.me@gmail.com> | 2017-05-13 13:28:21 +0800 |
---|---|---|
committer | Ri Xu <xuri.me@gmail.com> | 2017-05-13 13:28:21 +0800 |
commit | d93a156355547c583bf35bf1201f92a3c68e89f0 (patch) | |
tree | afe5f18f86823e0c4ce672407b1009d7b94017b4 /xmlSharedStrings.go | |
parent | 66349f8ec039351770536b83b87c455543c0cf8a (diff) |
Initialize comments support & go test updated.
Diffstat (limited to 'xmlSharedStrings.go')
-rw-r--r-- | xmlSharedStrings.go | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/xmlSharedStrings.go b/xmlSharedStrings.go index 3b9d78a..878c08d 100644 --- a/xmlSharedStrings.go +++ b/xmlSharedStrings.go @@ -28,5 +28,19 @@ type xlsxSI struct { // http://schemas.openxmlformats.org/spreadsheetml/2006/main - currently I have // not checked this for completeness - it does as much as I need. type xlsxR struct { - T string `xml:"t"` + RPr *xlsxRPr `xml:"rPr"` + T string `xml:"t"` +} + +// xlsxRPr (Run Properties) specifies a set of run properties which shall be +// applied to the contents of the parent run after all style formatting has been +// applied to the text. These properties are defined as direct formatting, since +// they are directly applied to the run and supersede any formatting from +// styles. +type xlsxRPr struct { + B string `xml:"b,omitempty"` + Sz *attrValInt `xml:"sz"` + Color *xlsxColor `xml:"color"` + RFont *attrValString `xml:"rFont"` + Family *attrValInt `xml:"family"` } |