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/Override.html | 102 ++++++++++++++++++++++++++++-------------------- 1 file changed, 59 insertions(+), 43 deletions(-) (limited to 'doc/Axlsx/Override.html') diff --git a/doc/Axlsx/Override.html b/doc/Axlsx/Override.html index 542e1ad5..60f12a51 100644 --- a/doc/Axlsx/Override.html +++ b/doc/Axlsx/Override.html @@ -94,9 +94,10 @@

Overview

- -

An override content part. These parts are automatically created by for you -based on the content of your package.

+

+An override content part. These parts are automatically created by for you +based on the content of your package. +

@@ -128,8 +129,9 @@ based on the content of your package.

-
-

The type of content.

+

+The type of content. +

@@ -154,8 +156,9 @@ based on the content of your package.

-
-

The name and location of the part.

+

+The name and location of the part. +

@@ -192,8 +195,9 @@ based on the content of your package.

-
-

Creates a new Override object.

+

+Creates a new Override object. +

@@ -215,8 +219,9 @@ based on the content of your package.

-
-

Serializes the Override object to xml.

+

+Serializes the Override object to xml. +

@@ -237,8 +242,9 @@ based on the content of your package.

- -

Creates a new Override object

+

+Creates a new Override object +

@@ -259,8 +265,9 @@ based on the content of your package.

— -
-

a customizable set of options

+

+a customizable set of options +

@@ -305,9 +312,10 @@ based on the content of your package.

— -
-

An argument error is raised if both PartName and ContentType are not -specified.

+

+An argument error is raised if both PartName and ContentType are not +specified. +

@@ -330,12 +338,13 @@ specified.

# File 'lib/axlsx/content_type/override.rb', line 17
 
-def initialize(options={})
-  raise ArgumentError, "PartName and ContentType are required" unless options[:PartName] && options[:ContentType]
-  options.each do |o|
-    self.send("#{o[0]}=", o[1]) if self.respond_to? "#{o[0]}="
-  end      
-end
+def initialize(options={}) + raise ArgumentError, "PartName and ContentType are required" unless options[:PartName] && options[:ContentType] + options.each do |o| + self.send("#{o[0]}=", o[1]) if self.respond_to? "#{o[0]}=" + end +end + @@ -358,8 +367,9 @@ specified.

- -

The type of content.

+

+The type of content. +

@@ -393,9 +403,10 @@ specified.

# File 'lib/axlsx/content_type/override.rb', line 7
 
-def ContentType
-  @ContentType
-end
+def ContentType + @ContentType +end + @@ -413,8 +424,9 @@ specified.

- -

The name and location of the part.

+

+The name and location of the part. +

@@ -448,9 +460,10 @@ specified.

# File 'lib/axlsx/content_type/override.rb', line 11
 
-def PartName
-  @PartName
-end
+def PartName + @PartName +end + @@ -472,8 +485,9 @@ specified.

- -

Serializes the Override object to xml

+

+Serializes the Override object to xml +

@@ -492,8 +506,9 @@ specified.

— -
-

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

+

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

@@ -514,9 +529,10 @@ specified.

# File 'lib/axlsx/content_type/override.rb', line 33
 
-def to_xml(xml)
-  xml.Override(self.instance_values)
-end
+def to_xml(xml) + xml.Override(self.instance_values) +end + @@ -527,9 +543,9 @@ specified.

-- cgit v1.2.3