From 11303a4d6664d9a7ff7bc408035d2ab70378a375 Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Sat, 26 Nov 2011 13:20:57 +0900 Subject: adding in support for ruby 1.9.3 release version 1.0.9 --- doc/Axlsx/TwoCellAnchor.html | 369 +++++++++++++++++++------------------------ 1 file changed, 165 insertions(+), 204 deletions(-) (limited to 'doc/Axlsx/TwoCellAnchor.html') diff --git a/doc/Axlsx/TwoCellAnchor.html b/doc/Axlsx/TwoCellAnchor.html index 07adaac8..8e2b5d7c 100644 --- a/doc/Axlsx/TwoCellAnchor.html +++ b/doc/Axlsx/TwoCellAnchor.html @@ -6,7 +6,7 @@ Class: Axlsx::TwoCellAnchor - — Documentation by YARD 0.7.3 + — AXLSX @@ -97,16 +97,14 @@
Note: -

-The recommended way to manage drawings and charts is Worksheet#add_chart. -Anchors are specified by the :start_at and :end_at options to that method. -

+
+

The recommended way to manage drawings and charts is Worksheet#add_chart. +Anchors are specified by the :start_at and :end_at options to that method.

-

-This class details the anchor points for drawings. -

+ +

This class details the anchor points for drawings.

@@ -145,9 +143,8 @@ This class details the anchor points for drawings. -

-The drawing that holds this anchor. -

+
+

The drawing that holds this anchor.

@@ -172,9 +169,8 @@ The drawing that holds this anchor. -

-A marker that defines the from cell anchor. -

+
+

A marker that defines the from cell anchor.

