rubyXL 3.4.5 → 3.4.18

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.
Files changed (425) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +2 -1
  3. data/Gemfile +3 -3
  4. data/Gemfile.lock +76 -51
  5. data/LICENSE.txt +1 -1
  6. data/README.rdoc +10 -2
  7. data/Rakefile +3 -3
  8. data/VERSION +1 -1
  9. data/lib/rubyXL/convenience_methods/cell.rb +11 -1
  10. data/lib/rubyXL/convenience_methods/color.rb +5 -3
  11. data/lib/rubyXL/convenience_methods/worksheet.rb +77 -0
  12. data/lib/rubyXL/objects/chartsheet.rb +1 -1
  13. data/lib/rubyXL/objects/data_validation.rb +2 -0
  14. data/lib/rubyXL/objects/document_properties.rb +2 -2
  15. data/lib/rubyXL/objects/external_links.rb +25 -1
  16. data/lib/rubyXL/objects/ooxml_object.rb +13 -1
  17. data/lib/rubyXL/objects/relationships.rb +1 -1
  18. data/lib/rubyXL/objects/sheet_data.rb +11 -4
  19. data/lib/rubyXL/objects/storage.rb +1 -0
  20. data/lib/rubyXL/objects/text.rb +1 -1
  21. data/lib/rubyXL/objects/theme.rb +1 -1
  22. data/lib/rubyXL/objects/workbook.rb +24 -10
  23. data/lib/rubyXL/objects/worksheet.rb +7 -7
  24. data/lib/rubyXL/worksheet.rb +2 -0
  25. data/rdoc/README_rdoc.html +22 -10
  26. data/rdoc/RubyXL/AExtension.html +14 -51
  27. data/rdoc/RubyXL/AExtensionStorageArea.html +10 -14
  28. data/rdoc/RubyXL/ActiveX.html +16 -42
  29. data/rdoc/RubyXL/ActiveXBinary.html +10 -19
  30. data/rdoc/RubyXL/AdjustHandleList.html +10 -14
  31. data/rdoc/RubyXL/Alignment.html +10 -14
  32. data/rdoc/RubyXL/AlternateContent.html +10 -14
  33. data/rdoc/RubyXL/Authors.html +10 -14
  34. data/rdoc/RubyXL/AutoFilter.html +10 -14
  35. data/rdoc/RubyXL/AutoFilterColumn.html +10 -14
  36. data/rdoc/RubyXL/BinaryImageFile.html +10 -22
  37. data/rdoc/RubyXL/BodyProperties.html +10 -14
  38. data/rdoc/RubyXL/BooleanNode.html +10 -14
  39. data/rdoc/RubyXL/BooleanValue.html +10 -14
  40. data/rdoc/RubyXL/Border.html +13 -70
  41. data/rdoc/RubyXL/BorderEdge.html +13 -44
  42. data/rdoc/RubyXL/Borders.html +13 -31
  43. data/rdoc/RubyXL/Break.html +10 -14
  44. data/rdoc/RubyXL/BreakList.html +10 -14
  45. data/rdoc/RubyXL/CT_AdjPoint2D.html +10 -14
  46. data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +10 -14
  47. data/rdoc/RubyXL/CT_AlphaModulateEffect.html +10 -14
  48. data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +10 -14
  49. data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +10 -14
  50. data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +10 -14
  51. data/rdoc/RubyXL/CT_Backdrop.html +10 -14
  52. data/rdoc/RubyXL/CT_Bevel.html +10 -14
  53. data/rdoc/RubyXL/CT_BiLevelEffect.html +10 -14
  54. data/rdoc/RubyXL/CT_BlendEffect.html +10 -14
  55. data/rdoc/RubyXL/CT_Blip.html +10 -14
  56. data/rdoc/RubyXL/CT_BlipFillProperties.html +10 -14
  57. data/rdoc/RubyXL/CT_BlurEffect.html +10 -14
  58. data/rdoc/RubyXL/CT_Camera.html +10 -14
  59. data/rdoc/RubyXL/CT_Color.html +10 -14
  60. data/rdoc/RubyXL/CT_ColorChangeEffect.html +10 -14
  61. data/rdoc/RubyXL/CT_ColorMapping.html +10 -14
  62. data/rdoc/RubyXL/CT_ColorScheme.html +10 -14
  63. data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +10 -14
  64. data/rdoc/RubyXL/CT_ConnectionSite.html +10 -14
  65. data/rdoc/RubyXL/CT_ConnectionSiteList.html +10 -14
  66. data/rdoc/RubyXL/CT_DashStop.html +10 -14
  67. data/rdoc/RubyXL/CT_DashStopList.html +10 -14
  68. data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +10 -14
  69. data/rdoc/RubyXL/CT_DuotoneEffect.html +10 -14
  70. data/rdoc/RubyXL/CT_EffectContainer.html +10 -14
  71. data/rdoc/RubyXL/CT_EffectList.html +10 -14
  72. data/rdoc/RubyXL/CT_EffectReference.html +10 -14
  73. data/rdoc/RubyXL/CT_EffectStyleItem.html +10 -14
  74. data/rdoc/RubyXL/CT_EffectStyleList.html +10 -14
  75. data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +10 -14
  76. data/rdoc/RubyXL/CT_FillEffect.html +10 -14
  77. data/rdoc/RubyXL/CT_FillOverlayEffect.html +10 -14
  78. data/rdoc/RubyXL/CT_FillStyleList.html +10 -14
  79. data/rdoc/RubyXL/CT_FlatText.html +10 -14
  80. data/rdoc/RubyXL/CT_FontCollection.html +10 -14
  81. data/rdoc/RubyXL/CT_FontReference.html +10 -14
  82. data/rdoc/RubyXL/CT_GeomGuideList.html +10 -14
  83. data/rdoc/RubyXL/CT_GlowEffect.html +10 -14
  84. data/rdoc/RubyXL/CT_GradientFillProperties.html +10 -14
  85. data/rdoc/RubyXL/CT_GradientStop.html +10 -14
  86. data/rdoc/RubyXL/CT_GradientStopList.html +10 -14
  87. data/rdoc/RubyXL/CT_HSLEffect.html +10 -14
  88. data/rdoc/RubyXL/CT_HslColor.html +10 -14
  89. data/rdoc/RubyXL/CT_Hyperlink.html +10 -14
  90. data/rdoc/RubyXL/CT_InnerShadowEffect.html +10 -14
  91. data/rdoc/RubyXL/CT_LightRig.html +10 -14
  92. data/rdoc/RubyXL/CT_LineEndProperties.html +10 -14
  93. data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +10 -14
  94. data/rdoc/RubyXL/CT_LineProperties.html +10 -14
  95. data/rdoc/RubyXL/CT_LineStyleList.html +10 -14
  96. data/rdoc/RubyXL/CT_LinearShadeProperties.html +10 -14
  97. data/rdoc/RubyXL/CT_LuminanceEffect.html +10 -14
  98. data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +10 -14
  99. data/rdoc/RubyXL/CT_OuterShadowEffect.html +10 -14
  100. data/rdoc/RubyXL/CT_Path2D.html +10 -14
  101. data/rdoc/RubyXL/CT_Path2DArcTo.html +10 -14
  102. data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +10 -14
  103. data/rdoc/RubyXL/CT_Path2DList.html +10 -14
  104. data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +10 -14
  105. data/rdoc/RubyXL/CT_Path2DTo.html +10 -14
  106. data/rdoc/RubyXL/CT_PathShadeProperties.html +10 -14
  107. data/rdoc/RubyXL/CT_PatternFillProperties.html +10 -14
  108. data/rdoc/RubyXL/CT_Point3D.html +10 -14
  109. data/rdoc/RubyXL/CT_PolarAdjustHandle.html +10 -14
  110. data/rdoc/RubyXL/CT_PresetColor.html +10 -14
  111. data/rdoc/RubyXL/CT_PresetLineDashProperties.html +10 -14
  112. data/rdoc/RubyXL/CT_PresetShadowEffect.html +10 -14
  113. data/rdoc/RubyXL/CT_PresetTextShape.html +10 -14
  114. data/rdoc/RubyXL/CT_ReflectionEffect.html +10 -14
  115. data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +10 -14
  116. data/rdoc/RubyXL/CT_RelativeRect.html +10 -14
  117. data/rdoc/RubyXL/CT_SRgbColor.html +10 -14
  118. data/rdoc/RubyXL/CT_ScRgbColor.html +10 -14
  119. data/rdoc/RubyXL/CT_Scene3D.html +10 -14
  120. data/rdoc/RubyXL/CT_SchemeColor.html +10 -14
  121. data/rdoc/RubyXL/CT_Shape3D.html +10 -14
  122. data/rdoc/RubyXL/CT_ShapeStyle.html +10 -14
  123. data/rdoc/RubyXL/CT_SoftEdgesEffect.html +10 -14
  124. data/rdoc/RubyXL/CT_SphereCoords.html +10 -14
  125. data/rdoc/RubyXL/CT_StretchInfoProperties.html +10 -14
  126. data/rdoc/RubyXL/CT_StyleMatrix.html +10 -14
  127. data/rdoc/RubyXL/CT_StyleMatrixReference.html +10 -14
  128. data/rdoc/RubyXL/CT_SupplementalFont.html +10 -14
  129. data/rdoc/RubyXL/CT_SystemColor.html +10 -14
  130. data/rdoc/RubyXL/CT_TextAutonumberBullet.html +10 -14
  131. data/rdoc/RubyXL/CT_TextBlipBullet.html +10 -14
  132. data/rdoc/RubyXL/CT_TextCharBullet.html +10 -14
  133. data/rdoc/RubyXL/CT_TextCharacterProperties.html +10 -14
  134. data/rdoc/RubyXL/CT_TextFont.html +10 -14
  135. data/rdoc/RubyXL/CT_TextListStyle.html +10 -14
  136. data/rdoc/RubyXL/CT_TextNormalAutofit.html +10 -14
  137. data/rdoc/RubyXL/CT_TextParagraphProperties.html +10 -14
  138. data/rdoc/RubyXL/CT_TextSpacing.html +10 -14
  139. data/rdoc/RubyXL/CT_TextTabStop.html +10 -14
  140. data/rdoc/RubyXL/CT_TextTabStopList.html +10 -14
  141. data/rdoc/RubyXL/CT_TileInfoProperties.html +10 -14
  142. data/rdoc/RubyXL/CT_TintEffect.html +10 -14
  143. data/rdoc/RubyXL/CT_Transform2D.html +10 -14
  144. data/rdoc/RubyXL/CT_TransformEffect.html +10 -14
  145. data/rdoc/RubyXL/CT_Vector3D.html +10 -14
  146. data/rdoc/RubyXL/CT_XYAdjustHandle.html +10 -14
  147. data/rdoc/RubyXL/CalculationChain.html +13 -39
  148. data/rdoc/RubyXL/CalculationChainCell.html +10 -14
  149. data/rdoc/RubyXL/CalculationProperties.html +10 -14
  150. data/rdoc/RubyXL/Cell.html +28 -221
  151. data/rdoc/RubyXL/CellConvenienceMethods.html +70 -475
  152. data/rdoc/RubyXL/CellExt.html +10 -14
  153. data/rdoc/RubyXL/CellSmartTag.html +10 -14
  154. data/rdoc/RubyXL/CellSmartTagProperty.html +10 -14
  155. data/rdoc/RubyXL/CellSmartTags.html +10 -14
  156. data/rdoc/RubyXL/CellStyle.html +10 -14
  157. data/rdoc/RubyXL/CellStyleXFs.html +13 -31
  158. data/rdoc/RubyXL/CellStyles.html +13 -31
  159. data/rdoc/RubyXL/CellValue.html +13 -31
  160. data/rdoc/RubyXL/CellWatch.html +10 -14
  161. data/rdoc/RubyXL/CellWatches.html +10 -14
  162. data/rdoc/RubyXL/CellXFs.html +13 -31
  163. data/rdoc/RubyXL/ChartColorsFile.html +10 -22
  164. data/rdoc/RubyXL/ChartFile.html +15 -44
  165. data/rdoc/RubyXL/ChartStyleFile.html +10 -22
  166. data/rdoc/RubyXL/ChartUserShapesFile.html +10 -22
  167. data/rdoc/RubyXL/Chartsheet.html +15 -61
  168. data/rdoc/RubyXL/ChartsheetPageSetup.html +10 -14
  169. data/rdoc/RubyXL/ChartsheetProperties.html +10 -14
  170. data/rdoc/RubyXL/ChartsheetProtection.html +10 -14
  171. data/rdoc/RubyXL/ChartsheetView.html +10 -14
  172. data/rdoc/RubyXL/ChartsheetViews.html +10 -14
  173. data/rdoc/RubyXL/Color.html +13 -36
  174. data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +15 -60
  175. data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +19 -76
  176. data/rdoc/RubyXL/ColorConvenienceClasses.html +8 -11
  177. data/rdoc/RubyXL/ColorConvenienceMethods.html +11 -28
  178. data/rdoc/RubyXL/ColorFilter.html +10 -14
  179. data/rdoc/RubyXL/ColorScale.html +10 -14
  180. data/rdoc/RubyXL/ColorSet.html +10 -14
  181. data/rdoc/RubyXL/Colors.html +10 -14
  182. data/rdoc/RubyXL/ColumnRange.html +13 -62
  183. data/rdoc/RubyXL/ColumnRanges.html +13 -70
  184. data/rdoc/RubyXL/Comment.html +10 -14
  185. data/rdoc/RubyXL/CommentList.html +10 -14
  186. data/rdoc/RubyXL/CommentsFile.html +13 -44
  187. data/rdoc/RubyXL/ConditionalFormatValue.html +10 -14
  188. data/rdoc/RubyXL/ConditionalFormatting.html +10 -14
  189. data/rdoc/RubyXL/ConditionalFormattingRule.html +10 -14
  190. data/rdoc/RubyXL/Connection.html +10 -14
  191. data/rdoc/RubyXL/ConnectionTable.html +10 -14
  192. data/rdoc/RubyXL/ConnectionTables.html +10 -14
  193. data/rdoc/RubyXL/ConnectionTextField.html +10 -14
  194. data/rdoc/RubyXL/ConnectionTextFields.html +10 -14
  195. data/rdoc/RubyXL/Connections.html +13 -39
  196. data/rdoc/RubyXL/ContentTypeDefault.html +10 -14
  197. data/rdoc/RubyXL/ContentTypeOverride.html +10 -14
  198. data/rdoc/RubyXL/ContentTypes.html +13 -52
  199. data/rdoc/RubyXL/ControlPropertiesFile.html +12 -19
  200. data/rdoc/RubyXL/CorePropertiesFile.html +15 -150
  201. data/rdoc/RubyXL/CustomColor.html +10 -14
  202. data/rdoc/RubyXL/CustomColorList.html +10 -14
  203. data/rdoc/RubyXL/CustomFilter.html +10 -14
  204. data/rdoc/RubyXL/CustomFilters.html +10 -14
  205. data/rdoc/RubyXL/CustomGeometry.html +10 -14
  206. data/rdoc/RubyXL/CustomProperties.html +10 -14
  207. data/rdoc/RubyXL/CustomPropertiesFile.html +10 -22
  208. data/rdoc/RubyXL/CustomProperty.html +10 -14
  209. data/rdoc/RubyXL/CustomPropertyFile.html +10 -22
  210. data/rdoc/RubyXL/CustomSheetView.html +10 -14
  211. data/rdoc/RubyXL/CustomSheetViews.html +10 -14
  212. data/rdoc/RubyXL/CustomWorkbookView.html +10 -14
  213. data/rdoc/RubyXL/CustomWorkbookViews.html +10 -14
  214. data/rdoc/RubyXL/CustomXMLFile.html +10 -19
  215. data/rdoc/RubyXL/DXF.html +10 -14
  216. data/rdoc/RubyXL/DXFs.html +10 -14
  217. data/rdoc/RubyXL/DataBar.html +10 -14
  218. data/rdoc/RubyXL/DataConsolidate.html +10 -14
  219. data/rdoc/RubyXL/DataConsolidationReference.html +10 -14
  220. data/rdoc/RubyXL/DataConsolidationReferences.html +10 -14
  221. data/rdoc/RubyXL/DataType.html +8 -34
  222. data/rdoc/RubyXL/DataValidation.html +10 -14
  223. data/rdoc/RubyXL/DataValidations.html +10 -14
  224. data/rdoc/RubyXL/DateGroupItem.html +10 -14
  225. data/rdoc/RubyXL/DefinedName.html +10 -14
  226. data/rdoc/RubyXL/DefinedNameExt.html +10 -14
  227. data/rdoc/RubyXL/DefinedNames.html +10 -14
  228. data/rdoc/RubyXL/DefinedNamesExt.html +10 -14
  229. data/rdoc/RubyXL/DocumentPropertiesFile.html +13 -57
  230. data/rdoc/RubyXL/DrawingFile.html +15 -44
  231. data/rdoc/RubyXL/DynamicFilter.html +10 -14
  232. data/rdoc/RubyXL/EmbeddedControl.html +10 -14
  233. data/rdoc/RubyXL/EmbeddedControls.html +10 -14
  234. data/rdoc/RubyXL/Extension.html +10 -14
  235. data/rdoc/RubyXL/ExtensionStorageArea.html +10 -14
  236. data/rdoc/RubyXL/Extents.html +10 -14
  237. data/rdoc/RubyXL/ExternalBook.html +10 -14
  238. data/rdoc/RubyXL/ExternalLinksFile.html +16 -45
  239. data/rdoc/RubyXL/ExternalReference.html +10 -14
  240. data/rdoc/RubyXL/ExternalReferences.html +10 -14
  241. data/rdoc/RubyXL/ExtraColorSchemeList.html +10 -14
  242. data/rdoc/RubyXL/FieldItem.html +10 -14
  243. data/rdoc/RubyXL/FileRecoveryProperties.html +10 -14
  244. data/rdoc/RubyXL/FileSharing.html +10 -14
  245. data/rdoc/RubyXL/FileVersion.html +10 -14
  246. data/rdoc/RubyXL/Fill.html +13 -31
  247. data/rdoc/RubyXL/Fills.html +13 -31
  248. data/rdoc/RubyXL/FilterContainer.html +10 -14
  249. data/rdoc/RubyXL/FloatNode.html +10 -14
  250. data/rdoc/RubyXL/FloatValue.html +10 -14
  251. data/rdoc/RubyXL/Font.html +13 -36
  252. data/rdoc/RubyXL/FontConvenienceMethods.html +11 -197
  253. data/rdoc/RubyXL/FontScheme.html +10 -14
  254. data/rdoc/RubyXL/Fonts.html +13 -31
  255. data/rdoc/RubyXL/Formula.html +10 -14
  256. data/rdoc/RubyXL/FunctionGroup.html +10 -14
  257. data/rdoc/RubyXL/FunctionGroups.html +10 -14
  258. data/rdoc/RubyXL/GenericStorageObject.html +14 -75
  259. data/rdoc/RubyXL/GradientFill.html +10 -14
  260. data/rdoc/RubyXL/HeaderFooterSettings.html +10 -14
  261. data/rdoc/RubyXL/Hyperlink.html +10 -14
  262. data/rdoc/RubyXL/HyperlinkRelFile.html +10 -19
  263. data/rdoc/RubyXL/Hyperlinks.html +10 -14
  264. data/rdoc/RubyXL/IconFilter.html +10 -14
  265. data/rdoc/RubyXL/IconSet.html +10 -14
  266. data/rdoc/RubyXL/IgnoredError.html +10 -14
  267. data/rdoc/RubyXL/IgnoredErrors.html +10 -14
  268. data/rdoc/RubyXL/IndexedColors.html +10 -14
  269. data/rdoc/RubyXL/InputCells.html +10 -14
  270. data/rdoc/RubyXL/IntegerNode.html +10 -14
  271. data/rdoc/RubyXL/IntegerValue.html +10 -14
  272. data/rdoc/RubyXL/LegacyCell.html +11 -28
  273. data/rdoc/RubyXL/LegacyWorksheet.html +16 -88
  274. data/rdoc/RubyXL/MRUColors.html +10 -14
  275. data/rdoc/RubyXL/MacrosFile.html +10 -22
  276. data/rdoc/RubyXL/MergedCell.html +10 -14
  277. data/rdoc/RubyXL/MergedCells.html +10 -14
  278. data/rdoc/RubyXL/NumFmt.html +10 -14
  279. data/rdoc/RubyXL/NumberFormat.html +13 -31
  280. data/rdoc/RubyXL/NumberFormats.html +13 -36
  281. data/rdoc/RubyXL/OLEObject.html +10 -14
  282. data/rdoc/RubyXL/OLEObjectFile.html +10 -22
  283. data/rdoc/RubyXL/OLEObjects.html +10 -14
  284. data/rdoc/RubyXL/OLESize.html +10 -14
  285. data/rdoc/RubyXL/OOXMLContainerObject.html +24 -116
  286. data/rdoc/RubyXL/OOXMLIgnored.html +14 -46
  287. data/rdoc/RubyXL/OOXMLObject.html +12 -19
  288. data/rdoc/RubyXL/OOXMLObjectClassMethods.html +39 -84
  289. data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +28 -141
  290. data/rdoc/RubyXL/OOXMLRelationshipsFile.html +15 -169
  291. data/rdoc/RubyXL/OOXMLTopLevelObject.html +19 -103
  292. data/rdoc/RubyXL/OdbcOleDbProperties.html +10 -14
  293. data/rdoc/RubyXL/Offset.html +10 -14
  294. data/rdoc/RubyXL/OlapProperties.html +10 -14
  295. data/rdoc/RubyXL/OleItem.html +99 -0
  296. data/rdoc/RubyXL/OleItems.html +99 -0
  297. data/rdoc/RubyXL/OleLink.html +99 -0
  298. data/rdoc/RubyXL/OutlineProperties.html +10 -14
  299. data/rdoc/RubyXL/PageMargins.html +10 -14
  300. data/rdoc/RubyXL/PageSetup.html +10 -14
  301. data/rdoc/RubyXL/PageSetupProperties.html +10 -14
  302. data/rdoc/RubyXL/Pane.html +10 -14
  303. data/rdoc/RubyXL/Parser.html +13 -44
  304. data/rdoc/RubyXL/PatternFill.html +10 -14
  305. data/rdoc/RubyXL/PhoneticProperties.html +10 -14
  306. data/rdoc/RubyXL/PhoneticRun.html +10 -14
  307. data/rdoc/RubyXL/PivotArea.html +10 -14
  308. data/rdoc/RubyXL/PivotCache.html +10 -14
  309. data/rdoc/RubyXL/PivotCacheDefinitionFile.html +12 -27
  310. data/rdoc/RubyXL/PivotCacheRecordsFile.html +10 -22
  311. data/rdoc/RubyXL/PivotCaches.html +10 -14
  312. data/rdoc/RubyXL/PivotReference.html +10 -14
  313. data/rdoc/RubyXL/PivotReferences.html +10 -14
  314. data/rdoc/RubyXL/PivotTableFile.html +12 -27
  315. data/rdoc/RubyXL/PivotTableSelection.html +10 -14
  316. data/rdoc/RubyXL/PresetGeometry.html +10 -14
  317. data/rdoc/RubyXL/PrintOptions.html +10 -14
  318. data/rdoc/RubyXL/PrinterSettingsFile.html +10 -22
  319. data/rdoc/RubyXL/ProtectedRange.html +10 -14
  320. data/rdoc/RubyXL/ProtectedRanges.html +10 -14
  321. data/rdoc/RubyXL/Protection.html +10 -14
  322. data/rdoc/RubyXL/QueryParameter.html +10 -14
  323. data/rdoc/RubyXL/QueryParameters.html +10 -14
  324. data/rdoc/RubyXL/QueryTable.html +15 -44
  325. data/rdoc/RubyXL/QueryTableDeletedField.html +10 -14
  326. data/rdoc/RubyXL/QueryTableDeletedFields.html +10 -14
  327. data/rdoc/RubyXL/QueryTableField.html +10 -14
  328. data/rdoc/RubyXL/QueryTableFields.html +10 -14
  329. data/rdoc/RubyXL/QueryTableRefresh.html +10 -14
  330. data/rdoc/RubyXL/RID.html +10 -14
  331. data/rdoc/RubyXL/RawOOXML.html +14 -51
  332. data/rdoc/RubyXL/Reference.html +14 -192
  333. data/rdoc/RubyXL/Relationship.html +10 -14
  334. data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +11 -28
  335. data/rdoc/RubyXL/RelationshipSupport.html +14 -108
  336. data/rdoc/RubyXL/RevisionPointer.html +10 -14
  337. data/rdoc/RubyXL/RichText.html +14 -32
  338. data/rdoc/RubyXL/RichTextRun.html +13 -31
  339. data/rdoc/RubyXL/Row.html +22 -154
  340. data/rdoc/RubyXL/RowExt.html +10 -14
  341. data/rdoc/RubyXL/RunProperties.html +10 -14
  342. data/rdoc/RubyXL/Scenario.html +10 -14
  343. data/rdoc/RubyXL/Scenarios.html +10 -14
  344. data/rdoc/RubyXL/Selection.html +13 -31
  345. data/rdoc/RubyXL/ShapeGuide.html +10 -14
  346. data/rdoc/RubyXL/ShapeTextRectangle.html +10 -14
  347. data/rdoc/RubyXL/SharedStringsTable.html +14 -121
  348. data/rdoc/RubyXL/Sheet.html +10 -14
  349. data/rdoc/RubyXL/SheetCalculationProperties.html +10 -14
  350. data/rdoc/RubyXL/SheetData.html +15 -46
  351. data/rdoc/RubyXL/SheetDataExt.html +10 -14
  352. data/rdoc/RubyXL/SheetDataSet.html +10 -14
  353. data/rdoc/RubyXL/SheetName.html +10 -14
  354. data/rdoc/RubyXL/SheetNames.html +10 -14
  355. data/rdoc/RubyXL/Sheets.html +10 -14
  356. data/rdoc/RubyXL/SlicerCacheFile.html +10 -22
  357. data/rdoc/RubyXL/SlicerFile.html +10 -22
  358. data/rdoc/RubyXL/SmartTagProperties.html +10 -14
  359. data/rdoc/RubyXL/SmartTagType.html +10 -14
  360. data/rdoc/RubyXL/SmartTagTypes.html +10 -14
  361. data/rdoc/RubyXL/SmartTags.html +10 -14
  362. data/rdoc/RubyXL/SortCondition.html +10 -14
  363. data/rdoc/RubyXL/SortState.html +10 -14
  364. data/rdoc/RubyXL/Sqref.html +14 -46
  365. data/rdoc/RubyXL/Stop.html +10 -14
  366. data/rdoc/RubyXL/StringNode.html +10 -14
  367. data/rdoc/RubyXL/StringNodeW3C.html +14 -46
  368. data/rdoc/RubyXL/StringValue.html +10 -14
  369. data/rdoc/RubyXL/Stylesheet.html +14 -94
  370. data/rdoc/RubyXL/TableFile.html +10 -22
  371. data/rdoc/RubyXL/TableParts.html +10 -14
  372. data/rdoc/RubyXL/TableStyle.html +10 -14
  373. data/rdoc/RubyXL/TableStyles.html +10 -14
  374. data/rdoc/RubyXL/Text.html +13 -52
  375. data/rdoc/RubyXL/TextImportSettings.html +10 -14
  376. data/rdoc/RubyXL/Theme.html +14 -67
  377. data/rdoc/RubyXL/ThemeElements.html +10 -14
  378. data/rdoc/RubyXL/ThumbnailFile.html +10 -22
  379. data/rdoc/RubyXL/Top10.html +10 -14
  380. data/rdoc/RubyXL/VMLDrawingFile.html +12 -27
  381. data/rdoc/RubyXL/Variant.html +10 -14
  382. data/rdoc/RubyXL/Vector.html +13 -31
  383. data/rdoc/RubyXL/VectorValue.html +10 -14
  384. data/rdoc/RubyXL/VisualProperties.html +10 -14
  385. data/rdoc/RubyXL/WebPublishObject.html +10 -14
  386. data/rdoc/RubyXL/WebPublishObjects.html +10 -14
  387. data/rdoc/RubyXL/WebPublishingItem.html +10 -14
  388. data/rdoc/RubyXL/WebPublishingItems.html +10 -14
  389. data/rdoc/RubyXL/WebPublishingProperties.html +10 -14
  390. data/rdoc/RubyXL/WebQueryProperties.html +10 -14
  391. data/rdoc/RubyXL/Workbook.html +76 -465
  392. data/rdoc/RubyXL/WorkbookConvenienceMethods.html +11 -223
  393. data/rdoc/RubyXL/WorkbookProperties.html +10 -14
  394. data/rdoc/RubyXL/WorkbookProtection.html +10 -14
  395. data/rdoc/RubyXL/WorkbookRoot.html +16 -101
  396. data/rdoc/RubyXL/WorkbookView.html +10 -14
  397. data/rdoc/RubyXL/WorkbookViews.html +10 -14
  398. data/rdoc/RubyXL/Worksheet.html +16 -132
  399. data/rdoc/RubyXL/WorksheetConvenienceMethods.html +171 -987
  400. data/rdoc/RubyXL/WorksheetDimensions.html +10 -14
  401. data/rdoc/RubyXL/WorksheetFormatProperties.html +10 -14
  402. data/rdoc/RubyXL/WorksheetProperties.html +10 -14
  403. data/rdoc/RubyXL/WorksheetProtection.html +10 -14
  404. data/rdoc/RubyXL/WorksheetView.html +10 -14
  405. data/rdoc/RubyXL/WorksheetViews.html +10 -14
  406. data/rdoc/RubyXL/XF.html +10 -14
  407. data/rdoc/RubyXL.html +11 -321
  408. data/rdoc/created.rid +26 -26
  409. data/rdoc/css/rdoc.css +55 -6
  410. data/rdoc/index.html +13 -390
  411. data/rdoc/js/darkfish.js +22 -99
  412. data/rdoc/js/navigation.js +4 -40
  413. data/rdoc/js/navigation.js.gz +0 -0
  414. data/rdoc/js/search.js +32 -31
  415. data/rdoc/js/search_index.js +1 -1
  416. data/rdoc/js/search_index.js.gz +0 -0
  417. data/rdoc/js/searcher.js +6 -6
  418. data/rdoc/js/searcher.js.gz +0 -0
  419. data/rdoc/table_of_contents.html +33 -7
  420. data/rubyXL.gemspec +24 -31
  421. data/spec/lib/cell_spec.rb +44 -2
  422. data/spec/lib/rgb_color_spec.rb +16 -0
  423. data/spec/lib/worksheet_spec.rb +301 -0
  424. metadata +12 -10
  425. data/rdoc/js/jquery.js +0 -4
