rubyXL 2.5.3 → 2.5.4

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 (329) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/VERSION +1 -1
  4. data/lib/rubyXL/objects/cell_style.rb +10 -4
  5. data/lib/rubyXL/objects/column_range.rb +1 -0
  6. data/lib/rubyXL/objects/font.rb +3 -0
  7. data/lib/rubyXL/workbook.rb +3 -2
  8. data/lib/rubyXL/worksheet.rb +20 -4
  9. data/rdoc/README_rdoc.html +1 -1
  10. data/rdoc/RubyXL.html +1 -1
  11. data/rdoc/RubyXL/AExtension.html +1 -1
  12. data/rdoc/RubyXL/AExtensionStorageArea.html +1 -1
  13. data/rdoc/RubyXL/AdjustHandleList.html +1 -1
  14. data/rdoc/RubyXL/Alignment.html +1 -1
  15. data/rdoc/RubyXL/AlternateContent.html +1 -1
  16. data/rdoc/RubyXL/AutoFilter.html +1 -1
  17. data/rdoc/RubyXL/AutoFilterColumn.html +1 -1
  18. data/rdoc/RubyXL/BodyProperties.html +1 -1
  19. data/rdoc/RubyXL/BooleanNode.html +1 -1
  20. data/rdoc/RubyXL/BooleanValue.html +1 -1
  21. data/rdoc/RubyXL/Border.html +1 -1
  22. data/rdoc/RubyXL/BorderEdge.html +1 -1
  23. data/rdoc/RubyXL/Borders.html +1 -1
  24. data/rdoc/RubyXL/Break.html +1 -1
  25. data/rdoc/RubyXL/BreakList.html +1 -1
  26. data/rdoc/RubyXL/CT_AdjPoint2D.html +1 -1
  27. data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +1 -1
  28. data/rdoc/RubyXL/CT_AlphaModulateEffect.html +1 -1
  29. data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +1 -1
  30. data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +1 -1
  31. data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +1 -1
  32. data/rdoc/RubyXL/CT_Backdrop.html +1 -1
  33. data/rdoc/RubyXL/CT_Bevel.html +1 -1
  34. data/rdoc/RubyXL/CT_BiLevelEffect.html +1 -1
  35. data/rdoc/RubyXL/CT_BlendEffect.html +1 -1
  36. data/rdoc/RubyXL/CT_Blip.html +1 -1
  37. data/rdoc/RubyXL/CT_BlipFillProperties.html +1 -1
  38. data/rdoc/RubyXL/CT_BlurEffect.html +1 -1
  39. data/rdoc/RubyXL/CT_Camera.html +1 -1
  40. data/rdoc/RubyXL/CT_Color.html +1 -1
  41. data/rdoc/RubyXL/CT_ColorChangeEffect.html +1 -1
  42. data/rdoc/RubyXL/CT_ColorMapping.html +1 -1
  43. data/rdoc/RubyXL/CT_ColorScheme.html +1 -1
  44. data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +1 -1
  45. data/rdoc/RubyXL/CT_ConnectionSite.html +1 -1
  46. data/rdoc/RubyXL/CT_ConnectionSiteList.html +1 -1
  47. data/rdoc/RubyXL/CT_DashStop.html +1 -1
  48. data/rdoc/RubyXL/CT_DashStopList.html +1 -1
  49. data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +1 -1
  50. data/rdoc/RubyXL/CT_DuotoneEffect.html +1 -1
  51. data/rdoc/RubyXL/CT_EffectContainer.html +1 -1
  52. data/rdoc/RubyXL/CT_EffectList.html +1 -1
  53. data/rdoc/RubyXL/CT_EffectReference.html +1 -1
  54. data/rdoc/RubyXL/CT_EffectStyleItem.html +1 -1
  55. data/rdoc/RubyXL/CT_EffectStyleList.html +1 -1
  56. data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +1 -1
  57. data/rdoc/RubyXL/CT_FillEffect.html +1 -1
  58. data/rdoc/RubyXL/CT_FillOverlayEffect.html +1 -1
  59. data/rdoc/RubyXL/CT_FillStyleList.html +1 -1
  60. data/rdoc/RubyXL/CT_FlatText.html +1 -1
  61. data/rdoc/RubyXL/CT_FontCollection.html +1 -1
  62. data/rdoc/RubyXL/CT_FontReference.html +1 -1
  63. data/rdoc/RubyXL/CT_GeomGuideList.html +1 -1
  64. data/rdoc/RubyXL/CT_GlowEffect.html +1 -1
  65. data/rdoc/RubyXL/CT_GradientFillProperties.html +1 -1
  66. data/rdoc/RubyXL/CT_GradientStop.html +1 -1
  67. data/rdoc/RubyXL/CT_GradientStopList.html +1 -1
  68. data/rdoc/RubyXL/CT_HSLEffect.html +1 -1
  69. data/rdoc/RubyXL/CT_HslColor.html +1 -1
  70. data/rdoc/RubyXL/CT_Hyperlink.html +1 -1
  71. data/rdoc/RubyXL/CT_InnerShadowEffect.html +1 -1
  72. data/rdoc/RubyXL/CT_LightRig.html +1 -1
  73. data/rdoc/RubyXL/CT_LineEndProperties.html +1 -1
  74. data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +1 -1
  75. data/rdoc/RubyXL/CT_LineProperties.html +1 -1
  76. data/rdoc/RubyXL/CT_LineStyleList.html +1 -1
  77. data/rdoc/RubyXL/CT_LinearShadeProperties.html +1 -1
  78. data/rdoc/RubyXL/CT_LuminanceEffect.html +1 -1
  79. data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +1 -1
  80. data/rdoc/RubyXL/CT_OuterShadowEffect.html +1 -1
  81. data/rdoc/RubyXL/CT_Path2D.html +1 -1
  82. data/rdoc/RubyXL/CT_Path2DArcTo.html +1 -1
  83. data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +1 -1
  84. data/rdoc/RubyXL/CT_Path2DList.html +1 -1
  85. data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +1 -1
  86. data/rdoc/RubyXL/CT_Path2DTo.html +1 -1
  87. data/rdoc/RubyXL/CT_PathShadeProperties.html +1 -1
  88. data/rdoc/RubyXL/CT_PatternFillProperties.html +1 -1
  89. data/rdoc/RubyXL/CT_Point3D.html +1 -1
  90. data/rdoc/RubyXL/CT_PolarAdjustHandle.html +1 -1
  91. data/rdoc/RubyXL/CT_PresetColor.html +1 -1
  92. data/rdoc/RubyXL/CT_PresetLineDashProperties.html +1 -1
  93. data/rdoc/RubyXL/CT_PresetShadowEffect.html +1 -1
  94. data/rdoc/RubyXL/CT_PresetTextShape.html +1 -1
  95. data/rdoc/RubyXL/CT_ReflectionEffect.html +1 -1
  96. data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +1 -1
  97. data/rdoc/RubyXL/CT_RelativeRect.html +1 -1
  98. data/rdoc/RubyXL/CT_SRgbColor.html +1 -1
  99. data/rdoc/RubyXL/CT_ScRgbColor.html +1 -1
  100. data/rdoc/RubyXL/CT_Scene3D.html +1 -1
  101. data/rdoc/RubyXL/CT_SchemeColor.html +1 -1
  102. data/rdoc/RubyXL/CT_Shape3D.html +1 -1
  103. data/rdoc/RubyXL/CT_ShapeStyle.html +1 -1
  104. data/rdoc/RubyXL/CT_SoftEdgesEffect.html +1 -1
  105. data/rdoc/RubyXL/CT_SphereCoords.html +1 -1
  106. data/rdoc/RubyXL/CT_StretchInfoProperties.html +1 -1
  107. data/rdoc/RubyXL/CT_StyleMatrix.html +1 -1
  108. data/rdoc/RubyXL/CT_StyleMatrixReference.html +1 -1
  109. data/rdoc/RubyXL/CT_SupplementalFont.html +1 -1
  110. data/rdoc/RubyXL/CT_SystemColor.html +1 -1
  111. data/rdoc/RubyXL/CT_TextAutonumberBullet.html +1 -1
  112. data/rdoc/RubyXL/CT_TextBlipBullet.html +1 -1
  113. data/rdoc/RubyXL/CT_TextCharBullet.html +1 -1
  114. data/rdoc/RubyXL/CT_TextCharacterProperties.html +1 -1
  115. data/rdoc/RubyXL/CT_TextFont.html +1 -1
  116. data/rdoc/RubyXL/CT_TextListStyle.html +1 -1
  117. data/rdoc/RubyXL/CT_TextNormalAutofit.html +1 -1
  118. data/rdoc/RubyXL/CT_TextParagraphProperties.html +1 -1
  119. data/rdoc/RubyXL/CT_TextSpacing.html +1 -1
  120. data/rdoc/RubyXL/CT_TextTabStop.html +1 -1
  121. data/rdoc/RubyXL/CT_TextTabStopList.html +1 -1
  122. data/rdoc/RubyXL/CT_TileInfoProperties.html +1 -1
  123. data/rdoc/RubyXL/CT_TintEffect.html +1 -1
  124. data/rdoc/RubyXL/CT_Transform2D.html +1 -1
  125. data/rdoc/RubyXL/CT_TransformEffect.html +1 -1
  126. data/rdoc/RubyXL/CT_Vector3D.html +1 -1
  127. data/rdoc/RubyXL/CT_XYAdjustHandle.html +1 -1
  128. data/rdoc/RubyXL/CalculationChain.html +1 -1
  129. data/rdoc/RubyXL/CalculationChainCell.html +1 -1
  130. data/rdoc/RubyXL/CalculationProperties.html +1 -1
  131. data/rdoc/RubyXL/Cell.html +1 -1
  132. data/rdoc/RubyXL/CellSmartTag.html +1 -1
  133. data/rdoc/RubyXL/CellSmartTagProperty.html +1 -1
  134. data/rdoc/RubyXL/CellSmartTags.html +1 -1
  135. data/rdoc/RubyXL/CellStyle.html +1 -1
  136. data/rdoc/RubyXL/CellStyleXFs.html +1 -1
  137. data/rdoc/RubyXL/CellStyles.html +1 -1
  138. data/rdoc/RubyXL/CellValue.html +1 -1
  139. data/rdoc/RubyXL/CellWatch.html +1 -1
  140. data/rdoc/RubyXL/CellWatches.html +1 -1
  141. data/rdoc/RubyXL/CellXFs.html +1 -1
  142. data/rdoc/RubyXL/Chartsheet.html +1 -1
  143. data/rdoc/RubyXL/ChartsheetPageSetup.html +1 -1
  144. data/rdoc/RubyXL/ChartsheetProperties.html +1 -1
  145. data/rdoc/RubyXL/ChartsheetProtection.html +1 -1
  146. data/rdoc/RubyXL/ChartsheetView.html +1 -1
  147. data/rdoc/RubyXL/ChartsheetViews.html +1 -1
  148. data/rdoc/RubyXL/Color.html +1 -1
  149. data/rdoc/RubyXL/ColorFilter.html +1 -1
  150. data/rdoc/RubyXL/ColorScale.html +1 -1
  151. data/rdoc/RubyXL/ColorSet.html +1 -1
  152. data/rdoc/RubyXL/Colors.html +1 -1
  153. data/rdoc/RubyXL/ColumnRange.html +15 -1
  154. data/rdoc/RubyXL/ColumnRanges.html +5 -5
  155. data/rdoc/RubyXL/ConditionalFormatValue.html +1 -1
  156. data/rdoc/RubyXL/ConditionalFormatting.html +1 -1
  157. data/rdoc/RubyXL/ConditionalFormattingRule.html +1 -1
  158. data/rdoc/RubyXL/ContentTypeDefault.html +1 -1
  159. data/rdoc/RubyXL/ContentTypeOverride.html +1 -1
  160. data/rdoc/RubyXL/ContentTypes.html +1 -1
  161. data/rdoc/RubyXL/CoreProperties.html +1 -1
  162. data/rdoc/RubyXL/CustomColor.html +1 -1
  163. data/rdoc/RubyXL/CustomColorList.html +1 -1
  164. data/rdoc/RubyXL/CustomFilter.html +1 -1
  165. data/rdoc/RubyXL/CustomFilters.html +1 -1
  166. data/rdoc/RubyXL/CustomGeometry.html +1 -1
  167. data/rdoc/RubyXL/CustomProperties.html +1 -1
  168. data/rdoc/RubyXL/CustomProperty.html +1 -1
  169. data/rdoc/RubyXL/CustomSheetView.html +1 -1
  170. data/rdoc/RubyXL/CustomSheetViews.html +1 -1
  171. data/rdoc/RubyXL/CustomWorkbookView.html +1 -1
  172. data/rdoc/RubyXL/CustomWorkbookViews.html +1 -1
  173. data/rdoc/RubyXL/DXF.html +1 -1
  174. data/rdoc/RubyXL/DXFs.html +1 -1
  175. data/rdoc/RubyXL/DataBar.html +1 -1
  176. data/rdoc/RubyXL/DataConsolidate.html +1 -1
  177. data/rdoc/RubyXL/DataConsolidationReference.html +1 -1
  178. data/rdoc/RubyXL/DataConsolidationReferences.html +1 -1
  179. data/rdoc/RubyXL/DataType.html +1 -1
  180. data/rdoc/RubyXL/DataValidation.html +1 -1
  181. data/rdoc/RubyXL/DataValidations.html +1 -1
  182. data/rdoc/RubyXL/DateGroupItem.html +1 -1
  183. data/rdoc/RubyXL/DefinedName.html +1 -1
  184. data/rdoc/RubyXL/DefinedNames.html +1 -1
  185. data/rdoc/RubyXL/DocumentProperties.html +1 -1
  186. data/rdoc/RubyXL/DynamicFilter.html +1 -1
  187. data/rdoc/RubyXL/EmbeddedControl.html +1 -1
  188. data/rdoc/RubyXL/EmbeddedControls.html +1 -1
  189. data/rdoc/RubyXL/Extension.html +1 -1
  190. data/rdoc/RubyXL/ExtensionStorageArea.html +1 -1
  191. data/rdoc/RubyXL/Extents.html +1 -1
  192. data/rdoc/RubyXL/ExternalReference.html +1 -1
  193. data/rdoc/RubyXL/ExternalReferences.html +1 -1
  194. data/rdoc/RubyXL/ExtraColorSchemeList.html +1 -1
  195. data/rdoc/RubyXL/FieldItem.html +1 -1
  196. data/rdoc/RubyXL/FileRecoveryProperties.html +1 -1
  197. data/rdoc/RubyXL/FileSharing.html +1 -1
  198. data/rdoc/RubyXL/FileVersion.html +1 -1
  199. data/rdoc/RubyXL/Fill.html +1 -1
  200. data/rdoc/RubyXL/Fills.html +1 -1
  201. data/rdoc/RubyXL/FilterContainer.html +1 -1
  202. data/rdoc/RubyXL/FloatNode.html +1 -1
  203. data/rdoc/RubyXL/FloatValue.html +1 -1
  204. data/rdoc/RubyXL/Font.html +31 -16
  205. data/rdoc/RubyXL/FontScheme.html +1 -1
  206. data/rdoc/RubyXL/Fonts.html +1 -1
  207. data/rdoc/RubyXL/Formula.html +1 -1
  208. data/rdoc/RubyXL/FunctionGroup.html +1 -1
  209. data/rdoc/RubyXL/FunctionGroups.html +1 -1
  210. data/rdoc/RubyXL/GenericStorage.html +1 -1
  211. data/rdoc/RubyXL/GradientFill.html +1 -1
  212. data/rdoc/RubyXL/HeaderFooterSettings.html +1 -1
  213. data/rdoc/RubyXL/Hyperlink.html +1 -1
  214. data/rdoc/RubyXL/Hyperlinks.html +1 -1
  215. data/rdoc/RubyXL/IconFilter.html +1 -1
  216. data/rdoc/RubyXL/IconSet.html +1 -1
  217. data/rdoc/RubyXL/IgnoredError.html +1 -1
  218. data/rdoc/RubyXL/IgnoredErrors.html +1 -1
  219. data/rdoc/RubyXL/IndexedColors.html +1 -1
  220. data/rdoc/RubyXL/InputCells.html +1 -1
  221. data/rdoc/RubyXL/IntegerNode.html +1 -1
  222. data/rdoc/RubyXL/IntegerValue.html +1 -1
  223. data/rdoc/RubyXL/LegacyCell.html +1 -1
  224. data/rdoc/RubyXL/LegacyWorkbook.html +22 -22
  225. data/rdoc/RubyXL/LegacyWorksheet.html +130 -57
  226. data/rdoc/RubyXL/MRUColors.html +1 -1
  227. data/rdoc/RubyXL/MergedCell.html +1 -1
  228. data/rdoc/RubyXL/MergedCells.html +1 -1
  229. data/rdoc/RubyXL/NumFmt.html +1 -1
  230. data/rdoc/RubyXL/NumberFormat.html +1 -1
  231. data/rdoc/RubyXL/NumberFormats.html +1 -1
  232. data/rdoc/RubyXL/OLEObject.html +1 -1
  233. data/rdoc/RubyXL/OLEObjects.html +1 -1
  234. data/rdoc/RubyXL/OLESize.html +1 -1
  235. data/rdoc/RubyXL/OOXMLContainerObject.html +1 -1
  236. data/rdoc/RubyXL/OOXMLObject.html +1 -1
  237. data/rdoc/RubyXL/OOXMLObjectClassMethods.html +1 -1
  238. data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +1 -1
  239. data/rdoc/RubyXL/OOXMLRelationshipsFile.html +1 -1
  240. data/rdoc/RubyXL/OOXMLTopLevelObject.html +1 -1
  241. data/rdoc/RubyXL/Offset.html +1 -1
  242. data/rdoc/RubyXL/OutlineProperties.html +1 -1
  243. data/rdoc/RubyXL/PageMargins.html +1 -1
  244. data/rdoc/RubyXL/PageSetup.html +1 -1
  245. data/rdoc/RubyXL/PageSetupProperties.html +1 -1
  246. data/rdoc/RubyXL/Pane.html +1 -1
  247. data/rdoc/RubyXL/Parser.html +1 -1
  248. data/rdoc/RubyXL/PatternFill.html +1 -1
  249. data/rdoc/RubyXL/PhoneticProperties.html +1 -1
  250. data/rdoc/RubyXL/PhoneticRun.html +1 -1
  251. data/rdoc/RubyXL/PivotArea.html +1 -1
  252. data/rdoc/RubyXL/PivotCache.html +1 -1
  253. data/rdoc/RubyXL/PivotCaches.html +1 -1
  254. data/rdoc/RubyXL/PivotReference.html +1 -1
  255. data/rdoc/RubyXL/PivotReferences.html +1 -1
  256. data/rdoc/RubyXL/PivotTableSelection.html +1 -1
  257. data/rdoc/RubyXL/PresetGeometry.html +1 -1
  258. data/rdoc/RubyXL/PrintOptions.html +1 -1
  259. data/rdoc/RubyXL/ProtectedRange.html +1 -1
  260. data/rdoc/RubyXL/ProtectedRanges.html +1 -1
  261. data/rdoc/RubyXL/Protection.html +1 -1
  262. data/rdoc/RubyXL/RID.html +1 -1
  263. data/rdoc/RubyXL/RawOOXML.html +1 -1
  264. data/rdoc/RubyXL/Reference.html +1 -1
  265. data/rdoc/RubyXL/Relationship.html +1 -1
  266. data/rdoc/RubyXL/RichText.html +1 -1
  267. data/rdoc/RubyXL/RichTextRun.html +1 -1
  268. data/rdoc/RubyXL/RootRelationships.html +1 -1
  269. data/rdoc/RubyXL/Row.html +1 -1
  270. data/rdoc/RubyXL/RunProperties.html +1 -1
  271. data/rdoc/RubyXL/Scenario.html +1 -1
  272. data/rdoc/RubyXL/Scenarios.html +1 -1
  273. data/rdoc/RubyXL/Selection.html +1 -1
  274. data/rdoc/RubyXL/ShapeGuide.html +1 -1
  275. data/rdoc/RubyXL/ShapeTextRectangle.html +1 -1
  276. data/rdoc/RubyXL/SharedStringsTable.html +1 -1
  277. data/rdoc/RubyXL/Sheet.html +1 -1
  278. data/rdoc/RubyXL/SheetCalculationProperties.html +1 -1
  279. data/rdoc/RubyXL/SheetData.html +1 -1
  280. data/rdoc/RubyXL/Sheets.html +1 -1
  281. data/rdoc/RubyXL/SmartTagProperties.html +1 -1
  282. data/rdoc/RubyXL/SmartTagType.html +1 -1
  283. data/rdoc/RubyXL/SmartTagTypes.html +1 -1
  284. data/rdoc/RubyXL/SmartTags.html +1 -1
  285. data/rdoc/RubyXL/SortCondition.html +1 -1
  286. data/rdoc/RubyXL/SortState.html +1 -1
  287. data/rdoc/RubyXL/Sqref.html +1 -1
  288. data/rdoc/RubyXL/Stop.html +1 -1
  289. data/rdoc/RubyXL/StringNode.html +1 -1
  290. data/rdoc/RubyXL/StringNodeW3C.html +1 -1
  291. data/rdoc/RubyXL/StringValue.html +1 -1
  292. data/rdoc/RubyXL/Stylesheet.html +1 -1
  293. data/rdoc/RubyXL/TableParts.html +1 -1
  294. data/rdoc/RubyXL/TableStyle.html +1 -1
  295. data/rdoc/RubyXL/TableStyles.html +1 -1
  296. data/rdoc/RubyXL/Text.html +1 -1
  297. data/rdoc/RubyXL/Theme.html +1 -1
  298. data/rdoc/RubyXL/ThemeElements.html +1 -1
  299. data/rdoc/RubyXL/Top10.html +1 -1
  300. data/rdoc/RubyXL/Variant.html +1 -1
  301. data/rdoc/RubyXL/Vector.html +1 -1
  302. data/rdoc/RubyXL/VectorValue.html +1 -1
  303. data/rdoc/RubyXL/VisualProperties.html +1 -1
  304. data/rdoc/RubyXL/WebPublishObject.html +1 -1
  305. data/rdoc/RubyXL/WebPublishObjects.html +1 -1
  306. data/rdoc/RubyXL/WebPublishingItem.html +1 -1
  307. data/rdoc/RubyXL/WebPublishingItems.html +1 -1
  308. data/rdoc/RubyXL/WebPublishingProperties.html +1 -1
  309. data/rdoc/RubyXL/Workbook.html +1 -1
  310. data/rdoc/RubyXL/WorkbookProperties.html +1 -1
  311. data/rdoc/RubyXL/WorkbookProtection.html +1 -1
  312. data/rdoc/RubyXL/WorkbookRelationships.html +1 -1
  313. data/rdoc/RubyXL/WorkbookView.html +1 -1
  314. data/rdoc/RubyXL/WorkbookViews.html +1 -1
  315. data/rdoc/RubyXL/Worksheet.html +1 -1
  316. data/rdoc/RubyXL/WorksheetDimensions.html +1 -1
  317. data/rdoc/RubyXL/WorksheetFormatProperties.html +1 -1
  318. data/rdoc/RubyXL/WorksheetProperties.html +1 -1
  319. data/rdoc/RubyXL/WorksheetProtection.html +1 -1
  320. data/rdoc/RubyXL/WorksheetView.html +1 -1
  321. data/rdoc/RubyXL/WorksheetViews.html +1 -1
  322. data/rdoc/RubyXL/XF.html +1 -1
  323. data/rdoc/created.rid +25 -25
  324. data/rdoc/index.html +2 -2
  325. data/rdoc/js/search_index.js +1 -1
  326. data/rdoc/table_of_contents.html +70 -60
  327. data/rubyXL.gemspec +3 -3
  328. data/spec/lib/worksheet_spec.rb +4 -4
  329. metadata +2 -2
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::FontScheme - rubyXL 2.5.3</title>
7
+ <title>class RubyXL::FontScheme - rubyXL 2.5.4</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Fonts - rubyXL 2.5.3</title>
7
+ <title>class RubyXL::Fonts - rubyXL 2.5.4</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Formula - rubyXL 2.5.3</title>
7
+ <title>class RubyXL::Formula - rubyXL 2.5.4</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::FunctionGroup - rubyXL 2.5.3</title>
7
+ <title>class RubyXL::FunctionGroup - rubyXL 2.5.4</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::FunctionGroups - rubyXL 2.5.3</title>
7
+ <title>class RubyXL::FunctionGroups - rubyXL 2.5.4</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::GenericStorage - rubyXL 2.5.3</title>
7
+ <title>class RubyXL::GenericStorage - rubyXL 2.5.4</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::GradientFill - rubyXL 2.5.3</title>
7
+ <title>class RubyXL::GradientFill - rubyXL 2.5.4</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::HeaderFooterSettings - rubyXL 2.5.3</title>
7
+ <title>class RubyXL::HeaderFooterSettings - rubyXL 2.5.4</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Hyperlink - rubyXL 2.5.3</title>
7
+ <title>class RubyXL::Hyperlink - rubyXL 2.5.4</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Hyperlinks - rubyXL 2.5.3</title>
7
+ <title>class RubyXL::Hyperlinks - rubyXL 2.5.4</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::IconFilter - rubyXL 2.5.3</title>
7
+ <title>class RubyXL::IconFilter - rubyXL 2.5.4</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::IconSet - rubyXL 2.5.3</title>
7
+ <title>class RubyXL::IconSet - rubyXL 2.5.4</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::IgnoredError - rubyXL 2.5.3</title>
7
+ <title>class RubyXL::IgnoredError - rubyXL 2.5.4</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::IgnoredErrors - rubyXL 2.5.3</title>
7
+ <title>class RubyXL::IgnoredErrors - rubyXL 2.5.4</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::IndexedColors - rubyXL 2.5.3</title>
7
+ <title>class RubyXL::IndexedColors - rubyXL 2.5.4</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::InputCells - rubyXL 2.5.3</title>
7
+ <title>class RubyXL::InputCells - rubyXL 2.5.4</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::IntegerNode - rubyXL 2.5.3</title>
7
+ <title>class RubyXL::IntegerNode - rubyXL 2.5.4</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::IntegerValue - rubyXL 2.5.3</title>
7
+ <title>class RubyXL::IntegerValue - rubyXL 2.5.4</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>module RubyXL::LegacyCell - rubyXL 2.5.3</title>
7
+ <title>module RubyXL::LegacyCell - rubyXL 2.5.4</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>module RubyXL::LegacyWorkbook - rubyXL 2.5.3</title>
7
+ <title>module RubyXL::LegacyWorkbook - rubyXL 2.5.4</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -504,7 +504,7 @@
504
504
 
