rubyXL 2.5.2 → 2.5.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (332) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -0
  3. data/Gemfile.lock +13 -11
  4. data/README.rdoc +3 -0
  5. data/VERSION +1 -1
  6. data/lib/rubyXL/cell.rb +29 -26
  7. data/lib/rubyXL/objects/data_validation.rb +0 -1
  8. data/lib/rubyXL/objects/workbook.rb +2 -1
  9. data/lib/rubyXL/objects/worksheet.rb +1 -1
  10. data/lib/rubyXL/worksheet.rb +3 -7
  11. data/rdoc/README_rdoc.html +6 -1
  12. data/rdoc/RubyXL.html +1 -1
  13. data/rdoc/RubyXL/AExtension.html +1 -1
  14. data/rdoc/RubyXL/AExtensionStorageArea.html +1 -1
  15. data/rdoc/RubyXL/AdjustHandleList.html +1 -1
  16. data/rdoc/RubyXL/Alignment.html +1 -1
  17. data/rdoc/RubyXL/AlternateContent.html +1 -1
  18. data/rdoc/RubyXL/AutoFilter.html +1 -1
  19. data/rdoc/RubyXL/AutoFilterColumn.html +1 -1
  20. data/rdoc/RubyXL/BodyProperties.html +1 -1
  21. data/rdoc/RubyXL/BooleanNode.html +1 -1
  22. data/rdoc/RubyXL/BooleanValue.html +1 -1
  23. data/rdoc/RubyXL/Border.html +1 -1
  24. data/rdoc/RubyXL/BorderEdge.html +1 -1
  25. data/rdoc/RubyXL/Borders.html +1 -1
  26. data/rdoc/RubyXL/Break.html +1 -1
  27. data/rdoc/RubyXL/BreakList.html +1 -1
  28. data/rdoc/RubyXL/CT_AdjPoint2D.html +1 -1
  29. data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +1 -1
  30. data/rdoc/RubyXL/CT_AlphaModulateEffect.html +1 -1
  31. data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +1 -1
  32. data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +1 -1
  33. data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +1 -1
  34. data/rdoc/RubyXL/CT_Backdrop.html +1 -1
  35. data/rdoc/RubyXL/CT_Bevel.html +1 -1
  36. data/rdoc/RubyXL/CT_BiLevelEffect.html +1 -1
  37. data/rdoc/RubyXL/CT_BlendEffect.html +1 -1
  38. data/rdoc/RubyXL/CT_Blip.html +1 -1
  39. data/rdoc/RubyXL/CT_BlipFillProperties.html +1 -1
  40. data/rdoc/RubyXL/CT_BlurEffect.html +1 -1
  41. data/rdoc/RubyXL/CT_Camera.html +1 -1
  42. data/rdoc/RubyXL/CT_Color.html +1 -1
  43. data/rdoc/RubyXL/CT_ColorChangeEffect.html +1 -1
  44. data/rdoc/RubyXL/CT_ColorMapping.html +1 -1
  45. data/rdoc/RubyXL/CT_ColorScheme.html +1 -1
  46. data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +1 -1
  47. data/rdoc/RubyXL/CT_ConnectionSite.html +1 -1
  48. data/rdoc/RubyXL/CT_ConnectionSiteList.html +1 -1
  49. data/rdoc/RubyXL/CT_DashStop.html +1 -1
  50. data/rdoc/RubyXL/CT_DashStopList.html +1 -1
  51. data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +1 -1
  52. data/rdoc/RubyXL/CT_DuotoneEffect.html +1 -1
  53. data/rdoc/RubyXL/CT_EffectContainer.html +1 -1
  54. data/rdoc/RubyXL/CT_EffectList.html +1 -1
  55. data/rdoc/RubyXL/CT_EffectReference.html +1 -1
  56. data/rdoc/RubyXL/CT_EffectStyleItem.html +1 -1
  57. data/rdoc/RubyXL/CT_EffectStyleList.html +1 -1
  58. data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +1 -1
  59. data/rdoc/RubyXL/CT_FillEffect.html +1 -1
  60. data/rdoc/RubyXL/CT_FillOverlayEffect.html +1 -1
  61. data/rdoc/RubyXL/CT_FillStyleList.html +1 -1
  62. data/rdoc/RubyXL/CT_FlatText.html +1 -1
  63. data/rdoc/RubyXL/CT_FontCollection.html +1 -1
  64. data/rdoc/RubyXL/CT_FontReference.html +1 -1
  65. data/rdoc/RubyXL/CT_GeomGuideList.html +1 -1
  66. data/rdoc/RubyXL/CT_GlowEffect.html +1 -1
  67. data/rdoc/RubyXL/CT_GradientFillProperties.html +1 -1
  68. data/rdoc/RubyXL/CT_GradientStop.html +1 -1
  69. data/rdoc/RubyXL/CT_GradientStopList.html +1 -1
  70. data/rdoc/RubyXL/CT_HSLEffect.html +1 -1
  71. data/rdoc/RubyXL/CT_HslColor.html +1 -1
  72. data/rdoc/RubyXL/CT_Hyperlink.html +1 -1
  73. data/rdoc/RubyXL/CT_InnerShadowEffect.html +1 -1
  74. data/rdoc/RubyXL/CT_LightRig.html +1 -1
  75. data/rdoc/RubyXL/CT_LineEndProperties.html +1 -1
  76. data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +1 -1
  77. data/rdoc/RubyXL/CT_LineProperties.html +1 -1
  78. data/rdoc/RubyXL/CT_LineStyleList.html +1 -1
  79. data/rdoc/RubyXL/CT_LinearShadeProperties.html +1 -1
  80. data/rdoc/RubyXL/CT_LuminanceEffect.html +1 -1
  81. data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +1 -1
  82. data/rdoc/RubyXL/CT_OuterShadowEffect.html +1 -1
  83. data/rdoc/RubyXL/CT_Path2D.html +1 -1
  84. data/rdoc/RubyXL/CT_Path2DArcTo.html +1 -1
  85. data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +1 -1
  86. data/rdoc/RubyXL/CT_Path2DList.html +1 -1
  87. data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +1 -1
  88. data/rdoc/RubyXL/CT_Path2DTo.html +1 -1
  89. data/rdoc/RubyXL/CT_PathShadeProperties.html +1 -1
  90. data/rdoc/RubyXL/CT_PatternFillProperties.html +1 -1
  91. data/rdoc/RubyXL/CT_Point3D.html +1 -1
  92. data/rdoc/RubyXL/CT_PolarAdjustHandle.html +1 -1
  93. data/rdoc/RubyXL/CT_PresetColor.html +1 -1
  94. data/rdoc/RubyXL/CT_PresetLineDashProperties.html +1 -1
  95. data/rdoc/RubyXL/CT_PresetShadowEffect.html +1 -1
  96. data/rdoc/RubyXL/CT_PresetTextShape.html +1 -1
  97. data/rdoc/RubyXL/CT_ReflectionEffect.html +1 -1
  98. data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +1 -1
  99. data/rdoc/RubyXL/CT_RelativeRect.html +1 -1
  100. data/rdoc/RubyXL/CT_SRgbColor.html +1 -1
  101. data/rdoc/RubyXL/CT_ScRgbColor.html +1 -1
  102. data/rdoc/RubyXL/CT_Scene3D.html +1 -1
  103. data/rdoc/RubyXL/CT_SchemeColor.html +1 -1
  104. data/rdoc/RubyXL/CT_Shape3D.html +1 -1
  105. data/rdoc/RubyXL/CT_ShapeStyle.html +1 -1
  106. data/rdoc/RubyXL/CT_SoftEdgesEffect.html +1 -1
  107. data/rdoc/RubyXL/CT_SphereCoords.html +1 -1
  108. data/rdoc/RubyXL/CT_StretchInfoProperties.html +1 -1
  109. data/rdoc/RubyXL/CT_StyleMatrix.html +1 -1
  110. data/rdoc/RubyXL/CT_StyleMatrixReference.html +1 -1
  111. data/rdoc/RubyXL/CT_SupplementalFont.html +1 -1
  112. data/rdoc/RubyXL/CT_SystemColor.html +1 -1
  113. data/rdoc/RubyXL/CT_TextAutonumberBullet.html +1 -1
  114. data/rdoc/RubyXL/CT_TextBlipBullet.html +1 -1
  115. data/rdoc/RubyXL/CT_TextCharBullet.html +1 -1
  116. data/rdoc/RubyXL/CT_TextCharacterProperties.html +1 -1
  117. data/rdoc/RubyXL/CT_TextFont.html +1 -1
  118. data/rdoc/RubyXL/CT_TextListStyle.html +1 -1
  119. data/rdoc/RubyXL/CT_TextNormalAutofit.html +1 -1
  120. data/rdoc/RubyXL/CT_TextParagraphProperties.html +1 -1
  121. data/rdoc/RubyXL/CT_TextSpacing.html +1 -1
  122. data/rdoc/RubyXL/CT_TextTabStop.html +1 -1
  123. data/rdoc/RubyXL/CT_TextTabStopList.html +1 -1
  124. data/rdoc/RubyXL/CT_TileInfoProperties.html +1 -1
  125. data/rdoc/RubyXL/CT_TintEffect.html +1 -1
  126. data/rdoc/RubyXL/CT_Transform2D.html +1 -1
  127. data/rdoc/RubyXL/CT_TransformEffect.html +1 -1
  128. data/rdoc/RubyXL/CT_Vector3D.html +1 -1
  129. data/rdoc/RubyXL/CT_XYAdjustHandle.html +1 -1
  130. data/rdoc/RubyXL/CalculationChain.html +1 -1
  131. data/rdoc/RubyXL/CalculationChainCell.html +1 -1
  132. data/rdoc/RubyXL/CalculationProperties.html +1 -1
  133. data/rdoc/RubyXL/Cell.html +1 -1
  134. data/rdoc/RubyXL/CellSmartTag.html +1 -1
  135. data/rdoc/RubyXL/CellSmartTagProperty.html +1 -1
  136. data/rdoc/RubyXL/CellSmartTags.html +1 -1
  137. data/rdoc/RubyXL/CellStyle.html +1 -1
  138. data/rdoc/RubyXL/CellStyleXFs.html +1 -1
  139. data/rdoc/RubyXL/CellStyles.html +1 -1
  140. data/rdoc/RubyXL/CellValue.html +1 -1
  141. data/rdoc/RubyXL/CellWatch.html +1 -1
  142. data/rdoc/RubyXL/CellWatches.html +1 -1
  143. data/rdoc/RubyXL/CellXFs.html +1 -1
  144. data/rdoc/RubyXL/Chartsheet.html +1 -1
  145. data/rdoc/RubyXL/ChartsheetPageSetup.html +1 -1
  146. data/rdoc/RubyXL/ChartsheetProperties.html +1 -1
  147. data/rdoc/RubyXL/ChartsheetProtection.html +1 -1
  148. data/rdoc/RubyXL/ChartsheetView.html +1 -1
  149. data/rdoc/RubyXL/ChartsheetViews.html +1 -1
  150. data/rdoc/RubyXL/Color.html +1 -1
  151. data/rdoc/RubyXL/ColorFilter.html +1 -1
  152. data/rdoc/RubyXL/ColorScale.html +1 -1
  153. data/rdoc/RubyXL/ColorSet.html +1 -1
  154. data/rdoc/RubyXL/Colors.html +1 -1
  155. data/rdoc/RubyXL/ColumnRange.html +1 -1
  156. data/rdoc/RubyXL/ColumnRanges.html +1 -1
  157. data/rdoc/RubyXL/ConditionalFormatValue.html +1 -1
  158. data/rdoc/RubyXL/ConditionalFormatting.html +1 -1
  159. data/rdoc/RubyXL/ConditionalFormattingRule.html +1 -1
  160. data/rdoc/RubyXL/ContentTypeDefault.html +1 -1
  161. data/rdoc/RubyXL/ContentTypeOverride.html +1 -1
  162. data/rdoc/RubyXL/ContentTypes.html +1 -1
  163. data/rdoc/RubyXL/CoreProperties.html +1 -1
  164. data/rdoc/RubyXL/CustomColor.html +1 -1
  165. data/rdoc/RubyXL/CustomColorList.html +1 -1
  166. data/rdoc/RubyXL/CustomFilter.html +1 -1
  167. data/rdoc/RubyXL/CustomFilters.html +1 -1
  168. data/rdoc/RubyXL/CustomGeometry.html +1 -1
  169. data/rdoc/RubyXL/CustomProperties.html +1 -1
  170. data/rdoc/RubyXL/CustomProperty.html +1 -1
  171. data/rdoc/RubyXL/CustomSheetView.html +1 -1
  172. data/rdoc/RubyXL/CustomSheetViews.html +1 -1
  173. data/rdoc/RubyXL/CustomWorkbookView.html +1 -1
  174. data/rdoc/RubyXL/CustomWorkbookViews.html +1 -1
  175. data/rdoc/RubyXL/DXF.html +1 -1
  176. data/rdoc/RubyXL/DXFs.html +1 -1
  177. data/rdoc/RubyXL/DataBar.html +1 -1
  178. data/rdoc/RubyXL/DataConsolidate.html +1 -1
  179. data/rdoc/RubyXL/DataConsolidationReference.html +1 -1
  180. data/rdoc/RubyXL/DataConsolidationReferences.html +1 -1
  181. data/rdoc/RubyXL/DataType.html +1 -1
  182. data/rdoc/RubyXL/DataValidation.html +1 -1
  183. data/rdoc/RubyXL/DataValidations.html +1 -1
  184. data/rdoc/RubyXL/DateGroupItem.html +1 -1
  185. data/rdoc/RubyXL/DefinedName.html +1 -1
  186. data/rdoc/RubyXL/DefinedNames.html +1 -1
  187. data/rdoc/RubyXL/DocumentProperties.html +1 -1
  188. data/rdoc/RubyXL/DynamicFilter.html +1 -1
  189. data/rdoc/RubyXL/EmbeddedControl.html +1 -1
  190. data/rdoc/RubyXL/EmbeddedControls.html +1 -1
  191. data/rdoc/RubyXL/Extension.html +1 -1
  192. data/rdoc/RubyXL/ExtensionStorageArea.html +1 -1
  193. data/rdoc/RubyXL/Extents.html +1 -1
  194. data/rdoc/RubyXL/ExternalReference.html +1 -1
  195. data/rdoc/RubyXL/ExternalReferences.html +1 -1
  196. data/rdoc/RubyXL/ExtraColorSchemeList.html +1 -1
  197. data/rdoc/RubyXL/FieldItem.html +1 -1
  198. data/rdoc/RubyXL/FileRecoveryProperties.html +1 -1
  199. data/rdoc/RubyXL/FileSharing.html +1 -1
  200. data/rdoc/RubyXL/FileVersion.html +1 -1
  201. data/rdoc/RubyXL/Fill.html +1 -1
  202. data/rdoc/RubyXL/Fills.html +1 -1
  203. data/rdoc/RubyXL/FilterContainer.html +1 -1
  204. data/rdoc/RubyXL/FloatNode.html +1 -1
  205. data/rdoc/RubyXL/FloatValue.html +1 -1
  206. data/rdoc/RubyXL/Font.html +1 -1
  207. data/rdoc/RubyXL/FontScheme.html +1 -1
  208. data/rdoc/RubyXL/Fonts.html +1 -1
  209. data/rdoc/RubyXL/Formula.html +1 -1
  210. data/rdoc/RubyXL/FunctionGroup.html +1 -1
  211. data/rdoc/RubyXL/FunctionGroups.html +1 -1
  212. data/rdoc/RubyXL/GenericStorage.html +1 -1
  213. data/rdoc/RubyXL/GradientFill.html +1 -1
  214. data/rdoc/RubyXL/HeaderFooterSettings.html +1 -1
  215. data/rdoc/RubyXL/Hyperlink.html +1 -1
  216. data/rdoc/RubyXL/Hyperlinks.html +1 -1
  217. data/rdoc/RubyXL/IconFilter.html +1 -1
  218. data/rdoc/RubyXL/IconSet.html +1 -1
  219. data/rdoc/RubyXL/IgnoredError.html +1 -1
  220. data/rdoc/RubyXL/IgnoredErrors.html +1 -1
  221. data/rdoc/RubyXL/IndexedColors.html +1 -1
  222. data/rdoc/RubyXL/InputCells.html +1 -1
  223. data/rdoc/RubyXL/IntegerNode.html +1 -1
  224. data/rdoc/RubyXL/IntegerValue.html +1 -1
  225. data/rdoc/RubyXL/LegacyCell.html +61 -56
  226. data/rdoc/RubyXL/LegacyWorkbook.html +1 -1
  227. data/rdoc/RubyXL/LegacyWorksheet.html +82 -131
  228. data/rdoc/RubyXL/MRUColors.html +1 -1
  229. data/rdoc/RubyXL/MergedCell.html +1 -1
  230. data/rdoc/RubyXL/MergedCells.html +1 -1
  231. data/rdoc/RubyXL/NumFmt.html +1 -1
  232. data/rdoc/RubyXL/NumberFormat.html +1 -1
  233. data/rdoc/RubyXL/NumberFormats.html +1 -1
  234. data/rdoc/RubyXL/OLEObject.html +1 -1
  235. data/rdoc/RubyXL/OLEObjects.html +1 -1
  236. data/rdoc/RubyXL/OLESize.html +1 -1
  237. data/rdoc/RubyXL/OOXMLContainerObject.html +1 -1
  238. data/rdoc/RubyXL/OOXMLObject.html +1 -1
  239. data/rdoc/RubyXL/OOXMLObjectClassMethods.html +1 -1
  240. data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +1 -1
  241. data/rdoc/RubyXL/OOXMLRelationshipsFile.html +1 -1
  242. data/rdoc/RubyXL/OOXMLTopLevelObject.html +1 -1
  243. data/rdoc/RubyXL/Offset.html +1 -1
  244. data/rdoc/RubyXL/OutlineProperties.html +1 -1
  245. data/rdoc/RubyXL/PageMargins.html +1 -1
  246. data/rdoc/RubyXL/PageSetup.html +1 -1
  247. data/rdoc/RubyXL/PageSetupProperties.html +1 -1
  248. data/rdoc/RubyXL/Pane.html +1 -1
  249. data/rdoc/RubyXL/Parser.html +1 -1
  250. data/rdoc/RubyXL/PatternFill.html +1 -1
  251. data/rdoc/RubyXL/PhoneticProperties.html +1 -1
  252. data/rdoc/RubyXL/PhoneticRun.html +1 -1
  253. data/rdoc/RubyXL/PivotArea.html +1 -1
  254. data/rdoc/RubyXL/PivotCache.html +1 -1
  255. data/rdoc/RubyXL/PivotCaches.html +1 -1
  256. data/rdoc/RubyXL/PivotReference.html +1 -1
  257. data/rdoc/RubyXL/PivotReferences.html +1 -1
  258. data/rdoc/RubyXL/PivotTableSelection.html +1 -1
  259. data/rdoc/RubyXL/PresetGeometry.html +1 -1
  260. data/rdoc/RubyXL/PrintOptions.html +1 -1
  261. data/rdoc/RubyXL/ProtectedRange.html +1 -1
  262. data/rdoc/RubyXL/ProtectedRanges.html +1 -1
  263. data/rdoc/RubyXL/Protection.html +1 -1
  264. data/rdoc/RubyXL/RID.html +1 -1
  265. data/rdoc/RubyXL/RawOOXML.html +1 -1
  266. data/rdoc/RubyXL/Reference.html +1 -1
  267. data/rdoc/RubyXL/Relationship.html +1 -1
  268. data/rdoc/RubyXL/RichText.html +1 -1
  269. data/rdoc/RubyXL/RichTextRun.html +1 -1
  270. data/rdoc/RubyXL/RootRelationships.html +1 -1
  271. data/rdoc/RubyXL/Row.html +1 -1
  272. data/rdoc/RubyXL/RunProperties.html +1 -1
  273. data/rdoc/RubyXL/Scenario.html +1 -1
  274. data/rdoc/RubyXL/Scenarios.html +1 -1
  275. data/rdoc/RubyXL/Selection.html +1 -1
  276. data/rdoc/RubyXL/ShapeGuide.html +1 -1
  277. data/rdoc/RubyXL/ShapeTextRectangle.html +1 -1
  278. data/rdoc/RubyXL/SharedStringsTable.html +1 -1
  279. data/rdoc/RubyXL/Sheet.html +1 -1
  280. data/rdoc/RubyXL/SheetCalculationProperties.html +1 -1
  281. data/rdoc/RubyXL/SheetData.html +1 -1
  282. data/rdoc/RubyXL/Sheets.html +1 -1
  283. data/rdoc/RubyXL/SmartTagProperties.html +1 -1
  284. data/rdoc/RubyXL/SmartTagType.html +1 -1
  285. data/rdoc/RubyXL/SmartTagTypes.html +1 -1
  286. data/rdoc/RubyXL/SmartTags.html +1 -1
  287. data/rdoc/RubyXL/SortCondition.html +1 -1
  288. data/rdoc/RubyXL/SortState.html +1 -1
  289. data/rdoc/RubyXL/Sqref.html +1 -1
  290. data/rdoc/RubyXL/Stop.html +1 -1
  291. data/rdoc/RubyXL/StringNode.html +1 -1
  292. data/rdoc/RubyXL/StringNodeW3C.html +1 -1
  293. data/rdoc/RubyXL/StringValue.html +1 -1
  294. data/rdoc/RubyXL/Stylesheet.html +1 -1
  295. data/rdoc/RubyXL/TableParts.html +1 -1
  296. data/rdoc/RubyXL/TableStyle.html +1 -1
  297. data/rdoc/RubyXL/TableStyles.html +1 -1
  298. data/rdoc/RubyXL/Text.html +1 -1
  299. data/rdoc/RubyXL/Theme.html +1 -1
  300. data/rdoc/RubyXL/ThemeElements.html +1 -1
  301. data/rdoc/RubyXL/Top10.html +1 -1
  302. data/rdoc/RubyXL/Variant.html +1 -1
  303. data/rdoc/RubyXL/Vector.html +1 -1
  304. data/rdoc/RubyXL/VectorValue.html +1 -1
  305. data/rdoc/RubyXL/VisualProperties.html +1 -1
  306. data/rdoc/RubyXL/WebPublishObject.html +1 -1
  307. data/rdoc/RubyXL/WebPublishObjects.html +1 -1
  308. data/rdoc/RubyXL/WebPublishingItem.html +1 -1
  309. data/rdoc/RubyXL/WebPublishingItems.html +1 -1
  310. data/rdoc/RubyXL/WebPublishingProperties.html +1 -1
  311. data/rdoc/RubyXL/Workbook.html +1 -1
  312. data/rdoc/RubyXL/WorkbookProperties.html +1 -1
  313. data/rdoc/RubyXL/WorkbookProtection.html +1 -1
  314. data/rdoc/RubyXL/WorkbookRelationships.html +1 -1
  315. data/rdoc/RubyXL/WorkbookView.html +1 -1
  316. data/rdoc/RubyXL/WorkbookViews.html +1 -1
  317. data/rdoc/RubyXL/Worksheet.html +1 -1
  318. data/rdoc/RubyXL/WorksheetDimensions.html +1 -1
  319. data/rdoc/RubyXL/WorksheetFormatProperties.html +1 -1
  320. data/rdoc/RubyXL/WorksheetProperties.html +1 -1
  321. data/rdoc/RubyXL/WorksheetProtection.html +1 -1
  322. data/rdoc/RubyXL/WorksheetView.html +1 -1
  323. data/rdoc/RubyXL/WorksheetViews.html +1 -1
  324. data/rdoc/RubyXL/XF.html +1 -1
  325. data/rdoc/created.rid +7 -7
  326. data/rdoc/index.html +2 -2
  327. data/rdoc/js/search_index.js +1 -1
  328. data/rdoc/table_of_contents.html +3 -2
  329. data/rubyXL.gemspec +5 -2
  330. data/spec/lib/cell_spec.rb +1 -1
  331. data/spec/lib/parser_spec.rb +9 -0
  332. metadata +15 -1
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::FieldItem - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::FieldItem - rubyXL 2.5.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::FileRecoveryProperties - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::FileRecoveryProperties - rubyXL 2.5.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::FileSharing - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::FileSharing - rubyXL 2.5.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::FileVersion - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::FileVersion - rubyXL 2.5.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::Fill - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::Fill - rubyXL 2.5.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::Fills - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::Fills - rubyXL 2.5.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::FilterContainer - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::FilterContainer - rubyXL 2.5.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::FloatNode - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::FloatNode - rubyXL 2.5.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::FloatValue - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::FloatValue - rubyXL 2.5.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::Font - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::Font - rubyXL 2.5.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::FontScheme - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::FontScheme - rubyXL 2.5.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::Fonts - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::Fonts - rubyXL 2.5.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::Formula - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::Formula - rubyXL 2.5.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::FunctionGroup - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::FunctionGroup - rubyXL 2.5.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::FunctionGroups - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::FunctionGroups - rubyXL 2.5.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::GenericStorage - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::GenericStorage - rubyXL 2.5.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::GradientFill - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::GradientFill - rubyXL 2.5.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::HeaderFooterSettings - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::HeaderFooterSettings - rubyXL 2.5.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::Hyperlink - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::Hyperlink - rubyXL 2.5.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::Hyperlinks - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::Hyperlinks - rubyXL 2.5.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::IconFilter - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::IconFilter - rubyXL 2.5.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::IconSet - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::IconSet - rubyXL 2.5.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::IgnoredError - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::IgnoredError - rubyXL 2.5.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::IgnoredErrors - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::IgnoredErrors - rubyXL 2.5.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::IndexedColors - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::IndexedColors - rubyXL 2.5.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::InputCells - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::InputCells - rubyXL 2.5.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::IntegerNode - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::IntegerNode - rubyXL 2.5.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::IntegerValue - rubyXL 2.5.2</title>
7
+ <title>class RubyXL::IntegerValue - rubyXL 2.5.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>module RubyXL::LegacyCell - rubyXL 2.5.2</title>
7
+ <title>module RubyXL::LegacyCell - rubyXL 2.5.3</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -223,7 +223,7 @@
223
223
 