@@ -4,21 +4,23 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Cell - rubyXL 3.4.5</title>
7
+ <title>class RubyXL::Cell - rubyXL 3.4.18</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
11
11
  var index_rel_prefix = "../";
12
12
  </script>
13
13
 
14
- <script src="../js/jquery.js"></script>
15
- <script src="../js/darkfish.js"></script>
14
+ <script src="../js/navigation.js" defer></script>
15
+ <script src="../js/search.js" defer></script>
16
+ <script src="../js/search_index.js" defer></script>
17
+ <script src="../js/searcher.js" defer></script>
18
+ <script src="../js/darkfish.js" defer></script>
16
19
 
17
20
  <link href="../css/fonts.css" rel="stylesheet">
18
21
  <link href="../css/rdoc.css" rel="stylesheet">
19
22
 
20
23
 
21
-
22
24
  <body id="top" role="document" class="class">
23
25
  <nav role="navigation">
24
26
  <div id="project-navigation">
@@ -55,61 +57,43 @@
55
57
 
56
58
  <div id="class-metadata">
57
59
 
58
- <div id="parent-class-section" class="nav-section">
60
+
61
+ <div id="parent-class-section" class="nav-section">
59
62
  <h3>Parent</h3>
60
63
 
61
-
62
64
  <p class="link"><a href="OOXMLObject.html">RubyXL::OOXMLObject</a>
