From 407b884ef349d6dec12f50006ea6268c96205a83 Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Sun, 27 Nov 2011 21:34:48 +0900 Subject: adding yields for package workbook, workbook styles and cols collection on worksheet to make charting easier. --- doc/Axlsx/TableStyleElement.html | 178 +++++++++++++++++---------------------- 1 file changed, 79 insertions(+), 99 deletions(-) (limited to 'doc/Axlsx/TableStyleElement.html') diff --git a/doc/Axlsx/TableStyleElement.html b/doc/Axlsx/TableStyleElement.html index 48dc8694..5819b873 100644 --- a/doc/Axlsx/TableStyleElement.html +++ b/doc/Axlsx/TableStyleElement.html @@ -97,16 +97,14 @@
Note: -

-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.

@@ -138,9 +136,8 @@ an element of style that belongs to a table style. -

-The dxfId this style element points to. -

+
+

The dxfId this style element points to.

@@ -165,10 +162,9 @@ 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.

@@ -193,9 +189,8 @@ secondRowStripe, firstColumnStripe, or secondColumnStripe. -

-The type of style element. -

+
+

The type of style element.

@@ -232,9 +227,8 @@ The type of style element. -

-creates a new TableStyleElement object. -

+
+

creates a new TableStyleElement object.

@@ -256,9 +250,8 @@ creates a new TableStyleElement object. -

-Serializes the table style element. -

+
+

Serializes the table style element.

@@ -279,9 +272,8 @@ Serializes the table style element.

-

-creates a new TableStyleElement object -

+ +

creates a new TableStyleElement object

@@ -302,9 +294,8 @@ creates a new TableStyleElement object — -

-a customizable set of options -

+
+

a customizable set of options

@@ -363,12 +354,11 @@ a customizable set of options
# File 'lib/axlsx/stylesheet/table_style_element.rb', line 49
 
-def initialize(options={})
-  options.each do |o|
-    self.send("#{o[0]}=", o[1]) if self.respond_to? o[0]
-  end
-end
-
+def initialize(options={}) + options.each do |o| + self.send("#{o[0]}=", o[1]) if self.respond_to? o[0] + end +end @@ -391,9 +381,8 @@ a customizable set of options

-

-The dxfId this style element points to -

+ +

The dxfId this style element points to

@@ -427,10 +416,9 @@ 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 @@ -448,10 +436,9 @@ 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.

@@ -485,10 +472,9 @@ secondRowStripe, firstColumnStripe, or secondColumnStripe.
# File 'lib/axlsx/stylesheet/table_style_element.rb', line 39
 
-def size
-  @size
-end
-
+def size + @size +end @@ -506,39 +492,37 @@ secondRowStripe, firstColumnStripe, or secondColumnStripe.

-

-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
@@ -572,10 +556,9 @@ The type of style element. The following type are allowed
# File 'lib/axlsx/stylesheet/table_style_element.rb', line 35
 
-def type
-  @type
-end
-
+def type + @type +end @@ -597,9 +580,8 @@ The type of style element. The following type are allowed

-

-Serializes the table style element -

+ +

Serializes the table style element

@@ -618,9 +600,8 @@ 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.

@@ -654,10 +635,9 @@ 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 @@ -668,9 +648,9 @@ The document builder instance this objects xml will be added to.
-- cgit v1.2.3