rubyXL 3.4.10 → 3.4.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (418) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +2 -1
  3. data/Gemfile +1 -1
  4. data/Gemfile.lock +23 -23
  5. data/LICENSE.txt +1 -1
  6. data/README.rdoc +6 -1
  7. data/VERSION +1 -1
  8. data/lib/rubyXL/convenience_methods/cell.rb +1 -1
  9. data/lib/rubyXL/convenience_methods/color.rb +5 -3
  10. data/lib/rubyXL/convenience_methods/worksheet.rb +12 -0
  11. data/lib/rubyXL/objects/chartsheet.rb +1 -1
  12. data/lib/rubyXL/objects/data_validation.rb +2 -0
  13. data/lib/rubyXL/objects/document_properties.rb +2 -2
  14. data/lib/rubyXL/objects/external_links.rb +25 -1
  15. data/lib/rubyXL/objects/ooxml_object.rb +10 -0
  16. data/lib/rubyXL/objects/relationships.rb +1 -1
  17. data/lib/rubyXL/objects/sheet_data.rb +2 -2
  18. data/lib/rubyXL/objects/storage.rb +1 -0
  19. data/lib/rubyXL/objects/text.rb +1 -1
  20. data/lib/rubyXL/objects/theme.rb +1 -1
  21. data/lib/rubyXL/objects/workbook.rb +12 -6
  22. data/lib/rubyXL/objects/worksheet.rb +7 -7
  23. data/lib/rubyXL/worksheet.rb +1 -1
  24. data/rdoc/README_rdoc.html +11 -3
  25. data/rdoc/RubyXL.html +4 -2
  26. data/rdoc/RubyXL/AExtension.html +4 -2
  27. data/rdoc/RubyXL/AExtensionStorageArea.html +4 -2
  28. data/rdoc/RubyXL/ActiveX.html +5 -3
  29. data/rdoc/RubyXL/ActiveXBinary.html +4 -2
  30. data/rdoc/RubyXL/AdjustHandleList.html +4 -2
  31. data/rdoc/RubyXL/Alignment.html +4 -2
  32. data/rdoc/RubyXL/AlternateContent.html +4 -2
  33. data/rdoc/RubyXL/Authors.html +4 -2
  34. data/rdoc/RubyXL/AutoFilter.html +4 -2
  35. data/rdoc/RubyXL/AutoFilterColumn.html +4 -2
  36. data/rdoc/RubyXL/BinaryImageFile.html +4 -2
  37. data/rdoc/RubyXL/BodyProperties.html +4 -2
  38. data/rdoc/RubyXL/BooleanNode.html +4 -2
  39. data/rdoc/RubyXL/BooleanValue.html +4 -2
  40. data/rdoc/RubyXL/Border.html +4 -2
  41. data/rdoc/RubyXL/BorderEdge.html +4 -2
  42. data/rdoc/RubyXL/Borders.html +4 -2
  43. data/rdoc/RubyXL/Break.html +4 -2
  44. data/rdoc/RubyXL/BreakList.html +4 -2
  45. data/rdoc/RubyXL/CT_AdjPoint2D.html +4 -2
  46. data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +4 -2
  47. data/rdoc/RubyXL/CT_AlphaModulateEffect.html +4 -2
  48. data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +4 -2
  49. data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +4 -2
  50. data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +4 -2
  51. data/rdoc/RubyXL/CT_Backdrop.html +4 -2
  52. data/rdoc/RubyXL/CT_Bevel.html +4 -2
  53. data/rdoc/RubyXL/CT_BiLevelEffect.html +4 -2
  54. data/rdoc/RubyXL/CT_BlendEffect.html +4 -2
  55. data/rdoc/RubyXL/CT_Blip.html +4 -2
  56. data/rdoc/RubyXL/CT_BlipFillProperties.html +4 -2
  57. data/rdoc/RubyXL/CT_BlurEffect.html +4 -2
  58. data/rdoc/RubyXL/CT_Camera.html +4 -2
  59. data/rdoc/RubyXL/CT_Color.html +4 -2
  60. data/rdoc/RubyXL/CT_ColorChangeEffect.html +4 -2
  61. data/rdoc/RubyXL/CT_ColorMapping.html +4 -2
  62. data/rdoc/RubyXL/CT_ColorScheme.html +4 -2
  63. data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +4 -2
  64. data/rdoc/RubyXL/CT_ConnectionSite.html +4 -2
  65. data/rdoc/RubyXL/CT_ConnectionSiteList.html +4 -2
  66. data/rdoc/RubyXL/CT_DashStop.html +4 -2
  67. data/rdoc/RubyXL/CT_DashStopList.html +4 -2
  68. data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +4 -2
  69. data/rdoc/RubyXL/CT_DuotoneEffect.html +4 -2
  70. data/rdoc/RubyXL/CT_EffectContainer.html +4 -2
  71. data/rdoc/RubyXL/CT_EffectList.html +4 -2
  72. data/rdoc/RubyXL/CT_EffectReference.html +4 -2
  73. data/rdoc/RubyXL/CT_EffectStyleItem.html +4 -2
  74. data/rdoc/RubyXL/CT_EffectStyleList.html +4 -2
  75. data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +4 -2
  76. data/rdoc/RubyXL/CT_FillEffect.html +4 -2
  77. data/rdoc/RubyXL/CT_FillOverlayEffect.html +4 -2
  78. data/rdoc/RubyXL/CT_FillStyleList.html +4 -2
  79. data/rdoc/RubyXL/CT_FlatText.html +4 -2
  80. data/rdoc/RubyXL/CT_FontCollection.html +4 -2
  81. data/rdoc/RubyXL/CT_FontReference.html +4 -2
  82. data/rdoc/RubyXL/CT_GeomGuideList.html +4 -2
  83. data/rdoc/RubyXL/CT_GlowEffect.html +4 -2
  84. data/rdoc/RubyXL/CT_GradientFillProperties.html +4 -2
  85. data/rdoc/RubyXL/CT_GradientStop.html +4 -2
  86. data/rdoc/RubyXL/CT_GradientStopList.html +4 -2
  87. data/rdoc/RubyXL/CT_HSLEffect.html +4 -2
  88. data/rdoc/RubyXL/CT_HslColor.html +4 -2
  89. data/rdoc/RubyXL/CT_Hyperlink.html +4 -2
  90. data/rdoc/RubyXL/CT_InnerShadowEffect.html +4 -2
  91. data/rdoc/RubyXL/CT_LightRig.html +4 -2
  92. data/rdoc/RubyXL/CT_LineEndProperties.html +4 -2
  93. data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +4 -2
  94. data/rdoc/RubyXL/CT_LineProperties.html +4 -2
  95. data/rdoc/RubyXL/CT_LineStyleList.html +4 -2
  96. data/rdoc/RubyXL/CT_LinearShadeProperties.html +4 -2
  97. data/rdoc/RubyXL/CT_LuminanceEffect.html +4 -2
  98. data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +4 -2
  99. data/rdoc/RubyXL/CT_OuterShadowEffect.html +4 -2
  100. data/rdoc/RubyXL/CT_Path2D.html +4 -2
  101. data/rdoc/RubyXL/CT_Path2DArcTo.html +4 -2
  102. data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +4 -2
  103. data/rdoc/RubyXL/CT_Path2DList.html +4 -2
  104. data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +4 -2
  105. data/rdoc/RubyXL/CT_Path2DTo.html +4 -2
  106. data/rdoc/RubyXL/CT_PathShadeProperties.html +4 -2
  107. data/rdoc/RubyXL/CT_PatternFillProperties.html +4 -2
  108. data/rdoc/RubyXL/CT_Point3D.html +4 -2
  109. data/rdoc/RubyXL/CT_PolarAdjustHandle.html +4 -2
  110. data/rdoc/RubyXL/CT_PresetColor.html +4 -2
  111. data/rdoc/RubyXL/CT_PresetLineDashProperties.html +4 -2
  112. data/rdoc/RubyXL/CT_PresetShadowEffect.html +4 -2
  113. data/rdoc/RubyXL/CT_PresetTextShape.html +4 -2
  114. data/rdoc/RubyXL/CT_ReflectionEffect.html +4 -2
  115. data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +4 -2
  116. data/rdoc/RubyXL/CT_RelativeRect.html +4 -2
  117. data/rdoc/RubyXL/CT_SRgbColor.html +4 -2
  118. data/rdoc/RubyXL/CT_ScRgbColor.html +4 -2
  119. data/rdoc/RubyXL/CT_Scene3D.html +4 -2
  120. data/rdoc/RubyXL/CT_SchemeColor.html +4 -2
  121. data/rdoc/RubyXL/CT_Shape3D.html +4 -2
  122. data/rdoc/RubyXL/CT_ShapeStyle.html +4 -2
  123. data/rdoc/RubyXL/CT_SoftEdgesEffect.html +4 -2
  124. data/rdoc/RubyXL/CT_SphereCoords.html +4 -2
  125. data/rdoc/RubyXL/CT_StretchInfoProperties.html +4 -2
  126. data/rdoc/RubyXL/CT_StyleMatrix.html +4 -2
  127. data/rdoc/RubyXL/CT_StyleMatrixReference.html +4 -2
  128. data/rdoc/RubyXL/CT_SupplementalFont.html +4 -2
  129. data/rdoc/RubyXL/CT_SystemColor.html +4 -2
  130. data/rdoc/RubyXL/CT_TextAutonumberBullet.html +4 -2
  131. data/rdoc/RubyXL/CT_TextBlipBullet.html +4 -2
  132. data/rdoc/RubyXL/CT_TextCharBullet.html +4 -2
  133. data/rdoc/RubyXL/CT_TextCharacterProperties.html +4 -2
  134. data/rdoc/RubyXL/CT_TextFont.html +4 -2
  135. data/rdoc/RubyXL/CT_TextListStyle.html +4 -2
  136. data/rdoc/RubyXL/CT_TextNormalAutofit.html +4 -2
  137. data/rdoc/RubyXL/CT_TextParagraphProperties.html +4 -2
  138. data/rdoc/RubyXL/CT_TextSpacing.html +4 -2
  139. data/rdoc/RubyXL/CT_TextTabStop.html +4 -2
  140. data/rdoc/RubyXL/CT_TextTabStopList.html +4 -2
  141. data/rdoc/RubyXL/CT_TileInfoProperties.html +4 -2
  142. data/rdoc/RubyXL/CT_TintEffect.html +4 -2
  143. data/rdoc/RubyXL/CT_Transform2D.html +4 -2
  144. data/rdoc/RubyXL/CT_TransformEffect.html +4 -2
  145. data/rdoc/RubyXL/CT_Vector3D.html +4 -2
  146. data/rdoc/RubyXL/CT_XYAdjustHandle.html +4 -2
  147. data/rdoc/RubyXL/CalculationChain.html +4 -2
  148. data/rdoc/RubyXL/CalculationChainCell.html +4 -2
  149. data/rdoc/RubyXL/CalculationProperties.html +4 -2
  150. data/rdoc/RubyXL/Cell.html +6 -4
  151. data/rdoc/RubyXL/CellConvenienceMethods.html +4 -2
  152. data/rdoc/RubyXL/CellExt.html +4 -2
  153. data/rdoc/RubyXL/CellSmartTag.html +4 -2
  154. data/rdoc/RubyXL/CellSmartTagProperty.html +4 -2
  155. data/rdoc/RubyXL/CellSmartTags.html +4 -2
  156. data/rdoc/RubyXL/CellStyle.html +4 -2
  157. data/rdoc/RubyXL/CellStyleXFs.html +4 -2
  158. data/rdoc/RubyXL/CellStyles.html +4 -2
  159. data/rdoc/RubyXL/CellValue.html +4 -2
  160. data/rdoc/RubyXL/CellWatch.html +4 -2
  161. data/rdoc/RubyXL/CellWatches.html +4 -2
  162. data/rdoc/RubyXL/CellXFs.html +4 -2
  163. data/rdoc/RubyXL/ChartColorsFile.html +4 -2
  164. data/rdoc/RubyXL/ChartFile.html +4 -2
  165. data/rdoc/RubyXL/ChartStyleFile.html +4 -2
  166. data/rdoc/RubyXL/ChartUserShapesFile.html +4 -2
  167. data/rdoc/RubyXL/Chartsheet.html +4 -2
  168. data/rdoc/RubyXL/ChartsheetPageSetup.html +4 -2
  169. data/rdoc/RubyXL/ChartsheetProperties.html +4 -2
  170. data/rdoc/RubyXL/ChartsheetProtection.html +4 -2
  171. data/rdoc/RubyXL/ChartsheetView.html +4 -2
  172. data/rdoc/RubyXL/ChartsheetViews.html +4 -2
  173. data/rdoc/RubyXL/Color.html +4 -2
  174. data/rdoc/RubyXL/ColorConvenienceClasses.html +4 -2
  175. data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +6 -4
  176. data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +9 -5
  177. data/rdoc/RubyXL/ColorConvenienceMethods.html +4 -2
  178. data/rdoc/RubyXL/ColorFilter.html +4 -2
  179. data/rdoc/RubyXL/ColorScale.html +4 -2
  180. data/rdoc/RubyXL/ColorSet.html +4 -2
  181. data/rdoc/RubyXL/Colors.html +4 -2
  182. data/rdoc/RubyXL/ColumnRange.html +4 -2
  183. data/rdoc/RubyXL/ColumnRanges.html +4 -2
  184. data/rdoc/RubyXL/Comment.html +4 -2
  185. data/rdoc/RubyXL/CommentList.html +4 -2
  186. data/rdoc/RubyXL/CommentsFile.html +4 -2
  187. data/rdoc/RubyXL/ConditionalFormatValue.html +4 -2
  188. data/rdoc/RubyXL/ConditionalFormatting.html +4 -2
  189. data/rdoc/RubyXL/ConditionalFormattingRule.html +4 -2
  190. data/rdoc/RubyXL/Connection.html +4 -2
  191. data/rdoc/RubyXL/ConnectionTable.html +4 -2
  192. data/rdoc/RubyXL/ConnectionTables.html +4 -2
  193. data/rdoc/RubyXL/ConnectionTextField.html +4 -2
  194. data/rdoc/RubyXL/ConnectionTextFields.html +4 -2
  195. data/rdoc/RubyXL/Connections.html +4 -2
  196. data/rdoc/RubyXL/ContentTypeDefault.html +4 -2
  197. data/rdoc/RubyXL/ContentTypeOverride.html +4 -2
  198. data/rdoc/RubyXL/ContentTypes.html +4 -2
  199. data/rdoc/RubyXL/ControlPropertiesFile.html +9 -2
  200. data/rdoc/RubyXL/CorePropertiesFile.html +6 -4
  201. data/rdoc/RubyXL/CustomColor.html +4 -2
  202. data/rdoc/RubyXL/CustomColorList.html +4 -2
  203. data/rdoc/RubyXL/CustomFilter.html +4 -2
  204. data/rdoc/RubyXL/CustomFilters.html +4 -2
  205. data/rdoc/RubyXL/CustomGeometry.html +4 -2
  206. data/rdoc/RubyXL/CustomProperties.html +4 -2
  207. data/rdoc/RubyXL/CustomPropertiesFile.html +4 -2
  208. data/rdoc/RubyXL/CustomProperty.html +4 -2
  209. data/rdoc/RubyXL/CustomPropertyFile.html +4 -2
  210. data/rdoc/RubyXL/CustomSheetView.html +4 -2
  211. data/rdoc/RubyXL/CustomSheetViews.html +4 -2
  212. data/rdoc/RubyXL/CustomWorkbookView.html +4 -2
  213. data/rdoc/RubyXL/CustomWorkbookViews.html +4 -2
  214. data/rdoc/RubyXL/CustomXMLFile.html +4 -2
  215. data/rdoc/RubyXL/DXF.html +4 -2
  216. data/rdoc/RubyXL/DXFs.html +4 -2
  217. data/rdoc/RubyXL/DataBar.html +4 -2
  218. data/rdoc/RubyXL/DataConsolidate.html +4 -2
  219. data/rdoc/RubyXL/DataConsolidationReference.html +4 -2
  220. data/rdoc/RubyXL/DataConsolidationReferences.html +4 -2
  221. data/rdoc/RubyXL/DataType.html +4 -2
  222. data/rdoc/RubyXL/DataValidation.html +4 -2
  223. data/rdoc/RubyXL/DataValidations.html +4 -2
  224. data/rdoc/RubyXL/DateGroupItem.html +4 -2
  225. data/rdoc/RubyXL/DefinedName.html +4 -2
  226. data/rdoc/RubyXL/DefinedNameExt.html +4 -2
  227. data/rdoc/RubyXL/DefinedNames.html +4 -2
  228. data/rdoc/RubyXL/DefinedNamesExt.html +4 -2
  229. data/rdoc/RubyXL/DocumentPropertiesFile.html +4 -2
  230. data/rdoc/RubyXL/DrawingFile.html +4 -2
  231. data/rdoc/RubyXL/DynamicFilter.html +4 -2
  232. data/rdoc/RubyXL/EmbeddedControl.html +4 -2
  233. data/rdoc/RubyXL/EmbeddedControls.html +4 -2
  234. data/rdoc/RubyXL/Extension.html +4 -2
  235. data/rdoc/RubyXL/ExtensionStorageArea.html +4 -2
  236. data/rdoc/RubyXL/Extents.html +4 -2
  237. data/rdoc/RubyXL/ExternalBook.html +4 -2
  238. data/rdoc/RubyXL/ExternalLinksFile.html +5 -3
  239. data/rdoc/RubyXL/ExternalReference.html +4 -2
  240. data/rdoc/RubyXL/ExternalReferences.html +4 -2
  241. data/rdoc/RubyXL/ExtraColorSchemeList.html +4 -2
  242. data/rdoc/RubyXL/FieldItem.html +4 -2
  243. data/rdoc/RubyXL/FileRecoveryProperties.html +4 -2
  244. data/rdoc/RubyXL/FileSharing.html +4 -2
  245. data/rdoc/RubyXL/FileVersion.html +4 -2
  246. data/rdoc/RubyXL/Fill.html +4 -2
  247. data/rdoc/RubyXL/Fills.html +4 -2
  248. data/rdoc/RubyXL/FilterContainer.html +4 -2
  249. data/rdoc/RubyXL/FloatNode.html +4 -2
  250. data/rdoc/RubyXL/FloatValue.html +4 -2
  251. data/rdoc/RubyXL/Font.html +4 -2
  252. data/rdoc/RubyXL/FontConvenienceMethods.html +4 -2
  253. data/rdoc/RubyXL/FontScheme.html +4 -2
  254. data/rdoc/RubyXL/Fonts.html +4 -2
  255. data/rdoc/RubyXL/Formula.html +4 -2
  256. data/rdoc/RubyXL/FunctionGroup.html +4 -2
  257. data/rdoc/RubyXL/FunctionGroups.html +4 -2
  258. data/rdoc/RubyXL/GenericStorageObject.html +4 -2
  259. data/rdoc/RubyXL/GradientFill.html +4 -2
  260. data/rdoc/RubyXL/HeaderFooterSettings.html +4 -2
  261. data/rdoc/RubyXL/Hyperlink.html +4 -2
  262. data/rdoc/RubyXL/HyperlinkRelFile.html +4 -2
  263. data/rdoc/RubyXL/Hyperlinks.html +4 -2
  264. data/rdoc/RubyXL/IconFilter.html +4 -2
  265. data/rdoc/RubyXL/IconSet.html +4 -2
  266. data/rdoc/RubyXL/IgnoredError.html +4 -2
  267. data/rdoc/RubyXL/IgnoredErrors.html +4 -2
  268. data/rdoc/RubyXL/IndexedColors.html +4 -2
  269. data/rdoc/RubyXL/InputCells.html +4 -2
  270. data/rdoc/RubyXL/IntegerNode.html +4 -2
  271. data/rdoc/RubyXL/IntegerValue.html +4 -2
  272. data/rdoc/RubyXL/LegacyCell.html +4 -2
  273. data/rdoc/RubyXL/LegacyWorksheet.html +5 -3
  274. data/rdoc/RubyXL/MRUColors.html +4 -2
  275. data/rdoc/RubyXL/MacrosFile.html +4 -2
  276. data/rdoc/RubyXL/MergedCell.html +4 -2
  277. data/rdoc/RubyXL/MergedCells.html +4 -2
  278. data/rdoc/RubyXL/NumFmt.html +4 -2
  279. data/rdoc/RubyXL/NumberFormat.html +4 -2
  280. data/rdoc/RubyXL/NumberFormats.html +4 -2
  281. data/rdoc/RubyXL/OLEObject.html +4 -2
  282. data/rdoc/RubyXL/OLEObjectFile.html +4 -2
  283. data/rdoc/RubyXL/OLEObjects.html +4 -2
  284. data/rdoc/RubyXL/OLESize.html +4 -2
  285. data/rdoc/RubyXL/OOXMLContainerObject.html +10 -8
  286. data/rdoc/RubyXL/OOXMLIgnored.html +4 -2
  287. data/rdoc/RubyXL/OOXMLObject.html +4 -2
  288. data/rdoc/RubyXL/OOXMLObjectClassMethods.html +42 -5
  289. data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +17 -10
  290. data/rdoc/RubyXL/OOXMLRelationshipsFile.html +4 -2
  291. data/rdoc/RubyXL/OOXMLTopLevelObject.html +9 -7
  292. data/rdoc/RubyXL/OdbcOleDbProperties.html +4 -2
  293. data/rdoc/RubyXL/Offset.html +4 -2
  294. data/rdoc/RubyXL/OlapProperties.html +4 -2
  295. data/rdoc/RubyXL/OleItem.html +108 -0
  296. data/rdoc/RubyXL/OleItems.html +108 -0
  297. data/rdoc/RubyXL/OleLink.html +108 -0
  298. data/rdoc/RubyXL/OutlineProperties.html +4 -2
  299. data/rdoc/RubyXL/PageMargins.html +4 -2
  300. data/rdoc/RubyXL/PageSetup.html +4 -2
  301. data/rdoc/RubyXL/PageSetupProperties.html +4 -2
  302. data/rdoc/RubyXL/Pane.html +4 -2
  303. data/rdoc/RubyXL/Parser.html +4 -2
  304. data/rdoc/RubyXL/PatternFill.html +4 -2
  305. data/rdoc/RubyXL/PhoneticProperties.html +4 -2
  306. data/rdoc/RubyXL/PhoneticRun.html +4 -2
  307. data/rdoc/RubyXL/PivotArea.html +4 -2
  308. data/rdoc/RubyXL/PivotCache.html +4 -2
  309. data/rdoc/RubyXL/PivotCacheDefinitionFile.html +4 -2
  310. data/rdoc/RubyXL/PivotCacheRecordsFile.html +4 -2
  311. data/rdoc/RubyXL/PivotCaches.html +4 -2
  312. data/rdoc/RubyXL/PivotReference.html +4 -2
  313. data/rdoc/RubyXL/PivotReferences.html +4 -2
  314. data/rdoc/RubyXL/PivotTableFile.html +4 -2
  315. data/rdoc/RubyXL/PivotTableSelection.html +4 -2
  316. data/rdoc/RubyXL/PresetGeometry.html +4 -2
  317. data/rdoc/RubyXL/PrintOptions.html +4 -2
  318. data/rdoc/RubyXL/PrinterSettingsFile.html +4 -2
  319. data/rdoc/RubyXL/ProtectedRange.html +4 -2
  320. data/rdoc/RubyXL/ProtectedRanges.html +4 -2
  321. data/rdoc/RubyXL/Protection.html +4 -2
  322. data/rdoc/RubyXL/QueryParameter.html +4 -2
  323. data/rdoc/RubyXL/QueryParameters.html +4 -2
  324. data/rdoc/RubyXL/QueryTable.html +4 -2
  325. data/rdoc/RubyXL/QueryTableDeletedField.html +4 -2
  326. data/rdoc/RubyXL/QueryTableDeletedFields.html +4 -2
  327. data/rdoc/RubyXL/QueryTableField.html +4 -2
  328. data/rdoc/RubyXL/QueryTableFields.html +4 -2
  329. data/rdoc/RubyXL/QueryTableRefresh.html +4 -2
  330. data/rdoc/RubyXL/RID.html +4 -2
  331. data/rdoc/RubyXL/RawOOXML.html +4 -2
  332. data/rdoc/RubyXL/Reference.html +4 -2
  333. data/rdoc/RubyXL/Relationship.html +4 -2
  334. data/rdoc/RubyXL/RelationshipSupport.html +4 -2
  335. data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +4 -2
  336. data/rdoc/RubyXL/RevisionPointer.html +4 -2
  337. data/rdoc/RubyXL/RichText.html +5 -3
  338. data/rdoc/RubyXL/RichTextRun.html +4 -2
  339. data/rdoc/RubyXL/Row.html +4 -2
  340. data/rdoc/RubyXL/RowExt.html +4 -2
  341. data/rdoc/RubyXL/RunProperties.html +4 -2
  342. data/rdoc/RubyXL/Scenario.html +4 -2
  343. data/rdoc/RubyXL/Scenarios.html +4 -2
  344. data/rdoc/RubyXL/Selection.html +4 -2
  345. data/rdoc/RubyXL/ShapeGuide.html +4 -2
  346. data/rdoc/RubyXL/ShapeTextRectangle.html +4 -2
  347. data/rdoc/RubyXL/SharedStringsTable.html +4 -2
  348. data/rdoc/RubyXL/Sheet.html +4 -2
  349. data/rdoc/RubyXL/SheetCalculationProperties.html +4 -2
  350. data/rdoc/RubyXL/SheetData.html +4 -2
  351. data/rdoc/RubyXL/SheetDataExt.html +4 -2
  352. data/rdoc/RubyXL/SheetDataSet.html +4 -2
  353. data/rdoc/RubyXL/SheetName.html +4 -2
  354. data/rdoc/RubyXL/SheetNames.html +4 -2
  355. data/rdoc/RubyXL/Sheets.html +4 -2
  356. data/rdoc/RubyXL/SlicerCacheFile.html +4 -2
  357. data/rdoc/RubyXL/SlicerFile.html +4 -2
  358. data/rdoc/RubyXL/SmartTagProperties.html +4 -2
  359. data/rdoc/RubyXL/SmartTagType.html +4 -2
  360. data/rdoc/RubyXL/SmartTagTypes.html +4 -2
  361. data/rdoc/RubyXL/SmartTags.html +4 -2
  362. data/rdoc/RubyXL/SortCondition.html +4 -2
  363. data/rdoc/RubyXL/SortState.html +4 -2
  364. data/rdoc/RubyXL/Sqref.html +4 -2
  365. data/rdoc/RubyXL/Stop.html +4 -2
  366. data/rdoc/RubyXL/StringNode.html +4 -2
  367. data/rdoc/RubyXL/StringNodeW3C.html +4 -2
  368. data/rdoc/RubyXL/StringValue.html +4 -2
  369. data/rdoc/RubyXL/Stylesheet.html +4 -2
  370. data/rdoc/RubyXL/TableFile.html +4 -2
  371. data/rdoc/RubyXL/TableParts.html +4 -2
  372. data/rdoc/RubyXL/TableStyle.html +4 -2
  373. data/rdoc/RubyXL/TableStyles.html +4 -2
  374. data/rdoc/RubyXL/Text.html +4 -2
  375. data/rdoc/RubyXL/TextImportSettings.html +4 -2
  376. data/rdoc/RubyXL/Theme.html +4 -2
  377. data/rdoc/RubyXL/ThemeElements.html +4 -2
  378. data/rdoc/RubyXL/ThumbnailFile.html +4 -2
  379. data/rdoc/RubyXL/Top10.html +4 -2
  380. data/rdoc/RubyXL/VMLDrawingFile.html +4 -2
  381. data/rdoc/RubyXL/Variant.html +4 -2
  382. data/rdoc/RubyXL/Vector.html +4 -2
  383. data/rdoc/RubyXL/VectorValue.html +4 -2
  384. data/rdoc/RubyXL/VisualProperties.html +4 -2
  385. data/rdoc/RubyXL/WebPublishObject.html +4 -2
  386. data/rdoc/RubyXL/WebPublishObjects.html +4 -2
  387. data/rdoc/RubyXL/WebPublishingItem.html +4 -2
  388. data/rdoc/RubyXL/WebPublishingItems.html +4 -2
  389. data/rdoc/RubyXL/WebPublishingProperties.html +4 -2
  390. data/rdoc/RubyXL/WebQueryProperties.html +4 -2
  391. data/rdoc/RubyXL/Workbook.html +33 -25
  392. data/rdoc/RubyXL/WorkbookConvenienceMethods.html +4 -2
  393. data/rdoc/RubyXL/WorkbookProperties.html +4 -2
  394. data/rdoc/RubyXL/WorkbookProtection.html +4 -2
  395. data/rdoc/RubyXL/WorkbookRoot.html +4 -2
  396. data/rdoc/RubyXL/WorkbookView.html +4 -2
  397. data/rdoc/RubyXL/WorkbookViews.html +4 -2
  398. data/rdoc/RubyXL/Worksheet.html +4 -2
  399. data/rdoc/RubyXL/WorksheetConvenienceMethods.html +47 -2
  400. data/rdoc/RubyXL/WorksheetDimensions.html +4 -2
  401. data/rdoc/RubyXL/WorksheetFormatProperties.html +4 -2
  402. data/rdoc/RubyXL/WorksheetProperties.html +4 -2
  403. data/rdoc/RubyXL/WorksheetProtection.html +4 -2
  404. data/rdoc/RubyXL/WorksheetView.html +4 -2
  405. data/rdoc/RubyXL/WorksheetViews.html +4 -2
  406. data/rdoc/RubyXL/XF.html +4 -2
  407. data/rdoc/created.rid +20 -20
  408. data/rdoc/index.html +12 -3
  409. data/rdoc/js/navigation.js.gz +0 -0
  410. data/rdoc/js/search_index.js +1 -1
  411. data/rdoc/js/search_index.js.gz +0 -0
  412. data/rdoc/js/searcher.js.gz +0 -0
  413. data/rdoc/table_of_contents.html +838 -3
  414. data/rubyXL.gemspec +20 -27
  415. data/spec/lib/cell_spec.rb +22 -3
  416. data/spec/lib/rgb_color_spec.rb +16 -0
  417. metadata +9 -7
  418. data/test/output/test.xlsx +0 -0
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: rubyXL 3.4.10 ruby lib
5
+ # stub: rubyXL 3.4.16 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "rubyXL".freeze
9
- s.version = "3.4.10"
9
+ s.version = "3.4.16"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Vivek Bhagwat".freeze, "Wesha".freeze]
14
- s.date = "2019-12-19"
14
+ s.date = "2020-10-29"
15
15
  s.description = "rubyXL is a gem which allows the parsing, creation, and manipulation of Microsoft Excel (.xlsx/.xlsm) Documents".freeze
