rubyXL 3.3.25 → 3.3.26

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 (392) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/rubyXL/convenience_methods.rb +60 -0
  4. data/lib/rubyXL/objects/border.rb +2 -2
  5. data/lib/rubyXL/objects/calculation_chain.rb +2 -2
  6. data/lib/rubyXL/objects/cell_style.rb +5 -5
  7. data/lib/rubyXL/objects/chartsheet.rb +6 -6
  8. data/lib/rubyXL/objects/color.rb +1 -1
  9. data/lib/rubyXL/objects/column_range.rb +10 -10
  10. data/lib/rubyXL/objects/comments.rb +4 -4
  11. data/lib/rubyXL/objects/container_nodes.rb +2 -2
  12. data/lib/rubyXL/objects/content_types.rb +2 -2
  13. data/lib/rubyXL/objects/data_validation.rb +2 -2
  14. data/lib/rubyXL/objects/document_properties.rb +1 -1
  15. data/lib/rubyXL/objects/extensions.rb +3 -3
  16. data/lib/rubyXL/objects/fill.rb +4 -4
  17. data/lib/rubyXL/objects/filters.rb +12 -12
  18. data/lib/rubyXL/objects/font.rb +4 -59
  19. data/lib/rubyXL/objects/formula.rb +1 -1
  20. data/lib/rubyXL/objects/ooxml_object.rb +2 -2
  21. data/lib/rubyXL/objects/shared_strings.rb +1 -1
  22. data/lib/rubyXL/objects/sheet_common.rb +4 -4
  23. data/lib/rubyXL/objects/sheet_data.rb +4 -4
  24. data/lib/rubyXL/objects/stylesheet.rb +14 -14
  25. data/lib/rubyXL/objects/text.rb +6 -6
  26. data/lib/rubyXL/objects/theme.rb +118 -118
  27. data/lib/rubyXL/objects/workbook.rb +28 -28
  28. data/lib/rubyXL/objects/worksheet.rb +52 -52
  29. data/rdoc/README_rdoc.html +1 -1
  30. data/rdoc/RubyXL.html +1 -1
  31. data/rdoc/RubyXL/AExtension.html +2 -2
  32. data/rdoc/RubyXL/AExtensionStorageArea.html +1 -1
  33. data/rdoc/RubyXL/ActiveX.html +1 -1
  34. data/rdoc/RubyXL/ActiveXBinary.html +1 -1
  35. data/rdoc/RubyXL/AdjustHandleList.html +2 -2
  36. data/rdoc/RubyXL/Alignment.html +2 -2
  37. data/rdoc/RubyXL/AlternateContent.html +1 -1
  38. data/rdoc/RubyXL/Authors.html +2 -2
  39. data/rdoc/RubyXL/AutoFilter.html +2 -2
  40. data/rdoc/RubyXL/AutoFilterColumn.html +2 -2
  41. data/rdoc/RubyXL/BinaryImageFile.html +1 -1
  42. data/rdoc/RubyXL/BodyProperties.html +2 -2
  43. data/rdoc/RubyXL/BooleanNode.html +1 -1
  44. data/rdoc/RubyXL/BooleanValue.html +1 -1
  45. data/rdoc/RubyXL/Border.html +2 -2
  46. data/rdoc/RubyXL/BorderEdge.html +1 -1
  47. data/rdoc/RubyXL/Borders.html +2 -2
  48. data/rdoc/RubyXL/Break.html +2 -2
  49. data/rdoc/RubyXL/BreakList.html +2 -2
  50. data/rdoc/RubyXL/CT_AdjPoint2D.html +2 -2
  51. data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +2 -2
  52. data/rdoc/RubyXL/CT_AlphaModulateEffect.html +2 -2
  53. data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +2 -2
  54. data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +2 -2
  55. data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +2 -2
  56. data/rdoc/RubyXL/CT_Backdrop.html +2 -2
  57. data/rdoc/RubyXL/CT_Bevel.html +2 -2
  58. data/rdoc/RubyXL/CT_BiLevelEffect.html +2 -2
  59. data/rdoc/RubyXL/CT_BlendEffect.html +2 -2
  60. data/rdoc/RubyXL/CT_Blip.html +2 -2
  61. data/rdoc/RubyXL/CT_BlipFillProperties.html +2 -2
  62. data/rdoc/RubyXL/CT_BlurEffect.html +2 -2
  63. data/rdoc/RubyXL/CT_Camera.html +2 -2
  64. data/rdoc/RubyXL/CT_Color.html +2 -2
  65. data/rdoc/RubyXL/CT_ColorChangeEffect.html +2 -2
  66. data/rdoc/RubyXL/CT_ColorMapping.html +2 -2
  67. data/rdoc/RubyXL/CT_ColorScheme.html +2 -2
  68. data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +2 -2
  69. data/rdoc/RubyXL/CT_ConnectionSite.html +2 -2
  70. data/rdoc/RubyXL/CT_ConnectionSiteList.html +2 -2
  71. data/rdoc/RubyXL/CT_DashStop.html +2 -2
  72. data/rdoc/RubyXL/CT_DashStopList.html +2 -2
  73. data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +2 -2
  74. data/rdoc/RubyXL/CT_DuotoneEffect.html +2 -2
  75. data/rdoc/RubyXL/CT_EffectContainer.html +2 -2
  76. data/rdoc/RubyXL/CT_EffectList.html +2 -2
  77. data/rdoc/RubyXL/CT_EffectReference.html +2 -2
  78. data/rdoc/RubyXL/CT_EffectStyleItem.html +2 -2
  79. data/rdoc/RubyXL/CT_EffectStyleList.html +2 -2
  80. data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +2 -2
  81. data/rdoc/RubyXL/CT_FillEffect.html +2 -2
  82. data/rdoc/RubyXL/CT_FillOverlayEffect.html +2 -2
  83. data/rdoc/RubyXL/CT_FillStyleList.html +2 -2
  84. data/rdoc/RubyXL/CT_FlatText.html +2 -2
  85. data/rdoc/RubyXL/CT_FontCollection.html +2 -2
  86. data/rdoc/RubyXL/CT_FontReference.html +2 -2
  87. data/rdoc/RubyXL/CT_GeomGuideList.html +2 -2
  88. data/rdoc/RubyXL/CT_GlowEffect.html +2 -2
  89. data/rdoc/RubyXL/CT_GradientFillProperties.html +2 -2
  90. data/rdoc/RubyXL/CT_GradientStop.html +2 -2
  91. data/rdoc/RubyXL/CT_GradientStopList.html +2 -2
  92. data/rdoc/RubyXL/CT_HSLEffect.html +2 -2
  93. data/rdoc/RubyXL/CT_HslColor.html +2 -2
  94. data/rdoc/RubyXL/CT_Hyperlink.html +2 -2
  95. data/rdoc/RubyXL/CT_InnerShadowEffect.html +2 -2
  96. data/rdoc/RubyXL/CT_LightRig.html +2 -2
  97. data/rdoc/RubyXL/CT_LineEndProperties.html +2 -2
  98. data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +2 -2
  99. data/rdoc/RubyXL/CT_LineProperties.html +2 -2
  100. data/rdoc/RubyXL/CT_LineStyleList.html +2 -2
  101. data/rdoc/RubyXL/CT_LinearShadeProperties.html +2 -2
  102. data/rdoc/RubyXL/CT_LuminanceEffect.html +2 -2
  103. data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +2 -2
  104. data/rdoc/RubyXL/CT_OuterShadowEffect.html +2 -2
  105. data/rdoc/RubyXL/CT_Path2D.html +2 -2
  106. data/rdoc/RubyXL/CT_Path2DArcTo.html +2 -2
  107. data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +2 -2
  108. data/rdoc/RubyXL/CT_Path2DList.html +2 -2
  109. data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +2 -2
  110. data/rdoc/RubyXL/CT_Path2DTo.html +2 -2
  111. data/rdoc/RubyXL/CT_PathShadeProperties.html +2 -2
  112. data/rdoc/RubyXL/CT_PatternFillProperties.html +2 -2
  113. data/rdoc/RubyXL/CT_Point3D.html +2 -2
  114. data/rdoc/RubyXL/CT_PolarAdjustHandle.html +2 -2
  115. data/rdoc/RubyXL/CT_PresetColor.html +2 -2
  116. data/rdoc/RubyXL/CT_PresetLineDashProperties.html +2 -2
  117. data/rdoc/RubyXL/CT_PresetShadowEffect.html +2 -2
  118. data/rdoc/RubyXL/CT_PresetTextShape.html +2 -2
  119. data/rdoc/RubyXL/CT_ReflectionEffect.html +2 -2
  120. data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +2 -2
  121. data/rdoc/RubyXL/CT_RelativeRect.html +2 -2
  122. data/rdoc/RubyXL/CT_SRgbColor.html +2 -2
  123. data/rdoc/RubyXL/CT_ScRgbColor.html +2 -2
  124. data/rdoc/RubyXL/CT_Scene3D.html +2 -2
  125. data/rdoc/RubyXL/CT_SchemeColor.html +2 -2
  126. data/rdoc/RubyXL/CT_Shape3D.html +2 -2
  127. data/rdoc/RubyXL/CT_ShapeStyle.html +2 -2
  128. data/rdoc/RubyXL/CT_SoftEdgesEffect.html +2 -2
  129. data/rdoc/RubyXL/CT_SphereCoords.html +2 -2
  130. data/rdoc/RubyXL/CT_StretchInfoProperties.html +2 -2
  131. data/rdoc/RubyXL/CT_StyleMatrix.html +2 -2
  132. data/rdoc/RubyXL/CT_StyleMatrixReference.html +2 -2
  133. data/rdoc/RubyXL/CT_SupplementalFont.html +2 -2
  134. data/rdoc/RubyXL/CT_SystemColor.html +2 -2
  135. data/rdoc/RubyXL/CT_TextAutonumberBullet.html +2 -2
  136. data/rdoc/RubyXL/CT_TextBlipBullet.html +2 -2
  137. data/rdoc/RubyXL/CT_TextCharBullet.html +2 -2
  138. data/rdoc/RubyXL/CT_TextCharacterProperties.html +2 -2
  139. data/rdoc/RubyXL/CT_TextFont.html +2 -2
  140. data/rdoc/RubyXL/CT_TextListStyle.html +2 -2
  141. data/rdoc/RubyXL/CT_TextNormalAutofit.html +2 -2
  142. data/rdoc/RubyXL/CT_TextParagraphProperties.html +2 -2
  143. data/rdoc/RubyXL/CT_TextSpacing.html +2 -2
  144. data/rdoc/RubyXL/CT_TextTabStop.html +2 -2
  145. data/rdoc/RubyXL/CT_TextTabStopList.html +2 -2
  146. data/rdoc/RubyXL/CT_TileInfoProperties.html +2 -2
  147. data/rdoc/RubyXL/CT_TintEffect.html +2 -2
  148. data/rdoc/RubyXL/CT_Transform2D.html +2 -2
  149. data/rdoc/RubyXL/CT_TransformEffect.html +2 -2
  150. data/rdoc/RubyXL/CT_Vector3D.html +2 -2
  151. data/rdoc/RubyXL/CT_XYAdjustHandle.html +2 -2
  152. data/rdoc/RubyXL/CalculationChain.html +2 -2
  153. data/rdoc/RubyXL/CalculationChainCell.html +2 -2
  154. data/rdoc/RubyXL/CalculationProperties.html +2 -2
  155. data/rdoc/RubyXL/Cell.html +2 -2
  156. data/rdoc/RubyXL/CellConvenienceMethods.html +1 -1
  157. data/rdoc/RubyXL/CellExt.html +1 -1
  158. data/rdoc/RubyXL/CellSmartTag.html +2 -2
  159. data/rdoc/RubyXL/CellSmartTagProperty.html +2 -2
  160. data/rdoc/RubyXL/CellSmartTags.html +2 -2
  161. data/rdoc/RubyXL/CellStyle.html +2 -2
  162. data/rdoc/RubyXL/CellStyleXFs.html +2 -2
  163. data/rdoc/RubyXL/CellStyles.html +2 -2
  164. data/rdoc/RubyXL/CellValue.html +2 -2
  165. data/rdoc/RubyXL/CellWatch.html +2 -2
  166. data/rdoc/RubyXL/CellWatches.html +2 -2
  167. data/rdoc/RubyXL/CellXFs.html +2 -2
  168. data/rdoc/RubyXL/ChartColorsFile.html +1 -1
  169. data/rdoc/RubyXL/ChartFile.html +1 -1
  170. data/rdoc/RubyXL/ChartStyleFile.html +1 -1
  171. data/rdoc/RubyXL/ChartUserShapesFile.html +1 -1
  172. data/rdoc/RubyXL/Chartsheet.html +2 -2
  173. data/rdoc/RubyXL/ChartsheetPageSetup.html +2 -2
  174. data/rdoc/RubyXL/ChartsheetProperties.html +2 -2
  175. data/rdoc/RubyXL/ChartsheetProtection.html +2 -2
  176. data/rdoc/RubyXL/ChartsheetView.html +2 -2
  177. data/rdoc/RubyXL/ChartsheetViews.html +2 -2
  178. data/rdoc/RubyXL/Color.html +2 -2
  179. data/rdoc/RubyXL/ColorFilter.html +2 -2
  180. data/rdoc/RubyXL/ColorScale.html +2 -2
  181. data/rdoc/RubyXL/ColorSet.html +2 -2
  182. data/rdoc/RubyXL/Colors.html +2 -2
  183. data/rdoc/RubyXL/ColumnRange.html +2 -2
  184. data/rdoc/RubyXL/ColumnRanges.html +1 -1
  185. data/rdoc/RubyXL/Comment.html +2 -2
  186. data/rdoc/RubyXL/CommentList.html +2 -2
  187. data/rdoc/RubyXL/CommentsFile.html +2 -2
  188. data/rdoc/RubyXL/ConditionalFormatValue.html +2 -2
  189. data/rdoc/RubyXL/ConditionalFormatting.html +2 -2
  190. data/rdoc/RubyXL/ConditionalFormattingRule.html +2 -2
  191. data/rdoc/RubyXL/ContentTypeDefault.html +1 -1
  192. data/rdoc/RubyXL/ContentTypeOverride.html +1 -1
  193. data/rdoc/RubyXL/ContentTypes.html +3 -3
  194. data/rdoc/RubyXL/ControlPropertiesFile.html +1 -1
  195. data/rdoc/RubyXL/CorePropertiesFile.html +1 -1
  196. data/rdoc/RubyXL/CustomColor.html +2 -2
  197. data/rdoc/RubyXL/CustomColorList.html +2 -2
  198. data/rdoc/RubyXL/CustomFilter.html +2 -2
  199. data/rdoc/RubyXL/CustomFilters.html +2 -2
  200. data/rdoc/RubyXL/CustomGeometry.html +2 -2
  201. data/rdoc/RubyXL/CustomProperties.html +2 -2
  202. data/rdoc/RubyXL/CustomPropertiesFile.html +1 -1
  203. data/rdoc/RubyXL/CustomProperty.html +2 -2
  204. data/rdoc/RubyXL/CustomSheetView.html +2 -2
  205. data/rdoc/RubyXL/CustomSheetViews.html +2 -2
  206. data/rdoc/RubyXL/CustomWorkbookView.html +2 -2
  207. data/rdoc/RubyXL/CustomWorkbookViews.html +2 -2
  208. data/rdoc/RubyXL/CustomXMLFile.html +1 -1
  209. data/rdoc/RubyXL/DXF.html +2 -2
  210. data/rdoc/RubyXL/DXFs.html +2 -2
  211. data/rdoc/RubyXL/DataBar.html +2 -2
  212. data/rdoc/RubyXL/DataConsolidate.html +2 -2
  213. data/rdoc/RubyXL/DataConsolidationReference.html +2 -2
  214. data/rdoc/RubyXL/DataConsolidationReferences.html +2 -2
  215. data/rdoc/RubyXL/DataType.html +1 -1
  216. data/rdoc/RubyXL/DataValidation.html +2 -2
  217. data/rdoc/RubyXL/DataValidations.html +2 -2
  218. data/rdoc/RubyXL/DateGroupItem.html +2 -2
  219. data/rdoc/RubyXL/DefinedName.html +2 -2
  220. data/rdoc/RubyXL/DefinedNameExt.html +1 -1
  221. data/rdoc/RubyXL/DefinedNames.html +2 -2
  222. data/rdoc/RubyXL/DefinedNamesExt.html +1 -1
  223. data/rdoc/RubyXL/DocumentPropertiesFile.html +2 -2
  224. data/rdoc/RubyXL/DrawingFile.html +1 -1
  225. data/rdoc/RubyXL/DynamicFilter.html +2 -2
  226. data/rdoc/RubyXL/EmbeddedControl.html +2 -2
  227. data/rdoc/RubyXL/EmbeddedControls.html +2 -2
  228. data/rdoc/RubyXL/Extension.html +2 -2
  229. data/rdoc/RubyXL/ExtensionStorageArea.html +2 -2
  230. data/rdoc/RubyXL/Extents.html +2 -2
  231. data/rdoc/RubyXL/ExternalBook.html +1 -1
  232. data/rdoc/RubyXL/ExternalLinksFile.html +1 -1
  233. data/rdoc/RubyXL/ExternalReference.html +2 -2
  234. data/rdoc/RubyXL/ExternalReferences.html +2 -2
  235. data/rdoc/RubyXL/ExtraColorSchemeList.html +2 -2
  236. data/rdoc/RubyXL/FieldItem.html +1 -1
  237. data/rdoc/RubyXL/FileRecoveryProperties.html +2 -2
  238. data/rdoc/RubyXL/FileSharing.html +2 -2
  239. data/rdoc/RubyXL/FileVersion.html +2 -2
  240. data/rdoc/RubyXL/Fill.html +2 -2
  241. data/rdoc/RubyXL/Fills.html +2 -2
  242. data/rdoc/RubyXL/FilterContainer.html +2 -2
  243. data/rdoc/RubyXL/FloatNode.html +1 -1
  244. data/rdoc/RubyXL/FloatValue.html +1 -1
  245. data/rdoc/RubyXL/Font.html +15 -502
  246. data/rdoc/RubyXL/FontConvenienceMethods.html +603 -0
  247. data/rdoc/RubyXL/FontScheme.html +2 -2
  248. data/rdoc/RubyXL/Fonts.html +3 -3
  249. data/rdoc/RubyXL/Formula.html +2 -2
  250. data/rdoc/RubyXL/FunctionGroup.html +2 -2
  251. data/rdoc/RubyXL/FunctionGroups.html +2 -2
  252. data/rdoc/RubyXL/GenericStorageObject.html +1 -1
  253. data/rdoc/RubyXL/GradientFill.html +2 -2
  254. data/rdoc/RubyXL/HeaderFooterSettings.html +2 -2
  255. data/rdoc/RubyXL/Hyperlink.html +2 -2
  256. data/rdoc/RubyXL/HyperlinkRelFile.html +1 -1
  257. data/rdoc/RubyXL/Hyperlinks.html +2 -2
  258. data/rdoc/RubyXL/IconFilter.html +2 -2
  259. data/rdoc/RubyXL/IconSet.html +2 -2
  260. data/rdoc/RubyXL/IgnoredError.html +2 -2
  261. data/rdoc/RubyXL/IgnoredErrors.html +2 -2
  262. data/rdoc/RubyXL/IndexedColors.html +2 -2
  263. data/rdoc/RubyXL/InputCells.html +2 -2
  264. data/rdoc/RubyXL/IntegerNode.html +1 -1
  265. data/rdoc/RubyXL/IntegerValue.html +1 -1
  266. data/rdoc/RubyXL/LegacyCell.html +1 -1
  267. data/rdoc/RubyXL/LegacyWorksheet.html +1 -1
  268. data/rdoc/RubyXL/MRUColors.html +2 -2
  269. data/rdoc/RubyXL/MacrosFile.html +1 -1
  270. data/rdoc/RubyXL/MergedCell.html +2 -2
  271. data/rdoc/RubyXL/MergedCells.html +2 -2
  272. data/rdoc/RubyXL/NumFmt.html +2 -2
  273. data/rdoc/RubyXL/NumberFormat.html +2 -2
  274. data/rdoc/RubyXL/NumberFormats.html +2 -2
  275. data/rdoc/RubyXL/OLEObject.html +2 -2
  276. data/rdoc/RubyXL/OLEObjectFile.html +1 -1
  277. data/rdoc/RubyXL/OLEObjects.html +2 -2
  278. data/rdoc/RubyXL/OLESize.html +2 -2
  279. data/rdoc/RubyXL/OOXMLContainerObject.html +1 -1
  280. data/rdoc/RubyXL/OOXMLObject.html +1 -1
  281. data/rdoc/RubyXL/OOXMLObjectClassMethods.html +1 -1
  282. data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +1 -1
  283. data/rdoc/RubyXL/OOXMLRelationshipsFile.html +1 -1
  284. data/rdoc/RubyXL/OOXMLTopLevelObject.html +1 -1
  285. data/rdoc/RubyXL/Offset.html +2 -2
  286. data/rdoc/RubyXL/OutlineProperties.html +2 -2
  287. data/rdoc/RubyXL/PageMargins.html +2 -2
  288. data/rdoc/RubyXL/PageSetup.html +2 -2
  289. data/rdoc/RubyXL/PageSetupProperties.html +2 -2
  290. data/rdoc/RubyXL/Pane.html +2 -2
  291. data/rdoc/RubyXL/Parser.html +1 -1
  292. data/rdoc/RubyXL/PatternFill.html +2 -2
  293. data/rdoc/RubyXL/PhoneticProperties.html +2 -2
  294. data/rdoc/RubyXL/PhoneticRun.html +2 -2
  295. data/rdoc/RubyXL/PivotArea.html +2 -2
  296. data/rdoc/RubyXL/PivotCache.html +2 -2
  297. data/rdoc/RubyXL/PivotCacheDefinitionFile.html +1 -1
  298. data/rdoc/RubyXL/PivotCacheRecordsFile.html +1 -1
  299. data/rdoc/RubyXL/PivotCaches.html +2 -2
  300. data/rdoc/RubyXL/PivotReference.html +1 -1
  301. data/rdoc/RubyXL/PivotReferences.html +2 -2
  302. data/rdoc/RubyXL/PivotTableFile.html +1 -1
  303. data/rdoc/RubyXL/PivotTableSelection.html +2 -2
  304. data/rdoc/RubyXL/PresetGeometry.html +2 -2
  305. data/rdoc/RubyXL/PrintOptions.html +2 -2
  306. data/rdoc/RubyXL/PrinterSettingsFile.html +1 -1
  307. data/rdoc/RubyXL/ProtectedRange.html +2 -2
  308. data/rdoc/RubyXL/ProtectedRanges.html +2 -2
  309. data/rdoc/RubyXL/Protection.html +2 -2
  310. data/rdoc/RubyXL/RID.html +1 -1
  311. data/rdoc/RubyXL/RawOOXML.html +2 -2
  312. data/rdoc/RubyXL/Reference.html +1 -1
  313. data/rdoc/RubyXL/Relationship.html +1 -1
  314. data/rdoc/RubyXL/RelationshipSupport.html +1 -1
  315. data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +1 -1
  316. data/rdoc/RubyXL/RichText.html +2 -2
  317. data/rdoc/RubyXL/RichTextRun.html +2 -2
  318. data/rdoc/RubyXL/Row.html +2 -2
  319. data/rdoc/RubyXL/RowExt.html +1 -1
  320. data/rdoc/RubyXL/RunProperties.html +2 -2
  321. data/rdoc/RubyXL/Scenario.html +2 -2
  322. data/rdoc/RubyXL/Scenarios.html +2 -2
  323. data/rdoc/RubyXL/Selection.html +2 -2
  324. data/rdoc/RubyXL/ShapeGuide.html +2 -2
  325. data/rdoc/RubyXL/ShapeTextRectangle.html +2 -2
  326. data/rdoc/RubyXL/SharedStringsTable.html +2 -2
  327. data/rdoc/RubyXL/Sheet.html +2 -2
  328. data/rdoc/RubyXL/SheetCalculationProperties.html +2 -2
  329. data/rdoc/RubyXL/SheetData.html +2 -2
  330. data/rdoc/RubyXL/SheetDataExt.html +1 -1
  331. data/rdoc/RubyXL/SheetDataSet.html +1 -1
  332. data/rdoc/RubyXL/SheetName.html +1 -1
  333. data/rdoc/RubyXL/SheetNames.html +1 -1
  334. data/rdoc/RubyXL/Sheets.html +2 -2
  335. data/rdoc/RubyXL/SlicerCacheFile.html +1 -1
  336. data/rdoc/RubyXL/SlicerFile.html +1 -1
  337. data/rdoc/RubyXL/SmartTagProperties.html +2 -2
  338. data/rdoc/RubyXL/SmartTagType.html +2 -2
  339. data/rdoc/RubyXL/SmartTagTypes.html +2 -2
  340. data/rdoc/RubyXL/SmartTags.html +2 -2
  341. data/rdoc/RubyXL/SortCondition.html +2 -2
  342. data/rdoc/RubyXL/SortState.html +2 -2
  343. data/rdoc/RubyXL/Sqref.html +1 -1
  344. data/rdoc/RubyXL/Stop.html +1 -1
  345. data/rdoc/RubyXL/StringNode.html +1 -1
  346. data/rdoc/RubyXL/StringNodeW3C.html +1 -1
  347. data/rdoc/RubyXL/StringValue.html +1 -1
  348. data/rdoc/RubyXL/Stylesheet.html +2 -2
  349. data/rdoc/RubyXL/TableFile.html +1 -1
  350. data/rdoc/RubyXL/TableParts.html +1 -1
  351. data/rdoc/RubyXL/TableStyle.html +2 -2
  352. data/rdoc/RubyXL/TableStyles.html +2 -2
  353. data/rdoc/RubyXL/Text.html +2 -2
  354. data/rdoc/RubyXL/Theme.html +2 -2
  355. data/rdoc/RubyXL/ThemeElements.html +2 -2
  356. data/rdoc/RubyXL/ThumbnailFile.html +1 -1
  357. data/rdoc/RubyXL/Top10.html +2 -2
  358. data/rdoc/RubyXL/VMLDrawingFile.html +1 -1
  359. data/rdoc/RubyXL/Variant.html +2 -2
  360. data/rdoc/RubyXL/Vector.html +2 -2
  361. data/rdoc/RubyXL/VectorValue.html +1 -1
  362. data/rdoc/RubyXL/VisualProperties.html +2 -2
  363. data/rdoc/RubyXL/WebPublishObject.html +2 -2
  364. data/rdoc/RubyXL/WebPublishObjects.html +2 -2
  365. data/rdoc/RubyXL/WebPublishingItem.html +2 -2
  366. data/rdoc/RubyXL/WebPublishingItems.html +2 -2
  367. data/rdoc/RubyXL/WebPublishingProperties.html +2 -2
  368. data/rdoc/RubyXL/Workbook.html +2 -2
  369. data/rdoc/RubyXL/WorkbookConvenienceMethods.html +1 -1
  370. data/rdoc/RubyXL/WorkbookProperties.html +2 -2
  371. data/rdoc/RubyXL/WorkbookProtection.html +2 -2
  372. data/rdoc/RubyXL/WorkbookRoot.html +1 -1
  373. data/rdoc/RubyXL/WorkbookView.html +2 -2
  374. data/rdoc/RubyXL/WorkbookViews.html +2 -2
  375. data/rdoc/RubyXL/Worksheet.html +2 -2
  376. data/rdoc/RubyXL/WorksheetConvenienceMethods.html +1 -1
  377. data/rdoc/RubyXL/WorksheetDimensions.html +2 -2
  378. data/rdoc/RubyXL/WorksheetFormatProperties.html +1 -1
  379. data/rdoc/RubyXL/WorksheetProperties.html +2 -2
  380. data/rdoc/RubyXL/WorksheetProtection.html +2 -2
  381. data/rdoc/RubyXL/WorksheetView.html +2 -2
  382. data/rdoc/RubyXL/WorksheetViews.html +2 -2
  383. data/rdoc/RubyXL/XF.html +2 -2
  384. data/rdoc/created.rid +38 -38
  385. data/rdoc/index.html +4 -2
  386. data/rdoc/js/navigation.js.gz +0 -0
  387. data/rdoc/js/search_index.js +1 -1
  388. data/rdoc/js/search_index.js.gz +0 -0
  389. data/rdoc/js/searcher.js.gz +0 -0
  390. data/rdoc/table_of_contents.html +35 -32
  391. data/rubyXL.gemspec +3 -2
  392. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a782e6dd4073926242945a782b63928217f0fa1e
