Class: Xberg::RevisionAnchorSlide

Inherits:
Data
  • Object
show all
Extended by:
T::Sig
Includes:
RevisionAnchor
Defined in:
lib/xberg/native.rb

Overview

Presentation slide, identified by its zero-based index.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#indexObject (readonly)

rubocop:disable Lint/UselessMethodDefinition



4067
4068
4069
# File 'lib/xberg/native.rb', line 4067

def index
  @index
end

Class Method Details

.from_hash(hash) ⇒ Object



4088
4089
4090
# File 'lib/xberg/native.rb', line 4088

def self.from_hash(hash)
  new(index: hash[:index] || hash["index"])
end

Instance Method Details

#page?Boolean

Returns:

  • (Boolean)


4080
# File 'lib/xberg/native.rb', line 4080

def page? = false

#paragraph?Boolean

Returns:

  • (Boolean)


4076
# File 'lib/xberg/native.rb', line 4076

def paragraph? = false

#sheet?Boolean

Returns:

  • (Boolean)


4084
4085
4086
# File 'lib/xberg/native.rb', line 4084

def sheet? = false
# @param hash [Hash] deserialized from the native extension
# @return [self]

#slide?Boolean

Returns:

  • (Boolean)


4082
# File 'lib/xberg/native.rb', line 4082

def slide? = true

#table_cell?Boolean

Returns:

  • (Boolean)


4078
# File 'lib/xberg/native.rb', line 4078

def table_cell? = false