Sha256: 36241ad512ee2c04b5db5ddabf21327166741545b82bf3028c0e58251fdd5156
Contents?: true
Size: 1.25 KB
Versions: 12
Compression:
Stored size: 1.25 KB
Contents
require 'rubyXL/objects/ooxml_object' require 'rubyXL/objects/extensions' module RubyXL # http://www.schemacentral.com/sc/ooxml/e-ssml_c-1.html class CalculationChainCell < OOXMLObject define_attribute(:r, :ref, :accessor => :ref) define_attribute(:i, :int, :accessor => :sheet_id, :default => 0) define_attribute(:s, :bool, :accessor => :child_chain, :default => false) define_attribute(:l, :bool, :accessor => :new_dep_lvl, :default => false) define_attribute(:t, :bool, :accessor => :new_thread, :default => false) define_attribute(:a, :bool, :accessor => :array, :default => false) define_element_name 'c' end # http://www.schemacentral.com/sc/ooxml/e-ssml_calcChain.html class CalculationChain < OOXMLTopLevelObject define_child_node(RubyXL::CalculationChainCell, :collection => true, :accessor => :cells) define_child_node(RubyXL::ExtensionStorageArea) define_element_name 'calcChain' set_namespaces('xmlns' => 'http://schemas.openxmlformats.org/spreadsheetml/2006/main') def self.xlsx_path File.join('xl', 'calcChain.xml') end def self.content_type 'application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml' end end end
Version data entries
12 entries across 12 versions & 1 rubygems