63
-
64
65
  </div>
65
66
 
66
- <div id="includes-section" class="nav-section">
67
+
68
+ <div id="includes-section" class="nav-section">
67
69
  <h3>Included Modules</h3>
68
70
 
69
71
  <ul class="link-list">
70
-
71
-
72
72
  <li><a class="include" href="LegacyCell.html">RubyXL::LegacyCell</a>
73
-
74
-
75
73
  </ul>
76
74
  </div>
77
75
 
78
76
 
79
- <!-- Method Quickref -->
77
+
78
+ <!-- Method Quickref -->
80
79
  <div id="method-list-section" class="nav-section">
81
80
  <h3>Methods</h3>
82
81
 
83
82
  <ul class="link-list" role="directory">
84
-
85
83
  <li ><a href="#method-i-column">#column</a>
86
-
87
84
  <li ><a href="#method-i-column-3D">#column=</a>
88
-
89
85
  <li ><a href="#method-i-get_cell_border">#get_cell_border</a>
90
-
91
86
  <li ><a href="#method-i-get_cell_font">#get_cell_font</a>
92
-
93
87
  <li ><a href="#method-i-get_cell_xf">#get_cell_xf</a>
94
-
95
88
  <li ><a href="#method-i-index_in_collection">#index_in_collection</a>
