Module: Oxcelix::Cellvalues

Included in:
Cell
Defined in:
lib/oxcelix/cellhelper.rb

Overview

The Cellvalues module provides methods for setting cell values. They are named after the relevant XML entitiesd and called directly by the Xlsheet SAX parser.

Instance Method Summary collapse

Instance Method Details

#r(val) ⇒ Object

Set the excel cell name (eg: 'A2')


8
# File 'lib/oxcelix/cellhelper.rb', line 8

def r(val); @xlcoords = val; end

#s(val) ⇒ Object

Set cell style (number format and style)


14
# File 'lib/oxcelix/cellhelper.rb', line 14

def s(val); @style = val; end

#t(val) ⇒ Object

Set cell type


10
# File 'lib/oxcelix/cellhelper.rb', line 10

def t(val); @type = val; end

#v(val) ⇒ Object

Set cell value


12
# File 'lib/oxcelix/cellhelper.rb', line 12

def v(val); @value = val; end