Class: Writexlsx::Format::BorderStyle
- Inherits:
-
Object
- Object
- Writexlsx::Format::BorderStyle
- Defined in:
- lib/write_xlsx/format/border_style.rb
Instance Method Summary collapse
- #bottom ⇒ Object
- #bottom=(value) ⇒ Object
- #bottom_color ⇒ Object
- #bottom_color=(value) ⇒ Object
- #count ⇒ Object
- #count=(value) ⇒ Object
- #diag_border ⇒ Object
- #diag_border=(value) ⇒ Object
- #diag_color ⇒ Object
- #diag_color=(value) ⇒ Object
- #diag_type ⇒ Object
- #diag_type=(value) ⇒ Object
- #index ⇒ Object
- #index=(value) ⇒ Object
-
#initialize(format) ⇒ BorderStyle
constructor
A new instance of BorderStyle.
- #left ⇒ Object
- #left=(value) ⇒ Object
- #left_color ⇒ Object
- #left_color=(value) ⇒ Object
- #right ⇒ Object
- #right=(value) ⇒ Object
- #right_color ⇒ Object
- #right_color=(value) ⇒ Object
- #top ⇒ Object
- #top=(value) ⇒ Object
- #top_color ⇒ Object
- #top_color=(value) ⇒ Object
Constructor Details
#initialize(format) ⇒ BorderStyle
Returns a new instance of BorderStyle.
7 8 9 |
# File 'lib/write_xlsx/format/border_style.rb', line 7 def initialize(format) @format = format end |
Instance Method Details
#bottom ⇒ Object
75 76 77 |
# File 'lib/write_xlsx/format/border_style.rb', line 75 def bottom @format.state.border.bottom end |
#bottom=(value) ⇒ Object
79 80 81 |
# File 'lib/write_xlsx/format/border_style.rb', line 79 def bottom=(value) @format.state.border.bottom = value end |
#bottom_color ⇒ Object
83 84 85 |
# File 'lib/write_xlsx/format/border_style.rb', line 83 def bottom_color @format.state.border.bottom_color end |
#bottom_color=(value) ⇒ Object
87 88 89 |
# File 'lib/write_xlsx/format/border_style.rb', line 87 def bottom_color=(value) @format.state.border.bottom_color = value end |
#count ⇒ Object
19 20 21 |
# File 'lib/write_xlsx/format/border_style.rb', line 19 def count @format.state.border.count end |
#count=(value) ⇒ Object
23 24 25 |
# File 'lib/write_xlsx/format/border_style.rb', line 23 def count=(value) @format.state.border.count = value end |
#diag_border ⇒ Object
91 92 93 |
# File 'lib/write_xlsx/format/border_style.rb', line 91 def diag_border @format.state.border.diag_border end |
#diag_border=(value) ⇒ Object
95 96 97 |
# File 'lib/write_xlsx/format/border_style.rb', line 95 def diag_border=(value) @format.state.border.diag_border = value end |
#diag_color ⇒ Object
99 100 101 |
# File 'lib/write_xlsx/format/border_style.rb', line 99 def diag_color @format.state.border.diag_color end |
#diag_color=(value) ⇒ Object
103 104 105 |
# File 'lib/write_xlsx/format/border_style.rb', line 103 def diag_color=(value) @format.state.border.diag_color = value end |
#diag_type ⇒ Object
107 108 109 |
# File 'lib/write_xlsx/format/border_style.rb', line 107 def diag_type @format.state.border.diag_type end |
#diag_type=(value) ⇒ Object
111 112 113 |
# File 'lib/write_xlsx/format/border_style.rb', line 111 def diag_type=(value) @format.state.border.diag_type = value end |
#index ⇒ Object
11 12 13 |
# File 'lib/write_xlsx/format/border_style.rb', line 11 def index @format.state.border.index end |
#index=(value) ⇒ Object
15 16 17 |
# File 'lib/write_xlsx/format/border_style.rb', line 15 def index=(value) @format.state.border.index = value end |
#left ⇒ Object
27 28 29 |
# File 'lib/write_xlsx/format/border_style.rb', line 27 def left @format.state.border.left end |
#left=(value) ⇒ Object
31 32 33 |
# File 'lib/write_xlsx/format/border_style.rb', line 31 def left=(value) @format.state.border.left = value end |
#left_color ⇒ Object
35 36 37 |
# File 'lib/write_xlsx/format/border_style.rb', line 35 def left_color @format.state.border.left_color end |
#left_color=(value) ⇒ Object
39 40 41 |
# File 'lib/write_xlsx/format/border_style.rb', line 39 def left_color=(value) @format.state.border.left_color = value end |
#right ⇒ Object
43 44 45 |
# File 'lib/write_xlsx/format/border_style.rb', line 43 def right @format.state.border.right end |
#right=(value) ⇒ Object
47 48 49 |
# File 'lib/write_xlsx/format/border_style.rb', line 47 def right=(value) @format.state.border.right = value end |
#right_color ⇒ Object
51 52 53 |
# File 'lib/write_xlsx/format/border_style.rb', line 51 def right_color @format.state.border.right_color end |
#right_color=(value) ⇒ Object
55 56 57 |
# File 'lib/write_xlsx/format/border_style.rb', line 55 def right_color=(value) @format.state.border.right_color = value end |
#top ⇒ Object
59 60 61 |
# File 'lib/write_xlsx/format/border_style.rb', line 59 def top @format.state.border.top end |
#top=(value) ⇒ Object
63 64 65 |
# File 'lib/write_xlsx/format/border_style.rb', line 63 def top=(value) @format.state.border.top = value end |
#top_color ⇒ Object
67 68 69 |
# File 'lib/write_xlsx/format/border_style.rb', line 67 def top_color @format.state.border.top_color end |
#top_color=(value) ⇒ Object
71 72 73 |
# File 'lib/write_xlsx/format/border_style.rb', line 71 def top_color=(value) @format.state.border.top_color = value end |