summaryrefslogtreecommitdiff
path: root/rows.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-08-17 10:59:52 +0800
committerGitHub <noreply@github.com>2022-08-17 10:59:52 +0800
commitd1e76fc432ac5c9bde99591ec5e88e46b62d9c3d (patch)
tree8e5c13bff106593ecd5dbabbd0a4fae4fefe901e /rows.go
parent551fb8a9e4b03fe718a339e75aeacc8b5581378a (diff)
This closes #1319, fix calculate error for formula with negative symbol
- Update unit test and comment for the functions
Diffstat (limited to 'rows.go')
-rw-r--r--rows.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/rows.go b/rows.go
index 9eef628..5808530 100644
--- a/rows.go
+++ b/rows.go
@@ -179,6 +179,7 @@ func (rows *Rows) Columns(opts ...Options) ([]string, error) {
return rowIterator.columns, rowIterator.err
}
+// extractRowOpts extract row element attributes.
func extractRowOpts(attrs []xml.Attr) RowOpts {
rowOpts := RowOpts{Height: defaultRowHeight}
if styleID, err := attrValToInt("s", attrs); err == nil && styleID > 0 && styleID < MaxCellStyles {