4
- data.tar.gz: 1cb6437b82d48037171ddb12a820ce21e3aaf585
3
+ metadata.gz: ee8fa540c61ad0cc0f3d680e6c60fd0b11893d25
4
+ data.tar.gz: 7c8477f3b10319ce5b20fadf1acb0cb17a21dd1e
5
5
  SHA512:
6
- metadata.gz: 49a5e928f0e12dab0d72c8349684902a6b7a33339221570664af6d9a73440ac33e62c48a6aee0fc267a73f1de2b05275bd94e5c9ef54ea29f7dc9bac74cf3049
7
- data.tar.gz: b3bd7aef1344a226e8b40e864a1ef437c1f5b76007847f8bc30e118014f2070983360d68a92eba21d346927d32b83a6da74064ebc012804e268875e57e56d37f
6
+ metadata.gz: 8ff2856c3a2ab5e3631372bd61395d38aa237f457093cc591fa613519b3eb543fc5a81b093ed2c089bf0bd308385e4ae117665fa3ea566abd079a9a1c8f0a421
7
+ data.tar.gz: 53cb9b4f2a51f90adac6f48451a37848c8f0f843da6ccbb045c348e0824559c92ffbe9c33c891f82a047966422397878dd062cebaa3a6f97028da49a57451f8f
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.3.25
1
+ 3.3.26
@@ -1046,4 +1046,64 @@ module RubyXL
1046
1046
 
