From 4a9b39afc634a2399c4729f4fb47c9f290ab1ee5 Mon Sep 17 00:00:00 2001 From: Ri Xu Date: Thu, 19 Jan 2017 14:05:32 +0800 Subject: - Add hyperlink and set formula support for cell support; - Character limits for cells added; - Update go test and fix typo --- xmlWorkbook.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'xmlWorkbook.go') diff --git a/xmlWorkbook.go b/xmlWorkbook.go index 775d01b..22e9e48 100644 --- a/xmlWorkbook.go +++ b/xmlWorkbook.go @@ -16,11 +16,12 @@ type xlsxWorkbookRels struct { Relationships []xlsxWorkbookRelation `xml:"Relationship"` } -// xmlxWorkbookRelation maps sheet id and xl/worksheets/sheet%d.xml +// xmlxWorkbookRelation maps sheet id and xl/worksheets/_rels/sheet%d.xml.rels type xlsxWorkbookRelation struct { - ID string `xml:"Id,attr"` - Target string `xml:",attr"` - Type string `xml:",attr"` + ID string `xml:"Id,attr"` + Target string `xml:",attr"` + Type string `xml:",attr"` + TargetMode string `xml:",attr,omitempty"` } // xlsxWorkbook directly maps the workbook element from the namespace -- cgit v1.2.1