rubyXL 3.4.10 → 3.4.16

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 (418) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +2 -1
  3. data/Gemfile +1 -1
  4. data/Gemfile.lock +23 -23
  5. data/LICENSE.txt +1 -1
  6. data/README.rdoc +6 -1
  7. data/VERSION +1 -1
  8. data/lib/rubyXL/convenience_methods/cell.rb +1 -1
  9. data/lib/rubyXL/convenience_methods/color.rb +5 -3
  10. data/lib/rubyXL/convenience_methods/worksheet.rb +12 -0
  11. data/lib/rubyXL/objects/chartsheet.rb +1 -1
  12. data/lib/rubyXL/objects/data_validation.rb +2 -0
  13. data/lib/rubyXL/objects/document_properties.rb +2 -2
  14. data/lib/rubyXL/objects/external_links.rb +25 -1
  15. data/lib/rubyXL/objects/ooxml_object.rb +10 -0
  16. data/lib/rubyXL/objects/relationships.rb +1 -1
  17. data/lib/rubyXL/objects/sheet_data.rb +2 -2
  18. data/lib/rubyXL/objects/storage.rb +1 -0
  19. data/lib/rubyXL/objects/text.rb +1 -1
  20. data/lib/rubyXL/objects/theme.rb +1 -1
  21. data/lib/rubyXL/objects/workbook.rb +12 -6
  22. data/lib/rubyXL/objects/worksheet.rb +7 -7
  23. data/lib/rubyXL/worksheet.rb +1 -1
  24. data/rdoc/README_rdoc.html +11 -3
  25. data/rdoc/RubyXL.html +4 -2
  26. data/rdoc/RubyXL/AExtension.html +4 -2
  27. data/rdoc/RubyXL/AExtensionStorageArea.html +4 -2
  28. data/rdoc/RubyXL/ActiveX.html +5 -3
  29. data/rdoc/RubyXL/ActiveXBinary.html +4 -2
  30. data/rdoc/RubyXL/AdjustHandleList.html +4 -2
  31. data/rdoc/RubyXL/Alignment.html +4 -2
  32. data/rdoc/RubyXL/AlternateContent.html +4 -2
  33. data/rdoc/RubyXL/Authors.html +4 -2
  34. data/rdoc/RubyXL/AutoFilter.html +4 -2
  35. data/rdoc/RubyXL/AutoFilterColumn.html +4 -2
  36. data/rdoc/RubyXL/BinaryImageFile.html +4 -2
  37. data/rdoc/RubyXL/BodyProperties.html +4 -2
  38. data/rdoc/RubyXL/BooleanNode.html +4 -2
  39. data/rdoc/RubyXL/BooleanValue.html +4 -2
  40. data/rdoc/RubyXL/Border.html +4 -2
  41. data/rdoc/RubyXL/BorderEdge.html +4 -2
  42. data/rdoc/RubyXL/Borders.html +4 -2
  43. data/rdoc/RubyXL/Break.html +4 -2
  44. data/rdoc/RubyXL/BreakList.html +4 -2
  45. data/rdoc/RubyXL/CT_AdjPoint2D.html +4 -2
  46. data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +4 -2
  47. data/rdoc/RubyXL/CT_AlphaModulateEffect.html +4 -2
  48. data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +4 -2
  49. data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +4 -2
  50. data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +4 -2
  51. data/rdoc/RubyXL/CT_Backdrop.html +4 -2
  52. data/rdoc/RubyXL/CT_Bevel.html +4 -2
  53. data/rdoc/RubyXL/CT_BiLevelEffect.html +4 -2
  54. data/rdoc/RubyXL/CT_BlendEffect.html +4 -2
  55. data/rdoc/RubyXL/CT_Blip.html +4 -2
  56. data/rdoc/RubyXL/CT_BlipFillProperties.html +4 -2
  57. data/rdoc/RubyXL/CT_BlurEffect.html +4 -2
  58. data/rdoc/RubyXL/CT_Camera.html +4 -2
  59. data/rdoc/RubyXL/CT_Color.html +4 -2
  60. data/rdoc/RubyXL/CT_ColorChangeEffect.html +4 -2
  61. data/rdoc/RubyXL/CT_ColorMapping.html +4 -2
  62. data/rdoc/RubyXL/CT_ColorScheme.html +4 -2
  63. data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +4 -2
  64. data/rdoc/RubyXL/CT_ConnectionSite.html +4 -2
  65. data/rdoc/RubyXL/CT_ConnectionSiteList.html +4 -2
  66. data/rdoc/RubyXL/CT_DashStop.html +4 -2
  67. data/rdoc/RubyXL/CT_DashStopList.html +4 -2
  68. data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +4 -2
  69. data/rdoc/RubyXL/CT_DuotoneEffect.html +4 -2
  70. data/rdoc/RubyXL/CT_EffectContainer.html +4 -2
  71. data/rdoc/RubyXL/CT_EffectList.html +4 -2
  72. data/rdoc/RubyXL/CT_EffectReference.html +4 -2
  73. data/rdoc/RubyXL/CT_EffectStyleItem.html +4 -2
  74. data/rdoc/RubyXL/CT_EffectStyleList.html +4 -2
  75. data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +4 -2
  76. data/rdoc/RubyXL/CT_FillEffect.html +4 -2
  77. data/rdoc/RubyXL/CT_FillOverlayEffect.html +4 -2
  78. data/rdoc/RubyXL/CT_FillStyleList.html +4 -2
  79. data/rdoc/RubyXL/CT_FlatText.html +4 -2
  80. data/rdoc/RubyXL/CT_FontCollection.html +4 -2
  81. data/rdoc/RubyXL/CT_FontReference.html +4 -2
  82. data/rdoc/RubyXL/CT_GeomGuideList.html +4 -2
  83. data/rdoc/RubyXL/CT_GlowEffect.html +4 -2
  84. data/rdoc/RubyXL/CT_GradientFillProperties.html +4 -2
  85. data/rdoc/RubyXL/CT_GradientStop.html +4 -2
  86. data/rdoc/RubyXL/CT_GradientStopList.html +4 -2
  87. data/rdoc/RubyXL/CT_HSLEffect.html +4 -2
  88. data/rdoc/RubyXL/CT_HslColor.html +4 -2
  89. data/rdoc/RubyXL/CT_Hyperlink.html +4 -2
  90. data/rdoc/RubyXL/CT_InnerShadowEffect.html +4 -2
  91. data/rdoc/RubyXL/CT_LightRig.html +4 -2
  92. data/rdoc/RubyXL/CT_LineEndProperties.html +4 -2
  93. data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +4 -2
  94. data/rdoc/RubyXL/CT_LineProperties.html +4 -2
  95. data/rdoc/RubyXL/CT_LineStyleList.html +4 -2
  96. data/rdoc/RubyXL/CT_LinearShadeProperties.html +4 -2
  97. data/rdoc/RubyXL/CT_LuminanceEffect.html +4 -2
  98. data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +4 -2
  99. data/rdoc/RubyXL/CT_OuterShadowEffect.html +4 -2
  100. data/rdoc/RubyXL/CT_Path2D.html +4 -2
  101. data/rdoc/RubyXL/CT_Path2DArcTo.html +4 -2
  102. data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +4 -2
  103. data/rdoc/RubyXL/CT_Path2DList.html +4 -2
  104. data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +4 -2
  105. data/rdoc/RubyXL/CT_Path2DTo.html +4 -2
  106. data/rdoc/RubyXL/CT_PathShadeProperties.html +4 -2
  107. data/rdoc/RubyXL/CT_PatternFillProperties.html +4 -2
  108. data/rdoc/RubyXL/CT_Point3D.html +4 -2
  109. data/rdoc/RubyXL/CT_PolarAdjustHandle.html +4 -2
  110. data/rdoc/RubyXL/CT_PresetColor.html +4 -2
  111. data/rdoc/RubyXL/CT_PresetLineDashProperties.html +4 -2
  112. data/rdoc/RubyXL/CT_PresetShadowEffect.html +4 -2
  113. data/rdoc/RubyXL/CT_PresetTextShape.html +4 -2
  114. data/rdoc/RubyXL/CT_ReflectionEffect.html +4 -2
  115. data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +4 -2
  116. data/rdoc/RubyXL/CT_RelativeRect.html +4 -2
  117. data/rdoc/RubyXL/CT_SRgbColor.html +4 -2
  118. data/rdoc/RubyXL/CT_ScRgbColor.html +4 -2
  119. data/rdoc/RubyXL/CT_Scene3D.html +4 -2
  120. data/rdoc/RubyXL/CT_SchemeColor.html +4 -2
  121. data/rdoc/RubyXL/CT_Shape3D.html +4 -2
  122. data/rdoc/RubyXL/CT_ShapeStyle.html +4 -2
  123. data/rdoc/RubyXL/CT_SoftEdgesEffect.html +4 -2
  124. data/rdoc/RubyXL/CT_SphereCoords.html +4 -2
  125. data/rdoc/RubyXL/CT_StretchInfoProperties.html +4 -2
  126. data/rdoc/RubyXL/CT_StyleMatrix.html +4 -2
  127. data/rdoc/RubyXL/CT_StyleMatrixReference.html +4 -2
  128. data/rdoc/RubyXL/CT_SupplementalFont.html +4 -2
  129. data/rdoc/RubyXL/CT_SystemColor.html +4 -2
  130. data/rdoc/RubyXL/CT_TextAutonumberBullet.html +4 -2
  131. data/rdoc/RubyXL/CT_TextBlipBullet.html +4 -2
  132. data/rdoc/RubyXL/CT_TextCharBullet.html +4 -2
  133. data/rdoc/RubyXL/CT_TextCharacterProperties.html +4 -2
  134. data/rdoc/RubyXL/CT_TextFont.html +4 -2
  135. data/rdoc/RubyXL/CT_TextListStyle.html +4 -2
  136. data/rdoc/RubyXL/CT_TextNormalAutofit.html +4 -2
  137. data/rdoc/RubyXL/CT_TextParagraphProperties.html +4 -2
  138. data/rdoc/RubyXL/CT_TextSpacing.html +4 -2
  139. data/rdoc/RubyXL/CT_TextTabStop.html +4 -2
  140. data/rdoc/RubyXL/CT_TextTabStopList.html +4 -2
  141. data/rdoc/RubyXL/CT_TileInfoProperties.html +4 -2
  142. data/rdoc/RubyXL/CT_TintEffect.html +4 -2
  143. data/rdoc/RubyXL/CT_Transform2D.html +4 -2
  144. data/rdoc/RubyXL/CT_TransformEffect.html +4 -2
  145. data/rdoc/RubyXL/CT_Vector3D.html +4 -2
  146. data/rdoc/RubyXL/CT_XYAdjustHandle.html +4 -2
  147. data/rdoc/RubyXL/CalculationChain.html +4 -2
  148. data/rdoc/RubyXL/CalculationChainCell.html +4 -2
  149. data/rdoc/RubyXL/CalculationProperties.html +4 -2
  150. data/rdoc/RubyXL/Cell.html +6 -4
  151. data/rdoc/RubyXL/CellConvenienceMethods.html +4 -2
  152. data/rdoc/RubyXL/CellExt.html +4 -2
  153. data/rdoc/RubyXL/CellSmartTag.html +4 -2
  154. data/rdoc/RubyXL/CellSmartTagProperty.html +4 -2
  155. data/rdoc/RubyXL/CellSmartTags.html +4 -2
  156. data/rdoc/RubyXL/CellStyle.html +4 -2
  157. data/rdoc/RubyXL/CellStyleXFs.html +4 -2
  158. data/rdoc/RubyXL/CellStyles.html +4 -2
  159. data/rdoc/RubyXL/CellValue.html +4 -2
  160. data/rdoc/RubyXL/CellWatch.html +4 -2
  161. data/rdoc/RubyXL/CellWatches.html +4 -2
  162. data/rdoc/RubyXL/CellXFs.html +4 -2
  163. data/rdoc/RubyXL/ChartColorsFile.html +4 -2
  164. data/rdoc/RubyXL/ChartFile.html +4 -2
  165. data/rdoc/RubyXL/ChartStyleFile.html +4 -2
  166. data/rdoc/RubyXL/ChartUserShapesFile.html +4 -2
  167. data/rdoc/RubyXL/Chartsheet.html +4 -2
  168. data/rdoc/RubyXL/ChartsheetPageSetup.html +4 -2
  169. data/rdoc/RubyXL/ChartsheetProperties.html +4 -2
  170. data/rdoc/RubyXL/ChartsheetProtection.html +4 -2
  171. data/rdoc/RubyXL/ChartsheetView.html +4 -2
  172. data/rdoc/RubyXL/ChartsheetViews.html +4 -2
  173. data/rdoc/RubyXL/Color.html +4 -2
  174. data/rdoc/RubyXL/ColorConvenienceClasses.html +4 -2
  175. data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +6 -4
  176. data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +9 -5
  177. data/rdoc/RubyXL/ColorConvenienceMethods.html +4 -2
  178. data/rdoc/RubyXL/ColorFilter.html +4 -2
  179. data/rdoc/RubyXL/ColorScale.html +4 -2
  180. data/rdoc/RubyXL/ColorSet.html +4 -2
  181. data/rdoc/RubyXL/Colors.html +4 -2
  182. data/rdoc/RubyXL/ColumnRange.html +4 -2
  183. data/rdoc/RubyXL/ColumnRanges.html +4 -2
  184. data/rdoc/RubyXL/Comment.html +4 -2
  185. data/rdoc/RubyXL/CommentList.html +4 -2
  186. data/rdoc/RubyXL/CommentsFile.html +4 -2
  187. data/rdoc/RubyXL/ConditionalFormatValue.html +4 -2
  188. data/rdoc/RubyXL/ConditionalFormatting.html +4 -2
  189. data/rdoc/RubyXL/ConditionalFormattingRule.html +4 -2
  190. data/rdoc/RubyXL/Connection.html +4 -2
  191. data/rdoc/RubyXL/ConnectionTable.html +4 -2
  192. data/rdoc/RubyXL/ConnectionTables.html +4 -2
  193. data/rdoc/RubyXL/ConnectionTextField.html +4 -2
  194. data/rdoc/RubyXL/ConnectionTextFields.html +4 -2
  195. data/rdoc/RubyXL/Connections.html +4 -2
  196. data/rdoc/RubyXL/ContentTypeDefault.html +4 -2
  197. data/rdoc/RubyXL/ContentTypeOverride.html +4 -2
  198. data/rdoc/RubyXL/ContentTypes.html +4 -2
  199. data/rdoc/RubyXL/ControlPropertiesFile.html +9 -2
  200. data/rdoc/RubyXL/CorePropertiesFile.html +6 -4
  201. data/rdoc/RubyXL/CustomColor.html +4 -2
  202. data/rdoc/RubyXL/CustomColorList.html +4 -2
  203. data/rdoc/RubyXL/CustomFilter.html +4 -2
  204. data/rdoc/RubyXL/CustomFilters.html +4 -2
  205. data/rdoc/RubyXL/CustomGeometry.html +4 -2
  206. data/rdoc/RubyXL/CustomProperties.html +4 -2
  207. data/rdoc/RubyXL/CustomPropertiesFile.html +4 -2
  208. data/rdoc/RubyXL/CustomProperty.html +4 -2
  209. data/rdoc/RubyXL/CustomPropertyFile.html +4 -2
  210. data/rdoc/RubyXL/CustomSheetView.html +4 -2
  211. data/rdoc/RubyXL/CustomSheetViews.html +4 -2
  212. data/rdoc/RubyXL/CustomWorkbookView.html +4 -2
  213. data/rdoc/RubyXL/CustomWorkbookViews.html +4 -2
  214. data/rdoc/RubyXL/CustomXMLFile.html +4 -2
  215. data/rdoc/RubyXL/DXF.html +4 -2
  216. data/rdoc/RubyXL/DXFs.html +4 -2
  217. data/rdoc/RubyXL/DataBar.html +4 -2
  218. data/rdoc/RubyXL/DataConsolidate.html +4 -2
  219. data/rdoc/RubyXL/DataConsolidationReference.html +4 -2
  220. data/rdoc/RubyXL/DataConsolidationReferences.html +4 -2
  221. data/rdoc/RubyXL/DataType.html +4 -2
  222. data/rdoc/RubyXL/DataValidation.html +4 -2
  223. data/rdoc/RubyXL/DataValidations.html +4 -2
  224. data/rdoc/RubyXL/DateGroupItem.html +4 -2
  225. data/rdoc/RubyXL/DefinedName.html +4 -2
  226. data/rdoc/RubyXL/DefinedNameExt.html +4 -2
  227. data/rdoc/RubyXL/DefinedNames.html +4 -2
  228. data/rdoc/RubyXL/DefinedNamesExt.html +4 -2
  229. data/rdoc/RubyXL/DocumentPropertiesFile.html +4 -2
  230. data/rdoc/RubyXL/DrawingFile.html +4 -2
  231. data/rdoc/RubyXL/DynamicFilter.html +4 -2
  232. data/rdoc/RubyXL/EmbeddedControl.html +4 -2
  233. data/rdoc/RubyXL/EmbeddedControls.html +4 -2
  234. data/rdoc/RubyXL/Extension.html +4 -2
  235. data/rdoc/RubyXL/ExtensionStorageArea.html +4 -2
  236. data/rdoc/RubyXL/Extents.html +4 -2
  237. data/rdoc/RubyXL/ExternalBook.html +4 -2
  238. data/rdoc/RubyXL/ExternalLinksFile.html +5 -3
  239. data/rdoc/RubyXL/ExternalReference.html +4 -2
  240. data/rdoc/RubyXL/ExternalReferences.html +4 -2
  241. data/rdoc/RubyXL/ExtraColorSchemeList.html +4 -2
  242. data/rdoc/RubyXL/FieldItem.html +4 -2
  243. data/rdoc/RubyXL/FileRecoveryProperties.html +4 -2
  244. data/rdoc/RubyXL/FileSharing.html +4 -2
  245. data/rdoc/RubyXL/FileVersion.html +4 -2
  246. data/rdoc/RubyXL/Fill.html +4 -2
  247. data/rdoc/RubyXL/Fills.html +4 -2
  248. data/rdoc/RubyXL/FilterContainer.html +4 -2
  249. data/rdoc/RubyXL/FloatNode.html +4 -2
  250. data/rdoc/RubyXL/FloatValue.html +4 -2
  251. data/rdoc/RubyXL/Font.html +4 -2
  252. data/rdoc/RubyXL/FontConvenienceMethods.html +4 -2
  253. data/rdoc/RubyXL/FontScheme.html +4 -2
  254. data/rdoc/RubyXL/Fonts.html +4 -2
  255. data/rdoc/RubyXL/Formula.html +4 -2
  256. data/rdoc/RubyXL/FunctionGroup.html +4 -2
  257. data/rdoc/RubyXL/FunctionGroups.html +4 -2
  258. data/rdoc/RubyXL/GenericStorageObject.html +4 -2
  259. data/rdoc/RubyXL/GradientFill.html +4 -2
  260. data/rdoc/RubyXL/HeaderFooterSettings.html +4 -2
  261. data/rdoc/RubyXL/Hyperlink.html +4 -2
  262. data/rdoc/RubyXL/HyperlinkRelFile.html +4 -2
  263. data/rdoc/RubyXL/Hyperlinks.html +4 -2
  264. data/rdoc/RubyXL/IconFilter.html +4 -2
  265. data/rdoc/RubyXL/IconSet.html +4 -2
  266. data/rdoc/RubyXL/IgnoredError.html +4 -2
  267. data/rdoc/RubyXL/IgnoredErrors.html +4 -2
  268. data/rdoc/RubyXL/IndexedColors.html +4 -2
  269. data/rdoc/RubyXL/InputCells.html +4 -2
  270. data/rdoc/RubyXL/IntegerNode.html +4 -2
  271. data/rdoc/RubyXL/IntegerValue.html +4 -2
  272. data/rdoc/RubyXL/LegacyCell.html +4 -2
  273. data/rdoc/RubyXL/LegacyWorksheet.html +5 -3
  274. data/rdoc/RubyXL/MRUColors.html +4 -2
  275. data/rdoc/RubyXL/MacrosFile.html +4 -2
  276. data/rdoc/RubyXL/MergedCell.html +4 -2
  277. data/rdoc/RubyXL/MergedCells.html +4 -2
  278. data/rdoc/RubyXL/NumFmt.html +4 -2
  279. data/rdoc/RubyXL/NumberFormat.html +4 -2
  280. data/rdoc/RubyXL/NumberFormats.html +4 -2
  281. data/rdoc/RubyXL/OLEObject.html +4 -2
  282. data/rdoc/RubyXL/OLEObjectFile.html +4 -2
  283. data/rdoc/RubyXL/OLEObjects.html +4 -2
  284. data/rdoc/RubyXL/OLESize.html +4 -2
  285. data/rdoc/RubyXL/OOXMLContainerObject.html +10 -8
  286. data/rdoc/RubyXL/OOXMLIgnored.html +4 -2
  287. data/rdoc/RubyXL/OOXMLObject.html +4 -2
  288. data/rdoc/RubyXL/OOXMLObjectClassMethods.html +42 -5
  289. data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +17 -10
  290. data/rdoc/RubyXL/OOXMLRelationshipsFile.html +4 -2
  291. data/rdoc/RubyXL/OOXMLTopLevelObject.html +9 -7
  292. data/rdoc/RubyXL/OdbcOleDbProperties.html +4 -2
  293. data/rdoc/RubyXL/Offset.html +4 -2
  294. data/rdoc/RubyXL/OlapProperties.html +4 -2
  295. data/rdoc/RubyXL/OleItem.html +108 -0
  296. data/rdoc/RubyXL/OleItems.html +108 -0
  297. data/rdoc/RubyXL/OleLink.html +108 -0
  298. data/rdoc/RubyXL/OutlineProperties.html +4 -2
  299. data/rdoc/RubyXL/PageMargins.html +4 -2
  300. data/rdoc/RubyXL/PageSetup.html +4 -2
  301. data/rdoc/RubyXL/PageSetupProperties.html +4 -2
  302. data/rdoc/RubyXL/Pane.html +4 -2
  303. data/rdoc/RubyXL/Parser.html +4 -2
  304. data/rdoc/RubyXL/PatternFill.html +4 -2
  305. data/rdoc/RubyXL/PhoneticProperties.html +4 -2
  306. data/rdoc/RubyXL/PhoneticRun.html +4 -2
  307. data/rdoc/RubyXL/PivotArea.html +4 -2
  308. data/rdoc/RubyXL/PivotCache.html +4 -2
  309. data/rdoc/RubyXL/PivotCacheDefinitionFile.html +4 -2
  310. data/rdoc/RubyXL/PivotCacheRecordsFile.html +4 -2
  311. data/rdoc/RubyXL/PivotCaches.html +4 -2
  312. data/rdoc/RubyXL/PivotReference.html +4 -2
  313. data/rdoc/RubyXL/PivotReferences.html +4 -2
  314. data/rdoc/RubyXL/PivotTableFile.html +4 -2
  315. data/rdoc/RubyXL/PivotTableSelection.html +4 -2
  316. data/rdoc/RubyXL/PresetGeometry.html +4 -2
  317. data/rdoc/RubyXL/PrintOptions.html +4 -2
  318. data/rdoc/RubyXL/PrinterSettingsFile.html +4 -2
  319. data/rdoc/RubyXL/ProtectedRange.html +4 -2
  320. data/rdoc/RubyXL/ProtectedRanges.html +4 -2
  321. data/rdoc/RubyXL/Protection.html +4 -2
  322. data/rdoc/RubyXL/QueryParameter.html +4 -2
  323. data/rdoc/RubyXL/QueryParameters.html +4 -2
  324. data/rdoc/RubyXL/QueryTable.html +4 -2
  325. data/rdoc/RubyXL/QueryTableDeletedField.html +4 -2
  326. data/rdoc/RubyXL/QueryTableDeletedFields.html +4 -2
  327. data/rdoc/RubyXL/QueryTableField.html +4 -2
  328. data/rdoc/RubyXL/QueryTableFields.html +4 -2
  329. data/rdoc/RubyXL/QueryTableRefresh.html +4 -2
  330. data/rdoc/RubyXL/RID.html +4 -2
  331. data/rdoc/RubyXL/RawOOXML.html +4 -2
  332. data/rdoc/RubyXL/Reference.html +4 -2
  333. data/rdoc/RubyXL/Relationship.html +4 -2
  334. data/rdoc/RubyXL/RelationshipSupport.html +4 -2
  335. data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +4 -2
  336. data/rdoc/RubyXL/RevisionPointer.html +4 -2
  337. data/rdoc/RubyXL/RichText.html +5 -3
  338. data/rdoc/RubyXL/RichTextRun.html +4 -2
  339. data/rdoc/RubyXL/Row.html +4 -2
  340. data/rdoc/RubyXL/RowExt.html +4 -2
  341. data/rdoc/RubyXL/RunProperties.html +4 -2
  342. data/rdoc/RubyXL/Scenario.html +4 -2
  343. data/rdoc/RubyXL/Scenarios.html +4 -2
  344. data/rdoc/RubyXL/Selection.html +4 -2
  345. data/rdoc/RubyXL/ShapeGuide.html +4 -2
  346. data/rdoc/RubyXL/ShapeTextRectangle.html +4 -2
  347. data/rdoc/RubyXL/SharedStringsTable.html +4 -2
  348. data/rdoc/RubyXL/Sheet.html +4 -2
  349. data/rdoc/RubyXL/SheetCalculationProperties.html +4 -2
  350. data/rdoc/RubyXL/SheetData.html +4 -2
  351. data/rdoc/RubyXL/SheetDataExt.html +4 -2
  352. data/rdoc/RubyXL/SheetDataSet.html +4 -2
  353. data/rdoc/RubyXL/SheetName.html +4 -2
  354. data/rdoc/RubyXL/SheetNames.html +4 -2
  355. data/rdoc/RubyXL/Sheets.html +4 -2
  356. data/rdoc/RubyXL/SlicerCacheFile.html +4 -2
  357. data/rdoc/RubyXL/SlicerFile.html +4 -2
  358. data/rdoc/RubyXL/SmartTagProperties.html +4 -2
  359. data/rdoc/RubyXL/SmartTagType.html +4 -2
  360. data/rdoc/RubyXL/SmartTagTypes.html +4 -2
  361. data/rdoc/RubyXL/SmartTags.html +4 -2
  362. data/rdoc/RubyXL/SortCondition.html +4 -2
  363. data/rdoc/RubyXL/SortState.html +4 -2
  364. data/rdoc/RubyXL/Sqref.html +4 -2
  365. data/rdoc/RubyXL/Stop.html +4 -2
  366. data/rdoc/RubyXL/StringNode.html +4 -2
  367. data/rdoc/RubyXL/StringNodeW3C.html +4 -2
  368. data/rdoc/RubyXL/StringValue.html +4 -2
  369. data/rdoc/RubyXL/Stylesheet.html +4 -2
  370. data/rdoc/RubyXL/TableFile.html +4 -2
  371. data/rdoc/RubyXL/TableParts.html +4 -2
  372. data/rdoc/RubyXL/TableStyle.html +4 -2
  373. data/rdoc/RubyXL/TableStyles.html +4 -2
  374. data/rdoc/RubyXL/Text.html +4 -2
  375. data/rdoc/RubyXL/TextImportSettings.html +4 -2
  376. data/rdoc/RubyXL/Theme.html +4 -2
  377. data/rdoc/RubyXL/ThemeElements.html +4 -2
  378. data/rdoc/RubyXL/ThumbnailFile.html +4 -2
  379. data/rdoc/RubyXL/Top10.html +4 -2
  380. data/rdoc/RubyXL/VMLDrawingFile.html +4 -2
  381. data/rdoc/RubyXL/Variant.html +4 -2
  382. data/rdoc/RubyXL/Vector.html +4 -2
  383. data/rdoc/RubyXL/VectorValue.html +4 -2
  384. data/rdoc/RubyXL/VisualProperties.html +4 -2
  385. data/rdoc/RubyXL/WebPublishObject.html +4 -2
  386. data/rdoc/RubyXL/WebPublishObjects.html +4 -2
  387. data/rdoc/RubyXL/WebPublishingItem.html +4 -2
  388. data/rdoc/RubyXL/WebPublishingItems.html +4 -2
  389. data/rdoc/RubyXL/WebPublishingProperties.html +4 -2
  390. data/rdoc/RubyXL/WebQueryProperties.html +4 -2
  391. data/rdoc/RubyXL/Workbook.html +33 -25
  392. data/rdoc/RubyXL/WorkbookConvenienceMethods.html +4 -2
  393. data/rdoc/RubyXL/WorkbookProperties.html +4 -2
  394. data/rdoc/RubyXL/WorkbookProtection.html +4 -2
  395. data/rdoc/RubyXL/WorkbookRoot.html +4 -2
  396. data/rdoc/RubyXL/WorkbookView.html +4 -2
  397. data/rdoc/RubyXL/WorkbookViews.html +4 -2
  398. data/rdoc/RubyXL/Worksheet.html +4 -2
  399. data/rdoc/RubyXL/WorksheetConvenienceMethods.html +47 -2
  400. data/rdoc/RubyXL/WorksheetDimensions.html +4 -2
  401. data/rdoc/RubyXL/WorksheetFormatProperties.html +4 -2
  402. data/rdoc/RubyXL/WorksheetProperties.html +4 -2
  403. data/rdoc/RubyXL/WorksheetProtection.html +4 -2
  404. data/rdoc/RubyXL/WorksheetView.html +4 -2
  405. data/rdoc/RubyXL/WorksheetViews.html +4 -2
  406. data/rdoc/RubyXL/XF.html +4 -2
  407. data/rdoc/created.rid +20 -20
  408. data/rdoc/index.html +12 -3
  409. data/rdoc/js/navigation.js.gz +0 -0
  410. data/rdoc/js/search_index.js +1 -1
  411. data/rdoc/js/search_index.js.gz +0 -0
  412. data/rdoc/js/searcher.js.gz +0 -0
  413. data/rdoc/table_of_contents.html +838 -3
  414. data/rubyXL.gemspec +20 -27
  415. data/spec/lib/cell_spec.rb +22 -3
  416. data/spec/lib/rgb_color_spec.rb +16 -0
  417. metadata +9 -7
  418. data/test/output/test.xlsx +0 -0
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Workbook - rubyXL 3.4.10</title>
7
+ <title>class RubyXL::Workbook - rubyXL 3.4.16</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -22,6 +22,7 @@
22
22
 
