Class: Xberg::RevisionAnchorParagraph
- Inherits:
-
Data
- Object
- Data
- Xberg::RevisionAnchorParagraph
- Extended by:
- T::Sig
- Includes:
- RevisionAnchor
- Defined in:
- lib/xberg/native.rb
Overview
Body paragraph, identified by its zero-based index in the document flow.
Instance Attribute Summary collapse
-
#index ⇒ Object
readonly
rubocop:disable Lint/UselessMethodDefinition.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#index ⇒ Object (readonly)
rubocop:disable Lint/UselessMethodDefinition
3977 3978 3979 |
# File 'lib/xberg/native.rb', line 3977 def index @index end |
Class Method Details
.from_hash(hash) ⇒ Object
3998 3999 4000 |
# File 'lib/xberg/native.rb', line 3998 def self.from_hash(hash) new(index: hash[:index] || hash["index"]) end |
Instance Method Details
#page? ⇒ Boolean
3990 |
# File 'lib/xberg/native.rb', line 3990 def page? = false |
#paragraph? ⇒ Boolean
3986 |
# File 'lib/xberg/native.rb', line 3986 def paragraph? = true |
#sheet? ⇒ Boolean
3994 3995 3996 |
# File 'lib/xberg/native.rb', line 3994 def sheet? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#slide? ⇒ Boolean
3992 |
# File 'lib/xberg/native.rb', line 3992 def = false |
#table_cell? ⇒ Boolean
3988 |
# File 'lib/xberg/native.rb', line 3988 def table_cell? = false |