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/Relationship.html | 103 ++++++++++++++++++++++++++------------------ 1 file changed, 60 insertions(+), 43 deletions(-) (limited to 'doc/Axlsx/Relationship.html') diff --git a/doc/Axlsx/Relationship.html b/doc/Axlsx/Relationship.html index e2fb7a6d..1c2499b2 100644 --- a/doc/Axlsx/Relationship.html +++ b/doc/Axlsx/Relationship.html @@ -97,13 +97,15 @@
Note: -
-

Packages automatcially manage relationships.

+

+Packages automatcially manage relationships. +

- -

A relationship defines a reference between package parts.

+

+A relationship defines a reference between package parts. +

@@ -135,8 +137,9 @@ -
-

The location of the relationship target.

+

+The location of the relationship target. +

@@ -161,8 +164,9 @@ -
-

The type of relationship.

+

+The type of relationship. +

@@ -199,8 +203,9 @@ -
-

A new instance of Relationship.

+

+A new instance of Relationship. +

@@ -222,8 +227,9 @@ -
-

Serializes the relationship.

+

+Serializes the relationship. +

@@ -244,8 +250,9 @@

- -

A new instance of Relationship

+

+A new instance of Relationship +

@@ -267,10 +274,11 @@
# File 'lib/axlsx/rels/relationship.rb', line 24
 
-def initialize(type, target)
-  self.Target=target
-  self.Type=type
-end
+def initialize(type, target) + self.Target=target + self.Type=type +end + @@ -293,8 +301,9 @@

- -

The location of the relationship target

+

+The location of the relationship target +

@@ -328,9 +337,10 @@
# File 'lib/axlsx/rels/relationship.rb', line 8
 
-def Target
-  @Target
-end
+def Target + @Target +end + @@ -351,13 +361,15 @@
Note: -
-

Supported types are defined as constants in Axlsx:

+

+Supported types are defined as constants in Axlsx: +

- -

The type of relationship

+

+The type of relationship +

@@ -416,9 +428,10 @@
# File 'lib/axlsx/rels/relationship.rb', line 23
 
-def Type
-  @Type
-end
+def Type + @Type +end + @@ -440,8 +453,9 @@

- -

Serializes the relationship

+

+Serializes the relationship +

@@ -460,8 +474,9 @@ — -
-

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

+

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

@@ -476,8 +491,9 @@ — -
-

the reference id of the object.

+

+the reference id of the object. +

@@ -513,11 +529,12 @@
# File 'lib/axlsx/rels/relationship.rb', line 38
 
-def to_xml(xml, rId)
-  h = self.instance_values
-  h[:Id] = rId
-  xml.Relationship(h)
-end
+def to_xml(xml, rId) + h = self.instance_values + h[:Id] = rId + xml.Relationship(h) +end + @@ -528,9 +545,9 @@
-- cgit v1.2.3