rubyXL 2.3.2 → 2.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +6 -6
  3. data/VERSION +1 -1
  4. data/lib/rubyXL/cell.rb +0 -10
  5. data/lib/rubyXL/objects/relationships.rb +46 -14
  6. data/lib/rubyXL/objects/sheet_data.rb +14 -2
  7. data/lib/rubyXL/parser.rb +1 -0
  8. data/lib/rubyXL/workbook.rb +7 -6
  9. data/rdoc/README_rdoc.html +27 -27
  10. data/rdoc/RubyXL/AExtensionStorageArea.html +1 -1
  11. data/rdoc/RubyXL/Alignment.html +1 -1
  12. data/rdoc/RubyXL/AlternateContent.html +1 -1
  13. data/rdoc/RubyXL/AutoFilter.html +1 -1
  14. data/rdoc/RubyXL/AutoFilterColumn.html +1 -1
  15. data/rdoc/RubyXL/BooleanNode.html +1 -1
  16. data/rdoc/RubyXL/BooleanValue.html +1 -1
  17. data/rdoc/RubyXL/Border.html +1 -1
  18. data/rdoc/RubyXL/BorderEdge.html +1 -1
  19. data/rdoc/RubyXL/Borders.html +1 -1
  20. data/rdoc/RubyXL/Break.html +1 -1
  21. data/rdoc/RubyXL/BreakList.html +1 -1
  22. data/rdoc/RubyXL/CalculationChain.html +2 -2
  23. data/rdoc/RubyXL/CalculationChainCell.html +1 -1
  24. data/rdoc/RubyXL/CalculationProperties.html +1 -1
  25. data/rdoc/RubyXL/Cell.html +78 -5
  26. data/rdoc/RubyXL/CellSmartTag.html +1 -1
  27. data/rdoc/RubyXL/CellSmartTagProperty.html +1 -1
  28. data/rdoc/RubyXL/CellSmartTags.html +1 -1
  29. data/rdoc/RubyXL/CellStyle.html +1 -1
  30. data/rdoc/RubyXL/CellStyleXFs.html +1 -1
  31. data/rdoc/RubyXL/CellStyles.html +1 -1
  32. data/rdoc/RubyXL/CellValue.html +1 -1
  33. data/rdoc/RubyXL/CellWatch.html +1 -1
  34. data/rdoc/RubyXL/CellWatches.html +1 -1
  35. data/rdoc/RubyXL/CellXFs.html +1 -1
  36. data/rdoc/RubyXL/Chartsheet.html +1 -1
  37. data/rdoc/RubyXL/ChartsheetPageSetup.html +1 -1
  38. data/rdoc/RubyXL/ChartsheetProperties.html +1 -1
  39. data/rdoc/RubyXL/ChartsheetProtection.html +1 -1
  40. data/rdoc/RubyXL/ChartsheetView.html +1 -1
  41. data/rdoc/RubyXL/ChartsheetViews.html +1 -1
  42. data/rdoc/RubyXL/Color.html +3 -3
  43. data/rdoc/RubyXL/ColorFilter.html +1 -1
  44. data/rdoc/RubyXL/ColorScale.html +1 -1
  45. data/rdoc/RubyXL/ColorScheme.html +1 -1
  46. data/rdoc/RubyXL/ColorSet.html +1 -1
  47. data/rdoc/RubyXL/Colors.html +1 -1
  48. data/rdoc/RubyXL/ColumnRange.html +1 -1
  49. data/rdoc/RubyXL/ColumnRanges.html +1 -1
  50. data/rdoc/RubyXL/ConditionalFormatValue.html +1 -1
  51. data/rdoc/RubyXL/ConditionalFormatting.html +1 -1
  52. data/rdoc/RubyXL/ConditionalFormattingRule.html +1 -1
  53. data/rdoc/RubyXL/CustomFilter.html +1 -1
  54. data/rdoc/RubyXL/CustomFilters.html +1 -1
  55. data/rdoc/RubyXL/CustomProperties.html +1 -1
  56. data/rdoc/RubyXL/CustomProperty.html +1 -1
  57. data/rdoc/RubyXL/CustomSheetView.html +1 -1
  58. data/rdoc/RubyXL/CustomSheetViews.html +1 -1
  59. data/rdoc/RubyXL/CustomWorkbookView.html +1 -1
  60. data/rdoc/RubyXL/CustomWorkbookViews.html +1 -1
  61. data/rdoc/RubyXL/DXF.html +1 -1
  62. data/rdoc/RubyXL/DXFs.html +1 -1
  63. data/rdoc/RubyXL/DataBar.html +1 -1
  64. data/rdoc/RubyXL/DataConsolidate.html +1 -1
  65. data/rdoc/RubyXL/DataConsolidationReference.html +1 -1
  66. data/rdoc/RubyXL/DataConsolidationReferences.html +1 -1
  67. data/rdoc/RubyXL/DataValidation.html +1 -1
  68. data/rdoc/RubyXL/DataValidations.html +1 -1
  69. data/rdoc/RubyXL/DateGroupItem.html +1 -1
  70. data/rdoc/RubyXL/DefinedName.html +1 -1
  71. data/rdoc/RubyXL/DefinedNames.html +1 -1
  72. data/rdoc/RubyXL/DocumentProperties.html +6 -6
  73. data/rdoc/RubyXL/DynamicFilter.html +1 -1
  74. data/rdoc/RubyXL/EmbeddedControl.html +1 -1
  75. data/rdoc/RubyXL/EmbeddedControls.html +1 -1
  76. data/rdoc/RubyXL/Extension.html +1 -1
  77. data/rdoc/RubyXL/ExtensionStorageArea.html +1 -1
  78. data/rdoc/RubyXL/ExternalReference.html +1 -1
  79. data/rdoc/RubyXL/ExternalReferences.html +1 -1
  80. data/rdoc/RubyXL/FieldItem.html +1 -1
  81. data/rdoc/RubyXL/FileRecoveryProperties.html +1 -1
  82. data/rdoc/RubyXL/FileSharing.html +1 -1
  83. data/rdoc/RubyXL/FileVersion.html +1 -1
  84. data/rdoc/RubyXL/Fill.html +1 -1
  85. data/rdoc/RubyXL/Fills.html +1 -1
  86. data/rdoc/RubyXL/FilterContainer.html +1 -1
  87. data/rdoc/RubyXL/FloatNode.html +1 -1
  88. data/rdoc/RubyXL/FloatValue.html +1 -1
  89. data/rdoc/RubyXL/Font.html +1 -1
  90. data/rdoc/RubyXL/FontScheme.html +1 -1
  91. data/rdoc/RubyXL/Fonts.html +1 -1
  92. data/rdoc/RubyXL/FormatScheme.html +1 -1
  93. data/rdoc/RubyXL/Formula.html +1 -1
  94. data/rdoc/RubyXL/FunctionGroup.html +1 -1
  95. data/rdoc/RubyXL/FunctionGroups.html +1 -1
  96. data/rdoc/RubyXL/GenericStorage.html +4 -4
  97. data/rdoc/RubyXL/GradientFill.html +1 -1
  98. data/rdoc/RubyXL/HeaderFooterSettings.html +1 -1
  99. data/rdoc/RubyXL/Hyperlink.html +1 -1
  100. data/rdoc/RubyXL/Hyperlinks.html +1 -1
  101. data/rdoc/RubyXL/IconFilter.html +1 -1
  102. data/rdoc/RubyXL/IconSet.html +1 -1
  103. data/rdoc/RubyXL/IgnoredError.html +1 -1
  104. data/rdoc/RubyXL/IgnoredErrors.html +1 -1
  105. data/rdoc/RubyXL/IndexedColors.html +1 -1
  106. data/rdoc/RubyXL/InputCells.html +1 -1
  107. data/rdoc/RubyXL/IntegerNode.html +1 -1
  108. data/rdoc/RubyXL/IntegerValue.html +1 -1
  109. data/rdoc/RubyXL/LegacyCell.html +57 -94
  110. data/rdoc/RubyXL/LegacyWorkbook.html +53 -38
  111. data/rdoc/RubyXL/LegacyWorksheet.html +29 -29
  112. data/rdoc/RubyXL/MRUColors.html +1 -1
  113. data/rdoc/RubyXL/MergedCell.html +1 -1
  114. data/rdoc/RubyXL/MergedCells.html +1 -1
  115. data/rdoc/RubyXL/NumFmt.html +1 -1
  116. data/rdoc/RubyXL/NumberFormat.html +2 -2
  117. data/rdoc/RubyXL/NumberFormats.html +1 -1
  118. data/rdoc/RubyXL/OLEObject.html +1 -1
  119. data/rdoc/RubyXL/OLEObjects.html +1 -1
  120. data/rdoc/RubyXL/OLESize.html +1 -1
  121. data/rdoc/RubyXL/OOXMLContainerObject.html +1 -1
  122. data/rdoc/RubyXL/OOXMLObject.html +1 -1
  123. data/rdoc/RubyXL/OOXMLObjectClassMethods.html +12 -12
  124. data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +1 -1
  125. data/rdoc/RubyXL/OOXMLRelationshipsFile.html +238 -0
  126. data/rdoc/RubyXL/OOXMLTopLevelObject.html +1 -1
  127. data/rdoc/RubyXL/OutlineProperties.html +1 -1
  128. data/rdoc/RubyXL/PageMargins.html +1 -1
  129. data/rdoc/RubyXL/PageSetup.html +1 -1
  130. data/rdoc/RubyXL/PageSetupProperties.html +1 -1
  131. data/rdoc/RubyXL/Pane.html +1 -1
  132. data/rdoc/RubyXL/Parser.html +16 -15
  133. data/rdoc/RubyXL/PatternFill.html +1 -1
  134. data/rdoc/RubyXL/PhoneticProperties.html +1 -1
  135. data/rdoc/RubyXL/PhoneticRun.html +1 -1
  136. data/rdoc/RubyXL/PivotArea.html +1 -1
  137. data/rdoc/RubyXL/PivotCache.html +1 -1
  138. data/rdoc/RubyXL/PivotCaches.html +1 -1
  139. data/rdoc/RubyXL/PivotReference.html +1 -1
  140. data/rdoc/RubyXL/PivotReferences.html +1 -1
  141. data/rdoc/RubyXL/PivotTableSelection.html +1 -1
  142. data/rdoc/RubyXL/PrintOptions.html +1 -1
  143. data/rdoc/RubyXL/ProtectedRange.html +1 -1
  144. data/rdoc/RubyXL/ProtectedRanges.html +1 -1
  145. data/rdoc/RubyXL/Protection.html +1 -1
  146. data/rdoc/RubyXL/RID.html +1 -1
  147. data/rdoc/RubyXL/RawOOXML.html +1 -1
  148. data/rdoc/RubyXL/Reference.html +5 -5
  149. data/rdoc/RubyXL/Relationship.html +1 -1
  150. data/rdoc/RubyXL/RichText.html +1 -1
  151. data/rdoc/RubyXL/RichTextRun.html +1 -1
  152. data/rdoc/RubyXL/RootRelationships.html +105 -0
  153. data/rdoc/RubyXL/Row.html +1 -1
  154. data/rdoc/RubyXL/RunProperties.html +1 -1
  155. data/rdoc/RubyXL/Scenario.html +1 -1
  156. data/rdoc/RubyXL/Scenarios.html +1 -1
  157. data/rdoc/RubyXL/Selection.html +1 -1
  158. data/rdoc/RubyXL/SharedStringsTable.html +2 -2
  159. data/rdoc/RubyXL/Sheet.html +1 -1
  160. data/rdoc/RubyXL/SheetCalculationProperties.html +1 -1
  161. data/rdoc/RubyXL/SheetData.html +1 -1
  162. data/rdoc/RubyXL/Sheets.html +1 -1
  163. data/rdoc/RubyXL/SmartTagProperties.html +1 -1
  164. data/rdoc/RubyXL/SmartTagType.html +1 -1
  165. data/rdoc/RubyXL/SmartTagTypes.html +1 -1
  166. data/rdoc/RubyXL/SmartTags.html +1 -1
  167. data/rdoc/RubyXL/SortCondition.html +1 -1
  168. data/rdoc/RubyXL/SortState.html +1 -1
  169. data/rdoc/RubyXL/Sqref.html +2 -2
  170. data/rdoc/RubyXL/Stop.html +1 -1
  171. data/rdoc/RubyXL/StringNode.html +1 -1
  172. data/rdoc/RubyXL/StringValue.html +1 -1
  173. data/rdoc/RubyXL/Stylesheet.html +1 -1
  174. data/rdoc/RubyXL/TableParts.html +1 -1
  175. data/rdoc/RubyXL/TableStyle.html +1 -1
  176. data/rdoc/RubyXL/TableStyles.html +1 -1
  177. data/rdoc/RubyXL/Text.html +2 -2
  178. data/rdoc/RubyXL/Theme.html +1 -1
  179. data/rdoc/RubyXL/ThemeElements.html +1 -1
  180. data/rdoc/RubyXL/Top10.html +1 -1
  181. data/rdoc/RubyXL/Variant.html +1 -1
  182. data/rdoc/RubyXL/Vector.html +1 -1
  183. data/rdoc/RubyXL/VectorValue.html +1 -1
  184. data/rdoc/RubyXL/WebPublishObject.html +1 -1
  185. data/rdoc/RubyXL/WebPublishObjects.html +1 -1
  186. data/rdoc/RubyXL/WebPublishingItem.html +1 -1
  187. data/rdoc/RubyXL/WebPublishingItems.html +1 -1
  188. data/rdoc/RubyXL/WebPublishingProperties.html +1 -1
  189. data/rdoc/RubyXL/Workbook.html +1 -1
  190. data/rdoc/RubyXL/WorkbookProperties.html +1 -1
  191. data/rdoc/RubyXL/WorkbookProtection.html +1 -1
  192. data/rdoc/RubyXL/WorkbookRelationships.html +2 -213
  193. data/rdoc/RubyXL/WorkbookView.html +1 -1
  194. data/rdoc/RubyXL/WorkbookViews.html +1 -1
  195. data/rdoc/RubyXL/Worksheet.html +1 -1
  196. data/rdoc/RubyXL/WorksheetDimensions.html +1 -1
  197. data/rdoc/RubyXL/WorksheetFormatProperties.html +1 -1
  198. data/rdoc/RubyXL/WorksheetProperties.html +1 -1
  199. data/rdoc/RubyXL/WorksheetProtection.html +1 -1
  200. data/rdoc/RubyXL/WorksheetView.html +1 -1
  201. data/rdoc/RubyXL/WorksheetViews.html +1 -1
  202. data/rdoc/RubyXL/Writer/ContentTypesWriter.html +53 -53
  203. data/rdoc/RubyXL/Writer/CoreWriter.html +12 -12
  204. data/rdoc/RubyXL/Writer/GenericWriter.html +5 -5
  205. data/rdoc/RubyXL/Writer/StylesWriter.html +2 -2
  206. data/rdoc/RubyXL/Writer/ThemeWriter.html +5 -5
  207. data/rdoc/RubyXL/Writer/WorkbookWriter.html +21 -21
  208. data/rdoc/RubyXL/Writer.html +1 -1
  209. data/rdoc/RubyXL/XF.html +1 -1
  210. data/rdoc/RubyXL.html +1 -1
  211. data/rdoc/created.rid +40 -41
  212. data/rdoc/index.html +4 -6
  213. data/rdoc/js/search_index.js +1 -1
  214. data/rdoc/table_of_contents.html +80 -93
  215. data/rubyXL.gemspec +5 -5
  216. metadata +4 -4
  217. data/lib/rubyXL/writer/root_rels_writer.rb +0 -17
  218. data/rdoc/RubyXL/Writer/RootRelsWriter.html +0 -193
