From 058faf2581970fa18c314ad07f5658adeca32c69 Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Sun, 27 Nov 2011 22:08:55 +0900 Subject: update to README --- doc/Axlsx/Relationship.html | 103 ++++++++++++++++++-------------------------- 1 file changed, 43 insertions(+), 60 deletions(-) (limited to 'doc/Axlsx/Relationship.html') diff --git a/doc/Axlsx/Relationship.html b/doc/Axlsx/Relationship.html index 6d0f4060..c99f45a4 100644 --- a/doc/Axlsx/Relationship.html +++ b/doc/Axlsx/Relationship.html @@ -97,15 +97,13 @@
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.

@@ -137,9 +135,8 @@ A relationship defines a reference between package parts. -

-The location of the relationship target. -

+
+

The location of the relationship target.

@@ -164,9 +161,8 @@ The location of the relationship target. -

-The type of relationship. -

+
+

The type of relationship.

@@ -203,9 +199,8 @@ The type of relationship. -

-A new instance of Relationship. -

+
+

A new instance of Relationship.

@@ -227,9 +222,8 @@ A new instance of Relationship. -

-Serializes the relationship. -

+
+

Serializes the relationship.

@@ -250,9 +244,8 @@ Serializes the relationship.

-

-A new instance of Relationship -

+ +

A new instance of Relationship

@@ -274,11 +267,10 @@ A new instance of Relationship
# 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 @@ -301,9 +293,8 @@ A new instance of Relationship

-

-The location of the relationship target -

+ +

The location of the relationship target

@@ -337,10 +328,9 @@ The location of the relationship target
# File 'lib/axlsx/rels/relationship.rb', line 8
 
-def Target
-  @Target
-end
-
+def Target + @Target +end @@ -361,15 +351,13 @@ The location of the relationship target
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

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

-

-Serializes the relationship -

+ +

Serializes the relationship

@@ -474,9 +460,8 @@ Serializes the relationship — -

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

+
+

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

@@ -491,9 +476,8 @@ The document builder instance this objects xml will be added to. — -

-the reference id of the object. -

+
+

the reference id of the object.

@@ -529,12 +513,11 @@ the reference id of the object.
# 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 @@ -545,9 +528,9 @@ the reference id of the object.
-- cgit v1.2.3