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

Overview

- -

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

+

+An default 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 extension of the content type.

+

+The extension of the content type. +

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

-
-

Creates a new Default object.

+

+Creates a new Default object. +

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

-
-

Serializes the object to xml.

+

+Serializes the object to xml. +

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

- -

Creates a new Default object

+

+Creates a new Default 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 Extension and ContentType are not -specified.

+

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

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

# File 'lib/axlsx/content_type/default.rb', line 17
 
-def initialize(options={})
-  raise ArgumentError, "Extension and ContentType are required" unless options[:Extension] && 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, "Extension and ContentType are required" unless options[:Extension] && 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/default.rb', line 11
 
-def ContentType
-  @ContentType
-end
+def ContentType + @ContentType +end + @@ -413,8 +424,9 @@ specified.

- -

The extension of the content type.

+

+The extension of the content type. +

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

# File 'lib/axlsx/content_type/default.rb', line 7
 
-def Extension
-  @Extension
-end
+def Extension + @Extension +end + @@ -472,8 +485,9 @@ specified.

- -

Serializes the object to xml

+

+Serializes the 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. +

@@ -527,9 +542,10 @@ specified.

# File 'lib/axlsx/content_type/default.rb', line 33
 
-def to_xml(xml)
-  xml.Default(self.instance_values)
-end
+def to_xml(xml) + xml.Default(self.instance_values) +end + @@ -540,9 +556,9 @@ specified.

-- cgit v1.2.3