Sha256: 9ea2c798ea29f2757bdcbd5cdfb4aabe17c9e9385bb9378bd9d4567341d58a23

Contents?: true

Size: 882 Bytes

Versions: 29

Compression:

Stored size: 882 Bytes

Contents

require 'rubyXL/objects/ooxml_object'
require 'rubyXL/objects/simple_types'

module RubyXL

  # http://www.datypic.com/sc/ooxml/e-ssml_f-1.html
  class Formula < OOXMLObject
    define_attribute(:_,    :string, :accessor => :expression)
    define_attribute(:t,    RubyXL::ST_CellFormulaType, :default => 'normal')
    define_attribute(:aca,  :bool,   :default => false)
    define_attribute(:ref,  :ref)
    define_attribute(:dt2D, :bool,   :default => false)
    define_attribute(:dtr,  :bool,   :default => false)
    define_attribute(:del1, :bool,   :default => false)
    define_attribute(:del2, :bool,   :default => false)
    define_attribute(:r1,   :ref)
    define_attribute(:r2,   :ref)
    define_attribute(:ca,   :bool,   :default => false)
    define_attribute(:si,   :int)
    define_attribute(:bx,   :bool,   :default => false)
    define_element_name 'f'
  end

end

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
rubyXL-3.4.23 lib/rubyXL/objects/formula.rb
rubyXL-3.4.22 lib/rubyXL/objects/formula.rb
rubyXL-3.4.21 lib/rubyXL/objects/formula.rb
rubyXL-3.4.20 lib/rubyXL/objects/formula.rb
rubyXL-3.4.18 lib/rubyXL/objects/formula.rb
rubyXL-3.4.17 lib/rubyXL/objects/formula.rb
rubyXL-3.4.16 lib/rubyXL/objects/formula.rb
rubyXL-3.4.15 lib/rubyXL/objects/formula.rb
rubyXL-3.4.14 lib/rubyXL/objects/formula.rb
rubyXL-3.4.12 lib/rubyXL/objects/formula.rb
rubyXL-3.4.11 lib/rubyXL/objects/formula.rb
rubyXL-3.4.10 lib/rubyXL/objects/formula.rb
rubyXL-3.4.9 lib/rubyXL/objects/formula.rb
rubyXL-3.4.8 lib/rubyXL/objects/formula.rb
rubyXL-3.4.6 lib/rubyXL/objects/formula.rb
rubyXL-3.4.5 lib/rubyXL/objects/formula.rb
rubyXL-3.4.4 lib/rubyXL/objects/formula.rb
rubyXL-3.4.3 lib/rubyXL/objects/formula.rb
rubyXL-3.4.2 lib/rubyXL/objects/formula.rb
rubyXL-3.4.1 lib/rubyXL/objects/formula.rb