rubyXL 3.4.25 → 3.4.33

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 (437) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +1 -1
  3. data/.rubocop.yml +124 -0
  4. data/CHANGELOG.md +12 -0
  5. data/Gemfile +2 -0
  6. data/README.rdoc +6 -4
  7. data/VERSION +1 -1
  8. data/lib/rubyXL/convenience_methods/cell.rb +1 -1
  9. data/lib/rubyXL/convenience_methods/color.rb +6 -6
  10. data/lib/rubyXL/convenience_methods/workbook.rb +1 -5
  11. data/lib/rubyXL/convenience_methods/worksheet.rb +26 -6
  12. data/lib/rubyXL/objects/color.rb +1 -1
  13. data/lib/rubyXL/objects/column_range.rb +16 -12
  14. data/lib/rubyXL/objects/document_properties.rb +1 -0
  15. data/lib/rubyXL/objects/external_links.rb +8 -0
  16. data/lib/rubyXL/objects/ooxml_object.rb +16 -14
  17. data/lib/rubyXL/objects/query_table.rb +4 -2
  18. data/lib/rubyXL/objects/reference.rb +21 -10
  19. data/lib/rubyXL/objects/relationships.rb +1 -1
  20. data/lib/rubyXL/objects/shared_strings.rb +1 -1
  21. data/lib/rubyXL/objects/sheet_data.rb +6 -6
  22. data/lib/rubyXL/objects/storage.rb +6 -1
  23. data/lib/rubyXL/objects/stylesheet.rb +2 -3
  24. data/lib/rubyXL/objects/text.rb +3 -3
  25. data/lib/rubyXL/objects/theme.rb +15 -17
  26. data/lib/rubyXL/objects/workbook.rb +10 -9
  27. data/lib/rubyXL/objects/worksheet.rb +2 -2
  28. data/lib/rubyXL/worksheet.rb +11 -3
  29. data/rdoc/README_rdoc.html +101 -49
  30. data/rdoc/RubyXL/AExtension.html +17 -13
  31. data/rdoc/RubyXL/AExtensionStorageArea.html +3 -3
  32. data/rdoc/RubyXL/ActiveX.html +10 -8
  33. data/rdoc/RubyXL/ActiveXBinary.html +3 -3
  34. data/rdoc/RubyXL/AdjustHandleList.html +3 -3
  35. data/rdoc/RubyXL/Alignment.html +3 -3
  36. data/rdoc/RubyXL/AlternateContent.html +3 -3
  37. data/rdoc/RubyXL/AlternateUrls.html +99 -0
  38. data/rdoc/RubyXL/Authors.html +3 -3
  39. data/rdoc/RubyXL/AutoFilter.html +3 -3
  40. data/rdoc/RubyXL/AutoFilterColumn.html +3 -3
  41. data/rdoc/RubyXL/BinaryImageFile.html +3 -3
  42. data/rdoc/RubyXL/BodyProperties.html +3 -3
  43. data/rdoc/RubyXL/BooleanNode.html +3 -3
  44. data/rdoc/RubyXL/BooleanValue.html +3 -3
  45. data/rdoc/RubyXL/Border.html +27 -19
  46. data/rdoc/RubyXL/BorderEdge.html +15 -11
  47. data/rdoc/RubyXL/Borders.html +9 -7
  48. data/rdoc/RubyXL/Break.html +3 -3
  49. data/rdoc/RubyXL/BreakList.html +3 -3
  50. data/rdoc/RubyXL/CT_AdjPoint2D.html +3 -3
  51. data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +3 -3
  52. data/rdoc/RubyXL/CT_AlphaModulateEffect.html +3 -3
  53. data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +3 -3
  54. data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +3 -3
  55. data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +3 -3
  56. data/rdoc/RubyXL/CT_Backdrop.html +3 -3
  57. data/rdoc/RubyXL/CT_Bevel.html +3 -3
  58. data/rdoc/RubyXL/CT_BiLevelEffect.html +3 -3
  59. data/rdoc/RubyXL/CT_BlendEffect.html +3 -3
  60. data/rdoc/RubyXL/CT_Blip.html +3 -3
  61. data/rdoc/RubyXL/CT_BlipFillProperties.html +3 -3
  62. data/rdoc/RubyXL/CT_BlurEffect.html +3 -3
  63. data/rdoc/RubyXL/CT_Camera.html +3 -3
  64. data/rdoc/RubyXL/CT_Color.html +3 -3
  65. data/rdoc/RubyXL/CT_ColorChangeEffect.html +3 -3
  66. data/rdoc/RubyXL/CT_ColorMapping.html +3 -3
  67. data/rdoc/RubyXL/CT_ColorScheme.html +3 -3
  68. data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +3 -3
  69. data/rdoc/RubyXL/CT_ConnectionSite.html +3 -3
  70. data/rdoc/RubyXL/CT_ConnectionSiteList.html +3 -3
  71. data/rdoc/RubyXL/CT_DashStop.html +3 -3
  72. data/rdoc/RubyXL/CT_DashStopList.html +3 -3
  73. data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +3 -3
  74. data/rdoc/RubyXL/CT_DuotoneEffect.html +3 -3
  75. data/rdoc/RubyXL/CT_EffectContainer.html +3 -3
  76. data/rdoc/RubyXL/CT_EffectList.html +3 -3
  77. data/rdoc/RubyXL/CT_EffectReference.html +3 -3
  78. data/rdoc/RubyXL/CT_EffectStyleItem.html +3 -3
  79. data/rdoc/RubyXL/CT_EffectStyleList.html +3 -3
  80. data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +3 -3
  81. data/rdoc/RubyXL/CT_FillEffect.html +3 -3
  82. data/rdoc/RubyXL/CT_FillOverlayEffect.html +3 -3
  83. data/rdoc/RubyXL/CT_FillStyleList.html +3 -3
  84. data/rdoc/RubyXL/CT_FlatText.html +3 -3
  85. data/rdoc/RubyXL/CT_FontCollection.html +3 -3
  86. data/rdoc/RubyXL/CT_FontReference.html +3 -3
  87. data/rdoc/RubyXL/CT_GeomGuideList.html +3 -3
  88. data/rdoc/RubyXL/CT_GlowEffect.html +3 -3
  89. data/rdoc/RubyXL/CT_GradientFillProperties.html +3 -3
  90. data/rdoc/RubyXL/CT_GradientStop.html +3 -3
  91. data/rdoc/RubyXL/CT_GradientStopList.html +3 -3
  92. data/rdoc/RubyXL/CT_HSLEffect.html +3 -3
  93. data/rdoc/RubyXL/CT_HslColor.html +3 -3
  94. data/rdoc/RubyXL/CT_Hyperlink.html +3 -3
  95. data/rdoc/RubyXL/CT_InnerShadowEffect.html +3 -3
  96. data/rdoc/RubyXL/CT_LightRig.html +3 -3
  97. data/rdoc/RubyXL/CT_LineEndProperties.html +3 -3
  98. data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +3 -3
  99. data/rdoc/RubyXL/CT_LineProperties.html +3 -3
  100. data/rdoc/RubyXL/CT_LineStyleList.html +3 -3
  101. data/rdoc/RubyXL/CT_LinearShadeProperties.html +3 -3
  102. data/rdoc/RubyXL/CT_LuminanceEffect.html +3 -3
  103. data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +3 -3
  104. data/rdoc/RubyXL/CT_OuterShadowEffect.html +3 -3
  105. data/rdoc/RubyXL/CT_Path2D.html +3 -3
  106. data/rdoc/RubyXL/CT_Path2DArcTo.html +3 -3
  107. data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +3 -3
  108. data/rdoc/RubyXL/CT_Path2DList.html +3 -3
  109. data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +3 -3
  110. data/rdoc/RubyXL/CT_Path2DTo.html +3 -3
  111. data/rdoc/RubyXL/CT_PathShadeProperties.html +3 -3
  112. data/rdoc/RubyXL/CT_PatternFillProperties.html +3 -3
  113. data/rdoc/RubyXL/CT_Point3D.html +3 -3
  114. data/rdoc/RubyXL/CT_PolarAdjustHandle.html +3 -3
  115. data/rdoc/RubyXL/CT_PresetColor.html +3 -3
  116. data/rdoc/RubyXL/CT_PresetLineDashProperties.html +3 -3
  117. data/rdoc/RubyXL/CT_PresetShadowEffect.html +3 -3
  118. data/rdoc/RubyXL/CT_PresetTextShape.html +3 -3
  119. data/rdoc/RubyXL/CT_ReflectionEffect.html +3 -3
  120. data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +3 -3
  121. data/rdoc/RubyXL/CT_RelativeRect.html +3 -3
  122. data/rdoc/RubyXL/CT_SRgbColor.html +3 -3
  123. data/rdoc/RubyXL/CT_ScRgbColor.html +3 -3
  124. data/rdoc/RubyXL/CT_Scene3D.html +3 -3
  125. data/rdoc/RubyXL/CT_SchemeColor.html +3 -3
  126. data/rdoc/RubyXL/CT_Shape3D.html +3 -3
  127. data/rdoc/RubyXL/CT_ShapeStyle.html +3 -3
  128. data/rdoc/RubyXL/CT_SoftEdgesEffect.html +3 -3
  129. data/rdoc/RubyXL/CT_SphereCoords.html +3 -3
  130. data/rdoc/RubyXL/CT_StretchInfoProperties.html +3 -3
  131. data/rdoc/RubyXL/CT_StyleMatrix.html +3 -3
  132. data/rdoc/RubyXL/CT_StyleMatrixReference.html +3 -3
  133. data/rdoc/RubyXL/CT_SupplementalFont.html +3 -3
  134. data/rdoc/RubyXL/CT_SystemColor.html +3 -3
  135. data/rdoc/RubyXL/CT_TextAutonumberBullet.html +3 -3
  136. data/rdoc/RubyXL/CT_TextBlipBullet.html +3 -3
  137. data/rdoc/RubyXL/CT_TextCharBullet.html +3 -3
  138. data/rdoc/RubyXL/CT_TextCharacterProperties.html +3 -3
  139. data/rdoc/RubyXL/CT_TextFont.html +3 -3
  140. data/rdoc/RubyXL/CT_TextListStyle.html +3 -3
  141. data/rdoc/RubyXL/CT_TextNormalAutofit.html +3 -3
  142. data/rdoc/RubyXL/CT_TextParagraphProperties.html +3 -3
  143. data/rdoc/RubyXL/CT_TextSpacing.html +3 -3
  144. data/rdoc/RubyXL/CT_TextTabStop.html +3 -3
  145. data/rdoc/RubyXL/CT_TextTabStopList.html +3 -3
  146. data/rdoc/RubyXL/CT_TileInfoProperties.html +3 -3
  147. data/rdoc/RubyXL/CT_TintEffect.html +3 -3
  148. data/rdoc/RubyXL/CT_Transform2D.html +3 -3
  149. data/rdoc/RubyXL/CT_TransformEffect.html +3 -3
  150. data/rdoc/RubyXL/CT_Vector3D.html +3 -3
  151. data/rdoc/RubyXL/CT_XYAdjustHandle.html +3 -3
  152. data/rdoc/RubyXL/CalculationChain.html +9 -7
  153. data/rdoc/RubyXL/CalculationChainCell.html +3 -3
  154. data/rdoc/RubyXL/CalculationProperties.html +3 -3
  155. data/rdoc/RubyXL/Cell.html +93 -65
  156. data/rdoc/RubyXL/CellConvenienceMethods.html +220 -148
  157. data/rdoc/RubyXL/CellExt.html +3 -3
  158. data/rdoc/RubyXL/CellSmartTag.html +3 -3
  159. data/rdoc/RubyXL/CellSmartTagProperty.html +3 -3
  160. data/rdoc/RubyXL/CellSmartTags.html +3 -3
  161. data/rdoc/RubyXL/CellStyle.html +3 -3
  162. data/rdoc/RubyXL/CellStyleXFs.html +9 -7
  163. data/rdoc/RubyXL/CellStyles.html +10 -8
  164. data/rdoc/RubyXL/CellValue.html +9 -7
  165. data/rdoc/RubyXL/CellWatch.html +3 -3
  166. data/rdoc/RubyXL/CellWatches.html +3 -3
  167. data/rdoc/RubyXL/CellXFs.html +11 -10
  168. data/rdoc/RubyXL/ChartColorsFile.html +3 -3
  169. data/rdoc/RubyXL/ChartFile.html +9 -7
  170. data/rdoc/RubyXL/ChartStyleFile.html +3 -3
  171. data/rdoc/RubyXL/ChartUserShapesFile.html +3 -3
  172. data/rdoc/RubyXL/Chartsheet.html +9 -7
  173. data/rdoc/RubyXL/ChartsheetPageSetup.html +3 -3
  174. data/rdoc/RubyXL/ChartsheetProperties.html +3 -3
  175. data/rdoc/RubyXL/ChartsheetProtection.html +3 -3
  176. data/rdoc/RubyXL/ChartsheetView.html +3 -3
  177. data/rdoc/RubyXL/ChartsheetViews.html +3 -3
  178. data/rdoc/RubyXL/Color.html +9 -7
  179. data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +17 -13
  180. data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +23 -17
  181. data/rdoc/RubyXL/ColorConvenienceClasses.html +3 -3
  182. data/rdoc/RubyXL/ColorConvenienceMethods.html +9 -7
  183. data/rdoc/RubyXL/ColorFilter.html +3 -3
  184. data/rdoc/RubyXL/ColorScale.html +3 -3
  185. data/rdoc/RubyXL/ColorSet.html +3 -3
  186. data/rdoc/RubyXL/Colors.html +3 -3
  187. data/rdoc/RubyXL/ColumnRange.html +57 -20
  188. data/rdoc/RubyXL/ColumnRanges.html +37 -29
  189. data/rdoc/RubyXL/Comment.html +3 -3
  190. data/rdoc/RubyXL/CommentList.html +3 -3
  191. data/rdoc/RubyXL/CommentsFile.html +9 -7
  192. data/rdoc/RubyXL/ConditionalFormatValue.html +3 -3
  193. data/rdoc/RubyXL/ConditionalFormatting.html +3 -3
  194. data/rdoc/RubyXL/ConditionalFormattingRule.html +3 -3
  195. data/rdoc/RubyXL/Connection.html +3 -3
  196. data/rdoc/RubyXL/ConnectionTable.html +3 -3
  197. data/rdoc/RubyXL/ConnectionTables.html +3 -3
  198. data/rdoc/RubyXL/ConnectionTextField.html +3 -3
  199. data/rdoc/RubyXL/ConnectionTextFields.html +3 -3
  200. data/rdoc/RubyXL/Connections.html +9 -7
  201. data/rdoc/RubyXL/ContentTypeDefault.html +3 -3
  202. data/rdoc/RubyXL/ContentTypeOverride.html +3 -3
  203. data/rdoc/RubyXL/ContentTypes.html +15 -11
  204. data/rdoc/RubyXL/ControlPropertiesFile.html +3 -3
  205. data/rdoc/RubyXL/CorePropertiesFile.html +66 -48
  206. data/rdoc/RubyXL/CustomColor.html +3 -3
  207. data/rdoc/RubyXL/CustomColorList.html +3 -3
  208. data/rdoc/RubyXL/CustomFilter.html +3 -3
  209. data/rdoc/RubyXL/CustomFilters.html +3 -3
  210. data/rdoc/RubyXL/CustomGeometry.html +3 -3
  211. data/rdoc/RubyXL/CustomProperties.html +3 -3
  212. data/rdoc/RubyXL/CustomPropertiesFile.html +3 -3
  213. data/rdoc/RubyXL/CustomProperty.html +3 -3
  214. data/rdoc/RubyXL/CustomPropertyFile.html +3 -3
  215. data/rdoc/RubyXL/CustomSheetView.html +3 -3
  216. data/rdoc/RubyXL/CustomSheetViews.html +3 -3
  217. data/rdoc/RubyXL/CustomWorkbookView.html +3 -3
  218. data/rdoc/RubyXL/CustomWorkbookViews.html +3 -3
  219. data/rdoc/RubyXL/CustomXMLFile.html +3 -3
  220. data/rdoc/RubyXL/DXF.html +3 -3
  221. data/rdoc/RubyXL/DXFs.html +3 -3
  222. data/rdoc/RubyXL/DataBar.html +3 -3
  223. data/rdoc/RubyXL/DataConsolidate.html +3 -3
  224. data/rdoc/RubyXL/DataConsolidationReference.html +3 -3
  225. data/rdoc/RubyXL/DataConsolidationReferences.html +3 -3
  226. data/rdoc/RubyXL/DataType.html +3 -3
  227. data/rdoc/RubyXL/DataValidation.html +3 -3
  228. data/rdoc/RubyXL/DataValidations.html +3 -3
  229. data/rdoc/RubyXL/DateGroupItem.html +3 -3
  230. data/rdoc/RubyXL/DefinedName.html +3 -3
  231. data/rdoc/RubyXL/DefinedNameExt.html +3 -3
  232. data/rdoc/RubyXL/DefinedNames.html +3 -3
  233. data/rdoc/RubyXL/DefinedNamesExt.html +3 -3
  234. data/rdoc/RubyXL/DocumentPropertiesFile.html +17 -12
  235. data/rdoc/RubyXL/DrawingFile.html +9 -7
  236. data/rdoc/RubyXL/DynamicFilter.html +3 -3
  237. data/rdoc/RubyXL/EmbeddedControl.html +3 -3
  238. data/rdoc/RubyXL/EmbeddedControls.html +3 -3
  239. data/rdoc/RubyXL/Extension.html +3 -3
  240. data/rdoc/RubyXL/ExtensionStorageArea.html +3 -3
  241. data/rdoc/RubyXL/Extents.html +3 -3
  242. data/rdoc/RubyXL/ExternalBook.html +3 -3
  243. data/rdoc/RubyXL/ExternalLinksFile.html +10 -8
  244. data/rdoc/RubyXL/ExternalReference.html +3 -3
  245. data/rdoc/RubyXL/ExternalReferences.html +3 -3
  246. data/rdoc/RubyXL/ExtraColorSchemeList.html +3 -3
  247. data/rdoc/RubyXL/FieldItem.html +3 -3
  248. data/rdoc/RubyXL/FileRecoveryProperties.html +3 -3
  249. data/rdoc/RubyXL/FileSharing.html +3 -3
  250. data/rdoc/RubyXL/FileVersion.html +3 -3
  251. data/rdoc/RubyXL/Fill.html +9 -7
  252. data/rdoc/RubyXL/Fills.html +9 -7
  253. data/rdoc/RubyXL/FilterContainer.html +3 -3
  254. data/rdoc/RubyXL/FloatNode.html +3 -3
  255. data/rdoc/RubyXL/FloatValue.html +3 -3
  256. data/rdoc/RubyXL/Font.html +9 -7
  257. data/rdoc/RubyXL/FontConvenienceMethods.html +87 -59
  258. data/rdoc/RubyXL/FontScheme.html +3 -3
  259. data/rdoc/RubyXL/Fonts.html +9 -7
  260. data/rdoc/RubyXL/Formula.html +3 -3
  261. data/rdoc/RubyXL/FunctionGroup.html +3 -3
  262. data/rdoc/RubyXL/FunctionGroups.html +3 -3
  263. data/rdoc/RubyXL/GenericStorageObject.html +22 -16
  264. data/rdoc/RubyXL/GradientFill.html +3 -3
  265. data/rdoc/RubyXL/HeaderFooterSettings.html +3 -3
  266. data/rdoc/RubyXL/Hyperlink.html +3 -3
  267. data/rdoc/RubyXL/HyperlinkRelFile.html +3 -3
  268. data/rdoc/RubyXL/Hyperlinks.html +3 -3
  269. data/rdoc/RubyXL/IconFilter.html +3 -3
  270. data/rdoc/RubyXL/IconSet.html +3 -3
  271. data/rdoc/RubyXL/IgnoredError.html +3 -3
  272. data/rdoc/RubyXL/IgnoredErrors.html +3 -3
  273. data/rdoc/RubyXL/IndexedColors.html +3 -3
  274. data/rdoc/RubyXL/InputCells.html +3 -3
  275. data/rdoc/RubyXL/IntegerNode.html +3 -3
  276. data/rdoc/RubyXL/IntegerValue.html +3 -3
  277. data/rdoc/RubyXL/LegacyCell.html +9 -7
  278. data/rdoc/RubyXL/LegacyWorksheet.html +55 -30
  279. data/rdoc/RubyXL/MRUColors.html +3 -3
  280. data/rdoc/RubyXL/MacrosFile.html +3 -3
  281. data/rdoc/RubyXL/MergedCell.html +3 -3
  282. data/rdoc/RubyXL/MergedCells.html +3 -3
  283. data/rdoc/RubyXL/NumFmt.html +3 -3
  284. data/rdoc/RubyXL/NumberFormat.html +9 -7
  285. data/rdoc/RubyXL/NumberFormats.html +9 -7
  286. data/rdoc/RubyXL/OLEObject.html +3 -3
  287. data/rdoc/RubyXL/OLEObjectFile.html +3 -3
  288. data/rdoc/RubyXL/OLEObjects.html +3 -3
  289. data/rdoc/RubyXL/OLESize.html +3 -3
  290. data/rdoc/RubyXL/OOXMLContainerObject.html +46 -34
  291. data/rdoc/RubyXL/OOXMLIgnored.html +15 -11
  292. data/rdoc/RubyXL/OOXMLObject.html +3 -3
  293. data/rdoc/RubyXL/OOXMLObjectClassMethods.html +46 -31
  294. data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +67 -52
  295. data/rdoc/RubyXL/OOXMLRelationshipsFile.html +64 -44
  296. data/rdoc/RubyXL/OOXMLTopLevelObject.html +38 -28
  297. data/rdoc/RubyXL/OdbcOleDbProperties.html +3 -3
  298. data/rdoc/RubyXL/Offset.html +3 -3
  299. data/rdoc/RubyXL/OlapProperties.html +3 -3
  300. data/rdoc/RubyXL/OleItem.html +3 -3
  301. data/rdoc/RubyXL/OleItems.html +3 -3
  302. data/rdoc/RubyXL/OleLink.html +3 -3
  303. data/rdoc/RubyXL/OutlineProperties.html +3 -3
  304. data/rdoc/RubyXL/PageMargins.html +3 -3
  305. data/rdoc/RubyXL/PageSetup.html +3 -3
  306. data/rdoc/RubyXL/PageSetupProperties.html +3 -3
  307. data/rdoc/RubyXL/Pane.html +3 -3
  308. data/rdoc/RubyXL/Parser.html +15 -11
  309. data/rdoc/RubyXL/PatternFill.html +3 -3
  310. data/rdoc/RubyXL/PersonMetadata.html +108 -0
  311. data/rdoc/RubyXL/PhoneticProperties.html +3 -3
  312. data/rdoc/RubyXL/PhoneticRun.html +3 -3
  313. data/rdoc/RubyXL/PivotArea.html +3 -3
  314. data/rdoc/RubyXL/PivotCache.html +3 -3
  315. data/rdoc/RubyXL/PivotCacheDefinitionFile.html +3 -3
  316. data/rdoc/RubyXL/PivotCacheRecordsFile.html +3 -3
  317. data/rdoc/RubyXL/PivotCaches.html +3 -3
  318. data/rdoc/RubyXL/PivotReference.html +3 -3
  319. data/rdoc/RubyXL/PivotReferences.html +3 -3
  320. data/rdoc/RubyXL/PivotTableFile.html +3 -3
  321. data/rdoc/RubyXL/PivotTableSelection.html +3 -3
  322. data/rdoc/RubyXL/PresetGeometry.html +3 -3
  323. data/rdoc/RubyXL/PrintOptions.html +3 -3
  324. data/rdoc/RubyXL/PrinterSettingsFile.html +3 -3
  325. data/rdoc/RubyXL/ProtectedRange.html +3 -3
  326. data/rdoc/RubyXL/ProtectedRanges.html +3 -3
  327. data/rdoc/RubyXL/Protection.html +3 -3
  328. data/rdoc/RubyXL/QueryParameter.html +3 -3
  329. data/rdoc/RubyXL/QueryParameters.html +3 -3
  330. data/rdoc/RubyXL/QueryTable.html +10 -8
  331. data/rdoc/RubyXL/QueryTableDeletedField.html +3 -3
  332. data/rdoc/RubyXL/QueryTableDeletedFields.html +3 -3
  333. data/rdoc/RubyXL/QueryTableField.html +3 -3
  334. data/rdoc/RubyXL/QueryTableFields.html +3 -3
  335. data/rdoc/RubyXL/QueryTableRefresh.html +3 -3
  336. data/rdoc/RubyXL/RID.html +3 -3
  337. data/rdoc/RubyXL/RawOOXML.html +15 -11
  338. data/rdoc/RubyXL/Reference.html +113 -77
  339. data/rdoc/RubyXL/Relationship.html +3 -3
  340. data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +9 -7
  341. data/rdoc/RubyXL/RelationshipSupport.html +39 -27
  342. data/rdoc/RubyXL/RevisionPointer.html +3 -3
  343. data/rdoc/RubyXL/RichText.html +11 -9
  344. data/rdoc/RubyXL/RichTextRun.html +9 -7
  345. data/rdoc/RubyXL/Row.html +57 -39
  346. data/rdoc/RubyXL/RowExt.html +3 -3
  347. data/rdoc/RubyXL/RunProperties.html +3 -3
  348. data/rdoc/RubyXL/Scenario.html +3 -3
  349. data/rdoc/RubyXL/Scenarios.html +3 -3
  350. data/rdoc/RubyXL/Selection.html +9 -7
  351. data/rdoc/RubyXL/ShapeGuide.html +3 -3
  352. data/rdoc/RubyXL/ShapeTextRectangle.html +3 -3
  353. data/rdoc/RubyXL/SharedStringsTable.html +46 -32
  354. data/rdoc/RubyXL/Sheet.html +3 -3
  355. data/rdoc/RubyXL/SheetCalculationProperties.html +3 -3
  356. data/rdoc/RubyXL/SheetData.html +15 -11
  357. data/rdoc/RubyXL/SheetDataExt.html +3 -3
  358. data/rdoc/RubyXL/SheetDataSet.html +3 -3
  359. data/rdoc/RubyXL/SheetMetadata.html +3 -3
  360. data/rdoc/RubyXL/SheetName.html +3 -3
  361. data/rdoc/RubyXL/SheetNames.html +3 -3
  362. data/rdoc/RubyXL/Sheets.html +3 -3
  363. data/rdoc/RubyXL/SlicerCacheFile.html +3 -3
  364. data/rdoc/RubyXL/SlicerFile.html +3 -3
  365. data/rdoc/RubyXL/SmartTagProperties.html +3 -3
  366. data/rdoc/RubyXL/SmartTagType.html +3 -3
  367. data/rdoc/RubyXL/SmartTagTypes.html +3 -3
  368. data/rdoc/RubyXL/SmartTags.html +3 -3
  369. data/rdoc/RubyXL/SortCondition.html +3 -3
  370. data/rdoc/RubyXL/SortState.html +3 -3
  371. data/rdoc/RubyXL/Sqref.html +18 -14
  372. data/rdoc/RubyXL/Stop.html +3 -3
  373. data/rdoc/RubyXL/StringNode.html +3 -3
  374. data/rdoc/RubyXL/StringNodeW3C.html +15 -11
  375. data/rdoc/RubyXL/StringValue.html +3 -3
  376. data/rdoc/RubyXL/Stylesheet.html +38 -28
  377. data/rdoc/RubyXL/TableFile.html +3 -3
  378. data/rdoc/RubyXL/TableParts.html +3 -3
  379. data/rdoc/RubyXL/TableStyle.html +3 -3
  380. data/rdoc/RubyXL/TableStyles.html +3 -3
  381. data/rdoc/RubyXL/Text.html +16 -12
  382. data/rdoc/RubyXL/TextImportSettings.html +3 -3
  383. data/rdoc/RubyXL/Theme.html +39 -33
  384. data/rdoc/RubyXL/ThemeElements.html +3 -3
  385. data/rdoc/RubyXL/ThumbnailFile.html +3 -3
  386. data/rdoc/RubyXL/Top10.html +3 -3
  387. data/rdoc/RubyXL/VMLDrawingFile.html +3 -3
  388. data/rdoc/RubyXL/Variant.html +3 -3
  389. data/rdoc/RubyXL/Vector.html +9 -7
  390. data/rdoc/RubyXL/VectorValue.html +3 -3
  391. data/rdoc/RubyXL/VisualProperties.html +3 -3
  392. data/rdoc/RubyXL/WebPublishObject.html +3 -3
  393. data/rdoc/RubyXL/WebPublishObjects.html +3 -3
  394. data/rdoc/RubyXL/WebPublishingItem.html +3 -3
  395. data/rdoc/RubyXL/WebPublishingItems.html +3 -3
  396. data/rdoc/RubyXL/WebPublishingProperties.html +3 -3
  397. data/rdoc/RubyXL/WebQueryProperties.html +3 -3
  398. data/rdoc/RubyXL/Workbook.html +202 -146
  399. data/rdoc/RubyXL/WorkbookConvenienceMethods.html +124 -92
  400. data/rdoc/RubyXL/WorkbookProperties.html +3 -3
  401. data/rdoc/RubyXL/WorkbookProtection.html +3 -3
  402. data/rdoc/RubyXL/WorkbookRoot.html +33 -23
  403. data/rdoc/RubyXL/WorkbookView.html +3 -3
  404. data/rdoc/RubyXL/WorkbookViews.html +3 -3
  405. data/rdoc/RubyXL/Worksheet.html +45 -31
  406. data/rdoc/RubyXL/WorksheetConvenienceMethods.html +443 -288
  407. data/rdoc/RubyXL/WorksheetDimensions.html +3 -3
  408. data/rdoc/RubyXL/WorksheetFormatProperties.html +3 -3
  409. data/rdoc/RubyXL/WorksheetProperties.html +3 -3
  410. data/rdoc/RubyXL/WorksheetProtection.html +3 -3
  411. data/rdoc/RubyXL/WorksheetView.html +3 -3
  412. data/rdoc/RubyXL/WorksheetViews.html +3 -3
  413. data/rdoc/RubyXL/XF.html +3 -3
  414. data/rdoc/RubyXL.html +9 -7
  415. data/rdoc/created.rid +35 -35
  416. data/rdoc/css/rdoc.css +55 -7
  417. data/rdoc/index.html +395 -388
  418. data/rdoc/js/darkfish.js +14 -1
  419. data/rdoc/js/navigation.js +8 -8
  420. data/rdoc/js/navigation.js.gz +0 -0
  421. data/rdoc/js/search.js +4 -4
  422. data/rdoc/js/search_index.js +1 -1
  423. data/rdoc/js/search_index.js.gz +0 -0
  424. data/rdoc/js/searcher.js.gz +0 -0
  425. data/rdoc/table_of_contents.html +14 -3
  426. data/rubyXL.gemspec +10 -5
  427. data/spec/lib/cell_spec.rb +30 -4
  428. data/spec/lib/color_spec.rb +7 -0
  429. data/spec/lib/parser_spec.rb +8 -5
  430. data/spec/lib/reference_spec.rb +35 -5
  431. data/spec/lib/rgb_color_spec.rb +2 -0
  432. data/spec/lib/stylesheet_spec.rb +2 -0
  433. data/spec/lib/text_spec.rb +3 -1
  434. data/spec/lib/workbook_spec.rb +6 -4
  435. data/spec/lib/worksheet_spec.rb +29 -17
  436. metadata +21 -4
  437. data/Gemfile.lock +0 -124