224
224
 
225
225
  <div class="method-source-code" id="border_bottom-source">
226
- <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 239</span>
226
+ <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 243</span>
227
227
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">border_bottom</span>()
228
228
  <span class="ruby-keyword">return</span> <span class="ruby-identifier">get_border</span>(<span class="ruby-value">:bottom</span>)
229
229
  <span class="ruby-keyword">end</span></pre>
@@ -256,7 +256,7 @@
256
256
 
257
257
 
258
258
  <div class="method-source-code" id="border_diagonal-source">
259
- <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 244</span>
259
+ <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 248</span>
260
260
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">border_diagonal</span>()
261
261
  <span class="ruby-keyword">return</span> <span class="ruby-identifier">get_border</span>(<span class="ruby-value">:diagonal</span>)
262
262
  <span class="ruby-keyword">end</span></pre>
@@ -289,7 +289,7 @@
289
289
 
290
290
 
291
291
  <div class="method-source-code" id="border_left-source">
292
- <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 229</span>
292
+ <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 233</span>
293
293
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">border_left</span>()
294
294
  <span class="ruby-keyword">return</span> <span class="ruby-identifier">get_border</span>(<span class="ruby-value">:left</span>)
295
295
  <span class="ruby-keyword">end</span></pre>
@@ -322,7 +322,7 @@
322
322
 