1047
1047
  end
1048
1048
 
1049
+ module FontConvenienceMethods
1050
+ # Funny enough, but presence of <i> without value (equivalent to `val == nul`) means "italic = true"!
1051
+ # Same is true for bold, strikethrough, etc
1052
+ def is_italic
1053
+ i && (i.val != false)
1054
+ end
1055
+
1056
+ def is_bold
1057
+ b && (b.val != false)
1058
+ end
1059
+
1060
+ def is_underlined
1061
+ u && (u.val != false)
1062
+ end
1063
+
1064
+ def is_strikethrough
1065
+ strike && (strike.val != false)
1066
+ end
1067
+
1068
+ def get_name
1069
+ name && name.val
1070
+ end
1071
+
1072
+ def get_size
1073
+ sz && sz.val
1074
+ end
1075
+
1076
+ def get_rgb_color
1077
+ color && color.rgb
1078
+ end
1079
+
1080
+ def set_italic(val)
1081
+ self.i = RubyXL::BooleanValue.new(:val => val)
1082
+ end
1083
+
1084
+ def set_bold(val)
1085
+ self.b = RubyXL::BooleanValue.new(:val => val)
1086
+ end
1087
+
1088
+ def set_underline(val)
1089
+ self.u = RubyXL::BooleanValue.new(:val => val)
1090
+ end
1091
+
1092
+ def set_strikethrough(val)
1093
+ self.strike = RubyXL::BooleanValue.new(:val => val)
1094
+ end
1095
+
1096
+ def set_name(val)
1097
+ self.name = RubyXL::StringValue.new(:val => val)
1098
+ end
1099
+
1100
+ def set_size(val)
1101
+ self.sz = RubyXL::FloatValue.new(:val => val)
1102
+ end
1103
+
1104
+ def set_rgb_color(font_color)
1105
+ self.color = RubyXL::Color.new(:rgb => font_color.to_s)
1106
+ end
1107
+ end
1108
+
1049
1109
  end
