rubyXL 3.4.33 → 3.4.35

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 (410) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +9 -9
  3. data/Gemfile +1 -1
  4. data/README.rdoc +4 -2
  5. data/VERSION +1 -1
  6. data/lib/rubyXL/convenience_methods/cell.rb +5 -4
  7. data/lib/rubyXL/convenience_methods/workbook.rb +4 -0
  8. data/lib/rubyXL/objects/cell_style.rb +1 -0
  9. data/lib/rubyXL/objects/ooxml_object.rb +5 -3
  10. data/lib/rubyXL/objects/root.rb +1 -1
  11. data/rdoc/README_rdoc.html +363 -63
  12. data/rdoc/RubyXL/AExtension.html +157 -50
  13. data/rdoc/RubyXL/AExtensionStorageArea.html +69 -22
  14. data/rdoc/RubyXL/ActiveX.html +119 -38
  15. data/rdoc/RubyXL/ActiveXBinary.html +78 -23
  16. data/rdoc/RubyXL/AdjustHandleList.html +69 -22
  17. data/rdoc/RubyXL/Alignment.html +69 -22
  18. data/rdoc/RubyXL/AlternateContent.html +69 -22
  19. data/rdoc/RubyXL/AlternateUrls.html +69 -22
  20. data/rdoc/RubyXL/Authors.html +69 -22
  21. data/rdoc/RubyXL/AutoFilter.html +69 -22
  22. data/rdoc/RubyXL/AutoFilterColumn.html +69 -22
  23. data/rdoc/RubyXL/BinaryImageFile.html +85 -24
  24. data/rdoc/RubyXL/BodyProperties.html +69 -22
  25. data/rdoc/RubyXL/BooleanNode.html +69 -22
  26. data/rdoc/RubyXL/BooleanValue.html +69 -22
  27. data/rdoc/RubyXL/Border.html +196 -61
  28. data/rdoc/RubyXL/BorderEdge.html +136 -45
  29. data/rdoc/RubyXL/Borders.html +105 -36
  30. data/rdoc/RubyXL/Break.html +69 -22
  31. data/rdoc/RubyXL/BreakList.html +69 -22
  32. data/rdoc/RubyXL/CT_AdjPoint2D.html +69 -22
  33. data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +69 -22
  34. data/rdoc/RubyXL/CT_AlphaModulateEffect.html +69 -22
  35. data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +69 -22
  36. data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +69 -22
  37. data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +69 -22
  38. data/rdoc/RubyXL/CT_Backdrop.html +69 -22
  39. data/rdoc/RubyXL/CT_Bevel.html +69 -22
  40. data/rdoc/RubyXL/CT_BiLevelEffect.html +69 -22
  41. data/rdoc/RubyXL/CT_BlendEffect.html +69 -22
  42. data/rdoc/RubyXL/CT_Blip.html +69 -22
  43. data/rdoc/RubyXL/CT_BlipFillProperties.html +69 -22
  44. data/rdoc/RubyXL/CT_BlurEffect.html +69 -22
  45. data/rdoc/RubyXL/CT_Camera.html +69 -22
  46. data/rdoc/RubyXL/CT_Color.html +69 -22
  47. data/rdoc/RubyXL/CT_ColorChangeEffect.html +69 -22
  48. data/rdoc/RubyXL/CT_ColorMapping.html +69 -22
  49. data/rdoc/RubyXL/CT_ColorScheme.html +69 -22
  50. data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +69 -22
  51. data/rdoc/RubyXL/CT_ConnectionSite.html +69 -22
  52. data/rdoc/RubyXL/CT_ConnectionSiteList.html +69 -22
  53. data/rdoc/RubyXL/CT_DashStop.html +69 -22
  54. data/rdoc/RubyXL/CT_DashStopList.html +69 -22
  55. data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +69 -22
  56. data/rdoc/RubyXL/CT_DuotoneEffect.html +69 -22
  57. data/rdoc/RubyXL/CT_EffectContainer.html +69 -22
  58. data/rdoc/RubyXL/CT_EffectList.html +69 -22
  59. data/rdoc/RubyXL/CT_EffectReference.html +69 -22
  60. data/rdoc/RubyXL/CT_EffectStyleItem.html +69 -22
  61. data/rdoc/RubyXL/CT_EffectStyleList.html +69 -22
  62. data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +69 -22
  63. data/rdoc/RubyXL/CT_FillEffect.html +69 -22
  64. data/rdoc/RubyXL/CT_FillOverlayEffect.html +69 -22
  65. data/rdoc/RubyXL/CT_FillStyleList.html +69 -22
  66. data/rdoc/RubyXL/CT_FlatText.html +69 -22
  67. data/rdoc/RubyXL/CT_FontCollection.html +69 -22
  68. data/rdoc/RubyXL/CT_FontReference.html +69 -22
  69. data/rdoc/RubyXL/CT_GeomGuideList.html +69 -22
  70. data/rdoc/RubyXL/CT_GlowEffect.html +69 -22
  71. data/rdoc/RubyXL/CT_GradientFillProperties.html +69 -22
  72. data/rdoc/RubyXL/CT_GradientStop.html +69 -22
  73. data/rdoc/RubyXL/CT_GradientStopList.html +69 -22
  74. data/rdoc/RubyXL/CT_HSLEffect.html +69 -22
  75. data/rdoc/RubyXL/CT_HslColor.html +69 -22
  76. data/rdoc/RubyXL/CT_Hyperlink.html +69 -22
  77. data/rdoc/RubyXL/CT_InnerShadowEffect.html +69 -22
  78. data/rdoc/RubyXL/CT_LightRig.html +69 -22
  79. data/rdoc/RubyXL/CT_LineEndProperties.html +69 -22
  80. data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +69 -22
  81. data/rdoc/RubyXL/CT_LineProperties.html +69 -22
  82. data/rdoc/RubyXL/CT_LineStyleList.html +69 -22
  83. data/rdoc/RubyXL/CT_LinearShadeProperties.html +69 -22
  84. data/rdoc/RubyXL/CT_LuminanceEffect.html +69 -22
  85. data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +69 -22
  86. data/rdoc/RubyXL/CT_OuterShadowEffect.html +69 -22
  87. data/rdoc/RubyXL/CT_Path2D.html +69 -22
  88. data/rdoc/RubyXL/CT_Path2DArcTo.html +69 -22
  89. data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +69 -22
  90. data/rdoc/RubyXL/CT_Path2DList.html +69 -22
  91. data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +69 -22
  92. data/rdoc/RubyXL/CT_Path2DTo.html +69 -22
  93. data/rdoc/RubyXL/CT_PathShadeProperties.html +69 -22
  94. data/rdoc/RubyXL/CT_PatternFillProperties.html +69 -22
  95. data/rdoc/RubyXL/CT_Point3D.html +69 -22
  96. data/rdoc/RubyXL/CT_PolarAdjustHandle.html +69 -22
  97. data/rdoc/RubyXL/CT_PresetColor.html +69 -22
  98. data/rdoc/RubyXL/CT_PresetLineDashProperties.html +69 -22
  99. data/rdoc/RubyXL/CT_PresetShadowEffect.html +69 -22
  100. data/rdoc/RubyXL/CT_PresetTextShape.html +69 -22
  101. data/rdoc/RubyXL/CT_ReflectionEffect.html +69 -22
  102. data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +69 -22
  103. data/rdoc/RubyXL/CT_RelativeRect.html +69 -22
  104. data/rdoc/RubyXL/CT_SRgbColor.html +69 -22
  105. data/rdoc/RubyXL/CT_ScRgbColor.html +69 -22
  106. data/rdoc/RubyXL/CT_Scene3D.html +69 -22
  107. data/rdoc/RubyXL/CT_SchemeColor.html +69 -22
  108. data/rdoc/RubyXL/CT_Shape3D.html +69 -22
  109. data/rdoc/RubyXL/CT_ShapeStyle.html +69 -22
  110. data/rdoc/RubyXL/CT_SoftEdgesEffect.html +69 -22
  111. data/rdoc/RubyXL/CT_SphereCoords.html +69 -22
  112. data/rdoc/RubyXL/CT_StretchInfoProperties.html +69 -22
  113. data/rdoc/RubyXL/CT_StyleMatrix.html +69 -22
  114. data/rdoc/RubyXL/CT_StyleMatrixReference.html +69 -22
  115. data/rdoc/RubyXL/CT_SupplementalFont.html +69 -22
  116. data/rdoc/RubyXL/CT_SystemColor.html +69 -22
  117. data/rdoc/RubyXL/CT_TextAutonumberBullet.html +69 -22
  118. data/rdoc/RubyXL/CT_TextBlipBullet.html +69 -22
  119. data/rdoc/RubyXL/CT_TextCharBullet.html +69 -22
  120. data/rdoc/RubyXL/CT_TextCharacterProperties.html +69 -22
  121. data/rdoc/RubyXL/CT_TextFont.html +69 -22
  122. data/rdoc/RubyXL/CT_TextListStyle.html +69 -22
  123. data/rdoc/RubyXL/CT_TextNormalAutofit.html +69 -22
  124. data/rdoc/RubyXL/CT_TextParagraphProperties.html +69 -22
  125. data/rdoc/RubyXL/CT_TextSpacing.html +69 -22
  126. data/rdoc/RubyXL/CT_TextTabStop.html +69 -22
  127. data/rdoc/RubyXL/CT_TextTabStopList.html +69 -22
  128. data/rdoc/RubyXL/CT_TileInfoProperties.html +69 -22
  129. data/rdoc/RubyXL/CT_TintEffect.html +69 -22
  130. data/rdoc/RubyXL/CT_Transform2D.html +69 -22
  131. data/rdoc/RubyXL/CT_TransformEffect.html +69 -22
  132. data/rdoc/RubyXL/CT_Vector3D.html +69 -22
  133. data/rdoc/RubyXL/CT_XYAdjustHandle.html +69 -22
  134. data/rdoc/RubyXL/CalculationChain.html +121 -38
  135. data/rdoc/RubyXL/CalculationChainCell.html +69 -22
  136. data/rdoc/RubyXL/CalculationProperties.html +69 -22
  137. data/rdoc/RubyXL/Cell.html +522 -147
  138. data/rdoc/RubyXL/CellConvenienceMethods.html +1201 -313
  139. data/rdoc/RubyXL/CellExt.html +69 -22
  140. data/rdoc/RubyXL/CellSmartTag.html +69 -22
  141. data/rdoc/RubyXL/CellSmartTagProperty.html +69 -22
  142. data/rdoc/RubyXL/CellSmartTags.html +69 -22
  143. data/rdoc/RubyXL/CellStyle.html +69 -22
  144. data/rdoc/RubyXL/CellStyleXFs.html +105 -36
  145. data/rdoc/RubyXL/CellStyles.html +105 -36
  146. data/rdoc/RubyXL/CellValue.html +105 -36
  147. data/rdoc/RubyXL/CellWatch.html +69 -22
  148. data/rdoc/RubyXL/CellWatches.html +69 -22
  149. data/rdoc/RubyXL/CellXFs.html +105 -36
  150. data/rdoc/RubyXL/ChartColorsFile.html +85 -24
  151. data/rdoc/RubyXL/ChartFile.html +126 -39
  152. data/rdoc/RubyXL/ChartStyleFile.html +85 -24
  153. data/rdoc/RubyXL/ChartUserShapesFile.html +85 -24
  154. data/rdoc/RubyXL/Chartsheet.html +174 -55
  155. data/rdoc/RubyXL/ChartsheetPageSetup.html +69 -22
  156. data/rdoc/RubyXL/ChartsheetProperties.html +69 -22
  157. data/rdoc/RubyXL/ChartsheetProtection.html +69 -22
  158. data/rdoc/RubyXL/ChartsheetView.html +69 -22
  159. data/rdoc/RubyXL/ChartsheetViews.html +69 -22
  160. data/rdoc/RubyXL/Color.html +114 -37
  161. data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +181 -58
  162. data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +220 -67
  163. data/rdoc/RubyXL/ColorConvenienceClasses.html +67 -19
  164. data/rdoc/RubyXL/ColorConvenienceMethods.html +103 -33
  165. data/rdoc/RubyXL/ColorFilter.html +69 -22
  166. data/rdoc/RubyXL/ColorScale.html +69 -22
  167. data/rdoc/RubyXL/ColorSet.html +69 -22
  168. data/rdoc/RubyXL/Colors.html +69 -22
  169. data/rdoc/RubyXL/ColumnRange.html +214 -63
  170. data/rdoc/RubyXL/ColumnRanges.html +196 -61
  171. data/rdoc/RubyXL/Comment.html +69 -22
  172. data/rdoc/RubyXL/CommentList.html +69 -22
  173. data/rdoc/RubyXL/CommentsFile.html +133 -42
  174. data/rdoc/RubyXL/ConditionalFormatValue.html +69 -22
  175. data/rdoc/RubyXL/ConditionalFormatting.html +69 -22
  176. data/rdoc/RubyXL/ConditionalFormattingRule.html +69 -22
  177. data/rdoc/RubyXL/Connection.html +69 -22
  178. data/rdoc/RubyXL/ConnectionTable.html +69 -22
  179. data/rdoc/RubyXL/ConnectionTables.html +69 -22
  180. data/rdoc/RubyXL/ConnectionTextField.html +69 -22
  181. data/rdoc/RubyXL/ConnectionTextFields.html +69 -22
  182. data/rdoc/RubyXL/Connections.html +121 -38
  183. data/rdoc/RubyXL/ContentTypeDefault.html +69 -22
  184. data/rdoc/RubyXL/ContentTypeOverride.html +69 -22
  185. data/rdoc/RubyXL/ContentTypes.html +152 -47
  186. data/rdoc/RubyXL/ControlPropertiesFile.html +85 -24
  187. data/rdoc/RubyXL/CorePropertiesFile.html +374 -107
  188. data/rdoc/RubyXL/CustomColor.html +69 -22
  189. data/rdoc/RubyXL/CustomColorList.html +69 -22
  190. data/rdoc/RubyXL/CustomFilter.html +69 -22
  191. data/rdoc/RubyXL/CustomFilters.html +69 -22
  192. data/rdoc/RubyXL/CustomGeometry.html +69 -22
  193. data/rdoc/RubyXL/CustomProperties.html +69 -22
  194. data/rdoc/RubyXL/CustomPropertiesFile.html +85 -24
  195. data/rdoc/RubyXL/CustomProperty.html +69 -22
  196. data/rdoc/RubyXL/CustomPropertyFile.html +85 -24
  197. data/rdoc/RubyXL/CustomSheetView.html +69 -22
  198. data/rdoc/RubyXL/CustomSheetViews.html +69 -22
  199. data/rdoc/RubyXL/CustomWorkbookView.html +69 -22
  200. data/rdoc/RubyXL/CustomWorkbookViews.html +69 -22
  201. data/rdoc/RubyXL/CustomXMLFile.html +78 -23
  202. data/rdoc/RubyXL/DXF.html +69 -22
  203. data/rdoc/RubyXL/DXFs.html +69 -22
  204. data/rdoc/RubyXL/DataBar.html +69 -22
  205. data/rdoc/RubyXL/DataConsolidate.html +69 -22
  206. data/rdoc/RubyXL/DataConsolidationReference.html +69 -22
  207. data/rdoc/RubyXL/DataConsolidationReferences.html +69 -22
  208. data/rdoc/RubyXL/DataType.html +118 -26
  209. data/rdoc/RubyXL/DataValidation.html +69 -22
  210. data/rdoc/RubyXL/DataValidations.html +69 -22
  211. data/rdoc/RubyXL/DateGroupItem.html +69 -22
  212. data/rdoc/RubyXL/DefinedName.html +69 -22
  213. data/rdoc/RubyXL/DefinedNameExt.html +69 -22
  214. data/rdoc/RubyXL/DefinedNames.html +69 -22
  215. data/rdoc/RubyXL/DefinedNamesExt.html +69 -22
  216. data/rdoc/RubyXL/DocumentPropertiesFile.html +164 -51
  217. data/rdoc/RubyXL/DrawingFile.html +126 -39
  218. data/rdoc/RubyXL/DynamicFilter.html +69 -22
  219. data/rdoc/RubyXL/EmbeddedControl.html +69 -22
  220. data/rdoc/RubyXL/EmbeddedControls.html +69 -22
  221. data/rdoc/RubyXL/Extension.html +69 -22
  222. data/rdoc/RubyXL/ExtensionStorageArea.html +69 -22
  223. data/rdoc/RubyXL/Extents.html +69 -22
  224. data/rdoc/RubyXL/ExternalBook.html +69 -22
  225. data/rdoc/RubyXL/ExternalLinksFile.html +126 -39
  226. data/rdoc/RubyXL/ExternalReference.html +69 -22
  227. data/rdoc/RubyXL/ExternalReferences.html +69 -22
  228. data/rdoc/RubyXL/ExtraColorSchemeList.html +69 -22
  229. data/rdoc/RubyXL/FieldItem.html +69 -22
  230. data/rdoc/RubyXL/FileRecoveryProperties.html +69 -22
  231. data/rdoc/RubyXL/FileSharing.html +69 -22
  232. data/rdoc/RubyXL/FileVersion.html +69 -22
  233. data/rdoc/RubyXL/Fill.html +105 -36
  234. data/rdoc/RubyXL/Fills.html +105 -36
  235. data/rdoc/RubyXL/FilterContainer.html +69 -22
  236. data/rdoc/RubyXL/FloatNode.html +69 -22
  237. data/rdoc/RubyXL/FloatValue.html +69 -22
  238. data/rdoc/RubyXL/Font.html +115 -38
  239. data/rdoc/RubyXL/FontConvenienceMethods.html +494 -138
  240. data/rdoc/RubyXL/FontScheme.html +69 -22
  241. data/rdoc/RubyXL/Fonts.html +105 -36
  242. data/rdoc/RubyXL/Formula.html +69 -22
  243. data/rdoc/RubyXL/FunctionGroup.html +69 -22
  244. data/rdoc/RubyXL/FunctionGroups.html +69 -22
  245. data/rdoc/RubyXL/GenericStorageObject.html +214 -65
  246. data/rdoc/RubyXL/GradientFill.html +69 -22
  247. data/rdoc/RubyXL/HeaderFooterSettings.html +69 -22
  248. data/rdoc/RubyXL/Hyperlink.html +69 -22
  249. data/rdoc/RubyXL/HyperlinkRelFile.html +78 -23
  250. data/rdoc/RubyXL/Hyperlinks.html +69 -22
  251. data/rdoc/RubyXL/IconFilter.html +69 -22
  252. data/rdoc/RubyXL/IconSet.html +69 -22
  253. data/rdoc/RubyXL/IgnoredError.html +69 -22
  254. data/rdoc/RubyXL/IgnoredErrors.html +69 -22
  255. data/rdoc/RubyXL/IndexedColors.html +69 -22
  256. data/rdoc/RubyXL/InputCells.html +69 -22
  257. data/rdoc/RubyXL/IntegerNode.html +69 -22
  258. data/rdoc/RubyXL/IntegerValue.html +69 -22
  259. data/rdoc/RubyXL/LegacyCell.html +103 -33
  260. data/rdoc/RubyXL/LegacyWorksheet.html +252 -73
  261. data/rdoc/RubyXL/MRUColors.html +69 -22
  262. data/rdoc/RubyXL/MacrosFile.html +85 -24
  263. data/rdoc/RubyXL/MergedCell.html +69 -22
  264. data/rdoc/RubyXL/MergedCells.html +69 -22
  265. data/rdoc/RubyXL/NumFmt.html +69 -22
  266. data/rdoc/RubyXL/NumberFormat.html +105 -36
  267. data/rdoc/RubyXL/NumberFormats.html +115 -38
  268. data/rdoc/RubyXL/OLEObject.html +69 -22
  269. data/rdoc/RubyXL/OLEObjectFile.html +85 -24
  270. data/rdoc/RubyXL/OLEObjects.html +69 -22
  271. data/rdoc/RubyXL/OLESize.html +69 -22
  272. data/rdoc/RubyXL/OOXMLContainerObject.html +295 -99
  273. data/rdoc/RubyXL/OOXMLIgnored.html +145 -46
  274. data/rdoc/RubyXL/OOXMLObject.html +74 -23
  275. data/rdoc/RubyXL/OOXMLObjectClassMethods.html +294 -112
  276. data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +370 -125
  277. data/rdoc/RubyXL/OOXMLRelationshipsFile.html +429 -124
  278. data/rdoc/RubyXL/OOXMLTopLevelObject.html +283 -96
  279. data/rdoc/RubyXL/OdbcOleDbProperties.html +69 -22
  280. data/rdoc/RubyXL/Offset.html +69 -22
  281. data/rdoc/RubyXL/OlapProperties.html +69 -22
  282. data/rdoc/RubyXL/OleItem.html +69 -22
  283. data/rdoc/RubyXL/OleItems.html +69 -22
  284. data/rdoc/RubyXL/OleLink.html +69 -22
  285. data/rdoc/RubyXL/OutlineProperties.html +69 -22
  286. data/rdoc/RubyXL/PageMargins.html +69 -22
  287. data/rdoc/RubyXL/PageSetup.html +69 -22
  288. data/rdoc/RubyXL/PageSetupProperties.html +69 -22
  289. data/rdoc/RubyXL/Pane.html +69 -22
  290. data/rdoc/RubyXL/Parser.html +136 -45
  291. data/rdoc/RubyXL/PatternFill.html +69 -22
  292. data/rdoc/RubyXL/PersonMetadata.html +85 -24
  293. data/rdoc/RubyXL/PhoneticProperties.html +69 -22
  294. data/rdoc/RubyXL/PhoneticRun.html +69 -22
  295. data/rdoc/RubyXL/PivotArea.html +69 -22
  296. data/rdoc/RubyXL/PivotCache.html +69 -22
  297. data/rdoc/RubyXL/PivotCacheDefinitionFile.html +90 -25
  298. data/rdoc/RubyXL/PivotCacheRecordsFile.html +85 -24
  299. data/rdoc/RubyXL/PivotCaches.html +69 -22
  300. data/rdoc/RubyXL/PivotReference.html +69 -22
  301. data/rdoc/RubyXL/PivotReferences.html +69 -22
  302. data/rdoc/RubyXL/PivotTableFile.html +90 -25
  303. data/rdoc/RubyXL/PivotTableSelection.html +69 -22
  304. data/rdoc/RubyXL/PresetGeometry.html +69 -22
  305. data/rdoc/RubyXL/PrintOptions.html +69 -22
  306. data/rdoc/RubyXL/PrinterSettingsFile.html +85 -24
  307. data/rdoc/RubyXL/ProtectedRange.html +69 -22
  308. data/rdoc/RubyXL/ProtectedRanges.html +69 -22
  309. data/rdoc/RubyXL/Protection.html +69 -22
  310. data/rdoc/RubyXL/QueryParameter.html +69 -22
  311. data/rdoc/RubyXL/QueryParameters.html +69 -22
  312. data/rdoc/RubyXL/QueryTable.html +126 -39
  313. data/rdoc/RubyXL/QueryTableDeletedField.html +69 -22
  314. data/rdoc/RubyXL/QueryTableDeletedFields.html +69 -22
  315. data/rdoc/RubyXL/QueryTableField.html +69 -22
  316. data/rdoc/RubyXL/QueryTableFields.html +69 -22
  317. data/rdoc/RubyXL/QueryTableRefresh.html +69 -22
  318. data/rdoc/RubyXL/RID.html +69 -22
  319. data/rdoc/RubyXL/RawOOXML.html +157 -50
  320. data/rdoc/RubyXL/Reference.html +512 -143
  321. data/rdoc/RubyXL/Relationship.html +69 -22
  322. data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +109 -33
  323. data/rdoc/RubyXL/RelationshipSupport.html +290 -84
  324. data/rdoc/RubyXL/RevisionPointer.html +69 -22
  325. data/rdoc/RubyXL/RichText.html +105 -36
  326. data/rdoc/RubyXL/RichTextRun.html +105 -36
  327. data/rdoc/RubyXL/Row.html +367 -106
  328. data/rdoc/RubyXL/RowExt.html +69 -22
  329. data/rdoc/RubyXL/RunProperties.html +69 -22
  330. data/rdoc/RubyXL/Scenario.html +69 -22
  331. data/rdoc/RubyXL/Scenarios.html +69 -22
  332. data/rdoc/RubyXL/Selection.html +105 -36
  333. data/rdoc/RubyXL/ShapeGuide.html +69 -22
  334. data/rdoc/RubyXL/ShapeTextRectangle.html +69 -22
  335. data/rdoc/RubyXL/SharedStringsTable.html +321 -96
  336. data/rdoc/RubyXL/Sheet.html +69 -22
  337. data/rdoc/RubyXL/SheetCalculationProperties.html +69 -22
  338. data/rdoc/RubyXL/SheetData.html +136 -45
  339. data/rdoc/RubyXL/SheetDataExt.html +69 -22
  340. data/rdoc/RubyXL/SheetDataSet.html +69 -22
  341. data/rdoc/RubyXL/SheetMetadata.html +85 -24
  342. data/rdoc/RubyXL/SheetName.html +69 -22
  343. data/rdoc/RubyXL/SheetNames.html +69 -22
  344. data/rdoc/RubyXL/Sheets.html +69 -22
  345. data/rdoc/RubyXL/SlicerCacheFile.html +85 -24
  346. data/rdoc/RubyXL/SlicerFile.html +85 -24
  347. data/rdoc/RubyXL/SmartTagProperties.html +69 -22
  348. data/rdoc/RubyXL/SmartTagType.html +69 -22
  349. data/rdoc/RubyXL/SmartTagTypes.html +69 -22
  350. data/rdoc/RubyXL/SmartTags.html +69 -22
  351. data/rdoc/RubyXL/SortCondition.html +69 -22
  352. data/rdoc/RubyXL/SortState.html +69 -22
  353. data/rdoc/RubyXL/Sqref.html +145 -46
  354. data/rdoc/RubyXL/Stop.html +69 -22
  355. data/rdoc/RubyXL/StringNode.html +69 -22
  356. data/rdoc/RubyXL/StringNodeW3C.html +145 -46
  357. data/rdoc/RubyXL/StringValue.html +69 -22
  358. data/rdoc/RubyXL/Stylesheet.html +256 -76
  359. data/rdoc/RubyXL/TableFile.html +85 -24
  360. data/rdoc/RubyXL/TableParts.html +69 -22
  361. data/rdoc/RubyXL/TableStyle.html +69 -22
  362. data/rdoc/RubyXL/TableStyles.html +69 -22
  363. data/rdoc/RubyXL/Text.html +153 -48
  364. data/rdoc/RubyXL/TextImportSettings.html +69 -22
  365. data/rdoc/RubyXL/Theme.html +191 -56
  366. data/rdoc/RubyXL/ThemeElements.html +69 -22
  367. data/rdoc/RubyXL/ThumbnailFile.html +85 -24
  368. data/rdoc/RubyXL/Top10.html +69 -22
  369. data/rdoc/RubyXL/VMLDrawingFile.html +91 -26
  370. data/rdoc/RubyXL/Variant.html +69 -22
  371. data/rdoc/RubyXL/Vector.html +105 -36
  372. data/rdoc/RubyXL/VectorValue.html +69 -22
  373. data/rdoc/RubyXL/VisualProperties.html +69 -22
  374. data/rdoc/RubyXL/WebPublishObject.html +69 -22
  375. data/rdoc/RubyXL/WebPublishObjects.html +69 -22
  376. data/rdoc/RubyXL/WebPublishingItem.html +69 -22
  377. data/rdoc/RubyXL/WebPublishingItems.html +69 -22
  378. data/rdoc/RubyXL/WebPublishingProperties.html +69 -22
  379. data/rdoc/RubyXL/WebQueryProperties.html +69 -22
  380. data/rdoc/RubyXL/Workbook.html +1053 -284
  381. data/rdoc/RubyXL/WorkbookConvenienceMethods.html +623 -175
  382. data/rdoc/RubyXL/WorkbookProperties.html +69 -22
  383. data/rdoc/RubyXL/WorkbookProtection.html +69 -22
  384. data/rdoc/RubyXL/WorkbookRoot.html +271 -82
  385. data/rdoc/RubyXL/WorkbookView.html +69 -22
  386. data/rdoc/RubyXL/WorkbookViews.html +69 -22
  387. data/rdoc/RubyXL/Worksheet.html +373 -110
  388. data/rdoc/RubyXL/WorksheetConvenienceMethods.html +2195 -585
  389. data/rdoc/RubyXL/WorksheetDimensions.html +69 -22
  390. data/rdoc/RubyXL/WorksheetFormatProperties.html +69 -22
  391. data/rdoc/RubyXL/WorksheetProperties.html +69 -22
  392. data/rdoc/RubyXL/WorksheetProtection.html +69 -22
  393. data/rdoc/RubyXL/WorksheetView.html +69 -22
  394. data/rdoc/RubyXL/WorksheetViews.html +69 -22
  395. data/rdoc/RubyXL/XF.html +69 -22
  396. data/rdoc/RubyXL.html +778 -134
  397. data/rdoc/created.rid +7 -7
  398. data/rdoc/css/rdoc.css +393 -397
  399. data/rdoc/index.html +42 -408
  400. data/rdoc/js/darkfish.js +45 -2
  401. data/rdoc/js/navigation.js.gz +0 -0
  402. data/rdoc/js/search.js +11 -1
  403. data/rdoc/js/search_index.js +1 -1
  404. data/rdoc/js/search_index.js.gz +0 -0
  405. data/rdoc/js/searcher.js +44 -6
  406. data/rdoc/js/searcher.js.gz +0 -0
  407. data/rdoc/table_of_contents.html +1285 -53
  408. data/rubyXL.gemspec +15 -30
  409. data/spec/lib/cell_spec.rb +26 -0
  410. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 14119a8af99822bbe1fd209a060d5374e92fe921750766cc83fa2cebdf586963
