Class: Writexlsx::Format::AlignmentState
- Inherits:
-
Object
- Object
- Writexlsx::Format::AlignmentState
- Defined in:
- lib/write_xlsx/format/alignment_state.rb
Instance Attribute Summary collapse
-
#horizontal ⇒ Object
Returns the value of attribute horizontal.
-
#indent ⇒ Object
Returns the value of attribute indent.
-
#just_distrib ⇒ Object
Returns the value of attribute just_distrib.
-
#justlast ⇒ Object
Returns the value of attribute justlast.
-
#merge_range ⇒ Object
Returns the value of attribute merge_range.
-
#reading_order ⇒ Object
Returns the value of attribute reading_order.
-
#rotation ⇒ Object
Returns the value of attribute rotation.
-
#shrink ⇒ Object
Returns the value of attribute shrink.
-
#vertical ⇒ Object
Returns the value of attribute vertical.
-
#wrap ⇒ Object
Returns the value of attribute wrap.
Instance Method Summary collapse
-
#initialize ⇒ AlignmentState
constructor
A new instance of AlignmentState.
- #initialize_copy(other) ⇒ Object
Constructor Details
#initialize ⇒ AlignmentState
Returns a new instance of AlignmentState.
12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/write_xlsx/format/alignment_state.rb', line 12 def initialize @horizontal = 0 @vertical = 0 @wrap = 0 @justlast = 0 @rotation = 0 @indent = 0 @shrink = 0 @merge_range = 0 @reading_order = 0 @just_distrib = 0 end |
Instance Attribute Details
#horizontal ⇒ Object
Returns the value of attribute horizontal.
7 8 9 |
# File 'lib/write_xlsx/format/alignment_state.rb', line 7 def horizontal @horizontal end |
#indent ⇒ Object
Returns the value of attribute indent.
7 8 9 |
# File 'lib/write_xlsx/format/alignment_state.rb', line 7 def indent @indent end |
#just_distrib ⇒ Object
Returns the value of attribute just_distrib.
7 8 9 |
# File 'lib/write_xlsx/format/alignment_state.rb', line 7 def just_distrib @just_distrib end |
#justlast ⇒ Object
Returns the value of attribute justlast.
7 8 9 |
# File 'lib/write_xlsx/format/alignment_state.rb', line 7 def justlast @justlast end |
#merge_range ⇒ Object
Returns the value of attribute merge_range.
7 8 9 |
# File 'lib/write_xlsx/format/alignment_state.rb', line 7 def merge_range @merge_range end |
#reading_order ⇒ Object
Returns the value of attribute reading_order.
7 8 9 |
# File 'lib/write_xlsx/format/alignment_state.rb', line 7 def reading_order @reading_order end |
#rotation ⇒ Object
Returns the value of attribute rotation.
7 8 9 |
# File 'lib/write_xlsx/format/alignment_state.rb', line 7 def rotation @rotation end |
#shrink ⇒ Object
Returns the value of attribute shrink.
7 8 9 |
# File 'lib/write_xlsx/format/alignment_state.rb', line 7 def shrink @shrink end |
#vertical ⇒ Object
Returns the value of attribute vertical.
7 8 9 |
# File 'lib/write_xlsx/format/alignment_state.rb', line 7 def vertical @vertical end |
#wrap ⇒ Object
Returns the value of attribute wrap.
7 8 9 |
# File 'lib/write_xlsx/format/alignment_state.rb', line 7 def wrap @wrap end |
Instance Method Details
#initialize_copy(other) ⇒ Object
25 26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/write_xlsx/format/alignment_state.rb', line 25 def initialize_copy(other) @horizontal = other.horizontal @vertical = other.vertical @wrap = other.wrap @justlast = other.justlast @rotation = other.rotation @indent = other.indent @shrink = other.shrink @merge_range = other.merge_range @reading_order = other.reading_order @just_distrib = other.just_distrib end |