@@ -16,7 +16,7 @@ module RubyXL
16
16
  end
17
17
  end
18
18
 
19
- # http://www.schemacentral.com/sc/ooxml/e-ssml_border-2.html
19
+ # http://www.datypic.com/sc/ooxml/e-ssml_border-2.html
20
20
  class Border < OOXMLObject
21
21
  define_attribute(:diagonalUp, :bool)
22
22
  define_attribute(:diagonalDown, :bool)
@@ -60,7 +60,7 @@ module RubyXL
60
60
  end
61
61
  end
62
62
 
63
- # http://www.schemacentral.com/sc/ooxml/e-ssml_borders-1.html
63
+ # http://www.datypic.com/sc/ooxml/e-ssml_borders-1.html
64
64
  class Borders < OOXMLContainerObject
65
65
  define_child_node(RubyXL::Border, :collection => :with_count)
66
66
  define_element_name 'borders'
@@ -2,7 +2,7 @@ require 'rubyXL/objects/ooxml_object'
2
2
  require 'rubyXL/objects/extensions'
3
3
 
4
4
  module RubyXL
5
- # http://www.schemacentral.com/sc/ooxml/e-ssml_c-1.html
5
+ # http://www.datypic.com/sc/ooxml/e-ssml_c-1.html
6
6
  class CalculationChainCell < OOXMLObject