@@ -50,7 +50,7 @@ module RubyXL
50
50
  end
51
51
 
52
52
  def row
53
- r && r.first_row
53
+ r&.first_row
54
54
  end
55
55
 
56
56
  def row=(v)
@@ -58,7 +58,7 @@ module RubyXL
58
58
  end
59
59
 
60
60
  def column
61
- r && r.first_col
61
+ r&.first_col
62
62
  end
63
63
 
64
64
  def column=(v)
@@ -66,7 +66,7 @@ module RubyXL
66
66
  end
67
67
 
68
68
  def raw_value
69
- value_container && value_container.value
69
+ value_container&.value
70
70
  end
71
71
 
72
72
  def raw_value=(v)
@@ -98,8 +98,7 @@ module RubyXL
98
98
  else false
99
99
  end
100
100
 
101
- num_fmt = self.number_format
102
- num_fmt && num_fmt.is_date_format?
101
+ self.number_format&.is_date_format?
103
102
  end
104
103
 
105
104
  # Gets massaged value of the cell, converting datatypes to those known to Ruby (that includes
@@ -111,6 +110,7 @@ module RubyXL
111
110
  when RubyXL::DataType::SHARED_STRING then workbook.shared_strings_container[r.to_i].to_s
112
111
  when RubyXL::DataType::INLINE_STRING then is.to_s
