summaryrefslogtreecommitdiff
path: root/styles.go
diff options
context:
space:
mode:
Diffstat (limited to 'styles.go')
-rw-r--r--styles.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/styles.go b/styles.go
index 4d6071a..3244be2 100644
--- a/styles.go
+++ b/styles.go
@@ -1993,6 +1993,10 @@ func (f *File) setFont(formatStyle *formatStyle) *xlsxFont {
if fnt.Name.Val == "" {
fnt.Name.Val = f.GetDefaultFont()
}
+ if formatStyle.Font.Strike {
+ strike := true
+ fnt.Strike = &strike
+ }
val, ok := fontUnderlineType[formatStyle.Font.Underline]
if ok {
fnt.U = &attrValString{Val: val}