7
7
  define_attribute(:r, :ref, :accessor => :ref)
8
8
  define_attribute(:i, :int, :accessor => :sheet_id, :default => 0)
@@ -13,7 +13,7 @@ module RubyXL
13
13
  define_element_name 'c'
14
14
  end
15
15
 
16
- # http://www.schemacentral.com/sc/ooxml/e-ssml_calcChain.html
16
+ # http://www.datypic.com/sc/ooxml/e-ssml_calcChain.html
17
17
  class CalculationChain < OOXMLTopLevelObject
18
18
  CONTENT_TYPE = 'application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml'
19
19
  REL_TYPE = 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain'
@@ -3,7 +3,7 @@ require 'rubyXL/objects/simple_types'
3
3
 
4
4
  module RubyXL
5
5
 
6
- # http://www.schemacentral.com/sc/ooxml/e-ssml_cellStyle-1.html
6
+ # http://www.datypic.com/sc/ooxml/e-ssml_cellStyle-1.html
7
7
  class CellStyle < OOXMLObject
8
8
  define_attribute(:name, :string)
9
9
  define_attribute(:xfId, :int, :required => true)
@@ -14,7 +14,7 @@ module RubyXL
14
14
  define_element_name 'cellStyle'
15
15
  end
16
16
 
17
- # http://www.schemacentral.com/sc/ooxml/e-ssml_alignment-1.html
17
+ # http://www.datypic.com/sc/ooxml/e-ssml_alignment-1.html
18
18
  class Alignment < OOXMLObject
19
19
  define_attribute(:horizontal, RubyXL::ST_HorizontalAlignment)
