rubyXL 3.4.35 → 3.4.37

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 (447) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +15 -4
  3. data/README.rdoc +1 -1
  4. data/VERSION +1 -1
  5. data/lib/rubyXL/objects/reference.rb +42 -17
  6. data/lib/rubyXL/objects/sheet_data.rb +5 -0
  7. data/lib/rubyXL/objects/workbook.rb +7 -0
  8. data/rdoc/README_rdoc.html +481 -463
  9. data/rdoc/RubyXL/AExtension.html +488 -79
  10. data/rdoc/RubyXL/AExtensionStorageArea.html +448 -49
  11. data/rdoc/RubyXL/ActiveX.html +486 -69
  12. data/rdoc/RubyXL/ActiveXBinary.html +449 -50
  13. data/rdoc/RubyXL/AdjustHandleList.html +442 -49
  14. data/rdoc/RubyXL/Alignment.html +442 -49
  15. data/rdoc/RubyXL/AlternateContent.html +448 -49
  16. data/rdoc/RubyXL/AlternateUrls.html +442 -49
  17. data/rdoc/RubyXL/Authors.html +442 -49
  18. data/rdoc/RubyXL/AutoFilter.html +442 -49
  19. data/rdoc/RubyXL/AutoFilterColumn.html +442 -49
  20. data/rdoc/RubyXL/BinaryImageFile.html +449 -50
  21. data/rdoc/RubyXL/BodyProperties.html +442 -49
  22. data/rdoc/RubyXL/BooleanNode.html +448 -49
  23. data/rdoc/RubyXL/BooleanValue.html +448 -49
  24. data/rdoc/RubyXL/Border.html +478 -83
  25. data/rdoc/RubyXL/BorderEdge.html +477 -72
  26. data/rdoc/RubyXL/Borders.html +464 -63
  27. data/rdoc/RubyXL/Break.html +442 -49
  28. data/rdoc/RubyXL/BreakList.html +442 -49
  29. data/rdoc/RubyXL/CT_AdjPoint2D.html +442 -49
  30. data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +442 -49
  31. data/rdoc/RubyXL/CT_AlphaModulateEffect.html +442 -49
  32. data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +442 -49
  33. data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +442 -49
  34. data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +442 -49
  35. data/rdoc/RubyXL/CT_Backdrop.html +442 -49
  36. data/rdoc/RubyXL/CT_Bevel.html +442 -49
  37. data/rdoc/RubyXL/CT_BiLevelEffect.html +442 -49
  38. data/rdoc/RubyXL/CT_BlendEffect.html +442 -49
  39. data/rdoc/RubyXL/CT_Blip.html +442 -49
  40. data/rdoc/RubyXL/CT_BlipFillProperties.html +442 -49
  41. data/rdoc/RubyXL/CT_BlurEffect.html +442 -49
  42. data/rdoc/RubyXL/CT_Camera.html +442 -49
  43. data/rdoc/RubyXL/CT_Color.html +442 -49
  44. data/rdoc/RubyXL/CT_ColorChangeEffect.html +442 -49
  45. data/rdoc/RubyXL/CT_ColorMapping.html +442 -49
  46. data/rdoc/RubyXL/CT_ColorScheme.html +442 -49
  47. data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +442 -49
  48. data/rdoc/RubyXL/CT_ConnectionSite.html +442 -49
  49. data/rdoc/RubyXL/CT_ConnectionSiteList.html +442 -49
  50. data/rdoc/RubyXL/CT_DashStop.html +442 -49
  51. data/rdoc/RubyXL/CT_DashStopList.html +442 -49
  52. data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +442 -49
  53. data/rdoc/RubyXL/CT_DuotoneEffect.html +442 -49
  54. data/rdoc/RubyXL/CT_EffectContainer.html +442 -49
  55. data/rdoc/RubyXL/CT_EffectList.html +442 -49
  56. data/rdoc/RubyXL/CT_EffectReference.html +442 -49
  57. data/rdoc/RubyXL/CT_EffectStyleItem.html +442 -49
  58. data/rdoc/RubyXL/CT_EffectStyleList.html +442 -49
  59. data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +442 -49
  60. data/rdoc/RubyXL/CT_FillEffect.html +442 -49
  61. data/rdoc/RubyXL/CT_FillOverlayEffect.html +442 -49
  62. data/rdoc/RubyXL/CT_FillStyleList.html +442 -49
  63. data/rdoc/RubyXL/CT_FlatText.html +442 -49
  64. data/rdoc/RubyXL/CT_FontCollection.html +442 -49
  65. data/rdoc/RubyXL/CT_FontReference.html +442 -49
  66. data/rdoc/RubyXL/CT_GeomGuideList.html +442 -49
  67. data/rdoc/RubyXL/CT_GlowEffect.html +442 -49
  68. data/rdoc/RubyXL/CT_GradientFillProperties.html +442 -49
  69. data/rdoc/RubyXL/CT_GradientStop.html +442 -49
  70. data/rdoc/RubyXL/CT_GradientStopList.html +442 -49
  71. data/rdoc/RubyXL/CT_HSLEffect.html +442 -49
  72. data/rdoc/RubyXL/CT_HslColor.html +442 -49
  73. data/rdoc/RubyXL/CT_Hyperlink.html +442 -49
  74. data/rdoc/RubyXL/CT_InnerShadowEffect.html +442 -49
  75. data/rdoc/RubyXL/CT_LightRig.html +442 -49
  76. data/rdoc/RubyXL/CT_LineEndProperties.html +442 -49
  77. data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +442 -49
  78. data/rdoc/RubyXL/CT_LineProperties.html +442 -49
  79. data/rdoc/RubyXL/CT_LineStyleList.html +442 -49
  80. data/rdoc/RubyXL/CT_LinearShadeProperties.html +442 -49
  81. data/rdoc/RubyXL/CT_LuminanceEffect.html +442 -49
  82. data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +442 -49
  83. data/rdoc/RubyXL/CT_OuterShadowEffect.html +442 -49
  84. data/rdoc/RubyXL/CT_Path2D.html +442 -49
  85. data/rdoc/RubyXL/CT_Path2DArcTo.html +442 -49
  86. data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +442 -49
  87. data/rdoc/RubyXL/CT_Path2DList.html +442 -49
  88. data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +442 -49
  89. data/rdoc/RubyXL/CT_Path2DTo.html +442 -49
  90. data/rdoc/RubyXL/CT_PathShadeProperties.html +442 -49
  91. data/rdoc/RubyXL/CT_PatternFillProperties.html +442 -49
  92. data/rdoc/RubyXL/CT_Point3D.html +442 -49
  93. data/rdoc/RubyXL/CT_PolarAdjustHandle.html +442 -49
  94. data/rdoc/RubyXL/CT_PresetColor.html +442 -49
  95. data/rdoc/RubyXL/CT_PresetLineDashProperties.html +442 -49
  96. data/rdoc/RubyXL/CT_PresetShadowEffect.html +442 -49
  97. data/rdoc/RubyXL/CT_PresetTextShape.html +442 -49
  98. data/rdoc/RubyXL/CT_ReflectionEffect.html +442 -49
  99. data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +442 -49
  100. data/rdoc/RubyXL/CT_RelativeRect.html +442 -49
  101. data/rdoc/RubyXL/CT_SRgbColor.html +442 -49
  102. data/rdoc/RubyXL/CT_ScRgbColor.html +442 -49
  103. data/rdoc/RubyXL/CT_Scene3D.html +442 -49
  104. data/rdoc/RubyXL/CT_SchemeColor.html +442 -49
  105. data/rdoc/RubyXL/CT_Shape3D.html +442 -49
  106. data/rdoc/RubyXL/CT_ShapeStyle.html +442 -49
  107. data/rdoc/RubyXL/CT_SoftEdgesEffect.html +442 -49
  108. data/rdoc/RubyXL/CT_SphereCoords.html +442 -49
  109. data/rdoc/RubyXL/CT_StretchInfoProperties.html +442 -49
  110. data/rdoc/RubyXL/CT_StyleMatrix.html +442 -49
  111. data/rdoc/RubyXL/CT_StyleMatrixReference.html +442 -49
  112. data/rdoc/RubyXL/CT_SupplementalFont.html +442 -49
  113. data/rdoc/RubyXL/CT_SystemColor.html +442 -49
  114. data/rdoc/RubyXL/CT_TextAutonumberBullet.html +442 -49
  115. data/rdoc/RubyXL/CT_TextBlipBullet.html +442 -49
  116. data/rdoc/RubyXL/CT_TextCharBullet.html +442 -49
  117. data/rdoc/RubyXL/CT_TextCharacterProperties.html +442 -49
  118. data/rdoc/RubyXL/CT_TextFont.html +442 -49
  119. data/rdoc/RubyXL/CT_TextListStyle.html +442 -49
  120. data/rdoc/RubyXL/CT_TextNormalAutofit.html +442 -49
  121. data/rdoc/RubyXL/CT_TextParagraphProperties.html +442 -49
  122. data/rdoc/RubyXL/CT_TextSpacing.html +442 -49
  123. data/rdoc/RubyXL/CT_TextTabStop.html +442 -49
  124. data/rdoc/RubyXL/CT_TextTabStopList.html +442 -49
  125. data/rdoc/RubyXL/CT_TileInfoProperties.html +442 -49
  126. data/rdoc/RubyXL/CT_TintEffect.html +442 -49
  127. data/rdoc/RubyXL/CT_Transform2D.html +442 -49
  128. data/rdoc/RubyXL/CT_TransformEffect.html +442 -49
  129. data/rdoc/RubyXL/CT_Vector3D.html +442 -49
  130. data/rdoc/RubyXL/CT_XYAdjustHandle.html +442 -49
  131. data/rdoc/RubyXL/CalculationChain.html +466 -65
  132. data/rdoc/RubyXL/CalculationChainCell.html +442 -49
  133. data/rdoc/RubyXL/CalculationProperties.html +442 -49
  134. data/rdoc/RubyXL/Cell.html +587 -157
  135. data/rdoc/RubyXL/CellConvenienceMethods.html +637 -312
  136. data/rdoc/RubyXL/CellExt.html +442 -49
  137. data/rdoc/RubyXL/CellSmartTag.html +442 -49
  138. data/rdoc/RubyXL/CellSmartTagProperty.html +442 -49
  139. data/rdoc/RubyXL/CellSmartTags.html +442 -49
  140. data/rdoc/RubyXL/CellStyle.html +442 -49
  141. data/rdoc/RubyXL/CellStyleXFs.html +464 -63
  142. data/rdoc/RubyXL/CellStyles.html +464 -63
  143. data/rdoc/RubyXL/CellValue.html +465 -64
  144. data/rdoc/RubyXL/CellWatch.html +442 -49
  145. data/rdoc/RubyXL/CellWatches.html +442 -49
  146. data/rdoc/RubyXL/CellXFs.html +464 -63
  147. data/rdoc/RubyXL/ChartColorsFile.html +449 -50
  148. data/rdoc/RubyXL/ChartFile.html +486 -69
  149. data/rdoc/RubyXL/ChartStyleFile.html +449 -50
  150. data/rdoc/RubyXL/ChartUserShapesFile.html +449 -50
  151. data/rdoc/RubyXL/Chartsheet.html +481 -70
  152. data/rdoc/RubyXL/ChartsheetPageSetup.html +442 -49
  153. data/rdoc/RubyXL/ChartsheetProperties.html +442 -49
  154. data/rdoc/RubyXL/ChartsheetProtection.html +442 -49
  155. data/rdoc/RubyXL/ChartsheetView.html +442 -49
  156. data/rdoc/RubyXL/ChartsheetViews.html +442 -49
  157. data/rdoc/RubyXL/Color.html +465 -64
  158. data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +478 -73
  159. data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +494 -87
  160. data/rdoc/RubyXL/ColorConvenienceClasses.html +436 -47
  161. data/rdoc/RubyXL/ColorConvenienceMethods.html +459 -62
  162. data/rdoc/RubyXL/ColorFilter.html +442 -49
  163. data/rdoc/RubyXL/ColorScale.html +442 -49
  164. data/rdoc/RubyXL/ColorSet.html +442 -49
  165. data/rdoc/RubyXL/Colors.html +442 -49
  166. data/rdoc/RubyXL/ColumnRange.html +500 -95
  167. data/rdoc/RubyXL/ColumnRanges.html +484 -83
  168. data/rdoc/RubyXL/Comment.html +442 -49
  169. data/rdoc/RubyXL/CommentList.html +442 -49
  170. data/rdoc/RubyXL/CommentsFile.html +467 -66
  171. data/rdoc/RubyXL/ConditionalFormatValue.html +442 -49
  172. data/rdoc/RubyXL/ConditionalFormatting.html +442 -49
  173. data/rdoc/RubyXL/ConditionalFormattingRule.html +442 -49
  174. data/rdoc/RubyXL/Connection.html +442 -49
  175. data/rdoc/RubyXL/ConnectionTable.html +442 -49
  176. data/rdoc/RubyXL/ConnectionTables.html +442 -49
  177. data/rdoc/RubyXL/ConnectionTextField.html +442 -49
  178. data/rdoc/RubyXL/ConnectionTextFields.html +442 -49
  179. data/rdoc/RubyXL/Connections.html +466 -65
  180. data/rdoc/RubyXL/ContentTypeDefault.html +448 -49
  181. data/rdoc/RubyXL/ContentTypeOverride.html +448 -49
  182. data/rdoc/RubyXL/ContentTypes.html +478 -73
  183. data/rdoc/RubyXL/ControlPropertiesFile.html +449 -50
  184. data/rdoc/RubyXL/CorePropertiesFile.html +511 -120
  185. data/rdoc/RubyXL/CustomColor.html +442 -49
  186. data/rdoc/RubyXL/CustomColorList.html +442 -49
  187. data/rdoc/RubyXL/CustomFilter.html +442 -49
  188. data/rdoc/RubyXL/CustomFilters.html +442 -49
  189. data/rdoc/RubyXL/CustomGeometry.html +442 -49
  190. data/rdoc/RubyXL/CustomProperties.html +442 -49
  191. data/rdoc/RubyXL/CustomPropertiesFile.html +449 -50
  192. data/rdoc/RubyXL/CustomProperty.html +442 -49
  193. data/rdoc/RubyXL/CustomPropertyFile.html +449 -50
  194. data/rdoc/RubyXL/CustomSheetView.html +442 -49
  195. data/rdoc/RubyXL/CustomSheetViews.html +442 -49
  196. data/rdoc/RubyXL/CustomWorkbookView.html +442 -49
  197. data/rdoc/RubyXL/CustomWorkbookViews.html +442 -49
  198. data/rdoc/RubyXL/CustomXMLFile.html +449 -50
  199. data/rdoc/RubyXL/DXF.html +442 -49
  200. data/rdoc/RubyXL/DXFs.html +442 -49
  201. data/rdoc/RubyXL/DataBar.html +442 -49
  202. data/rdoc/RubyXL/DataConsolidate.html +442 -49
  203. data/rdoc/RubyXL/DataConsolidationReference.html +442 -49
  204. data/rdoc/RubyXL/DataConsolidationReferences.html +442 -49
  205. data/rdoc/RubyXL/DataType.html +431 -48
  206. data/rdoc/RubyXL/DataValidation.html +442 -49
  207. data/rdoc/RubyXL/DataValidations.html +442 -49
  208. data/rdoc/RubyXL/DateGroupItem.html +442 -49
  209. data/rdoc/RubyXL/DefinedName.html +442 -49
  210. data/rdoc/RubyXL/DefinedNameExt.html +442 -49
  211. data/rdoc/RubyXL/DefinedNames.html +519 -49
  212. data/rdoc/RubyXL/DefinedNamesExt.html +442 -49
  213. data/rdoc/RubyXL/DocumentPropertiesFile.html +473 -74
  214. data/rdoc/RubyXL/DrawingFile.html +486 -69
  215. data/rdoc/RubyXL/DynamicFilter.html +442 -49
  216. data/rdoc/RubyXL/EmbeddedControl.html +442 -49
  217. data/rdoc/RubyXL/EmbeddedControls.html +442 -49
  218. data/rdoc/RubyXL/Extension.html +442 -49
  219. data/rdoc/RubyXL/ExtensionStorageArea.html +442 -49
  220. data/rdoc/RubyXL/Extents.html +442 -49
  221. data/rdoc/RubyXL/ExternalBook.html +442 -49
  222. data/rdoc/RubyXL/ExternalLinksFile.html +486 -69
  223. data/rdoc/RubyXL/ExternalReference.html +442 -49
  224. data/rdoc/RubyXL/ExternalReferences.html +442 -49
  225. data/rdoc/RubyXL/ExtraColorSchemeList.html +442 -49
  226. data/rdoc/RubyXL/FieldItem.html +442 -49
  227. data/rdoc/RubyXL/FileRecoveryProperties.html +442 -49
  228. data/rdoc/RubyXL/FileSharing.html +442 -49
  229. data/rdoc/RubyXL/FileVersion.html +442 -49
  230. data/rdoc/RubyXL/Fill.html +464 -63
  231. data/rdoc/RubyXL/Fills.html +464 -63
  232. data/rdoc/RubyXL/FilterContainer.html +442 -49
  233. data/rdoc/RubyXL/FloatNode.html +448 -49
  234. data/rdoc/RubyXL/FloatValue.html +448 -49
  235. data/rdoc/RubyXL/Font.html +465 -64
  236. data/rdoc/RubyXL/FontConvenienceMethods.html +522 -151
  237. data/rdoc/RubyXL/FontScheme.html +442 -49
  238. data/rdoc/RubyXL/Fonts.html +464 -63
  239. data/rdoc/RubyXL/Formula.html +442 -49
  240. data/rdoc/RubyXL/FunctionGroup.html +442 -49
  241. data/rdoc/RubyXL/FunctionGroups.html +442 -49
  242. data/rdoc/RubyXL/GenericStorageObject.html +501 -88
  243. data/rdoc/RubyXL/GradientFill.html +442 -49
  244. data/rdoc/RubyXL/HeaderFooterSettings.html +442 -49
  245. data/rdoc/RubyXL/Hyperlink.html +442 -49
  246. data/rdoc/RubyXL/HyperlinkRelFile.html +449 -50
  247. data/rdoc/RubyXL/Hyperlinks.html +442 -49
  248. data/rdoc/RubyXL/IconFilter.html +442 -49
  249. data/rdoc/RubyXL/IconSet.html +442 -49
  250. data/rdoc/RubyXL/IgnoredError.html +442 -49
  251. data/rdoc/RubyXL/IgnoredErrors.html +442 -49
  252. data/rdoc/RubyXL/IndexedColors.html +442 -49
  253. data/rdoc/RubyXL/InputCells.html +442 -49
  254. data/rdoc/RubyXL/IntegerNode.html +448 -49
  255. data/rdoc/RubyXL/IntegerValue.html +448 -49
  256. data/rdoc/RubyXL/LegacyCell.html +459 -62
  257. data/rdoc/RubyXL/LegacyWorksheet.html +509 -100
  258. data/rdoc/RubyXL/MRUColors.html +442 -49
  259. data/rdoc/RubyXL/MacrosFile.html +449 -50
  260. data/rdoc/RubyXL/MergedCell.html +442 -49
  261. data/rdoc/RubyXL/MergedCells.html +442 -49
  262. data/rdoc/RubyXL/NumFmt.html +442 -49
  263. data/rdoc/RubyXL/NumberFormat.html +465 -64
  264. data/rdoc/RubyXL/NumberFormats.html +466 -65
  265. data/rdoc/RubyXL/OLEObject.html +442 -49
  266. data/rdoc/RubyXL/OLEObjectFile.html +449 -50
  267. data/rdoc/RubyXL/OLEObjects.html +442 -49
  268. data/rdoc/RubyXL/OLESize.html +442 -49
  269. data/rdoc/RubyXL/OOXMLContainerObject.html +524 -113
  270. data/rdoc/RubyXL/OOXMLIgnored.html +493 -78
  271. data/rdoc/RubyXL/OOXMLObject.html +456 -53
  272. data/rdoc/RubyXL/OOXMLObjectClassMethods.html +495 -102
  273. data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +531 -126
  274. data/rdoc/RubyXL/OOXMLRelationshipsFile.html +537 -138
  275. data/rdoc/RubyXL/OOXMLTopLevelObject.html +515 -108
  276. data/rdoc/RubyXL/OdbcOleDbProperties.html +442 -49
  277. data/rdoc/RubyXL/Offset.html +442 -49
  278. data/rdoc/RubyXL/OlapProperties.html +442 -49
  279. data/rdoc/RubyXL/OleItem.html +442 -49
  280. data/rdoc/RubyXL/OleItems.html +442 -49
  281. data/rdoc/RubyXL/OleLink.html +442 -49
  282. data/rdoc/RubyXL/OutlineProperties.html +442 -49
  283. data/rdoc/RubyXL/PageMargins.html +442 -49
  284. data/rdoc/RubyXL/PageSetup.html +442 -49
  285. data/rdoc/RubyXL/PageSetupProperties.html +442 -49
  286. data/rdoc/RubyXL/Pane.html +442 -49
  287. data/rdoc/RubyXL/Parser.html +476 -71
  288. data/rdoc/RubyXL/PatternFill.html +442 -49
  289. data/rdoc/RubyXL/PersonMetadata.html +449 -50
  290. data/rdoc/RubyXL/PhoneticProperties.html +442 -49
  291. data/rdoc/RubyXL/PhoneticRun.html +442 -49
  292. data/rdoc/RubyXL/PivotArea.html +442 -49
  293. data/rdoc/RubyXL/PivotCache.html +442 -49
  294. data/rdoc/RubyXL/PivotCacheDefinitionFile.html +463 -54
  295. data/rdoc/RubyXL/PivotCacheRecordsFile.html +449 -50
  296. data/rdoc/RubyXL/PivotCaches.html +442 -49
  297. data/rdoc/RubyXL/PivotReference.html +442 -49
  298. data/rdoc/RubyXL/PivotReferences.html +442 -49
  299. data/rdoc/RubyXL/PivotTableFile.html +463 -54
  300. data/rdoc/RubyXL/PivotTableSelection.html +442 -49
  301. data/rdoc/RubyXL/PresetGeometry.html +442 -49
  302. data/rdoc/RubyXL/PrintOptions.html +442 -49
  303. data/rdoc/RubyXL/PrinterSettingsFile.html +449 -50
  304. data/rdoc/RubyXL/ProtectedRange.html +442 -49
  305. data/rdoc/RubyXL/ProtectedRanges.html +442 -49
  306. data/rdoc/RubyXL/Protection.html +442 -49
  307. data/rdoc/RubyXL/QueryParameter.html +442 -49
  308. data/rdoc/RubyXL/QueryParameters.html +442 -49
  309. data/rdoc/RubyXL/QueryTable.html +480 -69
  310. data/rdoc/RubyXL/QueryTableDeletedField.html +442 -49
  311. data/rdoc/RubyXL/QueryTableDeletedFields.html +442 -49
  312. data/rdoc/RubyXL/QueryTableField.html +442 -49
  313. data/rdoc/RubyXL/QueryTableFields.html +442 -49
  314. data/rdoc/RubyXL/QueryTableRefresh.html +442 -49
  315. data/rdoc/RubyXL/RID.html +448 -49
  316. data/rdoc/RubyXL/RawOOXML.html +488 -79
  317. data/rdoc/RubyXL/Reference.html +671 -174
  318. data/rdoc/RubyXL/Relationship.html +448 -49
  319. data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +459 -62
  320. data/rdoc/RubyXL/RelationshipSupport.html +508 -107
  321. data/rdoc/RubyXL/RevisionPointer.html +442 -49
  322. data/rdoc/RubyXL/RichText.html +465 -64
  323. data/rdoc/RubyXL/RichTextRun.html +465 -64
  324. data/rdoc/RubyXL/Row.html +505 -120
  325. data/rdoc/RubyXL/RowExt.html +442 -49
  326. data/rdoc/RubyXL/RunProperties.html +442 -49
  327. data/rdoc/RubyXL/Scenario.html +442 -49
  328. data/rdoc/RubyXL/Scenarios.html +442 -49
  329. data/rdoc/RubyXL/Selection.html +465 -64
  330. data/rdoc/RubyXL/ShapeGuide.html +442 -49
  331. data/rdoc/RubyXL/ShapeTextRectangle.html +442 -49
  332. data/rdoc/RubyXL/SharedStringsTable.html +511 -112
  333. data/rdoc/RubyXL/Sheet.html +442 -49
  334. data/rdoc/RubyXL/SheetCalculationProperties.html +442 -49
  335. data/rdoc/RubyXL/SheetData.html +471 -72
  336. data/rdoc/RubyXL/SheetDataExt.html +442 -49
  337. data/rdoc/RubyXL/SheetDataSet.html +442 -49
  338. data/rdoc/RubyXL/SheetMetadata.html +449 -50
  339. data/rdoc/RubyXL/SheetName.html +442 -49
  340. data/rdoc/RubyXL/SheetNames.html +442 -49
  341. data/rdoc/RubyXL/Sheets.html +442 -49
  342. data/rdoc/RubyXL/SlicerCacheFile.html +449 -50
  343. data/rdoc/RubyXL/SlicerFile.html +449 -50
  344. data/rdoc/RubyXL/SmartTagProperties.html +442 -49
  345. data/rdoc/RubyXL/SmartTagType.html +442 -49
  346. data/rdoc/RubyXL/SmartTagTypes.html +442 -49
  347. data/rdoc/RubyXL/SmartTags.html +442 -49
  348. data/rdoc/RubyXL/SortCondition.html +442 -49
  349. data/rdoc/RubyXL/SortState.html +442 -49
  350. data/rdoc/RubyXL/Sqref.html +493 -78
  351. data/rdoc/RubyXL/Stop.html +442 -49
  352. data/rdoc/RubyXL/StringNode.html +448 -49
  353. data/rdoc/RubyXL/StringNodeW3C.html +493 -78
  354. data/rdoc/RubyXL/StringValue.html +448 -49
  355. data/rdoc/RubyXL/Stylesheet.html +506 -103
  356. data/rdoc/RubyXL/TableFile.html +449 -50
  357. data/rdoc/RubyXL/TableParts.html +448 -49
  358. data/rdoc/RubyXL/TableStyle.html +442 -49
  359. data/rdoc/RubyXL/TableStyles.html +442 -49
  360. data/rdoc/RubyXL/Text.html +472 -73
  361. data/rdoc/RubyXL/TextImportSettings.html +442 -49
  362. data/rdoc/RubyXL/Theme.html +494 -87
  363. data/rdoc/RubyXL/ThemeElements.html +442 -49
  364. data/rdoc/RubyXL/ThumbnailFile.html +449 -50
  365. data/rdoc/RubyXL/Top10.html +442 -49
  366. data/rdoc/RubyXL/VMLDrawingFile.html +463 -54
  367. data/rdoc/RubyXL/Variant.html +442 -49
  368. data/rdoc/RubyXL/Vector.html +465 -64
  369. data/rdoc/RubyXL/VectorValue.html +448 -49
  370. data/rdoc/RubyXL/VisualProperties.html +442 -49
  371. data/rdoc/RubyXL/WebPublishObject.html +442 -49
  372. data/rdoc/RubyXL/WebPublishObjects.html +442 -49
  373. data/rdoc/RubyXL/WebPublishingItem.html +442 -49
  374. data/rdoc/RubyXL/WebPublishingItems.html +442 -49
  375. data/rdoc/RubyXL/WebPublishingProperties.html +442 -49
  376. data/rdoc/RubyXL/WebQueryProperties.html +442 -49
  377. data/rdoc/RubyXL/Workbook.html +628 -260
  378. data/rdoc/RubyXL/WorkbookConvenienceMethods.html +542 -179
  379. data/rdoc/RubyXL/WorkbookProperties.html +442 -49
  380. data/rdoc/RubyXL/WorkbookProtection.html +442 -49
  381. data/rdoc/RubyXL/WorkbookRoot.html +526 -107
  382. data/rdoc/RubyXL/WorkbookView.html +442 -49
  383. data/rdoc/RubyXL/WorkbookViews.html +442 -49
  384. data/rdoc/RubyXL/Worksheet.html +527 -118
  385. data/rdoc/RubyXL/WorksheetConvenienceMethods.html +799 -538
  386. data/rdoc/RubyXL/WorksheetDimensions.html +442 -49
  387. data/rdoc/RubyXL/WorksheetFormatProperties.html +448 -49
  388. data/rdoc/RubyXL/WorksheetProperties.html +442 -49
  389. data/rdoc/RubyXL/WorksheetProtection.html +442 -49
  390. data/rdoc/RubyXL/WorksheetView.html +442 -49
  391. data/rdoc/RubyXL/WorksheetViews.html +442 -49
  392. data/rdoc/RubyXL/XF.html +442 -49
  393. data/rdoc/RubyXL.html +453 -62
  394. data/rdoc/created.rid +29 -29
  395. data/rdoc/css/rdoc.css +1600 -328
  396. data/rdoc/index.html +401 -57
  397. data/rdoc/js/aliki.js +511 -0
  398. data/rdoc/js/bash_highlighter.js +167 -0
  399. data/rdoc/js/c_highlighter.js +299 -0
  400. data/rdoc/js/{search.js → search_controller.js} +16 -7
  401. data/rdoc/js/search_data.js +1 -0
  402. data/rdoc/js/{navigation.js → search_navigation.js} +2 -2
  403. data/rdoc/js/search_ranker.js +239 -0
  404. data/rdoc/js/theme-toggle.js +112 -0
  405. data/rubyXL.gemspec +11 -44
  406. data/spec/lib/cell_spec.rb +1 -1
  407. data/spec/lib/reference_spec.rb +36 -3
  408. metadata +10 -43
  409. data/rdoc/css/fonts.css +0 -167
  410. data/rdoc/fonts/Lato-Light.ttf +0 -0
  411. data/rdoc/fonts/Lato-LightItalic.ttf +0 -0
  412. data/rdoc/fonts/Lato-Regular.ttf +0 -0
  413. data/rdoc/fonts/Lato-RegularItalic.ttf +0 -0
  414. data/rdoc/fonts/SourceCodePro-Bold.ttf +0 -0
  415. data/rdoc/fonts/SourceCodePro-Regular.ttf +0 -0
  416. data/rdoc/images/add.png +0 -0
  417. data/rdoc/images/arrow_up.png +0 -0
  418. data/rdoc/images/brick.png +0 -0
  419. data/rdoc/images/brick_link.png +0 -0
  420. data/rdoc/images/bug.png +0 -0
  421. data/rdoc/images/bullet_black.png +0 -0
  422. data/rdoc/images/bullet_toggle_minus.png +0 -0
  423. data/rdoc/images/bullet_toggle_plus.png +0 -0
  424. data/rdoc/images/date.png +0 -0
  425. data/rdoc/images/delete.png +0 -0
  426. data/rdoc/images/find.png +0 -0
  427. data/rdoc/images/loadingAnimation.gif +0 -0
  428. data/rdoc/images/macFFBgHack.png +0 -0
  429. data/rdoc/images/package.png +0 -0
  430. data/rdoc/images/page_green.png +0 -0
  431. data/rdoc/images/page_white_text.png +0 -0
  432. data/rdoc/images/page_white_width.png +0 -0
  433. data/rdoc/images/plugin.png +0 -0
  434. data/rdoc/images/ruby.png +0 -0
  435. data/rdoc/images/tag_blue.png +0 -0
  436. data/rdoc/images/tag_green.png +0 -0
  437. data/rdoc/images/transparent.png +0 -0
  438. data/rdoc/images/wrench.png +0 -0
  439. data/rdoc/images/wrench_orange.png +0 -0
  440. data/rdoc/images/zoom.png +0 -0
  441. data/rdoc/js/darkfish.js +0 -140
  442. data/rdoc/js/navigation.js.gz +0 -0
  443. data/rdoc/js/search_index.js +0 -1
  444. data/rdoc/js/search_index.js.gz +0 -0
  445. data/rdoc/js/searcher.js +0 -267
  446. data/rdoc/js/searcher.js.gz +0 -0
  447. data/rdoc/table_of_contents.html +0 -4253
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5fe00b75e714374728a3ddfcc3eb597cf4adbad2ccf56ca8b7ffebfe3f136489
4
- data.tar.gz: b6eb25207a43c228c64940f59913cca7d0e2dcdd4a7962839dd4eb626f43707d
3
+ metadata.gz: 369a7b8221bd71f47c4be2200a6fd6d8dc034c6385f9c8a7131676ab79ee4ea5
4
+ data.tar.gz: aed698564f5298300084c00ee8564a6cbd5eb71b87c35d570d1fd3057e880c1b
5
5
  SHA512:
