From f10ee929d0818f6327f33c7813eaa9a318555cc3 Mon Sep 17 00:00:00 2001 From: Ri Xu Date: Tue, 31 Oct 2017 16:33:36 +0800 Subject: - Bugfix: use sheet name in func `AddPicture`, relate issue #142; - godoc updated --- cell.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cell.go') diff --git a/cell.go b/cell.go index c4edf71..f5394a1 100644 --- a/cell.go +++ b/cell.go @@ -85,9 +85,9 @@ func (f *File) SetCellValue(sheet, axis string, value interface{}) { } // GetCellValue provides function to get formatted value from cell by given -// sheet index and axis in XLSX file. If it is possible to apply a format to the -// cell value, it will do so, if not then an error will be returned, along with -// the raw value of the cell. +// worksheet name and axis in XLSX file. If it is possible to apply a format to +// the cell value, it will do so, if not then an error will be returned, along +// with the raw value of the cell. func (f *File) GetCellValue(sheet, axis string) string { xlsx := f.workSheetReader(sheet) axis = f.mergeCellsParser(xlsx, axis) @@ -191,7 +191,7 @@ func (f *File) GetCellFormula(sheet, axis string) string { } // SetCellFormula provides function to set cell formula by given string and -// sheet index. +// worksheet name. func (f *File) SetCellFormula(sheet, axis, formula string) { xlsx := f.workSheetReader(sheet) axis = f.mergeCellsParser(xlsx, axis) -- cgit v1.2.1