rrtf 1.0.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/CHANGELOG.md +17 -0
- data/README.md +29 -0
- data/documentation/RRTF.html +5 -5
- data/documentation/RRTF/AnonymousStyle.html +2 -2
- data/documentation/RRTF/BorderFormatting.html +48 -48
- data/documentation/RRTF/BorderStyle.html +1 -1
- data/documentation/RRTF/CharacterFormatting.html +1 -1
- data/documentation/RRTF/CharacterStyle.html +1 -1
- data/documentation/RRTF/Colour.html +1 -1
- data/documentation/RRTF/ColourTable.html +1 -1
- data/documentation/RRTF/CommandNode.html +333 -93
- data/documentation/RRTF/ContainerNode.html +1 -1
- data/documentation/RRTF/Converters.html +1 -1
- data/documentation/RRTF/Converters/HTML.html +1 -1
- data/documentation/RRTF/Converters/HTML/Helpers.html +1 -1
- data/documentation/RRTF/Converters/HTML/Node.html +1 -1
- data/documentation/RRTF/Converters/HTML/NodeSet.html +1 -1
- data/documentation/RRTF/Document.html +2 -2
- data/documentation/RRTF/DocumentFormatting.html +48 -48
- data/documentation/RRTF/DocumentProperties.html +8 -3
- data/documentation/RRTF/Font.html +1 -1
- data/documentation/RRTF/FontTable.html +1 -1
- data/documentation/RRTF/FooterNode.html +2 -2
- data/documentation/RRTF/GeometryNode.html +2 -2
- data/documentation/RRTF/GeometryProperties.html +9 -9
- data/documentation/RRTF/HeaderNode.html +2 -2
- data/documentation/RRTF/ImageNode.html +64 -61
- data/documentation/RRTF/Information.html +1 -1
- data/documentation/RRTF/LinkNode.html +2 -2
- data/documentation/RRTF/ListLevel.html +1 -1
- data/documentation/RRTF/ListLevelNode.html +2 -2
- data/documentation/RRTF/ListMarker.html +1 -1
- data/documentation/RRTF/ListNode.html +2 -2
- data/documentation/RRTF/ListTable.html +1 -1
- data/documentation/RRTF/ListTemplate.html +1 -1
- data/documentation/RRTF/ListTextNode.html +2 -2
- data/documentation/RRTF/Node.html +1 -1
- data/documentation/RRTF/Page.html +1 -1
- data/documentation/RRTF/Page/Margin.html +1 -1
- data/documentation/RRTF/Page/Size.html +1 -1
- data/documentation/RRTF/PageFormatting.html +184 -195
- data/documentation/RRTF/ParagraphFormatting.html +75 -48
- data/documentation/RRTF/ParagraphNode.html +2 -2
- data/documentation/RRTF/ParagraphStyle.html +1 -1
- data/documentation/RRTF/PositionFormatting.html +48 -48
- data/documentation/RRTF/PositionStyle.html +1 -1
- data/documentation/RRTF/Properties.html +1 -1
- data/documentation/RRTF/RTFError.html +1 -1
- data/documentation/RRTF/SectionFormatting.html +750 -0
- data/documentation/RRTF/SectionNode.html +383 -0
- data/documentation/RRTF/SectionStyle.html +830 -0
- data/documentation/RRTF/ShadingFormatting.html +48 -48
- data/documentation/RRTF/ShadingStyle.html +1 -1
- data/documentation/RRTF/Style.html +2 -2
- data/documentation/RRTF/Stylesheet.html +1 -1
- data/documentation/RRTF/TabStyle.html +698 -0
- data/documentation/RRTF/TableCellNode.html +2 -2
- data/documentation/RRTF/TableNode.html +1 -1
- data/documentation/RRTF/TableRowNode.html +1 -1
- data/documentation/RRTF/TextNode.html +1 -1
- data/documentation/RRTF/Utilities.html +1 -1
- data/documentation/_index.html +33 -5
- data/documentation/class_list.html +1 -1
- data/documentation/file.README.html +32 -1
- data/documentation/index.html +32 -1
- data/documentation/method_list.html +499 -355
- data/documentation/top-level-namespace.html +1 -1
- data/examples/08.rtf +2 -2
- data/examples/09.rtf +9 -13
- data/examples/09_shapes.rb +2 -1
- data/examples/11.rtf +19 -0
- data/examples/11_sections.rb +11 -0
- data/examples/12.rtf +19 -0
- data/examples/12_tabs.rb +21 -0
- data/lib/rrtf/formatting.rb +155 -22
- data/lib/rrtf/node.rb +1 -0
- data/lib/rrtf/node/command_node.rb +38 -4
- data/lib/rrtf/node/image_node.rb +26 -32
- data/lib/rrtf/node/section_node.rb +21 -0
- data/lib/rrtf/properties/geometry_properties.rb +4 -4
- data/lib/rrtf/style.rb +2 -0
- data/lib/rrtf/style/section_style.rb +66 -0
- data/lib/rrtf/style/tab_style.rb +55 -0
- data/lib/rrtf/version.rb +1 -1
- data/rrtf.gemspec +4 -4
- metadata +30 -20
@@ -816,7 +816,7 @@ maintained by a ContainerNode object. Nil objects are ignored.
|
|
816
816
|
</div>
|
817
817
|
|
818
818
|
<div id="footer">
|
819
|
-
Generated on
|
819
|
+
Generated on Wed Aug 2 23:05:18 2017 by
|
820
820
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
821
821
|
0.9.9 (ruby-2.3.3).
|
822
822
|
</div>
|
@@ -107,7 +107,7 @@
|
|
107
107
|
</div>
|
108
108
|
|
109
109
|
<div id="footer">
|
110
|
-
Generated on
|
110
|
+
Generated on Wed Aug 2 23:05:14 2017 by
|
111
111
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
112
112
|
0.9.9 (ruby-2.3.3).
|
113
113
|
</div>
|
@@ -327,7 +327,7 @@
|
|
327
327
|
</div>
|
328
328
|
|
329
329
|
<div id="footer">
|
330
|
-
Generated on
|
330
|
+
Generated on Wed Aug 2 23:05:17 2017 by
|
331
331
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
332
332
|
0.9.9 (ruby-2.3.3).
|
333
333
|
</div>
|
@@ -262,7 +262,7 @@
|
|
262
262
|
</div>
|
263
263
|
|
264
264
|
<div id="footer">
|
265
|
-
Generated on
|
265
|
+
Generated on Wed Aug 2 23:05:15 2017 by
|
266
266
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
267
267
|
0.9.9 (ruby-2.3.3).
|
268
268
|
</div>
|
@@ -354,7 +354,7 @@
|
|
354
354
|
</div>
|
355
355
|
|
356
356
|
<div id="footer">
|
357
|
-
Generated on
|
357
|
+
Generated on Wed Aug 2 23:05:17 2017 by
|
358
358
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
359
359
|
0.9.9 (ruby-2.3.3).
|
360
360
|
</div>
|
@@ -255,7 +255,7 @@
|
|
255
255
|
</div>
|
256
256
|
|
257
257
|
<div id="footer">
|
258
|
-
Generated on
|
258
|
+
Generated on Wed Aug 2 23:05:17 2017 by
|
259
259
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
260
260
|
0.9.9 (ruby-2.3.3).
|
261
261
|
</div>
|
@@ -911,7 +911,7 @@ class to disallow setting a parent on a Document object.
|
|
911
911
|
|
912
912
|
|
913
913
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="CommandNode.html" title="RRTF::CommandNode (class)">CommandNode</a></span></h3>
|
914
|
-
<p class="inherited"><span class='object_link'><a href="CommandNode.html#<<-instance_method" title="RRTF::CommandNode#<< (method)">#<<</a></span>, <span class='object_link'><a href="CommandNode.html#apply-instance_method" title="RRTF::CommandNode#apply (method)">#apply</a></span>, <span class='object_link'><a href="CommandNode.html#footnote-instance_method" title="RRTF::CommandNode#footnote (method)">#footnote</a></span>, <span class='object_link'><a href="CommandNode.html#geometry-instance_method" title="RRTF::CommandNode#geometry (method)">#geometry</a></span>, <span class='object_link'><a href="CommandNode.html#image-instance_method" title="RRTF::CommandNode#image (method)">#image</a></span>, <span class='object_link'><a href="CommandNode.html#line_break-instance_method" title="RRTF::CommandNode#line_break (method)">#line_break</a></span>, <span class='object_link'><a href="CommandNode.html#link-instance_method" title="RRTF::CommandNode#link (method)">#link</a></span>, <span class='object_link'><a href="CommandNode.html#list-instance_method" title="RRTF::CommandNode#list (method)">#list</a></span>, <span class='object_link'><a href="CommandNode.html#paragraph-instance_method" title="RRTF::CommandNode#paragraph (method)">#paragraph</a></span>, <span class='object_link'><a href="CommandNode.html#table-instance_method" title="RRTF::CommandNode#table (method)">#table</a></span></p>
|
914
|
+
<p class="inherited"><span class='object_link'><a href="CommandNode.html#<<-instance_method" title="RRTF::CommandNode#<< (method)">#<<</a></span>, <span class='object_link'><a href="CommandNode.html#apply-instance_method" title="RRTF::CommandNode#apply (method)">#apply</a></span>, <span class='object_link'><a href="CommandNode.html#column_break-instance_method" title="RRTF::CommandNode#column_break (method)">#column_break</a></span>, <span class='object_link'><a href="CommandNode.html#footnote-instance_method" title="RRTF::CommandNode#footnote (method)">#footnote</a></span>, <span class='object_link'><a href="CommandNode.html#geometry-instance_method" title="RRTF::CommandNode#geometry (method)">#geometry</a></span>, <span class='object_link'><a href="CommandNode.html#image-instance_method" title="RRTF::CommandNode#image (method)">#image</a></span>, <span class='object_link'><a href="CommandNode.html#line_break-instance_method" title="RRTF::CommandNode#line_break (method)">#line_break</a></span>, <span class='object_link'><a href="CommandNode.html#link-instance_method" title="RRTF::CommandNode#link (method)">#link</a></span>, <span class='object_link'><a href="CommandNode.html#list-instance_method" title="RRTF::CommandNode#list (method)">#list</a></span>, <span class='object_link'><a href="CommandNode.html#paragraph-instance_method" title="RRTF::CommandNode#paragraph (method)">#paragraph</a></span>, <span class='object_link'><a href="CommandNode.html#section-instance_method" title="RRTF::CommandNode#section (method)">#section</a></span>, <span class='object_link'><a href="CommandNode.html#tab-instance_method" title="RRTF::CommandNode#tab (method)">#tab</a></span>, <span class='object_link'><a href="CommandNode.html#table-instance_method" title="RRTF::CommandNode#table (method)">#table</a></span></p>
|
915
915
|
|
916
916
|
|
917
917
|
|
@@ -2407,7 +2407,7 @@ class to disallow setting a parent on a Document object.
|
|
2407
2407
|
</div>
|
2408
2408
|
|
2409
2409
|
<div id="footer">
|
2410
|
-
Generated on
|
2410
|
+
Generated on Wed Aug 2 23:05:16 2017 by
|
2411
2411
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2412
2412
|
0.9.9 (ruby-2.3.3).
|
2413
2413
|
</div>
|
@@ -392,17 +392,17 @@ is included in another module or class.
|
|
392
392
|
<pre class="lines">
|
393
393
|
|
394
394
|
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
395
|
+
839
|
396
|
+
840
|
397
|
+
841
|
398
|
+
842
|
399
|
+
843
|
400
|
+
844
|
401
|
+
845
|
402
|
+
846</pre>
|
403
403
|
</td>
|
404
404
|
<td>
|
405
|
-
<pre class="code"><span class="info file"># File 'lib/rrtf/formatting.rb', line
|
405
|
+
<pre class="code"><span class="info file"># File 'lib/rrtf/formatting.rb', line 839</span>
|
406
406
|
|
407
407
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_included'>included</span><span class='lparen'>(</span><span class='id identifier rubyid_base'>base</span><span class='rparen'>)</span>
|
408
408
|
<span class='comment'># define accessors in base for document attributes
|
@@ -483,22 +483,22 @@ is included in another module or class.
|
|
483
483
|
<pre class="lines">
|
484
484
|
|
485
485
|
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
486
|
+
887
|
487
|
+
888
|
488
|
+
889
|
489
|
+
890
|
490
|
+
891
|
491
|
+
892
|
492
|
+
893
|
493
|
+
894
|
494
|
+
895
|
495
|
+
896
|
496
|
+
897
|
497
|
+
898
|
498
|
+
899</pre>
|
499
499
|
</td>
|
500
500
|
<td>
|
501
|
-
<pre class="code"><span class="info file"># File 'lib/rrtf/formatting.rb', line
|
501
|
+
<pre class="code"><span class="info file"># File 'lib/rrtf/formatting.rb', line 887</span>
|
502
502
|
|
503
503
|
<span class='kw'>def</span> <span class='id identifier rubyid_document_formatting_to_rtf'>document_formatting_to_rtf</span>
|
504
504
|
<span class='id identifier rubyid_text'>text</span> <span class='op'>=</span> <span class='const'>StringIO</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
@@ -707,17 +707,17 @@ document.
|
|
707
707
|
<pre class="lines">
|
708
708
|
|
709
709
|
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
710
|
+
858
|
711
|
+
859
|
712
|
+
860
|
713
|
+
861
|
714
|
+
862
|
715
|
+
863
|
716
|
+
864
|
717
|
+
865</pre>
|
718
718
|
</td>
|
719
719
|
<td>
|
720
|
-
<pre class="code"><span class="info file"># File 'lib/rrtf/formatting.rb', line
|
720
|
+
<pre class="code"><span class="info file"># File 'lib/rrtf/formatting.rb', line 858</span>
|
721
721
|
|
722
722
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize_document_formatting'>initialize_document_formatting</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
723
723
|
<span class='comment'># load default attribute values
|
@@ -781,23 +781,23 @@ document.
|
|
781
781
|
<pre class="lines">
|
782
782
|
|
783
783
|
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
784
|
+
869
|
785
|
+
870
|
786
|
+
871
|
787
|
+
872
|
788
|
+
873
|
789
|
+
874
|
790
|
+
875
|
791
|
+
876
|
792
|
+
877
|
793
|
+
878
|
794
|
+
879
|
795
|
+
880
|
796
|
+
881
|
797
|
+
882</pre>
|
798
798
|
</td>
|
799
799
|
<td>
|
800
|
-
<pre class="code"><span class="info file"># File 'lib/rrtf/formatting.rb', line
|
800
|
+
<pre class="code"><span class="info file"># File 'lib/rrtf/formatting.rb', line 869</span>
|
801
801
|
|
802
802
|
<span class='kw'>def</span> <span class='id identifier rubyid_set_document_formatting_from_hashmap'>set_document_formatting_from_hashmap</span><span class='lparen'>(</span><span class='id identifier rubyid_hash'>hash</span><span class='rparen'>)</span>
|
803
803
|
<span class='id identifier rubyid_hash'>hash</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_attribute'>attribute</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='op'>|</span>
|
@@ -823,7 +823,7 @@ document.
|
|
823
823
|
</div>
|
824
824
|
|
825
825
|
<div id="footer">
|
826
|
-
Generated on
|
826
|
+
Generated on Wed Aug 2 23:05:15 2017 by
|
827
827
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
828
828
|
0.9.9 (ruby-2.3.3).
|
829
829
|
</div>
|
@@ -157,7 +157,7 @@ level.
|
|
157
157
|
|
158
158
|
<h3 class="inherited">Constants included
|
159
159
|
from <span class='object_link'><a href="PageFormatting.html" title="RRTF::PageFormatting (module)">PageFormatting</a></span></h3>
|
160
|
-
<p class="inherited"><span class='object_link'><a href="PageFormatting.html#PAGE_ATTRIBUTES-constant" title="RRTF::PageFormatting::PAGE_ATTRIBUTES (constant)">PageFormatting::PAGE_ATTRIBUTES</a></span></p>
|
160
|
+
<p class="inherited"><span class='object_link'><a href="PageFormatting.html#PAGE_ATTRIBUTES-constant" title="RRTF::PageFormatting::PAGE_ATTRIBUTES (constant)">PageFormatting::PAGE_ATTRIBUTES</a></span>, <span class='object_link'><a href="PageFormatting.html#PAGE_FORMATTING_TARGET_DICTIONARY-constant" title="RRTF::PageFormatting::PAGE_FORMATTING_TARGET_DICTIONARY (constant)">PageFormatting::PAGE_FORMATTING_TARGET_DICTIONARY</a></span></p>
|
161
161
|
|
162
162
|
|
163
163
|
|
@@ -168,6 +168,11 @@ level.
|
|
168
168
|
|
169
169
|
|
170
170
|
|
171
|
+
<h2>Instance Attribute Summary</h2>
|
172
|
+
|
173
|
+
<h3 class="inherited">Attributes included from <span class='object_link'><a href="PageFormatting.html" title="RRTF::PageFormatting (module)">PageFormatting</a></span></h3>
|
174
|
+
<p class="inherited"><span class='object_link'><a href="PageFormatting.html#target-instance_method" title="RRTF::PageFormatting#target (method)">#target</a></span></p>
|
175
|
+
|
171
176
|
|
172
177
|
|
173
178
|
<h2>
|
@@ -240,7 +245,7 @@ level.
|
|
240
245
|
|
241
246
|
|
242
247
|
<h3 class="inherited">Methods included from <span class='object_link'><a href="PageFormatting.html" title="RRTF::PageFormatting (module)">PageFormatting</a></span></h3>
|
243
|
-
<p class="inherited"><span class='object_link'><a href="PageFormatting.html#
|
248
|
+
<p class="inherited"><span class='object_link'><a href="PageFormatting.html#included-class_method" title="RRTF::PageFormatting.included (method)">included</a></span>, <span class='object_link'><a href="PageFormatting.html#initialize_page_formatting-instance_method" title="RRTF::PageFormatting#initialize_page_formatting (method)">#initialize_page_formatting</a></span>, <span class='object_link'><a href="PageFormatting.html#page_formatting_to_rtf-instance_method" title="RRTF::PageFormatting#page_formatting_to_rtf (method)">#page_formatting_to_rtf</a></span>, <span class='object_link'><a href="PageFormatting.html#set_page_formatting_from_hashmap-instance_method" title="RRTF::PageFormatting#set_page_formatting_from_hashmap (method)">#set_page_formatting_from_hashmap</a></span></p>
|
244
249
|
|
245
250
|
|
246
251
|
|
@@ -434,7 +439,7 @@ level.
|
|
434
439
|
</div>
|
435
440
|
|
436
441
|
<div id="footer">
|
437
|
-
Generated on
|
442
|
+
Generated on Wed Aug 2 23:05:19 2017 by
|
438
443
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
439
444
|
0.9.9 (ruby-2.3.3).
|
440
445
|
</div>
|
@@ -780,7 +780,7 @@ Defaults to zero.
|
|
780
780
|
</div>
|
781
781
|
|
782
782
|
<div id="footer">
|
783
|
-
Generated on
|
783
|
+
Generated on Wed Aug 2 23:05:15 2017 by
|
784
784
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
785
785
|
0.9.9 (ruby-2.3.3).
|
786
786
|
</div>
|
@@ -753,7 +753,7 @@ Defaults to zero.
|
|
753
753
|
</div>
|
754
754
|
|
755
755
|
<div id="footer">
|
756
|
-
Generated on
|
756
|
+
Generated on Wed Aug 2 23:05:15 2017 by
|
757
757
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
758
758
|
0.9.9 (ruby-2.3.3).
|
759
759
|
</div>
|
@@ -311,7 +311,7 @@ class to prevent footnotes being added to footers.
|
|
311
311
|
|
312
312
|
|
313
313
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="CommandNode.html" title="RRTF::CommandNode (class)">CommandNode</a></span></h3>
|
314
|
-
<p class="inherited"><span class='object_link'><a href="CommandNode.html#<<-instance_method" title="RRTF::CommandNode#<< (method)">#<<</a></span>, <span class='object_link'><a href="CommandNode.html#apply-instance_method" title="RRTF::CommandNode#apply (method)">#apply</a></span>, <span class='object_link'><a href="CommandNode.html#geometry-instance_method" title="RRTF::CommandNode#geometry (method)">#geometry</a></span>, <span class='object_link'><a href="CommandNode.html#image-instance_method" title="RRTF::CommandNode#image (method)">#image</a></span>, <span class='object_link'><a href="CommandNode.html#line_break-instance_method" title="RRTF::CommandNode#line_break (method)">#line_break</a></span>, <span class='object_link'><a href="CommandNode.html#link-instance_method" title="RRTF::CommandNode#link (method)">#link</a></span>, <span class='object_link'><a href="CommandNode.html#list-instance_method" title="RRTF::CommandNode#list (method)">#list</a></span>, <span class='object_link'><a href="CommandNode.html#paragraph-instance_method" title="RRTF::CommandNode#paragraph (method)">#paragraph</a></span>, <span class='object_link'><a href="CommandNode.html#table-instance_method" title="RRTF::CommandNode#table (method)">#table</a></span>, <span class='object_link'><a href="CommandNode.html#to_rtf-instance_method" title="RRTF::CommandNode#to_rtf (method)">#to_rtf</a></span></p>
|
314
|
+
<p class="inherited"><span class='object_link'><a href="CommandNode.html#<<-instance_method" title="RRTF::CommandNode#<< (method)">#<<</a></span>, <span class='object_link'><a href="CommandNode.html#apply-instance_method" title="RRTF::CommandNode#apply (method)">#apply</a></span>, <span class='object_link'><a href="CommandNode.html#column_break-instance_method" title="RRTF::CommandNode#column_break (method)">#column_break</a></span>, <span class='object_link'><a href="CommandNode.html#geometry-instance_method" title="RRTF::CommandNode#geometry (method)">#geometry</a></span>, <span class='object_link'><a href="CommandNode.html#image-instance_method" title="RRTF::CommandNode#image (method)">#image</a></span>, <span class='object_link'><a href="CommandNode.html#line_break-instance_method" title="RRTF::CommandNode#line_break (method)">#line_break</a></span>, <span class='object_link'><a href="CommandNode.html#link-instance_method" title="RRTF::CommandNode#link (method)">#link</a></span>, <span class='object_link'><a href="CommandNode.html#list-instance_method" title="RRTF::CommandNode#list (method)">#list</a></span>, <span class='object_link'><a href="CommandNode.html#paragraph-instance_method" title="RRTF::CommandNode#paragraph (method)">#paragraph</a></span>, <span class='object_link'><a href="CommandNode.html#section-instance_method" title="RRTF::CommandNode#section (method)">#section</a></span>, <span class='object_link'><a href="CommandNode.html#tab-instance_method" title="RRTF::CommandNode#tab (method)">#tab</a></span>, <span class='object_link'><a href="CommandNode.html#table-instance_method" title="RRTF::CommandNode#table (method)">#table</a></span>, <span class='object_link'><a href="CommandNode.html#to_rtf-instance_method" title="RRTF::CommandNode#to_rtf (method)">#to_rtf</a></span></p>
|
315
315
|
|
316
316
|
|
317
317
|
|
@@ -505,7 +505,7 @@ class to prevent footnotes being added to footers.
|
|
505
505
|
</div>
|
506
506
|
|
507
507
|
<div id="footer">
|
508
|
-
Generated on
|
508
|
+
Generated on Wed Aug 2 23:05:17 2017 by
|
509
509
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
510
510
|
0.9.9 (ruby-2.3.3).
|
511
511
|
</div>
|
@@ -322,7 +322,7 @@ from being nested in other geometry objects.
|
|
322
322
|
|
323
323
|
|
324
324
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="CommandNode.html" title="RRTF::CommandNode (class)">CommandNode</a></span></h3>
|
325
|
-
<p class="inherited"><span class='object_link'><a href="CommandNode.html#apply-instance_method" title="RRTF::CommandNode#apply (method)">#apply</a></span>, <span class='object_link'><a href="CommandNode.html#footnote-instance_method" title="RRTF::CommandNode#footnote (method)">#footnote</a></span>, <span class='object_link'><a href="CommandNode.html#image-instance_method" title="RRTF::CommandNode#image (method)">#image</a></span>, <span class='object_link'><a href="CommandNode.html#line_break-instance_method" title="RRTF::CommandNode#line_break (method)">#line_break</a></span>, <span class='object_link'><a href="CommandNode.html#link-instance_method" title="RRTF::CommandNode#link (method)">#link</a></span>, <span class='object_link'><a href="CommandNode.html#list-instance_method" title="RRTF::CommandNode#list (method)">#list</a></span>, <span class='object_link'><a href="CommandNode.html#paragraph-instance_method" title="RRTF::CommandNode#paragraph (method)">#paragraph</a></span>, <span class='object_link'><a href="CommandNode.html#table-instance_method" title="RRTF::CommandNode#table (method)">#table</a></span></p>
|
325
|
+
<p class="inherited"><span class='object_link'><a href="CommandNode.html#apply-instance_method" title="RRTF::CommandNode#apply (method)">#apply</a></span>, <span class='object_link'><a href="CommandNode.html#column_break-instance_method" title="RRTF::CommandNode#column_break (method)">#column_break</a></span>, <span class='object_link'><a href="CommandNode.html#footnote-instance_method" title="RRTF::CommandNode#footnote (method)">#footnote</a></span>, <span class='object_link'><a href="CommandNode.html#image-instance_method" title="RRTF::CommandNode#image (method)">#image</a></span>, <span class='object_link'><a href="CommandNode.html#line_break-instance_method" title="RRTF::CommandNode#line_break (method)">#line_break</a></span>, <span class='object_link'><a href="CommandNode.html#link-instance_method" title="RRTF::CommandNode#link (method)">#link</a></span>, <span class='object_link'><a href="CommandNode.html#list-instance_method" title="RRTF::CommandNode#list (method)">#list</a></span>, <span class='object_link'><a href="CommandNode.html#paragraph-instance_method" title="RRTF::CommandNode#paragraph (method)">#paragraph</a></span>, <span class='object_link'><a href="CommandNode.html#section-instance_method" title="RRTF::CommandNode#section (method)">#section</a></span>, <span class='object_link'><a href="CommandNode.html#tab-instance_method" title="RRTF::CommandNode#tab (method)">#tab</a></span>, <span class='object_link'><a href="CommandNode.html#table-instance_method" title="RRTF::CommandNode#table (method)">#table</a></span></p>
|
326
326
|
|
327
327
|
|
328
328
|
|
@@ -764,7 +764,7 @@ from being nested in other geometry objects.
|
|
764
764
|
</div>
|
765
765
|
|
766
766
|
<div id="footer">
|
767
|
-
Generated on
|
767
|
+
Generated on Wed Aug 2 23:05:18 2017 by
|
768
768
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
769
769
|
0.9.9 (ruby-2.3.3).
|
770
770
|
</div>
|
@@ -779,7 +779,7 @@ segments of the same type that appear in series are repeated).
|
|
779
779
|
<span class='ivar'>@flip_vertical</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Utilities.html" title="RRTF::Utilities (class)">Utilities</a></span></span><span class='period'>.</span><span class='id identifier rubyid_value2geombool'><span class='object_link'><a href="Utilities.html#value2geombool-class_method" title="RRTF::Utilities.value2geombool (method)">value2geombool</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>flip_vertical</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
|
780
780
|
<span class='ivar'>@path</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>path</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
781
781
|
<span class='ivar'>@path_coordinate_origin</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>path_coordinate_origin</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='op'>||</span> <span class='lbracket'>[</span><span class='int'>0</span><span class='comma'>,</span> <span class='int'>0</span><span class='rbracket'>]</span>
|
782
|
-
<span class='ivar'>@path_coordinate_limits</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>path_coordinate_limits</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='op'>||</span> <span class='lbracket'>[</span><span class='int'>
|
782
|
+
<span class='ivar'>@path_coordinate_limits</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>path_coordinate_limits</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='op'>||</span> <span class='lbracket'>[</span><span class='int'>21600</span><span class='comma'>,</span> <span class='int'>21600</span><span class='rbracket'>]</span>
|
783
783
|
|
784
784
|
<span class='id identifier rubyid_parse_dimensions!'>parse_dimensions!</span>
|
785
785
|
<span class='id identifier rubyid_parse_color!'>parse_color!</span> <span class='symbol'>:fill_color</span><span class='comma'>,</span> <span class='symbol'>:line_color</span>
|
@@ -981,13 +981,13 @@ segments of the same type that appear in series are repeated).
|
|
981
981
|
<span class='id identifier rubyid_rtf'>rtf</span> <span class='op'><<</span> <span class='id identifier rubyid_build_property'>build_property</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>fFitTextToShape</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='ivar'>@fit_text_to_shape</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@fit_text_to_shape</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
982
982
|
<span class='id identifier rubyid_rtf'>rtf</span> <span class='op'><<</span> <span class='id identifier rubyid_build_property'>build_property</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>fFlipH</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='ivar'>@flip_horizontal</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@flip_horizontal</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
983
983
|
<span class='id identifier rubyid_rtf'>rtf</span> <span class='op'><<</span> <span class='id identifier rubyid_build_property'>build_property</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>fFlipV</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='ivar'>@flip_vertical</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@flip_vertical</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
984
|
-
<span class='id identifier rubyid_rtf'>rtf</span> <span class='op'><<</span> <span class='id identifier rubyid_build_property'>build_property</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>geoLeft</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='ivar'>@path_coordinate_origin</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@path_coordinate_origin</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
985
|
-
<span class='id identifier rubyid_rtf'>rtf</span> <span class='op'><<</span> <span class='id identifier rubyid_build_property'>build_property</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>geoTop</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='ivar'>@path_coordinate_origin</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@path_coordinate_origin</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
986
|
-
<span class='id identifier rubyid_rtf'>rtf</span> <span class='op'><<</span> <span class='id identifier rubyid_build_property'>build_property</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>geoRight</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='ivar'>@path_coordinate_limits</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@path_coordinate_limits</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
987
|
-
<span class='id identifier rubyid_rtf'>rtf</span> <span class='op'><<</span> <span class='id identifier rubyid_build_property'>build_property</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>geoBottom</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='ivar'>@path_coordinate_limits</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@path_coordinate_limits</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
988
|
-
<span class='id identifier rubyid_rtf'>rtf</span> <span class='op'><<</span> <span class='id identifier rubyid_build_property'>build_property</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>pVerticies</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='ivar'>@path_verticies</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@path_verticies</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
989
|
-
<span class='id identifier rubyid_rtf'>rtf</span> <span class='op'><<</span> <span class='id identifier rubyid_build_property'>build_property</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>pSegmentInfo</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='ivar'>@path_segment_info</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@path_segment_info</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
990
|
-
<span class='id identifier rubyid_rtf'>rtf</span> <span class='op'><<</span> <span class='id identifier rubyid_build_property'>build_property</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>pConnectionSites</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='ivar'>@path_connection_sites</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@path_connection_sites</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
984
|
+
<span class='id identifier rubyid_rtf'>rtf</span> <span class='op'><<</span> <span class='id identifier rubyid_build_property'>build_property</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>geoLeft</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='ivar'>@path_coordinate_origin</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@path</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>||</span> <span class='ivar'>@path_coordinate_origin</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
985
|
+
<span class='id identifier rubyid_rtf'>rtf</span> <span class='op'><<</span> <span class='id identifier rubyid_build_property'>build_property</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>geoTop</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='ivar'>@path_coordinate_origin</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@path</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>||</span> <span class='ivar'>@path_coordinate_origin</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
986
|
+
<span class='id identifier rubyid_rtf'>rtf</span> <span class='op'><<</span> <span class='id identifier rubyid_build_property'>build_property</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>geoRight</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='ivar'>@path_coordinate_limits</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@path</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>||</span> <span class='ivar'>@path_coordinate_limits</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
987
|
+
<span class='id identifier rubyid_rtf'>rtf</span> <span class='op'><<</span> <span class='id identifier rubyid_build_property'>build_property</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>geoBottom</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='ivar'>@path_coordinate_limits</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@path</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>||</span> <span class='ivar'>@path_coordinate_limits</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
988
|
+
<span class='id identifier rubyid_rtf'>rtf</span> <span class='op'><<</span> <span class='id identifier rubyid_build_property'>build_property</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>pVerticies</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='ivar'>@path_verticies</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@path</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>||</span> <span class='ivar'>@path_verticies</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
989
|
+
<span class='id identifier rubyid_rtf'>rtf</span> <span class='op'><<</span> <span class='id identifier rubyid_build_property'>build_property</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>pSegmentInfo</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='ivar'>@path_segment_info</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@path</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>||</span> <span class='ivar'>@path_segment_info</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
990
|
+
<span class='id identifier rubyid_rtf'>rtf</span> <span class='op'><<</span> <span class='id identifier rubyid_build_property'>build_property</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>pConnectionSites</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='ivar'>@path_connection_sites</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@path</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>||</span> <span class='ivar'>@path_connection_sites</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
991
991
|
<span class='id identifier rubyid_rtf'>rtf</span> <span class='op'><<</span> <span class='id identifier rubyid_build_property'>build_property</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>fLineOK</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='int'>1</span><span class='rparen'>)</span>
|
992
992
|
<span class='id identifier rubyid_rtf'>rtf</span> <span class='op'><<</span> <span class='id identifier rubyid_build_property'>build_property</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>fFillOK</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='int'>1</span><span class='rparen'>)</span>
|
993
993
|
<span class='id identifier rubyid_rtf'>rtf</span> <span class='op'><<</span> <span class='id identifier rubyid_build_property'>build_property</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>f3DOK</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='int'>1</span><span class='rparen'>)</span>
|
@@ -1004,7 +1004,7 @@ segments of the same type that appear in series are repeated).
|
|
1004
1004
|
</div>
|
1005
1005
|
|
1006
1006
|
<div id="footer">
|
1007
|
-
Generated on
|
1007
|
+
Generated on Wed Aug 2 23:05:19 2017 by
|
1008
1008
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1009
1009
|
0.9.9 (ruby-2.3.3).
|
1010
1010
|
</div>
|
@@ -311,7 +311,7 @@ class to prevent footnotes being added to headers.
|
|
311
311
|
|
312
312
|
|
313
313
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="CommandNode.html" title="RRTF::CommandNode (class)">CommandNode</a></span></h3>
|
314
|
-
<p class="inherited"><span class='object_link'><a href="CommandNode.html#<<-instance_method" title="RRTF::CommandNode#<< (method)">#<<</a></span>, <span class='object_link'><a href="CommandNode.html#apply-instance_method" title="RRTF::CommandNode#apply (method)">#apply</a></span>, <span class='object_link'><a href="CommandNode.html#geometry-instance_method" title="RRTF::CommandNode#geometry (method)">#geometry</a></span>, <span class='object_link'><a href="CommandNode.html#image-instance_method" title="RRTF::CommandNode#image (method)">#image</a></span>, <span class='object_link'><a href="CommandNode.html#line_break-instance_method" title="RRTF::CommandNode#line_break (method)">#line_break</a></span>, <span class='object_link'><a href="CommandNode.html#link-instance_method" title="RRTF::CommandNode#link (method)">#link</a></span>, <span class='object_link'><a href="CommandNode.html#list-instance_method" title="RRTF::CommandNode#list (method)">#list</a></span>, <span class='object_link'><a href="CommandNode.html#paragraph-instance_method" title="RRTF::CommandNode#paragraph (method)">#paragraph</a></span>, <span class='object_link'><a href="CommandNode.html#table-instance_method" title="RRTF::CommandNode#table (method)">#table</a></span>, <span class='object_link'><a href="CommandNode.html#to_rtf-instance_method" title="RRTF::CommandNode#to_rtf (method)">#to_rtf</a></span></p>
|
314
|
+
<p class="inherited"><span class='object_link'><a href="CommandNode.html#<<-instance_method" title="RRTF::CommandNode#<< (method)">#<<</a></span>, <span class='object_link'><a href="CommandNode.html#apply-instance_method" title="RRTF::CommandNode#apply (method)">#apply</a></span>, <span class='object_link'><a href="CommandNode.html#column_break-instance_method" title="RRTF::CommandNode#column_break (method)">#column_break</a></span>, <span class='object_link'><a href="CommandNode.html#geometry-instance_method" title="RRTF::CommandNode#geometry (method)">#geometry</a></span>, <span class='object_link'><a href="CommandNode.html#image-instance_method" title="RRTF::CommandNode#image (method)">#image</a></span>, <span class='object_link'><a href="CommandNode.html#line_break-instance_method" title="RRTF::CommandNode#line_break (method)">#line_break</a></span>, <span class='object_link'><a href="CommandNode.html#link-instance_method" title="RRTF::CommandNode#link (method)">#link</a></span>, <span class='object_link'><a href="CommandNode.html#list-instance_method" title="RRTF::CommandNode#list (method)">#list</a></span>, <span class='object_link'><a href="CommandNode.html#paragraph-instance_method" title="RRTF::CommandNode#paragraph (method)">#paragraph</a></span>, <span class='object_link'><a href="CommandNode.html#section-instance_method" title="RRTF::CommandNode#section (method)">#section</a></span>, <span class='object_link'><a href="CommandNode.html#tab-instance_method" title="RRTF::CommandNode#tab (method)">#tab</a></span>, <span class='object_link'><a href="CommandNode.html#table-instance_method" title="RRTF::CommandNode#table (method)">#table</a></span>, <span class='object_link'><a href="CommandNode.html#to_rtf-instance_method" title="RRTF::CommandNode#to_rtf (method)">#to_rtf</a></span></p>
|
315
315
|
|
316
316
|
|
317
317
|
|
@@ -505,7 +505,7 @@ class to prevent footnotes being added to headers.
|
|
505
505
|
</div>
|
506
506
|
|
507
507
|
<div id="footer">
|
508
|
-
Generated on
|
508
|
+
Generated on Wed Aug 2 23:05:17 2017 by
|
509
509
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
510
510
|
0.9.9 (ruby-2.3.3).
|
511
511
|
</div>
|
@@ -616,7 +616,8 @@ FastImage.
|
|
616
616
|
|
617
617
|
—
|
618
618
|
<div class='inline'>
|
619
|
-
<p>a reference to the image source; this must be a String or a
|
619
|
+
<p>a reference to the image source; this must be a String, String URL, or a
|
620
|
+
File.</p>
|
620
621
|
</div>
|
621
622
|
|
622
623
|
</li>
|
@@ -765,7 +766,6 @@ parameter or if the specified source does not exist or cannot be accessed.
|
|
765
766
|
<pre class="lines">
|
766
767
|
|
767
768
|
|
768
|
-
73
|
769
769
|
74
|
770
770
|
75
|
771
771
|
76
|
@@ -809,14 +809,18 @@ parameter or if the specified source does not exist or cannot be accessed.
|
|
809
809
|
114
|
810
810
|
115
|
811
811
|
116
|
812
|
-
117
|
812
|
+
117
|
813
|
+
118
|
814
|
+
119
|
815
|
+
120
|
816
|
+
121</pre>
|
813
817
|
</td>
|
814
818
|
<td>
|
815
|
-
<pre class="code"><span class="info file"># File 'lib/rrtf/node/image_node.rb', line
|
819
|
+
<pre class="code"><span class="info file"># File 'lib/rrtf/node/image_node.rb', line 74</span>
|
816
820
|
|
817
821
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_parent'>parent</span><span class='comma'>,</span> <span class='id identifier rubyid_source'>source</span><span class='comma'>,</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
818
822
|
<span class='kw'>super</span><span class='lparen'>(</span><span class='id identifier rubyid_parent'>parent</span><span class='rparen'>)</span>
|
819
|
-
<span class='ivar'>@source</span> <span class='op'>=</span> <span class='
|
823
|
+
<span class='ivar'>@source</span> <span class='op'>=</span> <span class='id identifier rubyid_source'>source</span>
|
820
824
|
<span class='ivar'>@id</span> <span class='op'>=</span> <span class='id identifier rubyid_id'>id</span>
|
821
825
|
|
822
826
|
<span class='comment'># load default options
|
@@ -839,16 +843,19 @@ parameter or if the specified source does not exist or cannot be accessed.
|
|
839
843
|
<span class='kw'>end</span>
|
840
844
|
|
841
845
|
<span class='comment'># Store path to image.
|
842
|
-
</span> <span class='
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
<span class='kw'>
|
846
|
+
</span> <span class='kw'>if</span> <span class='ivar'>@source</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>String</span><span class='rparen'>)</span>
|
847
|
+
<span class='kw'>begin</span>
|
848
|
+
<span class='ivar'>@source</span> <span class='op'>=</span> <span class='id identifier rubyid_open'>open</span><span class='lparen'>(</span><span class='ivar'>@source</span><span class='rparen'>)</span>
|
849
|
+
<span class='kw'>rescue</span> <span class='const'>OpenURI</span><span class='op'>::</span><span class='const'>HTTPError</span> <span class='op'>=></span> <span class='id identifier rubyid_error'>error</span>
|
850
|
+
<span class='id identifier rubyid_response'>response</span> <span class='op'>=</span> <span class='id identifier rubyid_error'>error</span><span class='period'>.</span><span class='id identifier rubyid_io'>io</span>
|
851
|
+
<span class='const'><span class='object_link'><a href="RTFError.html" title="RRTF::RTFError (class)">RTFError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_fire'><span class='object_link'><a href="RTFError.html#fire-class_method" title="RRTF::RTFError.fire (method)">fire</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Could not open '</span><span class='embexpr_beg'>#{</span><span class='ivar'>@source</span><span class='embexpr_end'>}</span><span class='tstring_content'>'. Server responded with </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_status'>status</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>,</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_content'>.</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
852
|
+
<span class='kw'>rescue</span> <span class='const'>Exception</span> <span class='op'>=></span> <span class='id identifier rubyid_error'>error</span>
|
853
|
+
<span class='const'><span class='object_link'><a href="RTFError.html" title="RRTF::RTFError (class)">RTFError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_fire'><span class='object_link'><a href="RTFError.html#fire-class_method" title="RRTF::RTFError.fire (method)">fire</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Could not open '</span><span class='embexpr_beg'>#{</span><span class='ivar'>@source</span><span class='embexpr_end'>}</span><span class='tstring_content'>'. </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_error'>error</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span><span class='embexpr_end'>}</span><span class='tstring_content'>.</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
854
|
+
<span class='kw'>end</span> <span class='comment'># rescue block
|
855
|
+
</span> <span class='kw'>elsif</span> <span class='op'>!</span><span class='ivar'>@source</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='symbol'>:each_byte</span><span class='rparen'>)</span>
|
856
|
+
<span class='const'><span class='object_link'><a href="RTFError.html" title="RRTF::RTFError (class)">RTFError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_fire'><span class='object_link'><a href="RTFError.html#fire-class_method" title="RRTF::RTFError.fire (method)">fire</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>A string or object that responds to :each_byte must be supplied - '</span><span class='embexpr_beg'>#{</span><span class='ivar'>@source</span><span class='embexpr_end'>}</span><span class='tstring_content'>' given.</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
857
|
+
<span class='kw'>end</span> <span class='comment'># unless
|
858
|
+
</span>
|
852
859
|
<span class='comment'># Attempt to determine image type and dimensions.
|
853
860
|
</span> <span class='ivar'>@type</span><span class='comma'>,</span> <span class='ivar'>@width</span><span class='comma'>,</span> <span class='ivar'>@height</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='lparen'>(</span><span class='ivar'>@source</span><span class='rparen'>)</span>
|
854
861
|
<span class='kw'>if</span> <span class='ivar'>@type</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
@@ -911,12 +918,12 @@ parameter or if the specified source does not exist or cannot be accessed.
|
|
911
918
|
<pre class="lines">
|
912
919
|
|
913
920
|
|
914
|
-
27
|
915
921
|
28
|
916
|
-
29
|
922
|
+
29
|
923
|
+
30</pre>
|
917
924
|
</td>
|
918
925
|
<td>
|
919
|
-
<pre class="code"><span class="info file"># File 'lib/rrtf/node/image_node.rb', line
|
926
|
+
<pre class="code"><span class="info file"># File 'lib/rrtf/node/image_node.rb', line 28</span>
|
920
927
|
|
921
928
|
<span class='kw'>def</span> <span class='id identifier rubyid_border'>border</span>
|
922
929
|
<span class='ivar'>@border</span>
|
@@ -968,12 +975,12 @@ parameter or if the specified source does not exist or cannot be accessed.
|
|
968
975
|
<pre class="lines">
|
969
976
|
|
970
977
|
|
971
|
-
27
|
972
978
|
28
|
973
|
-
29
|
979
|
+
29
|
980
|
+
30</pre>
|
974
981
|
</td>
|
975
982
|
<td>
|
976
|
-
<pre class="code"><span class="info file"># File 'lib/rrtf/node/image_node.rb', line
|
983
|
+
<pre class="code"><span class="info file"># File 'lib/rrtf/node/image_node.rb', line 28</span>
|
977
984
|
|
978
985
|
<span class='kw'>def</span> <span class='id identifier rubyid_displayed_height'>displayed_height</span>
|
979
986
|
<span class='ivar'>@displayed_height</span>
|
@@ -1025,12 +1032,12 @@ parameter or if the specified source does not exist or cannot be accessed.
|
|
1025
1032
|
<pre class="lines">
|
1026
1033
|
|
1027
1034
|
|
1028
|
-
27
|
1029
1035
|
28
|
1030
|
-
29
|
1036
|
+
29
|
1037
|
+
30</pre>
|
1031
1038
|
</td>
|
1032
1039
|
<td>
|
1033
|
-
<pre class="code"><span class="info file"># File 'lib/rrtf/node/image_node.rb', line
|
1040
|
+
<pre class="code"><span class="info file"># File 'lib/rrtf/node/image_node.rb', line 28</span>
|
1034
1041
|
|
1035
1042
|
<span class='kw'>def</span> <span class='id identifier rubyid_displayed_width'>displayed_width</span>
|
1036
1043
|
<span class='ivar'>@displayed_width</span>
|
@@ -1082,12 +1089,12 @@ parameter or if the specified source does not exist or cannot be accessed.
|
|
1082
1089
|
<pre class="lines">
|
1083
1090
|
|
1084
1091
|
|
1085
|
-
27
|
1086
1092
|
28
|
1087
|
-
29
|
1093
|
+
29
|
1094
|
+
30</pre>
|
1088
1095
|
</td>
|
1089
1096
|
<td>
|
1090
|
-
<pre class="code"><span class="info file"># File 'lib/rrtf/node/image_node.rb', line
|
1097
|
+
<pre class="code"><span class="info file"># File 'lib/rrtf/node/image_node.rb', line 28</span>
|
1091
1098
|
|
1092
1099
|
<span class='kw'>def</span> <span class='id identifier rubyid_height'>height</span>
|
1093
1100
|
<span class='ivar'>@height</span>
|
@@ -1139,12 +1146,12 @@ parameter or if the specified source does not exist or cannot be accessed.
|
|
1139
1146
|
<pre class="lines">
|
1140
1147
|
|
1141
1148
|
|
1142
|
-
27
|
1143
1149
|
28
|
1144
|
-
29
|
1150
|
+
29
|
1151
|
+
30</pre>
|
1145
1152
|
</td>
|
1146
1153
|
<td>
|
1147
|
-
<pre class="code"><span class="info file"># File 'lib/rrtf/node/image_node.rb', line
|
1154
|
+
<pre class="code"><span class="info file"># File 'lib/rrtf/node/image_node.rb', line 28</span>
|
1148
1155
|
|
1149
1156
|
<span class='kw'>def</span> <span class='id identifier rubyid_sizing_mode'>sizing_mode</span>
|
1150
1157
|
<span class='ivar'>@sizing_mode</span>
|
@@ -1196,12 +1203,12 @@ parameter or if the specified source does not exist or cannot be accessed.
|
|
1196
1203
|
<pre class="lines">
|
1197
1204
|
|
1198
1205
|
|
1199
|
-
27
|
1200
1206
|
28
|
1201
|
-
29
|
1207
|
+
29
|
1208
|
+
30</pre>
|
1202
1209
|
</td>
|
1203
1210
|
<td>
|
1204
|
-
<pre class="code"><span class="info file"># File 'lib/rrtf/node/image_node.rb', line
|
1211
|
+
<pre class="code"><span class="info file"># File 'lib/rrtf/node/image_node.rb', line 28</span>
|
1205
1212
|
|
1206
1213
|
<span class='kw'>def</span> <span class='id identifier rubyid_type'>type</span>
|
1207
1214
|
<span class='ivar'>@type</span>
|
@@ -1253,12 +1260,12 @@ parameter or if the specified source does not exist or cannot be accessed.
|
|
1253
1260
|
<pre class="lines">
|
1254
1261
|
|
1255
1262
|
|
1256
|
-
27
|
1257
1263
|
28
|
1258
|
-
29
|
1264
|
+
29
|
1265
|
+
30</pre>
|
1259
1266
|
</td>
|
1260
1267
|
<td>
|
1261
|
-
<pre class="code"><span class="info file"># File 'lib/rrtf/node/image_node.rb', line
|
1268
|
+
<pre class="code"><span class="info file"># File 'lib/rrtf/node/image_node.rb', line 28</span>
|
1262
1269
|
|
1263
1270
|
<span class='kw'>def</span> <span class='id identifier rubyid_width'>width</span>
|
1264
1271
|
<span class='ivar'>@width</span>
|
@@ -1357,17 +1364,17 @@ FastImage.
|
|
1357
1364
|
<pre class="lines">
|
1358
1365
|
|
1359
1366
|
|
1360
|
-
36
|
1361
1367
|
37
|
1362
1368
|
38
|
1363
1369
|
39
|
1364
1370
|
40
|
1365
1371
|
41
|
1366
1372
|
42
|
1367
|
-
43
|
1373
|
+
43
|
1374
|
+
44</pre>
|
1368
1375
|
</td>
|
1369
1376
|
<td>
|
1370
|
-
<pre class="code"><span class="info file"># File 'lib/rrtf/node/image_node.rb', line
|
1377
|
+
<pre class="code"><span class="info file"># File 'lib/rrtf/node/image_node.rb', line 37</span>
|
1371
1378
|
|
1372
1379
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='lparen'>(</span><span class='id identifier rubyid_source'>source</span><span class='rparen'>)</span>
|
1373
1380
|
<span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_width'>width</span><span class='comma'>,</span> <span class='id identifier rubyid_height'>height</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
@@ -1424,7 +1431,6 @@ FastImage.
|
|
1424
1431
|
<pre class="lines">
|
1425
1432
|
|
1426
1433
|
|
1427
|
-
45
|
1428
1434
|
46
|
1429
1435
|
47
|
1430
1436
|
48
|
@@ -1437,10 +1443,11 @@ FastImage.
|
|
1437
1443
|
55
|
1438
1444
|
56
|
1439
1445
|
57
|
1440
|
-
58
|
1446
|
+
58
|
1447
|
+
59</pre>
|
1441
1448
|
</td>
|
1442
1449
|
<td>
|
1443
|
-
<pre class="code"><span class="info file"># File 'lib/rrtf/node/image_node.rb', line
|
1450
|
+
<pre class="code"><span class="info file"># File 'lib/rrtf/node/image_node.rb', line 46</span>
|
1444
1451
|
|
1445
1452
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_parse_border_array'>parse_border_array</span><span class='lparen'>(</span><span class='id identifier rubyid_border'>border</span><span class='rparen'>)</span>
|
1446
1453
|
<span class='kw'>case</span> <span class='id identifier rubyid_border'>border</span>
|
@@ -1509,10 +1516,6 @@ FastImage.
|
|
1509
1516
|
<pre class="lines">
|
1510
1517
|
|
1511
1518
|
|
1512
|
-
120
|
1513
|
-
121
|
1514
|
-
122
|
1515
|
-
123
|
1516
1519
|
124
|
1517
1520
|
125
|
1518
1521
|
126
|
@@ -1535,10 +1538,12 @@ FastImage.
|
|
1535
1538
|
143
|
1536
1539
|
144
|
1537
1540
|
145
|
1538
|
-
146
|
1541
|
+
146
|
1542
|
+
147
|
1543
|
+
148</pre>
|
1539
1544
|
</td>
|
1540
1545
|
<td>
|
1541
|
-
<pre class="code"><span class="info file"># File 'lib/rrtf/node/image_node.rb', line
|
1546
|
+
<pre class="code"><span class="info file"># File 'lib/rrtf/node/image_node.rb', line 124</span>
|
1542
1547
|
|
1543
1548
|
<span class='kw'>def</span> <span class='id identifier rubyid_to_rtf'>to_rtf</span>
|
1544
1549
|
<span class='id identifier rubyid_text'>text</span> <span class='op'>=</span> <span class='const'>StringIO</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
@@ -1551,18 +1556,16 @@ FastImage.
|
|
1551
1556
|
<span class='id identifier rubyid_text'>text</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\\picw</span><span class='embexpr_beg'>#{</span><span class='ivar'>@width</span><span class='embexpr_end'>}</span><span class='tstring_content'>\\pich</span><span class='embexpr_beg'>#{</span><span class='ivar'>@height</span><span class='embexpr_end'>}</span><span class='tstring_content'>\\bliptag</span><span class='embexpr_beg'>#{</span><span class='ivar'>@id</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span>
|
1552
1557
|
<span class='id identifier rubyid_text'>text</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\\</span><span class='embexpr_beg'>#{</span><span class='ivar'>@type</span><span class='embexpr_end'>}</span><span class='tstring_content'>\n</span><span class='tstring_end'>"</span></span>
|
1553
1558
|
|
1554
|
-
<span class='id identifier
|
1555
|
-
<span class='id identifier
|
1556
|
-
|
1557
|
-
|
1558
|
-
|
1559
|
-
|
1560
|
-
<span class='
|
1561
|
-
|
1562
|
-
|
1563
|
-
|
1564
|
-
</span> <span class='kw'>end</span> <span class='comment'># each_byte
|
1565
|
-
</span> <span class='kw'>end</span> <span class='comment'># open_file
|
1559
|
+
<span class='ivar'>@source</span><span class='period'>.</span><span class='id identifier rubyid_each_byte'>each_byte</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_byte'>byte</span><span class='op'>|</span>
|
1560
|
+
<span class='id identifier rubyid_hex_str'>hex_str</span> <span class='op'>=</span> <span class='id identifier rubyid_byte'>byte</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='lparen'>(</span><span class='int'>16</span><span class='rparen'>)</span>
|
1561
|
+
<span class='id identifier rubyid_hex_str'>hex_str</span><span class='period'>.</span><span class='id identifier rubyid_insert'>insert</span><span class='lparen'>(</span><span class='int'>0</span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_hex_str'>hex_str</span><span class='period'>.</span><span class='id identifier rubyid_length'>length</span> <span class='op'>==</span> <span class='int'>1</span>
|
1562
|
+
<span class='id identifier rubyid_text'>text</span> <span class='op'><<</span> <span class='id identifier rubyid_hex_str'>hex_str</span>
|
1563
|
+
<span class='id identifier rubyid_count'>count</span> <span class='op'>+=</span> <span class='int'>1</span>
|
1564
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_count'>count</span> <span class='op'>==</span> <span class='int'>40</span>
|
1565
|
+
<span class='id identifier rubyid_text'>text</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\n</span><span class='tstring_end'>"</span></span>
|
1566
|
+
<span class='id identifier rubyid_count'>count</span> <span class='op'>=</span> <span class='int'>0</span>
|
1567
|
+
<span class='kw'>end</span> <span class='comment'># if
|
1568
|
+
</span> <span class='kw'>end</span> <span class='comment'># each_byte
|
1566
1569
|
</span> <span class='id identifier rubyid_text'>text</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\n}</span><span class='tstring_end'>"</span></span>
|
1567
1570
|
|
1568
1571
|
<span class='id identifier rubyid_text'>text</span><span class='period'>.</span><span class='id identifier rubyid_string'>string</span>
|
@@ -1577,7 +1580,7 @@ FastImage.
|
|
1577
1580
|
</div>
|
1578
1581
|
|
1579
1582
|
<div id="footer">
|
1580
|
-
Generated on
|
1583
|
+
Generated on Wed Aug 2 23:05:17 2017 by
|
1581
1584
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1582
1585
|
0.9.9 (ruby-2.3.3).
|
1583
1586
|
</div>
|