From cdfc7251bde8347678d355e5fe65fc20e120bc23 Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Sun, 27 Nov 2011 21:45:19 +0900 Subject: updating docs for 1.0.10a release --- doc/Axlsx/Marker.html | 169 +++++++++++++++++++++++++++++--------------------- 1 file changed, 98 insertions(+), 71 deletions(-) (limited to 'doc/Axlsx/Marker.html') diff --git a/doc/Axlsx/Marker.html b/doc/Axlsx/Marker.html index 05bdfeeb..51bc972f 100644 --- a/doc/Axlsx/Marker.html +++ b/doc/Axlsx/Marker.html @@ -97,15 +97,17 @@
Note: -
-

The recommended way to manage markers is Worksheet#add_chart Markers are -created for a two cell anchor based on the :start and :end options.

+

+The recommended way to manage markers is Worksheet#add_chart Markers are +created for a two cell anchor based on the :start and :end options. +

- -

The Marker class defines a point in the worksheet that drawing anchors -attach to.

+

+The Marker class defines a point in the worksheet that drawing anchors +attach to. +

@@ -144,8 +146,9 @@ attach to.

-
-

The column this marker anchors to.

+

+The column this marker anchors to. +

@@ -170,8 +173,9 @@ attach to.

-
-

The offset distance from this marker's column.

+

+The offset distance from this marker’s column. +

@@ -196,8 +200,9 @@ attach to.

-
-

The row this marker anchors to.

+

+The row this marker anchors to. +

@@ -222,8 +227,9 @@ attach to.

-
-

The offset distance from this marker's row.

+

+The offset distance from this marker’s row. +

@@ -258,8 +264,9 @@ attach to.

-
-

shortcut to set the column, row position for this marker.

+

+shortcut to set the column, row position for this marker. +

@@ -283,8 +290,9 @@ attach to.

-
-

Creates a new Marker object.

+

+Creates a new Marker object. +

@@ -306,8 +314,9 @@ attach to.

-
-

Serializes the marker.

+

+Serializes the marker. +

@@ -328,8 +337,9 @@ attach to.

- -

Creates a new Marker object

+

+Creates a new Marker object +

@@ -350,8 +360,9 @@ attach to.

— -
-

a customizable set of options

+

+a customizable set of options +

@@ -420,12 +431,13 @@ attach to.

# File 'lib/axlsx/drawing/marker.rb', line 28
 
-def initialize(options={})
-  @col, @colOff, @row, @rowOff = 0, 0, 0, 0
-  options.each do |o|
-    self.send("#{o[0]}=", o[1]) if self.respond_to? o[0]
-  end      
-end
+def initialize(options={}) + @col, @colOff, @row, @rowOff = 0, 0, 0, 0 + options.each do |o| + self.send("#{o[0]}=", o[1]) if self.respond_to? o[0] + end +end + @@ -448,8 +460,9 @@ attach to.

- -

The column this marker anchors to

+

+The column this marker anchors to +

@@ -483,9 +496,10 @@ attach to.

# File 'lib/axlsx/drawing/marker.rb', line 9
 
-def col
-  @col
-end
+def col + @col +end + @@ -503,8 +517,9 @@ attach to.

- -

The offset distance from this marker's column

+

+The offset distance from this marker’s column +

@@ -538,9 +553,10 @@ attach to.

# File 'lib/axlsx/drawing/marker.rb', line 13
 
-def colOff
-  @colOff
-end
+def colOff + @colOff +end + @@ -558,8 +574,9 @@ attach to.

- -

The row this marker anchors to

+

+The row this marker anchors to +

@@ -593,9 +610,10 @@ attach to.

# File 'lib/axlsx/drawing/marker.rb', line 17
 
-def row
-  @row
-end
+def row + @row +end + @@ -613,8 +631,9 @@ attach to.

- -

The offset distance from this marker's row

+

+The offset distance from this marker’s row +

@@ -648,9 +667,10 @@ attach to.

# File 'lib/axlsx/drawing/marker.rb', line 21
 
-def rowOff
-  @rowOff
-end
+def rowOff + @rowOff +end + @@ -672,8 +692,9 @@ attach to.

- -

shortcut to set the column, row position for this marker

+

+shortcut to set the column, row position for this marker +

@@ -692,8 +713,9 @@ attach to.

— -
-

the column for the marker

+

+the column for the marker +

@@ -708,8 +730,9 @@ attach to.

— -
-

the row of the marker

+

+the row of the marker +

@@ -731,10 +754,11 @@ attach to.

# File 'lib/axlsx/drawing/marker.rb', line 47
 
-def coord(col, row)
-  self.col = col
-  self.row = row
-end
+def coord(col, row) + self.col = col + self.row = row +end + @@ -749,8 +773,9 @@ attach to.

- -

Serializes the marker

+

+Serializes the marker +

@@ -769,8 +794,9 @@ attach to.

— -
-

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

+

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

@@ -806,11 +832,12 @@ attach to.

# File 'lib/axlsx/drawing/marker.rb', line 54
 
-def to_xml(xml)
-  [:col, :colOff, :row, :rowOff].each do |k|
-    xml.send("xdr:#{k.to_s}", self.send(k))
-  end      
-end
+def to_xml(xml) + [:col, :colOff, :row, :rowOff].each do |k| + xml.send("xdr:#{k.to_s}", self.send(k)) + end +end + @@ -821,9 +848,9 @@ attach to.

-- cgit v1.2.3