Class: Xberg::RevisionAnchorTableCell
- Inherits:
-
Data
- Object
- Data
- Xberg::RevisionAnchorTableCell
- Extended by:
- T::Sig
- Includes:
- RevisionAnchor
- Defined in:
- lib/xberg/native.rb
Overview
Cell inside a table.
Instance Attribute Summary collapse
-
#col ⇒ Object
readonly
rubocop:disable Lint/UselessMethodDefinition.
-
#row ⇒ Object
readonly
rubocop:disable Lint/UselessMethodDefinition.
-
#table_index ⇒ Object
readonly
rubocop:disable Lint/UselessMethodDefinition.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#col ⇒ Object (readonly)
rubocop:disable Lint/UselessMethodDefinition
3818 3819 3820 |
# File 'lib/xberg/native.rb', line 3818 def col @col end |
#row ⇒ Object (readonly)
rubocop:disable Lint/UselessMethodDefinition
3818 3819 3820 |
# File 'lib/xberg/native.rb', line 3818 def row @row end |
#table_index ⇒ Object (readonly)
rubocop:disable Lint/UselessMethodDefinition
3818 3819 3820 |
# File 'lib/xberg/native.rb', line 3818 def table_index @table_index end |
Class Method Details
.from_hash(hash) ⇒ Object
3844 3845 3846 |
# File 'lib/xberg/native.rb', line 3844 def self.from_hash(hash) new(row: hash[:row] || hash["row"], col: hash[:col] || hash["col"], table_index: hash[:table_index] || hash["table_index"]) end |
Instance Method Details
#page? ⇒ Boolean
3836 |
# File 'lib/xberg/native.rb', line 3836 def page? = false |
#paragraph? ⇒ Boolean
3832 |
# File 'lib/xberg/native.rb', line 3832 def paragraph? = false |
#sheet? ⇒ Boolean
3840 3841 3842 |
# File 'lib/xberg/native.rb', line 3840 def sheet? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#slide? ⇒ Boolean
3838 |
# File 'lib/xberg/native.rb', line 3838 def = false |
#table_cell? ⇒ Boolean
3834 |
# File 'lib/xberg/native.rb', line 3834 def table_cell? = true |