323
323
 
324
324
  <div class="method-source-code" id="border_right-source">
325
- <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 234</span>
325
+ <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 238</span>
326
326
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">border_right</span>()
327
327
  <span class="ruby-keyword">return</span> <span class="ruby-identifier">get_border</span>(<span class="ruby-value">:right</span>)
328
328
  <span class="ruby-keyword">end</span></pre>
@@ -355,7 +355,7 @@
355
355
 
356
356
 
357
357
  <div class="method-source-code" id="border_top-source">
358
- <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 224</span>
358
+ <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 228</span>
359
359
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">border_top</span>()
360
360
  <span class="ruby-keyword">return</span> <span class="ruby-identifier">get_border</span>(<span class="ruby-value">:top</span>)
361
361
  <span class="ruby-keyword">end</span></pre>
@@ -373,7 +373,7 @@
373
373
 
374
374
  <div class="method-heading">
375
375
  <span class="method-name">change_border_bottom</span><span
376
- class="method-args">(weight='thin')</span>
376
+ class="method-args">(weight = 'thin')</span>
377
377
 
378
378
  <span class="method-click-advice">click to toggle source</span>
379
379
 
@@ -389,7 +389,7 @@
389
389
 
390
390
  <div class="method-source-code" id="change_border_bottom-source">
