rubyXL 3.4.14 → 3.4.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (399) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +14 -14
  3. data/README.rdoc +5 -0
  4. data/VERSION +1 -1
  5. data/lib/rubyXL/convenience_methods/worksheet.rb +12 -0
  6. data/lib/rubyXL/objects/data_validation.rb +2 -0
  7. data/lib/rubyXL/objects/storage.rb +1 -0
  8. data/lib/rubyXL/objects/workbook.rb +4 -1
  9. data/lib/rubyXL/worksheet.rb +1 -1
  10. data/rdoc/README_rdoc.html +3 -1
  11. data/rdoc/RubyXL.html +3 -1
  12. data/rdoc/RubyXL/AExtension.html +3 -1
  13. data/rdoc/RubyXL/AExtensionStorageArea.html +3 -1
  14. data/rdoc/RubyXL/ActiveX.html +4 -2
  15. data/rdoc/RubyXL/ActiveXBinary.html +3 -1
  16. data/rdoc/RubyXL/AdjustHandleList.html +3 -1
  17. data/rdoc/RubyXL/Alignment.html +3 -1
  18. data/rdoc/RubyXL/AlternateContent.html +3 -1
  19. data/rdoc/RubyXL/Authors.html +3 -1
  20. data/rdoc/RubyXL/AutoFilter.html +3 -1
  21. data/rdoc/RubyXL/AutoFilterColumn.html +3 -1
  22. data/rdoc/RubyXL/BinaryImageFile.html +3 -1
  23. data/rdoc/RubyXL/BodyProperties.html +3 -1
  24. data/rdoc/RubyXL/BooleanNode.html +3 -1
  25. data/rdoc/RubyXL/BooleanValue.html +3 -1
  26. data/rdoc/RubyXL/Border.html +3 -1
  27. data/rdoc/RubyXL/BorderEdge.html +3 -1
  28. data/rdoc/RubyXL/Borders.html +3 -1
  29. data/rdoc/RubyXL/Break.html +3 -1
  30. data/rdoc/RubyXL/BreakList.html +3 -1
  31. data/rdoc/RubyXL/CT_AdjPoint2D.html +3 -1
  32. data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +3 -1
  33. data/rdoc/RubyXL/CT_AlphaModulateEffect.html +3 -1
  34. data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +3 -1
  35. data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +3 -1
  36. data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +3 -1
  37. data/rdoc/RubyXL/CT_Backdrop.html +3 -1
  38. data/rdoc/RubyXL/CT_Bevel.html +3 -1
  39. data/rdoc/RubyXL/CT_BiLevelEffect.html +3 -1
  40. data/rdoc/RubyXL/CT_BlendEffect.html +3 -1
  41. data/rdoc/RubyXL/CT_Blip.html +3 -1
  42. data/rdoc/RubyXL/CT_BlipFillProperties.html +3 -1
  43. data/rdoc/RubyXL/CT_BlurEffect.html +3 -1
  44. data/rdoc/RubyXL/CT_Camera.html +3 -1
  45. data/rdoc/RubyXL/CT_Color.html +3 -1
  46. data/rdoc/RubyXL/CT_ColorChangeEffect.html +3 -1
  47. data/rdoc/RubyXL/CT_ColorMapping.html +3 -1
  48. data/rdoc/RubyXL/CT_ColorScheme.html +3 -1
  49. data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +3 -1
  50. data/rdoc/RubyXL/CT_ConnectionSite.html +3 -1
  51. data/rdoc/RubyXL/CT_ConnectionSiteList.html +3 -1
  52. data/rdoc/RubyXL/CT_DashStop.html +3 -1
  53. data/rdoc/RubyXL/CT_DashStopList.html +3 -1
  54. data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +3 -1
  55. data/rdoc/RubyXL/CT_DuotoneEffect.html +3 -1
  56. data/rdoc/RubyXL/CT_EffectContainer.html +3 -1
  57. data/rdoc/RubyXL/CT_EffectList.html +3 -1
  58. data/rdoc/RubyXL/CT_EffectReference.html +3 -1
  59. data/rdoc/RubyXL/CT_EffectStyleItem.html +3 -1
  60. data/rdoc/RubyXL/CT_EffectStyleList.html +3 -1
  61. data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +3 -1
  62. data/rdoc/RubyXL/CT_FillEffect.html +3 -1
  63. data/rdoc/RubyXL/CT_FillOverlayEffect.html +3 -1
  64. data/rdoc/RubyXL/CT_FillStyleList.html +3 -1
  65. data/rdoc/RubyXL/CT_FlatText.html +3 -1
  66. data/rdoc/RubyXL/CT_FontCollection.html +3 -1
  67. data/rdoc/RubyXL/CT_FontReference.html +3 -1
  68. data/rdoc/RubyXL/CT_GeomGuideList.html +3 -1
  69. data/rdoc/RubyXL/CT_GlowEffect.html +3 -1
  70. data/rdoc/RubyXL/CT_GradientFillProperties.html +3 -1
  71. data/rdoc/RubyXL/CT_GradientStop.html +3 -1
  72. data/rdoc/RubyXL/CT_GradientStopList.html +3 -1
  73. data/rdoc/RubyXL/CT_HSLEffect.html +3 -1
  74. data/rdoc/RubyXL/CT_HslColor.html +3 -1
  75. data/rdoc/RubyXL/CT_Hyperlink.html +3 -1
  76. data/rdoc/RubyXL/CT_InnerShadowEffect.html +3 -1
  77. data/rdoc/RubyXL/CT_LightRig.html +3 -1
  78. data/rdoc/RubyXL/CT_LineEndProperties.html +3 -1
  79. data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +3 -1
  80. data/rdoc/RubyXL/CT_LineProperties.html +3 -1
  81. data/rdoc/RubyXL/CT_LineStyleList.html +3 -1
  82. data/rdoc/RubyXL/CT_LinearShadeProperties.html +3 -1
  83. data/rdoc/RubyXL/CT_LuminanceEffect.html +3 -1
  84. data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +3 -1
  85. data/rdoc/RubyXL/CT_OuterShadowEffect.html +3 -1
  86. data/rdoc/RubyXL/CT_Path2D.html +3 -1
  87. data/rdoc/RubyXL/CT_Path2DArcTo.html +3 -1
  88. data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +3 -1
  89. data/rdoc/RubyXL/CT_Path2DList.html +3 -1
  90. data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +3 -1
  91. data/rdoc/RubyXL/CT_Path2DTo.html +3 -1
  92. data/rdoc/RubyXL/CT_PathShadeProperties.html +3 -1
  93. data/rdoc/RubyXL/CT_PatternFillProperties.html +3 -1
  94. data/rdoc/RubyXL/CT_Point3D.html +3 -1
  95. data/rdoc/RubyXL/CT_PolarAdjustHandle.html +3 -1
  96. data/rdoc/RubyXL/CT_PresetColor.html +3 -1
  97. data/rdoc/RubyXL/CT_PresetLineDashProperties.html +3 -1
  98. data/rdoc/RubyXL/CT_PresetShadowEffect.html +3 -1
  99. data/rdoc/RubyXL/CT_PresetTextShape.html +3 -1
  100. data/rdoc/RubyXL/CT_ReflectionEffect.html +3 -1
  101. data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +3 -1
  102. data/rdoc/RubyXL/CT_RelativeRect.html +3 -1
  103. data/rdoc/RubyXL/CT_SRgbColor.html +3 -1
  104. data/rdoc/RubyXL/CT_ScRgbColor.html +3 -1
  105. data/rdoc/RubyXL/CT_Scene3D.html +3 -1
  106. data/rdoc/RubyXL/CT_SchemeColor.html +3 -1
  107. data/rdoc/RubyXL/CT_Shape3D.html +3 -1
  108. data/rdoc/RubyXL/CT_ShapeStyle.html +3 -1
  109. data/rdoc/RubyXL/CT_SoftEdgesEffect.html +3 -1
  110. data/rdoc/RubyXL/CT_SphereCoords.html +3 -1
  111. data/rdoc/RubyXL/CT_StretchInfoProperties.html +3 -1
  112. data/rdoc/RubyXL/CT_StyleMatrix.html +3 -1
  113. data/rdoc/RubyXL/CT_StyleMatrixReference.html +3 -1
  114. data/rdoc/RubyXL/CT_SupplementalFont.html +3 -1
  115. data/rdoc/RubyXL/CT_SystemColor.html +3 -1
  116. data/rdoc/RubyXL/CT_TextAutonumberBullet.html +3 -1
  117. data/rdoc/RubyXL/CT_TextBlipBullet.html +3 -1
  118. data/rdoc/RubyXL/CT_TextCharBullet.html +3 -1
  119. data/rdoc/RubyXL/CT_TextCharacterProperties.html +3 -1
  120. data/rdoc/RubyXL/CT_TextFont.html +3 -1
  121. data/rdoc/RubyXL/CT_TextListStyle.html +3 -1
  122. data/rdoc/RubyXL/CT_TextNormalAutofit.html +3 -1
  123. data/rdoc/RubyXL/CT_TextParagraphProperties.html +3 -1
  124. data/rdoc/RubyXL/CT_TextSpacing.html +3 -1
  125. data/rdoc/RubyXL/CT_TextTabStop.html +3 -1
  126. data/rdoc/RubyXL/CT_TextTabStopList.html +3 -1
  127. data/rdoc/RubyXL/CT_TileInfoProperties.html +3 -1
  128. data/rdoc/RubyXL/CT_TintEffect.html +3 -1
  129. data/rdoc/RubyXL/CT_Transform2D.html +3 -1
  130. data/rdoc/RubyXL/CT_TransformEffect.html +3 -1
  131. data/rdoc/RubyXL/CT_Vector3D.html +3 -1
  132. data/rdoc/RubyXL/CT_XYAdjustHandle.html +3 -1
  133. data/rdoc/RubyXL/CalculationChain.html +3 -1
  134. data/rdoc/RubyXL/CalculationChainCell.html +3 -1
  135. data/rdoc/RubyXL/CalculationProperties.html +3 -1
  136. data/rdoc/RubyXL/Cell.html +3 -1
  137. data/rdoc/RubyXL/CellConvenienceMethods.html +3 -1
  138. data/rdoc/RubyXL/CellExt.html +3 -1
  139. data/rdoc/RubyXL/CellSmartTag.html +3 -1
  140. data/rdoc/RubyXL/CellSmartTagProperty.html +3 -1
  141. data/rdoc/RubyXL/CellSmartTags.html +3 -1
  142. data/rdoc/RubyXL/CellStyle.html +3 -1
  143. data/rdoc/RubyXL/CellStyleXFs.html +3 -1
  144. data/rdoc/RubyXL/CellStyles.html +3 -1
  145. data/rdoc/RubyXL/CellValue.html +3 -1
  146. data/rdoc/RubyXL/CellWatch.html +3 -1
  147. data/rdoc/RubyXL/CellWatches.html +3 -1
  148. data/rdoc/RubyXL/CellXFs.html +3 -1
  149. data/rdoc/RubyXL/ChartColorsFile.html +3 -1
  150. data/rdoc/RubyXL/ChartFile.html +3 -1
  151. data/rdoc/RubyXL/ChartStyleFile.html +3 -1
  152. data/rdoc/RubyXL/ChartUserShapesFile.html +3 -1
  153. data/rdoc/RubyXL/Chartsheet.html +3 -1
  154. data/rdoc/RubyXL/ChartsheetPageSetup.html +3 -1
  155. data/rdoc/RubyXL/ChartsheetProperties.html +3 -1
  156. data/rdoc/RubyXL/ChartsheetProtection.html +3 -1
  157. data/rdoc/RubyXL/ChartsheetView.html +3 -1
  158. data/rdoc/RubyXL/ChartsheetViews.html +3 -1
  159. data/rdoc/RubyXL/Color.html +3 -1
  160. data/rdoc/RubyXL/ColorConvenienceClasses.html +3 -1
  161. data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +3 -1
  162. data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +3 -1
  163. data/rdoc/RubyXL/ColorConvenienceMethods.html +3 -1
  164. data/rdoc/RubyXL/ColorFilter.html +3 -1
  165. data/rdoc/RubyXL/ColorScale.html +3 -1
  166. data/rdoc/RubyXL/ColorSet.html +3 -1
  167. data/rdoc/RubyXL/Colors.html +3 -1
  168. data/rdoc/RubyXL/ColumnRange.html +3 -1
  169. data/rdoc/RubyXL/ColumnRanges.html +3 -1
  170. data/rdoc/RubyXL/Comment.html +3 -1
  171. data/rdoc/RubyXL/CommentList.html +3 -1
  172. data/rdoc/RubyXL/CommentsFile.html +3 -1
  173. data/rdoc/RubyXL/ConditionalFormatValue.html +3 -1
  174. data/rdoc/RubyXL/ConditionalFormatting.html +3 -1
  175. data/rdoc/RubyXL/ConditionalFormattingRule.html +3 -1
  176. data/rdoc/RubyXL/Connection.html +3 -1
  177. data/rdoc/RubyXL/ConnectionTable.html +3 -1
  178. data/rdoc/RubyXL/ConnectionTables.html +3 -1
  179. data/rdoc/RubyXL/ConnectionTextField.html +3 -1
  180. data/rdoc/RubyXL/ConnectionTextFields.html +3 -1
  181. data/rdoc/RubyXL/Connections.html +3 -1
  182. data/rdoc/RubyXL/ContentTypeDefault.html +3 -1
  183. data/rdoc/RubyXL/ContentTypeOverride.html +3 -1
  184. data/rdoc/RubyXL/ContentTypes.html +3 -1
  185. data/rdoc/RubyXL/ControlPropertiesFile.html +8 -1
  186. data/rdoc/RubyXL/CorePropertiesFile.html +3 -1
  187. data/rdoc/RubyXL/CustomColor.html +3 -1
  188. data/rdoc/RubyXL/CustomColorList.html +3 -1
  189. data/rdoc/RubyXL/CustomFilter.html +3 -1
  190. data/rdoc/RubyXL/CustomFilters.html +3 -1
  191. data/rdoc/RubyXL/CustomGeometry.html +3 -1
  192. data/rdoc/RubyXL/CustomProperties.html +3 -1
  193. data/rdoc/RubyXL/CustomPropertiesFile.html +3 -1
  194. data/rdoc/RubyXL/CustomProperty.html +3 -1
  195. data/rdoc/RubyXL/CustomPropertyFile.html +3 -1
  196. data/rdoc/RubyXL/CustomSheetView.html +3 -1
  197. data/rdoc/RubyXL/CustomSheetViews.html +3 -1
  198. data/rdoc/RubyXL/CustomWorkbookView.html +3 -1
  199. data/rdoc/RubyXL/CustomWorkbookViews.html +3 -1
  200. data/rdoc/RubyXL/CustomXMLFile.html +3 -1
  201. data/rdoc/RubyXL/DXF.html +3 -1
  202. data/rdoc/RubyXL/DXFs.html +3 -1
  203. data/rdoc/RubyXL/DataBar.html +3 -1
  204. data/rdoc/RubyXL/DataConsolidate.html +3 -1
  205. data/rdoc/RubyXL/DataConsolidationReference.html +3 -1
  206. data/rdoc/RubyXL/DataConsolidationReferences.html +3 -1
  207. data/rdoc/RubyXL/DataType.html +3 -1
  208. data/rdoc/RubyXL/DataValidation.html +3 -1
  209. data/rdoc/RubyXL/DataValidations.html +3 -1
  210. data/rdoc/RubyXL/DateGroupItem.html +3 -1
  211. data/rdoc/RubyXL/DefinedName.html +3 -1
  212. data/rdoc/RubyXL/DefinedNameExt.html +3 -1
  213. data/rdoc/RubyXL/DefinedNames.html +3 -1
  214. data/rdoc/RubyXL/DefinedNamesExt.html +3 -1
  215. data/rdoc/RubyXL/DocumentPropertiesFile.html +3 -1
  216. data/rdoc/RubyXL/DrawingFile.html +3 -1
  217. data/rdoc/RubyXL/DynamicFilter.html +3 -1
  218. data/rdoc/RubyXL/EmbeddedControl.html +3 -1
  219. data/rdoc/RubyXL/EmbeddedControls.html +3 -1
  220. data/rdoc/RubyXL/Extension.html +3 -1
  221. data/rdoc/RubyXL/ExtensionStorageArea.html +3 -1
  222. data/rdoc/RubyXL/Extents.html +3 -1
  223. data/rdoc/RubyXL/ExternalBook.html +3 -1
  224. data/rdoc/RubyXL/ExternalLinksFile.html +3 -1
  225. data/rdoc/RubyXL/ExternalReference.html +3 -1
  226. data/rdoc/RubyXL/ExternalReferences.html +3 -1
  227. data/rdoc/RubyXL/ExtraColorSchemeList.html +3 -1
  228. data/rdoc/RubyXL/FieldItem.html +3 -1
  229. data/rdoc/RubyXL/FileRecoveryProperties.html +3 -1
  230. data/rdoc/RubyXL/FileSharing.html +3 -1
  231. data/rdoc/RubyXL/FileVersion.html +3 -1
  232. data/rdoc/RubyXL/Fill.html +3 -1
  233. data/rdoc/RubyXL/Fills.html +3 -1
  234. data/rdoc/RubyXL/FilterContainer.html +3 -1
  235. data/rdoc/RubyXL/FloatNode.html +3 -1
  236. data/rdoc/RubyXL/FloatValue.html +3 -1
  237. data/rdoc/RubyXL/Font.html +3 -1
  238. data/rdoc/RubyXL/FontConvenienceMethods.html +3 -1
  239. data/rdoc/RubyXL/FontScheme.html +3 -1
  240. data/rdoc/RubyXL/Fonts.html +3 -1
  241. data/rdoc/RubyXL/Formula.html +3 -1
  242. data/rdoc/RubyXL/FunctionGroup.html +3 -1
  243. data/rdoc/RubyXL/FunctionGroups.html +3 -1
  244. data/rdoc/RubyXL/GenericStorageObject.html +3 -1
  245. data/rdoc/RubyXL/GradientFill.html +3 -1
  246. data/rdoc/RubyXL/HeaderFooterSettings.html +3 -1
  247. data/rdoc/RubyXL/Hyperlink.html +3 -1
  248. data/rdoc/RubyXL/HyperlinkRelFile.html +3 -1
  249. data/rdoc/RubyXL/Hyperlinks.html +3 -1
  250. data/rdoc/RubyXL/IconFilter.html +3 -1
  251. data/rdoc/RubyXL/IconSet.html +3 -1
  252. data/rdoc/RubyXL/IgnoredError.html +3 -1
  253. data/rdoc/RubyXL/IgnoredErrors.html +3 -1
  254. data/rdoc/RubyXL/IndexedColors.html +3 -1
  255. data/rdoc/RubyXL/InputCells.html +3 -1
  256. data/rdoc/RubyXL/IntegerNode.html +3 -1
  257. data/rdoc/RubyXL/IntegerValue.html +3 -1
  258. data/rdoc/RubyXL/LegacyCell.html +3 -1
  259. data/rdoc/RubyXL/LegacyWorksheet.html +4 -2
  260. data/rdoc/RubyXL/MRUColors.html +3 -1
  261. data/rdoc/RubyXL/MacrosFile.html +3 -1
  262. data/rdoc/RubyXL/MergedCell.html +3 -1
  263. data/rdoc/RubyXL/MergedCells.html +3 -1
  264. data/rdoc/RubyXL/NumFmt.html +3 -1
  265. data/rdoc/RubyXL/NumberFormat.html +3 -1
  266. data/rdoc/RubyXL/NumberFormats.html +3 -1
  267. data/rdoc/RubyXL/OLEObject.html +3 -1
  268. data/rdoc/RubyXL/OLEObjectFile.html +3 -1
  269. data/rdoc/RubyXL/OLEObjects.html +3 -1
  270. data/rdoc/RubyXL/OLESize.html +3 -1
  271. data/rdoc/RubyXL/OOXMLContainerObject.html +3 -1
  272. data/rdoc/RubyXL/OOXMLIgnored.html +3 -1
  273. data/rdoc/RubyXL/OOXMLObject.html +3 -1
  274. data/rdoc/RubyXL/OOXMLObjectClassMethods.html +3 -1
  275. data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +3 -1
  276. data/rdoc/RubyXL/OOXMLRelationshipsFile.html +3 -1
  277. data/rdoc/RubyXL/OOXMLTopLevelObject.html +3 -1
  278. data/rdoc/RubyXL/OdbcOleDbProperties.html +3 -1
  279. data/rdoc/RubyXL/Offset.html +3 -1
  280. data/rdoc/RubyXL/OlapProperties.html +3 -1
  281. data/rdoc/RubyXL/OutlineProperties.html +3 -1
  282. data/rdoc/RubyXL/PageMargins.html +3 -1
  283. data/rdoc/RubyXL/PageSetup.html +3 -1
  284. data/rdoc/RubyXL/PageSetupProperties.html +3 -1
  285. data/rdoc/RubyXL/Pane.html +3 -1
  286. data/rdoc/RubyXL/Parser.html +3 -1
  287. data/rdoc/RubyXL/PatternFill.html +3 -1
  288. data/rdoc/RubyXL/PhoneticProperties.html +3 -1
  289. data/rdoc/RubyXL/PhoneticRun.html +3 -1
  290. data/rdoc/RubyXL/PivotArea.html +3 -1
  291. data/rdoc/RubyXL/PivotCache.html +3 -1
  292. data/rdoc/RubyXL/PivotCacheDefinitionFile.html +3 -1
  293. data/rdoc/RubyXL/PivotCacheRecordsFile.html +3 -1
  294. data/rdoc/RubyXL/PivotCaches.html +3 -1
  295. data/rdoc/RubyXL/PivotReference.html +3 -1
  296. data/rdoc/RubyXL/PivotReferences.html +3 -1
  297. data/rdoc/RubyXL/PivotTableFile.html +3 -1
  298. data/rdoc/RubyXL/PivotTableSelection.html +3 -1
  299. data/rdoc/RubyXL/PresetGeometry.html +3 -1
  300. data/rdoc/RubyXL/PrintOptions.html +3 -1
  301. data/rdoc/RubyXL/PrinterSettingsFile.html +3 -1
  302. data/rdoc/RubyXL/ProtectedRange.html +3 -1
  303. data/rdoc/RubyXL/ProtectedRanges.html +3 -1
  304. data/rdoc/RubyXL/Protection.html +3 -1
  305. data/rdoc/RubyXL/QueryParameter.html +3 -1
  306. data/rdoc/RubyXL/QueryParameters.html +3 -1
  307. data/rdoc/RubyXL/QueryTable.html +3 -1
  308. data/rdoc/RubyXL/QueryTableDeletedField.html +3 -1
  309. data/rdoc/RubyXL/QueryTableDeletedFields.html +3 -1
  310. data/rdoc/RubyXL/QueryTableField.html +3 -1
  311. data/rdoc/RubyXL/QueryTableFields.html +3 -1
  312. data/rdoc/RubyXL/QueryTableRefresh.html +3 -1
  313. data/rdoc/RubyXL/RID.html +3 -1
  314. data/rdoc/RubyXL/RawOOXML.html +3 -1
  315. data/rdoc/RubyXL/Reference.html +3 -1
  316. data/rdoc/RubyXL/Relationship.html +3 -1
  317. data/rdoc/RubyXL/RelationshipSupport.html +3 -1
  318. data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +3 -1
  319. data/rdoc/RubyXL/RevisionPointer.html +3 -1
  320. data/rdoc/RubyXL/RichText.html +3 -1
  321. data/rdoc/RubyXL/RichTextRun.html +3 -1
  322. data/rdoc/RubyXL/Row.html +3 -1
  323. data/rdoc/RubyXL/RowExt.html +3 -1
  324. data/rdoc/RubyXL/RunProperties.html +3 -1
  325. data/rdoc/RubyXL/Scenario.html +3 -1
  326. data/rdoc/RubyXL/Scenarios.html +3 -1
  327. data/rdoc/RubyXL/Selection.html +3 -1
  328. data/rdoc/RubyXL/ShapeGuide.html +3 -1
  329. data/rdoc/RubyXL/ShapeTextRectangle.html +3 -1
  330. data/rdoc/RubyXL/SharedStringsTable.html +3 -1
  331. data/rdoc/RubyXL/Sheet.html +3 -1
  332. data/rdoc/RubyXL/SheetCalculationProperties.html +3 -1
  333. data/rdoc/RubyXL/SheetData.html +3 -1
  334. data/rdoc/RubyXL/SheetDataExt.html +3 -1
  335. data/rdoc/RubyXL/SheetDataSet.html +3 -1
  336. data/rdoc/RubyXL/SheetName.html +3 -1
  337. data/rdoc/RubyXL/SheetNames.html +3 -1
  338. data/rdoc/RubyXL/Sheets.html +3 -1
  339. data/rdoc/RubyXL/SlicerCacheFile.html +3 -1
  340. data/rdoc/RubyXL/SlicerFile.html +3 -1
  341. data/rdoc/RubyXL/SmartTagProperties.html +3 -1
  342. data/rdoc/RubyXL/SmartTagType.html +3 -1
  343. data/rdoc/RubyXL/SmartTagTypes.html +3 -1
  344. data/rdoc/RubyXL/SmartTags.html +3 -1
  345. data/rdoc/RubyXL/SortCondition.html +3 -1
  346. data/rdoc/RubyXL/SortState.html +3 -1
  347. data/rdoc/RubyXL/Sqref.html +3 -1
  348. data/rdoc/RubyXL/Stop.html +3 -1
  349. data/rdoc/RubyXL/StringNode.html +3 -1
  350. data/rdoc/RubyXL/StringNodeW3C.html +3 -1
  351. data/rdoc/RubyXL/StringValue.html +3 -1
  352. data/rdoc/RubyXL/Stylesheet.html +3 -1
  353. data/rdoc/RubyXL/TableFile.html +3 -1
  354. data/rdoc/RubyXL/TableParts.html +3 -1
  355. data/rdoc/RubyXL/TableStyle.html +3 -1
  356. data/rdoc/RubyXL/TableStyles.html +3 -1
  357. data/rdoc/RubyXL/Text.html +3 -1
  358. data/rdoc/RubyXL/TextImportSettings.html +3 -1
  359. data/rdoc/RubyXL/Theme.html +3 -1
  360. data/rdoc/RubyXL/ThemeElements.html +3 -1
  361. data/rdoc/RubyXL/ThumbnailFile.html +3 -1
  362. data/rdoc/RubyXL/Top10.html +3 -1
  363. data/rdoc/RubyXL/VMLDrawingFile.html +3 -1
  364. data/rdoc/RubyXL/Variant.html +3 -1
  365. data/rdoc/RubyXL/Vector.html +3 -1
  366. data/rdoc/RubyXL/VectorValue.html +3 -1
  367. data/rdoc/RubyXL/VisualProperties.html +3 -1
  368. data/rdoc/RubyXL/WebPublishObject.html +3 -1
  369. data/rdoc/RubyXL/WebPublishObjects.html +3 -1
  370. data/rdoc/RubyXL/WebPublishingItem.html +3 -1
  371. data/rdoc/RubyXL/WebPublishingItems.html +3 -1
  372. data/rdoc/RubyXL/WebPublishingProperties.html +3 -1
  373. data/rdoc/RubyXL/WebQueryProperties.html +3 -1
  374. data/rdoc/RubyXL/Workbook.html +27 -22
  375. data/rdoc/RubyXL/WorkbookConvenienceMethods.html +3 -1
  376. data/rdoc/RubyXL/WorkbookProperties.html +3 -1
  377. data/rdoc/RubyXL/WorkbookProtection.html +3 -1
  378. data/rdoc/RubyXL/WorkbookRoot.html +3 -1
  379. data/rdoc/RubyXL/WorkbookView.html +3 -1
  380. data/rdoc/RubyXL/WorkbookViews.html +3 -1
  381. data/rdoc/RubyXL/Worksheet.html +3 -1
  382. data/rdoc/RubyXL/WorksheetConvenienceMethods.html +46 -1
  383. data/rdoc/RubyXL/WorksheetDimensions.html +3 -1
  384. data/rdoc/RubyXL/WorksheetFormatProperties.html +3 -1
  385. data/rdoc/RubyXL/WorksheetProperties.html +3 -1
  386. data/rdoc/RubyXL/WorksheetProtection.html +3 -1
  387. data/rdoc/RubyXL/WorksheetView.html +3 -1
  388. data/rdoc/RubyXL/WorksheetViews.html +3 -1
  389. data/rdoc/RubyXL/XF.html +3 -1
  390. data/rdoc/created.rid +8 -8
  391. data/rdoc/index.html +5 -2
  392. data/rdoc/js/navigation.js.gz +0 -0
  393. data/rdoc/js/search_index.js +1 -1
  394. data/rdoc/js/search_index.js.gz +0 -0
  395. data/rdoc/js/searcher.js.gz +0 -0
  396. data/rdoc/table_of_contents.html +815 -2
  397. data/rubyXL.gemspec +15 -25
  398. data/spec/lib/cell_spec.rb +9 -2
  399. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a6d7d1c02347b372b277757fa2fdc86362f4084c6d2aaaa5e34cb5f43d95f105