505
505
 
506
506
  <div class="method-source-code" id="new-source">
507
- <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 18</span>
507
+ <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 19</span>
508
508
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">worksheets</span>=[], <span class="ruby-identifier">filepath</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>,
509
509
  <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>,
510
510
  <span class="ruby-identifier">appversion</span>=<span class="ruby-constant">APPVERSION</span>, <span class="ruby-identifier">date1904</span>=<span class="ruby-value">0</span>)
@@ -590,7 +590,7 @@
590
590
 
591
591
 
592
592
  <div class="method-source-code" id="5B-5D-source">
593
- <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 68</span>
593
+ <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 69</span>
594
594
  <span class="ruby-keyword">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">ind</span>)
595
595
  <span class="ruby-keyword">case</span> <span class="ruby-identifier">ind</span>
596
596
  <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>]
@@ -628,7 +628,7 @@
628
628
 
629
629
 
630
630
  <div class="method-source-code" id="add_worksheet-source">
631
- <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 78</span>
631
+ <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 79</span>
632
632
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">add_worksheet</span>(<span class="ruby-identifier">name</span> = <span class="ruby-keyword">nil</span>)
633
633
  <span class="ruby-keyword">if</span> <span class="ruby-identifier">name</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-keyword">then</span>
634
634
  <span class="ruby-identifier">n</span> = <span class="ruby-value">0</span>
