rubyXL 3.4.35 → 3.4.36

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 (444) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/rubyXL/objects/reference.rb +29 -9
  4. data/lib/rubyXL/objects/workbook.rb +7 -0
  5. data/rdoc/README_rdoc.html +480 -462
  6. data/rdoc/RubyXL/AExtension.html +488 -79
  7. data/rdoc/RubyXL/AExtensionStorageArea.html +448 -49
  8. data/rdoc/RubyXL/ActiveX.html +486 -69
  9. data/rdoc/RubyXL/ActiveXBinary.html +449 -50
  10. data/rdoc/RubyXL/AdjustHandleList.html +442 -49
  11. data/rdoc/RubyXL/Alignment.html +442 -49
  12. data/rdoc/RubyXL/AlternateContent.html +448 -49
  13. data/rdoc/RubyXL/AlternateUrls.html +442 -49
  14. data/rdoc/RubyXL/Authors.html +442 -49
  15. data/rdoc/RubyXL/AutoFilter.html +442 -49
  16. data/rdoc/RubyXL/AutoFilterColumn.html +442 -49
  17. data/rdoc/RubyXL/BinaryImageFile.html +449 -50
  18. data/rdoc/RubyXL/BodyProperties.html +442 -49
  19. data/rdoc/RubyXL/BooleanNode.html +448 -49
  20. data/rdoc/RubyXL/BooleanValue.html +448 -49
  21. data/rdoc/RubyXL/Border.html +478 -83
  22. data/rdoc/RubyXL/BorderEdge.html +477 -72
  23. data/rdoc/RubyXL/Borders.html +464 -63
  24. data/rdoc/RubyXL/Break.html +442 -49
  25. data/rdoc/RubyXL/BreakList.html +442 -49
  26. data/rdoc/RubyXL/CT_AdjPoint2D.html +442 -49
  27. data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +442 -49
  28. data/rdoc/RubyXL/CT_AlphaModulateEffect.html +442 -49
  29. data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +442 -49
  30. data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +442 -49
  31. data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +442 -49
  32. data/rdoc/RubyXL/CT_Backdrop.html +442 -49
  33. data/rdoc/RubyXL/CT_Bevel.html +442 -49
  34. data/rdoc/RubyXL/CT_BiLevelEffect.html +442 -49
  35. data/rdoc/RubyXL/CT_BlendEffect.html +442 -49
  36. data/rdoc/RubyXL/CT_Blip.html +442 -49
  37. data/rdoc/RubyXL/CT_BlipFillProperties.html +442 -49
  38. data/rdoc/RubyXL/CT_BlurEffect.html +442 -49
  39. data/rdoc/RubyXL/CT_Camera.html +442 -49
  40. data/rdoc/RubyXL/CT_Color.html +442 -49
  41. data/rdoc/RubyXL/CT_ColorChangeEffect.html +442 -49
  42. data/rdoc/RubyXL/CT_ColorMapping.html +442 -49
  43. data/rdoc/RubyXL/CT_ColorScheme.html +442 -49
  44. data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +442 -49
  45. data/rdoc/RubyXL/CT_ConnectionSite.html +442 -49
  46. data/rdoc/RubyXL/CT_ConnectionSiteList.html +442 -49
  47. data/rdoc/RubyXL/CT_DashStop.html +442 -49
  48. data/rdoc/RubyXL/CT_DashStopList.html +442 -49
  49. data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +442 -49
  50. data/rdoc/RubyXL/CT_DuotoneEffect.html +442 -49
  51. data/rdoc/RubyXL/CT_EffectContainer.html +442 -49
  52. data/rdoc/RubyXL/CT_EffectList.html +442 -49
  53. data/rdoc/RubyXL/CT_EffectReference.html +442 -49
  54. data/rdoc/RubyXL/CT_EffectStyleItem.html +442 -49
  55. data/rdoc/RubyXL/CT_EffectStyleList.html +442 -49
  56. data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +442 -49
  57. data/rdoc/RubyXL/CT_FillEffect.html +442 -49
  58. data/rdoc/RubyXL/CT_FillOverlayEffect.html +442 -49
  59. data/rdoc/RubyXL/CT_FillStyleList.html +442 -49
  60. data/rdoc/RubyXL/CT_FlatText.html +442 -49
  61. data/rdoc/RubyXL/CT_FontCollection.html +442 -49
  62. data/rdoc/RubyXL/CT_FontReference.html +442 -49
  63. data/rdoc/RubyXL/CT_GeomGuideList.html +442 -49
  64. data/rdoc/RubyXL/CT_GlowEffect.html +442 -49
  65. data/rdoc/RubyXL/CT_GradientFillProperties.html +442 -49
  66. data/rdoc/RubyXL/CT_GradientStop.html +442 -49
  67. data/rdoc/RubyXL/CT_GradientStopList.html +442 -49
  68. data/rdoc/RubyXL/CT_HSLEffect.html +442 -49
  69. data/rdoc/RubyXL/CT_HslColor.html +442 -49
  70. data/rdoc/RubyXL/CT_Hyperlink.html +442 -49
  71. data/rdoc/RubyXL/CT_InnerShadowEffect.html +442 -49
  72. data/rdoc/RubyXL/CT_LightRig.html +442 -49
  73. data/rdoc/RubyXL/CT_LineEndProperties.html +442 -49
  74. data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +442 -49
  75. data/rdoc/RubyXL/CT_LineProperties.html +442 -49
  76. data/rdoc/RubyXL/CT_LineStyleList.html +442 -49
  77. data/rdoc/RubyXL/CT_LinearShadeProperties.html +442 -49
  78. data/rdoc/RubyXL/CT_LuminanceEffect.html +442 -49
  79. data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +442 -49
  80. data/rdoc/RubyXL/CT_OuterShadowEffect.html +442 -49
  81. data/rdoc/RubyXL/CT_Path2D.html +442 -49
  82. data/rdoc/RubyXL/CT_Path2DArcTo.html +442 -49
  83. data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +442 -49
  84. data/rdoc/RubyXL/CT_Path2DList.html +442 -49
  85. data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +442 -49
  86. data/rdoc/RubyXL/CT_Path2DTo.html +442 -49
  87. data/rdoc/RubyXL/CT_PathShadeProperties.html +442 -49
  88. data/rdoc/RubyXL/CT_PatternFillProperties.html +442 -49
  89. data/rdoc/RubyXL/CT_Point3D.html +442 -49
  90. data/rdoc/RubyXL/CT_PolarAdjustHandle.html +442 -49
  91. data/rdoc/RubyXL/CT_PresetColor.html +442 -49
  92. data/rdoc/RubyXL/CT_PresetLineDashProperties.html +442 -49
  93. data/rdoc/RubyXL/CT_PresetShadowEffect.html +442 -49
  94. data/rdoc/RubyXL/CT_PresetTextShape.html +442 -49
  95. data/rdoc/RubyXL/CT_ReflectionEffect.html +442 -49
  96. data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +442 -49
  97. data/rdoc/RubyXL/CT_RelativeRect.html +442 -49
  98. data/rdoc/RubyXL/CT_SRgbColor.html +442 -49
  99. data/rdoc/RubyXL/CT_ScRgbColor.html +442 -49
  100. data/rdoc/RubyXL/CT_Scene3D.html +442 -49
  101. data/rdoc/RubyXL/CT_SchemeColor.html +442 -49
  102. data/rdoc/RubyXL/CT_Shape3D.html +442 -49
  103. data/rdoc/RubyXL/CT_ShapeStyle.html +442 -49
  104. data/rdoc/RubyXL/CT_SoftEdgesEffect.html +442 -49
  105. data/rdoc/RubyXL/CT_SphereCoords.html +442 -49
  106. data/rdoc/RubyXL/CT_StretchInfoProperties.html +442 -49
  107. data/rdoc/RubyXL/CT_StyleMatrix.html +442 -49
  108. data/rdoc/RubyXL/CT_StyleMatrixReference.html +442 -49
  109. data/rdoc/RubyXL/CT_SupplementalFont.html +442 -49
  110. data/rdoc/RubyXL/CT_SystemColor.html +442 -49
  111. data/rdoc/RubyXL/CT_TextAutonumberBullet.html +442 -49
  112. data/rdoc/RubyXL/CT_TextBlipBullet.html +442 -49
  113. data/rdoc/RubyXL/CT_TextCharBullet.html +442 -49
  114. data/rdoc/RubyXL/CT_TextCharacterProperties.html +442 -49
  115. data/rdoc/RubyXL/CT_TextFont.html +442 -49
  116. data/rdoc/RubyXL/CT_TextListStyle.html +442 -49
  117. data/rdoc/RubyXL/CT_TextNormalAutofit.html +442 -49
  118. data/rdoc/RubyXL/CT_TextParagraphProperties.html +442 -49
  119. data/rdoc/RubyXL/CT_TextSpacing.html +442 -49
  120. data/rdoc/RubyXL/CT_TextTabStop.html +442 -49
  121. data/rdoc/RubyXL/CT_TextTabStopList.html +442 -49
  122. data/rdoc/RubyXL/CT_TileInfoProperties.html +442 -49
  123. data/rdoc/RubyXL/CT_TintEffect.html +442 -49
  124. data/rdoc/RubyXL/CT_Transform2D.html +442 -49
  125. data/rdoc/RubyXL/CT_TransformEffect.html +442 -49
  126. data/rdoc/RubyXL/CT_Vector3D.html +442 -49
  127. data/rdoc/RubyXL/CT_XYAdjustHandle.html +442 -49
  128. data/rdoc/RubyXL/CalculationChain.html +466 -65
  129. data/rdoc/RubyXL/CalculationChainCell.html +442 -49
  130. data/rdoc/RubyXL/CalculationProperties.html +442 -49
  131. data/rdoc/RubyXL/Cell.html +544 -159
  132. data/rdoc/RubyXL/CellConvenienceMethods.html +637 -312
  133. data/rdoc/RubyXL/CellExt.html +442 -49
  134. data/rdoc/RubyXL/CellSmartTag.html +442 -49
  135. data/rdoc/RubyXL/CellSmartTagProperty.html +442 -49
  136. data/rdoc/RubyXL/CellSmartTags.html +442 -49
  137. data/rdoc/RubyXL/CellStyle.html +442 -49
  138. data/rdoc/RubyXL/CellStyleXFs.html +464 -63
  139. data/rdoc/RubyXL/CellStyles.html +464 -63
  140. data/rdoc/RubyXL/CellValue.html +465 -64
  141. data/rdoc/RubyXL/CellWatch.html +442 -49
  142. data/rdoc/RubyXL/CellWatches.html +442 -49
  143. data/rdoc/RubyXL/CellXFs.html +464 -63
  144. data/rdoc/RubyXL/ChartColorsFile.html +449 -50
  145. data/rdoc/RubyXL/ChartFile.html +486 -69
  146. data/rdoc/RubyXL/ChartStyleFile.html +449 -50
  147. data/rdoc/RubyXL/ChartUserShapesFile.html +449 -50
  148. data/rdoc/RubyXL/Chartsheet.html +481 -70
  149. data/rdoc/RubyXL/ChartsheetPageSetup.html +442 -49
  150. data/rdoc/RubyXL/ChartsheetProperties.html +442 -49
  151. data/rdoc/RubyXL/ChartsheetProtection.html +442 -49
  152. data/rdoc/RubyXL/ChartsheetView.html +442 -49
  153. data/rdoc/RubyXL/ChartsheetViews.html +442 -49
  154. data/rdoc/RubyXL/Color.html +465 -64
  155. data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +478 -73
  156. data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +494 -87
  157. data/rdoc/RubyXL/ColorConvenienceClasses.html +436 -47
  158. data/rdoc/RubyXL/ColorConvenienceMethods.html +459 -62
  159. data/rdoc/RubyXL/ColorFilter.html +442 -49
  160. data/rdoc/RubyXL/ColorScale.html +442 -49
  161. data/rdoc/RubyXL/ColorSet.html +442 -49
  162. data/rdoc/RubyXL/Colors.html +442 -49
  163. data/rdoc/RubyXL/ColumnRange.html +500 -95
  164. data/rdoc/RubyXL/ColumnRanges.html +484 -83
  165. data/rdoc/RubyXL/Comment.html +442 -49
  166. data/rdoc/RubyXL/CommentList.html +442 -49
  167. data/rdoc/RubyXL/CommentsFile.html +467 -66
  168. data/rdoc/RubyXL/ConditionalFormatValue.html +442 -49
  169. data/rdoc/RubyXL/ConditionalFormatting.html +442 -49
  170. data/rdoc/RubyXL/ConditionalFormattingRule.html +442 -49
  171. data/rdoc/RubyXL/Connection.html +442 -49
  172. data/rdoc/RubyXL/ConnectionTable.html +442 -49
  173. data/rdoc/RubyXL/ConnectionTables.html +442 -49
  174. data/rdoc/RubyXL/ConnectionTextField.html +442 -49
  175. data/rdoc/RubyXL/ConnectionTextFields.html +442 -49
  176. data/rdoc/RubyXL/Connections.html +466 -65
  177. data/rdoc/RubyXL/ContentTypeDefault.html +448 -49
  178. data/rdoc/RubyXL/ContentTypeOverride.html +448 -49
  179. data/rdoc/RubyXL/ContentTypes.html +478 -73
  180. data/rdoc/RubyXL/ControlPropertiesFile.html +449 -50
  181. data/rdoc/RubyXL/CorePropertiesFile.html +511 -120
  182. data/rdoc/RubyXL/CustomColor.html +442 -49
  183. data/rdoc/RubyXL/CustomColorList.html +442 -49
  184. data/rdoc/RubyXL/CustomFilter.html +442 -49
  185. data/rdoc/RubyXL/CustomFilters.html +442 -49
  186. data/rdoc/RubyXL/CustomGeometry.html +442 -49
  187. data/rdoc/RubyXL/CustomProperties.html +442 -49
  188. data/rdoc/RubyXL/CustomPropertiesFile.html +449 -50
  189. data/rdoc/RubyXL/CustomProperty.html +442 -49
  190. data/rdoc/RubyXL/CustomPropertyFile.html +449 -50
  191. data/rdoc/RubyXL/CustomSheetView.html +442 -49
  192. data/rdoc/RubyXL/CustomSheetViews.html +442 -49
  193. data/rdoc/RubyXL/CustomWorkbookView.html +442 -49
  194. data/rdoc/RubyXL/CustomWorkbookViews.html +442 -49
  195. data/rdoc/RubyXL/CustomXMLFile.html +449 -50
  196. data/rdoc/RubyXL/DXF.html +442 -49
  197. data/rdoc/RubyXL/DXFs.html +442 -49
  198. data/rdoc/RubyXL/DataBar.html +442 -49
  199. data/rdoc/RubyXL/DataConsolidate.html +442 -49
  200. data/rdoc/RubyXL/DataConsolidationReference.html +442 -49
  201. data/rdoc/RubyXL/DataConsolidationReferences.html +442 -49
  202. data/rdoc/RubyXL/DataType.html +431 -48
  203. data/rdoc/RubyXL/DataValidation.html +442 -49
  204. data/rdoc/RubyXL/DataValidations.html +442 -49
  205. data/rdoc/RubyXL/DateGroupItem.html +442 -49
  206. data/rdoc/RubyXL/DefinedName.html +442 -49
  207. data/rdoc/RubyXL/DefinedNameExt.html +442 -49
  208. data/rdoc/RubyXL/DefinedNames.html +519 -49
  209. data/rdoc/RubyXL/DefinedNamesExt.html +442 -49
  210. data/rdoc/RubyXL/DocumentPropertiesFile.html +473 -74
  211. data/rdoc/RubyXL/DrawingFile.html +486 -69
  212. data/rdoc/RubyXL/DynamicFilter.html +442 -49
  213. data/rdoc/RubyXL/EmbeddedControl.html +442 -49
  214. data/rdoc/RubyXL/EmbeddedControls.html +442 -49
  215. data/rdoc/RubyXL/Extension.html +442 -49
  216. data/rdoc/RubyXL/ExtensionStorageArea.html +442 -49
  217. data/rdoc/RubyXL/Extents.html +442 -49
  218. data/rdoc/RubyXL/ExternalBook.html +442 -49
  219. data/rdoc/RubyXL/ExternalLinksFile.html +486 -69
  220. data/rdoc/RubyXL/ExternalReference.html +442 -49
  221. data/rdoc/RubyXL/ExternalReferences.html +442 -49
  222. data/rdoc/RubyXL/ExtraColorSchemeList.html +442 -49
  223. data/rdoc/RubyXL/FieldItem.html +442 -49
  224. data/rdoc/RubyXL/FileRecoveryProperties.html +442 -49
  225. data/rdoc/RubyXL/FileSharing.html +442 -49
  226. data/rdoc/RubyXL/FileVersion.html +442 -49
  227. data/rdoc/RubyXL/Fill.html +464 -63
  228. data/rdoc/RubyXL/Fills.html +464 -63
  229. data/rdoc/RubyXL/FilterContainer.html +442 -49
  230. data/rdoc/RubyXL/FloatNode.html +448 -49
  231. data/rdoc/RubyXL/FloatValue.html +448 -49
  232. data/rdoc/RubyXL/Font.html +465 -64
  233. data/rdoc/RubyXL/FontConvenienceMethods.html +522 -151
  234. data/rdoc/RubyXL/FontScheme.html +442 -49
  235. data/rdoc/RubyXL/Fonts.html +464 -63
  236. data/rdoc/RubyXL/Formula.html +442 -49
  237. data/rdoc/RubyXL/FunctionGroup.html +442 -49
  238. data/rdoc/RubyXL/FunctionGroups.html +442 -49
  239. data/rdoc/RubyXL/GenericStorageObject.html +501 -88
  240. data/rdoc/RubyXL/GradientFill.html +442 -49
  241. data/rdoc/RubyXL/HeaderFooterSettings.html +442 -49
  242. data/rdoc/RubyXL/Hyperlink.html +442 -49
  243. data/rdoc/RubyXL/HyperlinkRelFile.html +449 -50
  244. data/rdoc/RubyXL/Hyperlinks.html +442 -49
  245. data/rdoc/RubyXL/IconFilter.html +442 -49
  246. data/rdoc/RubyXL/IconSet.html +442 -49
  247. data/rdoc/RubyXL/IgnoredError.html +442 -49
  248. data/rdoc/RubyXL/IgnoredErrors.html +442 -49
  249. data/rdoc/RubyXL/IndexedColors.html +442 -49
  250. data/rdoc/RubyXL/InputCells.html +442 -49
  251. data/rdoc/RubyXL/IntegerNode.html +448 -49
  252. data/rdoc/RubyXL/IntegerValue.html +448 -49
  253. data/rdoc/RubyXL/LegacyCell.html +459 -62
  254. data/rdoc/RubyXL/LegacyWorksheet.html +509 -100
  255. data/rdoc/RubyXL/MRUColors.html +442 -49
  256. data/rdoc/RubyXL/MacrosFile.html +449 -50
  257. data/rdoc/RubyXL/MergedCell.html +442 -49
  258. data/rdoc/RubyXL/MergedCells.html +442 -49
  259. data/rdoc/RubyXL/NumFmt.html +442 -49
  260. data/rdoc/RubyXL/NumberFormat.html +465 -64
  261. data/rdoc/RubyXL/NumberFormats.html +466 -65
  262. data/rdoc/RubyXL/OLEObject.html +442 -49
  263. data/rdoc/RubyXL/OLEObjectFile.html +449 -50
  264. data/rdoc/RubyXL/OLEObjects.html +442 -49
  265. data/rdoc/RubyXL/OLESize.html +442 -49
  266. data/rdoc/RubyXL/OOXMLContainerObject.html +524 -113
  267. data/rdoc/RubyXL/OOXMLIgnored.html +493 -78
  268. data/rdoc/RubyXL/OOXMLObject.html +456 -53
  269. data/rdoc/RubyXL/OOXMLObjectClassMethods.html +495 -102
  270. data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +531 -126
  271. data/rdoc/RubyXL/OOXMLRelationshipsFile.html +537 -138
  272. data/rdoc/RubyXL/OOXMLTopLevelObject.html +515 -108
  273. data/rdoc/RubyXL/OdbcOleDbProperties.html +442 -49
  274. data/rdoc/RubyXL/Offset.html +442 -49
  275. data/rdoc/RubyXL/OlapProperties.html +442 -49
  276. data/rdoc/RubyXL/OleItem.html +442 -49
  277. data/rdoc/RubyXL/OleItems.html +442 -49
  278. data/rdoc/RubyXL/OleLink.html +442 -49
  279. data/rdoc/RubyXL/OutlineProperties.html +442 -49
  280. data/rdoc/RubyXL/PageMargins.html +442 -49
  281. data/rdoc/RubyXL/PageSetup.html +442 -49
  282. data/rdoc/RubyXL/PageSetupProperties.html +442 -49
  283. data/rdoc/RubyXL/Pane.html +442 -49
  284. data/rdoc/RubyXL/Parser.html +476 -71
  285. data/rdoc/RubyXL/PatternFill.html +442 -49
  286. data/rdoc/RubyXL/PersonMetadata.html +449 -50
  287. data/rdoc/RubyXL/PhoneticProperties.html +442 -49
  288. data/rdoc/RubyXL/PhoneticRun.html +442 -49
  289. data/rdoc/RubyXL/PivotArea.html +442 -49
  290. data/rdoc/RubyXL/PivotCache.html +442 -49
  291. data/rdoc/RubyXL/PivotCacheDefinitionFile.html +463 -54
  292. data/rdoc/RubyXL/PivotCacheRecordsFile.html +449 -50
  293. data/rdoc/RubyXL/PivotCaches.html +442 -49
  294. data/rdoc/RubyXL/PivotReference.html +442 -49
  295. data/rdoc/RubyXL/PivotReferences.html +442 -49
  296. data/rdoc/RubyXL/PivotTableFile.html +463 -54
  297. data/rdoc/RubyXL/PivotTableSelection.html +442 -49
  298. data/rdoc/RubyXL/PresetGeometry.html +442 -49
  299. data/rdoc/RubyXL/PrintOptions.html +442 -49
  300. data/rdoc/RubyXL/PrinterSettingsFile.html +449 -50
  301. data/rdoc/RubyXL/ProtectedRange.html +442 -49
  302. data/rdoc/RubyXL/ProtectedRanges.html +442 -49
  303. data/rdoc/RubyXL/Protection.html +442 -49
  304. data/rdoc/RubyXL/QueryParameter.html +442 -49
  305. data/rdoc/RubyXL/QueryParameters.html +442 -49
  306. data/rdoc/RubyXL/QueryTable.html +480 -69
  307. data/rdoc/RubyXL/QueryTableDeletedField.html +442 -49
  308. data/rdoc/RubyXL/QueryTableDeletedFields.html +442 -49
  309. data/rdoc/RubyXL/QueryTableField.html +442 -49
  310. data/rdoc/RubyXL/QueryTableFields.html +442 -49
  311. data/rdoc/RubyXL/QueryTableRefresh.html +442 -49
  312. data/rdoc/RubyXL/RID.html +448 -49
  313. data/rdoc/RubyXL/RawOOXML.html +488 -79
  314. data/rdoc/RubyXL/Reference.html +594 -165
  315. data/rdoc/RubyXL/Relationship.html +448 -49
  316. data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +459 -62
  317. data/rdoc/RubyXL/RelationshipSupport.html +508 -107
  318. data/rdoc/RubyXL/RevisionPointer.html +442 -49
  319. data/rdoc/RubyXL/RichText.html +465 -64
  320. data/rdoc/RubyXL/RichTextRun.html +465 -64
  321. data/rdoc/RubyXL/Row.html +505 -120
  322. data/rdoc/RubyXL/RowExt.html +442 -49
  323. data/rdoc/RubyXL/RunProperties.html +442 -49
  324. data/rdoc/RubyXL/Scenario.html +442 -49
  325. data/rdoc/RubyXL/Scenarios.html +442 -49
  326. data/rdoc/RubyXL/Selection.html +465 -64
  327. data/rdoc/RubyXL/ShapeGuide.html +442 -49
  328. data/rdoc/RubyXL/ShapeTextRectangle.html +442 -49
  329. data/rdoc/RubyXL/SharedStringsTable.html +511 -112
  330. data/rdoc/RubyXL/Sheet.html +442 -49
  331. data/rdoc/RubyXL/SheetCalculationProperties.html +442 -49
  332. data/rdoc/RubyXL/SheetData.html +471 -72
  333. data/rdoc/RubyXL/SheetDataExt.html +442 -49
  334. data/rdoc/RubyXL/SheetDataSet.html +442 -49
  335. data/rdoc/RubyXL/SheetMetadata.html +449 -50
  336. data/rdoc/RubyXL/SheetName.html +442 -49
  337. data/rdoc/RubyXL/SheetNames.html +442 -49
  338. data/rdoc/RubyXL/Sheets.html +442 -49
  339. data/rdoc/RubyXL/SlicerCacheFile.html +449 -50
  340. data/rdoc/RubyXL/SlicerFile.html +449 -50
  341. data/rdoc/RubyXL/SmartTagProperties.html +442 -49
  342. data/rdoc/RubyXL/SmartTagType.html +442 -49
  343. data/rdoc/RubyXL/SmartTagTypes.html +442 -49
  344. data/rdoc/RubyXL/SmartTags.html +442 -49
  345. data/rdoc/RubyXL/SortCondition.html +442 -49
  346. data/rdoc/RubyXL/SortState.html +442 -49
  347. data/rdoc/RubyXL/Sqref.html +493 -78
  348. data/rdoc/RubyXL/Stop.html +442 -49
  349. data/rdoc/RubyXL/StringNode.html +448 -49
  350. data/rdoc/RubyXL/StringNodeW3C.html +493 -78
  351. data/rdoc/RubyXL/StringValue.html +448 -49
  352. data/rdoc/RubyXL/Stylesheet.html +506 -103
  353. data/rdoc/RubyXL/TableFile.html +449 -50
  354. data/rdoc/RubyXL/TableParts.html +448 -49
  355. data/rdoc/RubyXL/TableStyle.html +442 -49
  356. data/rdoc/RubyXL/TableStyles.html +442 -49
  357. data/rdoc/RubyXL/Text.html +472 -73
  358. data/rdoc/RubyXL/TextImportSettings.html +442 -49
  359. data/rdoc/RubyXL/Theme.html +494 -87
  360. data/rdoc/RubyXL/ThemeElements.html +442 -49
  361. data/rdoc/RubyXL/ThumbnailFile.html +449 -50
  362. data/rdoc/RubyXL/Top10.html +442 -49
  363. data/rdoc/RubyXL/VMLDrawingFile.html +463 -54
  364. data/rdoc/RubyXL/Variant.html +442 -49
  365. data/rdoc/RubyXL/Vector.html +465 -64
  366. data/rdoc/RubyXL/VectorValue.html +448 -49
  367. data/rdoc/RubyXL/VisualProperties.html +442 -49
  368. data/rdoc/RubyXL/WebPublishObject.html +442 -49
  369. data/rdoc/RubyXL/WebPublishObjects.html +442 -49
  370. data/rdoc/RubyXL/WebPublishingItem.html +442 -49
  371. data/rdoc/RubyXL/WebPublishingItems.html +442 -49
  372. data/rdoc/RubyXL/WebPublishingProperties.html +442 -49
  373. data/rdoc/RubyXL/WebQueryProperties.html +442 -49
  374. data/rdoc/RubyXL/Workbook.html +628 -260
  375. data/rdoc/RubyXL/WorkbookConvenienceMethods.html +542 -179
  376. data/rdoc/RubyXL/WorkbookProperties.html +442 -49
  377. data/rdoc/RubyXL/WorkbookProtection.html +442 -49
  378. data/rdoc/RubyXL/WorkbookRoot.html +526 -107
  379. data/rdoc/RubyXL/WorkbookView.html +442 -49
  380. data/rdoc/RubyXL/WorkbookViews.html +442 -49
  381. data/rdoc/RubyXL/Worksheet.html +527 -118
  382. data/rdoc/RubyXL/WorksheetConvenienceMethods.html +799 -538
  383. data/rdoc/RubyXL/WorksheetDimensions.html +442 -49
  384. data/rdoc/RubyXL/WorksheetFormatProperties.html +448 -49
  385. data/rdoc/RubyXL/WorksheetProperties.html +442 -49
  386. data/rdoc/RubyXL/WorksheetProtection.html +442 -49
  387. data/rdoc/RubyXL/WorksheetView.html +442 -49
  388. data/rdoc/RubyXL/WorksheetViews.html +442 -49
  389. data/rdoc/RubyXL/XF.html +442 -49
  390. data/rdoc/RubyXL.html +453 -62
  391. data/rdoc/created.rid +28 -28
  392. data/rdoc/css/rdoc.css +1600 -328
  393. data/rdoc/index.html +401 -57
  394. data/rdoc/js/aliki.js +511 -0
  395. data/rdoc/js/bash_highlighter.js +167 -0
  396. data/rdoc/js/c_highlighter.js +299 -0
  397. data/rdoc/js/{search.js → search_controller.js} +16 -7
  398. data/rdoc/js/search_data.js +1 -0
  399. data/rdoc/js/{navigation.js → search_navigation.js} +2 -2
  400. data/rdoc/js/search_ranker.js +239 -0
  401. data/rdoc/js/theme-toggle.js +112 -0
  402. data/rubyXL.gemspec +11 -44
  403. data/spec/lib/cell_spec.rb +1 -1
  404. data/spec/lib/reference_spec.rb +8 -2
  405. metadata +10 -43
  406. data/rdoc/css/fonts.css +0 -167
  407. data/rdoc/fonts/Lato-Light.ttf +0 -0
  408. data/rdoc/fonts/Lato-LightItalic.ttf +0 -0
  409. data/rdoc/fonts/Lato-Regular.ttf +0 -0
  410. data/rdoc/fonts/Lato-RegularItalic.ttf +0 -0
  411. data/rdoc/fonts/SourceCodePro-Bold.ttf +0 -0
  412. data/rdoc/fonts/SourceCodePro-Regular.ttf +0 -0
  413. data/rdoc/images/add.png +0 -0
  414. data/rdoc/images/arrow_up.png +0 -0
  415. data/rdoc/images/brick.png +0 -0
  416. data/rdoc/images/brick_link.png +0 -0
  417. data/rdoc/images/bug.png +0 -0
  418. data/rdoc/images/bullet_black.png +0 -0
  419. data/rdoc/images/bullet_toggle_minus.png +0 -0
  420. data/rdoc/images/bullet_toggle_plus.png +0 -0
  421. data/rdoc/images/date.png +0 -0
  422. data/rdoc/images/delete.png +0 -0
  423. data/rdoc/images/find.png +0 -0
  424. data/rdoc/images/loadingAnimation.gif +0 -0
  425. data/rdoc/images/macFFBgHack.png +0 -0
  426. data/rdoc/images/package.png +0 -0
  427. data/rdoc/images/page_green.png +0 -0
  428. data/rdoc/images/page_white_text.png +0 -0
  429. data/rdoc/images/page_white_width.png +0 -0
  430. data/rdoc/images/plugin.png +0 -0
  431. data/rdoc/images/ruby.png +0 -0
  432. data/rdoc/images/tag_blue.png +0 -0
  433. data/rdoc/images/tag_green.png +0 -0
  434. data/rdoc/images/transparent.png +0 -0
  435. data/rdoc/images/wrench.png +0 -0
  436. data/rdoc/images/wrench_orange.png +0 -0
  437. data/rdoc/images/zoom.png +0 -0
  438. data/rdoc/js/darkfish.js +0 -140
  439. data/rdoc/js/navigation.js.gz +0 -0
  440. data/rdoc/js/search_index.js +0 -1
  441. data/rdoc/js/search_index.js.gz +0 -0
  442. data/rdoc/js/searcher.js +0 -267
  443. data/rdoc/js/searcher.js.gz +0 -0
  444. data/rdoc/table_of_contents.html +0 -4253