4
- data.tar.gz: cc4169e2863565f21aeb0a32e3b7f485bbc234a81c3376de91fb657fe52a1794
3
+ metadata.gz: 113f3b9a4f79ca55897dc0b41c3ea90b79fe22de8cfe477977a0fde79587ee9c
4
+ data.tar.gz: 31887b622133cb5aa7f1fa9b807edc4a24fe678b3ada67212d20ce8d67e2cf3b
5
5
  SHA512:
6
- metadata.gz: a782eb58f6a39b6a72de09a0cf14e65832efd968953083d051fd3b555a9f848b46af80806af586f28d4429825a12e53c9569a3ec3d0e55a48c8dbc031c21595a
7
- data.tar.gz: 8bf1ac6bcbe54d4f56c8378684cb4934beefe7c4ef2f703a84f22206d8b192629398b02ce996efe8c815c3fcc33e9cbe5b1aef56c749b2b151d25e20710c4bba
6
+ metadata.gz: 30aedef1cdd170c64c08b03ed501d165d31e457c2676e1939598d35952cd3c22c2f0033b1310ff4bcc83402cfd4e1ff9332a0e130dc55703c5695c63d936e4af
7
+ data.tar.gz: 113ba583b359143c2c1366ac8ff8f5fa235b081ae896f0374c5b27e85ed31722226c331a869d9007025989c1961d6c2d4a9755e374ec2840fe41dc576dd2e2de
@@ -5,11 +5,11 @@ GEM
5
5
  builder (3.2.4)
