summaryrefslogtreecommitdiffhomepage
path: root/doc/Axlsx/CellProtection.html
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2011-11-27 18:11:42 +0900
committerRandy Morgan <[email protected]>2011-11-27 18:11:42 +0900
commit4d16bfc43780e5d3f7368625700b583e3e98217a (patch)
treebd477483555fe52f2690e7f15743d93b9667adef /doc/Axlsx/CellProtection.html
parent11303a4d6664d9a7ff7bc408035d2ab70378a375 (diff)
downloadcaxlsx-4d16bfc43780e5d3f7368625700b583e3e98217a.tar.gz
caxlsx-4d16bfc43780e5d3f7368625700b583e3e98217a.zip
adding in row_style and col_style methods to worksheet and active record 'acts_as_axlsx' to provide to_xlsx.
Diffstat (limited to 'doc/Axlsx/CellProtection.html')
-rw-r--r--doc/Axlsx/CellProtection.html108
1 files changed, 63 insertions, 45 deletions
diff --git a/doc/Axlsx/CellProtection.html b/doc/Axlsx/CellProtection.html
index a62fe369..7e1648f1 100644
--- a/doc/Axlsx/CellProtection.html
+++ b/doc/Axlsx/CellProtection.html
@@ -97,14 +97,16 @@
<div class="note notetag">
<strong>Note:</strong>
- <div class='inline'>
-<p>Using Styles#add_style is the recommended way to manage cell protection.</p>
+ <div class='inline'><p>
+Using Styles#add_style is the recommended way to manage cell protection.
+</p>
</div>
</div>
-
-<p>CellProtection stores information about locking or hiding cells in
-spreadsheet.</p>
+<p>
+CellProtection stores information about locking or hiding cells in
+spreadsheet.
+</p>
</div>
@@ -143,8 +145,9 @@ spreadsheet.</p>
- <span class="summary_desc"><div class='inline'>
-<p>specifies locking for cells that have the style containing this protection.</p>
+ <span class="summary_desc"><div class='inline'><p>
+specifies locking for cells that have the style containing this protection.
+</p>
</div></span>
</li>
@@ -169,8 +172,9 @@ spreadsheet.</p>
- <span class="summary_desc"><div class='inline'>
-<p>specifies if the cells that have the style containing this protection.</p>
+ <span class="summary_desc"><div class='inline'><p>
+specifies if the cells that have the style containing this protection.
+</p>
</div></span>
</li>
@@ -207,8 +211,9 @@ spreadsheet.</p>
- <span class="summary_desc"><div class='inline'>
-<p>Creates a new CellProtection.</p>
+ <span class="summary_desc"><div class='inline'><p>
+Creates a new CellProtection.
+</p>
</div></span>
</li>
@@ -230,8 +235,9 @@ spreadsheet.</p>
- <span class="summary_desc"><div class='inline'>
-<p>Serializes the cell protection.</p>
+ <span class="summary_desc"><div class='inline'><p>
+Serializes the cell protection.
+</p>
</div></span>
</li>
@@ -252,8 +258,9 @@ spreadsheet.</p>
</p><div class="docstring">
<div class="discussion">
-
-<p>Creates a new CellProtection</p>
+ <p>
+Creates a new CellProtection
+</p>
</div>
@@ -274,8 +281,9 @@ spreadsheet.</p>
&mdash;
- <div class='inline'>
-<p>a customizable set of options</p>
+ <div class='inline'><p>
+a customizable set of options
+</p>
</div>
</li>
@@ -294,8 +302,9 @@ spreadsheet.</p>
<span class="default">
</span>
- &mdash; <div class='inline'>
-<p>value for hidden protection</p>
+ &mdash; <div class='inline'><p>
+value for hidden protection
+</p>
</div>
</li>
@@ -305,8 +314,9 @@ spreadsheet.</p>
<span class="default">
</span>
- &mdash; <div class='inline'>
-<p>value for locked protection</p>
+ &mdash; <div class='inline'><p>
+value for locked protection
+</p>
</div>
</li>
@@ -329,11 +339,12 @@ spreadsheet.</p>
<td>
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_protection.rb', line 18</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>
+<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>
</td>
</tr>
</table>
@@ -356,8 +367,9 @@ spreadsheet.</p>
</p><div class="docstring">
<div class="discussion">
-
-<p>specifies locking for cells that have the style containing this protection</p>
+ <p>
+specifies locking for cells that have the style containing this protection
+</p>
</div>
@@ -391,9 +403,10 @@ spreadsheet.</p>
<td>
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_protection.rb', line 9</span>
-<span class='kw'>def</span> <span class='id hidden'>hidden</span>
- <span class='ivar'>@hidden</span>
-<span class='kw'>end</span></pre>
+<span class='def def kw'>def</span> <span class='hidden identifier id'>hidden</span>
+ <span class='@hidden ivar id'>@hidden</span>
+<span class='end end kw'>end</span>
+</pre>
</td>
</tr>
</table>
@@ -411,8 +424,9 @@ spreadsheet.</p>
</p><div class="docstring">
<div class="discussion">
-
-<p>specifies if the cells that have the style containing this protection</p>
+ <p>
+specifies if the cells that have the style containing this protection
+</p>
</div>
@@ -446,9 +460,10 @@ spreadsheet.</p>
<td>
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_protection.rb', line 13</span>
-<span class='kw'>def</span> <span class='id locked'>locked</span>
- <span class='ivar'>@locked</span>
-<span class='kw'>end</span></pre>
+<span class='def def kw'>def</span> <span class='locked identifier id'>locked</span>
+ <span class='@locked ivar id'>@locked</span>
+<span class='end end kw'>end</span>
+</pre>
</td>
</tr>
</table>
@@ -470,8 +485,9 @@ spreadsheet.</p>
</p><div class="docstring">
<div class="discussion">
-
-<p>Serializes the cell protection</p>
+ <p>
+Serializes the cell protection
+</p>
</div>
@@ -490,8 +506,9 @@ spreadsheet.</p>
&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>
@@ -525,9 +542,10 @@ spreadsheet.</p>
<td>
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_protection.rb', line 32</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 protection'>protection</span><span class='lparen'>(</span><span class='kw'>self</span><span class='period'>.</span><span class='id instance_values'>instance_values</span><span class='rparen'>)</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='protection identifier id'>protection</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='rparen token'>)</span>
+<span class='end end kw'>end</span>
+</pre>
</td>
</tr>
</table>
@@ -538,9 +556,9 @@ spreadsheet.</p>
</div>
<div id="footer">
- Generated on Sat Nov 26 13:16:40 2011 by
+ Generated on Sun Nov 27 18:05:16 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>