Class: Xberg::FormatMetadataPptx

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

Overview

Metadata extracted from a PowerPoint presentation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#valueObject (readonly)

rubocop:disable Lint/UselessMethodDefinition



2783
2784
2785
# File 'lib/xberg/native.rb', line 2783

def value
  @value
end

Class Method Details

.from_hash(hash) ⇒ Object



2836
2837
2838
# File 'lib/xberg/native.rb', line 2836

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

Instance Method Details

#archive?Boolean

Returns:

  • (Boolean)


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

def archive? = false

#audio?Boolean

Returns:

  • (Boolean)


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

def audio? = false

#bibtex?Boolean

Returns:

  • (Boolean)


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

def bibtex? = false

#citation?Boolean

Returns:

  • (Boolean)


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

def citation? = false

#code?Boolean

Returns:

  • (Boolean)


2832
2833
2834
# File 'lib/xberg/native.rb', line 2832

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

#csv?Boolean

Returns:

  • (Boolean)


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

def csv? = false

#dbf?Boolean

Returns:

  • (Boolean)


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

def dbf? = false

#docx?Boolean

Returns:

  • (Boolean)


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

def docx? = false

#email?Boolean

Returns:

  • (Boolean)


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

def email? = false

#epub?Boolean

Returns:

  • (Boolean)


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

def epub? = false

#excel?Boolean

Returns:

  • (Boolean)


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

def excel? = false

#fiction_book?Boolean

Returns:

  • (Boolean)


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

def fiction_book? = false

#html?Boolean

Returns:

  • (Boolean)


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

def html? = false

#image?Boolean

Returns:

  • (Boolean)


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

def image? = false

#jats?Boolean

Returns:

  • (Boolean)


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

def jats? = false

#ocr?Boolean

Returns:

  • (Boolean)


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

def ocr? = false

#pdf?Boolean

Returns:

  • (Boolean)


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

def pdf? = false

#pptx?Boolean

Returns:

  • (Boolean)


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

def pptx? = true

#pst?Boolean

Returns:

  • (Boolean)


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

def pst? = false

#text?Boolean

Returns:

  • (Boolean)


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

def text? = false

#xml?Boolean

Returns:

  • (Boolean)


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

def xml? = false