6
6
  descendants_tracker (0.0.4)
7
7
  thread_safe (~> 0.3, >= 0.3.1)
8
- diff-lcs (1.3)
8
+ diff-lcs (1.4.4)
9
9
  docile (1.3.2)
10
10
  faraday (0.9.2)
11
11
  multipart-post (>= 1.2, < 3)
12
- git (1.6.0)
12
+ git (1.7.0)
13
13
  rchardet (~> 1.8)
14
14
  github_api (0.16.0)
15
15
  addressable (~> 2.4.0)
@@ -34,10 +34,10 @@ GEM
34
34
  jwt (2.2.1)
35
35
  mime-types (2.99.3)
36
36
  mini_portile2 (2.4.0)
37
- multi_json (1.14.1)
37
+ multi_json (1.15.0)
38
38
  multi_xml (0.6.0)
39
39
  multipart-post (2.1.1)
40
- nokogiri (1.10.8)
40
+ nokogiri (1.10.10)
41
41
  mini_portile2 (~> 2.4.0)
42
42
  oauth2 (1.4.4)
43
43
  faraday (>= 0.8, < 2.0)
@@ -45,8 +45,8 @@ GEM
45
45
  multi_json (~> 1.3)
46
46
  multi_xml (~> 0.5)
47
47
  rack (>= 1.2, < 3)