@@ -671,7 +671,7 @@
671
671
 
672
672
 
673
673
  <div class="method-source-code" id="borders-source">
674
- <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 259</span>
674
+ <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 260</span>
675
675
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">borders</span> <span class="ruby-comment"># Stylesheet should be pre-filled with defaults on initialize()</span>
676
676
  <span class="ruby-identifier">stylesheet</span>.<span class="ruby-identifier">borders</span>
677
677
  <span class="ruby-keyword">end</span></pre>
@@ -704,7 +704,7 @@
704
704
 
705
705
 
706
706
  <div class="method-source-code" id="cell_xfs-source">
707
- <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 247</span>
707
+ <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 248</span>
708
708
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">cell_xfs</span> <span class="ruby-comment"># Stylesheet should be pre-filled with defaults on initialize()</span>
709
709
  <span class="ruby-identifier">stylesheet</span>.<span class="ruby-identifier">cell_xfs</span>
710
710
  <span class="ruby-keyword">end</span></pre>
@@ -737,7 +737,7 @@
737
737
 
738
738
 
739
739
  <div class="method-source-code" id="date_to_num-source">
740
- <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 145</span>
740
+ <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 146</span>
741
741
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">date_to_num</span>(<span class="ruby-identifier">date</span>)
742
742
  <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>