6
- metadata.gz: 68a8d4c13699db6c15393ee295d23d9990b4524eb2cd85172fc33a1b17e8df99e1c6e16047c42cfb38ff2dc74c230df59d93b55a61f5dd180f4fa9cee5b43e34
7
- data.tar.gz: fd3c39b4c193ee0eb92b974e5a64db792b11c521f17aa851986fa8434dcfacebbf8693480cb91d40cc897efba6ab755cf9534f2ef6f680abaac4b303af46c460
6
+ metadata.gz: 0ed8b03c95452b2d936cc3d01be1cfdab61021b9b57b88bc6c55d494c65bc4b3456613f89838c2a25f2a76e8207abc4aa512b460e21f354a3a848eb3625e21e6
7
+ data.tar.gz: 3aae9a886e7926ceaad2eefc828ed66f5ecc719f74cf0d5d165a946d89941b710d5058a70fa8ef92a37f6d299a045d3239daa824bbc52d18817ced77215c4118
data/.circleci/config.yml CHANGED
@@ -2,12 +2,15 @@
2
2
  #
3
3
  # Check https://circleci.com/docs/2.0/language-ruby/ for more details
4
4
  #
5
- version: 2
5
+ version: 2.1
6
+
6
7
  jobs:
7
8
  build:
9
+ parameters:
10
+ ruby-version:
11
+ type: string
8
12
  docker:
9
- # specify the version you desire here
10
- - image: cimg/ruby:3.1.4
13
+ - image: cimg/ruby:<< parameters.ruby-version >>
11
14
 
12
15
  # Specify service dependencies here if necessary
13
16
  # CircleCI maintains a library of pre-built images
@@ -30,7 +33,7 @@ jobs:
30
33
  name: install dependencies
31
34
  command: |
32
35
  gem install bundler
33
- bundle install --jobs=4 --retry=3 --path vendor/bundle
36
+ bundle install --jobs=4 --retry=3
34
37
 
35
38
  #- save_cache:
36
39
  # paths:
@@ -58,3 +61,11 @@ jobs:
58
61
  - store_artifacts:
59
62
  path: /tmp/test-results
60
63
  destination: test-results
64
+
65
+ workflows:
66
+ test:
67
+ jobs:
68
+ - build:
69
+ matrix:
70
+ parameters:
71
+ ruby-version: ["3.0", "3.1", "3.2", "3.3", "3.4", "4.0"]
data/README.rdoc CHANGED
@@ -265,5 +265,5 @@ Take a look at the files in spec/lib/ for rspecs on most methods
265
265
 
266
266
  == Copyright
267
267
 
268
- Copyright (c) 2011 Vivek Bhagwat, 2013-2022 Wesha.
268
+ Copyright (c) 2011 Vivek Bhagwat, 2013-2026 Wesha.
269
269
  See LICENSE.txt for further details.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.4.35