48
- psych (3.1.0)
49
- rack (2.2.2)
48
+ psych (3.2.0)
49
+ rack (2.2.3)
50
50
  rake (13.0.1)
51
51
  rchardet (1.8.0)
52
52
  rdoc (6.2.1)
@@ -54,24 +54,24 @@ GEM
54
54
  rspec-core (~> 3.9.0)
55
55
  rspec-expectations (~> 3.9.0)
56
56
  rspec-mocks (~> 3.9.0)
57
- rspec-core (3.9.1)
58
- rspec-support (~> 3.9.1)
59
- rspec-expectations (3.9.0)
57
+ rspec-core (3.9.2)
58
+ rspec-support (~> 3.9.3)
59
+ rspec-expectations (3.9.2)
60
60
  diff-lcs (>= 1.2.0, < 2.0)
61
61
  rspec-support (~> 3.9.0)
62
62
  rspec-mocks (3.9.1)
63
63
  diff-lcs (>= 1.2.0, < 2.0)
64
64
  rspec-support (~> 3.9.0)
65
- rspec-support (3.9.2)
65
+ rspec-support (3.9.3)
66
66
  rspec_junit_formatter (0.4.1)
67
67
  rspec-core (>= 2, < 4, != 2.12.0)
68
- ruby-prof (1.3.0)
69
- rubyzip (2.2.0)
68
+ ruby-prof (1.4.1)
69
+ rubyzip (2.3.0)
70
70
  semver2 (3.4.2)
