From b7b937a8a3e1e92669aaf63d2cc97dc2fc865736 Mon Sep 17 00:00:00 2001 From: Ri Xu Date: Wed, 13 Sep 2017 22:17:40 +0800 Subject: godoc updated. --- cell.go | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'cell.go') diff --git a/cell.go b/cell.go index f3aa90b..d0f747a 100644 --- a/cell.go +++ b/cell.go @@ -137,8 +137,8 @@ func (f *File) GetCellStyle(sheet, axis string) int { return f.prepareCellStyle(xlsx, cell, xlsx.SheetData.Row[xAxis].C[yAxis].S) } -// GetCellFormula provides function to get formula from cell by given sheet -// index and axis in XLSX file. +// GetCellFormula provides function to get formula from cell by given worksheet +// name and axis in XLSX file. func (f *File) GetCellFormula(sheet, axis string) string { xlsx := f.workSheetReader(sheet) axis = f.mergeCellsParser(xlsx, axis) @@ -196,10 +196,10 @@ func (f *File) SetCellFormula(sheet, axis, formula string) { } } -// SetCellHyperLink provides function to set cell hyperlink by given sheet index -// and link URL address. LinkType defines two types of hyperlink "External" for -// web site or "Location" for moving to one of cell in this workbook. The below -// is example for external link. +// SetCellHyperLink provides function to set cell hyperlink by given worksheet +// name and link URL address. LinkType defines two types of hyperlink "External" +// for web site or "Location" for moving to one of cell in this workbook. The +// below is example for external link. // // xlsx.SetCellHyperLink("Sheet1", "A3", "https://github.com/xuri/excelize", "External") // // Set underline and font color style for the cell. @@ -232,11 +232,11 @@ func (f *File) SetCellHyperLink(sheet, axis, link, linkType string) { xlsx.Hyperlinks.Hyperlink = append(xlsx.Hyperlinks.Hyperlink, hyperlink) } -// GetCellHyperLink provides function to get cell hyperlink by given sheet index -// and axis. Boolean type value link will be ture if the cell has a hyperlink -// and the target is the address of the hyperlink. Otherwise, the value of link -// will be false and the value of the target will be a blank string. For example -// get hyperlink of Sheet1!H6: +// GetCellHyperLink provides function to get cell hyperlink by given worksheet +// name and axis. Boolean type value link will be ture if the cell has a +// hyperlink and the target is the address of the hyperlink. Otherwise, the +// value of link will be false and the value of the target will be a blank +// string. For example get hyperlink of Sheet1!H6: // // link, target := xlsx.GetCellHyperLink("Sheet1", "H6") // -- cgit v1.2.1