16
16
  s.email = "bhagwat.vivek@gmail.com".freeze
17
17
  s.extra_rdoc_files = [
@@ -341,6 +341,9 @@ Gem::Specification.new do |s|
341
341
  "rdoc/RubyXL/OdbcOleDbProperties.html",
342
342
  "rdoc/RubyXL/Offset.html",
343
343
  "rdoc/RubyXL/OlapProperties.html",
344
+ "rdoc/RubyXL/OleItem.html",
345
+ "rdoc/RubyXL/OleItems.html",
346
+ "rdoc/RubyXL/OleLink.html",
344
347
  "rdoc/RubyXL/OutlineProperties.html",
345
348
  "rdoc/RubyXL/PageMargins.html",
346
349
  "rdoc/RubyXL/PageSetup.html",
@@ -499,6 +502,7 @@ Gem::Specification.new do |s|
499
502
  "spec/lib/color_spec.rb",
500
503
  "spec/lib/parser_spec.rb",
501
504
  "spec/lib/reference_spec.rb",
505
+ "spec/lib/rgb_color_spec.rb",
502
506
  "spec/lib/stylesheet_spec.rb",
503
507
  "spec/lib/text_spec.rb",
504
508
  "spec/lib/workbook_spec.rb",
@@ -506,41 +510,30 @@ Gem::Specification.new do |s|
506
510
  "spec/spec_helper.rb",
507
511
  "test/input/.gitkeep",
508
512
  "test/output/.gitkeep",
509
- "test/output/test.xlsx",
510
513
  "test/test_parse_write.rb",
511
514
  "tmp/.gitignore"
512
515
  ]