113
112
  when RubyXL::DataType::RAW_STRING then raw_value
113
+ when RubyXL::DataType::DATE then raw_value && DateTime.parse(raw_value)
114
114
  else
115
115
  if is then is.to_s
116
116
  elsif is_date? then workbook.num_to_date(r.to_f)
@@ -133,7 +133,7 @@ module RubyXL
133
133
  include LegacyCell
134
134
  end
135
135
 
136
- #TODO#<row r="1" spans="1:1" x14ac:dyDescent="0.25">
136
+ #TODO# <row r="1" spans="1:1" x14ac:dyDescent="0.25">
137
137
 
138
138
  # http://www.datypic.com/sc/ooxml/e-ssml_row-1.html
139
139
  class Row < OOXMLObject
@@ -11,7 +11,7 @@ module RubyXL
11
11
  end
12
12
 
13
13
  def self.parse_file(zip_file, file_path)
14
- (entry = zip_file.find_entry(RubyXL::from_root(file_path))) && self.new(file_path, entry.get_input_stream { |f| f.read })
14
+ (entry = zip_file.find_entry(RubyXL::from_root(file_path))) && self.new(file_path, entry.get_input_stream(&:read))
15
15
  end
16
16
 
17
17
  def add_to_zip(zip_stream)
@@ -169,6 +169,11 @@ module RubyXL
169
169
  REL_TYPE = 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata'.freeze