20
20
  define_attribute(:vertical, RubyXL::ST_VerticalAlignment)
@@ -28,14 +28,14 @@ module RubyXL
28
28
  define_element_name 'alignment'
29
29
  end
30
30
 
31
- # http://www.schemacentral.com/sc/ooxml/e-ssml_protection-1.html
31
+ # http://www.datypic.com/sc/ooxml/e-ssml_protection-1.html
32
32
  class Protection < OOXMLObject
33
33
  define_attribute(:locked, :bool)
34
34
  define_attribute(:hidden, :bool)
35
35
  define_element_name 'protection'
36
36
  end
37
37
 
38
- # http://www.schemacentral.com/sc/ooxml/e-ssml_xf-1.html
38
+ # http://www.datypic.com/sc/ooxml/e-ssml_xf-1.html
39
39
  class XF < OOXMLObject
40
40
  define_attribute(:numFmtId, :int)
41
41
  define_attribute(:fontId, :int)
@@ -55,7 +55,7 @@ module RubyXL
55
55
  define_element_name 'xf'
56
56
  end
57
57
 
58
- # http://www.schemacentral.com/sc/ooxml/e-ssml_numFmt-1.html
58
+ # http://www.datypic.com/sc/ooxml/e-ssml_numFmt-1.html
59
59
  class NumFmt < OOXMLObject
60
60
  define_attribute(:numFmtId, :int, :required => true)
61
61
  define_attribute(:formatCode, :string, :required => true)
@@ -6,7 +6,7 @@ require 'rubyXL/objects/sheet_common'
6
6
 
7
7
  module RubyXL
8
8
 
9
- # http://www.schemacentral.com/sc/ooxml/e-ssml_sheetProtection-4.html
9
+ # http://www.datypic.com/sc/ooxml/e-ssml_sheetProtection-4.html
10
10
  class ChartsheetProtection < OOXMLObject
11
11
  define_attribute(:password, :string)
12
12
  define_attribute(:content, :bool, :default => false)
@@ -14,7 +14,7 @@ module RubyXL
14
14
  define_element_name 'sheetProtection'
15
15
  end
16
16
 
17
- # http://www.schemacentral.com/sc/ooxml/e-ssml_sheetPr-4.html
17
+ # http://www.datypic.com/sc/ooxml/e-ssml_sheetPr-4.html
18
18
  class ChartsheetProperties < OOXMLObject
19
19
  define_attribute(:published, :bool, :default => true)
20
20
  define_attribute(:codeName, :string)
@@ -22,7 +22,7 @@ module RubyXL
22
22
  define_element_name 'sheetPr'
23
23
  end
24
24
 
25
- # http://www.schemacentral.com/sc/ooxml/e-ssml_pageSetup-5.html
25
+ # http://www.datypic.com/sc/ooxml/e-ssml_pageSetup-5.html
26
26
  class ChartsheetPageSetup < OOXMLObject
27
27
  define_attribute(:paperSize, :int, :default => 1)
28
28
  define_attribute(:firstPageNumber, :int, :default => 1)
@@ -38,7 +38,7 @@ module RubyXL
38
38
  define_element_name 'pageSetup'
39
39
  end
40
40
 
41
- # http://www.schemacentral.com/sc/ooxml/e-ssml_sheetView-2.html
41
+ # http://www.datypic.com/sc/ooxml/e-ssml_sheetView-2.html
42
42
  class ChartsheetView < OOXMLObject
43
43
  define_attribute(:tabSelected, :bool, :default => false)
44
44
  define_attribute(:zoomScale, :int, :default => 100)
@@ -48,14 +48,14 @@ module RubyXL
48
48
  define_element_name 'sheetView'
49
49
  end
50
50
 
51
- # http://www.schemacentral.com/sc/ooxml/e-ssml_sheetViews-4.html
51
+ # http://www.datypic.com/sc/ooxml/e-ssml_sheetViews-4.html
52
52
  class ChartsheetViews < OOXMLObject
53
53
  define_child_node(RubyXL::ChartsheetView, :collection => true)
54
54
  define_child_node(RubyXL::ExtensionStorageArea)
55
55
  define_element_name 'sheetViews'
56
56
  end
57
57
 
58
- # http://www.schemacentral.com/sc/ooxml/e-ssml_chartsheet.html
58
+ # http://www.datypic.com/sc/ooxml/e-ssml_chartsheet.html
59
59
  class Chartsheet < OOXMLTopLevelObject
60
60
  CONTENT_TYPE = 'application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml'
61
61
  REL_TYPE = 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet'
@@ -2,7 +2,7 @@ require 'rubyXL/objects/ooxml_object'
2
2
 
3
3
  module RubyXL
4
4
 
5
- # http://www.schemacentral.com/sc/ooxml/e-ssml_color-4.html
5
+ # http://www.datypic.com/sc/ooxml/e-ssml_color-4.html
6
6
  class Color < OOXMLObject
7
7
  COLOR_REGEXP = /\A([a-f]|[A-F]|[0-9]){6}\Z/
8
8
 
@@ -2,18 +2,18 @@ require 'rubyXL/objects/ooxml_object'
2
2
 
3
3
  module RubyXL
4
4
 
5
- # http://www.schemacentral.com/sc/ooxml/e-ssml_col-1.html
5
+ # http://www.datypic.com/sc/ooxml/e-ssml_col-1.html
6
6
  class ColumnRange < OOXMLObject
7
- define_attribute(:min, :uint, :required => true)
8
- define_attribute(:max, :uint, :required => true)
7
+ define_attribute(:min, :uint, :required => true)
8
+ define_attribute(:max, :uint, :required => true)
9
9
  define_attribute(:width, :double)
10
- define_attribute(:style, :uint, :default => 0, :accessor => :style_index)
11
- define_attribute(:hidden, :bool, :default => false)
12
- define_attribute(:bestFit, :bool, :default => false)
13
- define_attribute(:customWidth, :bool, :default => false)
14
- define_attribute(:phonetic, :bool, :default => false)
15
- define_attribute(:outlineLevel, :int, :default => 0)
16
- define_attribute(:collapsed, :bool, :default => false)
10
+ define_attribute(:style, :uint, :default => 0, :accessor => :style_index)
11
+ define_attribute(:hidden, :bool, :default => false)
12
+ define_attribute(:bestFit, :bool, :default => false)
13
+ define_attribute(:customWidth, :bool, :default => false)
14
+ define_attribute(:phonetic, :bool, :default => false)
15
+ define_attribute(:outlineLevel, :int, :default => 0)
16
+ define_attribute(:collapsed, :bool, :default => false)
17
17
  define_element_name 'col'
18
18
 
19
19
  def delete_column(col_index)
@@ -3,7 +3,7 @@ require 'rubyXL/objects/extensions'
3
3
 
4
4
  module RubyXL
5
5
 
6
- # http://www.schemacentral.com/sc/ooxml/e-ssml_comment-1.html
6
+ # http://www.datypic.com/sc/ooxml/e-ssml_comment-1.html
7
7
  class Comment < OOXMLObject
8
8
  define_child_node(RubyXL::RichText, :node_name => 'text')