96
-
97
89
  <li ><a href="#method-i-inspect">#inspect</a>
98
-
99
90
  <li ><a href="#method-i-is_date-3F">#is_date?</a>
100
-
101
91
  <li ><a href="#method-i-number_format">#number_format</a>
102
-
103
92
  <li ><a href="#method-i-raw_value">#raw_value</a>
104
-
105
93
  <li ><a href="#method-i-raw_value-3D">#raw_value=</a>
106
-
107
94
  <li ><a href="#method-i-row">#row</a>
108
-
109
95
  <li ><a href="#method-i-row-3D">#row=</a>
110
-
111
96
  <li ><a href="#method-i-value">#value</a>
112
-
113
97
  </ul>
114
98
  </div>
115
99
 
@@ -127,35 +111,24 @@
127
111
 
128
112
  </section>
129
113
 
130
-
131
114
  <section id="5Buntitled-5D" class="documentation-section">
132
-
133
115
 
134
-
135
116
 
136
-
137
117
  <section class="constants-list">
138
118
  <header>
139
119
  <h3>Constants</h3>
140
120
  </header>
141
121
  <dl>
142
-
143
122
  <dt id="NUMBER_REGEXP">NUMBER_REGEXP
144
-
145
123
  <dd>
146
-
147
-
148
124
  </dl>
