From d93a156355547c583bf35bf1201f92a3c68e89f0 Mon Sep 17 00:00:00 2001 From: Ri Xu Date: Sat, 13 May 2017 13:28:21 +0800 Subject: Initialize comments support & go test updated. --- xmlSharedStrings.go | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'xmlSharedStrings.go') 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"` } -- cgit v1.2.1