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/BorderPr.html | 189 +++++++++++++++++++++++++++--------------------- 1 file changed, 107 insertions(+), 82 deletions(-) (limited to 'doc/Axlsx/BorderPr.html') diff --git a/doc/Axlsx/BorderPr.html b/doc/Axlsx/BorderPr.html index 47c49d87..334f4680 100644 --- a/doc/Axlsx/BorderPr.html +++ b/doc/Axlsx/BorderPr.html @@ -94,8 +94,9 @@

Overview

- -

A border part.

+

+A border part. +

@@ -127,8 +128,9 @@ -
-

The color of this border part.

+

+The color of this border part. +

@@ -153,8 +155,9 @@ -
-

The name of this border part.

+

+The name of this border part. +

@@ -179,8 +182,9 @@ -
-

The syle of this border part.

+

+The syle of this border part. +

@@ -217,8 +221,9 @@ -
-

Creates a new Border Part Object.

+

+Creates a new Border Part Object. +

@@ -240,8 +245,9 @@ -
-

Serializes the border part.

+

+Serializes the border part. +

@@ -262,8 +268,9 @@

- -

Creates a new Border Part Object

+

+Creates a new Border Part Object +

@@ -284,8 +291,9 @@ — -
-

a customizable set of options

+

+a customizable set of options +

@@ -351,11 +359,12 @@
# File 'lib/axlsx/stylesheet/border_pr.rb', line 46
 
-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 + @@ -378,8 +387,9 @@

- -

The color of this border part.

+

+The color of this border part. +

@@ -397,8 +407,9 @@ — -
-

The color of this border part.

+

+The color of this border part. +

@@ -418,9 +429,10 @@
# File 'lib/axlsx/stylesheet/border_pr.rb', line 6
 
-def color
-  @color
-end
+def color + @color +end + @@ -441,23 +453,26 @@
Note: -
-

The following are allowed

- -
:start
-:end
-:left
-:right
-:top
-:bottom
-:diagonal
-:vertical
-:horizontal
+

+The following are allowed +

+
+ :start
+ :end
+ :left
+ :right
+ :top
+ :bottom
+ :diagonal
+ :vertical
+ :horizontal
+
- -

The name of this border part

+

+The name of this border part +

@@ -475,8 +490,9 @@ — -
-

The name of this border part

+

+The name of this border part +

@@ -496,9 +512,10 @@
# File 'lib/axlsx/stylesheet/border_pr.rb', line 39
 
-def name
-  @name
-end
+def name + @name +end + @@ -519,28 +536,31 @@
Note: -
-

The following are allowed

- -
:none 
-:thin
-:medium
-:dashed
-:dotted
-:thick
-:double
-:hair 
-:mediumDashed
-:dashDot
-:mediumDashDot
-:dashDotDot
-:mediumDashDotDot
-:slantDashDot
+

+The following are allowed +

+
+ :none
+ :thin
+ :medium
+ :dashed
+ :dotted
+ :thick
+ :double
+ :hair
+ :mediumDashed
+ :dashDot
+ :mediumDashDot
+ :dashDotDot
+ :mediumDashDotDot
+ :slantDashDot
+
- -

The syle of this border part.

+

+The syle of this border part. +

@@ -558,8 +578,9 @@ — -
-

The syle of this border part.

+

+The syle of this border part. +

@@ -579,9 +600,10 @@
# File 'lib/axlsx/stylesheet/border_pr.rb', line 25
 
-def style
-  @style
-end
+def style + @style +end + @@ -603,8 +625,9 @@

- -

Serializes the border part

+

+Serializes the border part +

@@ -623,8 +646,9 @@ — -
-

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

+

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

@@ -660,11 +684,12 @@
# File 'lib/axlsx/stylesheet/border_pr.rb', line 62
 
-def to_xml(xml)
-  xml.send(@name, :style => @style) {
-    @color.to_xml(xml) if @color.is_a? Color
-  } 
-end
+def to_xml(xml) + xml.send(@name, :style => @style) { + @color.to_xml(xml) if @color.is_a? Color + } +end + @@ -675,9 +700,9 @@
-- cgit v1.2.3