513
516
  s.homepage = "http://github.com/gilt/rubyXL".freeze
514
517
  s.licenses = ["MIT".freeze]
515
- s.rubygems_version = "2.7.9".freeze
518
+ s.rubygems_version = "3.1.2".freeze
516
519
  s.summary = "rubyXL is a gem which allows the parsing, creation, and manipulation of Microsoft Excel (.xlsx/.xlsm) Documents".freeze
517
520
 
518
521
  if s.respond_to? :specification_version then
519
522
  s.specification_version = 4
523
+ end
520
524
 
521
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
522
- s.add_runtime_dependency(%q<nokogiri>.freeze, [">= 1.4.4"])
523
- s.add_runtime_dependency(%q<rubyzip>.freeze, [">= 1.3.0"])
524
- s.add_development_dependency(%q<bundler>.freeze, [">= 0"])
525
- s.add_development_dependency(%q<rake>.freeze, [">= 0"])
526
- s.add_development_dependency(%q<jeweler>.freeze, [">= 0"])
527
- s.add_development_dependency(%q<rspec>.freeze, [">= 0"])
528
- s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
529
- s.add_development_dependency(%q<ruby-prof>.freeze, [">= 0"])
530
- s.add_development_dependency(%q<rspec_junit_formatter>.freeze, [">= 0"])
531
- else
532
- s.add_dependency(%q<nokogiri>.freeze, [">= 1.4.4"])
533
- s.add_dependency(%q<rubyzip>.freeze, [">= 1.3.0"])
534
- s.add_dependency(%q<bundler>.freeze, [">= 0"])
535
- s.add_dependency(%q<rake>.freeze, [">= 0"])
536
- s.add_dependency(%q<jeweler>.freeze, [">= 0"])
537
- s.add_dependency(%q<rspec>.freeze, [">= 0"])
538
- s.add_dependency(%q<simplecov>.freeze, [">= 0"])
539
- s.add_dependency(%q<ruby-prof>.freeze, [">= 0"])
540
- s.add_dependency(%q<rspec_junit_formatter>.freeze, [">= 0"])
541
- end
525
+ if s.respond_to? :add_runtime_dependency then
526
+ s.add_runtime_dependency(%q<nokogiri>.freeze, [">= 1.10.8"])
527
+ s.add_runtime_dependency(%q<rubyzip>.freeze, [">= 1.3.0"])
528
+ s.add_development_dependency(%q<bundler>.freeze, [">= 0"])
529
+ s.add_development_dependency(%q<rake>.freeze, [">= 0"])
530
+ s.add_development_dependency(%q<jeweler>.freeze, [">= 0"])
531
+ s.add_development_dependency(%q<rspec>.freeze, [">= 0"])
532
+ s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
533
+ s.add_development_dependency(%q<ruby-prof>.freeze, [">= 0"])
534
+ s.add_development_dependency(%q<rspec_junit_formatter>.freeze, [">= 0"])
542
535
  else