149
125
  </section>
150
-
151
126
 
152
-
153
127
  <section class="attribute-method-details" class="method-section">
154
128
  <header>
155
129
  <h3>Attributes</h3>
156
130
  </header>
157
131
 
158
-
159
132
  <div id="attribute-i-worksheet" class="method-detail">
160
133
  <div class="method-heading attribute-method-heading">
161
134
  <span class="method-name">worksheet</span><span
@@ -164,374 +137,247 @@
164
137
 
165
138
  <div class="method-description">
166
139
 
167
-
168
-
169
140
  </div>
170
141
  </div>
171
-
172
142
  </section>
173
-
174
143
 
175
-
144
+
176
145
  <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
177
146
  <header>
178
147
  <h3>Public Instance Methods</h3>
179
148
  </header>
180
149
 
181
-
182
150
  <div id="method-i-column" class="method-detail ">
183
-
184
151
  <div class="method-heading">
185
152
  <span class="method-name">column</span><span
186
153
  class="method-args">()</span>
187
-
188
154
  <span class="method-click-advice">click to toggle source</span>
189
-
190
155
  </div>
191
-
192
156
 
193
157
  <div class="method-description">
194
158
 
195
-
196
-
197
-
198
159
 
199
-
200
160
  <div class="method-source-code" id="column-source">