23
23
 
24
24
 
25
+
25
26
  <body id="top" role="document" class="class">
26
27
  <nav role="navigation">
27
28
  <div id="project-navigation">
@@ -306,7 +307,7 @@
306
307
 
307
308
 
308
309
  <div class="method-source-code" id="new-source">
309
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 440</span>
310
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 446</span>
310
311
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">worksheets</span> = [], <span class="ruby-identifier">src_file_path</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">creator</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">modifier</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">created_at</span> = <span class="ruby-keyword">nil</span>,
311
312
  <span class="ruby-identifier">company</span> = <span class="ruby-string">&#39;&#39;</span>, <span class="ruby-identifier">application</span> = <span class="ruby-constant">APPLICATION</span>, <span class="ruby-identifier">appversion</span> = <span class="ruby-constant">APPVERSION</span>, <span class="ruby-identifier">date1904</span> = <span class="ruby-value">0</span>,
312
313
  <span class="ruby-identifier">is_template</span> = <span class="ruby-keyword">false</span>)
@@ -373,7 +374,7 @@
373
374
 
374
375
 
375
376
  <div class="method-source-code" id="5B-5D-source">
376
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 473</span>
377
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 479</span>
377
378
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">[]</span>(<span class="ruby-identifier">ind</span>)
378
379
  <span class="ruby-keyword">case</span> <span class="ruby-identifier">ind</span>
