summaryrefslogtreecommitdiff
path: root/styles.go
diff options
context:
space:
mode:
authorRi Xu <xuri.me@gmail.com>2017-09-13 22:00:33 +0800
committerRi Xu <xuri.me@gmail.com>2017-09-13 22:00:33 +0800
commitf05f799f8d33e24b3bbf6c030c9f22d2829e0748 (patch)
treedff6b11b838c5ee26ea8c0fcf1af26bba8355702 /styles.go
parent3e7192b6abaa9c8db29a2e34867879ebc9fedca7 (diff)
- API changed, use worksheet name instead of "sheet" + index, related issue #25, #43, #47, #51, #89, #101, #116 and #120.
- go test updated
Diffstat (limited to 'styles.go')
-rw-r--r--styles.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/styles.go b/styles.go
index 225cfe5..ee0fbc2 100644
--- a/styles.go
+++ b/styles.go
@@ -2218,9 +2218,8 @@ func setCellXfs(style *xlsxStyleSheet, fontID, numFmtID, fillID, borderID int, a
}
// SetCellStyle provides function to add style attribute for cells by given
-// worksheet sheet index, coordinate area and style ID. Note that diagonalDown
-// and diagonalUp type border should be use same color in the same coordinate
-// area.
+// worksheet name, coordinate area and style ID. Note that diagonalDown and
+// diagonalUp type border should be use same color in the same coordinate area.
//
// For example create a borders of cell H9 on Sheet1:
//