diff options
| author | Randy Morgan <[email protected]> | 2012-02-20 15:13:27 -0800 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-02-20 15:13:27 -0800 |
| commit | 4e06bb2b6c824ccd6cff287666027619339ad21e (patch) | |
| tree | 84f370e0eb986964fc1ee2c5ce70b3fe1e003325 /lib/axlsx/stylesheet | |
| parent | 04ed5711fe43265e8c758a22289f9b960d869c7c (diff) | |
| parent | da3bfdb914b294416032e73181eb4d2fac4ae142 (diff) | |
| download | caxlsx-4e06bb2b6c824ccd6cff287666027619339ad21e.tar.gz caxlsx-4e06bb2b6c824ccd6cff287666027619339ad21e.zip | |
Merge pull request #31 from JonathanTron/patch-2
Ensure border is applied if border specified in `Styles#add_style`
Diffstat (limited to 'lib/axlsx/stylesheet')
| -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 015bddf2..e8bcdbfb 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] |