201
161
  <pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 61</span>
202
162
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">column</span>
203
163
  <span class="ruby-identifier">r</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">first_col</span>
204
164
  <span class="ruby-keyword">end</span></pre>
205
165
  </div>
206
-
207
166
  </div>
208
167
 
209
-
210
168
 
211
-
212
169
  </div>
213
170
 
214
-
215
171
  <div id="method-i-column-3D" class="method-detail ">
216
-
217
172
  <div class="method-heading">
218
173
  <span class="method-name">column=</span><span
219
174
  class="method-args">(v)</span>
220
-
221
175
  <span class="method-click-advice">click to toggle source</span>
222
-
223
176
  </div>
224
-
225
177
 
226
178
  <div class="method-description">
227
179
 
228
-
229
-
230
-
231
180
 
232
-
233
181
  <div class="method-source-code" id="column-3D-source">
234
182
  <pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 65</span>
235
183
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">column=</span>(<span class="ruby-identifier">v</span>)
236
184
  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">r</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Reference</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">row</span> <span class="ruby-operator">||</span> <span class="ruby-value">0</span>, <span class="ruby-identifier">v</span>)
237
185
  <span class="ruby-keyword">end</span></pre>
238
186
  </div>
239
-
240
187
  </div>
241
188
 
242
-
243
189
 
244
-
245
190
  </div>
246
191
 
247
-
248
192
  <div id="method-i-get_cell_border" class="method-detail ">
249
-
250
193
  <div class="method-heading">
251
194
  <span class="method-name">get_cell_border</span><span
252
195
  class="method-args">()</span>
253
-
254
196
  <span class="method-click-advice">click to toggle source</span>
255
-
256
197
  </div>
257
-
258
198
 
259
199
  <div class="method-description">
260
200
 
261
-
262
-
263
-
264
201
 
265
-
266
202
  <div class="method-source-code" id="get_cell_border-source">
267
203
  <pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 86</span>
268
204
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_cell_border</span>
269
205
  <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">stylesheet</span>.<span class="ruby-identifier">borders</span>[<span class="ruby-identifier">get_cell_xf</span>.<span class="ruby-identifier">border_id</span>]
270
206
  <span class="ruby-keyword">end</span></pre>
271
207
  </div>
272
-
273
208
  </div>
274
209
 
275
-
276
210
 
277
-
278
211
  </div>
279
212
 
280
-
281
213
  <div id="method-i-get_cell_font" class="method-detail ">
282
-
283
214
  <div class="method-heading">
284
215
  <span class="method-name">get_cell_font</span><span
285
216
  class="method-args">()</span>
286
-
287
217
  <span class="method-click-advice">click to toggle source</span>
288
-
289
218
  </div>
290
-
291
219
 
292
220
  <div class="method-description">
293
221
 
294
-
295
-
296
-
297
222
 
298
-
299
223
  <div class="method-source-code" id="get_cell_font-source">
300
224
  <pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 82</span>
301
225
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_cell_font</span>
302
226
  <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">stylesheet</span>.<span class="ruby-identifier">fonts</span>[<span class="ruby-identifier">get_cell_xf</span>.<span class="ruby-identifier">font_id</span>]
303
227
  <span class="ruby-keyword">end</span></pre>
304
228
  </div>
305
-
306
229
  </div>
307
230
 
308
-
309
231
 
310
-
311
232
  </div>
312
233
 
313
-
314
234
  <div id="method-i-get_cell_xf" class="method-detail ">
315
-
316
235
  <div class="method-heading">
317
236
  <span class="method-name">get_cell_xf</span><span
318
237
  class="method-args">()</span>
