diff options
| author | Jonathan Tron <[email protected]> | 2012-02-20 15:32:16 +0100 |
|---|---|---|
| committer | Jonathan Tron <[email protected]> | 2012-02-20 15:32:16 +0100 |
| commit | da3bfdb914b294416032e73181eb4d2fac4ae142 (patch) | |
| tree | 63b00ed8f5ca4f15700d0bfe229184d7acbd636c /lib | |
| parent | 66abe97ad9988928bb02d8b19f3d316c786e6908 (diff) | |
| download | caxlsx-da3bfdb914b294416032e73181eb4d2fac4ae142.tar.gz caxlsx-da3bfdb914b294416032e73181eb4d2fac4ae142.zip | |
Ensure border is applied if border specified in `Styles#add_style`
Diffstat (limited to 'lib')
| -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] |
