diff options
author | charles.deng <cilendeng@gmail.com> | 2022-10-10 00:11:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-10 00:11:18 +0800 |
commit | 2f5704b114d033e81725f18459f9293a9adfee1e (patch) | |
tree | 0390794673f81669ce8a5d20571c2035c4691586 /xmlSharedStrings.go | |
parent | b1e776ee33ec78b7f6c2a0de8109009963dea521 (diff) |
Stream writer support to set inline rich text cell (#1121)
Co-authored-by: zhengchao.deng <zhengchao.deng@meican.com>
Diffstat (limited to 'xmlSharedStrings.go')
-rw-r--r-- | xmlSharedStrings.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xmlSharedStrings.go b/xmlSharedStrings.go index 683105e..3249eca 100644 --- a/xmlSharedStrings.go +++ b/xmlSharedStrings.go @@ -46,8 +46,9 @@ type xlsxSI struct { // properties are defined in the rPr element, and the text displayed to the // user is defined in the Text (t) element. type xlsxR struct { - RPr *xlsxRPr `xml:"rPr"` - T *xlsxT `xml:"t"` + XMLName xml.Name `xml:"r"` + RPr *xlsxRPr `xml:"rPr"` + T *xlsxT `xml:"t"` } // xlsxT directly maps the t element in the run properties. |