1
+ 3.4.37
@@ -3,7 +3,8 @@ module RubyXL
3
3
  ROW_MAX = 1024 * 1024
4
4
  COL_MAX = 16393
5
5
 
6
- attr_reader :row_range, :col_range
6
+ attr_reader :row_range, :col_range, :sheet_name
7
+ attr_reader :row_from_absolute, :row_to_absolute, :col_from_absolute, :col_to_absolute
7
8
 
8
9
  # RubyXL::Reference.new(row, col)
9
10
  # RubyXL::Reference.new(row_from, row_to, col_from, col_to)
@@ -11,6 +12,7 @@ module RubyXL
11
12
  # RubyXL::Reference.new(row_from:, row_to:, col_from:, col_to:)
12
13
  def initialize(*params)
13
14
  row_from = row_to = col_from = col_to = nil
15
+ @row_from_absolute = @row_to_absolute = @col_from_absolute = @col_to_absolute = false
14
16
 
15
17
  case params.size
16
18
  when 4 then row_from, row_to, col_from, col_to = params
@@ -20,9 +22,16 @@ module RubyXL
20
22
  when Hash then
21
23
  row_from, row_to, col_from, col_to = params.first.fetch_values(:row_from, :row_to, :col_from, :col_to)
22
24
  when String then
