diff options
| author | Stefan Daschek <[email protected]> | 2012-02-27 12:28:45 +0100 |
|---|---|---|
| committer | Stefan Daschek <[email protected]> | 2012-02-27 12:51:29 +0100 |
| commit | 6440dced8ff2da027fd4f60f434262ec60191573 (patch) | |
| tree | f82492c2a6cf7af874ebbd9aee6be43d6c7efc1d /lib/axlsx/stylesheet/font.rb | |
| parent | dc1f2922b1a546009ce3c4d937e8473939a51959 (diff) | |
| download | caxlsx-6440dced8ff2da027fd4f60f434262ec60191573.tar.gz caxlsx-6440dced8ff2da027fd4f60f434262ec60191573.zip | |
Add support for underlined text.
Diffstat (limited to 'lib/axlsx/stylesheet/font.rb')
| -rw-r--r-- | lib/axlsx/stylesheet/font.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/axlsx/stylesheet/font.rb b/lib/axlsx/stylesheet/font.rb index d3eea3b2..1d9bc5d4 100644 --- a/lib/axlsx/stylesheet/font.rb +++ b/lib/axlsx/stylesheet/font.rb @@ -54,6 +54,10 @@ module Axlsx # @return [Boolean] attr_reader :i + # Indicates if the font should be rendered underlined + # @return [Boolean] + attr_reader :u + # Indicates if the font should be rendered with a strikthrough # @return [Boolean] attr_reader :strike @@ -89,6 +93,7 @@ module Axlsx # @option options [Integer] family # @option options [Boolean] b # @option options [Boolean] i + # @option options [Boolean] u # @option options [Boolean] strike # @option options [Boolean] outline # @option options [Boolean] shadow @@ -111,6 +116,8 @@ module Axlsx def b=(v) Axlsx::validate_boolean v; @b = v end # @see i def i=(v) Axlsx::validate_boolean v; @i = v end + # @see u + def u=(v) Axlsx::validate_boolean v; @u = v end # @see strike def strike=(v) Axlsx::validate_boolean v; @strike = v end # @see outline |
