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
Returns the value of attribute index.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#index ⇒ Object (readonly)
Returns the value of attribute index
4873 4874 4875 |
# File 'lib/xberg/native.rb', line 4873 def index @index end |
Class Method Details
.from_hash(hash) ⇒ Object
4893 4894 4895 |
# File 'lib/xberg/native.rb', line 4893 def self.from_hash(hash) new(index: hash[:index] || hash["index"]) end |
Instance Method Details
#page? ⇒ Boolean
4885 |
# File 'lib/xberg/native.rb', line 4885 def page? = false |
#paragraph? ⇒ Boolean
4881 |
# File 'lib/xberg/native.rb', line 4881 def paragraph? = true |
#sheet? ⇒ Boolean
4889 4890 4891 |
# File 'lib/xberg/native.rb', line 4889 def sheet? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#slide? ⇒ Boolean
4887 |
# File 'lib/xberg/native.rb', line 4887 def = false |
#table_cell? ⇒ Boolean
4883 |
# File 'lib/xberg/native.rb', line 4883 def table_cell? = false |