23
- from, to = params[0].split(':')
24
- row_from, col_from = self.class.ref2ind(from)
25
- row_to, col_to = self.class.ref2ind(to) unless to.nil?
25
+ str = params.first
26
+ match_data = str.match(/^('(?<sheet_name1>[^']+)'|(?<sheet_name2>[^']+))!/)
27
+ if match_data then
28
+ @sheet_name = match_data['sheet_name1'] || match_data['sheet_name2']
29
+ str = str[match_data[0].size..-1]
30
+ end
31
+
32
+ from, to = str.split(':')
33
+ row_from, col_from, @row_from_absolute, @col_from_absolute = self.class.ref2ind(from)
34
+ row_to, col_to, @row_to_absolute, @col_to_absolute = self.class.ref2ind(to) unless to.nil?
26
35
  else
27
36
  raise ArgumentError.new("invalid value for #{self.class}: #{params[0].inspect}") unless params[0].is_a?(String)
28
37
  end
@@ -57,7 +66,8 @@ module RubyXL
57
66
  end
58
67
 
59
68
  def ==(other)
60
- !other.nil? && (@row_range == other.row_range) && (@col_range == other.col_range)
69
+ !other.nil? && (@sheet_name == other.sheet_name) &&
70
+ (@row_range == other.row_range) && (@col_range == other.col_range)
61
71
  end