379
380
  <span class="ruby-keyword">when</span> <span class="ruby-constant">Integer</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">worksheets</span>[<span class="ruby-identifier">ind</span>]
@@ -411,7 +412,7 @@
411
412
 
412
413
 
413
414
  <div class="method-source-code" id="add_worksheet-source">
414
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 483</span>
415
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 489</span>
415
416
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">add_worksheet</span>(<span class="ruby-identifier">name</span> = <span class="ruby-keyword">nil</span>)
416
417
  <span class="ruby-keyword">if</span> <span class="ruby-identifier">name</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-keyword">then</span>
417
418
  <span class="ruby-identifier">n</span> = <span class="ruby-value">0</span>
@@ -454,7 +455,7 @@
454
455
 
455
456
 
456
457
  <div class="method-source-code" id="application-source">
457
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 522</span>
458
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 528</span>
458
459
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">application</span>
459
460
  <span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">application</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">application</span>.<span class="ruby-identifier">value</span>
460
461
  <span class="ruby-keyword">end</span></pre>
@@ -487,7 +488,7 @@
487
488
 
488
489
 
489
490
  <div class="method-source-code" id="application-3D-source">
490
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 526</span>
491
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 532</span>
491
492
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">application=</span>(<span class="ruby-identifier">v</span>)
492
493
  <span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">application</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">StringNode</span>.<span class="ruby-identifier">new</span>
