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/Marker.html | 169 +++++++++++++++++++++----------------------------- 1 file changed, 71 insertions(+), 98 deletions(-) (limited to 'doc/Axlsx/Marker.html') diff --git a/doc/Axlsx/Marker.html b/doc/Axlsx/Marker.html index 81613635..610eb316 100644 --- a/doc/Axlsx/Marker.html +++ b/doc/Axlsx/Marker.html @@ -97,17 +97,15 @@
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.

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

-The column this marker anchors to. -

+
+

The column this marker anchors to.

@@ -173,9 +170,8 @@ The column this marker anchors to. -

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

+
+

The offset distance from this marker's column.

@@ -200,9 +196,8 @@ The offset distance from this marker’s column. -

-The row this marker anchors to. -

+
+

The row this marker anchors to.

@@ -227,9 +222,8 @@ The row this marker anchors to. -

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

+
+

The offset distance from this marker's row.

@@ -264,9 +258,8 @@ The offset distance from this marker’s row. -

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

+
+

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

@@ -290,9 +283,8 @@ shortcut to set the column, row position for this marker. -

-Creates a new Marker object. -

+
+

Creates a new Marker object.

@@ -314,9 +306,8 @@ Creates a new Marker object. -

-Serializes the marker. -

+
+

Serializes the marker.

@@ -337,9 +328,8 @@ Serializes the marker.

-

-Creates a new Marker object -

+ +

Creates a new Marker object

@@ -360,9 +350,8 @@ Creates a new Marker object — -

-a customizable set of options -

+
+

a customizable set of options

@@ -431,13 +420,12 @@ a customizable set of options
# 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 @@ -460,9 +448,8 @@ a customizable set of options

-

-The column this marker anchors to -

+ +

The column this marker anchors to

@@ -496,10 +483,9 @@ The column this marker anchors to
# File 'lib/axlsx/drawing/marker.rb', line 9
 
-def col
-  @col
-end
-
+def col + @col +end @@ -517,9 +503,8 @@ The column this marker anchors to

-

-The offset distance from this marker’s column -

+ +

The offset distance from this marker's column

@@ -553,10 +538,9 @@ The offset distance from this marker’s column
# File 'lib/axlsx/drawing/marker.rb', line 13
 
-def colOff
-  @colOff
-end
-
+def colOff + @colOff +end @@ -574,9 +558,8 @@ The offset distance from this marker’s column

-

-The row this marker anchors to -

+ +

The row this marker anchors to

@@ -610,10 +593,9 @@ The row this marker anchors to
# File 'lib/axlsx/drawing/marker.rb', line 17
 
-def row
-  @row
-end
-
+def row + @row +end @@ -631,9 +613,8 @@ The row this marker anchors to

-

-The offset distance from this marker’s row -

+ +

The offset distance from this marker's row

@@ -667,10 +648,9 @@ The offset distance from this marker’s row
# File 'lib/axlsx/drawing/marker.rb', line 21
 
-def rowOff
-  @rowOff
-end
-
+def rowOff + @rowOff +end @@ -692,9 +672,8 @@ The offset distance from this marker’s row

-

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

+ +

shortcut to set the column, row position for this marker

@@ -713,9 +692,8 @@ shortcut to set the column, row position for this marker — -

-the column for the marker -

+
+

the column for the marker

@@ -730,9 +708,8 @@ the column for the marker — -

-the row of the marker -

+
+

the row of the marker

@@ -754,11 +731,10 @@ the row of the marker
# 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 @@ -773,9 +749,8 @@ the row of the marker

-

-Serializes the marker -

+ +

Serializes the marker

@@ -794,9 +769,8 @@ Serializes the marker — -

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

+
+

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

@@ -832,12 +806,11 @@ The document builder instance this objects xml will be added 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 @@ -848,9 +821,9 @@ The document builder instance this objects xml will be added to.
-- cgit v1.2.3