@@ -0,0 +1,239 @@
1
+ /**
2
+ * Aliki Search Implementation
3
+ *
4
+ * Search algorithm with the following priorities:
5
+ * 1. Exact full_name match always wins (for namespace/method queries)
6
+ * 2. Exact name match gets high priority
7
+ * 3. Match types:
8
+ * - Namespace queries (::) and method queries (# or .) match against full_name
9
+ * - Regular queries match against unqualified name
10
+ * - Prefix (10000) > substring (5000) > fuzzy (1000)
11
+ * 4. First character determines type priority:
12
+ * - Starts with lowercase: methods first
13
+ * - Starts with uppercase: classes/modules/constants first
14
+ * 5. Within same type priority:
15
+ * - Unqualified match > qualified match
16
+ * - Shorter name > longer name
17
+ * 6. Class methods > instance methods
18
+ * 7. Result limit: 30
19
+ * 8. Minimum query length: 1 character
20
+ */
21
+
22
+ var MAX_RESULTS = 30;
23
+ var MIN_QUERY_LENGTH = 1;
24
+
25
+ /*
26
+ * Scoring constants - organized in tiers where each tier dominates lower tiers.
27
+ * This ensures match type always beats type priority, etc.
28
+ *
29
+ * Tier 0: Exact matches (immediate return)
30
+ * Tier 1: Match type (prefix > substring > fuzzy)
31
+ * Tier 2: Exact name bonus
32
+ * Tier 3: Type priority (method vs class based on query case)
33
+ * Tier 4: Minor bonuses (top-level, class method, name length)
34
+ */
35
+ var SCORE_EXACT_FULL_NAME = 1000000; // Tier 0: Query exactly matches full_name
36
+ var SCORE_MATCH_PREFIX = 10000; // Tier 1: Query is prefix of name
37
+ var SCORE_MATCH_SUBSTRING = 5000; // Tier 1: Query is substring of name
38
+ var SCORE_MATCH_FUZZY = 1000; // Tier 1: Query chars appear in order
39
+ var SCORE_EXACT_NAME = 500; // Tier 2: Name exactly equals query
40
+ var SCORE_TYPE_PRIORITY = 100; // Tier 3: Preferred type (method/class)
41
+ var SCORE_TOP_LEVEL = 50; // Tier 4: Top-level over namespaced
42
+ var SCORE_CLASS_METHOD = 10; // Tier 4: Class method over instance method
43
+
44
+ /**
45
+ * Check if all characters in query appear in order in target
46
+ * e.g., "addalias" fuzzy matches "add_foo_alias"
47
+ */
48
+ function fuzzyMatch(target, query) {
49
+ var ti = 0;
50
+ for (var qi = 0; qi < query.length; qi++) {
51
+ ti = target.indexOf(query[qi], ti);
52
+ if (ti === -1) return false;
53
+ ti++;
54
+ }
55
+ return true;
56
+ }
57
+
58
+ /**
59
+ * Parse and normalize a search query
60
+ * @param {string} query - The raw search query
61
+ * @returns {Object} Parsed query with normalized form and flags
62
+ */
63
+ function parseQuery(query) {
64
+ // Lowercase for case-insensitive matching (so "hash" finds both Hash class and #hash methods)
65
+ var normalized = query.toLowerCase();
66
+ var isNamespaceQuery = query.includes('::');
67
+ var isMethodQuery = query.includes('#') || query.includes('.');
68
+
69
+ // Normalize . to :: (RDoc uses :: for class methods in full_name)
70
+ if (query.includes('.')) {
71
+ normalized = normalized.replace(/\./g, '::');
72
+ }
73
+
74
+ return {
75
+ original: query,
76
+ normalized: normalized,
77
+ isNamespaceQuery: isNamespaceQuery,
78
+ isMethodQuery: isMethodQuery,
79
+ // Namespace and method queries match against full_name instead of name
80
+ matchesFullName: isNamespaceQuery || isMethodQuery,
81
+ // If query starts with lowercase, prioritize methods; otherwise prioritize classes/modules/constants
82
+ prioritizeMethod: !/^[A-Z]/.test(query)
83
+ };
84
+ }
85
+
86
+ /**
87
+ * Main search function
88
+ * @param {string} query - The search query
89
+ * @param {Array} index - The search index to search in
90
+ * @returns {Array} Array of matching entries, sorted by relevance
91
+ */
92
+ function search(query, index) {
93
+ if (!query || query.length < MIN_QUERY_LENGTH) {
94
+ return [];
95
+ }
96
+
97
+ var q = parseQuery(query);
98
+ var results = [];
99
+
100
+ for (var i = 0; i < index.length; i++) {
101
+ var entry = index[i];
102
+ var score = computeScore(entry, q);
103
+
104
+ if (score !== null) {
105
+ results.push({ entry: entry, score: score });
106
+ }
107
+ }
108
+
109
+ results.sort(function(a, b) {
110
+ return b.score - a.score;
111
+ });
112
+
113
+ return results.slice(0, MAX_RESULTS).map(function(r) {
114
+ return r.entry;
115
+ });
116
+ }
117
+
118
+ /**
119
+ * Compute the relevance score for an entry
120
+ * @param {Object} entry - The search index entry
121
+ * @param {Object} q - Parsed query from parseQuery()
122
+ * @returns {number|null} Score or null if no match
123
+ */
124
+ function computeScore(entry, q) {
125
+ var name = entry.name;
126
+ var fullName = entry.full_name;
127
+ var type = entry.type;
128
+
129
+ var nameLower = name.toLowerCase();
130
+ var fullNameLower = fullName.toLowerCase();
131
+
132
+ // Exact full_name match (e.g., "Array#filter" matches Array#filter)
133
+ if (q.matchesFullName && fullNameLower === q.normalized) {
134
+ return SCORE_EXACT_FULL_NAME;
135
+ }
136
+
137
+ var matchScore = 0;
138
+ var target = q.matchesFullName ? fullNameLower : nameLower;
139
+
140
+ if (target.startsWith(q.normalized)) {
141
+ matchScore = SCORE_MATCH_PREFIX; // Prefix (e.g., "Arr" matches "Array")
142
+ } else if (target.includes(q.normalized)) {
143
+ matchScore = SCORE_MATCH_SUBSTRING; // Substring (e.g., "ray" matches "Array")
144
+ } else if (fuzzyMatch(target, q.normalized)) {
145
+ matchScore = SCORE_MATCH_FUZZY; // Fuzzy (e.g., "addalias" matches "add_foo_alias")
146
+ } else {
147
+ return null;
148
+ }
149
+
150
+ var score = matchScore;
151
+ var isMethod = (type === 'instance_method' || type === 'class_method');
152
+
153
+ if (q.prioritizeMethod ? isMethod : !isMethod) {
154
+ score += SCORE_TYPE_PRIORITY;
155
+ }
156
+
157
+ if (type === 'class_method') score += SCORE_CLASS_METHOD;
158
+ if (name === fullName) score += SCORE_TOP_LEVEL; // Top-level (Hash) > namespaced (Foo::Hash)
159
+ if (nameLower === q.normalized) score += SCORE_EXACT_NAME; // Exact name match
160
+ score -= name.length;
161
+
162
+ return score;
163
+ }
164
+
165
+ /**
166
+ * SearchRanker class for compatibility with the Search UI
167
+ * Provides ready() and find() interface
168
+ */
169
+ function SearchRanker(index) {
170
+ this.index = index;
171
+ this.handlers = [];
172
+ }
173
+
174
+ SearchRanker.prototype.ready = function(fn) {
175
+ this.handlers.push(fn);
176
+ };
177
+
178
+ SearchRanker.prototype.find = function(query) {
179
+ var q = parseQuery(query);
180
+ var rawResults = search(query, this.index);
181
+ var results = rawResults.map(function(entry) {
182
+ return formatResult(entry, q);
183
+ });
184
+
185
+ var _this = this;
186
+ this.handlers.forEach(function(fn) {
187
+ fn.call(_this, results, true);
188
+ });
189
+ };
190
+
191
+ /**
192
+ * Format a search result entry for display
193
+ */
194
+ function formatResult(entry, q) {
195
+ var result = {
196
+ title: highlightMatch(entry.full_name, q),
197
+ path: entry.path,
198
+ type: entry.type
199
+ };
200
+
201
+ if (entry.snippet) {
202
+ result.snippet = entry.snippet;
203
+ }
204
+
205
+ return result;
206
+ }
207
+
208
+ /**
209
+ * Add highlight markers (\u0001 and \u0002) to matching portions of text
210
+ * @param {string} text - The text to highlight
211
+ * @param {Object} q - Parsed query from parseQuery()
212
+ */
213
+ function highlightMatch(text, q) {
214
+ if (!text || !q) return text;
215
+
216
+ var textLower = text.toLowerCase();
217
+ var query = q.normalized;
218
+
219
+ // Try contiguous match first (prefix or substring)
220
+ var matchIndex = textLower.indexOf(query);
221
+ if (matchIndex !== -1) {
222
+ return text.substring(0, matchIndex) +
223
+ '\u0001' + text.substring(matchIndex, matchIndex + query.length) + '\u0002' +
224
+ text.substring(matchIndex + query.length);
225
+ }
226
+
227
+ // Fall back to fuzzy highlight (highlight each matched character)
228
+ var result = '';
229
+ var ti = 0;
230
+ for (var qi = 0; qi < query.length; qi++) {
231
+ var charIndex = textLower.indexOf(query[qi], ti);
232
+ if (charIndex === -1) return text;
233
+ result += text.substring(ti, charIndex);
234
+ result += '\u0001' + text[charIndex] + '\u0002';
235
+ ti = charIndex + 1;
236
+ }
237
+ result += text.substring(ti);
238
+ return result;
239
+ }
@@ -0,0 +1,112 @@
1
+ (function() {
2
+ 'use strict';
3
+
4
+ const STORAGE_KEY = 'rdoc-theme';
5
+ const THEME_LIGHT = 'light';
6
+ const THEME_DARK = 'dark';
7
+
8
+ /**
9
+ * Get the user's theme preference
10
+ * Priority: localStorage > system preference > light (default)
11
+ */
12
+ function getThemePreference() {
13
+ // Check localStorage first
14
+ const stored = localStorage.getItem(STORAGE_KEY);
15
+ if (stored === THEME_LIGHT || stored === THEME_DARK) {
16
+ return stored;
17
+ }
18
+
19
+ // Check system preference
20
+ if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
21
+ return THEME_DARK;
22
+ }
23
+
24
+ return THEME_LIGHT;
25
+ }
26
+
27
+ /**
28
+ * Apply theme to document
29
+ */
30
+ function applyTheme(theme) {
31
+ document.documentElement.setAttribute('data-theme', theme);
32
+ localStorage.setItem(STORAGE_KEY, theme);
33
+
34
+ // Update toggle button icon
35
+ const toggleBtn = document.getElementById('theme-toggle');
36
+ if (toggleBtn) {
37
+ const icon = toggleBtn.querySelector('.theme-toggle-icon');
38
+ if (icon) {
39
+ icon.textContent = theme === THEME_DARK ? '☀️' : '🌙';
40
+ }
41
+ toggleBtn.setAttribute('aria-label',
42
+ theme === THEME_DARK ? 'Switch to light mode' : 'Switch to dark mode'
43
+ );
44
+ }
45
+ }
46
+
47
+ /**
48
+ * Toggle between light and dark themes
49
+ */
50
+ function toggleTheme() {
51
+ const currentTheme = document.documentElement.getAttribute('data-theme') || THEME_LIGHT;
52
+ const newTheme = currentTheme === THEME_LIGHT ? THEME_DARK : THEME_LIGHT;
53
+ applyTheme(newTheme);
54
+
55
+ // Announce to screen readers
56
+ announceThemeChange(newTheme);
57
+ }
58
+
59
+ /**
60
+ * Announce theme change to screen readers
61
+ */
62
+ function announceThemeChange(theme) {
63
+ const announcement = document.createElement('div');
64
+ announcement.setAttribute('role', 'status');
65
+ announcement.setAttribute('aria-live', 'polite');
66
+ announcement.className = 'sr-only';
67
+ announcement.textContent = `Switched to ${theme} mode`;
68
+ document.body.appendChild(announcement);
69
+
70
+ // Remove after announcement
71
+ setTimeout(() => {
72
+ document.body.removeChild(announcement);
73
+ }, 1000);
74
+ }
75
+
76
+ /**
77
+ * Initialize theme on page load
78
+ */
79
+ function initTheme() {
80
+ // Apply theme immediately to prevent flash
81
+ const theme = getThemePreference();
82
+ applyTheme(theme);
83
+
84
+ // Set up toggle button listener
85
+ const toggleBtn = document.getElementById('theme-toggle');
86
+ if (toggleBtn) {
87
+ toggleBtn.addEventListener('click', toggleTheme);
88
+ }
89
+
90
+ // Listen for system theme changes
91
+ if (window.matchMedia) {
92
+ window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', (e) => {
93
+ // Only auto-switch if user hasn't manually set a preference
94
+ const stored = localStorage.getItem(STORAGE_KEY);
95
+ if (!stored) {
96
+ applyTheme(e.matches ? THEME_DARK : THEME_LIGHT);
97
+ }
98
+ });
99
+ }
100
+ }
101
+
102
+ // Initialize immediately (before DOMContentLoaded to prevent flash)
103
+ if (document.readyState === 'loading') {
104
+ // Apply theme as early as possible
105
+ const theme = getThemePreference();
106
+ document.documentElement.setAttribute('data-theme', theme);
107
+
108
+ document.addEventListener('DOMContentLoaded', initTheme);
109
+ } else {
110
+ initTheme();
111
+ }
112
+ })();
data/rubyXL.gemspec CHANGED
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: rubyXL 3.4.35 ruby lib
5
+ # stub: rubyXL 3.4.36 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "rubyXL".freeze
9
- s.version = "3.4.35".freeze
9
+ s.version = "3.4.36".freeze
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 = "2025-11-06"
14
+ s.date = "2026-05-23"
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 = [
@@ -458,49 +458,16 @@ Gem::Specification.new do |s|
458
458
  "rdoc/RubyXL/WorksheetViews.html",
459
459
  "rdoc/RubyXL/XF.html",
460
460
  "rdoc/created.rid",
461
- "rdoc/css/fonts.css",
462
461
  "rdoc/css/rdoc.css",
463
- "rdoc/fonts/Lato-Light.ttf",
464
- "rdoc/fonts/Lato-LightItalic.ttf",
465
- "rdoc/fonts/Lato-Regular.ttf",
466
- "rdoc/fonts/Lato-RegularItalic.ttf",
467
- "rdoc/fonts/SourceCodePro-Bold.ttf",
468
- "rdoc/fonts/SourceCodePro-Regular.ttf",
469
- "rdoc/images/add.png",
470
- "rdoc/images/arrow_up.png",
471
- "rdoc/images/brick.png",
472
- "rdoc/images/brick_link.png",
473
- "rdoc/images/bug.png",
474
- "rdoc/images/bullet_black.png",
475
- "rdoc/images/bullet_toggle_minus.png",
476
- "rdoc/images/bullet_toggle_plus.png",
477
- "rdoc/images/date.png",
478
- "rdoc/images/delete.png",
479
- "rdoc/images/find.png",
480
- "rdoc/images/loadingAnimation.gif",
481
- "rdoc/images/macFFBgHack.png",
482
- "rdoc/images/package.png",
483
- "rdoc/images/page_green.png",
484
- "rdoc/images/page_white_text.png",
485
- "rdoc/images/page_white_width.png",
486
- "rdoc/images/plugin.png",
487
- "rdoc/images/ruby.png",
488
- "rdoc/images/tag_blue.png",
489
- "rdoc/images/tag_green.png",
490
- "rdoc/images/transparent.png",
491
- "rdoc/images/wrench.png",
492
- "rdoc/images/wrench_orange.png",
493
- "rdoc/images/zoom.png",
494
462
  "rdoc/index.html",
495
- "rdoc/js/darkfish.js",
496
- "rdoc/js/navigation.js",
497
- "rdoc/js/navigation.js.gz",
498
- "rdoc/js/search.js",
499
- "rdoc/js/search_index.js",
500
- "rdoc/js/search_index.js.gz",
501
- "rdoc/js/searcher.js",
502
- "rdoc/js/searcher.js.gz",
503
- "rdoc/table_of_contents.html",
463
+ "rdoc/js/aliki.js",
464
+ "rdoc/js/bash_highlighter.js",
465
+ "rdoc/js/c_highlighter.js",
466
+ "rdoc/js/search_controller.js",
467
+ "rdoc/js/search_data.js",
468
+ "rdoc/js/search_navigation.js",
469
+ "rdoc/js/search_ranker.js",
470
+ "rdoc/js/theme-toggle.js",
504
471
  "rubyXL.gemspec",
505
472
  "spec/lib/cell_spec.rb",
506
473
  "spec/lib/color_spec.rb",
@@ -73,7 +73,7 @@ describe RubyXL::Cell do
73
73
  ok_data = 'A' * 32767 # The limit is 32767
74
74
 
75
75
  expect {
76
- @worksheet.add_cell(0, 1, ok_data) # 32767 -> OK
76
+ @worksheet.add_cell(0, 1, ok_data) # 32767 -> OK
77
77
  }.not_to raise_error
78
78
  expect {
79
79
  # 1 longer than the limit, so an exception must be thrown.
@@ -40,9 +40,15 @@ describe RubyXL::Reference do
40
40
 
41
41
  describe '.new' do
42
42
  it 'should take a string parameter' do
43
- new_ref = RubyXL::Reference.new('C23')
43
+ new_ref = RubyXL::Reference.new('TestSheet!C23')
44
44
  expect(new_ref.single_cell?).to be true
45
- expect(new_ref.to_s).to eq 'C23'
45
+ expect(new_ref.to_s).to eq 'TestSheet!C23'
46
+ end
47
+
48
+ it 'should take a string parameter with space in sheet name' do
49
+ new_ref = RubyXL::Reference.new("'Test Sheet'!C23")
50
+ expect(new_ref.single_cell?).to be true
51
+ expect(new_ref.to_s).to eq "'Test Sheet'!C23"
46
52
  end
47
53
 
48
54
  it 'should take 2 coordinate parameters' do
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.35
4
+ version: 3.4.36
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: 2025-11-06 00:00:00.000000000 Z
12
+ date: 2026-05-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
@@ -599,49 +599,16 @@ files:
599
599
  - rdoc/RubyXL/WorksheetViews.html
600
600
  - rdoc/RubyXL/XF.html
601
601
  - rdoc/created.rid
602
- - rdoc/css/fonts.css
603
602
  - rdoc/css/rdoc.css
604
- - rdoc/fonts/Lato-Light.ttf
605
- - rdoc/fonts/Lato-LightItalic.ttf
606
- - rdoc/fonts/Lato-Regular.ttf
607
- - rdoc/fonts/Lato-RegularItalic.ttf
608
- - rdoc/fonts/SourceCodePro-Bold.ttf
609
- - rdoc/fonts/SourceCodePro-Regular.ttf
610
- - rdoc/images/add.png
611
- - rdoc/images/arrow_up.png
612
- - rdoc/images/brick.png
613
- - rdoc/images/brick_link.png
614
- - rdoc/images/bug.png
615
- - rdoc/images/bullet_black.png
616
- - rdoc/images/bullet_toggle_minus.png
617
- - rdoc/images/bullet_toggle_plus.png
618
- - rdoc/images/date.png
619
- - rdoc/images/delete.png
620
- - rdoc/images/find.png
621
- - rdoc/images/loadingAnimation.gif
622
- - rdoc/images/macFFBgHack.png
623
- - rdoc/images/package.png
624
- - rdoc/images/page_green.png
625
- - rdoc/images/page_white_text.png
626
- - rdoc/images/page_white_width.png
627
- - rdoc/images/plugin.png
628
- - rdoc/images/ruby.png
629
- - rdoc/images/tag_blue.png
630
- - rdoc/images/tag_green.png
631
- - rdoc/images/transparent.png
632
- - rdoc/images/wrench.png
633
- - rdoc/images/wrench_orange.png
634
- - rdoc/images/zoom.png
635
603
  - rdoc/index.html
636
- - rdoc/js/darkfish.js
637
- - rdoc/js/navigation.js
638
- - rdoc/js/navigation.js.gz
639
- - rdoc/js/search.js
640
- - rdoc/js/search_index.js
641
- - rdoc/js/search_index.js.gz
642
- - rdoc/js/searcher.js
643
- - rdoc/js/searcher.js.gz
644
- - rdoc/table_of_contents.html
604
+ - rdoc/js/aliki.js
605
+ - rdoc/js/bash_highlighter.js
606
+ - rdoc/js/c_highlighter.js
607
+ - rdoc/js/search_controller.js
608
+ - rdoc/js/search_data.js
609
+ - rdoc/js/search_navigation.js
610
+ - rdoc/js/search_ranker.js
611
+ - rdoc/js/theme-toggle.js
645
612
  - rubyXL.gemspec
646
613
  - spec/lib/cell_spec.rb
647
614
  - spec/lib/color_spec.rb