743
743
  <span class="ruby-keyword">end</span></pre>
@@ -770,7 +770,7 @@
770
770
 
771
771
 
772
772
  <div class="method-source-code" id="each-source">
773
- <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 92</span>
773
+ <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 93</span>
774
774
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">each</span>
775
775
  <span class="ruby-identifier">worksheets</span>.<span class="ruby-identifier">each</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-keyword">yield</span> <span class="ruby-identifier">i</span>}
776
776
  <span class="ruby-keyword">end</span></pre>
@@ -803,7 +803,7 @@
803
803
 
804
804
 
805
805
  <div class="method-source-code" id="fills-source">
806
- <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 255</span>
806
+ <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 256</span>
807
807
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">fills</span> <span class="ruby-comment"># Stylesheet should be pre-filled with defaults on initialize()</span>
808
808
  <span class="ruby-identifier">stylesheet</span>.<span class="ruby-identifier">fills</span>
809
809
  <span class="ruby-keyword">end</span></pre>
@@ -836,7 +836,7 @@
836
836
 
837
837
 
838
838
  <div class="method-source-code" id="fonts-source">
839
- <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 251</span>
839
+ <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 252</span>
840
840
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">fonts</span> <span class="ruby-comment"># Stylesheet should be pre-filled with defaults on initialize()</span>
841
841
  <span class="ruby-identifier">stylesheet</span>.<span class="ruby-identifier">fonts</span>
842
842
  <span class="ruby-keyword">end</span></pre>
@@ -869,7 +869,7 @@
869
869
 
870
870
 
871
871
  <div class="method-source-code" id="get_fill_color-source">
872
- <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 153</span>
872
+ <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 154</span>
873
873
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_fill_color</span>(<span class="ruby-identifier">xf</span>)
874
874
  <span class="ruby-identifier">fill</span> = <span class="ruby-identifier">fills</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">fill_id</span>]
875
875
  <span class="ruby-identifier">pattern</span> = <span class="ruby-identifier">fill</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">fill</span>.<span class="ruby-identifier">pattern_fill</span>
@@ -905,11 +905,11 @@
905
905
 
906
906
 
907
907
  <div class="method-source-code" id="modify_alignment-source">
908
- <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 209</span>
908
+ <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 210</span>
909
909
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">modify_alignment</span>(<span class="ruby-identifier">style_index</span>, <span class="ruby-identifier">is_horizontal</span>, <span class="ruby-identifier">alignment</span>)
910
910
  <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">cell_xfs</span>[<span class="ruby-identifier">style_index</span>].<span class="ruby-identifier">dup</span>
911
- <span class="ruby-identifier">xf</span>.<span class="ruby-identifier">alignment</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Alignment</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:apply_alignment</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword">true</span>,
912
- <span class="ruby-value">:horizontal</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">is_horizontal</span> <span class="ruby-operator">?</span> <span class="ruby-identifier">alignment</span> <span class="ruby-operator">:</span> <span class="ruby-keyword">nil</span>,
911
+ <span class="ruby-identifier">xf</span>.<span class="ruby-identifier">apply_alignment</span> = <span class="ruby-keyword">true</span>
912
+ <span class="ruby-identifier">xf</span>.<span class="ruby-identifier">alignment</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Alignment</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:horizontal</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">is_horizontal</span> <span class="ruby-operator">?</span> <span class="ruby-identifier">alignment</span> <span class="ruby-operator">:</span> <span class="ruby-keyword">nil</span>,
913
913
  <span class="ruby-value">:vertical</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">is_horizontal</span> <span class="ruby-operator">?</span> <span class="ruby-keyword">nil</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">alignment</span>)