170
170
  end
171
171
 
172
+ class PersonMetadata < GenericStorageObject
173
+ CONTENT_TYPE = 'application/vnd.ms-excel.person+xml'.freeze
174
+ REL_TYPE = 'http://schemas.microsoft.com/office/2017/10/relationships/person'.freeze
175
+ end
176
+
172
177
  class ActiveX < GenericStorageObject
173
178
  REL_TYPE = 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/control'.freeze
174
179
 
@@ -79,9 +79,8 @@ module RubyXL
79
79
  define_element_name 'cellXfs'
80
80
 
81
81
  def self.default
82
- self.new(:_ => [
83
- RubyXL::XF.new(:num_fmt_id => 0, :font_id => 0, :fill_id => 0, :border_id => 0, :xfId => 0)
84
- ])
82
+ self.new(:_ => [ RubyXL::XF.new(:num_fmt_id => 0, :font_id => 0, :fill_id => 0,
83
+ :border_id => 0, :xfId => 0) ])
85
84
  end
86
85
  end
87
86
 
@@ -18,7 +18,7 @@ module RubyXL
18
18
 
19
19
  def before_write_xml
20
20
  preserve_whitespace
21
- self.value.gsub!(INVALID_XML10_CHARS) { |c| '_x%04x_' % c.ord }
21
+ self.value.gsub(INVALID_XML10_CHARS) { |bad_char| format('_x%04x_', bad_char.ord) }
22
22
  true