543
- s.add_dependency(%q<nokogiri>.freeze, [">= 1.4.4"])
536
+ s.add_dependency(%q<nokogiri>.freeze, [">= 1.10.8"])
544
537
  s.add_dependency(%q<rubyzip>.freeze, [">= 1.3.0"])
545
538
  s.add_dependency(%q<bundler>.freeze, [">= 0"])
546
539
  s.add_dependency(%q<rake>.freeze, [">= 0"])
@@ -46,7 +46,26 @@ describe RubyXL::Cell do
46
46
  cell.set_number_format('ddd mmm dd, yyyy HH:MM:SS')
47
47
 
48
48
  # Due to rounding errors, we allow microsecond precision on DateTime.
49
- expect((cell.value - tm).to_f).to be_within(2.0/384000000000).of(0)
49
+ expect((cell.value - tm).to_f).to be_within(1.0/86400e6).of(0)
50
+
51
+ tm = Time.now
52
+ cell = @worksheet.add_cell(r, c, tm)
53
+ cell.set_number_format('ddd mmm dd, yyyy HH:MM:SS')
54
+
55
+ # Due to rounding errors, we allow microsecond precision on Time.
56
+ expect(cell.value - tm.to_datetime).to be_within(1.0/86400e6).of(0)
57
+
58
+ expected_date = "2020-10-15T14:00:00Z"
59
+ expected_datetime = Time.parse(expected_date).utc
60
+ raw_value = "44119.583333333328" # Obtained from parsing a xlsx file with the expected date
61
+ cell = @worksheet.add_cell(r, c, Time.now) # Force a date cell type
62
+ cell.set_number_format('ddd mmm dd, yyyy HH:MM:SS')
63
+ cell.raw_value = raw_value
64
+ expect(cell.raw_value).to eq(raw_value), "Wrong raw value"
65
+ cell.set_number_format('ddd mmm dd, yyyy HH:MM:SS')
66
+
67
+ # We expect exactly the same date
68
+ expect(cell.value.to_time.utc.iso8601).to eq(expected_datetime.iso8601)
50
69
  end
