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



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

def value
  @value
end

Class Method Details

.from_hash(hash) ⇒ Object



3175
3176
3177
# File 'lib/xberg/native.rb', line 3175

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

Instance Method Details

#archive?Boolean

Returns:

  • (Boolean)


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

def archive? = false

#audio?Boolean

Returns:

  • (Boolean)


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

def audio? = false

#bibtex?Boolean

Returns:

  • (Boolean)


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

def bibtex? = false

#citation?Boolean

Returns:

  • (Boolean)


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

def citation? = false

#code?Boolean

Returns:

  • (Boolean)


3171
3172
3173
# File 'lib/xberg/native.rb', line 3171

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

#csv?Boolean

Returns:

  • (Boolean)


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

def csv? = false

#dbf?Boolean

Returns:

  • (Boolean)


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

def dbf? = false

#docx?Boolean

Returns:

  • (Boolean)


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

def docx? = false

#email?Boolean

Returns:

  • (Boolean)


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

def email? = false

#epub?Boolean

Returns:

  • (Boolean)


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

def epub? = false

#excel?Boolean

Returns:

  • (Boolean)


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

def excel? = false

#fiction_book?Boolean

Returns:

  • (Boolean)


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

def fiction_book? = false

#html?Boolean

Returns:

  • (Boolean)


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

def html? = false

#image?Boolean

Returns:

  • (Boolean)


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

def image? = false

#jats?Boolean

Returns:

  • (Boolean)


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

def jats? = false

#ocr?Boolean

Returns:

  • (Boolean)


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

def ocr? = false

#pdf?Boolean

Returns:

  • (Boolean)


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

def pdf? = false

#pptx?Boolean

Returns:

  • (Boolean)


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

def pptx? = true

#pst?Boolean

Returns:

  • (Boolean)


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

def pst? = false

#text?Boolean

Returns:

  • (Boolean)


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

def text? = false

#xml?Boolean

Returns:

  • (Boolean)


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

def xml? = false