diff options
| author | Randy Morgan <[email protected]> | 2011-11-27 21:45:19 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2011-11-27 21:45:19 +0900 |
| commit | cdfc7251bde8347678d355e5fe65fc20e120bc23 (patch) | |
| tree | d555a2b6a70b8e5b735aa7ef2248017cf7b1447e /doc/Axlsx/Xf.html | |
| parent | e6d269d03875bc0a4687b9d5f4b7016fc7d27b32 (diff) | |
| download | caxlsx-cdfc7251bde8347678d355e5fe65fc20e120bc23.tar.gz caxlsx-cdfc7251bde8347678d355e5fe65fc20e120bc23.zip | |
updating docs for 1.0.10a release
Diffstat (limited to 'doc/Axlsx/Xf.html')
| -rw-r--r-- | doc/Axlsx/Xf.html | 322 |
1 files changed, 188 insertions, 134 deletions
diff --git a/doc/Axlsx/Xf.html b/doc/Axlsx/Xf.html index cfdfc33b..67653bae 100644 --- a/doc/Axlsx/Xf.html +++ b/doc/Axlsx/Xf.html @@ -94,9 +94,10 @@ <h2>Overview</h2><div class="docstring"> <div class="discussion"> - -<p>The Xf class defines a formatting record for use in Styles. The recommended -way to manage styles for your workbook is with Styles#add_style</p> + <p> +The Xf class defines a formatting record for use in Styles. The recommended +way to manage styles for your workbook is with Styles#add_style +</p> </div> @@ -135,8 +136,9 @@ way to manage styles for your workbook is with Styles#add_style</p> - <span class="summary_desc"><div class='inline'> -<p>The cell alignment for this style.</p> + <span class="summary_desc"><div class='inline'><p> +The cell alignment for this style. +</p> </div></span> </li> @@ -161,8 +163,9 @@ way to manage styles for your workbook is with Styles#add_style</p> - <span class="summary_desc"><div class='inline'> -<p>Indicates if the alignment options should be applied.</p> + <span class="summary_desc"><div class='inline'><p> +Indicates if the alignment options should be applied. +</p> </div></span> </li> @@ -187,8 +190,9 @@ way to manage styles for your workbook is with Styles#add_style</p> - <span class="summary_desc"><div class='inline'> -<p>indicates if the borderId should be applied.</p> + <span class="summary_desc"><div class='inline'><p> +indicates if the borderId should be applied. +</p> </div></span> </li> @@ -213,8 +217,9 @@ way to manage styles for your workbook is with Styles#add_style</p> - <span class="summary_desc"><div class='inline'> -<p>indicates if the fillId should be applied.</p> + <span class="summary_desc"><div class='inline'><p> +indicates if the fillId should be applied. +</p> </div></span> </li> @@ -239,8 +244,9 @@ way to manage styles for your workbook is with Styles#add_style</p> - <span class="summary_desc"><div class='inline'> -<p>indicates if the fontId should be applied.</p> + <span class="summary_desc"><div class='inline'><p> +indicates if the fontId should be applied. +</p> </div></span> </li> @@ -265,8 +271,9 @@ way to manage styles for your workbook is with Styles#add_style</p> - <span class="summary_desc"><div class='inline'> -<p>indicates if the numFmtId should be applied.</p> + <span class="summary_desc"><div class='inline'><p> +indicates if the numFmtId should be applied. +</p> </div></span> </li> @@ -291,8 +298,9 @@ way to manage styles for your workbook is with Styles#add_style</p> - <span class="summary_desc"><div class='inline'> -<p>Indicates if the protection options should be applied.</p> + <span class="summary_desc"><div class='inline'><p> +Indicates if the protection options should be applied. +</p> </div></span> </li> @@ -317,8 +325,9 @@ way to manage styles for your workbook is with Styles#add_style</p> - <span class="summary_desc"><div class='inline'> -<p>index (0 based) of the border to be used in this style.</p> + <span class="summary_desc"><div class='inline'><p> +index (0 based) of the border to be used in this style. +</p> </div></span> </li> @@ -343,8 +352,9 @@ way to manage styles for your workbook is with Styles#add_style</p> - <span class="summary_desc"><div class='inline'> -<p>index (0 based) of the fill to be used in this style.</p> + <span class="summary_desc"><div class='inline'><p> +index (0 based) of the fill to be used in this style. +</p> </div></span> </li> @@ -369,8 +379,9 @@ way to manage styles for your workbook is with Styles#add_style</p> - <span class="summary_desc"><div class='inline'> -<p>index (0 based) of the font to be used in this style.</p> + <span class="summary_desc"><div class='inline'><p> +index (0 based) of the font to be used in this style. +</p> </div></span> </li> @@ -395,8 +406,9 @@ way to manage styles for your workbook is with Styles#add_style</p> - <span class="summary_desc"><div class='inline'> -<p>id of the numFmt to apply to this style.</p> + <span class="summary_desc"><div class='inline'><p> +id of the numFmt to apply to this style. +</p> </div></span> </li> @@ -421,8 +433,9 @@ way to manage styles for your workbook is with Styles#add_style</p> - <span class="summary_desc"><div class='inline'> -<p>indicates if the cell has a pivot table drop down button.</p> + <span class="summary_desc"><div class='inline'><p> +indicates if the cell has a pivot table drop down button. +</p> </div></span> </li> @@ -447,8 +460,9 @@ way to manage styles for your workbook is with Styles#add_style</p> - <span class="summary_desc"><div class='inline'> -<p>The cell protection for this style.</p> + <span class="summary_desc"><div class='inline'><p> +The cell protection for this style. +</p> </div></span> </li> @@ -473,8 +487,9 @@ way to manage styles for your workbook is with Styles#add_style</p> - <span class="summary_desc"><div class='inline'> -<p>indecates if text should be prefixed by a single quote in the cell.</p> + <span class="summary_desc"><div class='inline'><p> +indecates if text should be prefixed by a single quote in the cell. +</p> </div></span> </li> @@ -499,8 +514,9 @@ way to manage styles for your workbook is with Styles#add_style</p> - <span class="summary_desc"><div class='inline'> -<p>index (0 based) of cellStylesXfs item to be used in this style.</p> + <span class="summary_desc"><div class='inline'><p> +index (0 based) of cellStylesXfs item to be used in this style. +</p> </div></span> </li> @@ -537,8 +553,9 @@ way to manage styles for your workbook is with Styles#add_style</p> - <span class="summary_desc"><div class='inline'> -<p>Creates a new Xf object.</p> + <span class="summary_desc"><div class='inline'><p> +Creates a new Xf object. +</p> </div></span> </li> @@ -560,8 +577,9 @@ way to manage styles for your workbook is with Styles#add_style</p> - <span class="summary_desc"><div class='inline'> -<p>Serializes the xf elemen.</p> + <span class="summary_desc"><div class='inline'><p> +Serializes the xf elemen. +</p> </div></span> </li> @@ -582,8 +600,9 @@ way to manage styles for your workbook is with Styles#add_style</p> </p><div class="docstring"> <div class="discussion"> - -<p>Creates a new Xf object</p> + <p> +Creates a new Xf object +</p> </div> @@ -604,8 +623,9 @@ way to manage styles for your workbook is with Styles#add_style</p> — - <div class='inline'> -<p>a customizable set of options</p> + <div class='inline'><p> +a customizable set of options +</p> </div> </li> @@ -772,11 +792,12 @@ way to manage styles for your workbook is with Styles#add_style</p> <td> <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 85</span> -<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='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='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='kw'>end</span> -<span class='kw'>end</span></pre> +<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='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='dstring node'>"#{o[0]}="</span> + <span class='end end kw'>end</span> +<span class='end end kw'>end</span> +</pre> </td> </tr> </table> @@ -799,8 +820,9 @@ way to manage styles for your workbook is with Styles#add_style</p> </p><div class="docstring"> <div class="discussion"> - -<p>The cell alignment for this style</p> + <p> +The cell alignment for this style +</p> </div> @@ -841,9 +863,10 @@ way to manage styles for your workbook is with Styles#add_style</p> <td> <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 10</span> -<span class='kw'>def</span> <span class='id alignment'>alignment</span> - <span class='ivar'>@alignment</span> -<span class='kw'>end</span></pre> +<span class='def def kw'>def</span> <span class='alignment identifier id'>alignment</span> + <span class='@alignment ivar id'>@alignment</span> +<span class='end end kw'>end</span> +</pre> </td> </tr> </table> @@ -861,8 +884,9 @@ way to manage styles for your workbook is with Styles#add_style</p> </p><div class="docstring"> <div class="discussion"> - -<p>Indicates if the alignment options should be applied</p> + <p> +Indicates if the alignment options should be applied +</p> </div> @@ -896,9 +920,10 @@ way to manage styles for your workbook is with Styles#add_style</p> <td> <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 63</span> -<span class='kw'>def</span> <span class='id applyAlignment'>applyAlignment</span> - <span class='ivar'>@applyAlignment</span> -<span class='kw'>end</span></pre> +<span class='def def kw'>def</span> <span class='applyAlignment identifier id'>applyAlignment</span> + <span class='@applyAlignment ivar id'>@applyAlignment</span> +<span class='end end kw'>end</span> +</pre> </td> </tr> </table> @@ -916,8 +941,9 @@ way to manage styles for your workbook is with Styles#add_style</p> </p><div class="docstring"> <div class="discussion"> - -<p>indicates if the borderId should be applied</p> + <p> +indicates if the borderId should be applied +</p> </div> @@ -951,9 +977,10 @@ way to manage styles for your workbook is with Styles#add_style</p> <td> <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 59</span> -<span class='kw'>def</span> <span class='id applyBorder'>applyBorder</span> - <span class='ivar'>@applyBorder</span> -<span class='kw'>end</span></pre> +<span class='def def kw'>def</span> <span class='applyBorder identifier id'>applyBorder</span> + <span class='@applyBorder ivar id'>@applyBorder</span> +<span class='end end kw'>end</span> +</pre> </td> </tr> </table> @@ -971,8 +998,9 @@ way to manage styles for your workbook is with Styles#add_style</p> </p><div class="docstring"> <div class="discussion"> - -<p>indicates if the fillId should be applied</p> + <p> +indicates if the fillId should be applied +</p> </div> @@ -1006,9 +1034,10 @@ way to manage styles for your workbook is with Styles#add_style</p> <td> <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 55</span> -<span class='kw'>def</span> <span class='id applyFill'>applyFill</span> - <span class='ivar'>@applyFill</span> -<span class='kw'>end</span></pre> +<span class='def def kw'>def</span> <span class='applyFill identifier id'>applyFill</span> + <span class='@applyFill ivar id'>@applyFill</span> +<span class='end end kw'>end</span> +</pre> </td> </tr> </table> @@ -1026,8 +1055,9 @@ way to manage styles for your workbook is with Styles#add_style</p> </p><div class="docstring"> <div class="discussion"> - -<p>indicates if the fontId should be applied</p> + <p> +indicates if the fontId should be applied +</p> </div> @@ -1061,9 +1091,10 @@ way to manage styles for your workbook is with Styles#add_style</p> <td> <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 51</span> -<span class='kw'>def</span> <span class='id applyFont'>applyFont</span> - <span class='ivar'>@applyFont</span> -<span class='kw'>end</span></pre> +<span class='def def kw'>def</span> <span class='applyFont identifier id'>applyFont</span> + <span class='@applyFont ivar id'>@applyFont</span> +<span class='end end kw'>end</span> +</pre> </td> </tr> </table> @@ -1081,8 +1112,9 @@ way to manage styles for your workbook is with Styles#add_style</p> </p><div class="docstring"> <div class="discussion"> - -<p>indicates if the numFmtId should be applied</p> + <p> +indicates if the numFmtId should be applied +</p> </div> @@ -1116,9 +1148,10 @@ way to manage styles for your workbook is with Styles#add_style</p> <td> <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 47</span> -<span class='kw'>def</span> <span class='id applyNumberFormat'>applyNumberFormat</span> - <span class='ivar'>@applyNumberFormat</span> -<span class='kw'>end</span></pre> +<span class='def def kw'>def</span> <span class='applyNumberFormat identifier id'>applyNumberFormat</span> + <span class='@applyNumberFormat ivar id'>@applyNumberFormat</span> +<span class='end end kw'>end</span> +</pre> </td> </tr> </table> @@ -1136,8 +1169,9 @@ way to manage styles for your workbook is with Styles#add_style</p> </p><div class="docstring"> <div class="discussion"> - -<p>Indicates if the protection options should be applied</p> + <p> +Indicates if the protection options should be applied +</p> </div> @@ -1171,9 +1205,10 @@ way to manage styles for your workbook is with Styles#add_style</p> <td> <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 67</span> -<span class='kw'>def</span> <span class='id applyProtection'>applyProtection</span> - <span class='ivar'>@applyProtection</span> -<span class='kw'>end</span></pre> +<span class='def def kw'>def</span> <span class='applyProtection identifier id'>applyProtection</span> + <span class='@applyProtection ivar id'>@applyProtection</span> +<span class='end end kw'>end</span> +</pre> </td> </tr> </table> @@ -1191,8 +1226,9 @@ way to manage styles for your workbook is with Styles#add_style</p> </p><div class="docstring"> <div class="discussion"> - -<p>index (0 based) of the border to be used in this style</p> + <p> +index (0 based) of the border to be used in this style +</p> </div> @@ -1226,9 +1262,10 @@ way to manage styles for your workbook is with Styles#add_style</p> <td> <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 31</span> -<span class='kw'>def</span> <span class='id borderId'>borderId</span> - <span class='ivar'>@borderId</span> -<span class='kw'>end</span></pre> +<span class='def def kw'>def</span> <span class='borderId identifier id'>borderId</span> + <span class='@borderId ivar id'>@borderId</span> +<span class='end end kw'>end</span> +</pre> </td> </tr> </table> @@ -1246,8 +1283,9 @@ way to manage styles for your workbook is with Styles#add_style</p> </p><div class="docstring"> <div class="discussion"> - -<p>index (0 based) of the fill to be used in this style</p> + <p> +index (0 based) of the fill to be used in this style +</p> </div> @@ -1281,9 +1319,10 @@ way to manage styles for your workbook is with Styles#add_style</p> <td> <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 27</span> -<span class='kw'>def</span> <span class='id fillId'>fillId</span> - <span class='ivar'>@fillId</span> -<span class='kw'>end</span></pre> +<span class='def def kw'>def</span> <span class='fillId identifier id'>fillId</span> + <span class='@fillId ivar id'>@fillId</span> +<span class='end end kw'>end</span> +</pre> </td> </tr> </table> @@ -1301,8 +1340,9 @@ way to manage styles for your workbook is with Styles#add_style</p> </p><div class="docstring"> <div class="discussion"> - -<p>index (0 based) of the font to be used in this style</p> + <p> +index (0 based) of the font to be used in this style +</p> </div> @@ -1336,9 +1376,10 @@ way to manage styles for your workbook is with Styles#add_style</p> <td> <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 23</span> -<span class='kw'>def</span> <span class='id fontId'>fontId</span> - <span class='ivar'>@fontId</span> -<span class='kw'>end</span></pre> +<span class='def def kw'>def</span> <span class='fontId identifier id'>fontId</span> + <span class='@fontId ivar id'>@fontId</span> +<span class='end end kw'>end</span> +</pre> </td> </tr> </table> @@ -1356,8 +1397,9 @@ way to manage styles for your workbook is with Styles#add_style</p> </p><div class="docstring"> <div class="discussion"> - -<p>id of the numFmt to apply to this style</p> + <p> +id of the numFmt to apply to this style +</p> </div> @@ -1391,9 +1433,10 @@ way to manage styles for your workbook is with Styles#add_style</p> <td> <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 19</span> -<span class='kw'>def</span> <span class='id numFmtId'>numFmtId</span> - <span class='ivar'>@numFmtId</span> -<span class='kw'>end</span></pre> +<span class='def def kw'>def</span> <span class='numFmtId identifier id'>numFmtId</span> + <span class='@numFmtId ivar id'>@numFmtId</span> +<span class='end end kw'>end</span> +</pre> </td> </tr> </table> @@ -1411,8 +1454,9 @@ way to manage styles for your workbook is with Styles#add_style</p> </p><div class="docstring"> <div class="discussion"> - -<p>indicates if the cell has a pivot table drop down button</p> + <p> +indicates if the cell has a pivot table drop down button +</p> </div> @@ -1446,9 +1490,10 @@ way to manage styles for your workbook is with Styles#add_style</p> <td> <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 43</span> -<span class='kw'>def</span> <span class='id pivotButton'>pivotButton</span> - <span class='ivar'>@pivotButton</span> -<span class='kw'>end</span></pre> +<span class='def def kw'>def</span> <span class='pivotButton identifier id'>pivotButton</span> + <span class='@pivotButton ivar id'>@pivotButton</span> +<span class='end end kw'>end</span> +</pre> </td> </tr> </table> @@ -1466,8 +1511,9 @@ way to manage styles for your workbook is with Styles#add_style</p> </p><div class="docstring"> <div class="discussion"> - -<p>The cell protection for this style</p> + <p> +The cell protection for this style +</p> </div> @@ -1508,9 +1554,10 @@ way to manage styles for your workbook is with Styles#add_style</p> <td> <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 15</span> -<span class='kw'>def</span> <span class='id protection'>protection</span> - <span class='ivar'>@protection</span> -<span class='kw'>end</span></pre> +<span class='def def kw'>def</span> <span class='protection identifier id'>protection</span> + <span class='@protection ivar id'>@protection</span> +<span class='end end kw'>end</span> +</pre> </td> </tr> </table> @@ -1528,8 +1575,9 @@ way to manage styles for your workbook is with Styles#add_style</p> </p><div class="docstring"> <div class="discussion"> - -<p>indecates if text should be prefixed by a single quote in the cell</p> + <p> +indecates if text should be prefixed by a single quote in the cell +</p> </div> @@ -1563,9 +1611,10 @@ way to manage styles for your workbook is with Styles#add_style</p> <td> <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 39</span> -<span class='kw'>def</span> <span class='id quotePrefix'>quotePrefix</span> - <span class='ivar'>@quotePrefix</span> -<span class='kw'>end</span></pre> +<span class='def def kw'>def</span> <span class='quotePrefix identifier id'>quotePrefix</span> + <span class='@quotePrefix ivar id'>@quotePrefix</span> +<span class='end end kw'>end</span> +</pre> </td> </tr> </table> @@ -1583,9 +1632,10 @@ way to manage styles for your workbook is with Styles#add_style</p> </p><div class="docstring"> <div class="discussion"> - -<p>index (0 based) of cellStylesXfs item to be used in this style. Only -applies to cellXfs items</p> + <p> +index (0 based) of cellStylesXfs item to be used in this style. Only +applies to cellXfs items +</p> </div> @@ -1619,9 +1669,10 @@ applies to cellXfs items</p> <td> <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 35</span> -<span class='kw'>def</span> <span class='id xfId'>xfId</span> - <span class='ivar'>@xfId</span> -<span class='kw'>end</span></pre> +<span class='def def kw'>def</span> <span class='xfId identifier id'>xfId</span> + <span class='@xfId ivar id'>@xfId</span> +<span class='end end kw'>end</span> +</pre> </td> </tr> </table> @@ -1643,8 +1694,9 @@ applies to cellXfs items</p> </p><div class="docstring"> <div class="discussion"> - -<p>Serializes the xf elemen</p> + <p> +Serializes the xf elemen +</p> </div> @@ -1663,8 +1715,9 @@ applies to cellXfs items</p> — - <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> @@ -1701,12 +1754,13 @@ applies to cellXfs items</p> <td> <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 131</span> -<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='id xml'>xml</span><span class='period'>.</span><span class='id xf'>xf</span><span class='lparen'>(</span><span class='kw'>self</span><span class='period'>.</span><span class='id instance_values'>instance_values</span><span class='period'>.</span><span class='id reject'>reject</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id k'>k</span><span class='comma'>,</span> <span class='id v'>v</span><span class='op'>|</span> <span class='lbracket'>[</span><span class='symbol'>:alignment</span><span class='comma'>,</span> <span class='symbol'>:protection</span><span class='comma'>,</span> <span class='symbol'>:extList</span><span class='comma'>,</span> <span class='symbol'>:name</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id include?'>include?</span> <span class='id k'>k</span><span class='period'>.</span><span class='id to_sym'>to_sym</span><span class='rbrace'>}</span><span class='rparen'>)</span> <span class='lbrace'>{</span> - <span class='id alignment'>alignment</span><span class='period'>.</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='kw'>if</span> <span class='kw'>self</span><span class='period'>.</span><span class='id alignment'>alignment</span> - <span class='id protection'>protection</span><span class='period'>.</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='kw'>if</span> <span class='kw'>self</span><span class='period'>.</span><span class='id protection'>protection</span> - <span class='rbrace'>}</span> -<span class='kw'>end</span></pre> +<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='xml identifier id'>xml</span><span class='dot token'>.</span><span class='xf identifier id'>xf</span><span class='lparen token'>(</span><span class='self self kw'>self</span><span class='dot token'>.</span><span class='instance_values identifier id'>instance_values</span><span class='dot token'>.</span><span class='reject identifier id'>reject</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='k identifier id'>k</span><span class='comma token'>,</span> <span class='v identifier id'>v</span><span class='bitor op'>|</span> <span class='lbrack token'>[</span><span class='symbol val'>:alignment</span><span class='comma token'>,</span> <span class='symbol val'>:protection</span><span class='comma token'>,</span> <span class='symbol val'>:extList</span><span class='comma token'>,</span> <span class='symbol val'>:name</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='include? fid id'>include?</span> <span class='k identifier id'>k</span><span class='dot token'>.</span><span class='to_sym identifier id'>to_sym</span><span class='rbrace token'>}</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span> + <span class='alignment identifier id'>alignment</span><span class='dot token'>.</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='if if_mod kw'>if</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='alignment identifier id'>alignment</span> + <span class='protection identifier id'>protection</span><span class='dot token'>.</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='if if_mod kw'>if</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='protection identifier id'>protection</span> + <span class='rbrace token'>}</span> +<span class='end end kw'>end</span> +</pre> </td> </tr> </table> @@ -1717,9 +1771,9 @@ applies to cellXfs items</p> </div> <div id="footer"> - Generated on Sun Nov 27 20:28:13 2011 by + Generated on Sun Nov 27 21:44:33 2011 by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> - 0.7.3 (ruby-1.9.3). + 0.7.3 (ruby-1.8.7). </div> </body> |