319
-
320
238
  <span class="method-click-advice">click to toggle source</span>
321
-
322
239
  </div>
323
-
324
240
 
325
241
  <div class="method-description">
326
242
 
327
-
328
-
329
-
330
243
 
331
-
332
244
  <div class="method-source-code" id="get_cell_xf-source">
333
245
  <pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 78</span>
334
246
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_cell_xf</span>
335
247
  <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">stylesheet</span>.<span class="ruby-identifier">cell_xfs</span>[<span class="ruby-keyword">self</span>.<span class="ruby-identifier">style_index</span> <span class="ruby-operator">||</span> <span class="ruby-value">0</span>]
336
248
  <span class="ruby-keyword">end</span></pre>
337
249
  </div>
338
-
339
250
  </div>
340
251
 
341
-
342
252
 
343
-
344
253
  </div>
345
254
 
346
-
347
255
  <div id="method-i-index_in_collection" class="method-detail ">
348
-
349
256
  <div class="method-heading">
350
257
  <span class="method-name">index_in_collection</span><span
351
258
  class="method-args">()</span>
352
-
353
259
  <span class="method-click-advice">click to toggle source</span>
354
-
355
260
  </div>
356
-
357
261
 
358
262
  <div class="method-description">
359
263
 
360
-
361
-
362
-
363
264
 
364
-
365
265
  <div class="method-source-code" id="index_in_collection-source">
366
266
  <pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 49</span>
367
267
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">index_in_collection</span>
368
268
  <span class="ruby-identifier">r</span>.<span class="ruby-identifier">col_range</span>.<span class="ruby-identifier">begin</span>
369
269
  <span class="ruby-keyword">end</span></pre>
370
270
  </div>
371
-
372
271
  </div>
373
272
 
374
-
375
273
 
376
-
377
274
  </div>
378
275
 
379
-
380
276
  <div id="method-i-inspect" class="method-detail ">
381
-
382
277
  <div class="method-heading">
383
278
  <span class="method-name">inspect</span><span
384
279
  class="method-args">()</span>
385
-
386
280
  <span class="method-click-advice">click to toggle source</span>
387
-
388
281
  </div>
389
-
390
282
 
391
283
  <div class="method-description">
392
284
 
393
-
394
-
395
-
396
285
 
397
-
398
286
  <div class="method-source-code" id="inspect-source">
399
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 120</span>
287
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 127</span>
400
288
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">inspect</span>
401
289
  <span class="ruby-identifier">str</span> = <span class="ruby-node">&quot;#&lt;#{self.class}(#{row},#{column}): #{raw_value.inspect}&quot;</span>
402
- <span class="ruby-identifier">str</span> <span class="ruby-operator">+=</span> <span class="ruby-node">&quot; =#{self.formula.expression}&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">formula</span>
403
- <span class="ruby-identifier">str</span> <span class="ruby-operator">+=</span> <span class="ruby-node">&quot;, datatype=#{self.datatype.inspect}, style_index=#{self.style_index.inspect}&gt;&quot;</span>
290
+ <span class="ruby-identifier">str</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot; =#{self.formula.expression}&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">formula</span>
291
+ <span class="ruby-identifier">str</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;, datatype=#{self.datatype.inspect}, style_index=#{self.style_index.inspect}&gt;&quot;</span>
404
292
  <span class="ruby-keyword">return</span> <span class="ruby-identifier">str</span>
405
293
  <span class="ruby-keyword">end</span></pre>
406
294
  </div>
407
-
408
295
  </div>
409
296
 
410
-
411
297
 
412
-
413
298
  </div>
414
299
 
415
-
416
300
  <div id="method-i-is_date-3F" class="method-detail ">
417
-
418
301
  <div class="method-heading">
419
302
  <span class="method-name">is_date?</span><span
420
303
  class="method-args">()</span>
421
-
422
304
  <span class="method-click-advice">click to toggle source</span>
423
-
424
305
  </div>
425
-
426
306
 
427
307
  <div class="method-description">
428
308
 
429
-
430
-
431
-
432
309
 
433
-
434
310
  <div class="method-source-code" id="is_date-3F-source">
435
311
  <pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 94</span>
436
312
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">is_date?</span>
437
- <span class="ruby-keyword">return</span> <span class="ruby-keyword">false</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">raw_value</span> <span class="ruby-operator">=~</span> <span class="ruby-constant">NUMBER_REGEXP</span> <span class="ruby-comment"># Only fully numeric values can be dates</span>
313
+ <span class="ruby-keyword">return</span> <span class="ruby-keyword">false</span> <span class="ruby-keyword">unless</span> <span class="ruby-comment"># Only fully numeric values can be dates</span>
314
+ <span class="ruby-keyword">case</span> <span class="ruby-identifier">raw_value</span>
315
+ <span class="ruby-keyword">when</span> <span class="ruby-constant">Numeric</span> <span class="ruby-keyword">then</span> <span class="ruby-keyword">true</span>
316
+ <span class="ruby-keyword">when</span> <span class="ruby-constant">String</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">raw_value</span> <span class="ruby-operator">=~</span> <span class="ruby-constant">NUMBER_REGEXP</span>
317
+ <span class="ruby-keyword">else</span> <span class="ruby-keyword">false</span>
318
+ <span class="ruby-keyword">end</span>
319
+
438
320
  <span class="ruby-identifier">num_fmt</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">number_format</span>
439
321
  <span class="ruby-identifier">num_fmt</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">num_fmt</span>.<span class="ruby-identifier">is_date_format?</span>
440
322
  <span class="ruby-keyword">end</span></pre>
441
323
  </div>
442
-
443
324
  </div>
444
325
 
445
-
446
326
 
447
-
448
327
  </div>
449
328
 
450
-
451
329
  <div id="method-i-number_format" class="method-detail ">
452
-
453
330
  <div class="method-heading">
454
331
  <span class="method-name">number_format</span><span
455
332
  class="method-args">()</span>
456
-
457
333
  <span class="method-click-advice">click to toggle source</span>
458
-
459
334
  </div>
460
-
461
335
 
462
336
  <div class="method-description">
463
337
 
464
-
465
-
466
-
467
338
 
468
-
469
339
  <div class="method-source-code" id="number_format-source">
470
340
  <pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 90</span>
471
341
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">number_format</span>
472
342
  <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">stylesheet</span>.<span class="ruby-identifier">get_number_format_by_id</span>(<span class="ruby-identifier">get_cell_xf</span>.<span class="ruby-identifier">num_fmt_id</span>)
473
343
  <span class="ruby-keyword">end</span></pre>
474
344
  </div>
475
-
476
345
  </div>
477
346
 
478
-
479
347
 
480
-
481
348
  </div>
482
349
 
483
-
484
350
  <div id="method-i-raw_value" class="method-detail ">
