diff options
| author | Ri Xu <xuri.me@gmail.com> | 2017-07-26 18:37:00 +0800 |
|---|---|---|
| committer | Ri Xu <xuri.me@gmail.com> | 2017-07-26 18:37:00 +0800 |
| commit | 8493fea373bef159998023a7ac42740b115bd866 (patch) | |
| tree | e9e1fa232c180f9f0ff2f8688dcc1c2d8dc638ec /cell.go | |
| parent | 6aa59a1af29c21e0ece37fc94c66bc2999ed3540 (diff) | |
- Add number format code with unicode values, relate issue #86;
- godoc updated
Diffstat (limited to 'cell.go')
| -rw-r--r-- | cell.go | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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) |