@@ -0,0 +1,238 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class RubyXL::OOXMLRelationshipsFile - rubyXL 2.3.3</title>
8
+
9
+ <link href="../fonts.css" rel="stylesheet">
10
+ <link href="../rdoc.css" rel="stylesheet">
11
+
12
+ <script type="text/javascript">
13
+ var rdoc_rel_prefix = "../";
14
+ </script>
15
+
16
+ <script src="../js/jquery.js"></script>
17
+ <script src="../js/navigation.js"></script>
18
+ <script src="../js/search_index.js"></script>
19
+ <script src="../js/search.js"></script>
20
+ <script src="../js/searcher.js"></script>
21
+ <script src="../js/darkfish.js"></script>
22
+
23
+
24
+ <body id="top" role="document" class="class">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
29
+ <a href="../index.html" rel="home">Home</a>
30
+ </h2>
31
+
32
+ <div id="table-of-contents-navigation">
33
+ <a href="../table_of_contents.html#pages">Pages</a>
34
+ <a href="../table_of_contents.html#classes">Classes</a>
35
+ <a href="../table_of_contents.html#methods">Methods</a>
36
+ </div>
37
+ </div>
38
+
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search" spellcheck="false"
45
+ title="Type to search, Up and Down to navigate, Enter to load">
46
+ </div>
47
+
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
51
+ </form>
52
+ </div>
53
+
54
+ </div>
55
+
56
+
57
+
58
+ <div id="class-metadata">
59
+
60
+ <div id="parent-class-section" class="nav-section">
61
+ <h3>Parent</h3>
62
+
63
+
64
+ <p class="link"><a href="OOXMLTopLevelObject.html">RubyXL::OOXMLTopLevelObject</a>
65
+
66
+ </div>
67
+
68
+
69
+
70
+ <!-- Method Quickref -->
71
+ <div id="method-list-section" class="nav-section">
72
+ <h3>Methods</h3>
73
+
74
+ <ul class="link-list" role="directory">
75
+
76
+ <li ><a href="#method-i-document_relationship">#document_relationship</a>
77
+
78
+ <li ><a href="#method-i-find_by_rid">#find_by_rid</a>
79
+
80
+ <li ><a href="#method-i-metadata_relationship">#metadata_relationship</a>
81
+
82
+ </ul>
83
+ </div>
84
+
85
+ </div>
86
+ </nav>
87
+
88
+ <main role="main" aria-labelledby="class-RubyXL::OOXMLRelationshipsFile">
89
+ <h1 id="class-RubyXL::OOXMLRelationshipsFile" class="class">
90
+ class RubyXL::OOXMLRelationshipsFile
91
+ </h1>
92
+
93
+ <section class="description">
94
+
95
+ </section>
96
+
97
+
98
+
99
+
100
+ <section id="5Buntitled-5D" class="documentation-section">
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
111
+ <header>
112
+ <h3>Public Instance Methods</h3>
113
+ </header>
114
+
115
+
116
+ <div id="method-i-find_by_rid" class="method-detail ">
117
+
118
+ <div class="method-heading">
119
+ <span class="method-name">find_by_rid</span><span
120
+ class="method-args">(r_id)</span>
121
+
122
+ <span class="method-click-advice">click to toggle source</span>
123
+
124
+ </div>
125
+
126
+
127
+ <div class="method-description">
128
+
129
+
130
+
131
+
132
+
133
+
134
+ <div class="method-source-code" id="find_by_rid-source">
135
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 35</span>
136
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">find_by_rid</span>(<span class="ruby-identifier">r_id</span>)
137
+ <span class="ruby-identifier">relationships</span>.<span class="ruby-identifier">find</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">r</span><span class="ruby-operator">|</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">id</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">r_id</span> }
138
+ <span class="ruby-keyword">end</span></pre>
139
+ </div>
140
+
141
+ </div>
142
+
143
+
144
+
145
+
146
+ </div>
147
+
148
+
149
+ </section>
150
+
151
+ <section id="protected-instance-5Buntitled-5D-method-details" class="method-section">
152
+ <header>
153
+ <h3>Protected Instance Methods</h3>
154
+ </header>
155
+
156
+
157
+ <div id="method-i-document_relationship" class="method-detail ">
158
+
159
+ <div class="method-heading">
160
+ <span class="method-name">document_relationship</span><span
161
+ class="method-args">(target, type)</span>
162
+
163
+ <span class="method-click-advice">click to toggle source</span>
164
+
165
+ </div>
166
+
167
+
168
+ <div class="method-description">
169
+
170
+
171
+
172
+
173
+
174
+
175
+ <div class="method-source-code" id="document_relationship-source">
176
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 21</span>
177
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">document_relationship</span>(<span class="ruby-identifier">target</span>, <span class="ruby-identifier">type</span>)
178
+ <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Relationship</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-node">&quot;rId#{relationships.size + 1}&quot;</span>,
179
+ <span class="ruby-value">:type</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-node">&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/#{type}&quot;</span>,
180
+ <span class="ruby-value">:target</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">target</span>)
181
+ <span class="ruby-keyword">end</span></pre>
182
+ </div>
183
+
184
+ </div>
185
+
186
+
187
+
188
+
189
+ </div>
190
+
191
+
192
+ <div id="method-i-metadata_relationship" class="method-detail ">
193
+
194
+ <div class="method-heading">
195
+ <span class="method-name">metadata_relationship</span><span
196
+ class="method-args">(target, type)</span>
197
+
198
+ <span class="method-click-advice">click to toggle source</span>
199
+
200
+ </div>
201
+
202
+
203
+ <div class="method-description">
204
+
205
+
206
+
207
+
208
+
209
+
210
+ <div class="method-source-code" id="metadata_relationship-source">
211
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 28</span>
212
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">metadata_relationship</span>(<span class="ruby-identifier">target</span>, <span class="ruby-identifier">type</span>)
213
+ <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Relationship</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-node">&quot;rId#{relationships.size + 1}&quot;</span>,
214
+ <span class="ruby-value">:type</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-node">&quot;http://schemas.openxmlformats.org/package/2006/relationships/metadata/#{type}&quot;</span>,
215
+ <span class="ruby-value">:target</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">target</span>)
216
+ <span class="ruby-keyword">end</span></pre>
217
+ </div>
218
+
219
+ </div>
220
+
221
+
222
+
223
+
224
+ </div>
225
+
226
+
227
+ </section>
228
+
229
+ </section>
230
+ </main>
231
+
232
+
233
+ <footer id="validator-badges" role="contentinfo">
234
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
235
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
236
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
237
+ </footer>
238
+
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::OOXMLTopLevelObject - rubyXL 2.3.0</title>
7
+ <title>class RubyXL::OOXMLTopLevelObject - rubyXL 2.3.3</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::OutlineProperties - rubyXL 2.3.0</title>
7
+ <title>class RubyXL::OutlineProperties - rubyXL 2.3.3</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::PageMargins - rubyXL 2.3.0</title>
7
+ <title>class RubyXL::PageMargins - rubyXL 2.3.3</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::PageSetup - rubyXL 2.3.0</title>
7
+ <title>class RubyXL::PageSetup - rubyXL 2.3.3</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::PageSetupProperties - rubyXL 2.3.0</title>
7
+ <title>class RubyXL::PageSetupProperties - rubyXL 2.3.3</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Pane - rubyXL 2.3.0</title>
7
+ <title>class RubyXL::Pane - rubyXL 2.3.3</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Parser - rubyXL 2.3.0</title>
7
+ <title>class RubyXL::Parser - rubyXL 2.3.3</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -247,10 +247,10 @@ cells being interpreted as numbers</p>
247
247
  <div class="method-source-code" id="parse-source">