914
914
  <span class="ruby-identifier">register_new_xf</span>(<span class="ruby-identifier">xf</span>, <span class="ruby-identifier">style_index</span>)
915
915
  <span class="ruby-keyword">end</span></pre>
@@ -942,7 +942,7 @@
942
942
 
943
943
 
944
944
  <div class="method-source-code" id="modify_border-source">
945
- <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 226</span>
945
+ <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 227</span>
946
946
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">modify_border</span>(<span class="ruby-identifier">style_index</span>, <span class="ruby-identifier">direction</span>, <span class="ruby-identifier">weight</span>)
947
947
  <span class="ruby-identifier">old_xf</span> = <span class="ruby-identifier">cell_xfs</span>[<span class="ruby-identifier">style_index</span>].<span class="ruby-identifier">dup</span>
948
948
  <span class="ruby-identifier">new_border</span> = <span class="ruby-identifier">borders</span>[<span class="ruby-identifier">old_xf</span>.<span class="ruby-identifier">border_id</span>].<span class="ruby-identifier">dup</span>
@@ -992,7 +992,7 @@
992
992
 
993
993
 
994
994
  <div class="method-source-code" id="modify_fill-source">
995
- <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 217</span>
995
+ <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 218</span>
996
996
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">modify_fill</span>(<span class="ruby-identifier">style_index</span>, <span class="ruby-identifier">rgb</span>)
997
997
  <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">cell_xfs</span>[<span class="ruby-identifier">style_index</span>].<span class="ruby-identifier">dup</span>
998
998
  <span class="ruby-identifier">new_fill</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Fill</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:pattern_fill</span> =<span class="ruby-operator">&gt;</span>
@@ -1030,7 +1030,7 @@
1030
1030
 
1031
1031
 
1032
1032
  <div class="method-source-code" id="modify_text_wrap-source">
1033
- <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 203</span>
1033
+ <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 204</span>
1034
1034
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">modify_text_wrap</span>(<span class="ruby-identifier">style_index</span>, <span class="ruby-identifier">wrap</span> = <span class="ruby-keyword">false</span>)
1035
1035
  <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">cell_xfs</span>[<span class="ruby-identifier">style_index</span>].<span class="ruby-identifier">dup</span>
1036
1036
  <span class="ruby-identifier">xf</span>.<span class="ruby-identifier">alignment</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Alignment</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:wrap_text</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">wrap</span>, <span class="ruby-value">:apply_alignment</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword">true</span>)
@@ -1065,7 +1065,7 @@
1065
1065
 
1066
1066
 
1067
1067
  <div class="method-source-code" id="num_to_date-source">
1068
- <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 149</span>
1068
+ <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 150</span>
1069
1069
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">num_to_date</span>(<span class="ruby-identifier">num</span>)
1070
1070
  <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>)
1071
1071
  <span class="ruby-keyword">end</span></pre>
@@ -1098,7 +1098,7 @@
1098
1098
 
1099
1099
 
1100
1100
  <div class="method-source-code" id="register_new_fill-source">
1101
- <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 160</span>
1101
+ <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 161</span>
1102
1102
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">register_new_fill</span>(<span class="ruby-identifier">new_fill</span>, <span class="ruby-identifier">old_xf</span>)
1103
1103
  <span class="ruby-identifier">new_xf</span> = <span class="ruby-identifier">old_xf</span>.<span class="ruby-identifier">dup</span>
1104
1104
 
@@ -1143,7 +1143,7 @@
1143
1143
 
1144
1144
 
1145
1145
  <div class="method-source-code" id="register_new_font-source">
1146
- <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 176</span>
1146
+ <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 177</span>
1147
1147
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">register_new_font</span>(<span class="ruby-identifier">new_font</span>, <span class="ruby-identifier">old_xf</span>)
1148
1148
  <span class="ruby-identifier">new_xf</span> = <span class="ruby-identifier">old_xf</span>.<span class="ruby-identifier">dup</span>
1149
1149
 
@@ -1188,7 +1188,7 @@
1188
1188
 
1189
1189
 
1190
1190
  <div class="method-source-code" id="register_new_xf-source">
1191
- <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 192</span>
1191
+ <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 193</span>
1192
1192
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">register_new_xf</span>(<span class="ruby-identifier">new_xf</span>, <span class="ruby-identifier">old_style_index</span>)
1193
1193
  <span class="ruby-identifier">new_xf_id</span> = <span class="ruby-identifier">cell_xfs</span>.<span class="ruby-identifier">find_index</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">xf</span><span class="ruby-operator">|</span> <span class="ruby-identifier">xf</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">new_xf</span> } <span class="ruby-comment"># Use existing XF, if it exists</span>
1194
1194
  <span class="ruby-identifier">new_xf_id</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">cell_xfs</span>.<span class="ruby-identifier">size</span> <span class="ruby-comment"># If this XF has never existed before, add it to collection.</span>
@@ -1228,7 +1228,7 @@
1228
1228
 
1229
1229
 
1230
1230
  <div class="method-source-code" id="write-source">
1231
- <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 97</span>
1231
+ <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 98</span>
1232
1232
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">write</span>(<span class="ruby-identifier">filepath</span> = <span class="ruby-ivar">@filepath</span>)
1233
1233
  <span class="ruby-identifier">extension</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">extname</span>(<span class="ruby-identifier">filepath</span>)
1234
1234
  <span class="ruby-keyword">unless</span> <span class="ruby-node">%w{.xlsx .xlsm}</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">extension</span>)
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>module RubyXL::LegacyWorksheet - rubyXL 2.5.3</title>
7
+ <title>module RubyXL::LegacyWorksheet - rubyXL 2.5.4</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -117,6 +117,8 @@
117
117
 
118
118
  <li ><a href="#method-i-change_column_width">#change_column_width</a>
119
119
 
120
+ <li ><a href="#method-i-change_column_width_raw">#change_column_width_raw</a>
121
+
120
122
  <li ><a href="#method-i-change_row_bold">#change_row_bold</a>
121
123
 
122
124
  <li ><a href="#method-i-change_row_border_bottom">#change_row_border_bottom</a>
@@ -183,6 +185,8 @@
183
185
 
184
186
  <li ><a href="#method-i-get_column_width">#get_column_width</a>
185
187
 
188
+ <li ><a href="#method-i-get_column_width_raw">#get_column_width_raw</a>
189
+
186
190
  <li ><a href="#method-i-get_row_border_bottom">#get_row_border_bottom</a>
187
191
 
188
192
  <li ><a href="#method-i-get_row_border_diagonal">#get_row_border_diagonal</a>
@@ -414,7 +418,7 @@
414
418
 
415
419
 
416
420
  <div class="method-source-code" id="add_cell-source">
417
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 325</span>
421
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 331</span>
418
422
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">add_cell</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">column</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">data</span> = <span class="ruby-string">&#39;&#39;</span>, <span class="ruby-identifier">formula</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">overwrite</span> = <span class="ruby-keyword">true</span>)
419
423
  <span class="ruby-identifier">validate_workbook</span>
420
424
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">column</span>)
@@ -467,7 +471,7 @@
467
471
 
468
472
 
469
473
  <div class="method-source-code" id="add_row-source">
470
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 319</span>
474
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 325</span>
471
475
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">add_row</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">params</span> = {})
472
476
  <span class="ruby-identifier">new_row</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Row</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">params</span>)
473
477
  <span class="ruby-identifier">new_row</span>.<span class="ruby-identifier">worksheet</span> = <span class="ruby-keyword">self</span>
@@ -538,7 +542,7 @@
538
542
 
539
543
 
540
544
  <div class="method-source-code" id="change_column_border_bottom-source">
541
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 303</span>
545
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 309</span>
542
546
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_bottom</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>,<span class="ruby-identifier">weight</span> = <span class="ruby-string">&#39;thin&#39;</span>)
543
547
  <span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:bottom</span>, <span class="ruby-identifier">weight</span>)
544
548
  <span class="ruby-keyword">end</span></pre>
@@ -571,7 +575,7 @@
571
575
 
572
576
 
573
577
  <div class="method-source-code" id="change_column_border_diagonal-source">