4
- data.tar.gz: a3870a59650bd9b32c82bd6ad950aa720cb9f50370b96956eecb522d1c8e8fce
3
+ metadata.gz: 5fe00b75e714374728a3ddfcc3eb597cf4adbad2ccf56ca8b7ffebfe3f136489
4
+ data.tar.gz: b6eb25207a43c228c64940f59913cca7d0e2dcdd4a7962839dd4eb626f43707d
5
5
  SHA512:
6
- metadata.gz: 27f8bf50de4801721703c78a73b156626998d37a7fa1ce76a05e2848d9bf233a29ed91044567b2b02a8cd29487872f2a5ed2eeeb65c45ae6b3fed8b4bfccea25
7
- data.tar.gz: 7ba264f255d544ba9efb9bb5aaa272a2ba84442930bf41eb72c6a63571b0ed21a69255975c843b796725ce17ca29c81950b1784a0c027a54dc35e4801ea0870e
6
+ metadata.gz: 68a8d4c13699db6c15393ee295d23d9990b4524eb2cd85172fc33a1b17e8df99e1c6e16047c42cfb38ff2dc74c230df59d93b55a61f5dd180f4fa9cee5b43e34
7
+ data.tar.gz: fd3c39b4c193ee0eb92b974e5a64db792b11c521f17aa851986fa8434dcfacebbf8693480cb91d40cc897efba6ab755cf9534f2ef6f680abaac4b303af46c460
data/.circleci/config.yml CHANGED
@@ -20,11 +20,11 @@ jobs:
20
20
  - checkout