248
248
  <pre><span class="ruby-comment"># File lib/rubyXL/parser.rb, line 25</span>
249
249
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">parse</span>(<span class="ruby-identifier">xl_file_path</span>, <span class="ruby-identifier">opts</span> = {})
250
- <span class="ruby-identifier">raise</span> <span class="ruby-string">'Not .xlsx or .xlsm excel file'</span> <span class="ruby-keyword">unless</span> <span class="ruby-ivar">@skip_filename_check</span> <span class="ruby-operator">||</span>
250
+ <span class="ruby-identifier">raise</span> <span class="ruby-string">&#39;Not .xlsx or .xlsm excel file&#39;</span> <span class="ruby-keyword">unless</span> <span class="ruby-ivar">@skip_filename_check</span> <span class="ruby-operator">||</span>
251
251
  <span class="ruby-node">%w{.xlsx .xlsm}</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">extname</span>(<span class="ruby-identifier">xl_file_path</span>))
252
252
 
253
- <span class="ruby-identifier">dir_path</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-identifier">xl_file_path</span>), <span class="ruby-constant">Dir</span><span class="ruby-operator">::</span><span class="ruby-constant">Tmpname</span>.<span class="ruby-identifier">make_tmpname</span>([<span class="ruby-string">'rubyXL'</span>, <span class="ruby-string">'.tmp'</span>], <span class="ruby-keyword">nil</span>))
253
+ <span class="ruby-identifier">dir_path</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-identifier">xl_file_path</span>), <span class="ruby-constant">Dir</span><span class="ruby-operator">::</span><span class="ruby-constant">Tmpname</span>.<span class="ruby-identifier">make_tmpname</span>([<span class="ruby-string">&#39;rubyXL&#39;</span>, <span class="ruby-string">&#39;.tmp&#39;</span>], <span class="ruby-keyword">nil</span>))
254
254
 