485
-
486
351
  <div class="method-heading">
487
352
  <span class="method-name">raw_value</span><span
488
353
  class="method-args">()</span>
489
-
490
354
  <span class="method-click-advice">click to toggle source</span>
491
-
492
355
  </div>
493
-
494
356
 
495
357
  <div class="method-description">
496
358
 
497
-
498
-
499
-
500
359
 
501
-
502
360
  <div class="method-source-code" id="raw_value-source">
503
361
  <pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 69</span>
504
362
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">raw_value</span>
505
363
  <span class="ruby-identifier">value_container</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">value_container</span>.<span class="ruby-identifier">value</span>
506
364
  <span class="ruby-keyword">end</span></pre>
507
365
  </div>
508
-
509
366
  </div>
510
367
 
511
-
512
368
 
513
-
514
369
  </div>
515
370
 
516
-
517
371
  <div id="method-i-raw_value-3D" class="method-detail ">
518
-
519
372
  <div class="method-heading">
520
373
  <span class="method-name">raw_value=</span><span
521
374
  class="method-args">(v)</span>
522
-
523
375
  <span class="method-click-advice">click to toggle source</span>
524
-
525
376
  </div>
526
-
527
377
 
528
378
  <div class="method-description">
529
379
 
530
-
531
-
532
-
533
380
 
534
-
535
381
  <div class="method-source-code" id="raw_value-3D-source">
536
382
  <pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 73</span>
537
383
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">raw_value=</span>(<span class="ruby-identifier">v</span>)
@@ -539,101 +385,65 @@
539
385
  <span class="ruby-identifier">value_container</span>.<span class="ruby-identifier">value</span> = <span class="ruby-identifier">v</span>
540
386
  <span class="ruby-keyword">end</span></pre>
541
387
  </div>
542
-
543
388
  </div>
544
389
 
545
-
546
390
 
547
-
548
391
  </div>
549
392
 
550
-
551
393
  <div id="method-i-row" class="method-detail ">
552
-
553
394
  <div class="method-heading">
554
395
  <span class="method-name">row</span><span
555
396
  class="method-args">()</span>
556
-
557
397
  <span class="method-click-advice">click to toggle source</span>
558
-
559
398
  </div>
560
-
561
399
 
562
400
  <div class="method-description">
563
401
 
564
-
565
-
566
-
567
402
 
568
-
569
403
  <div class="method-source-code" id="row-source">
570
404
  <pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 53</span>
571
405
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">row</span>
572
406
  <span class="ruby-identifier">r</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">first_row</span>
573
407
  <span class="ruby-keyword">end</span></pre>
574
408
  </div>
575
-
576
409
  </div>
577
410
 
578
-
579
411
 
580
-
581
412
  </div>
582
413
 
583
-
584
414
  <div id="method-i-row-3D" class="method-detail ">
585
-
586
415
  <div class="method-heading">
587
416
  <span class="method-name">row=</span><span
588
417
  class="method-args">(v)</span>
589
-
590
418
  <span class="method-click-advice">click to toggle source</span>
591
-
592
419
  </div>
593
-
594
420
 
595
421
  <div class="method-description">
596
422
 
597
-
598
-
599
-
600
423
 
601
-
602
424
  <div class="method-source-code" id="row-3D-source">
603
425
  <pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 57</span>
604
426
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">row=</span>(<span class="ruby-identifier">v</span>)
605
427
  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">r</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Reference</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">v</span>, <span class="ruby-identifier">column</span> <span class="ruby-operator">||</span> <span class="ruby-value">0</span>)
606
428
  <span class="ruby-keyword">end</span></pre>
607
429
  </div>
608
-
609
430
  </div>
610
431
 
611
-
612
432
 
613
-
614
433
  </div>
615
434
 
616
-
617
435
  <div id="method-i-value" class="method-detail ">
618
-
619
436
  <div class="method-heading">
620
437
  <span class="method-name">value</span><span
621
438
  class="method-args">(args = {})</span>
622
-
623
439
  <span class="method-click-advice">click to toggle source</span>
624
-
625
440
  </div>
626
-
627
441
 
628
442
  <div class="method-description">
629
-
630
443
  <p>Gets massaged value of the cell, converting datatypes to those known to Ruby (that includes stripping any special formatting from <a href="RichText.html"><code>RichText</code></a>).</p>
631
-
632
-
633
444
 
634
-
635
445
  <div class="method-source-code" id="value-source">
636
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 102</span>
446
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 108</span>
637
447
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">value</span>(<span class="ruby-identifier">args</span> = {})
638
448
  <span class="ruby-identifier">r</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">raw_value</span>
639
449
 
@@ -642,7 +452,8 @@
642
452
  <span class="ruby-keyword">when</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">DataType</span><span class="ruby-operator">::</span><span class="ruby-constant">INLINE_STRING</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">is</span>.<span class="ruby-identifier">to_s</span>
643
453
  <span class="ruby-keyword">when</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">DataType</span><span class="ruby-operator">::</span><span class="ruby-constant">RAW_STRING</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">raw_value</span>
644
454
  <span class="ruby-keyword">else</span>
645
- <span class="ruby-keyword">if</span> <span class="ruby-identifier">is_date?</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">num_to_date</span>(<span class="ruby-identifier">r</span>.<span class="ruby-identifier">to_f</span>)
455
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">is</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">is</span>.<span class="ruby-identifier">to_s</span>
456
+ <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">is_date?</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">num_to_date</span>(<span class="ruby-identifier">r</span>.<span class="ruby-identifier">to_f</span>)
646
457
  <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">String</span>) <span class="ruby-operator">&amp;&amp;</span> (<span class="ruby-identifier">r</span> <span class="ruby-operator">=~</span> <span class="ruby-constant">NUMBER_REGEXP</span>) <span class="ruby-keyword">then</span> <span class="ruby-comment"># Numeric</span>
647
458
  <span class="ruby-keyword">if</span> <span class="ruby-node">$1</span> <span class="ruby-operator">!=</span> <span class="ruby-string">&#39;&#39;</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">to_f</span>
648
459
  <span class="ruby-keyword">else</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">to_i</span>
@@ -652,24 +463,20 @@
652
463
  <span class="ruby-keyword">end</span>
653
464
  <span class="ruby-keyword">end</span></pre>
654
465
  </div>
655
-
656
466
  </div>
657
467
 
658
-
659
468
 
660
-
661
469
  </div>
662
470
 
663
-
664
471
  </section>
665
-
472
+
666
473
  </section>
667
474
  </main>
668
475
 
669
476
 
670
477
  <footer id="validator-badges" role="contentinfo">
671
478
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
672
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.1.
479
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
673
480
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
674
481
  </footer>
675
482