@@ -183,7 +179,7 @@ A marker that defines the from cell anchor.
  • - - (Integer) index + - (Pic, GraphicFrame) object @@ -199,9 +195,8 @@ A marker that defines the from cell anchor. -

    -The index of this anchor in the drawing. -

    +
    +

    The object this anchor hosts.

  • @@ -210,7 +205,7 @@ The index of this anchor in the drawing.
  • - - (Pic, GraphicFrame) object + - (Marker) to @@ -226,58 +221,53 @@ The index of this anchor in the drawing. -

    -The object this anchor hosts. -

    +
    +

    A marker that returns the to cell anchor.

  • -
  • + + + + + + +

    + Instance Method Summary + (collapse) +

    + + - - - - - -

    - Instance Method Summary - (collapse) -

    - -
    • - - (Chart) add_chart(chart_type, options) + - (Integer) index @@ -290,9 +280,8 @@ A marker that returns the to cell anchor. -

      -Creates a graphic frame and chart object associated with this anchor. -

      +
      +

      The index of this anchor in the drawing.

    • @@ -316,10 +305,9 @@ Creates a graphic frame and chart object associated with this anchor. -

      -Creates a new TwoCellAnchor object and sets up a reference to the from and -to markers in the graphic_frame’s chart. -

      +
      +

      Creates a new TwoCellAnchor object and sets up a reference to the from and +to markers in the graphic_frame's chart.

      @@ -341,9 +329,8 @@ to markers in the graphic_frame’s chart. -

      -Serializes the two cell anchor. -

      +
      +

      Serializes the two cell anchor.

      @@ -367,17 +354,15 @@ Serializes the two cell anchor.
      Note: -

      -the chart_type parameter will be replaced with object in v. 2.0.0 -

      +
      +

      the chart_type parameter will be replaced with object in v. 2.0.0

      -

      -Creates a new TwoCellAnchor object and sets up a reference to the from and -to markers in the graphic_frame’s chart. That means that you can do -stuff like c = worksheet.add_chart Axlsx::Chart c.start_at 5, 9 -

      + +

      Creates a new TwoCellAnchor object and sets up a reference to the from and +to markers in the graphic_frame's chart. That means that you can do stuff +like c = worksheet.add_chart Axlsx::Chart c.start_at 5, 9

      @@ -407,10 +392,9 @@ stuff like c = worksheet.add_chart Axlsx::Chart c.start_at 5, 9 — -

      -This is passed to the graphic frame for instantiation. must be Chart or a -subclass of Chart -

      +
      +

      This is passed to the graphic frame for instantiation. must be Chart or a +subclass of Chart

      @@ -425,9 +409,8 @@ subclass of Chart — -

      -The object this anchor holds. -

      +
      +

      The object this anchor holds.

      @@ -444,9 +427,8 @@ The object this anchor holds. — -

      -a customizable set of options -

      +
      +

      a customizable set of options

      @@ -467,9 +449,8 @@ a customizable set of options - —

      -the col, row to start at -

      + —
      +

      the col, row to start at

      @@ -479,9 +460,8 @@ the col, row to start at - —

      -the col, row to end at -

      + —
      +

      the col, row to end at

      @@ -495,21 +475,20 @@ the col, row to end at
       
       
      +38
      +39
      +40
       41
      -42
      -43
      -44
      -45
      +42 -
      # File 'lib/axlsx/drawing/two_cell_anchor.rb', line 41
      -
      -def initialize(drawing, options={})
      -  @drawing = drawing
      -  drawing.anchors << self      
      -  @from, @to =  Marker.new, Marker.new(:col => 5, :row=>10)
      -end
      -
      +
      # File 'lib/axlsx/drawing/two_cell_anchor.rb', line 38
      +
      +def initialize(drawing, options={})
      +  @drawing = drawing
      +  drawing.anchors << self      
      +  @from, @to =  Marker.new, Marker.new(:col => 5, :row=>10)
      +end
      @@ -532,9 +511,8 @@ the col, row to end at

      -

      -The drawing that holds this anchor -

      + +

      The drawing that holds this anchor

      @@ -568,10 +546,9 @@ The drawing that holds this anchor
      # File 'lib/axlsx/drawing/two_cell_anchor.rb', line 25
       
      -def drawing
      -  @drawing
      -end
      -
      +def drawing + @drawing +end @@ -589,10 +566,9 @@ The drawing that holds this anchor

      -

      -A marker that defines the from cell anchor. The default from column and row -are 0 and 0 respectively -

      + +

      A marker that defines the from cell anchor. The default from column and row +are 0 and 0 respectively

      @@ -626,10 +602,9 @@ are 0 and 0 respectively
      # File 'lib/axlsx/drawing/two_cell_anchor.rb', line 9
       
      -def from
      -  @from
      -end
      -
      +def from + @from +end @@ -637,19 +612,18 @@ are 0 and 0 respectively - +
      -

      +

      - - (Integer) index (readonly) + - (Pic, GraphicFrame) object (readonly)

      -

      -The index of this anchor in the drawing -

      + +

      The object this anchor hosts

      @@ -662,7 +636,7 @@ The index of this anchor in the drawing
    • - (Integer) + (Pic, GraphicFrame) @@ -676,17 +650,16 @@ The index of this anchor in the drawing
       
       
      -29
      -30
      -31
      +21 +22 +23 -
      # File 'lib/axlsx/drawing/two_cell_anchor.rb', line 29
      +      
      # File 'lib/axlsx/drawing/two_cell_anchor.rb', line 21
       
      -def index
      -  @drawing.anchors.index(self)
      -end
      -
      +def object + @object +end
      @@ -694,19 +667,19 @@ The index of this anchor in the drawing - +
      -

      +

      - - (Pic, GraphicFrame) object (readonly) + - (Marker) to (readonly)

      -

      -The object this anchor hosts -

      + +

      A marker that returns the to cell anchor. The default to column and row are +5 and 10 respectively

      @@ -719,7 +692,7 @@ The object this anchor hosts
    • - (Pic, GraphicFrame) + (Marker) @@ -733,38 +706,39 @@ The object this anchor hosts
       
       
      -21
      -22
      -23
      +12 +13 +14 -
      # File 'lib/axlsx/drawing/two_cell_anchor.rb', line 21
      +      
      # File 'lib/axlsx/drawing/two_cell_anchor.rb', line 12
       
      -def object
      -  @object
      -end
      -
      +def to + @to +end
    • - - - -
      -

      +

      + + +
      +

      Instance Method Details

      + + +
      +

      - - (Marker) to (readonly) + - (Chart) add_chart(chart_type, options)

      -

      -A marker that returns the to cell anchor. The default to column and row are -5 and 10 respectively -

      + +

      Creates a graphic frame and chart object associated with this anchor

      @@ -777,7 +751,7 @@ A marker that returns the to cell anchor. The default to column and row are
    • - (Marker) + (Chart) @@ -791,41 +765,34 @@ A marker that returns the to cell anchor. The default to column and row are
       
       
      -12
      -13
      -14
      +46 +47 +48 +49 -
      # File 'lib/axlsx/drawing/two_cell_anchor.rb', line 12
      +      
      # File 'lib/axlsx/drawing/two_cell_anchor.rb', line 46
       
      -def to
      -  @to
      -end
      -
      +def add_chart(chart_type, options) + @object = GraphicFrame.new(self, chart_type, options) + @object.chart +end
    • -
      - - -
      -

      Instance Method Details

      - - -
      -

      +

      +

      - - (Chart) add_chart(chart_type, options) + - (Integer) index

      -

      -Creates a graphic frame and chart object associated with this anchor -

      + +

      The index of this anchor in the drawing

      @@ -838,7 +805,7 @@ Creates a graphic frame and chart object associated with this anchor
    • - (Chart) + (Integer) @@ -852,19 +819,16 @@ Creates a graphic frame and chart object associated with this anchor
       
       
      -49
      -50
      -51
      -52
      +53 +54 +55 -
      # File 'lib/axlsx/drawing/two_cell_anchor.rb', line 49
      +      
      # File 'lib/axlsx/drawing/two_cell_anchor.rb', line 53
       
      -def add_chart(chart_type, options)      
      -  @object = GraphicFrame.new(self, chart_type, options)
      -  @object.chart
      -end
      -
      +def index + @drawing.anchors.index(self) +end
      @@ -879,9 +843,8 @@ Creates a graphic frame and chart object associated with this anchor

      -

      -Serializes the two cell anchor -

      + +

      Serializes the two cell anchor

      @@ -900,9 +863,8 @@ Serializes the two cell anchor — -

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

      +
      +

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

    • @@ -929,6 +891,7 @@ The document builder instance this objects xml will be added to.
       
       
      +59
       60
       61
       62
      @@ -940,26 +903,24 @@ The document builder instance this objects xml will be added to.
       68
       69
       70
      -71
      -72
      +71 -
      # File 'lib/axlsx/drawing/two_cell_anchor.rb', line 60
      -
      -def to_xml(xml)
      -  #build it for now, break it down later!
      -  xml.send('xdr:twoCellAnchor') {
      -    xml.send('xdr:from') {
      -      from.to_xml(xml)
      -    }
      -    xml.send('xdr:to') {
      -      to.to_xml(xml)
      -    }
      -    @object.to_xml(xml)
      -    xml.send('xdr:clientData')
      -  }
      -end
      -
      +
      # File 'lib/axlsx/drawing/two_cell_anchor.rb', line 59
      +
      +def to_xml(xml)
      +  #build it for now, break it down later!
      +  xml.send('xdr:twoCellAnchor') {
      +    xml.send('xdr:from') {
      +      from.to_xml(xml)
      +    }
      +    xml.send('xdr:to') {
      +      to.to_xml(xml)
      +    }
      +    @object.to_xml(xml)
      +    xml.send('xdr:clientData')
      +  }
      +end
      @@ -970,9 +931,9 @@ The document builder instance this objects xml will be added to.
      -- cgit v1.2.3