574
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 307</span>
578
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 313</span>
575
579
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_diagonal</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>,<span class="ruby-identifier">weight</span> = <span class="ruby-string">&#39;thin&#39;</span>)
576
580
  <span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:diagonal</span>, <span class="ruby-identifier">weight</span>)
577
581
  <span class="ruby-keyword">end</span></pre>
@@ -604,7 +608,7 @@
604
608
 
605
609
 
606
610
  <div class="method-source-code" id="change_column_border_left-source">
607
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 295</span>
611
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 301</span>
608
612
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_left</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>,<span class="ruby-identifier">weight</span> = <span class="ruby-string">&#39;thin&#39;</span>)
609
613
  <span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:left</span>, <span class="ruby-identifier">weight</span>)
610
614
  <span class="ruby-keyword">end</span></pre>
@@ -637,7 +641,7 @@
637
641
 
638
642
 
639
643
  <div class="method-source-code" id="change_column_border_right-source">
640
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 299</span>
644
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 305</span>
641
645
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_right</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>,<span class="ruby-identifier">weight</span> = <span class="ruby-string">&#39;thin&#39;</span>)
642
646
  <span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:right</span>, <span class="ruby-identifier">weight</span>)
643
647
  <span class="ruby-keyword">end</span></pre>
@@ -670,7 +674,7 @@
670
674
 
671
675
 
672
676
  <div class="method-source-code" id="change_column_border_top-source">
673
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 291</span>
677
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 297</span>
674
678
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_top</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>,<span class="ruby-identifier">weight</span> = <span class="ruby-string">&#39;thin&#39;</span>)
675
679
  <span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:top</span>, <span class="ruby-identifier">weight</span>)
676
680
  <span class="ruby-keyword">end</span></pre>
@@ -703,7 +707,7 @@
703
707
 
704
708
 
705
709
  <div class="method-source-code" id="change_column_fill-source">
706
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 270</span>
710
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 276</span>
707
711
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_fill</span>(<span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">color_index</span>=<span class="ruby-string">&#39;ffffff&#39;</span>)
708
712
  <span class="ruby-identifier">validate_workbook</span>
709
713
  <span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">color_index</span>)
@@ -855,7 +859,7 @@
855
859
 
856
860
 
857
861
  <div class="method-source-code" id="change_column_horizontal_alignment-source">
858
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 283</span>
862
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 289</span>
859
863
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_horizontal_alignment</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>,<span class="ruby-identifier">alignment</span>=<span class="ruby-string">&#39;center&#39;</span>)
860
864
  <span class="ruby-identifier">change_column_alignment</span>(<span class="ruby-identifier">col</span>,<span class="ruby-identifier">alignment</span>,<span class="ruby-keyword">true</span>)
861
865
  <span class="ruby-keyword">end</span></pre>
@@ -996,7 +1000,7 @@
996
1000
 
997
1001
 
998
1002
  <div class="method-source-code" id="change_column_vertical_alignment-source">
999
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 287</span>
1003
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 293</span>
1000
1004
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_vertical_alignment</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>,<span class="ruby-identifier">alignment</span>=<span class="ruby-string">&#39;center&#39;</span>)
1001
1005
  <span class="ruby-identifier">change_column_alignment</span>(<span class="ruby-identifier">col</span>, <span class="ruby-identifier">alignment</span>, <span class="ruby-keyword">false</span>)
1002
1006
  <span class="ruby-keyword">end</span></pre>
@@ -1014,7 +1018,7 @@
1014
1018
 
1015
1019
  <div class="method-heading">
1016
1020
  <span class="method-name">change_column_width</span><span
1017
- class="method-args">(column_index = 0, width = 13)</span>
1021
+ class="method-args">(column_index = 0, width_in_chars = RubyXL::ColumnRange::DEFAULT_WIDTH)</span>
1018
1022
 
1019
1023
  <span class="method-click-advice">click to toggle source</span>
1020
1024
 
@@ -1023,17 +1027,50 @@
1023
1027
 
1024
1028
  <div class="method-description">
1025
1029
 
1026
-
1030
+ <p>Get column width measured in number of digits, as per <a
1031
+ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet.column%28v=office.14%29.aspx">msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet.column%28v=office.14%29.aspx</a></p>
1027
1032
 
1028
1033
 
1029
1034
 
1030
1035
 
1031
1036
  <div class="method-source-code" id="change_column_width-source">
1032
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 261</span>
1033
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_width</span>(<span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">width</span> = <span class="ruby-value">13</span>)
1037
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 272</span>
1038
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_width</span>(<span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">width_in_chars</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">ColumnRange</span><span class="ruby-operator">::</span><span class="ruby-constant">DEFAULT_WIDTH</span>)
1039
+ <span class="ruby-identifier">change_column_width_raw</span>(<span class="ruby-identifier">column_index</span>, ((<span class="ruby-identifier">width_in_chars</span> <span class="ruby-operator">+</span> (<span class="ruby-value">5.0</span> <span class="ruby-operator">/</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Font</span><span class="ruby-operator">::</span><span class="ruby-constant">MAX_DIGIT_WIDTH</span>)) <span class="ruby-operator">*</span> <span class="ruby-value">256</span>).<span class="ruby-identifier">to_i</span> <span class="ruby-operator">/</span> <span class="ruby-value">256.0</span>)
1040
+ <span class="ruby-keyword">end</span></pre>
1041
+ </div>
1042
+
1043
+ </div>
1044
+
1045
+
1046
+
1047
+
1048
+ </div>
1049
+
1050
+
1051
+ <div id="method-i-change_column_width_raw" class="method-detail ">
1052
+
1053
+ <div class="method-heading">
1054
+ <span class="method-name">change_column_width_raw</span><span
1055
+ class="method-args">(column_index, width)</span>
1056
+
1057
+ <span class="method-click-advice">click to toggle source</span>
1058
+
1059
+ </div>
1060
+
1061
+
1062
+ <div class="method-description">
1063
+
1064
+ <p>Set raw column width value</p>
1065
+
1066
+
1067
+
1068
+
1069
+ <div class="method-source-code" id="change_column_width_raw-source">
1070
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 262</span>
1071
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_width_raw</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">width</span>)
1034
1072
  <span class="ruby-identifier">validate_workbook</span>
1035
1073
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
1036
-
1037
1074
  <span class="ruby-identifier">range</span> = <span class="ruby-identifier">cols</span>.<span class="ruby-identifier">get_range</span>(<span class="ruby-identifier">column_index</span>)
1038
1075
  <span class="ruby-identifier">range</span>.<span class="ruby-identifier">width</span> = <span class="ruby-identifier">width</span>
1039
1076
  <span class="ruby-identifier">range</span>.<span class="ruby-identifier">custom_width</span> = <span class="ruby-keyword">true</span>
@@ -1640,7 +1677,7 @@ specified, method will shift column contents below the deleted cell upward</p>
1640
1677
 
1641
1678
 
1642
1679
  <div class="method-source-code" id="delete_cell-source">
1643
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 465</span>
1680
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 471</span>
1644
1681
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">delete_cell</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">shift</span>=<span class="ruby-keyword">nil</span>)
1645
1682
  <span class="ruby-identifier">validate_workbook</span>
1646
1683
  <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
@@ -1695,7 +1732,7 @@ specified, method will shift column contents below the deleted cell upward</p>
1695
1732
 
1696
1733
 
1697
1734
  <div class="method-source-code" id="delete_column-source">
1698
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 394</span>
1735
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 400</span>
1699
1736
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">delete_column</span>(<span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>)
1700
1737
  <span class="ruby-identifier">validate_workbook</span>
1701
1738
  <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">column_index</span>)
@@ -1743,7 +1780,7 @@ specified, method will shift column contents below the deleted cell upward</p>
1743
1780
 
1744
1781
 
1745
1782
  <div class="method-source-code" id="delete_row-source">
1746
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 349</span>
1783
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 355</span>
1747
1784
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">delete_row</span>(<span class="ruby-identifier">row_index</span>=<span class="ruby-value">0</span>)
1748
1785
  <span class="ruby-identifier">validate_workbook</span>
1749
1786
  <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row_index</span>)
@@ -1857,7 +1894,7 @@ information)</p>
1857
1894
 
1858
1895
 
1859
1896
  <div class="method-source-code" id="get_column_border_bottom-source">
1860
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 633</span>
1897
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 648</span>
1861
1898
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_border_bottom</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
1862
1899
  <span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:bottom</span>)