62
72
 
63
73
  def cover?(other)
@@ -68,42 +78,57 @@ module RubyXL
68
78
  end
69
79
 
70
80
  def to_s
81
+ result = +''
82
+
83
+ if @sheet_name then
84
+ if @sheet_name.index(' ') then
85
+ result << "'#{@sheet_name}'"
86
+ else
87
+ result << @sheet_name
88
+ end
89
+ result << '!'
90
+ end
91
+
71
92
  if single_cell? then
72
- self.class.ind2ref(@row_range.begin, @col_range.begin)
93
+ result << self.class.ind2ref(@row_range.begin, @col_range.begin, @row_from_absolute, @col_from_absolute)
73
94
  else
74
- self.class.ind2ref(@row_range.begin, @col_range.begin) + ':' +
75
- self.class.ind2ref(@row_range.end, @col_range.end)
95
+ result << self.class.ind2ref(@row_range.begin, @col_range.begin, @row_from_absolute, @col_from_absolute)
96
+ result << ':'
97
+ result << self.class.ind2ref(@row_range.end, @col_range.end, @row_to_absolute, @col_to_absolute)
76
98
  end
77
99
  end
78
100
 
79
101
  def inspect
80
102
  if single_cell? then
81
- "#<#{self.class} @row=#{@row_range.begin} @col=#{@col_range.begin}>"
103
+ "#<#{self.class} @sheet_name=#{@sheet_name} @row=#{@row_range.begin} @col=#{@col_range.begin}>"
82
104
  else
