summaryrefslogtreecommitdiffhomepage
path: root/doc/Axlsx/Relationships.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/Relationships.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/Relationships.html')
-rw-r--r--doc/Axlsx/Relationships.html60
1 files changed, 26 insertions, 34 deletions
diff --git a/doc/Axlsx/Relationships.html b/doc/Axlsx/Relationships.html
index 50312a07..f9d03c0d 100644
--- a/doc/Axlsx/Relationships.html
+++ b/doc/Axlsx/Relationships.html
@@ -99,16 +99,14 @@
<div class="note notetag">
<strong>Note:</strong>
- <div class='inline'><p>
-The package automatically manages releationships.
-</p>
+ <div class='inline'>
+<p>The package automatically manages releationships.</p>
</div>
</div>
-<p>
-Relationships are a collection of Relations that define how package parts
-are related.
-</p>
+
+<p>Relationships are a collection of Relations that define how package parts
+are related.</p>
</div>
@@ -159,9 +157,8 @@ are related.
- <span class="summary_desc"><div class='inline'><p>
-Creates a new Relationships collection based on SimpleTypedList.
-</p>
+ <span class="summary_desc"><div class='inline'>
+<p>Creates a new Relationships collection based on SimpleTypedList.</p>
</div></span>
</li>
@@ -183,9 +180,8 @@ Creates a new Relationships collection based on SimpleTypedList.
- <span class="summary_desc"><div class='inline'><p>
-Serializes the relationships document.
-</p>
+ <span class="summary_desc"><div class='inline'>
+<p>Serializes the relationships document.</p>
</div></span>
</li>
@@ -211,9 +207,8 @@ Serializes the relationships document.
</p><div class="docstring">
<div class="discussion">
- <p>
-Creates a new Relationships collection based on SimpleTypedList
-</p>
+
+<p>Creates a new Relationships collection based on SimpleTypedList</p>
</div>
@@ -234,10 +229,9 @@ Creates a new Relationships collection based on SimpleTypedList
<td>
<pre class="code"><span class="info file"># File 'lib/axlsx/rels/relationships.rb', line 9</span>
-<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span>
- <span class='super super kw'>super</span> <span class='Relationship constant id'>Relationship</span>
-<span class='end end kw'>end</span>
-</pre>
+<span class='kw'>def</span> <span class='id initialize'>initialize</span>
+ <span class='kw'>super</span> <span class='const'>Relationship</span>
+<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -269,9 +263,8 @@ Creates a new Relationships collection based on SimpleTypedList
</p><div class="docstring">
<div class="discussion">
- <p>
-Serializes the relationships document.
-</p>
+
+<p>Serializes the relationships document.</p>
</div>
@@ -310,15 +303,14 @@ Serializes the relationships document.
<td>
<pre class="code"><span class="info file"># File 'lib/axlsx/rels/relationships.rb', line 15</span>
-<span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span><span class='lparen token'>(</span><span class='rparen token'>)</span>
- <span class='builder identifier id'>builder</span> <span class='assign token'>=</span> <span class='Nokogiri constant id'>Nokogiri</span><span class='colon2 op'>::</span><span class='XML constant id'>XML</span><span class='colon2 op'>::</span><span class='Builder constant id'>Builder</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='symbol val'>:encoding</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='ENCODING constant id'>ENCODING</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='xml identifier id'>xml</span><span class='bitor op'>|</span>
- <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='Relationships constant id'>Relationships</span><span class='lparen token'>(</span><span class='symbol val'>:xmlns</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='Axlsx constant id'>Axlsx</span><span class='colon2 op'>::</span><span class='RELS_R constant id'>RELS_R</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
- <span class='each_with_index identifier id'>each_with_index</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='rel identifier id'>rel</span><span class='comma token'>,</span> <span class='index identifier id'>index</span><span class='bitor op'>|</span> <span class='rel identifier id'>rel</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='comma token'>,</span> <span class='dstring node'>&quot;rId#{index+1}&quot;</span><span class='rparen token'>)</span> <span class='rbrace token'>}</span>
- <span class='rbrace token'>}</span>
- <span class='end end kw'>end</span>
- <span class='builder identifier id'>builder</span><span class='dot token'>.</span><span class='to_xml identifier id'>to_xml</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='rparen'>)</span>
+ <span class='id builder'>builder</span> <span class='op'>=</span> <span class='const'>Nokogiri</span><span class='op'>::</span><span class='const'>XML</span><span class='op'>::</span><span class='const'>Builder</span><span class='period'>.</span><span class='id new'>new</span><span class='lparen'>(</span><span class='symbol'>:encoding</span> <span class='op'>=&gt;</span> <span class='const'>ENCODING</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id xml'>xml</span><span class='op'>|</span>
+ <span class='id xml'>xml</span><span class='period'>.</span><span class='const'>Relationships</span><span class='lparen'>(</span><span class='symbol'>:xmlns</span> <span class='op'>=&gt;</span> <span class='const'>Axlsx</span><span class='op'>::</span><span class='const'>RELS_R</span><span class='rparen'>)</span> <span class='lbrace'>{</span>
+ <span class='id each_with_index'>each_with_index</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id rel'>rel</span><span class='comma'>,</span> <span class='id index'>index</span><span class='op'>|</span> <span class='id rel'>rel</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='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>rId</span><span class='embexpr_beg'>#{</span><span class='id index'>index</span><span class='op'>+</span><span class='int'>1</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='rbrace'>}</span>
+ <span class='rbrace'>}</span>
+ <span class='kw'>end</span>
+ <span class='id builder'>builder</span><span class='period'>.</span><span class='id to_xml'>to_xml</span>
+<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -329,9 +321,9 @@ Serializes the relationships document.
</div>
<div id="footer">
- Generated on Sun Nov 27 18:05:18 2011 by
+ Generated on Sun Nov 27 20:28:14 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>