Sha256: a4f0f5c9878e8e9dfa096c78a99d1a7d8b98d01b0048ee01da3cef766a9b9925

Contents?: true

Size: 888 Bytes

Versions: 33

Compression:

Stored size: 888 Bytes

Contents

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

module RubyXL

  # http://www.schemacentral.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

33 entries across 33 versions & 1 rubygems

Version Path
rubyXL-3.3.25 lib/rubyXL/objects/formula.rb
rubyXL-3.3.24 lib/rubyXL/objects/formula.rb
rubyXL-3.3.23 lib/rubyXL/objects/formula.rb
rubyXL-3.3.22 lib/rubyXL/objects/formula.rb
rubyXL-3.3.21 lib/rubyXL/objects/formula.rb
rubyXL-3.3.20 lib/rubyXL/objects/formula.rb
rubyXL-3.3.19 lib/rubyXL/objects/formula.rb
rubyXL-3.3.18 lib/rubyXL/objects/formula.rb
rubyXL-3.3.17 lib/rubyXL/objects/formula.rb
rubyXL-3.3.16 lib/rubyXL/objects/formula.rb
rubyXL-3.3.15 lib/rubyXL/objects/formula.rb
rubyXL-3.3.14 lib/rubyXL/objects/formula.rb
rubyXL-3.3.13 lib/rubyXL/objects/formula.rb
rubyXL-3.3.12 lib/rubyXL/objects/formula.rb
rubyXL-3.3.11 lib/rubyXL/objects/formula.rb
rubyXL-3.3.10 lib/rubyXL/objects/formula.rb
rubyXL-3.3.9 lib/rubyXL/objects/formula.rb
rubyXL-3.3.8 lib/rubyXL/objects/formula.rb
rubyXL-3.3.7 lib/rubyXL/objects/formula.rb
rubyXL-3.3.6 lib/rubyXL/objects/formula.rb