diff options
author | Ri Xu <xuri.me@gmail.com> | 2017-08-07 10:42:10 +0800 |
---|---|---|
committer | Ri Xu <xuri.me@gmail.com> | 2017-08-07 10:42:10 +0800 |
commit | 5cf3725f026d2a1dbf3208d575ade996cfd7e7ec (patch) | |
tree | 89dbfb3b9d580109654fa9728e9b46f8729040d5 /styles.go | |
parent | 6626a26f7baca10773f4066de47a811a8a89d236 (diff) |
Add missing element `xfId` of the styles to fix issue #93.
Diffstat (limited to 'styles.go')
-rw-r--r-- | styles.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2122,6 +2122,8 @@ func setCellXfs(style *xlsxStyleSheet, fontID, numFmtID, fillID, borderID int, a style.CellXfs.Count++ xf.Alignment = alignment xf.ApplyAlignment = applyAlignment + xfID := 0 + xf.XfID = &xfID style.CellXfs.Xf = append(style.CellXfs.Xf, xf) return style.CellXfs.Count - 1 } |