From cdfc7251bde8347678d355e5fe65fc20e120bc23 Mon Sep 17 00:00:00 2001
From: Randy Morgan Using Styles#add_style is the recommended way to manage cell styling.
+Using Styles#add_style is the recommended way to manage cell styling.
+ CellStyle defines named styles that reference defined formatting records
-and can be used in your worksheet.
+CellStyle defines named styles that reference defined formatting records
+and can be used in your worksheet.
+
The buildinId to use when this named style is applied.
++The buildinId to use when this named style is applied. +
Indicates that the build in style reference has been customized.
++Indicates that the build in style reference has been customized. +
Determines if this named style should show in the list of styles when using -excel.
++Determines if this named style should show in the list of styles when using +excel. +
Determines if this formatting is for an outline style, and what level of -the outline it is to be applied to.
++Determines if this formatting is for an outline style, and what level of +the outline it is to be applied to. +
The name of this cell style.
++The name of this cell style. +
The formatting record id this named style utilizes.
++The formatting record id this named style utilizes. +
Creats a new CellStyle object.
++Creats a new CellStyle object. +
Serializes the cell style.
++Serializes the cell style. +
Creats a new CellStyle object
++Creats a new CellStyle object +
a customizable set of options
++a customizable set of options +
# File 'lib/axlsx/stylesheet/cell_style.rb', line 39 -def initialize(={}) - .each do |o| - self.send("#{o[0]}=", o[1]) if self.respond_to? o[0] - end -end+def initialize(={}) + .each do |o| + self.send("#{o[0]}=", o[1]) if self.respond_to? o[0] + end +end +
The buildinId to use when this named style is applied
++The buildinId to use when this named style is applied +
# File 'lib/axlsx/stylesheet/cell_style.rb', line 18 -def builtinId - @builtinId -end+def builtinId + @builtinId +end +
Indicates that the build in style reference has been customized.
++Indicates that the build in style reference has been customized. +
# File 'lib/axlsx/stylesheet/cell_style.rb', line 30 -def customBuiltin - @customBuiltin -end+def customBuiltin + @customBuiltin +end +
Determines if this named style should show in the list of styles when using -excel
++Determines if this named style should show in the list of styles when using +excel +
# File 'lib/axlsx/stylesheet/cell_style.rb', line 26 -def - @hidden -end+def hidden + @hidden +end +
Determines if this formatting is for an outline style, and what level of -the outline it is to be applied to.
++Determines if this formatting is for an outline style, and what level of +the outline it is to be applied to. +
# File 'lib/axlsx/stylesheet/cell_style.rb', line 22 -def iLevel - @iLevel -end+def iLevel + @iLevel +end +
The name of this cell style
++The name of this cell style +
# File 'lib/axlsx/stylesheet/cell_style.rb', line 8 -def name - @name -end+def name + @name +end +
The formatting record id this named style utilizes
++The formatting record id this named style utilizes +
# File 'lib/axlsx/stylesheet/cell_style.rb', line 13 -def xfId - @xfId -end+def xfId + @xfId +end +
Serializes the cell style
++Serializes the cell style +
The document builder instance this objects xml will be added to.
++The document builder instance this objects xml will be added to. +
# File 'lib/axlsx/stylesheet/cell_style.rb', line 60 -def to_xml(xml) - xml.cellStyle(self.instance_values) -end+def to_xml(xml) + xml.cellStyle(self.instance_values) +end +