Class: Oxcelix::Cell

Inherits:
Object
  • Object
show all
Includes:
Cellhelper, Cellvalues, Numberhelper
Defined in:
lib/oxcelix/cell.rb

Overview

Simple class representing an excel cell.

Constant Summary

Constants included from Numformats

Numformats::Dtmap, Numformats::Formatarray

Instance Attribute Summary collapse

Method Summary

Methods included from Numberhelper

#to_fmt, #to_ru

Methods included from Numformats

#add_custom_formats, #datetime, #numeric

Methods included from Cellvalues

#r, #s, #t, #v

Methods included from Cellhelper

#x, #y

Instance Attribute Details

#commentString

Returns Comment text.

Returns:


16
17
18
19
20
21
# File 'lib/oxcelix/cell.rb', line 16

class Cell
  attr_accessor :xlcoords, :type, :value, :comment, :style, :numformat
  include Cellhelper
  include Cellvalues
  include Numberhelper
end

#numformatString

Returns Excel style number formatting.

Returns:

  • (String)

    Excel style number formatting


16
17
18
19
20
21
# File 'lib/oxcelix/cell.rb', line 16

class Cell
  attr_accessor :xlcoords, :type, :value, :comment, :style, :numformat
  include Cellhelper
  include Cellvalues
  include Numberhelper
end

#styleString

Returns Excel style attribute.

Returns:

  • (String)

    Excel style attribute


16
17
18
19
20
21
# File 'lib/oxcelix/cell.rb', line 16

class Cell
  attr_accessor :xlcoords, :type, :value, :comment, :style, :numformat
  include Cellhelper
  include Cellvalues
  include Numberhelper
end

#typeString

Returns Cell content type.

Returns:

  • (String)

    Cell content type


16
17
18
19
20
21
# File 'lib/oxcelix/cell.rb', line 16

class Cell
  attr_accessor :xlcoords, :type, :value, :comment, :style, :numformat
  include Cellhelper
  include Cellvalues
  include Numberhelper
end

#valueString

Returns the type of the cell.

Returns:

  • (String)

    the type of the cell


16
17
18
19
20
21
# File 'lib/oxcelix/cell.rb', line 16

class Cell
  attr_accessor :xlcoords, :type, :value, :comment, :style, :numformat
  include Cellhelper
  include Cellvalues
  include Numberhelper
end

#xlcoordsString

Returns The Excel-style coordinates of the cell object.

Returns:

  • (String)

    The Excel-style coordinates of the cell object


16
17
18
19
20
21
# File 'lib/oxcelix/cell.rb', line 16

class Cell
  attr_accessor :xlcoords, :type, :value, :comment, :style, :numformat
  include Cellhelper
  include Cellvalues
  include Numberhelper
end