51
70
  end
52
71
 
@@ -391,8 +410,8 @@ describe RubyXL::Cell do
391
410
  expect(@cell.formula).to be_nil
392
411
  end
393
412
 
394
- it 'should case cell value to match an BigDecimal that is passed in' do
395
- number = BigDecimal.new('1234.5678')
413
+ it 'should cause cell value to match a BigDecimal that is passed in' do
414
+ number = BigDecimal('1234.5678')
396
415
  @cell.change_contents(number)
397
416
  expect(@cell.value).to eq(number)
398
417
  expect(@cell.datatype).to be_nil
@@ -0,0 +1,16 @@
1
+ require 'spec_helper'
2
+ require 'rubyXL/convenience_methods/color'
3
+
4
+ describe RubyXL::RgbColor do
5
+ describe '.to_s' do
6
+ it 'should properly translate the color to string' do
7
+ rgb_color = RubyXL::RgbColor.new
8
+
9
+ rgb_color.r = 1
10
+ rgb_color.g = 2
11
+ rgb_color.b = 255
12
+
13
+ expect(rgb_color.to_s).to eq("0102ff")
14
+ end
15
+ end
16
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubyXL
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.10
4
+ version: 3.4.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vivek Bhagwat
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-12-19 00:00:00.000000000 Z
12
+ date: 2020-10-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: 1.4.4
20
+ version: 1.10.8
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: 1.4.4
27
+ version: 1.10.8
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rubyzip
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -468,6 +468,9 @@ files:
468
468
  - rdoc/RubyXL/OdbcOleDbProperties.html
