diff options
author | Ri Xu <xuri.me@gmail.com> | 2017-03-10 23:10:15 +0800 |
---|---|---|
committer | Ri Xu <xuri.me@gmail.com> | 2017-03-10 23:10:15 +0800 |
commit | 5384756d6483ba4bda294d47461c8df8b25c7a9c (patch) | |
tree | 153ffc8344e70e81d55be3268d2929179a8afd05 /rows.go | |
parent | 1f73f08185e664d6914c8eb849a9797b26067628 (diff) |
- Complete the element `sheetFormatPr` struct definition;
- Partial logic performance optimization, use pointer reference instead of a pass the variable value;
- Add comments for content types struct definition;
- Update go test `TestSetBorder` section
Diffstat (limited to 'rows.go')
-rw-r--r-- | rows.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -112,7 +112,7 @@ func (f *File) SetRowHeight(sheet string, rowIndex int, height float64) { rows := rowIndex + 1 cells := 0 - xlsx = completeRow(xlsx, rows, cells) + completeRow(&xlsx, rows, cells) xlsx.SheetData.Row[rowIndex].Ht = strconv.FormatFloat(height, 'f', -1, 64) xlsx.SheetData.Row[rowIndex].CustomHeight = true |