23
23
  end
24
24
 
@@ -84,8 +84,8 @@ module RubyXL
84
84
 
85
85
  def to_s
86
86
  # `dup` here unfreezes the string since it's not a constant but initial value
87
- str = if t.nil? then ''.dup else t.to_s end
88
- r && r.each { |rtr| str << rtr.to_s if rtr }
87
+ str = t.nil? ? ''.dup : t.to_s
88
+ r&.each { |rtr| str << rtr.to_s if rtr }
89
89
  str
90
90
  end
91
91
  end
@@ -1,5 +1,3 @@
1
- # encoding: UTF-8 <-- magic comment, need this because of sime fancy fonts in the default scheme below. See http://stackoverflow.com/questions/6444826/ruby-utf-8-file-encoding
2
-
3
1
  require 'rubyXL/objects/ooxml_object'
4
2
  require 'rubyXL/objects/extensions'
5
3
 
@@ -1391,21 +1389,21 @@ module RubyXL
1391
1389
  end
1392
1390
 
1393
1391
  def get_theme_color(idx)
1394
- color_scheme = a_theme_elements && a_theme_elements.a_clr_scheme
1395
-
1396
- if color_scheme then
1397
- case idx
1398
- when 0 then color_scheme.a_lt1
1399
- when 1 then color_scheme.a_dk1
1400
- when 2 then color_scheme.a_lt2
1401
- when 3 then color_scheme.a_dk2
1402
- when 4 then color_scheme.a_accent1
1403
- when 5 then color_scheme.a_accent2
1404
- when 6 then color_scheme.a_accent3
1405
- when 7 then color_scheme.a_accent4
1406
- when 8 then color_scheme.a_accent5
1407
- when 9 then color_scheme.a_accent6
1408
- end
1392
+ color_scheme = a_theme_elements&.a_clr_scheme
1393
+
1394
+ return unless color_scheme
1395
+
1396
+ case idx
1397
+ when 0 then color_scheme.a_lt1
1398
+ when 1 then color_scheme.a_dk1
1399
+ when 2 then color_scheme.a_lt2
1400
+ when 3 then color_scheme.a_dk2
1401
+ when 4 then color_scheme.a_accent1
1402
+ when 5 then color_scheme.a_accent2
1403
+ when 6 then color_scheme.a_accent3
1404
+ when 7 then color_scheme.a_accent4
1405
+ when 8 then color_scheme.a_accent5
1406
+ when 9 then color_scheme.a_accent6
1409
1407
  end