9
9
  define_child_node(RubyXL::AlternateContent)
@@ -13,19 +13,19 @@ module RubyXL
13
13
  define_element_name 'comment'
14
14
  end
15
15
 
16
- # http://www.schemacentral.com/sc/ooxml/e-ssml_authors-1.html
16
+ # http://www.datypic.com/sc/ooxml/e-ssml_authors-1.html
17
17
  class CommentList < OOXMLContainerObject
18
18
  define_child_node(RubyXL::Comment, :collection => [0..-1])
19
19
  define_element_name 'commentList'
20
20
  end
21
21
 
22
- # http://www.schemacentral.com/sc/ooxml/e-ssml_authors-1.html
22
+ # http://www.datypic.com/sc/ooxml/e-ssml_authors-1.html
23
23
  class Authors < OOXMLContainerObject
24
24
  define_child_node(RubyXL::StringNode, :node_name => :author, :collection => [0..-1])
25
25
  define_element_name 'authors'
26
26
  end
27
27
 
28
- # http://www.schemacentral.com/sc/ooxml/e-ssml_comments.html
28
+ # http://www.datypic.com/sc/ooxml/e-ssml_comments.html
29
29
  class CommentsFile < OOXMLTopLevelObject
30
30
  CONTENT_TYPE = 'application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml'
31
31
  REL_TYPE = 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments'
@@ -49,7 +49,7 @@ module RubyXL
49
49
 
50
50
  end
51
51
 
52
- # http://www.schemacentral.com/sc/ooxml/e-docPropsVTypes_variant.html
52
+ # http://www.datypic.com/sc/ooxml/e-docPropsVTypes_variant.html
53
53
  class Variant < OOXMLObject
54
54
  define_child_node(RubyXL::Variant, :node_name => 'vt:variant')
55
55
 
@@ -91,7 +91,7 @@ module RubyXL
91
91
  define_element_name 'vt:vector'
92
92
  end
93
93
 
94
- # http://www.schemacentral.com/sc/ooxml/e-docPropsVTypes_vector.html
94
+ # http://www.datypic.com/sc/ooxml/e-docPropsVTypes_vector.html
95
95
  class Vector < OOXMLObject
96
96
  define_attribute(:baseType, RubyXL::ST_VectorBaseType, :required => true)
97
97
  define_attribute(:size, :int, :required => true)
@@ -38,7 +38,7 @@ module RubyXL
38
38
  ext = obj.xlsx_path.extname[1..-1]
39
39
  next if ext.nil?
40
40
  content_types_by_ext[ext] ||= []
41
- content_types_by_ext[ext] << klass::CONTENT_TYPE
41
+ content_types_by_ext[ext] << klass::CONTENT_TYPE
42
42
  }
43
43
  }
44
44
 
@@ -46,7 +46,7 @@ module RubyXL
46
46
 
47
47
  # Determine which content types are used most often, and add them to the list of defaults
48
48
  content_types_by_ext.each_pair { |ext, content_types_arr|
49
- next if ext.nil? || defaults.any? { |d| d.extension == ext }
49
+ next if ext.nil? || defaults.any? { |d| d.extension == ext }
50
50
  most_frequent_ct = content_types_arr.group_by { |ct| ct }.values.max_by(&:size).first
51
51
  defaults << RubyXL::ContentTypeDefault.new(:extension => ext, :content_type => most_frequent_ct )
52
52
  }
@@ -4,7 +4,7 @@ require 'rubyXL/objects/formula'
4
4
 
5
5
  module RubyXL
6
6
 
7
- # http://www.schemacentral.com/sc/ooxml/e-ssml_dataValidation-1.html
7
+ # http://www.datypic.com/sc/ooxml/e-ssml_dataValidation-1.html
8
8
  class DataValidation < OOXMLObject
9
9
  define_attribute(:type, RubyXL::ST_DataValidationType, :default => 'none')
10
10
  define_attribute(:errorStyle, RubyXL::ST_DataValidationErrorStyle, :default => 'stop')
@@ -25,7 +25,7 @@ module RubyXL
25
25
  define_element_name 'dataValidation'
26
26
  end
27
27
 
28
- # http://www.schemacentral.com/sc/ooxml/e-ssml_dataValidations-1.html
28
+ # http://www.datypic.com/sc/ooxml/e-ssml_dataValidations-1.html
29
29
  class DataValidations < OOXMLContainerObject
30
30
  define_attribute(:disablePrompts, :bool, :default => false)
31
31
  define_attribute(:xWindow, :int)
@@ -4,7 +4,7 @@ require 'time'
4
4
 
5
5
  module RubyXL
6
6
 
7
- # http://www.schemacentral.com/sc/ooxml/e-extended-properties_Properties.html
7
+ # http://www.datypic.com/sc/ooxml/e-extended-properties_Properties.html
8
8
  class DocumentPropertiesFile < OOXMLTopLevelObject
9
9
  CONTENT_TYPE = 'application/vnd.openxmlformats-officedocument.extended-properties+xml'
10
10
  REL_TYPE = 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties'
@@ -2,7 +2,7 @@ require 'rubyXL/objects/ooxml_object'
2
2
 
3
3
  module RubyXL
4
4
 
5
- # http://www.schemacentral.com/sc/ooxml/e-ssml_ext-1.html
5
+ # http://www.datypic.com/sc/ooxml/e-ssml_ext-1.html
6
6
  class RawOOXML < OOXMLObject
7
7
  attr_accessor :raw_xml
8
8
 
@@ -17,13 +17,13 @@ module RubyXL
17
17
  end
18
18
  end
19
19
 
20
- # http://www.schemacentral.com/sc/ooxml/e-ssml_ext-1.html
20
+ # http://www.datypic.com/sc/ooxml/e-ssml_ext-1.html
21
21
  class Extension < RawOOXML
22
22
  define_attribute(:uri, :string)
23
23
  define_element_name 'ext'
24
24
  end
25
25
 
26
- # http://www.schemacentral.com/sc/ooxml/e-ssml_extLst-1.html
26
+ # http://www.datypic.com/sc/ooxml/e-ssml_extLst-1.html
27
27
  class ExtensionStorageArea < OOXMLObject
28
28
  define_child_node(RubyXL::Extension, :collection => true)
29
29
  define_element_name 'extLst'
@@ -10,7 +10,7 @@ module RubyXL
10
10
  define_element_name 'stop'
11
11
  end
12
12
 
13
- # http://www.schemacentral.com/sc/ooxml/e-ssml_patternFill-1.html
13
+ # http://www.datypic.com/sc/ooxml/e-ssml_patternFill-1.html
14
14
  class PatternFill < OOXMLObject
15
15
  define_attribute(:patternType, RubyXL::ST_PatternType)
16
16
  define_child_node(RubyXL::Color, :node_name => :fgColor )
@@ -18,7 +18,7 @@ module RubyXL
18
18
  define_element_name 'patternFill'
19
19
  end
20
20
 
21
- # http://www.schemacentral.com/sc/ooxml/e-ssml_gradientFill-1.html
21
+ # http://www.datypic.com/sc/ooxml/e-ssml_gradientFill-1.html
22
22
  class GradientFill < OOXMLObject