21
21
 
22
22
  # Download and cache dependencies
23
- - restore_cache:
24
- keys:
25
- - v1-dependencies-{{ checksum "Gemfile.lock" }}
26
- # fallback to using the latest cache if no exact match is found
27
- - v1-dependencies-
23
+ #- restore_cache:
24
+ # keys:
25
+ # - v1-dependencies-{{ checksum "Gemfile.lock" }}
26
+ # # fallback to using the latest cache if no exact match is found
27
+ # - v1-dependencies-
28
28
 
29
29
  - run:
30
30
  name: install dependencies
@@ -32,10 +32,10 @@ jobs:
32
32
  gem install bundler
33
33
  bundle install --jobs=4 --retry=3 --path vendor/bundle
34
34
 
35
- - save_cache:
36
- paths:
37
- - ./vendor/bundle
38
- key: v1-dependencies-{{ checksum "Gemfile.lock" }}
35
+ #- save_cache:
36
+ # paths:
37
+ # - ./vendor/bundle
38
+ # key: v1-dependencies-{{ checksum "Gemfile.lock" }}
39
39
 
40
40
  # run tests!
41
41
  - run:
data/Gemfile CHANGED
@@ -2,7 +2,7 @@ source 'http://rubygems.org'
2
2
 
3
3
  # Dependencies required to run this gem.