255
255
  <span class="ruby-operator">::</span><span class="ruby-constant">Zip</span><span class="ruby-operator">::</span><span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">xl_file_path</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">zip_file</span><span class="ruby-operator">|</span>
256
256
  <span class="ruby-identifier">zip_file</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
@@ -260,12 +260,13 @@ cells being interpreted as numbers</p>
260
260
  }
261
261
  }
262
262
 
263
- <span class="ruby-identifier">workbook_file</span> = <span class="ruby-constant">Nokogiri</span><span class="ruby-operator">::</span><span class="ruby-constant">XML</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">dir_path</span>, <span class="ruby-string">'xl'</span>, <span class="ruby-string">'workbook.xml'</span>), <span class="ruby-string">'r'</span>))
263
+ <span class="ruby-identifier">workbook_file</span> = <span class="ruby-constant">Nokogiri</span><span class="ruby-operator">::</span><span class="ruby-constant">XML</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">dir_path</span>, <span class="ruby-string">&#39;xl&#39;</span>, <span class="ruby-string">&#39;workbook.xml&#39;</span>), <span class="ruby-string">&#39;r&#39;</span>))
264
264
 
265
265
  <span class="ruby-identifier">wb</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Workbook</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">workbook_file</span>)
266
266
  <span class="ruby-identifier">wb</span>.<span class="ruby-identifier">filepath</span> = <span class="ruby-identifier">xl_file_path</span>