493
494
  <span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">application</span>.<span class="ruby-identifier">value</span> = <span class="ruby-identifier">v</span>
@@ -521,7 +522,7 @@
521
522
 
522
523
 
523
524
  <div class="method-source-code" id="appversion-source">
524
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 531</span>
525
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 537</span>
525
526
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">appversion</span>
526
527
  <span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">app_version</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">app_version</span>.<span class="ruby-identifier">value</span>
527
528
  <span class="ruby-keyword">end</span></pre>
@@ -554,7 +555,7 @@
554
555
 
555
556
 
556
557
  <div class="method-source-code" id="appversion-3D-source">
557
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 535</span>
558
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 541</span>
558
559
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">appversion=</span>(<span class="ruby-identifier">v</span>)
559
560
  <span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">app_version</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">StringNode</span>.<span class="ruby-identifier">new</span>
560
561
  <span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">app_version</span>.<span class="ruby-identifier">value</span> = <span class="ruby-identifier">v</span>
@@ -636,7 +637,7 @@
636
637
 
637
638
 
638
639
  <div class="method-source-code" id="company-source">
639
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 513</span>
640
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 519</span>
640
641
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">company</span>
641
642
  <span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">company</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">company</span>.<span class="ruby-identifier">value</span>
642
643
  <span class="ruby-keyword">end</span></pre>
