Class: Writexlsx::Format::FontStyle
- Inherits:
-
Object
- Object
- Writexlsx::Format::FontStyle
- Defined in:
- lib/write_xlsx/format/font_style.rb
Instance Method Summary collapse
- #bold ⇒ Object
- #bold=(value) ⇒ Object
- #charset ⇒ Object
- #charset=(value) ⇒ Object
- #color ⇒ Object
- #color=(value) ⇒ Object
- #color_indexed ⇒ Object
- #color_indexed=(value) ⇒ Object
- #condense ⇒ Object
- #condense=(value) ⇒ Object
- #extend ⇒ Object
- #extend=(value) ⇒ Object
- #family ⇒ Object
- #family=(value) ⇒ Object
- #hyperlink ⇒ Object
- #hyperlink=(value) ⇒ Object
- #index ⇒ Object
- #index=(value) ⇒ Object
-
#initialize(format) ⇒ FontStyle
constructor
A new instance of FontStyle.
- #italic ⇒ Object
- #italic=(value) ⇒ Object
- #name ⇒ Object
- #name=(value) ⇒ Object
- #outline ⇒ Object
- #outline=(value) ⇒ Object
- #scheme ⇒ Object
- #scheme=(value) ⇒ Object
- #script ⇒ Object
- #script=(value) ⇒ Object
- #shadow ⇒ Object
- #shadow=(value) ⇒ Object
- #size ⇒ Object
- #size=(value) ⇒ Object
- #strikeout ⇒ Object
- #strikeout=(value) ⇒ Object
- #theme ⇒ Object
- #theme=(value) ⇒ Object
- #underline ⇒ Object
- #underline=(value) ⇒ Object
Constructor Details
#initialize(format) ⇒ FontStyle
Returns a new instance of FontStyle.
7 8 9 |
# File 'lib/write_xlsx/format/font_style.rb', line 7 def initialize(format) @format = format end |
Instance Method Details
#bold ⇒ Object
35 36 37 |
# File 'lib/write_xlsx/format/font_style.rb', line 35 def bold @format.state.font.bold end |
#bold=(value) ⇒ Object
39 40 41 |
# File 'lib/write_xlsx/format/font_style.rb', line 39 def bold=(value) @format.state.font.bold = value end |
#charset ⇒ Object
115 116 117 |
# File 'lib/write_xlsx/format/font_style.rb', line 115 def charset @format.state.font.charset end |
#charset=(value) ⇒ Object
119 120 121 |
# File 'lib/write_xlsx/format/font_style.rb', line 119 def charset=(value) @format.state.font.charset = value end |
#color ⇒ Object
51 52 53 |
# File 'lib/write_xlsx/format/font_style.rb', line 51 def color @format.state.font.color end |
#color=(value) ⇒ Object
55 56 57 |
# File 'lib/write_xlsx/format/font_style.rb', line 55 def color=(value) @format.state.font.color = value end |
#color_indexed ⇒ Object
59 60 61 |
# File 'lib/write_xlsx/format/font_style.rb', line 59 def color_indexed @format.state.font.color_indexed end |
#color_indexed=(value) ⇒ Object
63 64 65 |
# File 'lib/write_xlsx/format/font_style.rb', line 63 def color_indexed=(value) @format.state.font.color_indexed = value end |
#condense ⇒ Object
131 132 133 |
# File 'lib/write_xlsx/format/font_style.rb', line 131 def condense @format.state.font.condense end |
#condense=(value) ⇒ Object
135 136 137 |
# File 'lib/write_xlsx/format/font_style.rb', line 135 def condense=(value) @format.state.font.condense = value end |
#extend ⇒ Object
139 140 141 |
# File 'lib/write_xlsx/format/font_style.rb', line 139 def extend @format.state.font.extend end |
#extend=(value) ⇒ Object
143 144 145 |
# File 'lib/write_xlsx/format/font_style.rb', line 143 def extend=(value) @format.state.font.extend = value end |
#family ⇒ Object
107 108 109 |
# File 'lib/write_xlsx/format/font_style.rb', line 107 def family @format.state.font.family end |
#family=(value) ⇒ Object
111 112 113 |
# File 'lib/write_xlsx/format/font_style.rb', line 111 def family=(value) @format.state.font.family = value end |
#hyperlink ⇒ Object
155 156 157 |
# File 'lib/write_xlsx/format/font_style.rb', line 155 def hyperlink @format.state.font.hyperlink end |
#hyperlink=(value) ⇒ Object
159 160 161 |
# File 'lib/write_xlsx/format/font_style.rb', line 159 def hyperlink=(value) @format.state.font.hyperlink = value end |
#index ⇒ Object
11 12 13 |
# File 'lib/write_xlsx/format/font_style.rb', line 11 def index @format.state.font.index end |
#index=(value) ⇒ Object
15 16 17 |
# File 'lib/write_xlsx/format/font_style.rb', line 15 def index=(value) @format.state.font.index = value end |
#italic ⇒ Object
43 44 45 |
# File 'lib/write_xlsx/format/font_style.rb', line 43 def italic @format.state.font.italic end |
#italic=(value) ⇒ Object
47 48 49 |
# File 'lib/write_xlsx/format/font_style.rb', line 47 def italic=(value) @format.state.font.italic = value end |
#name ⇒ Object
19 20 21 |
# File 'lib/write_xlsx/format/font_style.rb', line 19 def name @format.state.font.name end |
#name=(value) ⇒ Object
23 24 25 |
# File 'lib/write_xlsx/format/font_style.rb', line 23 def name=(value) @format.state.font.name = value end |
#outline ⇒ Object
83 84 85 |
# File 'lib/write_xlsx/format/font_style.rb', line 83 def outline @format.state.font.outline end |
#outline=(value) ⇒ Object
87 88 89 |
# File 'lib/write_xlsx/format/font_style.rb', line 87 def outline=(value) @format.state.font.outline = value end |
#scheme ⇒ Object
123 124 125 |
# File 'lib/write_xlsx/format/font_style.rb', line 123 def scheme @format.state.font.scheme end |
#scheme=(value) ⇒ Object
127 128 129 |
# File 'lib/write_xlsx/format/font_style.rb', line 127 def scheme=(value) @format.state.font.scheme = value end |
#script ⇒ Object
99 100 101 |
# File 'lib/write_xlsx/format/font_style.rb', line 99 def script @format.state.font.script end |
#script=(value) ⇒ Object
103 104 105 |
# File 'lib/write_xlsx/format/font_style.rb', line 103 def script=(value) @format.state.font.script = value end |
#shadow ⇒ Object
91 92 93 |
# File 'lib/write_xlsx/format/font_style.rb', line 91 def shadow @format.state.font.shadow end |
#shadow=(value) ⇒ Object
95 96 97 |
# File 'lib/write_xlsx/format/font_style.rb', line 95 def shadow=(value) @format.state.font.shadow = value end |
#size ⇒ Object
27 28 29 |
# File 'lib/write_xlsx/format/font_style.rb', line 27 def size @format.state.font.size end |
#size=(value) ⇒ Object
31 32 33 |
# File 'lib/write_xlsx/format/font_style.rb', line 31 def size=(value) @format.state.font.size = value end |
#strikeout ⇒ Object
75 76 77 |
# File 'lib/write_xlsx/format/font_style.rb', line 75 def strikeout @format.state.font.strikeout end |
#strikeout=(value) ⇒ Object
79 80 81 |
# File 'lib/write_xlsx/format/font_style.rb', line 79 def strikeout=(value) @format.state.font.strikeout = value end |
#theme ⇒ Object
147 148 149 |
# File 'lib/write_xlsx/format/font_style.rb', line 147 def theme @format.state.font.theme end |
#theme=(value) ⇒ Object
151 152 153 |
# File 'lib/write_xlsx/format/font_style.rb', line 151 def theme=(value) @format.state.font.theme = value end |
#underline ⇒ Object
67 68 69 |
# File 'lib/write_xlsx/format/font_style.rb', line 67 def underline @format.state.font.underline end |
#underline=(value) ⇒ Object
71 72 73 |
# File 'lib/write_xlsx/format/font_style.rb', line 71 def underline=(value) @format.state.font.underline = value end |