71
71
  simplecov (0.18.5)
72
72
  docile (~> 1.1)
73
73
  simplecov-html (~> 0.11)
74
- simplecov-html (0.12.1)
74
+ simplecov-html (0.12.2)
75
75
  thread_safe (0.3.6)
76
76
 
77
77
  PLATFORMS
@@ -89,4 +89,4 @@ DEPENDENCIES
89
89
  simplecov
90
90
 
91
91
  BUNDLED WITH
92
- 1.17.3
92
+ 2.1.4
@@ -229,6 +229,11 @@ It can also operate on +StringIO+ objects, thus eliminating the need to save the
229
229
 
230
230
  RubyXL.class_variable_set(:@@suppress_warnings, true)
231
231
 
232
+ == Data validation ("dropdown list")
233
+
234
+ worksheet.add_validation_list("A1", [ "value1", "value2" ])
235
+
236
+
232
237
  == For more information
233
238
  Take a look at the files in spec/lib/ for rspecs on most methods
234
239
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.4.14
1
+ 3.4.15
@@ -632,6 +632,18 @@ module RubyXL
632
632
  # TODO: add validation to make sure ranges are not intersecting with existing ones
633
633
  merged_cells << RubyXL::MergedCell.new(:ref => RubyXL::Reference.new(start_row, end_row, start_col, end_col))
