summaryrefslogtreecommitdiffhomepage
path: root/doc/Axlsx/Xf.html
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2011-11-26 13:20:57 +0900
committerRandy Morgan <[email protected]>2011-11-26 13:20:57 +0900
commit11303a4d6664d9a7ff7bc408035d2ab70378a375 (patch)
tree51c675ae3ab8cd6c1afd7087145261b1eb2ec54c /doc/Axlsx/Xf.html
parent044afe5a35db42cefce4f18a0fecc3da90cab1b5 (diff)
downloadcaxlsx-11303a4d6664d9a7ff7bc408035d2ab70378a375.tar.gz
caxlsx-11303a4d6664d9a7ff7bc408035d2ab70378a375.zip
adding in support for ruby 1.9.3
release version 1.0.9
Diffstat (limited to 'doc/Axlsx/Xf.html')
-rw-r--r--doc/Axlsx/Xf.html637
1 files changed, 341 insertions, 296 deletions
diff --git a/doc/Axlsx/Xf.html b/doc/Axlsx/Xf.html
index 8e0d5d8b..b42932ab 100644
--- a/doc/Axlsx/Xf.html
+++ b/doc/Axlsx/Xf.html
@@ -6,7 +6,7 @@
<title>
Class: Axlsx::Xf
- &mdash; Documentation by YARD 0.7.3
+ &mdash; AXLSX
</title>
@@ -94,9 +94,9 @@
<h2>Overview</h2><div class="docstring">
<div class="discussion">
- <p>
-The Xf class defines a formatting record for use in Styles
-</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>
@@ -104,6 +104,13 @@ The Xf class defines a formatting record for use in Styles
<div class="tags">
+ <h3>See Also:</h3>
+ <ul class="see">
+
+ <li><span class='object_link'><a href="Styles.html#add_style-instance_method" title="Axlsx::Styles#add_style (method)">Styles#add_style</a></span></li>
+
+ </ul>
+
</div>
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
@@ -128,9 +135,8 @@ The Xf class defines a formatting record for use in Styles
- <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>
@@ -155,9 +161,8 @@ The cell alignment for this style.
- <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>
@@ -182,9 +187,8 @@ Indicates if the alignment options should be applied.
- <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>
@@ -209,9 +213,8 @@ indicates if the borderId should be applied.
- <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>
@@ -236,9 +239,8 @@ indicates if the fillId should be applied.
- <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>
@@ -263,9 +265,8 @@ indicates if the fontId should be applied.
- <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>
@@ -290,9 +291,8 @@ indicates if the numFmtId should be applied.
- <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,9 +317,8 @@ Indicates if the protection options should be applied.
- <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>
@@ -344,9 +343,8 @@ index (0 based) of the border to be used in this style.
- <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>
@@ -371,9 +369,8 @@ index (0 based) of the fill to be used in this style.
- <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>
@@ -398,9 +395,8 @@ index (0 based) of the font to be used in this style.
- <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>
@@ -425,9 +421,8 @@ id of the numFmt to apply to this style.
- <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>
@@ -452,9 +447,8 @@ indicates if the cell has a pivot table drop down button.
- <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>
@@ -479,9 +473,8 @@ The cell protection for this style.
- <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>
@@ -506,9 +499,8 @@ indecates if text should be prefixed by a single quote in the cell.
- <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>
@@ -545,9 +537,8 @@ index (0 based) of cellStylesXfs item to be used in this style.
- <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>
@@ -569,9 +560,8 @@ Creates a new Xf object.
- <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>
@@ -592,9 +582,8 @@ Serializes the xf elemen.
</p><div class="docstring">
<div class="discussion">
- <p>
-Creates a new Xf object
-</p>
+
+<p>Creates a new Xf object</p>
</div>
@@ -605,68 +594,18 @@ Creates a new Xf object
<li>
- <span class='name'>[Integer]</span>
-
-
- <span class='type'>(<tt>Hash</tt>)</span>
-
-
-
- &mdash;
- <div class='inline'><p>
-a customizable set of options
-</p>
-</div>
-
- </li>
-
- <li>
-
- <span class='name'>[Boolean]</span>
+ <span class='name'>options</span>
<span class='type'>(<tt>Hash</tt>)</span>
-
- &mdash;
- <div class='inline'><p>
-a customizable set of options
-</p>
-</div>
-
- </li>
-
- <li>
-
- <span class='name'>[CellAlignment]</span>
-
-
- <span class='type'>(<tt>Hash</tt>)</span>
-
-
-
- &mdash;
- <div class='inline'><p>
-a customizable set of options
-</p>
-</div>
-
- </li>
-
- <li>
-
- <span class='name'>[CellProtection]</span>
-
-
- <span class='type'>(<tt>Hash</tt>)</span>
-
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
&mdash;
- <div class='inline'><p>
-a customizable set of options
-</p>
+ <div class='inline'>
+<p>a customizable set of options</p>
</div>
</li>
@@ -676,6 +615,146 @@ a customizable set of options
+ <h3>Options Hash (<tt>options</tt>):</h3>
+ <ul class="option">
+
+ <li>
+ <span class="name">numFmtId</span>
+ <span class="type">(<tt>Integer</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">fontId</span>
+ <span class="type">(<tt>Integer</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">fillId</span>
+ <span class="type">(<tt>Integer</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">borderId</span>
+ <span class="type">(<tt>Integer</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">xfId</span>
+ <span class="type">(<tt>Integer</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">quotePrefix</span>
+ <span class="type">(<tt>Boolean</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">pivotButton</span>
+ <span class="type">(<tt>Boolean</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">applyNumberFormat</span>
+ <span class="type">(<tt>Boolean</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">applyFont</span>
+ <span class="type">(<tt>Boolean</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">applyFill</span>
+ <span class="type">(<tt>Boolean</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">applyBorder</span>
+ <span class="type">(<tt>Boolean</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">applyAlignment</span>
+ <span class="type">(<tt>Boolean</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">applyProtection</span>
+ <span class="type">(<tt>Boolean</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">alignment</span>
+ <span class="type">(<tt><span class='object_link'><a href="CellAlignment.html" title="Axlsx::CellAlignment (class)">CellAlignment</a></span></tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">protection</span>
+ <span class="type">(<tt><span class='object_link'><a href="CellProtection.html" title="Axlsx::CellProtection (class)">CellProtection</a></span></tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ </ul>
+
</div><table class="source_code">
@@ -684,21 +763,20 @@ a customizable set of options
<pre class="lines">
-84
85
86
87
-88</pre>
+88
+89</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 84</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='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'>&quot;#{o[0]}=&quot;</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'>&quot;#{o[0]}=&quot;</span>
- <span class='end end kw'>end</span>
-<span class='end end kw'>end</span>
-</pre>
+ <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'>&quot;</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'>&quot;</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'>&quot;</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'>&quot;</span></span>
+ <span class='kw'>end</span>
+<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -721,9 +799,8 @@ a customizable set of options
</p><div class="docstring">
<div class="discussion">
- <p>
-The cell alignment for this style
-</p>
+
+<p>The cell alignment for this style</p>
</div>
@@ -757,17 +834,16 @@ The cell alignment for this style
<pre class="lines">
-9
10
-11</pre>
+11
+12</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 9</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 10</span>
-<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>
+<span class='kw'>def</span> <span class='id alignment'>alignment</span>
+ <span class='ivar'>@alignment</span>
+<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -785,9 +861,8 @@ The cell alignment for this style
</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>
@@ -814,17 +889,16 @@ Indicates if the alignment options should be applied
<pre class="lines">
-62
63
-64</pre>
+64
+65</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 62</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 63</span>
-<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>
+<span class='kw'>def</span> <span class='id applyAlignment'>applyAlignment</span>
+ <span class='ivar'>@applyAlignment</span>
+<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -842,9 +916,8 @@ Indicates if the alignment options should be applied
</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>
@@ -871,17 +944,16 @@ indicates if the borderId should be applied
<pre class="lines">
-58
59
-60</pre>
+60
+61</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 58</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 59</span>
-<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>
+<span class='kw'>def</span> <span class='id applyBorder'>applyBorder</span>
+ <span class='ivar'>@applyBorder</span>
+<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -899,9 +971,8 @@ indicates if the borderId should be applied
</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>
@@ -928,17 +999,16 @@ indicates if the fillId should be applied
<pre class="lines">
-54
55
-56</pre>
+56
+57</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 54</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 55</span>
-<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>
+<span class='kw'>def</span> <span class='id applyFill'>applyFill</span>
+ <span class='ivar'>@applyFill</span>
+<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -956,9 +1026,8 @@ indicates if the fillId should be applied
</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>
@@ -985,17 +1054,16 @@ indicates if the fontId should be applied
<pre class="lines">
-50
51
-52</pre>
+52
+53</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 50</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 51</span>
-<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>
+<span class='kw'>def</span> <span class='id applyFont'>applyFont</span>
+ <span class='ivar'>@applyFont</span>
+<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -1013,9 +1081,8 @@ indicates if the fontId should be applied
</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>
@@ -1042,17 +1109,16 @@ indicates if the numFmtId should be applied
<pre class="lines">
-46
47
-48</pre>
+48
+49</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 46</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 47</span>
-<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>
+<span class='kw'>def</span> <span class='id applyNumberFormat'>applyNumberFormat</span>
+ <span class='ivar'>@applyNumberFormat</span>
+<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -1070,9 +1136,8 @@ indicates if the numFmtId should be applied
</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>
@@ -1099,17 +1164,16 @@ Indicates if the protection options should be applied
<pre class="lines">
-66
67
-68</pre>
+68
+69</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 66</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 67</span>
-<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>
+<span class='kw'>def</span> <span class='id applyProtection'>applyProtection</span>
+ <span class='ivar'>@applyProtection</span>
+<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -1127,9 +1191,8 @@ Indicates if the protection options should be applied
</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>
@@ -1156,17 +1219,16 @@ index (0 based) of the border to be used in this style
<pre class="lines">
-30
31
-32</pre>
+32
+33</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 30</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 31</span>
-<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>
+<span class='kw'>def</span> <span class='id borderId'>borderId</span>
+ <span class='ivar'>@borderId</span>
+<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -1184,9 +1246,8 @@ index (0 based) of the border to be used in this style
</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>
@@ -1213,17 +1274,16 @@ index (0 based) of the fill to be used in this style
<pre class="lines">
-26
27
-28</pre>
+28
+29</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 26</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 27</span>
-<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>
+<span class='kw'>def</span> <span class='id fillId'>fillId</span>
+ <span class='ivar'>@fillId</span>
+<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -1241,9 +1301,8 @@ index (0 based) of the fill to be used in this style
</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>
@@ -1270,17 +1329,16 @@ index (0 based) of the font to be used in this style
<pre class="lines">
-22
23
-24</pre>
+24
+25</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 22</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 23</span>
-<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>
+<span class='kw'>def</span> <span class='id fontId'>fontId</span>
+ <span class='ivar'>@fontId</span>
+<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -1298,9 +1356,8 @@ index (0 based) of the font to be used in this style
</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>
@@ -1327,17 +1384,16 @@ id of the numFmt to apply to this style
<pre class="lines">
-18
19
-20</pre>
+20
+21</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 18</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 19</span>
-<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>
+<span class='kw'>def</span> <span class='id numFmtId'>numFmtId</span>
+ <span class='ivar'>@numFmtId</span>
+<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -1355,9 +1411,8 @@ id of the numFmt to apply to this style
</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>
@@ -1384,17 +1439,16 @@ indicates if the cell has a pivot table drop down button
<pre class="lines">
-42
43
-44</pre>
+44
+45</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 42</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 43</span>
-<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>
+<span class='kw'>def</span> <span class='id pivotButton'>pivotButton</span>
+ <span class='ivar'>@pivotButton</span>
+<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -1412,9 +1466,8 @@ indicates if the cell has a pivot table drop down button
</p><div class="docstring">
<div class="discussion">
- <p>
-The cell protection for this style
-</p>
+
+<p>The cell protection for this style</p>
</div>
@@ -1448,17 +1501,16 @@ The cell protection for this style
<pre class="lines">
-14
15
-16</pre>
+16
+17</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 14</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 15</span>
-<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>
+<span class='kw'>def</span> <span class='id protection'>protection</span>
+ <span class='ivar'>@protection</span>
+<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -1476,9 +1528,8 @@ The cell protection for this style
</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>
@@ -1505,17 +1556,16 @@ indecates if text should be prefixed by a single quote in the cell
<pre class="lines">
-38
39
-40</pre>
+40
+41</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 38</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 39</span>
-<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>
+<span class='kw'>def</span> <span class='id quotePrefix'>quotePrefix</span>
+ <span class='ivar'>@quotePrefix</span>
+<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -1533,10 +1583,9 @@ indecates if text should be prefixed by a single quote in the cell
</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>
@@ -1563,17 +1612,16 @@ applies to cellXfs items
<pre class="lines">
-34
35
-36</pre>
+36
+37</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 34</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 35</span>
-<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>
+<span class='kw'>def</span> <span class='id xfId'>xfId</span>
+ <span class='ivar'>@xfId</span>
+<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -1595,9 +1643,8 @@ applies to cellXfs items
</p><div class="docstring">
<div class="discussion">
- <p>
-Serializes the xf elemen
-</p>
+
+<p>Serializes the xf elemen</p>
</div>
@@ -1616,9 +1663,8 @@ Serializes the xf elemen
&mdash;
- <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>
@@ -1645,23 +1691,22 @@ The document builder instance this objects xml will be added to.
<pre class="lines">
-110
-111
-112
-113
-114
-115</pre>
+131
+132
+133
+134
+135
+136</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 110</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='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>
+ <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>
</td>
</tr>
</table>
@@ -1672,9 +1717,9 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Wed Nov 23 22:21:02 2011 by
+ Generated on Sat Nov 26 13:16:37 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>