From 4d16bfc43780e5d3f7368625700b583e3e98217a Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Sun, 27 Nov 2011 18:11:42 +0900 Subject: adding in row_style and col_style methods to worksheet and active record 'acts_as_axlsx' to provide to_xlsx. --- doc/Axlsx/CatAxis.html | 161 ++++++++++++++++++++++++++++--------------------- 1 file changed, 93 insertions(+), 68 deletions(-) (limited to 'doc/Axlsx/CatAxis.html') diff --git a/doc/Axlsx/CatAxis.html b/doc/Axlsx/CatAxis.html index 59b286b7..1f15ae61 100644 --- a/doc/Axlsx/CatAxis.html +++ b/doc/Axlsx/CatAxis.html @@ -96,8 +96,9 @@

Overview

- -

A CatAxis object defines a chart category axis

+

+A CatAxis object defines a chart category axis +

@@ -113,8 +114,9 @@
LBL_OFFSET_REGEX =
- -

regex for validating label offset

+

+regex for validating label offset +

@@ -124,7 +126,8 @@
-
/0*(([0-9])|([1-9][0-9])|([1-9][0-9][0-9])|1000)%/
+
/0*(([0-9])|([1-9][0-9])|([1-9][0-9][0-9])|1000)%/
+
@@ -156,9 +159,10 @@ -
-

From the docs: This element specifies that this axis is a date or text axis -based on the data that is used for the axis labels, not a specific choice.

+

+From the docs: This element specifies that this axis is a date or text axis +based on the data that is used for the axis labels, not a specific choice. +

@@ -183,9 +187,10 @@ based on the data that is used for the axis labels, not a specific choice.

-
-

specifies how the perpendicular axis is crossed must be one of [:ctr, :l, -:r].

+

+specifies how the perpendicular axis is crossed must be one of [:ctr, :l, +:r]. +

@@ -210,8 +215,9 @@ based on the data that is used for the axis labels, not a specific choice.

-
-

The offset of the labels must be between a string between 0 and 1000.

+

+The offset of the labels must be between a string between 0 and 1000. +

@@ -256,8 +262,9 @@ based on the data that is used for the axis labels, not a specific choice.

-
-

Creates a new CatAxis object.

+

+Creates a new CatAxis object. +

@@ -279,8 +286,9 @@ based on the data that is used for the axis labels, not a specific choice.

-
-

Serializes the category axis.

+

+Serializes the category axis. +

@@ -306,8 +314,9 @@ based on the data that is used for the axis labels, not a specific choice.

- -

Creates a new CatAxis object

+

+Creates a new CatAxis object +

@@ -326,8 +335,9 @@ based on the data that is used for the axis labels, not a specific choice.

— -
-

the id of this axis. Inherited

+

+the id of this axis. Inherited +

@@ -342,8 +352,9 @@ based on the data that is used for the axis labels, not a specific choice.

— -
-

the id of the perpendicular axis. Inherited

+

+the id of the perpendicular axis. Inherited +

@@ -360,8 +371,9 @@ based on the data that is used for the axis labels, not a specific choice.

— -
-

a customizable set of options

+

+a customizable set of options +

@@ -384,8 +396,9 @@ based on the data that is used for the axis labels, not a specific choice.

- —
-

Inherited

+ —

+Inherited +

@@ -395,8 +408,9 @@ based on the data that is used for the axis labels, not a specific choice.

- —
-

Inherited

+ —

+Inherited +

@@ -406,8 +420,9 @@ based on the data that is used for the axis labels, not a specific choice.

- —
-

Inherited

+ —

+Inherited +

@@ -458,12 +473,13 @@ based on the data that is used for the axis labels, not a specific choice.

# File 'lib/axlsx/drawing/cat_axis.rb', line 31
 
-def initialize(axId, crossAx, options={})
-  self.auto = true
-  self.lblAlgn = :ctr
-  self.lblOffset = "100%"
-  super(axId, crossAx, options)
-end
+def initialize(axId, crossAx, options={}) + self.auto = true + self.lblAlgn = :ctr + self.lblOffset = "100%" + super(axId, crossAx, options) +end + @@ -486,9 +502,10 @@ based on the data that is used for the axis labels, not a specific choice.

- -

From the docs: This element specifies that this axis is a date or text axis -based on the data that is used for the axis labels, not a specific choice.

+

+From the docs: This element specifies that this axis is a date or text axis +based on the data that is used for the axis labels, not a specific choice. +

@@ -522,9 +539,10 @@ based on the data that is used for the axis labels, not a specific choice.

# File 'lib/axlsx/drawing/cat_axis.rb', line 7
 
-def auto
-  @auto
-end
+def auto + @auto +end + @@ -542,9 +560,10 @@ based on the data that is used for the axis labels, not a specific choice.

- -

specifies how the perpendicular axis is crossed must be one of [:ctr, :l, -:r]

+

+specifies how the perpendicular axis is crossed must be one of [:ctr, :l, +:r] +

@@ -578,9 +597,10 @@ based on the data that is used for the axis labels, not a specific choice.

# File 'lib/axlsx/drawing/cat_axis.rb', line 12
 
-def lblAlgn
-  @lblAlgn
-end
+def lblAlgn + @lblAlgn +end + @@ -598,8 +618,9 @@ based on the data that is used for the axis labels, not a specific choice.

- -

The offset of the labels must be between a string between 0 and 1000

+

+The offset of the labels must be between a string between 0 and 1000 +

@@ -633,9 +654,10 @@ based on the data that is used for the axis labels, not a specific choice.

# File 'lib/axlsx/drawing/cat_axis.rb', line 17
 
-def lblOffset
-  @lblOffset
-end
+def lblOffset + @lblOffset +end + @@ -657,8 +679,9 @@ based on the data that is used for the axis labels, not a specific choice.

- -

Serializes the category axis

+

+Serializes the category axis +

@@ -677,8 +700,9 @@ based on the data that is used for the axis labels, not a specific choice.

— -
-

The document builder instance this objects xml will be added to.

+

+The document builder instance this objects xml will be added to. +

@@ -717,14 +741,15 @@ based on the data that is used for the axis labels, not a specific choice.

# File 'lib/axlsx/drawing/cat_axis.rb', line 52
 
-def to_xml(xml)
-  xml.send('c:catAx') {
-    super(xml)
-    xml.send('c:auto', :val=>@auto)
-    xml.send('c:lblAlgn', :val=>@lblAlgn)
-    xml.send('c:lblOffset', :val=>@lblOffset)                 
-  }
-end
+def to_xml(xml) + xml.send('c:catAx') { + super(xml) + xml.send('c:auto', :val=>@auto) + xml.send('c:lblAlgn', :val=>@lblAlgn) + xml.send('c:lblOffset', :val=>@lblOffset) + } +end + @@ -735,9 +760,9 @@ based on the data that is used for the axis labels, not a specific choice.

-- cgit v1.2.3