634
634
  end
635
+
636
+ def add_validation_list(ref, list_arr)
637
+ # "Any double quote characters in the value should be escaped with another double quote.
638
+ # If the value does not contain a comma, newline or double quote, then the String value should be returned unchanged.
639
+ # If the value contains a comma, newline or double quote, then the String value should be returned enclosed in double quotes."
640
+ expr = '"' + list_arr.collect{|str| str.gsub('"', '""')}.join(',') + '"'
641
+ self.data_validations ||= RubyXL::DataValidations.new
642
+ self.data_validations <<
643
+ RubyXL::DataValidation.new({:sqref => RubyXL::Reference.new(ref),
644
+ :formula1 => RubyXL::Formula.new(:expression => expr),
645
+ :type => 'list'})
646
+ end
635
647
  end
636
648
 
637
649
  RubyXL::Worksheet.send(:include, RubyXL::WorksheetConvenienceMethods) # ruby 2.1 compat
@@ -11,6 +11,8 @@ module RubyXL
11
11
  define_attribute(:imeMode, RubyXL::ST_DataValidationImeMode, :default => 'noControl')
12
12
  define_attribute(:operator, RubyXL::ST_DataValidationOperator, :default => 'between')
13
13
  define_attribute(:allowBlank, :bool, :default => false)