4
4
  gem 'nokogiri', '>= 1.10.8'
5
- gem 'rubyzip', '>= 1.3.0' , :require => 'zip'
5
+ gem 'rubyzip', '>= 3.2.2', require: 'zip'
6
6
 
7
7
  # Development dependencies.
8
8
  group :development, :test do
data/README.rdoc CHANGED
@@ -1,6 +1,5 @@
1
1
  = rubyXL
2
2
  {rdoc-image:https://badge.fury.io/rb/rubyXL.svg}[http://badge.fury.io/rb/rubyXL]
3
- {rdoc-image:https://codeclimate.com/github/weshatheleopard/rubyXL.png}[https://codeclimate.com/github/weshatheleopard/rubyXL]
4
3
  {rdoc-image:https://circleci.com/gh/weshatheleopard/rubyXL.svg?style=svg}[https://circleci.com/gh/weshatheleopard/rubyXL]
5
4
 
6
5
  This gem supports operating on +xlsx+ files (Open XML format). While it is capable
@@ -119,6 +118,9 @@ Please note: these methods are being phased out in favor of the OOXML object mod
119
118
  ==== Changing Cells
120
119
  worksheet[0][0].change_contents("", worksheet[0][0].formula) # Sets value of cell A1 to empty string, preserves formula
121
120
 
121
+ worksheet[0][0].add_shared_string('some text') # Creates a new Shared String and adds it to the cell.
122
+ # Later, the same Shared String can be added to other cells.
123
+
122
124
  ==== Changing Fonts
123
125
  worksheet.sheet_data[0][0].change_font_bold(true) # Makes A1 bold
124
126
  worksheet.change_row_italics(0,true) # Makes first row italicized
@@ -170,7 +172,7 @@ Please note: these methods are being phased out in favor of the OOXML object mod
170
172
  ==== Merging Cells
171
173
  worksheet.merge_cells(0, 1, 2, 3) # Merges B1:D3
172
174
  worksheet.merge_cells('A2:C4') # Merges A2:C4
173
- worksheet.merge_cells(row_from: 0, row_to: 1, col_from 2:, col_to: 3) # Merges C1:D2
175
+ worksheet.merge_cells(row_from: 0, row_to: 1, col_from: 2, col_to: 3) # Merges C1:D2
174
176
 
175
177
  ==== Insert Row
176
178
  This method will insert a row at specified index, pushing all rows below it down. It also copies styles from row above.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.4.33
1
+ 3.4.35
@@ -266,10 +266,11 @@ module RubyXL
266
266
  worksheet.hyperlinks << hyperlink
267
267
  end
268
268
 
269
- # def add_shared_string(str)
270
- # self.datatype = RubyXL::DataType::SHARED_STRING
271
- # self.raw_value = @workbook.shared_strings_container.add(str)
272
- # end
269
+ def add_shared_string(str)
270
+ self.datatype = RubyXL::DataType::SHARED_STRING
271
+ workbook.shared_strings_container ||= RubyXL::SharedStringsTable.new
272
+ self.raw_value = workbook.shared_strings_container.add(str)
273
+ end
273
274
  end
274
275
 
275
276
  RubyXL::Cell.send(:include, RubyXL::CellConvenienceMethods) # ruby 2.1 compat
@@ -92,6 +92,10 @@ module RubyXL
92
92
  def modify_border_color(style_index, direction, color)
93
93
  xf = cell_xfs[style_index || 0].dup
94
94
  new_border = borders[xf.border_id || 0].dup
95
+
96
+ edge = new_border.send(direction)
97
+ new_border.send("#{direction}=", edge.dup) if edge
98
+
95
99
  new_border.set_edge_color(direction, color)
96
100
 
97
101
  xf.border_id = borders.find_index { |x| x == new_border } # Reuse existing border, if it exists
@@ -51,6 +51,7 @@ module RubyXL
51
51
  define_attribute(:applyProtection, :bool)
52
52
  define_child_node(RubyXL::Alignment)
53
53
  define_child_node(RubyXL::Protection)
54
+ define_child_node(RubyXL::ExtensionStorageArea)
54
55
  define_element_name 'xf'
55
56
  end
56
57
 
@@ -13,9 +13,11 @@ module RubyXL
13
13
  # the setter/getter method addresses it in the context of descendant class,
14
14
  # which is what we need.
15
15
  def obtain_class_variable(var_name, default = nil)
16
- self.class_variable_get(var_name)
17
- rescue NameError
18
- self.class_variable_set(var_name, default || {})
16
+ if self.class_variable_defined? var_name
17
+ self.class_variable_get(var_name)
18
+ else
19
+ self.class_variable_set(var_name, default || {})
20
+ end
19
21
  end
20
22
 
21
23
  # Defines an attribute of OOXML object.
@@ -33,7 +33,7 @@ module RubyXL
33
33
 
34
34
  # Write <tt>.xlsx</tt> to a stream (useful for sending over HTTP)
35
35
  def stream
36
- stream = Zip::OutputStream.write_buffer { |zipstream|
36
+ stream = Zip::OutputStream.write_buffer(suppress_extra_fields: true) { |zipstream|
37
37
  self.rels_hash = {}
38
38
  self.relationship_container.owner = self
39
39
  collect_related_objects.compact.each { |obj|