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



2775
2776
2777
# File 'lib/xberg/native.rb', line 2775

def value
  @value
end

Class Method Details

.from_hash(hash) ⇒ Object



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

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

Instance Method Details

#archive?Boolean

Returns:

  • (Boolean)


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

def archive? = false

#audio?Boolean

Returns:

  • (Boolean)


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

def audio? = false

#bibtex?Boolean

Returns:

  • (Boolean)


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

def bibtex? = false

#citation?Boolean

Returns:

  • (Boolean)


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

def citation? = false

#code?Boolean

Returns:

  • (Boolean)


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

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

#csv?Boolean

Returns:

  • (Boolean)


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

def csv? = false

#dbf?Boolean

Returns:

  • (Boolean)


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

def dbf? = false

#docx?Boolean

Returns:

  • (Boolean)


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

def docx? = false

#email?Boolean

Returns:

  • (Boolean)


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

def email? = false

#epub?Boolean

Returns:

  • (Boolean)


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

def epub? = false

#excel?Boolean

Returns:

  • (Boolean)


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

def excel? = false

#fiction_book?Boolean

Returns:

  • (Boolean)


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

def fiction_book? = false

#html?Boolean

Returns:

  • (Boolean)


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

def html? = false

#image?Boolean

Returns:

  • (Boolean)


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

def image? = false

#jats?Boolean

Returns:

  • (Boolean)


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

def jats? = false

#ocr?Boolean

Returns:

  • (Boolean)


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

def ocr? = false

#pdf?Boolean

Returns:

  • (Boolean)


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

def pdf? = false

#pptx?Boolean

Returns:

  • (Boolean)


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

def pptx? = true

#pst?Boolean

Returns:

  • (Boolean)


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

def pst? = false

#text?Boolean

Returns:

  • (Boolean)


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

def text? = false

#xml?Boolean

Returns:

  • (Boolean)


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

def xml? = false