summaryrefslogtreecommitdiff
path: root/sheet.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2020-04-24 08:26:16 +0800
committerxuri <xuri.me@gmail.com>2020-04-24 08:26:16 +0800
commit2285d4dc718fb8b96c3b2291c63b39c57468b0b9 (patch)
tree0690e862e54512d5ba676f8e2555954a112e5bf6 /sheet.go
parent1fe660df648422a53eef0c735657cb2f5237ef7b (diff)
handle the cell without r attribute in a row element
Diffstat (limited to 'sheet.go')
-rw-r--r--sheet.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/sheet.go b/sheet.go
index 50081e8..8c7f754 100644
--- a/sheet.go
+++ b/sheet.go
@@ -237,7 +237,7 @@ func (f *File) SetActiveSheet(index int) {
for idx, name := range f.GetSheetList() {
xlsx, err := f.workSheetReader(name)
if err != nil {
- // Chartsheet
+ // Chartsheet or dialogsheet
return
}
if xlsx.SheetViews == nil {
@@ -365,8 +365,8 @@ func (f *File) GetSheetIndex(name string) int {
return idx
}
-// GetSheetMap provides a function to get worksheet and chartsheet name and
-// ID map of XLSX. For example:
+// GetSheetMap provides a function to get worksheet, chartsheet and
+// dialogsheet ID and name map of XLSX. For example:
//
// f, err := excelize.OpenFile("Book1.xlsx")
// if err != nil {
@@ -387,8 +387,8 @@ func (f *File) GetSheetMap() map[int]string {
return sheetMap
}
-// GetSheetList provides a function to get worksheet and chartsheet name list
-// of workbook.
+// GetSheetList provides a function to get worksheet, chartsheet and
+// dialogsheet name list of workbook.
func (f *File) GetSheetList() (list []string) {
wb := f.workbookReader()
if wb != nil {