From 4d16bfc43780e5d3f7368625700b583e3e98217a Mon Sep 17 00:00:00 2001
From: Randy Morgan tables and table styles are not supported in this version. This class
-exists in preparation for that support.
+tables and table styles are not supported in this version. This class
+exists in preparation for that support.
+ an element of style that belongs to a table style.
+an element of style that belongs to a table style.
+
The dxfId this style element points to.
++The dxfId this style element points to. +
Number of rows or columns used in striping when the type is firstRowStripe, -secondRowStripe, firstColumnStripe, or secondColumnStripe.
++Number of rows or columns used in striping when the type is firstRowStripe, +secondRowStripe, firstColumnStripe, or secondColumnStripe. +
The type of style element.
++The type of style element. +
creates a new TableStyleElement object.
++creates a new TableStyleElement object. +
Serializes the table style element.
++Serializes the table style element. +
creates a new TableStyleElement object
++creates a new TableStyleElement object +
a customizable set of options
++a customizable set of options +
# File 'lib/axlsx/stylesheet/table_style_element.rb', line 49 -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 dxfId this style element points to
++The dxfId this style element points to +
# File 'lib/axlsx/stylesheet/table_style_element.rb', line 43 -def dxfId - @dxfId -end+def dxfId + @dxfId +end +
Number of rows or columns used in striping when the type is firstRowStripe, -secondRowStripe, firstColumnStripe, or secondColumnStripe.
++Number of rows or columns used in striping when the type is firstRowStripe, +secondRowStripe, firstColumnStripe, or secondColumnStripe. +
# File 'lib/axlsx/stylesheet/table_style_element.rb', line 39 -def size - @size -end+def size + @size +end +
The type of style element. The following type are allowed
- -:wholeTable -:headerRow -:totalRow -:firstColumn -:lastColumn -:firstRowStripe -:secondRowStripe -:firstColumnStripe -:secondColumnStripe -:firstHeaderCell -:lastHeaderCell -:firstTotalCell -:lastTotalCell -:firstSubtotalColumn -:secondSubtotalColumn -:thirdSubtotalColumn -:firstSubtotalRow -:secondSubtotalRow -:thirdSubtotalRow -:blankRow -:firstColumnSubheading -:secondColumnSubheading -:thirdColumnSubheading -:firstRowSubheading -:secondRowSubheading -:thirdRowSubheading -:pageFieldLabels -:pageFieldValues+
+The type of style element. The following type are allowed +
++ :wholeTable + :headerRow + :totalRow + :firstColumn + :lastColumn + :firstRowStripe + :secondRowStripe + :firstColumnStripe + :secondColumnStripe + :firstHeaderCell + :lastHeaderCell + :firstTotalCell + :lastTotalCell + :firstSubtotalColumn + :secondSubtotalColumn + :thirdSubtotalColumn + :firstSubtotalRow + :secondSubtotalRow + :thirdSubtotalRow + :blankRow + :firstColumnSubheading + :secondColumnSubheading + :thirdColumnSubheading + :firstRowSubheading + :secondRowSubheading + :thirdRowSubheading + :pageFieldLabels + :pageFieldValues +
# File 'lib/axlsx/stylesheet/table_style_element.rb', line 35 -def type - @type -end+def type + @type +end +
Serializes the table style element
++Serializes the table style element +
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/table_style_element.rb', line 67 -def to_xml(xml) - xml.tableStyleElement self.instance_values -end+def to_xml(xml) + xml.tableStyleElement self.instance_values +end +