1410
1408
  end
1411
1409
 
@@ -303,7 +303,7 @@ module RubyXL
303
303
  REL_TYPE = 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument'.freeze
304
304
 
305
305
  # http://www.accountingweb.com/technology/excel/seven-characters-you-cant-use-in-worksheet-names
306
- SHEET_NAME_FORBIDDEN_CHARS = /[\/\\*\[\]:?]/
306
+ SHEET_NAME_FORBIDDEN_CHARS = %r{[/\\*\[\]:?]}
307
307
 
308
308
  # https://answers.microsoft.com/en-us/msoffice/forum/all/excel-history-is-a-reserved-name-help/f8a398a4-b72c-48e3-82da-4f132c305e91
309
309
  SHEET_NAME_FORBIDDEN_NAMES = [ 'History' ]
@@ -334,6 +334,7 @@ module RubyXL
334
334
  define_relationship(RubyXL::CustomXMLFile)
335
335
  define_relationship(RubyXL::MacrosFile, :macros)
336
336
  define_relationship(RubyXL::SlicerCacheFile)
337
+ define_relationship(RubyXL::PersonMetadata)
337
338
 
338
339
  define_child_node(RubyXL::FileVersion)
339
340
  define_child_node(RubyXL::FileSharing)
@@ -410,12 +411,12 @@ module RubyXL
410
411
  alias_method :write, :save
411
412
 
412
413
  DATE1904 = DateTime.new(1904, 1, 1)
413
- # Subtracting one day to accomodate for erroneous 1900 leap year compatibility only for 1900 based dates
414
+ # Subtracting one day to accommodate for erroneous 1900 leap year compatibility only for 1900 based dates
414
415
  DATE1899 = DateTime.new(1899, 12, 31) - 1
415
416
  MARCH_1_1900 = 61
416
417
 
417
418
  def base_date
418
- (workbook_properties && workbook_properties.date1904) ? DATE1904 : DATE1899
419
+ workbook_properties&.date1904 ? DATE1904 : DATE1899
419
420
  end
420
421
  private :base_date
421
422
 
@@ -431,11 +432,11 @@ module RubyXL
431
432
 
432
433
  # Bug-for-bug Excel compatibility (https://support.microsoft.com/kb/214058/)
433
434
  if num < MARCH_1_1900 then
434
- num += 1 unless workbook_properties && workbook_properties.date1904
435
+ num += 1 unless workbook_properties&.date1904
435
436
  end
436
437
 
437
438
  dateparts = num.divmod(1)
438
- base_date + (dateparts[0] + (dateparts[1] * 86400).round(6) / 86400)
439
+ base_date + (dateparts[0] + ((dateparts[1] * 86400).round(6) / 86400))
439
440
  end
440
441
 
441
442
  include Enumerable
@@ -517,7 +518,7 @@ module RubyXL
517
518
  end
518
519
 
519
520
  def company
520
- root.document_properties.company && root.document_properties.company.value
521
+ root.document_properties.company&.value
521
522
  end
522
523
 
523
524
  def company=(v)
@@ -526,7 +527,7 @@ module RubyXL
526
527
  end
527
528
 
528
529
  def application
529
- root.document_properties.application && root.document_properties.application.value
530
+ root.document_properties.application&.value
530
531
  end
531
532
 
532
533
  def application=(v)
@@ -535,7 +536,7 @@ module RubyXL
535
536
  end
536
537
 
537
538
  def appversion
538
- root.document_properties.app_version && root.document_properties.app_version.value
539
+ root.document_properties.app_version&.value
539
540
  end
540
541
 
541
542
  def appversion=(v)
@@ -560,7 +561,7 @@ module RubyXL
560
561
  end
561
562
 
562
563
  def date1904
563
- workbook_properties && workbook_properties.date1904
564
+ workbook_properties&.date1904
564
565
  end
565
566
 
566
567
  def date1904=(v)
@@ -173,7 +173,7 @@ module RubyXL
173
173
  # http://www.datypic.com/sc/ooxml/e-ssml_colorScale-1.html
174
174
  class ColorScale < OOXMLObject
175
175
  define_child_node(RubyXL::ConditionalFormatValue, :collection => true, :accessor => :cfvo)
176
- define_child_node(RubyXL::Color)
176
+ define_child_node(RubyXL::Color, :collection => true)
177
177
  define_element_name 'colorScale'
178
178
  end
179
179
 
@@ -183,7 +183,7 @@ module RubyXL
183
183
  define_attribute(:maxLength, :int, :default => 90)
184
184
  define_attribute(:showValue, :bool, :default => true)
185
185
  define_child_node(RubyXL::ConditionalFormatValue, :collection => true, :accessor => :cfvo)
186
- define_child_node(RubyXL::Color)
186
+ define_child_node(RubyXL::Color, :collection => true)
187
187
  define_element_name 'dataBar'
188
188
  end
189
189
 
@@ -1,5 +1,7 @@
1
1
  module RubyXL
2
2
  module LegacyWorksheet
3
+ TEXT_LENGTH_LIMIT_IN_CELL = 32767 # 2 ** 15 - 1
4
+
3
5
  include Enumerable
4
6
 
5
7
  def initialize(params = {})
@@ -50,9 +52,15 @@ module RubyXL
50
52
  case data
51
53
  when Numeric then c.raw_value = data
52
54
  when String then
55
+ if data.length > TEXT_LENGTH_LIMIT_IN_CELL
56
+ raise ArgumentError, "The maximum length of cell contents (text) is #{TEXT_LENGTH_LIMIT_IN_CELL} characters"
57
+ end
53
58
  c.raw_value = data
54
59
  c.datatype = RubyXL::DataType::RAW_STRING
55
60
  when RubyXL::RichText then
61
+ if data.to_s.length > TEXT_LENGTH_LIMIT_IN_CELL
62
+ raise ArgumentError, "The maximum length of cell contents (text) is #{TEXT_LENGTH_LIMIT_IN_CELL} characters"
63
+ end
56
64
  c.is = data
57
65
  c.datatype = RubyXL::DataType::INLINE_STRING
58
66
  when Time, Date, DateTime then
@@ -61,8 +69,8 @@ module RubyXL
61
69
  end
62
70
  end
63
71
 
64
- range = cols && cols.locate_range(column_index)
65
- c.style_index = row.style_index || (range && range.style_index) || 0
72
+ range = cols&.locate_range(column_index)
73
+ c.style_index = row.style_index || range&.style_index || 0
66
74
  row.cells[column_index] = c
67
75
  end
68
76
 
@@ -93,5 +101,5 @@ module RubyXL
93
101
  raise 'Row and Column arguments must be nonnegative' if row_or_col < 0
94
102
  end
95
103
  private :validate_nonnegative
96
- end # end class
104
+ end
97
105
  end
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>README - rubyXL 3.4.25</title>
7
+ <title>README - rubyXL 3.4.33</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "./";
@@ -41,7 +41,7 @@
41
41
  <div id="search-field-wrapper">
42
42
  <input id="search-field" role="combobox" aria-label="Search"
43
43
  aria-autocomplete="list" aria-controls="search-results"
44
- type="text" name="search" placeholder="Search" spellcheck="false"
44
+ type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
45
45
  title="Type to search, Up and Down to navigate, Enter to load">
46
46
  </div>
47
47
 
@@ -57,50 +57,101 @@
57
57
  <div class="nav-section">
58
58
  <h3>Table of Contents</h3>
59
59
 
60
+
61
+
60
62
  <ul class="link-list" role="directory">
