diff options
| -rw-r--r-- | lib/axlsx/stylesheet/styles.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/axlsx/stylesheet/styles.rb b/lib/axlsx/stylesheet/styles.rb index 421215c1..4550c83a 100644 --- a/lib/axlsx/stylesheet/styles.rb +++ b/lib/axlsx/stylesheet/styles.rb @@ -223,6 +223,7 @@ module Axlsx xf = Xf.new(:fillId => fill, :fontId=>fontId, :applyFill=>1, :applyFont=>1, :numFmtId=>numFmtId, :borderId=>borderId, :applyProtection=>applyProtection) + xf.applyBorder = true if borderId > 0 xf.applyNumberFormat = true if xf.numFmtId > 0 if options[:alignment] |