391
391
  <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 133</span>
392
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_bottom</span>(<span class="ruby-identifier">weight</span>=<span class="ruby-string">&#39;thin&#39;</span>)
392
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_bottom</span>(<span class="ruby-identifier">weight</span> = <span class="ruby-string">&#39;thin&#39;</span>)
393
393
  <span class="ruby-identifier">change_border</span>(<span class="ruby-value">:bottom</span>, <span class="ruby-identifier">weight</span>)
394
394
  <span class="ruby-keyword">end</span></pre>
395
395
  </div>
@@ -406,7 +406,7 @@
406
406
 
407
407
  <div class="method-heading">
408
408
  <span class="method-name">change_border_diagonal</span><span
409
- class="method-args">(weight='thin')</span>
409
+ class="method-args">(weight = 'thin')</span>
410
410
 
411
411
  <span class="method-click-advice">click to toggle source</span>
412
412
 
@@ -422,7 +422,7 @@
422
422
 
423
423
  <div class="method-source-code" id="change_border_diagonal-source">
424
424
  <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 138</span>
425
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_diagonal</span>(<span class="ruby-identifier">weight</span>=<span class="ruby-string">&#39;thin&#39;</span>)
425
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_diagonal</span>(<span class="ruby-identifier">weight</span> = <span class="ruby-string">&#39;thin&#39;</span>)
426
426
  <span class="ruby-identifier">change_border</span>(<span class="ruby-value">:diagonal</span>, <span class="ruby-identifier">weight</span>)
427
427
  <span class="ruby-keyword">end</span></pre>
428
428
  </div>
@@ -439,7 +439,7 @@
439
439
 
440
440
  <div class="method-heading">
441
441
  <span class="method-name">change_border_left</span><span
442
- class="method-args">(weight='thin')</span>
442
+ class="method-args">(weight = 'thin')</span>
443
443
 
444
444
  <span class="method-click-advice">click to toggle source</span>
445
445
 
@@ -455,7 +455,7 @@
455
455
 
456
456
  <div class="method-source-code" id="change_border_left-source">
457
457
  <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 123</span>
458
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_left</span>(<span class="ruby-identifier">weight</span>=<span class="ruby-string">&#39;thin&#39;</span>)
458
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_left</span>(<span class="ruby-identifier">weight</span> = <span class="ruby-string">&#39;thin&#39;</span>)
459
459
  <span class="ruby-identifier">change_border</span>(<span class="ruby-value">:left</span>, <span class="ruby-identifier">weight</span>)
460
460
  <span class="ruby-keyword">end</span></pre>
461
461
  </div>
@@ -472,7 +472,7 @@
472
472
 
473
473
  <div class="method-heading">
474
474
  <span class="method-name">change_border_right</span><span
475
- class="method-args">(weight='thin')</span>
475
+ class="method-args">(weight = 'thin')</span>
476
476
 
477
477
  <span class="method-click-advice">click to toggle source</span>
478
478
 
@@ -488,7 +488,7 @@
488
488
 
489
489
  <div class="method-source-code" id="change_border_right-source">
490
490
  <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 128</span>
491
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_right</span>(<span class="ruby-identifier">weight</span>=<span class="ruby-string">&#39;thin&#39;</span>)
491
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_right</span>(<span class="ruby-identifier">weight</span> = <span class="ruby-string">&#39;thin&#39;</span>)
492
492
  <span class="ruby-identifier">change_border</span>(<span class="ruby-value">:right</span>, <span class="ruby-identifier">weight</span>)
493
493
  <span class="ruby-keyword">end</span></pre>
494
494
  </div>
@@ -505,7 +505,7 @@
505
505
 
506
506
  <div class="method-heading">
507
507
  <span class="method-name">change_border_top</span><span
508
- class="method-args">(weight='thin')</span>
508
+ class="method-args">(weight = 'thin')</span>
509
509
 
510
510
  <span class="method-click-advice">click to toggle source</span>
511
511
 
@@ -521,7 +521,7 @@
521
521
 
522
522
  <div class="method-source-code" id="change_border_top-source">
523
523
  <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 118</span>
524
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_top</span>(<span class="ruby-identifier">weight</span>=<span class="ruby-string">&#39;thin&#39;</span>)
524
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_top</span>(<span class="ruby-identifier">weight</span> = <span class="ruby-string">&#39;thin&#39;</span>)
525
525
  <span class="ruby-identifier">change_border</span>(<span class="ruby-value">:top</span>, <span class="ruby-identifier">weight</span>)
526
526
  <span class="ruby-keyword">end</span></pre>
527
527
  </div>
@@ -538,7 +538,7 @@
538
538
 
539
539
  <div class="method-heading">
540
540
  <span class="method-name">change_contents</span><span
541
- class="method-args">(data, formula=nil)</span>
541
+ class="method-args">(data, formula_expression = nil)</span>
542
542
 
543
543
  <span class="method-click-advice">click to toggle source</span>
544
544
 
@@ -547,24 +547,29 @@
547
547
 
548
548
  <div class="method-description">
549
549
 
550
- <p>changes contents of cell, with formula option</p>
550
+
551
551
 
552
552
 
553
553
 
554
554
 
555
555
  <div class="method-source-code" id="change_contents-source">
556
- <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 143</span>
557
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_contents</span>(<span class="ruby-identifier">data</span>, <span class="ruby-identifier">formula</span>=<span class="ruby-keyword">nil</span>)
556
+ <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 142</span>
557
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_contents</span>(<span class="ruby-identifier">data</span>, <span class="ruby-identifier">formula_expression</span> = <span class="ruby-keyword">nil</span>)
558
558
  <span class="ruby-identifier">validate_worksheet</span>
559
- <span class="ruby-keyword">self</span>.<span class="ruby-identifier">datatype</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>
560
559
 
561
- <span class="ruby-keyword">case</span> <span class="ruby-identifier">data</span>
562
- <span class="ruby-keyword">when</span> <span class="ruby-constant">Date</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">data</span> = <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">date_to_num</span>(<span class="ruby-identifier">data</span>)
563
- <span class="ruby-keyword">when</span> <span class="ruby-constant">Integer</span>, <span class="ruby-constant">Float</span> <span class="ruby-keyword">then</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">datatype</span> = <span class="ruby-string">&#39;&#39;</span>
560
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">formula_expression</span> <span class="ruby-keyword">then</span>
561
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">datatype</span> = <span class="ruby-keyword">nil</span>
562
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">formula</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Formula</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:expression</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">formula_expression</span>)
563
+ <span class="ruby-keyword">else</span>
564
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">datatype</span> = <span class="ruby-keyword">case</span> <span class="ruby-identifier">data</span>
565
+ <span class="ruby-keyword">when</span> <span class="ruby-constant">Date</span>, <span class="ruby-constant">Integer</span>, <span class="ruby-constant">Float</span> <span class="ruby-keyword">then</span> <span class="ruby-keyword">nil</span>
566
+ <span class="ruby-keyword">else</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>
567
+ <span class="ruby-keyword">end</span>
564
568
  <span class="ruby-keyword">end</span>
565
569
 
570
+ <span class="ruby-identifier">data</span> = <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">date_to_num</span>(<span class="ruby-identifier">data</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">data</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Date</span>)
571
+
566
572
  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">raw_value</span> = <span class="ruby-identifier">data</span>
567
- <span class="ruby-ivar">@formula</span> = <span class="ruby-identifier">formula</span>
568
573
  <span class="ruby-keyword">end</span></pre>
569
574
  </div>
570
575
 
@@ -615,7 +620,7 @@
615
620
 
616
621
  <div class="method-heading">
617
622
  <span class="method-name">change_font_bold</span><span
618
- class="method-args">(bolded=false)</span>
623
+ class="method-args">(bolded = false)</span>
619
624
 
620
625
  <span class="method-click-advice">click to toggle source</span>
621
626
 
@@ -631,7 +636,7 @@
631
636
 
632
637
  <div class="method-source-code" id="change_font_bold-source">
633
638
  <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 67</span>
634
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_bold</span>(<span class="ruby-identifier">bolded</span>=<span class="ruby-keyword">false</span>)
639
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_bold</span>(<span class="ruby-identifier">bolded</span> = <span class="ruby-keyword">false</span>)
635
640
  <span class="ruby-identifier">validate_worksheet</span>
636
641
 
637
642
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">dup</span>
@@ -652,7 +657,7 @@
652
657
 
653
658
  <div class="method-heading">
654
659
  <span class="method-name">change_font_color</span><span
655
- class="method-args">(font_color='000000')</span>
660
+ class="method-args">(font_color = '000000')</span>
656
661
 
657
662
  <span class="method-click-advice">click to toggle source</span>
658
663
 
@@ -668,7 +673,7 @@
668
673
 
669
674
  <div class="method-source-code" id="change_font_color-source">
670
675
  <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 48</span>
671
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_color</span>(<span class="ruby-identifier">font_color</span>=<span class="ruby-string">&#39;000000&#39;</span>)
676
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_color</span>(<span class="ruby-identifier">font_color</span> = <span class="ruby-string">&#39;000000&#39;</span>)
672
677
  <span class="ruby-identifier">validate_worksheet</span>
673
678
  <span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">font_color</span>)
674
679
 
@@ -690,7 +695,7 @@
690
695
 
691
696
  <div class="method-heading">
692
697
  <span class="method-name">change_font_italics</span><span
693
- class="method-args">(italicized=false)</span>
698
+ class="method-args">(italicized = false)</span>
694
699
 
695
700
  <span class="method-click-advice">click to toggle source</span>
696
701
 
@@ -706,7 +711,7 @@
706
711
 
707
712
  <div class="method-source-code" id="change_font_italics-source">
708
713
  <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 58</span>
709
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_italics</span>(<span class="ruby-identifier">italicized</span>=<span class="ruby-keyword">false</span>)
714
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_italics</span>(<span class="ruby-identifier">italicized</span> = <span class="ruby-keyword">false</span>)
710
715
  <span class="ruby-identifier">validate_worksheet</span>
711
716
 
712
717
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">dup</span>
@@ -764,7 +769,7 @@
764
769
 
765
770
  <div class="method-heading">
766
771
  <span class="method-name">change_font_size</span><span
767
- class="method-args">(font_size=10)</span>
772
+ class="method-args">(font_size = 10)</span>
768
773
 
769
774
  <span class="method-click-advice">click to toggle source</span>
770
775
 
@@ -780,7 +785,7 @@
780
785
 
781
786
  <div class="method-source-code" id="change_font_size-source">
782
787
  <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 38</span>
783
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_size</span>(<span class="ruby-identifier">font_size</span>=<span class="ruby-value">10</span>)
788
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_size</span>(<span class="ruby-identifier">font_size</span> = <span class="ruby-value">10</span>)
784
789
  <span class="ruby-identifier">validate_worksheet</span>
785
790
  <span class="ruby-identifier">raise</span> <span class="ruby-string">&#39;Argument must be a number&#39;</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">font_size</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Integer</span>) <span class="ruby-operator">||</span> <span class="ruby-identifier">font_size</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Float</span>)
786
791
 
@@ -802,7 +807,7 @@
802
807
 
803
808
  <div class="method-heading">
804
809
  <span class="method-name">change_font_strikethrough</span><span
805
- class="method-args">(struckthrough=false)</span>
810
+ class="method-args">(struckthrough = false)</span>
806
811
 
807
812
  <span class="method-click-advice">click to toggle source</span>
808
813
 
@@ -818,7 +823,7 @@
818
823
 
819
824
  <div class="method-source-code" id="change_font_strikethrough-source">
820
825
  <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 84</span>
821
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_strikethrough</span>(<span class="ruby-identifier">struckthrough</span>=<span class="ruby-keyword">false</span>)
826
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_strikethrough</span>(<span class="ruby-identifier">struckthrough</span> = <span class="ruby-keyword">false</span>)
822
827
  <span class="ruby-identifier">validate_worksheet</span>
823
828
 
824
829
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">dup</span>
@@ -839,7 +844,7 @@
839
844
 
840
845
  <div class="method-heading">
841
846
  <span class="method-name">change_font_underline</span><span
842
- class="method-args">(underlined=false)</span>
847
+ class="method-args">(underlined = false)</span>
843
848
 
844
849
  <span class="method-click-advice">click to toggle source</span>
845
850
 
@@ -855,7 +860,7 @@
855
860
 
856
861
  <div class="method-source-code" id="change_font_underline-source">
857
862
  <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 76</span>
858
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_underline</span>(<span class="ruby-identifier">underlined</span>=<span class="ruby-keyword">false</span>)
863
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_underline</span>(<span class="ruby-identifier">underlined</span> = <span class="ruby-keyword">false</span>)
859
864
  <span class="ruby-identifier">validate_worksheet</span>
860
865
 
861
866
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">dup</span>
@@ -876,7 +881,7 @@
876
881
 
877
882
  <div class="method-heading">
878
883
  <span class="method-name">change_horizontal_alignment</span><span
879
- class="method-args">(alignment='center')</span>
884
+ class="method-args">(alignment = 'center')</span>
880
885
 
881
886
  <span class="method-click-advice">click to toggle source</span>
882
887
 
@@ -892,7 +897,7 @@
892
897
 
893
898
  <div class="method-source-code" id="change_horizontal_alignment-source">
894
899
  <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 100</span>
895
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_horizontal_alignment</span>(<span class="ruby-identifier">alignment</span>=<span class="ruby-string">&#39;center&#39;</span>)
900
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_horizontal_alignment</span>(<span class="ruby-identifier">alignment</span> = <span class="ruby-string">&#39;center&#39;</span>)
896
901
  <span class="ruby-identifier">validate_worksheet</span>
897
902
  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">style_index</span> = <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">modify_alignment</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">style_index</span>, <span class="ruby-keyword">true</span>, <span class="ruby-identifier">alignment</span>)
898
903
  <span class="ruby-keyword">end</span></pre>
@@ -910,7 +915,7 @@
910
915
 
911
916
  <div class="method-heading">
912
917
  <span class="method-name">change_text_wrap</span><span
913
- class="method-args">(wrap=false)</span>
918
+ class="method-args">(wrap = false)</span>
914
919
 
915
920
  <span class="method-click-advice">click to toggle source</span>
916
921
 
@@ -926,7 +931,7 @@
926
931
 
927
932
  <div class="method-source-code" id="change_text_wrap-source">
928
933
  <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 112</span>
929
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_text_wrap</span>(<span class="ruby-identifier">wrap</span>=<span class="ruby-keyword">false</span>)
934
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_text_wrap</span>(<span class="ruby-identifier">wrap</span> = <span class="ruby-keyword">false</span>)
930
935
  <span class="ruby-identifier">validate_worksheet</span>
931
936
  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">style_index</span> = <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">modify_text_wrap</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">style_index</span>, <span class="ruby-identifier">wrap</span>)
932
937
  <span class="ruby-keyword">end</span></pre>
@@ -944,7 +949,7 @@
944
949
 
945
950
  <div class="method-heading">
946
951
  <span class="method-name">change_vertical_alignment</span><span
947
- class="method-args">(alignment='center')</span>
952
+ class="method-args">(alignment = 'center')</span>
948
953
 
949
954
  <span class="method-click-advice">click to toggle source</span>
950
955
 
@@ -960,7 +965,7 @@
960
965
 
961
966
  <div class="method-source-code" id="change_vertical_alignment-source">
962
967
  <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 106</span>
963
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_vertical_alignment</span>(<span class="ruby-identifier">alignment</span>=<span class="ruby-string">&#39;center&#39;</span>)
968
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_vertical_alignment</span>(<span class="ruby-identifier">alignment</span> = <span class="ruby-string">&#39;center&#39;</span>)
964
969
  <span class="ruby-identifier">validate_worksheet</span>
965
970
  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">style_index</span> = <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">modify_alignment</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">style_index</span>, <span class="ruby-keyword">false</span>, <span class="ruby-identifier">alignment</span>)
966
971
  <span class="ruby-keyword">end</span></pre>
@@ -993,7 +998,7 @@
993
998
 
994
999
 
995
1000
  <div class="method-source-code" id="fill_color-source">
996
- <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 194</span>
1001
+ <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 198</span>
997
1002
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">fill_color</span>()
998
1003
  <span class="ruby-identifier">validate_worksheet</span>
999
1004
  <span class="ruby-keyword">return</span> <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">get_fill_color</span>(<span class="ruby-identifier">get_cell_xf</span>)
@@ -1027,7 +1032,7 @@
1027
1032
 
1028
1033
 
1029
1034
  <div class="method-source-code" id="font_color-source">
1030
- <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 188</span>
1035
+ <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 192</span>
1031
1036
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">font_color</span>()
1032
1037
  <span class="ruby-identifier">validate_worksheet</span>
1033
1038
  <span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">get_rgb_color</span> <span class="ruby-operator">||</span> <span class="ruby-string">&#39;000000&#39;</span>
@@ -1061,7 +1066,7 @@
1061
1066
 
1062
1067
 
1063
1068
  <div class="method-source-code" id="font_name-source">
1064
- <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 178</span>
1069
+ <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 182</span>
1065
1070
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">font_name</span>()
1066
1071
  <span class="ruby-identifier">validate_worksheet</span>
1067
1072
  <span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">get_name</span>
@@ -1095,7 +1100,7 @@
1095
1100
 
1096
1101
 
1097
1102
  <div class="method-source-code" id="font_size-source">
1098
- <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 183</span>
1103
+ <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 187</span>
1099
1104
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">font_size</span>()
1100
1105
  <span class="ruby-identifier">validate_worksheet</span>
1101
1106
  <span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">get_size</span>
@@ -1129,7 +1134,7 @@
1129
1134
 
1130
1135
 
1131
1136
  <div class="method-source-code" id="horizontal_alignment-source">
1132
- <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 200</span>
1137
+ <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 204</span>
1133
1138
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">horizontal_alignment</span>()
1134
1139
  <span class="ruby-identifier">validate_worksheet</span>
1135
1140
  <span class="ruby-identifier">xf_obj</span> = <span class="ruby-identifier">get_cell_xf</span>
@@ -1165,10 +1170,10 @@
1165
1170
 
1166
1171
 
1167
1172
  <div class="method-source-code" id="inspect-source">
1168
- <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 248</span>
1173
+ <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 252</span>
1169
1174
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">inspect</span>
1170
1175
  <span class="ruby-identifier">str</span> = <span class="ruby-node">&quot;#&lt;#{self.class}(#{row},#{column}): #{raw_value.inspect}&quot;</span>
1171
- <span class="ruby-identifier">str</span> <span class="ruby-operator">+=</span> <span class="ruby-node">&quot; =#{@formula}&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@formula</span>
1176
+ <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>
1172
1177
  <span class="ruby-identifier">str</span> <span class="ruby-operator">+=</span> <span class="ruby-node">&quot;, datatype = #{self.datatype}, style_index = #{self.style_index}&gt;&quot;</span>
1173
1178
  <span class="ruby-keyword">return</span> <span class="ruby-identifier">str</span>
1174
1179
  <span class="ruby-keyword">end</span></pre>
@@ -1201,7 +1206,7 @@
1201
1206
 
1202
1207
 
1203
1208
  <div class="method-source-code" id="is_bolded-source">
1204
- <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 163</span>
1209
+ <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 167</span>
1205
1210
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">is_bolded</span>()
1206
1211
  <span class="ruby-identifier">validate_worksheet</span>
1207
1212
  <span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_bold</span>
@@ -1235,7 +1240,7 @@
1235
1240
 
1236
1241
 
1237
1242
  <div class="method-source-code" id="is_italicized-source">
1238
- <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 157</span>
1243
+ <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 161</span>
1239
1244
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">is_italicized</span>()
1240
1245
  <span class="ruby-identifier">validate_worksheet</span>
1241
1246
  <span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_italic</span>
@@ -1269,7 +1274,7 @@
1269
1274
 
1270
1275
 
1271
1276
  <div class="method-source-code" id="is_struckthrough-source">
1272
- <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 173</span>
1277
+ <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 177</span>
1273
1278
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">is_struckthrough</span>()
1274
1279
  <span class="ruby-identifier">validate_worksheet</span>
1275
1280
  <span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_strikethrough</span>
@@ -1303,7 +1308,7 @@
1303
1308
 
1304
1309
 
1305
1310
  <div class="method-source-code" id="is_underlined-source">
1306
- <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 168</span>
1311
+ <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 172</span>
1307
1312
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">is_underlined</span>()
1308
1313
  <span class="ruby-identifier">validate_worksheet</span>
1309
1314
  <span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_underlined</span>
@@ -1337,7 +1342,7 @@
1337
1342
 
1338
1343
 
1339
1344
  <div class="method-source-code" id="text_wrap-source">
1340
- <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 216</span>
1345
+ <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 220</span>
1341
1346
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">text_wrap</span>()
1342
1347
  <span class="ruby-identifier">validate_worksheet</span>
1343
1348
  <span class="ruby-identifier">xf_obj</span> = <span class="ruby-identifier">get_cell_xf</span>
@@ -1373,7 +1378,7 @@
1373
1378
 
1374
1379
 
1375
1380
  <div class="method-source-code" id="vertical_alignment-source">
1376
- <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 208</span>
1381
+ <pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 212</span>
1377
1382
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">vertical_alignment</span>()
1378
1383
  <span class="ruby-identifier">validate_worksheet</span>
1379
1384
  <span class="ruby-identifier">xf_obj</span> = <span class="ruby-identifier">get_cell_xf</span>