@@ -669,7 +670,7 @@
669
670
 
670
671
 
671
672
  <div class="method-source-code" id="company-3D-source">
672
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 517</span>
673
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 523</span>
673
674
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">company=</span>(<span class="ruby-identifier">v</span>)
674
675
  <span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">company</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">StringNode</span>.<span class="ruby-identifier">new</span>
675
676
  <span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">company</span>.<span class="ruby-identifier">value</span> = <span class="ruby-identifier">v</span>
@@ -739,7 +740,7 @@
739
740
 
740
741
 
741
742
  <div class="method-source-code" id="created_at-source">
742
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 497</span>
743
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 503</span>
743
744
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">created_at</span>
744
745
  <span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">created_at</span>
745
746
  <span class="ruby-keyword">end</span></pre>
@@ -772,7 +773,7 @@
772
773
 
773
774
 
774
775
  <div class="method-source-code" id="created_at-3D-source">
775
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 501</span>
776
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 507</span>
776
777
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">created_at=</span>(<span class="ruby-identifier">v</span>)
777
778
  <span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">created_at</span> = <span class="ruby-identifier">v</span>
778
779
  <span class="ruby-keyword">end</span></pre>
@@ -805,7 +806,7 @@
805
806
 
806
807
 
807
808
  <div class="method-source-code" id="creator-source">