83
- "#<#{self.class} @row_range=#{@row_range} @col_range=#{@col_range}>"
105
+ "#<#{self.class} @sheet_name=#{@sheet_name} @row_range=#{@row_range} @col_range=#{@col_range}>"
84
106
  end
85
107
  end
86
108
 
87
109
  # Converts +row+ and +col+ zero-based indices to Excel-style cell reference
88
110
  # <0> A...Z, AA...AZ, BA... ...ZZ, AAA... ...AZZ, BAA... ...XFD <16383>
89
- def self.ind2ref(row = 0, col = 0)
90
- str = ''
111
+ def self.ind2ref(row = 0, col = 0, row_abs = false, col_abs = false)
112
+ col_ref = ''
91
113
 
92
114
  loop do
93
115
  x = col % 26
94
- str = ('A'.ord + x).chr + str
116
+ col_ref = ('A'.ord + x).chr + col_ref
95
117
  col = (col / 26).floor - 1
96
118
  break if col < 0
97
119
  end
98
120
 
99
- str += (row + 1).to_s
121
+ "#{col_abs ? '$' : ''}#{col_ref}#{row_abs ? '$' : ''}#{row + 1}"
100
122
  end
101
123
 
102
124
  # Converts Excel-style cell reference to +row+ and +col+ zero-based indices.
