@@ -137,8 +137,8 @@ func (f *File) GetCellStyle(sheet, axis string) int {
137
137
return f .prepareCellStyle (xlsx , cell , xlsx .SheetData .Row [xAxis ].C [yAxis ].S )
138
138
}
139
139
140
- // GetCellFormula provides function to get formula from cell by given sheet
141
- // index and axis in XLSX file.
140
+ // GetCellFormula provides function to get formula from cell by given worksheet
141
+ // name and axis in XLSX file.
142
142
func (f * File ) GetCellFormula (sheet , axis string ) string {
143
143
xlsx := f .workSheetReader (sheet )
144
144
axis = f .mergeCellsParser (xlsx , axis )
@@ -196,10 +196,10 @@ func (f *File) SetCellFormula(sheet, axis, formula string) {
196
196
}
197
197
}
198
198
199
- // SetCellHyperLink provides function to set cell hyperlink by given sheet index
200
- // and link URL address. LinkType defines two types of hyperlink "External" for
201
- // web site or "Location" for moving to one of cell in this workbook. The below
202
- // is example for external link.
199
+ // SetCellHyperLink provides function to set cell hyperlink by given worksheet
200
+ // name and link URL address. LinkType defines two types of hyperlink "External"
201
+ // for web site or "Location" for moving to one of cell in this workbook. The
202
+ // below is example for external link.
203
203
//
204
204
// xlsx.SetCellHyperLink("Sheet1", "A3", "https://github.com/xuri/excelize", "External")
205
205
// // Set underline and font color style for the cell.
@@ -232,11 +232,11 @@ func (f *File) SetCellHyperLink(sheet, axis, link, linkType string) {
232
232
xlsx .Hyperlinks .Hyperlink = append (xlsx .Hyperlinks .Hyperlink , hyperlink )
233
233
}
234
234
235
- // GetCellHyperLink provides function to get cell hyperlink by given sheet index
236
- // and axis. Boolean type value link will be ture if the cell has a hyperlink
237
- // and the target is the address of the hyperlink. Otherwise, the value of link
238
- // will be false and the value of the target will be a blank string. For example
239
- // get hyperlink of Sheet1!H6:
235
+ // GetCellHyperLink provides function to get cell hyperlink by given worksheet
236
+ // name and axis. Boolean type value link will be ture if the cell has a
237
+ // hyperlink and the target is the address of the hyperlink. Otherwise, the
238
+ // value of link will be false and the value of the target will be a blank
239
+ // string. For example get hyperlink of Sheet1!H6:
240
240
//
241
241
// link, target := xlsx.GetCellHyperLink("Sheet1", "H6")
242
242
//
0 commit comments