808
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 540</span>
809
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 546</span>
809
810
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">creator</span>
810
811
  <span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">creator</span>
811
812
  <span class="ruby-keyword">end</span></pre>
@@ -838,7 +839,7 @@
838
839
 
839
840
 
840
841
  <div class="method-source-code" id="creator-3D-source">
841
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 544</span>
842
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 550</span>
842
843
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">creator=</span>(<span class="ruby-identifier">v</span>)
843
844
  <span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">creator</span> = <span class="ruby-identifier">v</span>
844
845
  <span class="ruby-keyword">end</span></pre>
@@ -871,7 +872,7 @@
871
872
 
872
873
 
873
874
  <div class="method-source-code" id="date1904-source">
874
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 556</span>
875
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 562</span>
875
876
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">date1904</span>
876
877
  <span class="ruby-identifier">workbook_properties</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">workbook_properties</span>.<span class="ruby-identifier">date1904</span>
877
878
  <span class="ruby-keyword">end</span></pre>
@@ -904,7 +905,7 @@
904
905
 
905
906
 
906
907
  <div class="method-source-code" id="date1904-3D-source">
907
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 560</span>
908
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 566</span>
908
909
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">date1904=</span>(<span class="ruby-identifier">v</span>)
909
910
  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">workbook_properties</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">WorkbookProperties</span>.<span class="ruby-identifier">new</span>
910
911
  <span class="ruby-identifier">workbook_properties</span>.<span class="ruby-identifier">date1904</span> = <span class="ruby-identifier">v</span>
@@ -940,7 +941,10 @@
940
941
  <div class="method-source-code" id="date_to_num-source">
941
942
  <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 422</span>