267
267
 
268
268
  <span class="ruby-identifier">wb</span>.<span class="ruby-identifier">relationship_container</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">WorkbookRelationships</span>.<span class="ruby-identifier">parse_file</span>(<span class="ruby-identifier">dir_path</span>)
269
+ <span class="ruby-identifier">wb</span>.<span class="ruby-identifier">root_relationship_container</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">RootRelationships</span>.<span class="ruby-identifier">parse_file</span>(<span class="ruby-identifier">dir_path</span>)
269
270
 
270
271
  <span class="ruby-keyword">unless</span> <span class="ruby-ivar">@data_only</span>
271
272
  <span class="ruby-identifier">wb</span>.<span class="ruby-identifier">media</span>.<span class="ruby-identifier">load_dir</span>(<span class="ruby-identifier">dir_path</span>)
@@ -278,14 +279,14 @@ cells being interpreted as numbers</p>
278
279
  <span class="ruby-identifier">wb</span>.<span class="ruby-identifier">printer_settings</span>.<span class="ruby-identifier">load_dir</span>(<span class="ruby-identifier">dir_path</span>)
279
280
  <span class="ruby-identifier">wb</span>.<span class="ruby-identifier">worksheet_rels</span>.<span class="ruby-identifier">load_dir</span>(<span class="ruby-identifier">dir_path</span>)
