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



3095
3096
3097
# File 'lib/xberg/native.rb', line 3095

def value
  @value
end

Class Method Details

.from_hash(hash) ⇒ Object



3148
3149
3150
# File 'lib/xberg/native.rb', line 3148

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

Instance Method Details

#archive?Boolean

Returns:

  • (Boolean)


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

def archive? = false

#audio?Boolean

Returns:

  • (Boolean)


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

def audio? = false

#bibtex?Boolean

Returns:

  • (Boolean)


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

def bibtex? = false

#citation?Boolean

Returns:

  • (Boolean)


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

def citation? = false

#code?Boolean

Returns:

  • (Boolean)


3144
3145
3146
# File 'lib/xberg/native.rb', line 3144

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

#csv?Boolean

Returns:

  • (Boolean)


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

def csv? = false

#dbf?Boolean

Returns:

  • (Boolean)


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

def dbf? = false

#docx?Boolean

Returns:

  • (Boolean)


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

def docx? = false

#email?Boolean

Returns:

  • (Boolean)


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

def email? = false

#epub?Boolean

Returns:

  • (Boolean)


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

def epub? = false

#excel?Boolean

Returns:

  • (Boolean)


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

def excel? = false

#fiction_book?Boolean

Returns:

  • (Boolean)


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

def fiction_book? = false

#html?Boolean

Returns:

  • (Boolean)


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

def html? = false

#image?Boolean

Returns:

  • (Boolean)


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

def image? = false

#jats?Boolean

Returns:

  • (Boolean)


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

def jats? = false

#ocr?Boolean

Returns:

  • (Boolean)


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

def ocr? = false

#pdf?Boolean

Returns:

  • (Boolean)


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

def pdf? = false

#pptx?Boolean

Returns:

  • (Boolean)


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

def pptx? = true

#pst?Boolean

Returns:

  • (Boolean)


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

def pst? = false

#text?Boolean

Returns:

  • (Boolean)


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

def text? = false

#xml?Boolean

Returns:

  • (Boolean)


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

def xml? = false