14
+ # Documentation lies. This property should have been called "HIDE dropdown",
15
+ # since that's what happens when it is set to true.
14
16
  define_attribute(:showDropDown, :bool, :default => false)
15
17
  define_attribute(:showInputMessage, :bool, :default => false)
16
18
  define_attribute(:showErrorMessage, :bool, :default => false)
@@ -97,6 +97,7 @@ module RubyXL
97
97
  end
98
98
 
99
99
  class ControlPropertiesFile < GenericStorageObject
100
+ CONTENT_TYPE = 'application/vnd.ms-excel.controlproperties+xml'
100
101
  REL_TYPE = 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/ctrlProp'
101
102
  end
102
103
 
@@ -420,7 +420,10 @@ module RubyXL
420
420
  private :base_date
421
421
 
422
422
  def date_to_num(date)
423
- date && (date.ajd - base_date().ajd).to_f
423
+ case date
424
+ when Date, DateTime then (date.ajd - base_date().ajd).to_f
425
+ when Time then ((date.to_r - base_date().to_time.to_r) / 86400).to_f
426
+ end
424
427
  end
425
428
 
426
429
  def num_to_date(num)
@@ -55,7 +55,7 @@ module LegacyWorksheet
55
55
  when RubyXL::RichText then
56
56
  c.is = data
