From 8493fea373bef159998023a7ac42740b115bd866 Mon Sep 17 00:00:00 2001 From: Ri Xu Date: Wed, 26 Jul 2017 18:37:00 +0800 Subject: - Add number format code with unicode values, relate issue #86; - godoc updated --- cell.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'cell.go') diff --git a/cell.go b/cell.go index f81f36c..652dc9f 100644 --- a/cell.go +++ b/cell.go @@ -206,7 +206,14 @@ func (f *File) SetCellFormula(sheet, axis, formula string) { } // SetCellHyperLink provides function to set cell hyperlink by given sheet index -// and link URL address. Only support external link currently. +// and link URL address. Only support external link currently. For example: add +// hyperLink for Sheet1!A3: +// +// xlsx.SetCellHyperLink("Sheet1", "A3", "https://github.com/xuri/excelize") +// // Set underline and font color style for the cell. +// style, _ := xlsx.NewStyle(`{"font":{"color":"#1265BE","underline":"single"}}`) +// xlsx.SetCellStyle("Sheet1", "A3", "A3", style) +// func (f *File) SetCellHyperLink(sheet, axis, link string) { xlsx := f.workSheetReader(sheet) axis = f.mergeCellsParser(xlsx, axis) -- cgit v1.2.1