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



3020
3021
3022
# File 'lib/xberg/native.rb', line 3020

def value
  @value
end

Class Method Details

.from_hash(hash) ⇒ Object



3073
3074
3075
# File 'lib/xberg/native.rb', line 3073

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

Instance Method Details

#archive?Boolean

Returns:

  • (Boolean)


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

def archive? = false

#audio?Boolean

Returns:

  • (Boolean)


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

def audio? = false

#bibtex?Boolean

Returns:

  • (Boolean)


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

def bibtex? = false

#citation?Boolean

Returns:

  • (Boolean)


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

def citation? = false

#code?Boolean

Returns:

  • (Boolean)


3069
3070
3071
# File 'lib/xberg/native.rb', line 3069

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

#csv?Boolean

Returns:

  • (Boolean)


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

def csv? = false

#dbf?Boolean

Returns:

  • (Boolean)


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

def dbf? = false

#docx?Boolean

Returns:

  • (Boolean)


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

def docx? = false

#email?Boolean

Returns:

  • (Boolean)


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

def email? = false

#epub?Boolean

Returns:

  • (Boolean)


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

def epub? = false

#excel?Boolean

Returns:

  • (Boolean)


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

def excel? = false

#fiction_book?Boolean

Returns:

  • (Boolean)


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

def fiction_book? = false

#html?Boolean

Returns:

  • (Boolean)


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

def html? = false

#image?Boolean

Returns:

  • (Boolean)


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

def image? = false

#jats?Boolean

Returns:

  • (Boolean)


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

def jats? = false

#ocr?Boolean

Returns:

  • (Boolean)


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

def ocr? = false

#pdf?Boolean

Returns:

  • (Boolean)


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

def pdf? = false

#pptx?Boolean

Returns:

  • (Boolean)


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

def pptx? = true

#pst?Boolean

Returns:

  • (Boolean)


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

def pst? = false

#text?Boolean

Returns:

  • (Boolean)


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

def text? = false

#xml?Boolean

Returns:

  • (Boolean)


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

def xml? = false