- Add number format code with unicode values, relate issue #86;

- godoc updated
This commit is contained in:
Ri Xu 2017-07-26 18:37:00 +08:00
parent 6aa59a1af2
commit 8493fea373
No known key found for this signature in database
GPG Key ID: BA5E5BB1C948EDF7
4 changed files with 836 additions and 585 deletions

View File

@ -5,7 +5,7 @@
[![Build Status](https://travis-ci.org/360EntSecGroup-Skylar/excelize.svg?branch=master)](https://travis-ci.org/360EntSecGroup-Skylar/excelize) [![Build Status](https://travis-ci.org/360EntSecGroup-Skylar/excelize.svg?branch=master)](https://travis-ci.org/360EntSecGroup-Skylar/excelize)
[![Code Coverage](https://codecov.io/gh/360EntSecGroup-Skylar/excelize/branch/master/graph/badge.svg)](https://codecov.io/gh/360EntSecGroup-Skylar/excelize) [![Code Coverage](https://codecov.io/gh/360EntSecGroup-Skylar/excelize/branch/master/graph/badge.svg)](https://codecov.io/gh/360EntSecGroup-Skylar/excelize)
[![Go Report Card](https://goreportcard.com/badge/github.com/xuri/excelize)](https://goreportcard.com/report/github.com/xuri/excelize) [![Go Report Card](https://goreportcard.com/badge/github.com/xuri/excelize)](https://goreportcard.com/report/github.com/xuri/excelize)
[![GoDoc](https://godoc.org/github.com/xuri/excelize?status.svg)](https://godoc.org/github.com/xuri/excelize) [![GoDoc](https://godoc.org/github.com/360EntSecGroup-Skylar/excelize?status.svg)](https://godoc.org/github.com/360EntSecGroup-Skylar/excelize)
[![Licenses](https://img.shields.io/badge/license-bsd-orange.svg)](https://opensource.org/licenses/BSD-3-Clause) [![Licenses](https://img.shields.io/badge/license-bsd-orange.svg)](https://opensource.org/licenses/BSD-3-Clause)
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/xuri) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/xuri)

View File

@ -206,7 +206,14 @@ func (f *File) SetCellFormula(sheet, axis, formula string) {
} }
// SetCellHyperLink provides function to set cell hyperlink by given sheet index // 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) { func (f *File) SetCellHyperLink(sheet, axis, link string) {
xlsx := f.workSheetReader(sheet) xlsx := f.workSheetReader(sheet)
axis = f.mergeCellsParser(xlsx, axis) axis = f.mergeCellsParser(xlsx, axis)

View File

@ -89,16 +89,16 @@ func parseFormatChartSet(formatSet string) *formatChart {
// //
// The following shows the type of chart supported by excelize: // The following shows the type of chart supported by excelize:
// //
// | Type | Chart | // Type | Chart
// +----------+----------------+ // ----------+----------------
// | bar | bar chart | // bar | bar chart
// | bar3D | 3D bar chart | // bar3D | 3D bar chart
// | doughnut | doughnut chart | // doughnut | doughnut chart
// | line | line chart | // line | line chart
// | pie | pie chart | // pie | pie chart
// | pie3D | 3D pie chart | // pie3D | 3D pie chart
// | radar | radar chart | // radar | radar chart
// | scatter | scatter chart | // scatter | scatter chart
// //
// In Excel a chart series is a collection of information that defines which data is plotted such as values, axis labels and formatting. // In Excel a chart series is a collection of information that defines which data is plotted such as values, axis labels and formatting.
// //

1390
styles.go

File diff suppressed because it is too large Load Diff