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/GradientFill.html | 196 ++++++++++++++++++-------------------------- 1 file changed, 82 insertions(+), 114 deletions(-) (limited to 'doc/Axlsx/GradientFill.html') diff --git a/doc/Axlsx/GradientFill.html b/doc/Axlsx/GradientFill.html index 8c1c6653..89990a4d 100644 --- a/doc/Axlsx/GradientFill.html +++ b/doc/Axlsx/GradientFill.html @@ -94,9 +94,8 @@

Overview

-

-A GradientFill defines the color and positioning for gradiant cell fill. -

+ +

A GradientFill defines the color and positioning for gradiant cell fill.

@@ -135,9 +134,8 @@ A GradientFill defines the color and positioning for gradiant cell fill. -

-Percentage format bottom. -

+
+

Percentage format bottom.

@@ -162,9 +160,8 @@ Percentage format bottom. -

-Angle of the linear gradient. -

+
+

Angle of the linear gradient.

@@ -189,9 +186,8 @@ Angle of the linear gradient. -

-Percentage format left. -

+
+

Percentage format left.

@@ -216,9 +212,8 @@ Percentage format left. -

-Percentage format right. -

+
+

Percentage format right.

@@ -243,9 +238,8 @@ Percentage format right. -

-Collection of stop objects. -

+
+

Collection of stop objects.

@@ -270,9 +264,8 @@ Collection of stop objects. -

-Percentage format top. -

+
+

Percentage format top.

@@ -297,9 +290,8 @@ Percentage format top. -

-The type of gradient. -

+
+

The type of gradient.

@@ -336,9 +328,8 @@ The type of gradient. -

-Creates a new GradientFill object. -

+
+

Creates a new GradientFill object.

@@ -360,9 +351,8 @@ Creates a new GradientFill object. -

-Serializes the gradientFill. -

+
+

Serializes the gradientFill.

@@ -383,9 +373,8 @@ Serializes the gradientFill.

-

-Creates a new GradientFill object -

+ +

Creates a new GradientFill object

@@ -406,9 +395,8 @@ Creates a new GradientFill object — -

-a customizable set of options -

+
+

a customizable set of options

@@ -496,14 +484,13 @@ a customizable set of options
# File 'lib/axlsx/stylesheet/gradient_fill.rb', line 46
 
-def initialize(options={})
-  options[:type] ||= :linear
-  options.each do |o|
-    self.send("#{o[0]}=", o[1]) if self.respond_to? o[0]
-  end
-  @stop = SimpleTypedList.new GradientStop
-end
-
+def initialize(options={}) + options[:type] ||= :linear + options.each do |o| + self.send("#{o[0]}=", o[1]) if self.respond_to? o[0] + end + @stop = SimpleTypedList.new GradientStop +end @@ -526,9 +513,8 @@ a customizable set of options

-

-Percentage format bottom -

+ +

Percentage format bottom

@@ -562,10 +548,9 @@ Percentage format bottom
# File 'lib/axlsx/stylesheet/gradient_fill.rb', line 33
 
-def bottom
-  @bottom
-end
-
+def bottom + @bottom +end @@ -583,9 +568,8 @@ Percentage format bottom

-

-Angle of the linear gradient -

+ +

Angle of the linear gradient

@@ -619,10 +603,9 @@ Angle of the linear gradient
# File 'lib/axlsx/stylesheet/gradient_fill.rb', line 17
 
-def degree
-  @degree
-end
-
+def degree + @degree +end @@ -640,9 +623,8 @@ Angle of the linear gradient

-

-Percentage format left -

+ +

Percentage format left

@@ -676,10 +658,9 @@ Percentage format left
# File 'lib/axlsx/stylesheet/gradient_fill.rb', line 21
 
-def left
-  @left
-end
-
+def left + @left +end @@ -697,9 +678,8 @@ Percentage format left

-

-Percentage format right -

+ +

Percentage format right

@@ -733,10 +713,9 @@ Percentage format right
# File 'lib/axlsx/stylesheet/gradient_fill.rb', line 25
 
-def right
-  @right
-end
-
+def right + @right +end @@ -754,9 +733,8 @@ Percentage format right

-

-Collection of stop objects -

+ +

Collection of stop objects

@@ -790,10 +768,9 @@ Collection of stop objects
# File 'lib/axlsx/stylesheet/gradient_fill.rb', line 37
 
-def stop
-  @stop
-end
-
+def stop + @stop +end @@ -811,9 +788,8 @@ Collection of stop objects

-

-Percentage format top -

+ +

Percentage format top

@@ -847,10 +823,9 @@ Percentage format top
# File 'lib/axlsx/stylesheet/gradient_fill.rb', line 29
 
-def top
-  @top
-end
-
+def top + @top +end @@ -871,19 +846,16 @@ Percentage format top
Note: -

-valid options are -

-
- :linear
- :path
-
+
+

valid options are

+ +
:linear
+:path
-

-The type of gradient. -

+ +

The type of gradient.

@@ -917,10 +889,9 @@ The type of gradient.
# File 'lib/axlsx/stylesheet/gradient_fill.rb', line 13
 
-def type
-  @type
-end
-
+def type + @type +end @@ -942,9 +913,8 @@ The type of gradient.

-

-Serializes the gradientFill -

+ +

Serializes the gradientFill

@@ -963,9 +933,8 @@ Serializes the gradientFill — -

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

+
+

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

@@ -1001,12 +970,11 @@ The document builder instance this objects xml will be added to.
# File 'lib/axlsx/stylesheet/gradient_fill.rb', line 70
 
-def to_xml(xml)
-  xml.gradientFill(self.instance_values.reject { |k,v| k.to_sym == :stop }) {
-    @stop.each { |s| s.to_xml(xml) }
-  }
-end
-
+def to_xml(xml) + xml.gradientFill(self.instance_values.reject { |k,v| k.to_sym == :stop }) { + @stop.each { |s| s.to_xml(xml) } + } +end @@ -1017,9 +985,9 @@ The document builder instance this objects xml will be added to.
-- cgit v1.2.3