23
23
  define_attribute(:type, RubyXL::ST_GradientType, :default => 'linear')
24
24
  define_attribute(:degree, :double, :default => 0)
@@ -30,7 +30,7 @@ module RubyXL
30
30
  define_element_name 'gradientFill'
31
31
  end
32
32
 
33
- # http://www.schemacentral.com/sc/ooxml/e-ssml_fill-1.html
33
+ # http://www.datypic.com/sc/ooxml/e-ssml_fill-1.html
34
34
  class Fill < OOXMLObject
35
35
  define_child_node(RubyXL::PatternFill)
36
36
  define_child_node(RubyXL::GradientFill)
@@ -42,7 +42,7 @@ module RubyXL
42
42
 
43
43
  end
44
44
 
45
- # http://www.schemacentral.com/sc/ooxml/e-ssml_fills-1.html
45
+ # http://www.datypic.com/sc/ooxml/e-ssml_fills-1.html
46
46
  class Fills < OOXMLContainerObject
47
47
  define_child_node(RubyXL::Fill, :collection => :with_count)
48
48
  define_element_name 'fills'
@@ -4,7 +4,7 @@ require 'rubyXL/objects/extensions'
4
4
 
5
5
  module RubyXL
6
6
 
7
- # http://www.schemacentral.com/sc/ooxml/e-ssml_dateGroupItem-1.html
7
+ # http://www.datypic.com/sc/ooxml/e-ssml_dateGroupItem-1.html
8
8
  class DateGroupItem < OOXMLObject
9
9
  define_attribute(:year, :int, :required => true)
10
10
  define_attribute(:month, :int)
@@ -16,7 +16,7 @@ module RubyXL
16
16
  define_element_name 'dateGroupItem'
17
17
  end
18
18
 
19
- # http://www.schemacentral.com/sc/ooxml/e-ssml_filters-1.html
19
+ # http://www.datypic.com/sc/ooxml/e-ssml_filters-1.html
20
20
  class FilterContainer < OOXMLObject
21
21
  define_attribute(:blank, :bool, :default => false)
22
22
  define_attribute(:calendarType, RubyXL::ST_CalendarType, :default => 'none')
@@ -25,7 +25,7 @@ module RubyXL
25
25
  define_element_name 'filters'
26
26
  end
27
27
 
28
- # http://www.schemacentral.com/sc/ooxml/e-ssml_top10-1.html
28
+ # http://www.datypic.com/sc/ooxml/e-ssml_top10-1.html
29
29
  class Top10 < OOXMLObject
30
30
  define_attribute(:top, :bool, :default => true)
31
31
  define_attribute(:percent, :bool, :default => false)
@@ -34,21 +34,21 @@ module RubyXL
34
34
  define_element_name 'top10'
35
35
  end
36
36
 
37
- # http://www.schemacentral.com/sc/ooxml/e-ssml_customFilter-1.html
37
+ # http://www.datypic.com/sc/ooxml/e-ssml_customFilter-1.html
38
38
  class CustomFilter < OOXMLObject
39
39
  define_attribute(:operator, RubyXL::ST_FilterOperator, :default => 'equal')
40
40
  define_attribute(:val, :string)
41
41
  define_element_name 'customFilter'
42
42
  end
43
43
 
44
- # http://www.schemacentral.com/sc/ooxml/e-ssml_customFilters-1.html
44
+ # http://www.datypic.com/sc/ooxml/e-ssml_customFilters-1.html
45
45
  class CustomFilters < OOXMLContainerObject
46
46
  define_attribute(:and, :bool, :default => false)
47
47
  define_child_node(RubyXL::CustomFilter, :collection => true)
48
48
  define_element_name 'customFilters'
49
49
  end
50
50
 
51
- # http://www.schemacentral.com/sc/ooxml/e-ssml_dynamicFilter-1.html
51
+ # http://www.datypic.com/sc/ooxml/e-ssml_dynamicFilter-1.html
52
52
  class DynamicFilter < OOXMLObject
53
53
  define_attribute(:type, RubyXL::ST_DynamicFilterType, :required => true)
54
54
  define_attribute(:val, :double)
@@ -56,21 +56,21 @@ module RubyXL
56
56
  define_element_name 'dynamicFilter'
57
57
  end
58
58
 
59
- # http://www.schemacentral.com/sc/ooxml/e-ssml_colorFilter-1.html
59
+ # http://www.datypic.com/sc/ooxml/e-ssml_colorFilter-1.html
60
60
  class ColorFilter < OOXMLObject
61
61
  define_attribute(:dxfId, :string)
62
62
  define_attribute(:cellColor, :bool)
63
63
  define_element_name 'colorFilter'
64
64
  end
65
65
 
66
- # http://www.schemacentral.com/sc/ooxml/e-ssml_iconFilter-1.html
66
+ # http://www.datypic.com/sc/ooxml/e-ssml_iconFilter-1.html
67
67
  class IconFilter < OOXMLObject
68
68
  define_attribute(:iconSet, RubyXL::ST_IconSetType)
69
69
  define_attribute(:iconId, :int)
70
70
  define_element_name 'iconFilter'
71
71
  end
72
72
 
73
- # http://www.schemacentral.com/sc/ooxml/e-ssml_filterColumn-1.html
73
+ # http://www.datypic.com/sc/ooxml/e-ssml_filterColumn-1.html
74
74
  class AutoFilterColumn < OOXMLObject
75
75
  define_attribute(:colId, :int, :required => true)
76
76
  define_attribute(:hiddenButton, :bool, :default => false)
@@ -85,7 +85,7 @@ module RubyXL
85
85
  define_element_name 'filterColumn'
86
86
  end
87
87
 
88
- # http://www.schemacentral.com/sc/ooxml/e-ssml_sortCondition-1.html
88
+ # http://www.datypic.com/sc/ooxml/e-ssml_sortCondition-1.html
89
89
  class SortCondition < OOXMLObject
90
90
  define_attribute(:descending, :bool, :default => false)
91
91
  define_attribute(:sortBy, RubyXL::ST_SortBy, :default => 'value')
@@ -97,7 +97,7 @@ module RubyXL
97
97
  define_element_name 'sortCondition'
98
98
  end
99
99
 
100
- # http://www.schemacentral.com/sc/ooxml/e-ssml_sortState-2.html
100
+ # http://www.datypic.com/sc/ooxml/e-ssml_sortState-2.html
101
101
  class SortState < OOXMLObject
102
102
  define_attribute(:columnSort, :bool, :default => false)
103
103
  define_attribute(:caseSensitive, :bool, :default => false)
@@ -108,7 +108,7 @@ module RubyXL
108
108
  define_element_name 'sortState'
109
109
  end
110
110
 
111
- # http://www.schemacentral.com/sc/ooxml/e-ssml_autoFilter-2.html
111
+ # http://www.datypic.com/sc/ooxml/e-ssml_autoFilter-2.html
112
112
  class AutoFilter < OOXMLObject
113
113
  define_attribute(:ref, :ref)
114
114
  define_child_node(RubyXL::AutoFilterColumn)