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/Color.html | 128 +++++++++++++++++++++------------------------------ 1 file changed, 53 insertions(+), 75 deletions(-) (limited to 'doc/Axlsx/Color.html') diff --git a/doc/Axlsx/Color.html b/doc/Axlsx/Color.html index 5653b8ea..36a08186 100644 --- a/doc/Axlsx/Color.html +++ b/doc/Axlsx/Color.html @@ -94,9 +94,8 @@

Overview

-

-The color class represents a color used for borders, fills an fonts -

+ +

The color class represents a color used for borders, fills an fonts

@@ -128,9 +127,8 @@ The color class represents a color used for borders, fills an fonts -

-Determines if the color is system color dependant. -

+
+

Determines if the color is system color dependant.

@@ -155,9 +153,8 @@ Determines if the color is system color dependant. -

-The color as defined in rgb terms. -

+
+

The color as defined in rgb terms.

@@ -182,9 +179,8 @@ The color as defined in rgb terms. -

-The tint value. -

+
+

The tint value.

@@ -221,9 +217,8 @@ The tint value. -

-Creates a new Color object. -

+
+

Creates a new Color object.

@@ -245,9 +240,8 @@ Creates a new Color object. -

-Serializes the color. -

+
+

Serializes the color.

@@ -268,9 +262,8 @@ Serializes the color.

-

-Creates a new Color object -

+ +

Creates a new Color object

@@ -291,9 +284,8 @@ Creates a new Color object — -

-a customizable set of options -

+
+

a customizable set of options

@@ -353,13 +345,12 @@ a customizable set of options
# File 'lib/axlsx/stylesheet/color.rb', line 34
 
-def initialize(options={})
-  @rgb = "FF000000"
-  options.each do |o|
-    self.send("#{o[0]}=", o[1]) if self.respond_to? o[0]
-  end
-end
-
+def initialize(options={}) + @rgb = "FF000000" + options.each do |o| + self.send("#{o[0]}=", o[1]) if self.respond_to? o[0] + end +end @@ -382,9 +373,8 @@ a customizable set of options

-

-Determines if the color is system color dependant -

+ +

Determines if the color is system color dependant

@@ -418,10 +408,9 @@ Determines if the color is system color dependant
# File 'lib/axlsx/stylesheet/color.rb', line 6
 
-def auto
-  @auto
-end
-
+def auto + @auto +end @@ -442,16 +431,14 @@ Determines if the color is system color dependant
Note: -

-rgb colors need to conform to ST_UnsignedIntHex. That basically means put -‘FF’ before you color -

+
+

rgb colors need to conform to ST_UnsignedIntHex. That basically means put +'FF' before you color

-

-The color as defined in rgb terms. -

+ +

The color as defined in rgb terms.

@@ -461,13 +448,11 @@ The color as defined in rgb terms.

Examples:

-

-rgb colors -

+

+

rgb colors

-
"FF000000" is black
-"FFFFFFFF" is white
-
+
"FF000000" is black
+"FFFFFFFF" is white
@@ -498,10 +483,9 @@ rgb colors
# File 'lib/axlsx/stylesheet/color.rb', line 19
 
-def rgb
-  @rgb
-end
-
+def rgb + @rgb +end @@ -522,15 +506,13 @@ rgb colors
Note: -

-valid values are between -1.0 and 1.0 -

+
+

valid values are between -1.0 and 1.0

-

-The tint value. -

+ +

The tint value.

@@ -564,10 +546,9 @@ The tint value.
# File 'lib/axlsx/stylesheet/color.rb', line 28
 
-def tint
-  @tint
-end
-
+def tint + @tint +end @@ -589,9 +570,8 @@ The tint value.

-

-Serializes the color -

+ +

Serializes the color

@@ -610,9 +590,8 @@ Serializes the color — -

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

+
+

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

@@ -644,8 +623,7 @@ The document builder instance this objects xml will be added to.
# File 'lib/axlsx/stylesheet/color.rb', line 57
 
-def to_xml(xml) xml.color(self.instance_values) end
-
+def to_xml(xml) xml.color(self.instance_values) end @@ -656,9 +634,9 @@ The document builder instance this objects xml will be added to.
-- cgit v1.2.3