From 551fb8a9e4b03fe718a339e75aeacc8b5581378a Mon Sep 17 00:00:00 2001 From: xuri Date: Sat, 13 Aug 2022 11:21:59 +0800 Subject: This closes #1244 and closes #1314, improving the compatibility with Google Sheet - Format code with `gofmt` --- xmlWorksheet.go | 35 ++++++++++++++++------------------- 1 file changed, 16 insertions(+), 19 deletions(-) (limited to 'xmlWorksheet.go') diff --git a/xmlWorksheet.go b/xmlWorksheet.go index 81e9ff9..3b9caac 100644 --- a/xmlWorksheet.go +++ b/xmlWorksheet.go @@ -449,16 +449,15 @@ type DataValidation struct { // // This simple type is restricted to the values listed in the following table: // -// Enumeration Value | Description -// ---------------------------+--------------------------------- -// b (Boolean) | Cell containing a boolean. -// d (Date) | Cell contains a date in the ISO 8601 format. -// e (Error) | Cell containing an error. -// inlineStr (Inline String) | Cell containing an (inline) rich string, i.e., one not in the shared string table. If this cell type is used, then the cell value is in the is element rather than the v element in the cell (c element). -// n (Number) | Cell containing a number. -// s (Shared String) | Cell containing a shared string. -// str (String) | Cell containing a formula string. -// +// Enumeration Value | Description +// ---------------------------+--------------------------------- +// b (Boolean) | Cell containing a boolean. +// d (Date) | Cell contains a date in the ISO 8601 format. +// e (Error) | Cell containing an error. +// inlineStr (Inline String) | Cell containing an (inline) rich string, i.e., one not in the shared string table. If this cell type is used, then the cell value is in the is element rather than the v element in the cell (c element). +// n (Number) | Cell containing a number. +// s (Shared String) | Cell containing a shared string. +// str (String) | Cell containing a formula string. type xlsxC struct { XMLName xml.Name `xml:"c"` XMLSpace xml.Attr `xml:"space,attr,omitempty"` @@ -644,13 +643,12 @@ type xlsxHyperlink struct { // size of the sample. To reference the table, just add the tableParts element, // of course after having created and stored the table part. For example: // -// -// ... -// -// -// -// -// +// +// ... +// +// +// +// type xlsxTableParts struct { XMLName xml.Name `xml:"tableParts"` Count int `xml:"count,attr,omitempty"` @@ -667,8 +665,7 @@ type xlsxTablePart struct { // http://schemas.openxmlformats.org/spreadsheetml/2006/main - Background sheet // image. For example: // -// -// +// type xlsxPicture struct { XMLName xml.Name `xml:"picture"` RID string `xml:"http://schemas.openxmlformats.org/officeDocument/2006/relationships id,attr,omitempty"` -- cgit v1.2.1