942
943
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">date_to_num</span>(<span class="ruby-identifier">date</span>)
943
- <span class="ruby-identifier">date</span> <span class="ruby-operator">&amp;&amp;</span> (<span class="ruby-identifier">date</span>.<span class="ruby-identifier">ajd</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">base_date</span>().<span class="ruby-identifier">ajd</span>).<span class="ruby-identifier">to_f</span>
944
+ <span class="ruby-keyword">case</span> <span class="ruby-identifier">date</span>
945
+ <span class="ruby-keyword">when</span> <span class="ruby-constant">Date</span>, <span class="ruby-constant">DateTime</span> <span class="ruby-keyword">then</span> (<span class="ruby-identifier">date</span>.<span class="ruby-identifier">ajd</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">base_date</span>().<span class="ruby-identifier">ajd</span>).<span class="ruby-identifier">to_f</span>
946
+ <span class="ruby-keyword">when</span> <span class="ruby-constant">Time</span> <span class="ruby-keyword">then</span> ((<span class="ruby-identifier">date</span>.<span class="ruby-identifier">to_r</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">base_date</span>().<span class="ruby-identifier">to_time</span>.<span class="ruby-identifier">to_r</span>) <span class="ruby-operator">/</span> <span class="ruby-value">86400</span>).<span class="ruby-identifier">to_f</span>
947
+ <span class="ruby-keyword">end</span>
944
948
  <span class="ruby-keyword">end</span></pre>
945
949
  </div>
946
950
 
@@ -971,7 +975,7 @@
971
975
 
972
976
 
973
977
  <div class="method-source-code" id="modified_at-source">
974
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 505</span>
978
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 511</span>
975
979
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">modified_at</span>
976
980
  <span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">modified_at</span>
977
981
  <span class="ruby-keyword">end</span></pre>
@@ -1004,7 +1008,7 @@
1004
1008
 
1005
1009
 
1006
1010
  <div class="method-source-code" id="modified_at-3D-source">
1007
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 509</span>
1011
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 515</span>
1008
1012
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">modified_at=</span>(<span class="ruby-identifier">v</span>)
1009
1013
  <span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">modified_at</span> = <span class="ruby-identifier">v</span>
1010
1014
  <span class="ruby-keyword">end</span></pre>
@@ -1037,7 +1041,7 @@
1037
1041
 
1038
1042
 
1039
1043
  <div class="method-source-code" id="modifier-source">
1040
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 548</span>
1044
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 554</span>
1041
1045
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">modifier</span>
1042
1046
  <span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">modifier</span>
1043
1047
  <span class="ruby-keyword">end</span></pre>
@@ -1070,7 +1074,7 @@
1070
1074
 
1071
1075
 
1072
1076
  <div class="method-source-code" id="modifier-3D-source">
1073
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 552</span>
1077
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 558</span>
1074
1078
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">modifier=</span>(<span class="ruby-identifier">v</span>)
1075
1079
  <span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">modifier</span> = <span class="ruby-identifier">v</span>
1076
1080
  <span class="ruby-keyword">end</span></pre>
@@ -1103,14 +1107,17 @@
1103
1107
 
1104
1108
 
1105
1109
  <div class="method-source-code" id="num_to_date-source">
1106
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 426</span>
1110
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 429</span>
1107
1111
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">num_to_date</span>(<span class="ruby-identifier">num</span>)
1112
+ <span class="ruby-keyword">return</span> <span class="ruby-keyword">nil</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">num</span>.<span class="ruby-identifier">nil?</span>
1113
+
1108
1114
  <span class="ruby-comment"># Bug-for-bug Excel compatibility (https://support.microsoft.com/kb/214058/)</span>
1109
- <span class="ruby-keyword">if</span> <span class="ruby-identifier">num</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">num</span> <span class="ruby-operator">&lt;</span> <span class="ruby-constant">MARCH_1_1900</span> <span class="ruby-keyword">then</span>
1115
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">num</span> <span class="ruby-operator">&lt;</span> <span class="ruby-constant">MARCH_1_1900</span> <span class="ruby-keyword">then</span>
1110
1116
  <span class="ruby-identifier">num</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">workbook_properties</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">workbook_properties</span>.<span class="ruby-identifier">date1904</span>
1111
1117
  <span class="ruby-keyword">end</span>
1112
1118
 
1113
- <span class="ruby-identifier">num</span> <span class="ruby-operator">&amp;&amp;</span> (<span class="ruby-identifier">base_date</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">num</span>)
1119
+ <span class="ruby-identifier">dateparts</span> = <span class="ruby-identifier">num</span>.<span class="ruby-identifier">divmod</span>(<span class="ruby-value">1</span>)
1120
+ <span class="ruby-identifier">base_date</span> <span class="ruby-operator">+</span> (<span class="ruby-identifier">dateparts</span>[<span class="ruby-value">0</span>] <span class="ruby-operator">+</span> (<span class="ruby-identifier">dateparts</span>[<span class="ruby-value">1</span>] <span class="ruby-operator">*</span> <span class="ruby-value">86400</span>).<span class="ruby-identifier">round</span>(<span class="ruby-value">6</span>) <span class="ruby-operator">/</span> <span class="ruby-value">86400</span>)
1114
1121
  <span class="ruby-keyword">end</span></pre>
1115
1122
  </div>
1116
1123
 
@@ -1298,12 +1305,13 @@
1298
1305
  </section>
1299
1306
 
1300
1307
  </section>
1308
+
1301
1309
  </main>
1302
1310
 
1303
1311
 
1304
1312
  <footer id="validator-badges" role="contentinfo">
1305
1313
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
1306
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.0.
1314
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
1307
1315
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
1308
1316
  </footer>
1309
1317
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>module RubyXL::WorkbookConvenienceMethods - rubyXL 3.4.10</title>
7
+ <title>module RubyXL::WorkbookConvenienceMethods - rubyXL 3.4.16</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -22,6 +22,7 @@
22
22
 
23
23
 
24
24
 
25
+
25
26
  <body id="top" role="document" class="module">
26
27
  <nav role="navigation">
27
28
  <div id="project-navigation">
@@ -724,12 +725,13 @@
724
725
  </section>
725
726
 
726
727
  </section>
728
+
727
729
  </main>
728
730
 
729
731
 
730
732
  <footer id="validator-badges" role="contentinfo">
731
733
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
732
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.0.
734
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
733
735
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
734
736
  </footer>
735
737
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WorkbookProperties - rubyXL 3.4.10</title>
7
+ <title>class RubyXL::WorkbookProperties - rubyXL 3.4.16</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -22,6 +22,7 @@
22
22
 
23
23
 
24
24
 
25
+
25
26
  <body id="top" role="document" class="class">
26
27
  <nav role="navigation">
27
28
  <div id="project-navigation">
@@ -95,12 +96,13 @@
95
96
 
96
97
 
97
98
  </section>
99
+
98
100
  </main>
99
101
 
100
102
 
101
103
  <footer id="validator-badges" role="contentinfo">
102
104
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
103
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.0.
105
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
104
106
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
105
107
  </footer>
106
108
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WorkbookProtection - rubyXL 3.4.10</title>
7
+ <title>class RubyXL::WorkbookProtection - rubyXL 3.4.16</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -22,6 +22,7 @@
22
22
 
23
23
 
24
24
 
25
+
25
26
  <body id="top" role="document" class="class">
26
27
  <nav role="navigation">
27
28
  <div id="project-navigation">
@@ -95,12 +96,13 @@
95
96
 
96
97
 
97
98
  </section>
99
+
98
100
  </main>
99
101
 
100
102
 
101
103
  <footer id="validator-badges" role="contentinfo">
102
104
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
103
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.0.
105
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
104
106
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
105
107
  </footer>
106
108
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WorkbookRoot - rubyXL 3.4.10</title>
7
+ <title>class RubyXL::WorkbookRoot - rubyXL 3.4.16</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -22,6 +22,7 @@
22
22
 
23
23
 
24
24
 
25
+
25
26
  <body id="top" role="document" class="class">
26
27
  <nav role="navigation">
27
28
  <div id="project-navigation">
@@ -392,12 +393,13 @@
392
393
  </section>
393
394
 
394
395
  </section>
396
+
395
397
  </main>
396
398
 
397
399
 
398
400
  <footer id="validator-badges" role="contentinfo">
399
401
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
400
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.0.
402
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
401
403
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
402
404
  </footer>
403
405
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WorkbookView - rubyXL 3.4.10</title>
7
+ <title>class RubyXL::WorkbookView - rubyXL 3.4.16</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -22,6 +22,7 @@
22
22
 
23
23
 
24
24
 
25
+
25
26
  <body id="top" role="document" class="class">
26
27
  <nav role="navigation">
27
28
  <div id="project-navigation">
@@ -95,12 +96,13 @@
95
96
 
96
97
 
97
98
  </section>
99
+
98
100
  </main>
99
101
 
100
102
 
101
103
  <footer id="validator-badges" role="contentinfo">
102
104
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
103
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.0.
105
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
104
106
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
105
107
  </footer>
106
108
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WorkbookViews - rubyXL 3.4.10</title>
7
+ <title>class RubyXL::WorkbookViews - rubyXL 3.4.16</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -22,6 +22,7 @@
22
22
 
23
23
 
24
24
 
25
+
25
26
  <body id="top" role="document" class="class">
26
27
  <nav role="navigation">
27
28
  <div id="project-navigation">
@@ -95,12 +96,13 @@
95
96
 
96
97
 
97
98
  </section>
99
+
98
100
  </main>
99
101
 
100
102
 
101
103
  <footer id="validator-badges" role="contentinfo">
102
104
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
103
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.0.
105
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
104
106
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
105
107
  </footer>
106
108
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Worksheet - rubyXL 3.4.10</title>
7
+ <title>class RubyXL::Worksheet - rubyXL 3.4.16</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -22,6 +22,7 @@
22
22
 
23
23
 
24
24
 
25
+
25
26
  <body id="top" role="document" class="class">
26
27
  <nav role="navigation">
27
28
  <div id="project-navigation">
@@ -488,12 +489,13 @@
488
489
  </section>
489
490
 
490
491
  </section>
492
+
491
493
  </main>
492
494
 
493
495
 
494
496
  <footer id="validator-badges" role="contentinfo">
495
497
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
496
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.0.
498
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
497
499
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
498
500
  </footer>
499
501
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>module RubyXL::WorksheetConvenienceMethods - rubyXL 3.4.10</title>
7
+ <title>module RubyXL::WorksheetConvenienceMethods - rubyXL 3.4.16</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -22,6 +22,7 @@
22
22
 
23
23
 
24
24
 
25
+
25
26
  <body id="top" role="document" class="module">
26
27
  <nav role="navigation">
27
28
  <div id="project-navigation">
@@ -67,6 +68,8 @@
67
68
 
68
69
  <ul class="link-list" role="directory">
69
70
 
71
+ <li ><a href="#method-i-add_validation_list">#add_validation_list</a>
72
+
70
73
  <li ><a href="#method-i-change_column_alignment">#change_column_alignment</a>
71
74
 
72
75
  <li ><a href="#method-i-change_column_bold">#change_column_bold</a>
@@ -279,6 +282,47 @@
279
282
  </header>
280
283
 
281
284
 
285
+ <div id="method-i-add_validation_list" class="method-detail ">
286
+
287
+ <div class="method-heading">
288
+ <span class="method-name">add_validation_list</span><span
289
+ class="method-args">(ref, list_arr)</span>
290
+
291
+ <span class="method-click-advice">click to toggle source</span>
292
+
293
+ </div>
294
+
295
+
296
+ <div class="method-description">
297
+
298
+
299
+
300
+
301
+
302
+
303
+ <div class="method-source-code" id="add_validation_list-source">
304
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 636</span>
305
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">add_validation_list</span>(<span class="ruby-identifier">ref</span>, <span class="ruby-identifier">list_arr</span>)
306
+ <span class="ruby-comment"># &quot;Any double quote characters in the value should be escaped with another double quote.</span>
307
+ <span class="ruby-comment"># If the value does not contain a comma, newline or double quote, then the String value should be returned unchanged.</span>
308
+ <span class="ruby-comment"># If the value contains a comma, newline or double quote, then the String value should be returned enclosed in double quotes.&quot;</span>
309
+ <span class="ruby-identifier">expr</span> = <span class="ruby-string">&#39;&quot;&#39;</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">list_arr</span>.<span class="ruby-identifier">collect</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">str</span><span class="ruby-operator">|</span> <span class="ruby-identifier">str</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-string">&#39;&quot;&#39;</span>, <span class="ruby-string">&#39;&quot;&quot;&#39;</span>)}.<span class="ruby-identifier">join</span>(<span class="ruby-string">&#39;,&#39;</span>) <span class="ruby-operator">+</span> <span class="ruby-string">&#39;&quot;&#39;</span>
310
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">data_validations</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">DataValidations</span>.<span class="ruby-identifier">new</span>
311
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">data_validations</span> <span class="ruby-operator">&lt;&lt;</span>
312
+ <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">DataValidation</span>.<span class="ruby-identifier">new</span>({<span class="ruby-value">:sqref</span> <span class="ruby-operator">=&gt;</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Reference</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">ref</span>),
313
+ <span class="ruby-value">:formula1</span> <span class="ruby-operator">=&gt;</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Formula</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:expression</span> <span class="ruby-operator">=&gt;</span> <span class="ruby-identifier">expr</span>),
314
+ <span class="ruby-value">:type</span> <span class="ruby-operator">=&gt;</span> <span class="ruby-string">&#39;list&#39;</span>})
315
+ <span class="ruby-keyword">end</span></pre>
316
+ </div>
317
+
318
+ </div>
319
+
320
+
321
+
322
+
323
+ </div>
324
+
325
+
282
326
  <div id="method-i-change_column_alignment" class="method-detail ">
283
327
 
284
328
  <div class="method-heading">
@@ -2858,12 +2902,13 @@
2858
2902
  </section>
2859
2903
 
2860
2904
  </section>
2905
+
2861
2906
  </main>
2862
2907
 
2863
2908
 
2864
2909
  <footer id="validator-badges" role="contentinfo">
2865
2910
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
2866
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.0.
2911
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
2867
2912
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
2868
2913
  </footer>
2869
2914