61
- <li><a href="#label-rubyXL">rubyXL</a>
62
- <li><a href="#label-To+Install-3A">To Install:</a>
63
- <li><a href="#label-To+Use-3A">To Use:</a>
64
- <li><a href="#label-Convenience+methods">Convenience methods</a>
65
- <li><a href="#label-Parsing+an+existing+workbook">Parsing an existing workbook</a>
66
- <li><a href="#label-Creating+a+new+Workbook">Creating a new Workbook</a>
67
- <li><a href="#label-Accessing">Accessing</a>
68
- <li><a href="#label-Accessing+a+Worksheet">Accessing a Worksheet</a>
69
- <li><a href="#label-Accessing+a+Row+-28Array+of+Cells-29">Accessing a Row (Array of Cells)</a>
70
- <li><a href="#label-Accessing+a+Cell+object">Accessing a Cell object</a>
71
- <li><a href="#label-Wrappers+for+accessing+Cell+properties">Wrappers for accessing Cell properties</a>
72
- <li><a href="#label-Wrappers+for+accessing+Row+properties+">Wrappers for accessing Row properties </a>
73
- <li><a href="#label-Accessing+column+properties">Accessing column properties</a>
74
- <li><a href="#label-Modifying">Modifying</a>
75
- <li><a href="#label-Adding+Worksheets">Adding Worksheets</a>
76
- <li><a href="#label-Renaming+Worksheets">Renaming Worksheets</a>
77
- <li><a href="#label-Adding+Cells">Adding Cells</a>
78
- <li><a href="#label-Changing+Cells">Changing Cells</a>
79
- <li><a href="#label-Changing+Fonts">Changing Fonts</a>
80
- <li><a href="#label-Changing+Fills+++++">Changing Fills </a>
81
- <li><a href="#label-Changing+Borders">Changing Borders</a>
82
- <li><a href="#label-Changing+Alignment">Changing Alignment</a>
83
- <li><a href="#label-Horizontal">Horizontal</a>
84
- <li><a href="#label-Vertical">Vertical</a>
85
- <li><a href="#label-Rotation">Rotation</a>
86
- <li><a href="#label-Changing+Row+Height">Changing Row Height</a>
87
- <li><a href="#label-Changing+Column+Width">Changing Column Width</a>
88
- <li><a href="#label-Merging+Cells">Merging Cells</a>
89
- <li><a href="#label-Insert+Row">Insert Row</a>
90
- <li><a href="#label-Insert+Column">Insert Column</a>
91
- <li><a href="#label-Delete+Row">Delete Row</a>
92
- <li><a href="#label-Delete+Column">Delete Column</a>
93
- <li><a href="#label-Insert+Cell">Insert Cell</a>
94
- <li><a href="#label-Delete+Cell">Delete Cell</a>
95
- <li><a href="#label-Modifying+Cell+Format">Modifying Cell Format</a>
96
- <li><a href="#label-Add+hyperlink+to+a+Cell">Add hyperlink to a Cell</a>
97
- <li><a href="#label-I-2FO">I/O</a>
98
- <li><a href="#label-Miscellaneous">Miscellaneous</a>
99
- <li><a href="#label-Suppress+warnings+about+malformed+input+files">Suppress warnings about malformed input files</a>
100
- <li><a href="#label-Data+validation+-28colloquially+referred+to+as+-22dropdown+list-22-29">Data validation (colloquially referred to as “dropdown list”)</a>
101
- <li><a href="#label-For+more+information">For more information</a>
102
- <li><a href="#label-Contributing+to+rubyXL">Contributing to rubyXL</a>
103
- <li><a href="#label-Copyright">Copyright</a>
63
+ <li>
64
+ <details open>
65
+ <summary> <a href="#label-rubyXL">rubyXL</a>
66
+ </summary>
67
+ <ul class="link-list" role="directory">
68
+ <li> <a href="#label-To+Install-3A">To Install:</a>
69
+ <li>
70
+ <details open>
71
+ <summary> <a href="#label-To+Use-3A">To Use:</a>
72
+ </summary>
73
+ <ul class="link-list" role="directory">
74
+ <li> <a href="#label-Convenience+methods">Convenience methods</a>
75
+ <li> <a href="#label-Parsing+an+existing+workbook">Parsing an existing workbook</a>
76
+ <li> <a href="#label-Creating+a+new+Workbook">Creating a new Workbook</a>
77
+ <li>
78
+ <details open>
79
+ <summary> <a href="#label-Accessing">Accessing</a>
80
+ </summary>
81
+ <ul class="link-list" role="directory">
82
+ <li> <a href="#label-Accessing+a+Worksheet">Accessing a Worksheet</a>
83
+ <li> <a href="#label-Accessing+a+Row+-28Array+of+Cells-29">Accessing a Row (Array of Cells)</a>
84
+ <li> <a href="#label-Accessing+a+Cell+object">Accessing a Cell object</a>
85
+ <li> <a href="#label-Wrappers+for+accessing+Cell+properties">Wrappers for accessing Cell properties</a>
86
+ <li> <a href="#label-Wrappers+for+accessing+Row+properties+">Wrappers for accessing Row properties </a>
87
+ <li> <a href="#label-Accessing+column+properties">Accessing column properties</a>
88
+
89
+ </ul>
90
+ </details>
91
+ </li>
92
+ <li>
93
+ <details open>
94
+ <summary> <a href="#label-Modifying">Modifying</a>
95
+ </summary>
96
+ <ul class="link-list" role="directory">
97
+ <li> <a href="#label-Adding+Worksheets">Adding Worksheets</a>
98
+ <li> <a href="#label-Renaming+Worksheets">Renaming Worksheets</a>
99
+ <li> <a href="#label-Adding+Cells">Adding Cells</a>
100
+ <li> <a href="#label-Changing+Cells">Changing Cells</a>
101
+ <li> <a href="#label-Changing+Fonts">Changing Fonts</a>
102
+ <li> <a href="#label-Changing+Fills+++++">Changing Fills </a>
103
+ <li> <a href="#label-Changing+Borders">Changing Borders</a>
104
+ <li>
105
+ <details open>
106
+ <summary> <a href="#label-Changing+Alignment">Changing Alignment</a>
107
+ </summary>
108
+ <ul class="link-list" role="directory">
109
+ <li> <a href="#label-Horizontal">Horizontal</a>
110
+ <li> <a href="#label-Vertical">Vertical</a>
111
+ <li> <a href="#label-Rotation">Rotation</a>
112
+
113
+ </ul>
114
+ </details>
115
+ </li>
116
+ <li> <a href="#label-Changing+Row+Height">Changing Row Height</a>
117
+ <li> <a href="#label-Changing+Column+Width">Changing Column Width</a>
118
+ <li> <a href="#label-Merging+Cells">Merging Cells</a>
119
+ <li> <a href="#label-Insert+Row">Insert Row</a>
120
+ <li> <a href="#label-Insert+Column">Insert Column</a>
121
+ <li> <a href="#label-Delete+Row">Delete Row</a>
122
+ <li> <a href="#label-Delete+Column">Delete Column</a>
123
+ <li> <a href="#label-Insert+Cell">Insert Cell</a>
124
+ <li> <a href="#label-Delete+Cell">Delete Cell</a>
125
+ <li> <a href="#label-Modifying+Cell+Format">Modifying Cell Format</a>
126
+ <li> <a href="#label-Add+hyperlink+to+a+Cell">Add hyperlink to a Cell</a>
127
+
128
+ </ul>
129
+ </details>
130
+ </li>
131
+
132
+ </ul>
133
+ </details>
134
+ </li>
135
+ <li> <a href="#label-I-2FO">I/O</a>
136
+ <li>
137
+ <details open>
138
+ <summary> <a href="#label-Miscellaneous">Miscellaneous</a>
139
+ </summary>
140
+ <ul class="link-list" role="directory">
141
+ <li> <a href="#label-Suppress+warnings+about+malformed+input+files">Suppress warnings about malformed input files</a>
142
+
143
+ </ul>
144
+ </details>
145
+ </li>
146
+ <li> <a href="#label-Data+validation+-28colloquially+referred+to+as+-22dropdown+list-22-29">Data validation (colloquially referred to as “dropdown list”)</a>
147
+ <li> <a href="#label-For+more+information">For more information</a>
148
+ <li> <a href="#label-Contributing+to+rubyXL">Contributing to rubyXL</a>
149
+ <li> <a href="#label-Copyright">Copyright</a>
150
+
151
+ </ul>
152
+ </details>
153
+ </li>
154
+
104
155
  </ul>
