diff options
| author | Randy Morgan <[email protected]> | 2011-11-27 21:34:48 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2011-11-27 21:34:48 +0900 |
| commit | 407b884ef349d6dec12f50006ea6268c96205a83 (patch) | |
| tree | 907f0345127370a69b3c9626d13d72853a679c3a /doc/Axlsx/Marker.html | |
| parent | 4d16bfc43780e5d3f7368625700b583e3e98217a (diff) | |
| download | caxlsx-407b884ef349d6dec12f50006ea6268c96205a83.tar.gz caxlsx-407b884ef349d6dec12f50006ea6268c96205a83.zip | |
adding yields for package workbook, workbook styles and cols collection on worksheet to make charting easier.
Diffstat (limited to 'doc/Axlsx/Marker.html')
| -rw-r--r-- | doc/Axlsx/Marker.html | 169 |
1 files changed, 71 insertions, 98 deletions
diff --git a/doc/Axlsx/Marker.html b/doc/Axlsx/Marker.html index 7153d97b..05bdfeeb 100644 --- a/doc/Axlsx/Marker.html +++ b/doc/Axlsx/Marker.html @@ -97,17 +97,15 @@ <div class="note notetag"> <strong>Note:</strong> - <div class='inline'><p> -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. -</p> + <div class='inline'> +<p>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.</p> </div> </div> -<p> -The Marker class defines a point in the worksheet that drawing anchors -attach to. -</p> + +<p>The Marker class defines a point in the worksheet that drawing anchors +attach to.</p> </div> @@ -146,9 +144,8 @@ attach to. - <span class="summary_desc"><div class='inline'><p> -The column this marker anchors to. -</p> + <span class="summary_desc"><div class='inline'> +<p>The column this marker anchors to.</p> </div></span> </li> @@ -173,9 +170,8 @@ The column this marker anchors to. - <span class="summary_desc"><div class='inline'><p> -The offset distance from this marker’s column. -</p> + <span class="summary_desc"><div class='inline'> +<p>The offset distance from this marker's column.</p> </div></span> </li> @@ -200,9 +196,8 @@ The offset distance from this marker’s column. - <span class="summary_desc"><div class='inline'><p> -The row this marker anchors to. -</p> + <span class="summary_desc"><div class='inline'> +<p>The row this marker anchors to.</p> </div></span> </li> @@ -227,9 +222,8 @@ The row this marker anchors to. - <span class="summary_desc"><div class='inline'><p> -The offset distance from this marker’s row. -</p> + <span class="summary_desc"><div class='inline'> +<p>The offset distance from this marker's row.</p> </div></span> </li> @@ -264,9 +258,8 @@ The offset distance from this marker’s row. - <span class="summary_desc"><div class='inline'><p> -shortcut to set the column, row position for this marker. -</p> + <span class="summary_desc"><div class='inline'> +<p>shortcut to set the column, row position for this marker.</p> </div></span> </li> @@ -290,9 +283,8 @@ shortcut to set the column, row position for this marker. - <span class="summary_desc"><div class='inline'><p> -Creates a new Marker object. -</p> + <span class="summary_desc"><div class='inline'> +<p>Creates a new Marker object.</p> </div></span> </li> @@ -314,9 +306,8 @@ Creates a new Marker object. - <span class="summary_desc"><div class='inline'><p> -Serializes the marker. -</p> + <span class="summary_desc"><div class='inline'> +<p>Serializes the marker.</p> </div></span> </li> @@ -337,9 +328,8 @@ Serializes the marker. </p><div class="docstring"> <div class="discussion"> - <p> -Creates a new Marker object -</p> + +<p>Creates a new Marker object</p> </div> @@ -360,9 +350,8 @@ Creates a new Marker object — - <div class='inline'><p> -a customizable set of options -</p> + <div class='inline'> +<p>a customizable set of options</p> </div> </li> @@ -431,13 +420,12 @@ a customizable set of options <td> <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/marker.rb', line 28</span> -<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span> - <span class='@col ivar id'>@col</span><span class='comma token'>,</span> <span class='@colOff ivar id'>@colOff</span><span class='comma token'>,</span> <span class='@row ivar id'>@row</span><span class='comma token'>,</span> <span class='@rowOff ivar id'>@rowOff</span> <span class='assign token'>=</span> <span class='integer val'>0</span><span class='comma token'>,</span> <span class='integer val'>0</span><span class='comma token'>,</span> <span class='integer val'>0</span><span class='comma token'>,</span> <span class='integer val'>0</span> - <span class='options identifier id'>options</span><span class='dot token'>.</span><span class='each identifier id'>each</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='o identifier id'>o</span><span class='bitor op'>|</span> - <span class='self self kw'>self</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='dstring node'>"#{o[0]}="</span><span class='comma token'>,</span> <span class='o identifier id'>o</span><span class='lbrack token'>[</span><span class='integer val'>1</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='respond_to? fid id'>respond_to?</span> <span class='o identifier id'>o</span><span class='lbrack token'>[</span><span class='integer val'>0</span><span class='rbrack token'>]</span> - <span class='end end kw'>end</span> -<span class='end end kw'>end</span> -</pre> +<span class='kw'>def</span> <span class='id initialize'>initialize</span><span class='lparen'>(</span><span class='id options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span> + <span class='ivar'>@col</span><span class='comma'>,</span> <span class='ivar'>@colOff</span><span class='comma'>,</span> <span class='ivar'>@row</span><span class='comma'>,</span> <span class='ivar'>@rowOff</span> <span class='op'>=</span> <span class='int'>0</span><span class='comma'>,</span> <span class='int'>0</span><span class='comma'>,</span> <span class='int'>0</span><span class='comma'>,</span> <span class='int'>0</span> + <span class='id options'>options</span><span class='period'>.</span><span class='id each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id o'>o</span><span class='op'>|</span> + <span class='kw'>self</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id o'>o</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='rbrace'>}</span><span class='tstring_content'>=</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id o'>o</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='kw'>self</span><span class='period'>.</span><span class='id respond_to?'>respond_to?</span> <span class='id o'>o</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span> + <span class='kw'>end</span> +<span class='kw'>end</span></pre> </td> </tr> </table> @@ -460,9 +448,8 @@ a customizable set of options </p><div class="docstring"> <div class="discussion"> - <p> -The column this marker anchors to -</p> + +<p>The column this marker anchors to</p> </div> @@ -496,10 +483,9 @@ The column this marker anchors to <td> <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/marker.rb', line 9</span> -<span class='def def kw'>def</span> <span class='col identifier id'>col</span> - <span class='@col ivar id'>@col</span> -<span class='end end kw'>end</span> -</pre> +<span class='kw'>def</span> <span class='id col'>col</span> + <span class='ivar'>@col</span> +<span class='kw'>end</span></pre> </td> </tr> </table> @@ -517,9 +503,8 @@ The column this marker anchors to </p><div class="docstring"> <div class="discussion"> - <p> -The offset distance from this marker’s column -</p> + +<p>The offset distance from this marker's column</p> </div> @@ -553,10 +538,9 @@ The offset distance from this marker’s column <td> <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/marker.rb', line 13</span> -<span class='def def kw'>def</span> <span class='colOff identifier id'>colOff</span> - <span class='@colOff ivar id'>@colOff</span> -<span class='end end kw'>end</span> -</pre> +<span class='kw'>def</span> <span class='id colOff'>colOff</span> + <span class='ivar'>@colOff</span> +<span class='kw'>end</span></pre> </td> </tr> </table> @@ -574,9 +558,8 @@ The offset distance from this marker’s column </p><div class="docstring"> <div class="discussion"> - <p> -The row this marker anchors to -</p> + +<p>The row this marker anchors to</p> </div> @@ -610,10 +593,9 @@ The row this marker anchors to <td> <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/marker.rb', line 17</span> -<span class='def def kw'>def</span> <span class='row identifier id'>row</span> - <span class='@row ivar id'>@row</span> -<span class='end end kw'>end</span> -</pre> +<span class='kw'>def</span> <span class='id row'>row</span> + <span class='ivar'>@row</span> +<span class='kw'>end</span></pre> </td> </tr> </table> @@ -631,9 +613,8 @@ The row this marker anchors to </p><div class="docstring"> <div class="discussion"> - <p> -The offset distance from this marker’s row -</p> + +<p>The offset distance from this marker's row</p> </div> @@ -667,10 +648,9 @@ The offset distance from this marker’s row <td> <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/marker.rb', line 21</span> -<span class='def def kw'>def</span> <span class='rowOff identifier id'>rowOff</span> - <span class='@rowOff ivar id'>@rowOff</span> -<span class='end end kw'>end</span> -</pre> +<span class='kw'>def</span> <span class='id rowOff'>rowOff</span> + <span class='ivar'>@rowOff</span> +<span class='kw'>end</span></pre> </td> </tr> </table> @@ -692,9 +672,8 @@ The offset distance from this marker’s row </p><div class="docstring"> <div class="discussion"> - <p> -shortcut to set the column, row position for this marker -</p> + +<p>shortcut to set the column, row position for this marker</p> </div> @@ -713,9 +692,8 @@ shortcut to set the column, row position for this marker — - <div class='inline'><p> -the column for the marker -</p> + <div class='inline'> +<p>the column for the marker</p> </div> </li> @@ -730,9 +708,8 @@ the column for the marker — - <div class='inline'><p> -the row of the marker -</p> + <div class='inline'> +<p>the row of the marker</p> </div> </li> @@ -754,11 +731,10 @@ the row of the marker <td> <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/marker.rb', line 47</span> -<span class='def def kw'>def</span> <span class='coord identifier id'>coord</span><span class='lparen token'>(</span><span class='col identifier id'>col</span><span class='comma token'>,</span> <span class='row identifier id'>row</span><span class='rparen token'>)</span> - <span class='self self kw'>self</span><span class='dot token'>.</span><span class='col identifier id'>col</span> <span class='assign token'>=</span> <span class='col identifier id'>col</span> - <span class='self self kw'>self</span><span class='dot token'>.</span><span class='row identifier id'>row</span> <span class='assign token'>=</span> <span class='row identifier id'>row</span> -<span class='end end kw'>end</span> -</pre> +<span class='kw'>def</span> <span class='id coord'>coord</span><span class='lparen'>(</span><span class='id col'>col</span><span class='comma'>,</span> <span class='id row'>row</span><span class='rparen'>)</span> + <span class='kw'>self</span><span class='period'>.</span><span class='id col'>col</span> <span class='op'>=</span> <span class='id col'>col</span> + <span class='kw'>self</span><span class='period'>.</span><span class='id row'>row</span> <span class='op'>=</span> <span class='id row'>row</span> +<span class='kw'>end</span></pre> </td> </tr> </table> @@ -773,9 +749,8 @@ the row of the marker </p><div class="docstring"> <div class="discussion"> - <p> -Serializes the marker -</p> + +<p>Serializes the marker</p> </div> @@ -794,9 +769,8 @@ Serializes the marker — - <div class='inline'><p> -The document builder instance this objects xml will be added to. -</p> + <div class='inline'> +<p>The document builder instance this objects xml will be added to.</p> </div> </li> @@ -832,12 +806,11 @@ The document builder instance this objects xml will be added to. <td> <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/marker.rb', line 54</span> -<span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</span><span class='rparen token'>)</span> - <span class='lbrack token'>[</span><span class='symbol val'>:col</span><span class='comma token'>,</span> <span class='symbol val'>:colOff</span><span class='comma token'>,</span> <span class='symbol val'>:row</span><span class='comma token'>,</span> <span class='symbol val'>:rowOff</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='each identifier id'>each</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='k identifier id'>k</span><span class='bitor op'>|</span> - <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='dstring node'>"xdr:#{k.to_s}"</span><span class='comma token'>,</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='k identifier id'>k</span><span class='rparen token'>)</span><span class='rparen token'>)</span> - <span class='end end kw'>end</span> -<span class='end end kw'>end</span> -</pre> +<span class='kw'>def</span> <span class='id to_xml'>to_xml</span><span class='lparen'>(</span><span class='id xml'>xml</span><span class='rparen'>)</span> + <span class='lbracket'>[</span><span class='symbol'>:col</span><span class='comma'>,</span> <span class='symbol'>:colOff</span><span class='comma'>,</span> <span class='symbol'>:row</span><span class='comma'>,</span> <span class='symbol'>:rowOff</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id k'>k</span><span class='op'>|</span> + <span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>xdr:</span><span class='embexpr_beg'>#{</span><span class='id k'>k</span><span class='period'>.</span><span class='id to_s'>to_s</span><span class='rbrace'>}</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='kw'>self</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='id k'>k</span><span class='rparen'>)</span><span class='rparen'>)</span> + <span class='kw'>end</span> +<span class='kw'>end</span></pre> </td> </tr> </table> @@ -848,9 +821,9 @@ The document builder instance this objects xml will be added to. </div> <div id="footer"> - Generated on Sun Nov 27 18:05:02 2011 by + Generated on Sun Nov 27 20:28:13 2011 by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> - 0.7.3 (ruby-1.8.7). + 0.7.3 (ruby-1.9.3). </div> </body> |