469
469
  - rdoc/RubyXL/Offset.html
470
470
  - rdoc/RubyXL/OlapProperties.html
471
+ - rdoc/RubyXL/OleItem.html
472
+ - rdoc/RubyXL/OleItems.html
473
+ - rdoc/RubyXL/OleLink.html
471
474
  - rdoc/RubyXL/OutlineProperties.html
472
475
  - rdoc/RubyXL/PageMargins.html
473
476
  - rdoc/RubyXL/PageSetup.html
@@ -626,6 +629,7 @@ files:
626
629
  - spec/lib/color_spec.rb
627
630
  - spec/lib/parser_spec.rb
628
631
  - spec/lib/reference_spec.rb
632
+ - spec/lib/rgb_color_spec.rb
629
633
  - spec/lib/stylesheet_spec.rb
630
634
  - spec/lib/text_spec.rb
631
635
  - spec/lib/workbook_spec.rb
@@ -633,7 +637,6 @@ files:
633
637
  - spec/spec_helper.rb
634
638
  - test/input/.gitkeep
635
639
  - test/output/.gitkeep
636
- - test/output/test.xlsx
637
640
  - test/test_parse_write.rb
638
641
  - tmp/.gitignore
639
642
  homepage: http://github.com/gilt/rubyXL
@@ -655,8 +658,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
655
658
  - !ruby/object:Gem::Version
656
659
  version: '0'
657
660
  requirements: []
658
- rubyforge_project:
659
- rubygems_version: 2.7.9
661
+ rubygems_version: 3.1.2
660
662
  signing_key:
661
663
  specification_version: 4
662
664
  summary: rubyXL is a gem which allows the parsing, creation, and manipulation of Microsoft
Binary file