Method: Axlsx::App#initialize

Defined in:
lib/axlsx/doc_props/app.rb

#initialize(options = {}) ⇒ App

Creates an App object

Parameters:

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • Template (String)
  • Manager (String)
  • Pages (Integer)
  • Words (Integer)
  • Characters (Integer)
  • PresentationFormat (String)
  • Lines (Integer)
  • Paragraphs (Integer)
  • Slides (Integer)
  • Notes (Integer)
  • TotalTime (Integer)
  • HiddenSlides (Integer)
  • MMClips (Integer)
  • ScaleCrop (Boolean)
  • LinksUpToDate (Boolean)
  • CharactersWithSpaces (Integer)
  • ShareDoc (Boolean)
  • HyperLinkBase (String)
  • HyperlinksChanged (String)
  • Application (String)
  • AppVersion (String)
  • DocSecurity (Integer)


105
106
107
108
109
# File 'lib/axlsx/doc_props/app.rb', line 105

def initialize(options={})
  options.each do |o|
    self.send("#{o[0]}=", o[1]) if self.respond_to? "#{o[0]}="
  end
end