1863
1900
  <span class="ruby-keyword">end</span></pre>
@@ -1890,7 +1927,7 @@ information)</p>
1890
1927
 
1891
1928
 
1892
1929
  <div class="method-source-code" id="get_column_border_diagonal-source">
1893
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 637</span>
1930
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 652</span>
1894
1931
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_border_diagonal</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
1895
1932
  <span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:diagonal</span>)
1896
1933
  <span class="ruby-keyword">end</span></pre>
@@ -1923,7 +1960,7 @@ information)</p>
1923
1960
 
1924
1961
 
1925
1962
  <div class="method-source-code" id="get_column_border_left-source">
1926
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 625</span>
1963
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 640</span>
1927
1964
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_border_left</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
1928
1965
  <span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:left</span>)
1929
1966
  <span class="ruby-keyword">end</span></pre>
@@ -1956,7 +1993,7 @@ information)</p>
1956
1993
 
1957
1994
 
1958
1995
  <div class="method-source-code" id="get_column_border_right-source">
1959
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 629</span>
1996
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 644</span>
1960
1997
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_border_right</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
1961
1998
  <span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:right</span>)
1962
1999
  <span class="ruby-keyword">end</span></pre>
@@ -1989,7 +2026,7 @@ information)</p>
1989
2026
 
1990
2027
 
1991
2028
  <div class="method-source-code" id="get_column_border_top-source">
1992
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 621</span>
2029
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 636</span>
1993
2030
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_border_top</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
1994
2031
  <span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:top</span>)
1995
2032
  <span class="ruby-keyword">end</span></pre>
@@ -2022,7 +2059,7 @@ information)</p>
2022
2059
 
2023
2060
 
2024
2061
  <div class="method-source-code" id="get_column_fill-source">
2025
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 605</span>
2062
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 620</span>
2026
2063
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_fill</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
2027
2064
  <span class="ruby-identifier">validate_workbook</span>
2028
2065
  <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">col</span>)
@@ -2059,7 +2096,7 @@ information)</p>
2059
2096
 
2060
2097
 
2061
2098
  <div class="method-source-code" id="get_column_font_color-source">
2062
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 571</span>
2099
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 577</span>
2063
2100
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_font_color</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
2064
2101
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
2065
2102
  <span class="ruby-identifier">font</span> <span class="ruby-operator">&amp;&amp;</span> (<span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_rgb_color</span> <span class="ruby-operator">||</span> <span class="ruby-string">&#39;000000&#39;</span>)
@@ -2093,7 +2130,7 @@ information)</p>
2093
2130
 
2094
2131
 
2095
2132
  <div class="method-source-code" id="get_column_font_name-source">
2096
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 561</span>
2133
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 567</span>
2097
2134
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_font_name</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
2098
2135
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
2099
2136
  <span class="ruby-identifier">font</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_name</span>
@@ -2127,7 +2164,7 @@ information)</p>
2127
2164
 
2128
2165
 
2129
2166
  <div class="method-source-code" id="get_column_font_size-source">
2130
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 566</span>
2167
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 572</span>
2131
2168
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_font_size</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
2132
2169
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
2133
2170
  <span class="ruby-identifier">font</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_size</span>
@@ -2161,7 +2198,7 @@ information)</p>
2161
2198
 
2162
2199
 
2163
2200
  <div class="method-source-code" id="get_column_horizontal_alignment-source">
2164
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 613</span>
2201
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 628</span>
2165
2202
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_horizontal_alignment</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
2166
2203
  <span class="ruby-identifier">get_column_alignment</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:horizontal</span>)
2167
2204
  <span class="ruby-keyword">end</span></pre>
@@ -2194,7 +2231,7 @@ information)</p>
2194
2231
 
2195
2232
 
2196
2233
  <div class="method-source-code" id="get_column_vertical_alignment-source">
2197
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 617</span>
2234
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 632</span>
2198
2235
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_vertical_alignment</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
2199
2236
  <span class="ruby-identifier">get_column_alignment</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:vertical</span>)
2200
2237
  <span class="ruby-keyword">end</span></pre>
@@ -2221,20 +2258,56 @@ information)</p>
2221
2258
 
2222
2259
  <div class="method-description">
2223
2260
 
2224
-
2261
+ <p>Get column width measured in number of digits, as per <a
2262
+ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet.column%28v=office.14%29.aspx">msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet.column%28v=office.14%29.aspx</a></p>
2225
2263
 
2226
2264
 
2227
2265
 
2228
2266
 
2229
2267
  <div class="method-source-code" id="get_column_width-source">
2230
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 596</span>
2268
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 614</span>
2231
2269
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_width</span>(<span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>)
2270
+ <span class="ruby-identifier">width</span> = <span class="ruby-identifier">get_column_width_raw</span>(<span class="ruby-identifier">column_index</span>)
2271
+ <span class="ruby-keyword">return</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">ColumnRange</span><span class="ruby-operator">::</span><span class="ruby-constant">DEFAULT_WIDTH</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">width</span>.<span class="ruby-identifier">nil?</span>
2272
+ (<span class="ruby-identifier">width</span> <span class="ruby-operator">-</span> (<span class="ruby-value">5.0</span> <span class="ruby-operator">/</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Font</span><span class="ruby-operator">::</span><span class="ruby-constant">MAX_DIGIT_WIDTH</span>)).<span class="ruby-identifier">round</span>
2273
+ <span class="ruby-keyword">end</span></pre>
2274
+ </div>
2275
+
2276
+ </div>
2277
+
2278
+
2279
+
2280
+
2281
+ </div>
2282
+
2283
+
2284
+ <div id="method-i-get_column_width_raw" class="method-detail ">
2285
+
2286
+ <div class="method-heading">
2287
+ <span class="method-name">get_column_width_raw</span><span
2288
+ class="method-args">(column_index = 0)</span>
2289
+
2290
+ <span class="method-click-advice">click to toggle source</span>
2291
+
2292
+ </div>
2293
+
2294
+
2295
+ <div class="method-description">
2296
+
2297
+ <p>Get raw column width value as stored in the file</p>
2298
+
2299
+
2300
+
2301
+
2302
+ <div class="method-source-code" id="get_column_width_raw-source">
2303
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 603</span>
2304
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_width_raw</span>(<span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>)
2232
2305
  <span class="ruby-identifier">validate_workbook</span>
2233
2306
  <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">column_index</span>)
2234
2307
  <span class="ruby-keyword">return</span> <span class="ruby-keyword">nil</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">column_exists</span>(<span class="ruby-identifier">column_index</span>)
2235
2308
 
2236
2309
  <span class="ruby-identifier">range</span> = <span class="ruby-identifier">cols</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">column_index</span>)
2237
- (<span class="ruby-identifier">range</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">range</span>.<span class="ruby-identifier">width</span>) <span class="ruby-operator">||</span> <span class="ruby-value">10</span>
2310
+ <span class="ruby-identifier">range</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">range</span>.<span class="ruby-identifier">width</span>
2238
2311
  <span class="ruby-keyword">end</span></pre>
2239
2312
  </div>
2240
2313
 
@@ -2265,7 +2338,7 @@ information)</p>
2265
2338
 
2266
2339
 
2267
2340
  <div class="method-source-code" id="get_row_border_bottom-source">
2268
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 553</span>
2341
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 559</span>
2269
2342
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_border_bottom</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2270
2343
  <span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:bottom</span>)
2271
2344
  <span class="ruby-keyword">end</span></pre>
@@ -2298,7 +2371,7 @@ information)</p>
2298
2371
 
2299
2372
 
2300
2373
  <div class="method-source-code" id="get_row_border_diagonal-source">
2301
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 557</span>
2374
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 563</span>
2302
2375
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_border_diagonal</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2303
2376
  <span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:diagonal</span>)
2304
2377
  <span class="ruby-keyword">end</span></pre>
@@ -2331,7 +2404,7 @@ information)</p>
2331
2404
 
2332
2405
 
2333
2406
  <div class="method-source-code" id="get_row_border_left-source">
2334
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 545</span>
2407
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 551</span>
2335
2408
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_border_left</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2336
2409
  <span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:left</span>)
2337
2410
  <span class="ruby-keyword">end</span></pre>
@@ -2364,7 +2437,7 @@ information)</p>
2364
2437
 
2365
2438
 