280
281
  <span class="ruby-identifier">wb</span>.<span class="ruby-identifier">chartsheet_rels</span>.<span class="ruby-identifier">load_dir</span>(<span class="ruby-identifier">dir_path</span>)
281
- <span class="ruby-identifier">wb</span>.<span class="ruby-identifier">macros</span>.<span class="ruby-identifier">load_file</span>(<span class="ruby-identifier">dir_path</span>, <span class="ruby-string">'vbaProject.bin'</span>)
282
- <span class="ruby-identifier">wb</span>.<span class="ruby-identifier">theme</span>.<span class="ruby-identifier">load_file</span>(<span class="ruby-identifier">dir_path</span>, <span class="ruby-string">'theme1.xml'</span>)
282
+ <span class="ruby-identifier">wb</span>.<span class="ruby-identifier">macros</span>.<span class="ruby-identifier">load_file</span>(<span class="ruby-identifier">dir_path</span>, <span class="ruby-string">&#39;vbaProject.bin&#39;</span>)
283
+ <span class="ruby-identifier">wb</span>.<span class="ruby-identifier">theme</span>.<span class="ruby-identifier">load_file</span>(<span class="ruby-identifier">dir_path</span>, <span class="ruby-string">&#39;theme1.xml&#39;</span>)
283
284
 
284
- <span class="ruby-identifier">core_file</span> = <span class="ruby-constant">Nokogiri</span><span class="ruby-operator">::</span><span class="ruby-constant">XML</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">dir_path</span>, <span class="ruby-string">'docProps'</span>, <span class="ruby-string">'core.xml'</span>), <span class="ruby-string">'r'</span>))
285
- <span class="ruby-identifier">wb</span>.<span class="ruby-identifier">creator</span> = <span class="ruby-identifier">core_file</span>.<span class="ruby-identifier">css</span>(<span class="ruby-string">'dc|creator'</span>).<span class="ruby-identifier">children</span>.<span class="ruby-identifier">to_s</span>
286
- <span class="ruby-identifier">wb</span>.<span class="ruby-identifier">modifier</span> = <span class="ruby-identifier">core_file</span>.<span class="ruby-identifier">css</span>(<span class="ruby-string">'cp|last_modified_by'</span>).<span class="ruby-identifier">children</span>.<span class="ruby-identifier">to_s</span>
287
- <span class="ruby-identifier">wb</span>.<span class="ruby-identifier">created_at</span> = <span class="ruby-identifier">core_file</span>.<span class="ruby-identifier">css</span>(<span class="ruby-string">'dcterms|created'</span>).<span class="ruby-identifier">children</span>.<span class="ruby-identifier">to_s</span>
288
- <span class="ruby-identifier">wb</span>.<span class="ruby-identifier">modified_at</span> = <span class="ruby-identifier">core_file</span>.<span class="ruby-identifier">css</span>(<span class="ruby-string">'dcterms|modified'</span>).<span class="ruby-identifier">children</span>.<span class="ruby-identifier">to_s</span>
285
+ <span class="ruby-identifier">core_file</span> = <span class="ruby-constant">Nokogiri</span><span class="ruby-operator">::</span><span class="ruby-constant">XML</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">dir_path</span>, <span class="ruby-string">&#39;docProps&#39;</span>, <span class="ruby-string">&#39;core.xml&#39;</span>), <span class="ruby-string">&#39;r&#39;</span>))
286
+ <span class="ruby-identifier">wb</span>.<span class="ruby-identifier">creator</span> = <span class="ruby-identifier">core_file</span>.<span class="ruby-identifier">css</span>(<span class="ruby-string">&#39;dc|creator&#39;</span>).<span class="ruby-identifier">children</span>.<span class="ruby-identifier">to_s</span>
287
+ <span class="ruby-identifier">wb</span>.<span class="ruby-identifier">modifier</span> = <span class="ruby-identifier">core_file</span>.<span class="ruby-identifier">css</span>(<span class="ruby-string">&#39;cp|last_modified_by&#39;</span>).<span class="ruby-identifier">children</span>.<span class="ruby-identifier">to_s</span>
288
+ <span class="ruby-identifier">wb</span>.<span class="ruby-identifier">created_at</span> = <span class="ruby-identifier">core_file</span>.<span class="ruby-identifier">css</span>(<span class="ruby-string">&#39;dcterms|created&#39;</span>).<span class="ruby-identifier">children</span>.<span class="ruby-identifier">to_s</span>
289
+ <span class="ruby-identifier">wb</span>.<span class="ruby-identifier">modified_at</span> = <span class="ruby-identifier">core_file</span>.<span class="ruby-identifier">css</span>(<span class="ruby-string">&#39;dcterms|modified&#39;</span>).<span class="ruby-identifier">children</span>.<span class="ruby-identifier">to_s</span>
289
290
 
290
291
  <span class="ruby-identifier">wb</span>.<span class="ruby-identifier">document_properties</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">DocumentProperties</span>.<span class="ruby-identifier">parse_file</span>(<span class="ruby-identifier">dir_path</span>)
291
292
  <span class="ruby-identifier">wb</span>.<span class="ruby-identifier">calculation_chain</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">CalculationChain</span>.<span class="ruby-identifier">parse_file</span>(<span class="ruby-identifier">dir_path</span>)
@@ -312,15 +313,15 @@ cells being interpreted as numbers</p>
312
313
  <span class="ruby-identifier">sheet_file_path</span> = <span class="ruby-identifier">sheet_rel</span>.<span class="ruby-identifier">target</span>
313
314
 
314
315
  <span class="ruby-keyword">case</span> <span class="ruby-constant">File</span><span class="ruby-operator">::</span><span class="ruby-identifier">basename</span>(<span class="ruby-identifier">sheet_rel</span>.<span class="ruby-identifier">type</span>)
315
- <span class="ruby-keyword">when</span> <span class="ruby-string">'worksheet'</span> <span class="ruby-keyword">then</span>
316
- <span class="ruby-identifier">sheet_obj</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Worksheet</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">dir_path</span>, <span class="ruby-string">'xl'</span>, <span class="ruby-identifier">sheet_file_path</span>)))
316
+ <span class="ruby-keyword">when</span> <span class="ruby-string">&#39;worksheet&#39;</span> <span class="ruby-keyword">then</span>
317
+ <span class="ruby-identifier">sheet_obj</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Worksheet</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">dir_path</span>, <span class="ruby-string">&#39;xl&#39;</span>, <span class="ruby-identifier">sheet_file_path</span>)))
317
318
  <span class="ruby-identifier">sheet_obj</span>.<span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">r</span><span class="ruby-operator">|</span>
318
319
  <span class="ruby-keyword">next</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">nil?</span>
319
320
  <span class="ruby-identifier">r</span>.<span class="ruby-identifier">worksheet</span> = <span class="ruby-identifier">sheet</span>
320
321
  <span class="ruby-identifier">r</span>.<span class="ruby-identifier">cells</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">worksheet</span> = <span class="ruby-identifier">sheet_obj</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">nil?</span> }
321
322
  }
322
- <span class="ruby-keyword">when</span> <span class="ruby-string">'chartsheet'</span> <span class="ruby-keyword">then</span>
323
- <span class="ruby-identifier">sheet_obj</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Chartsheet</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">dir_path</span>, <span class="ruby-string">'xl'</span>, <span class="ruby-identifier">sheet_file_path</span>)))
323
+ <span class="ruby-keyword">when</span> <span class="ruby-string">&#39;chartsheet&#39;</span> <span class="ruby-keyword">then</span>
324
+ <span class="ruby-identifier">sheet_obj</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Chartsheet</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">dir_path</span>, <span class="ruby-string">&#39;xl&#39;</span>, <span class="ruby-identifier">sheet_file_path</span>)))
324
325
  <span class="ruby-keyword">end</span>
325
326
 
326
327
  <span class="ruby-identifier">sheet_obj</span>.<span class="ruby-identifier">workbook</span> = <span class="ruby-identifier">wb</span>
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::PatternFill - rubyXL 2.3.0</title>
7
+ <title>class RubyXL::PatternFill - rubyXL 2.3.3</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::PhoneticProperties - rubyXL 2.3.0</title>
7
+ <title>class RubyXL::PhoneticProperties - rubyXL 2.3.3</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::PhoneticRun - rubyXL 2.3.0</title>
7
+ <title>class RubyXL::PhoneticRun - rubyXL 2.3.3</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::PivotArea - rubyXL 2.3.0</title>
7
+ <title>class RubyXL::PivotArea - rubyXL 2.3.3</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::PivotCache - rubyXL 2.3.0</title>
7
+ <title>class RubyXL::PivotCache - rubyXL 2.3.3</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::PivotCaches - rubyXL 2.3.0</title>
7
+ <title>class RubyXL::PivotCaches - rubyXL 2.3.3</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::PivotReference - rubyXL 2.3.0</title>
7
+ <title>class RubyXL::PivotReference - rubyXL 2.3.3</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::PivotReferences - rubyXL 2.3.0</title>
7
+ <title>class RubyXL::PivotReferences - rubyXL 2.3.3</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::PivotTableSelection - rubyXL 2.3.0</title>
7
+ <title>class RubyXL::PivotTableSelection - rubyXL 2.3.3</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::PrintOptions - rubyXL 2.3.0</title>
7
+ <title>class RubyXL::PrintOptions - rubyXL 2.3.3</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::ProtectedRange - rubyXL 2.3.0</title>
7
+ <title>class RubyXL::ProtectedRange - rubyXL 2.3.3</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::ProtectedRanges - rubyXL 2.3.0</title>
7
+ <title>class RubyXL::ProtectedRanges - rubyXL 2.3.3</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Protection - rubyXL 2.3.0</title>
7
+ <title>class RubyXL::Protection - rubyXL 2.3.3</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
data/rdoc/RubyXL/RID.html CHANGED
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::RID - rubyXL 2.3.0</title>
7
+ <title>class RubyXL::RID - rubyXL 2.3.3</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::RawOOXML - rubyXL 2.3.0</title>
7
+ <title>class RubyXL::RawOOXML - rubyXL 2.3.3</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Reference - rubyXL 2.3.0</title>
7
+ <title>class RubyXL::Reference - rubyXL 2.3.3</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -207,11 +207,11 @@ Excel-style cell reference (0) A…Z, AA…AZ, BA… …ZZ, AAA… …AZZ, BAA
207
207
  <div class="method-source-code" id="ind2ref-source">
208
208
  <pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 75</span>
209
209
  <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">ind2ref</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
210
- <span class="ruby-identifier">str</span> = <span class="ruby-string">''</span>
210
+ <span class="ruby-identifier">str</span> = <span class="ruby-string">&#39;&#39;</span>
211
211
 
212
212
  <span class="ruby-identifier">loop</span> <span class="ruby-keyword">do</span>
213
213
  <span class="ruby-identifier">x</span> = <span class="ruby-identifier">col</span> <span class="ruby-operator">%</span> <span class="ruby-value">26</span>
214
- <span class="ruby-identifier">str</span> = (<span class="ruby-string">'A'</span>.<span class="ruby-identifier">ord</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">x</span>).<span class="ruby-identifier">chr</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">str</span>
214
+ <span class="ruby-identifier">str</span> = (<span class="ruby-string">&#39;A&#39;</span>.<span class="ruby-identifier">ord</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">x</span>).<span class="ruby-identifier">chr</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">str</span>
215
215
  <span class="ruby-identifier">col</span> = (<span class="ruby-identifier">col</span> <span class="ruby-operator">/</span> <span class="ruby-value">26</span>).<span class="ruby-identifier">floor</span> <span class="ruby-operator">-</span> <span class="ruby-value">1</span>
216
216
  <span class="ruby-keyword">break</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">col</span> <span class="ruby-operator">&lt;</span> <span class="ruby-value">0</span>
217
217
  <span class="ruby-keyword">end</span>
@@ -258,7 +258,7 @@ col_to) <a href="Reference.html#method-c-new">::new</a></p>
258
258
  <span class="ruby-keyword">when</span> <span class="ruby-value">2</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">row_from</span>, <span class="ruby-identifier">col_from</span> = <span class="ruby-identifier">params</span>
259
259
  <span class="ruby-keyword">when</span> <span class="ruby-value">1</span> <span class="ruby-keyword">then</span>
260
260
  <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>.<span class="ruby-identifier">new</span>(<span class="ruby-node">&quot;invalid value for #{self.class}: #{params[0].inspect}&quot;</span>) <span class="ruby-keyword">unless</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">0</span>].<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">String</span>)
261
- <span class="ruby-identifier">from</span>, <span class="ruby-identifier">to</span> = <span class="ruby-identifier">params</span>[<span class="ruby-value">0</span>].<span class="ruby-identifier">split</span>(<span class="ruby-string">':'</span>)
261
+ <span class="ruby-identifier">from</span>, <span class="ruby-identifier">to</span> = <span class="ruby-identifier">params</span>[<span class="ruby-value">0</span>].<span class="ruby-identifier">split</span>(<span class="ruby-string">&#39;:&#39;</span>)
262
262
  <span class="ruby-identifier">row_from</span>, <span class="ruby-identifier">col_from</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">ref2ind</span>(<span class="ruby-identifier">from</span>)
263
263
  <span class="ruby-identifier">row_to</span>, <span class="ruby-identifier">col_to</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">ref2ind</span>(<span class="ruby-identifier">to</span>) <span class="ruby-keyword">unless</span> <span class="ruby-identifier">to</span>.<span class="ruby-identifier">nil?</span>
264
264
  <span class="ruby-keyword">end</span>
@@ -615,7 +615,7 @@ col_to) <a href="Reference.html#method-c-new">::new</a></p>
615
615
  <span class="ruby-keyword">if</span> <span class="ruby-identifier">single_cell?</span> <span class="ruby-keyword">then</span>
616
616
  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">ind2ref</span>(<span class="ruby-ivar">@row_range</span>.<span class="ruby-identifier">begin</span>, <span class="ruby-ivar">@col_range</span>.<span class="ruby-identifier">begin</span>)
617
617
  <span class="ruby-keyword">else</span>
618
- <span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">ind2ref</span>(<span class="ruby-ivar">@row_range</span>.<span class="ruby-identifier">begin</span>, <span class="ruby-ivar">@col_range</span>.<span class="ruby-identifier">begin</span>) <span class="ruby-operator">+</span> <span class="ruby-string">':'</span> <span class="ruby-operator">+</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">ind2ref</span>(<span class="ruby-ivar">@row_range</span>.<span class="ruby-identifier">end</span>, <span class="ruby-ivar">@col_range</span>.<span class="ruby-identifier">end</span>)
618
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">ind2ref</span>(<span class="ruby-ivar">@row_range</span>.<span class="ruby-identifier">begin</span>, <span class="ruby-ivar">@col_range</span>.<span class="ruby-identifier">begin</span>) <span class="ruby-operator">+</span> <span class="ruby-string">&#39;:&#39;</span> <span class="ruby-operator">+</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">ind2ref</span>(<span class="ruby-ivar">@row_range</span>.<span class="ruby-identifier">end</span>, <span class="ruby-ivar">@col_range</span>.<span class="ruby-identifier">end</span>)
619
619
  <span class="ruby-keyword">end</span>
620
620
  <span class="ruby-keyword">end</span></pre>
621
621
  </div>