57
57
  c.datatype = RubyXL::DataType::INLINE_STRING
58
- when Date, DateTime then
58
+ when Time, Date, DateTime then
59
59
  c.raw_value = workbook.date_to_num(data)
60
60
  when NilClass then nil
61
61
  end
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>README - rubyXL 3.4.14</title>
7
+ <title>README - rubyXL 3.4.15</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="file">
26
27
  <nav role="navigation">
27
28
  <div id="project-navigation">
@@ -456,6 +457,7 @@
456
457
  <h2 id="label-Copyright">Copyright<span><a href="#label-Copyright">&para;</a> <a href="#top">&uarr;</a></span></h2>
457
458
 
458
459
  <p>Copyright © 2011 Vivek Bhagwat, 2013-2020 Wesha. See LICENSE.txt for further details.</p>
460
+
459
461
  </main>
460
462
 
461
463
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>module RubyXL - rubyXL 3.4.14</title>
7
+ <title>module RubyXL - rubyXL 3.4.15</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">
@@ -636,6 +637,7 @@
636
637
  </section>
637
638
 
638
639
  </section>
640
+
639
641
  </main>
640
642
 
641
643
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::AExtension - rubyXL 3.4.14</title>
7
+ <title>class RubyXL::AExtension - rubyXL 3.4.15</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">
@@ -212,6 +213,7 @@
212
213
  </section>
213
214
 
214
215
  </section>
216
+
215
217
  </main>
216
218
 
217
219
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::AExtensionStorageArea - rubyXL 3.4.14</title>
7
+ <title>class RubyXL::AExtensionStorageArea - rubyXL 3.4.15</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">
@@ -93,6 +94,7 @@
93
94
 
94
95
 
95
96
  </section>
97
+
96
98
  </main>
97
99
 
98
100
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::ActiveX - rubyXL 3.4.14</title>
7
+ <title>class RubyXL::ActiveX - rubyXL 3.4.15</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">
@@ -152,7 +153,7 @@
152
153
 
153
154
 
154
155
  <div class="method-source-code" id="attach_relationship-source">
155
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/storage.rb, line 174</span>
156
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/storage.rb, line 175</span>
156
157
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">attach_relationship</span>(<span class="ruby-identifier">rid</span>, <span class="ruby-identifier">rf</span>)
157
158
  <span class="ruby-keyword">case</span> <span class="ruby-identifier">rf</span>
158
159
  <span class="ruby-keyword">when</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">ChartFile</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">store_relationship</span>(<span class="ruby-identifier">rf</span>) <span class="ruby-comment"># TODO</span>
@@ -172,6 +173,7 @@
172
173
  </section>
173
174
 
174
175
  </section>
176
+
175
177
  </main>
176
178
 
177
179
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::ActiveXBinary - rubyXL 3.4.14</title>
7
+ <title>class RubyXL::ActiveXBinary - rubyXL 3.4.15</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">
@@ -107,6 +108,7 @@
107
108
 
108
109
 
109
110
  </section>
111
+
110
112
  </main>
111
113
 
112
114
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::AdjustHandleList - rubyXL 3.4.14</title>
7
+ <title>class RubyXL::AdjustHandleList - rubyXL 3.4.15</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,6 +96,7 @@
95
96
 
96
97
 
97
98
  </section>
99
+
98
100
  </main>
99
101
 
100
102
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Alignment - rubyXL 3.4.14</title>
7
+ <title>class RubyXL::Alignment - rubyXL 3.4.15</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,6 +96,7 @@
95
96
 
96
97
 
97
98
  </section>
99
+
98
100
  </main>
99
101
 
100
102
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::AlternateContent - rubyXL 3.4.14</title>
7
+ <title>class RubyXL::AlternateContent - rubyXL 3.4.15</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">
@@ -93,6 +94,7 @@
93
94
 
94
95
 
95
96
  </section>
97
+
96
98
  </main>
97
99
 
98
100
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Authors - rubyXL 3.4.14</title>
7
+ <title>class RubyXL::Authors - rubyXL 3.4.15</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,6 +96,7 @@
95
96
 
96
97
 
97
98
  </section>
99
+
98
100
  </main>
99
101
 
100
102
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::AutoFilter - rubyXL 3.4.14</title>
7
+ <title>class RubyXL::AutoFilter - rubyXL 3.4.15</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,6 +96,7 @@
95
96
 
96
97
 
97
98
  </section>
99
+
98
100
  </main>
99
101
 
100
102
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::AutoFilterColumn - rubyXL 3.4.14</title>
7
+ <title>class RubyXL::AutoFilterColumn - rubyXL 3.4.15</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,6 +96,7 @@
95
96
 
96
97
 
97
98
  </section>
99
+
98
100
  </main>
99
101
 
100
102