2366
2439
  <div class="method-source-code" id="get_row_border_right-source">
2367
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 549</span>
2440
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 555</span>
2368
2441
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_border_right</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2369
2442
  <span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:right</span>)
2370
2443
  <span class="ruby-keyword">end</span></pre>
@@ -2397,7 +2470,7 @@ information)</p>
2397
2470
 
2398
2471
 
2399
2472
  <div class="method-source-code" id="get_row_border_top-source">
2400
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 541</span>
2473
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 547</span>
2401
2474
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_border_top</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2402
2475
  <span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:top</span>)
2403
2476
  <span class="ruby-keyword">end</span></pre>
@@ -2430,7 +2503,7 @@ information)</p>
2430
2503
 
2431
2504
 
2432
2505
  <div class="method-source-code" id="get_row_fill-source">
2433
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 491</span>
2506
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 497</span>
2434
2507
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_fill</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2435
2508
  (<span class="ruby-identifier">row</span> = <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">row</span>]) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">get_fill_color</span>
2436
2509
  <span class="ruby-keyword">end</span></pre>
@@ -2463,7 +2536,7 @@ information)</p>
2463
2536
 
2464
2537
 
2465
2538
  <div class="method-source-code" id="get_row_font_color-source">
2466
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 503</span>
2539
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 509</span>
2467
2540
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_font_color</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2468
2541
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)
2469
2542
  <span class="ruby-identifier">color</span> = <span class="ruby-identifier">font</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">color</span>
@@ -2498,7 +2571,7 @@ information)</p>
2498
2571
 
2499
2572
 
2500
2573
  <div class="method-source-code" id="get_row_font_name-source">
2501
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 495</span>
2574
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 501</span>
2502
2575
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_font_name</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2503
2576
  (<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_name</span>
2504
2577
  <span class="ruby-keyword">end</span></pre>
@@ -2531,7 +2604,7 @@ information)</p>
2531
2604
 
2532
2605
 
2533
2606
  <div class="method-source-code" id="get_row_font_size-source">
2534
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 499</span>
2607
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 505</span>
2535
2608
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_font_size</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2536
2609
  (<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_size</span>
2537
2610
  <span class="ruby-keyword">end</span></pre>
@@ -2564,7 +2637,7 @@ information)</p>
2564
2637
 
2565
2638
 
2566
2639
  <div class="method-source-code" id="get_row_height-source">
2567
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 525</span>
2640
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 531</span>
2568
2641
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_height</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2569
2642
  <span class="ruby-identifier">validate_workbook</span>
2570
2643
  <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
@@ -2601,7 +2674,7 @@ information)</p>
2601
2674
 
2602
2675
 
2603
2676
  <div class="method-source-code" id="get_row_horizontal_alignment-source">
2604
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 533</span>
2677
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 539</span>
2605
2678
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_horizontal_alignment</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2606
2679
  <span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_alignment</span>(<span class="ruby-identifier">row</span>, <span class="ruby-keyword">true</span>)
2607
2680
  <span class="ruby-keyword">end</span></pre>
@@ -2634,7 +2707,7 @@ information)</p>
2634
2707
 
2635
2708
 
2636
2709
  <div class="method-source-code" id="get_row_vertical_alignment-source">
2637
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 537</span>
2710
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 543</span>
2638
2711
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_vertical_alignment</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2639
2712
  <span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_alignment</span>(<span class="ruby-identifier">row</span>, <span class="ruby-keyword">false</span>)
2640
2713
  <span class="ruby-keyword">end</span></pre>
@@ -2748,7 +2821,7 @@ information)</p>
2748
2821
 
2749
2822
 
2750
2823
  <div class="method-source-code" id="insert_cell-source">
2751
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 442</span>
2824
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 448</span>
2752
2825
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">insert_cell</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">data</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">formula</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">shift</span> = <span class="ruby-keyword">nil</span>)
2753
2826
  <span class="ruby-identifier">validate_workbook</span>
2754
2827
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">col</span>)
@@ -2799,7 +2872,7 @@ reference cells which are being “pushed down”</p>
2799
2872
 
2800
2873
 
2801
2874
  <div class="method-source-code" id="insert_column-source">
2802
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 415</span>
2875
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 421</span>
2803
2876
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">insert_column</span>(<span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>)
2804
2877
  <span class="ruby-identifier">validate_workbook</span>
2805
2878
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
@@ -2858,7 +2931,7 @@ being “pushed down”</p>
2858
2931
 
2859
2932
 
2860
2933
  <div class="method-source-code" id="insert_row-source">
2861
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 367</span>
2934
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 373</span>
2862
2935
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">insert_row</span>(<span class="ruby-identifier">row_index</span> = <span class="ruby-value">0</span>)
2863
2936
  <span class="ruby-identifier">validate_workbook</span>
2864
2937
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row_index</span>)
@@ -2914,7 +2987,7 @@ being “pushed down”</p>
2914
2987
 
2915
2988
 
2916
2989
  <div class="method-source-code" id="is_column_bolded-source">
2917
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 581</span>
2990
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 587</span>
2918
2991
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">is_column_bolded</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
2919
2992
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
2920
2993
  <span class="ruby-identifier">font</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_bold</span>
@@ -2948,7 +3021,7 @@ being “pushed down”</p>
2948
3021
 
2949
3022
 
2950
3023
  <div class="method-source-code" id="is_column_italicized-source">
2951
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 576</span>
3024
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 582</span>
2952
3025
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">is_column_italicized</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
2953
3026
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
2954
3027
  <span class="ruby-identifier">font</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_italic</span>
@@ -2982,7 +3055,7 @@ being “pushed down”</p>
2982
3055
 
2983
3056
 
2984
3057
  <div class="method-source-code" id="is_column_struckthrough-source">
2985
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 591</span>
3058
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 597</span>
2986
3059
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">is_column_struckthrough</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
2987
3060
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
2988
3061
  <span class="ruby-identifier">font</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_strikethrough</span>
@@ -3016,7 +3089,7 @@ being “pushed down”</p>
3016
3089
 
3017
3090
 
3018
3091
  <div class="method-source-code" id="is_column_underlined-source">
3019
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 586</span>
3092
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 592</span>
3020
3093
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">is_column_underlined</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
3021
3094
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
3022
3095
  <span class="ruby-identifier">font</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_underlined</span>
@@ -3050,7 +3123,7 @@ being “pushed down”</p>
3050
3123
 
3051
3124
 
3052
3125
  <div class="method-source-code" id="is_row_bolded-source">
3053
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 513</span>
3126
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 519</span>
3054
3127
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">is_row_bolded</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
3055
3128
  (<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_bold</span>
3056
3129
  <span class="ruby-keyword">end</span></pre>
@@ -3083,7 +3156,7 @@ being “pushed down”</p>
3083
3156
 
3084
3157
 
3085
3158
  <div class="method-source-code" id="is_row_italicized-source">
3086
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 509</span>
3159
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 515</span>
3087
3160
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">is_row_italicized</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
3088
3161
  (<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_italic</span>
3089
3162
  <span class="ruby-keyword">end</span></pre>
@@ -3116,7 +3189,7 @@ being “pushed down”</p>
3116
3189
 
3117
3190
 
3118
3191
  <div class="method-source-code" id="is_row_struckthrough-source">
3119
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 521</span>
3192
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 527</span>
3120
3193
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">is_row_struckthrough</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
3121
3194
  (<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_strikethrough</span>
3122
3195
  <span class="ruby-keyword">end</span></pre>
@@ -3149,7 +3222,7 @@ being “pushed down”</p>
3149
3222
 
3150
3223
 
3151
3224
  <div class="method-source-code" id="is_row_underlined-source">
3152
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 517</span>
3225
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 523</span>
3153
3226
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">is_row_underlined</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
3154
3227
  (<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_underlined</span>
3155
3228
  <span class="ruby-keyword">end</span></pre>
@@ -3182,7 +3255,7 @@ being “pushed down”</p>
3182
3255
 
3183
3256
 
3184
3257
  <div class="method-source-code" id="merge_cells-source">
3185
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 312</span>
3258
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 318</span>
3186
3259
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">merge_cells</span>(<span class="ruby-identifier">row1</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">col1</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">row2</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">col2</span> = <span class="ruby-value">0</span>)
3187
3260
  <span class="ruby-identifier">validate_workbook</span>
3188
3261