summaryrefslogtreecommitdiffhomepage
path: root/doc/Axlsx/TableStyle.html
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2011-11-27 21:34:48 +0900
committerRandy Morgan <[email protected]>2011-11-27 21:34:48 +0900
commit407b884ef349d6dec12f50006ea6268c96205a83 (patch)
tree907f0345127370a69b3c9626d13d72853a679c3a /doc/Axlsx/TableStyle.html
parent4d16bfc43780e5d3f7368625700b583e3e98217a (diff)
downloadcaxlsx-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/TableStyle.html')
-rw-r--r--doc/Axlsx/TableStyle.html128
1 files changed, 54 insertions, 74 deletions
diff --git a/doc/Axlsx/TableStyle.html b/doc/Axlsx/TableStyle.html
index d4b8c80e..0bb35a91 100644
--- a/doc/Axlsx/TableStyle.html
+++ b/doc/Axlsx/TableStyle.html
@@ -99,16 +99,14 @@
<div class="note notetag">
<strong>Note:</strong>
- <div class='inline'><p>
-Table are not supported in this version and only the defaults required for
-a valid workbook are created.
-</p>
+ <div class='inline'>
+<p>Table are not supported in this version and only the defaults required for
+a valid workbook are created.</p>
</div>
</div>
-<p>
-A single table style definition and is a collection for tableStyleElements
-</p>
+
+<p>A single table style definition and is a collection for tableStyleElements</p>
</div>
@@ -144,9 +142,8 @@ A single table style definition and is a collection for tableStyleElements
- <span class="summary_desc"><div class='inline'><p>
-The name of this table style.
-</p>
+ <span class="summary_desc"><div class='inline'>
+<p>The name of this table style.</p>
</div></span>
</li>
@@ -171,9 +168,8 @@ The name of this table style.
- <span class="summary_desc"><div class='inline'><p>
-indicates if this style should be applied to pivot tables.
-</p>
+ <span class="summary_desc"><div class='inline'>
+<p>indicates if this style should be applied to pivot tables.</p>
</div></span>
</li>
@@ -198,9 +194,8 @@ indicates if this style should be applied to pivot tables.
- <span class="summary_desc"><div class='inline'><p>
-indicates if this style should be applied to tables.
-</p>
+ <span class="summary_desc"><div class='inline'>
+<p>indicates if this style should be applied to tables.</p>
</div></span>
</li>
@@ -245,9 +240,8 @@ indicates if this style should be applied to tables.
- <span class="summary_desc"><div class='inline'><p>
-creates a new TableStyle object.
-</p>
+ <span class="summary_desc"><div class='inline'>
+<p>creates a new TableStyle object.</p>
</div></span>
</li>
@@ -269,9 +263,8 @@ creates a new TableStyle object.
- <span class="summary_desc"><div class='inline'><p>
-Serializes the table style.
-</p>
+ <span class="summary_desc"><div class='inline'>
+<p>Serializes the table style.</p>
</div></span>
</li>
@@ -297,9 +290,8 @@ Serializes the table style.
</p><div class="docstring">
<div class="discussion">
- <p>
-creates a new TableStyle object
-</p>
+
+<p>creates a new TableStyle object</p>
</div>
@@ -331,9 +323,8 @@ creates a new TableStyle object
&mdash;
- <div class='inline'><p>
-a customizable set of options
-</p>
+ <div class='inline'>
+<p>a customizable set of options</p>
</div>
</li>
@@ -380,9 +371,8 @@ a customizable set of options
&mdash;
- <div class='inline'><p>
-if name option is not provided.
-</p>
+ <div class='inline'>
+<p>if name option is not provided.</p>
</div>
</li>
@@ -406,14 +396,13 @@ if name option is not provided.
<td>
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/table_style.rb', line 23</span>
-<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='name identifier id'>name</span><span class='comma 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='self self kw'>self</span><span class='dot token'>.</span><span class='name identifier id'>name</span> <span class='assign token'>=</span> <span class='name identifier id'>name</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='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='super super kw'>super</span> <span class='TableStyleElement constant id'>TableStyleElement</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 name'>name</span><span class='comma'>,</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='kw'>self</span><span class='period'>.</span><span class='id name'>name</span> <span class='op'>=</span> <span class='id name'>name</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='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'>super</span> <span class='const'>TableStyleElement</span>
+<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -446,9 +435,8 @@ if name option is not provided.
</p><div class="docstring">
<div class="discussion">
- <p>
-The name of this table style
-</p>
+
+<p>The name of this table style</p>
</div>
@@ -482,10 +470,9 @@ The name of this table style
<td>
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/table_style.rb', line 8</span>
-<span class='def def kw'>def</span> <span class='name identifier id'>name</span>
- <span class='@name ivar id'>@name</span>
-<span class='end end kw'>end</span>
-</pre>
+<span class='kw'>def</span> <span class='id name'>name</span>
+ <span class='ivar'>@name</span>
+<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -503,9 +490,8 @@ The name of this table style
</p><div class="docstring">
<div class="discussion">
- <p>
-indicates if this style should be applied to pivot tables
-</p>
+
+<p>indicates if this style should be applied to pivot tables</p>
</div>
@@ -539,10 +525,9 @@ indicates if this style should be applied to pivot tables
<td>
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/table_style.rb', line 12</span>
-<span class='def def kw'>def</span> <span class='pivot identifier id'>pivot</span>
- <span class='@pivot ivar id'>@pivot</span>
-<span class='end end kw'>end</span>
-</pre>
+<span class='kw'>def</span> <span class='id pivot'>pivot</span>
+ <span class='ivar'>@pivot</span>
+<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -560,9 +545,8 @@ indicates if this style should be applied to pivot tables
</p><div class="docstring">
<div class="discussion">
- <p>
-indicates if this style should be applied to tables
-</p>
+
+<p>indicates if this style should be applied to tables</p>
</div>
@@ -596,10 +580,9 @@ indicates if this style should be applied to tables
<td>
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/table_style.rb', line 16</span>
-<span class='def def kw'>def</span> <span class='table identifier id'>table</span>
- <span class='@table ivar id'>@table</span>
-<span class='end end kw'>end</span>
-</pre>
+<span class='kw'>def</span> <span class='id table'>table</span>
+ <span class='ivar'>@table</span>
+<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -621,9 +604,8 @@ indicates if this style should be applied to tables
</p><div class="docstring">
<div class="discussion">
- <p>
-Serializes the table style
-</p>
+
+<p>Serializes the table style</p>
</div>
@@ -642,9 +624,8 @@ Serializes the table style
&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>
@@ -680,12 +661,11 @@ The document builder instance this objects xml will be added to.
<td>
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/table_style.rb', line 41</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='attr identifier id'>attr</span> <span class='assign 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='select identifier id'>select</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'>:name</span><span class='comma token'>,</span> <span class='symbol val'>:pivot</span><span class='comma token'>,</span> <span class='symbol val'>:table</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='rbrace token'>}</span>
- <span class='attr identifier id'>attr</span><span class='lbrack token'>[</span><span class='symbol val'>:count</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='size identifier id'>size</span>
- <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='tableStyle identifier id'>tableStyle</span><span class='lparen token'>(</span><span class='attr identifier id'>attr</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='each identifier id'>each</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='table_style_el identifier id'>table_style_el</span><span class='bitor op'>|</span> <span class='table_style_el identifier id'>table_style_el</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='rbrace token'>}</span> <span class='rbrace token'>}</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='id attr'>attr</span> <span class='op'>=</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 select'>select</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'>:name</span><span class='comma'>,</span> <span class='symbol'>:pivot</span><span class='comma'>,</span> <span class='symbol'>:table</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id include?'>include?</span> <span class='id k'>k</span> <span class='rbrace'>}</span>
+ <span class='id attr'>attr</span><span class='lbracket'>[</span><span class='symbol'>:count</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id size'>size</span>
+ <span class='id xml'>xml</span><span class='period'>.</span><span class='id tableStyle'>tableStyle</span><span class='lparen'>(</span><span class='id attr'>attr</span><span class='rparen'>)</span> <span class='lbrace'>{</span> <span class='kw'>self</span><span class='period'>.</span><span class='id each'>each</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id table_style_el'>table_style_el</span><span class='op'>|</span> <span class='id table_style_el'>table_style_el</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='rbrace'>}</span> <span class='rbrace'>}</span>
+<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -696,9 +676,9 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Sun Nov 27 18:05:20 2011 by
+ Generated on Sun Nov 27 20:28:15 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>