103
125
  def self.ref2ind(str)
104
- return [ -1, -1 ] unless str =~ /\A([A-Z]+)(\d+)\Z/
105
- [ Regexp.last_match(2).to_i - 1,
106
- Regexp.last_match(1).each_byte.inject(0) { |col, chr| (col * 26) + (chr - 64) } - 1 ]
126
+ matchdata = str.match(/\A(?<cabs>\$?)(?<col>[A-Z]+)(?<rabs>\$?)(?<row>\d+)\Z/)
127
+ return [ -1, -1 ] unless matchdata
128
+ [ matchdata['row'].to_i - 1,
129
+ matchdata['col'].each_byte.inject(0) { |col, chr| (col * 26) + (chr - 64) } - 1,
130
+ !matchdata['rabs'].empty?,
131
+ !matchdata['cabs'].empty? ]
107
132
  end
108
133
  end
109
134
 
@@ -111,6 +111,7 @@ module RubyXL
111
111
  when RubyXL::DataType::INLINE_STRING then is.to_s
112
112
  when RubyXL::DataType::RAW_STRING then raw_value
113
113
  when RubyXL::DataType::DATE then raw_value && DateTime.parse(raw_value)
114
+ when RubyXL::DataType::ERROR then nil
114
115
  else
115
116
  if is then is.to_s
116
117
  elsif is_date? then workbook.num_to_date(r.to_f)
@@ -123,6 +124,10 @@ module RubyXL
123
124
  end
124
125
  end
125
126
 
127
+ def error?
128
+ datatype == RubyXL::DataType::ERROR
129
+ end
130
+
126
131
  def inspect
127
132
  str = "#<#{self.class}(#{row},#{column}): #{raw_value.inspect}"
128
133
  str << " =#{self.formula.expression}" if self.formula
@@ -146,6 +146,13 @@ module RubyXL
146
146
  class DefinedNames < OOXMLContainerObject
147
147
  define_child_node(RubyXL::DefinedName, :collection => true)
148
148
  define_element_name 'definedNames'
149
+
150
+ def [](key)
151
+ case key
152
+ when Integer then super
153
+ when String then self.find { |n| n.name.eql?(key) }
154
+ end
155
+ end
149
156
  end
150
157
 
151
158
  # http://www.datypic.com/sc/ooxml/e-ssml_pivotCache-1.html