Sha256: 235ca4782e3cf7a2e25859bc213423685dd79ea5ef0192281e982f0631272400

Contents?: true

Size: 828 Bytes

Versions: 19

Compression:

Stored size: 828 Bytes

Contents

require 'rubyXL/objects/ooxml_object'

module RubyXL

  # http://www.schemacentral.com/sc/ooxml/e-ssml_ext-1.html
  class RawOOXML < OOXMLObject
    attr_accessor :raw_xml

    def self.parse(node)
      obj = new
      obj.raw_xml = node.to_xml
      obj
    end

    def write_xml(xml, node_name_override = nil)
      self.raw_xml
    end
  end

  # http://www.schemacentral.com/sc/ooxml/e-ssml_ext-1.html
  class Extension < RawOOXML
    define_attribute(:uri, :string)
    define_element_name 'ext'
  end

  # http://www.schemacentral.com/sc/ooxml/e-ssml_extLst-1.html
  class ExtensionStorageArea < OOXMLObject
    define_child_node(RubyXL::Extension, :collection => true)
    define_element_name 'extLst'
  end

  class AlternateContent < RawOOXML
    define_element_name 'mc:AlternateContent'
  end

end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
rubyXL-2.5.6 lib/rubyXL/objects/extensions.rb
rubyXL-2.5.5 lib/rubyXL/objects/extensions.rb
rubyXL-2.5.4 lib/rubyXL/objects/extensions.rb
rubyXL-2.5.3 lib/rubyXL/objects/extensions.rb
rubyXL-2.5.2 lib/rubyXL/objects/extensions.rb
rubyXL-2.5.1 lib/rubyXL/objects/extensions.rb
rubyXL-2.5.0 lib/rubyXL/objects/extensions.rb
rubyXL-2.4.4 lib/rubyXL/objects/extensions.rb
rubyXL-2.4.3 lib/rubyXL/objects/extensions.rb
rubyXL-2.4.2 lib/rubyXL/objects/extensions.rb
rubyXL-2.4.1 lib/rubyXL/objects/extensions.rb
rubyXL-2.4.0 lib/rubyXL/objects/extensions.rb
rubyXL-2.3.4 lib/rubyXL/objects/extensions.rb
rubyXL-2.3.3 lib/rubyXL/objects/extensions.rb
rubyXL-2.3.2 lib/rubyXL/objects/extensions.rb
rubyXL-2.3.1 lib/rubyXL/objects/extensions.rb
rubyXL-2.3.0 lib/rubyXL/objects/extensions.rb
rubyXL-2.2.0 lib/rubyXL/objects/extensions.rb
rubyXL-2.1.1 lib/rubyXL/objects/extensions.rb