105
156
  </div>
106
157
 
@@ -122,7 +173,7 @@
122
173
 
123
174
  <h1 id="label-rubyXL">rubyXL<span><a href="#label-rubyXL">&para;</a> <a href="#top">&uarr;</a></span></h1>
124
175
 
125
- <p><a href="http://badge.fury.io/rb/rubyXL"><img src="https://badge.fury.io/rb/rubyXL.svg" alt="Gem Version" /></a> <a href="https://codeclimate.com/github/weshatheleopard/rubyXL"><img src="https://codeclimate.com/github/weshatheleopard/rubyXL.png" alt="Code Climate" /></a> <a href="https://circleci.com/gh/weshatheleopard/rubyXL"><img src="https://circleci.com/gh/weshatheleopard/rubyXL.svg?style=svg" alt="CircleCI" /></a></p>
176
+ <p><a href="http://badge.fury.io/rb/rubyXL"><img src="https://badge.fury.io/rb/rubyXL.svg"></a> <a href="https://codeclimate.com/github/weshatheleopard/rubyXL"><img src="https://codeclimate.com/github/weshatheleopard/rubyXL.png"></a> <a href="https://circleci.com/gh/weshatheleopard/rubyXL"><img src="https://circleci.com/gh/weshatheleopard/rubyXL.svg?style=svg"></a></p>
126
177
 
127
178
  <p>This gem supports operating on <code>xlsx</code> files (Open XML format). While it is capable of properly parsing the entire OOXML structure, its current main emphasis is on reading files produced by MS Excel, making minor modifications to them and saving them to be opened again, while preserving as much of the structure as possible.</p>
128
179
 
@@ -339,8 +390,9 @@
339
390
 
340
391
  <h4 id="label-Merging+Cells">Merging Cells<span><a href="#label-Merging+Cells">&para;</a> <a href="#top">&uarr;</a></span></h4>
341
392
 
342
- <pre class="ruby"><span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">merge_cells</span>(<span class="ruby-value">0</span>, <span class="ruby-value">0</span>, <span class="ruby-value">1</span>, <span class="ruby-value">1</span>) <span class="ruby-comment"># Merges A1:B2</span>
343
- </pre>
393
+ <pre>worksheet.merge_cells(0, 1, 2, 3) # Merges B1:D3
394
+ worksheet.merge_cells(&#39;A2:C4&#39;) # Merges A2:C4
395
+ worksheet.merge_cells(row_from: 0, row_to: 1, col_from 2:, col_to: 3) # Merges C1:D2</pre>
344
396
 
345
397
  <h4 id="label-Insert+Row">Insert Row<span><a href="#label-Insert+Row">&para;</a> <a href="#top">&uarr;</a></span></h4>
346
398
 
@@ -476,7 +528,7 @@
476
528
 
477
529
  <footer id="validator-badges" role="contentinfo">
478
530
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
479
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.
531
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.6.3.1.
480
532
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
481
533
  </footer>
482
534
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::AExtension - rubyXL 3.4.25</title>
7
+ <title>class RubyXL::AExtension - rubyXL 3.4.33</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -41,7 +41,7 @@
41
41
  <div id="search-field-wrapper">
42
42
  <input id="search-field" role="combobox" aria-label="Search"
43
43
  aria-autocomplete="list" aria-controls="search-results"
44
- type="text" name="search" placeholder="Search" spellcheck="false"
44
+ type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
45
45
  title="Type to search, Up and Down to navigate, Enter to load">
46
46
  </div>
47
47
 
@@ -119,17 +119,19 @@
119
119
  </header>
120
120
 
121
121
  <div id="method-c-parse" class="method-detail ">
122
- <div class="method-heading">
123
- <span class="method-name">parse</span><span
124
- class="method-args">(node, ignore)</span>
125
- <span class="method-click-advice">click to toggle source</span>
122
+ <div class="method-header">
123
+ <div class="method-heading">
124
+ <span class="method-name">parse</span><span
125
+ class="method-args">(node, ignore)</span>
126
+ <span class="method-click-advice">click to toggle source</span>
127
+ </div>
126
128
  </div>
127
129
 
128
130
  <div class="method-description">
129
131
 
130
132
 
131
133
  <div class="method-source-code" id="parse-source">
132
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/theme.rb, line 13</span>
134
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/theme.rb, line 11</span>
133
135
  <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">parse</span>(<span class="ruby-identifier">node</span>, <span class="ruby-identifier">ignore</span>)
134
136
  <span class="ruby-identifier">obj</span> = <span class="ruby-identifier">new</span>
135
137
  <span class="ruby-identifier">obj</span>.<span class="ruby-identifier">raw_xml</span> = <span class="ruby-identifier">node</span>.<span class="ruby-identifier">to_xml</span>
@@ -149,17 +151,19 @@
149
151
  </header>
150
152
 
151
153
  <div id="method-i-write_xml" class="method-detail ">
152
- <div class="method-heading">
153
- <span class="method-name">write_xml</span><span
154
- class="method-args">(xml, node_name_override = nil)</span>
155
- <span class="method-click-advice">click to toggle source</span>
154
+ <div class="method-header">
155
+ <div class="method-heading">
156
+ <span class="method-name">write_xml</span><span
157
+ class="method-args">(xml, node_name_override = nil)</span>
158
+ <span class="method-click-advice">click to toggle source</span>
159
+ </div>
156
160
  </div>
157
161
 
158
162
  <div class="method-description">
159
163
 
160
164
 
161
165
  <div class="method-source-code" id="write_xml-source">
162
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/theme.rb, line 19</span>
166
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/theme.rb, line 17</span>
163
167
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">write_xml</span>(<span class="ruby-identifier">xml</span>, <span class="ruby-identifier">node_name_override</span> = <span class="ruby-keyword">nil</span>)
164
168
  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">raw_xml</span>
165
169
  <span class="ruby-keyword">end</span></pre>
@@ -177,7 +181,7 @@
177
181
 
178
182
  <footer id="validator-badges" role="contentinfo">
179
183
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
180
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.
184
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.6.3.1.
181
185
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
182
186
  </footer>
183
187
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::AExtensionStorageArea - rubyXL 3.4.25</title>
7
+ <title>class RubyXL::AExtensionStorageArea - rubyXL 3.4.33</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -41,7 +41,7 @@
41
41
  <div id="search-field-wrapper">
42
42
  <input id="search-field" role="combobox" aria-label="Search"
43
43
  aria-autocomplete="list" aria-controls="search-results"
44
- type="text" name="search" placeholder="Search" spellcheck="false"
44
+ type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
45
45
  title="Type to search, Up and Down to navigate, Enter to load">
46
46
  </div>
47
47
 
@@ -91,7 +91,7 @@
91
91
 
92
92
  <footer id="validator-badges" role="contentinfo">
93
93
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
94
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.
94
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.6.3.1.
95
95
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
96
96
  </footer>
97
97