rubyXL 3.4.2 → 3.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (374) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/rubyXL/convenience_methods/worksheet.rb +28 -8
  4. data/rdoc/README_rdoc.html +1 -1
  5. data/rdoc/RubyXL.html +1 -1
  6. data/rdoc/RubyXL/AExtension.html +1 -1
  7. data/rdoc/RubyXL/AExtensionStorageArea.html +1 -1
  8. data/rdoc/RubyXL/ActiveX.html +1 -1
  9. data/rdoc/RubyXL/ActiveXBinary.html +1 -1
  10. data/rdoc/RubyXL/AdjustHandleList.html +1 -1
  11. data/rdoc/RubyXL/Alignment.html +1 -1
  12. data/rdoc/RubyXL/AlternateContent.html +1 -1
  13. data/rdoc/RubyXL/Authors.html +1 -1
  14. data/rdoc/RubyXL/AutoFilter.html +1 -1
  15. data/rdoc/RubyXL/AutoFilterColumn.html +1 -1
  16. data/rdoc/RubyXL/BinaryImageFile.html +1 -1
  17. data/rdoc/RubyXL/BodyProperties.html +1 -1
  18. data/rdoc/RubyXL/BooleanNode.html +1 -1
  19. data/rdoc/RubyXL/BooleanValue.html +1 -1
  20. data/rdoc/RubyXL/Border.html +1 -1
  21. data/rdoc/RubyXL/BorderEdge.html +1 -1
  22. data/rdoc/RubyXL/Borders.html +1 -1
  23. data/rdoc/RubyXL/Break.html +1 -1
  24. data/rdoc/RubyXL/BreakList.html +1 -1
  25. data/rdoc/RubyXL/CT_AdjPoint2D.html +1 -1
  26. data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +1 -1
  27. data/rdoc/RubyXL/CT_AlphaModulateEffect.html +1 -1
  28. data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +1 -1
  29. data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +1 -1
  30. data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +1 -1
  31. data/rdoc/RubyXL/CT_Backdrop.html +1 -1
  32. data/rdoc/RubyXL/CT_Bevel.html +1 -1
  33. data/rdoc/RubyXL/CT_BiLevelEffect.html +1 -1
  34. data/rdoc/RubyXL/CT_BlendEffect.html +1 -1
  35. data/rdoc/RubyXL/CT_Blip.html +1 -1
  36. data/rdoc/RubyXL/CT_BlipFillProperties.html +1 -1
  37. data/rdoc/RubyXL/CT_BlurEffect.html +1 -1
  38. data/rdoc/RubyXL/CT_Camera.html +1 -1
  39. data/rdoc/RubyXL/CT_Color.html +1 -1
  40. data/rdoc/RubyXL/CT_ColorChangeEffect.html +1 -1
  41. data/rdoc/RubyXL/CT_ColorMapping.html +1 -1
  42. data/rdoc/RubyXL/CT_ColorScheme.html +1 -1
  43. data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +1 -1
  44. data/rdoc/RubyXL/CT_ConnectionSite.html +1 -1
  45. data/rdoc/RubyXL/CT_ConnectionSiteList.html +1 -1
  46. data/rdoc/RubyXL/CT_DashStop.html +1 -1
  47. data/rdoc/RubyXL/CT_DashStopList.html +1 -1
  48. data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +1 -1
  49. data/rdoc/RubyXL/CT_DuotoneEffect.html +1 -1
  50. data/rdoc/RubyXL/CT_EffectContainer.html +1 -1
  51. data/rdoc/RubyXL/CT_EffectList.html +1 -1
  52. data/rdoc/RubyXL/CT_EffectReference.html +1 -1
  53. data/rdoc/RubyXL/CT_EffectStyleItem.html +1 -1
  54. data/rdoc/RubyXL/CT_EffectStyleList.html +1 -1
  55. data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +1 -1
  56. data/rdoc/RubyXL/CT_FillEffect.html +1 -1
  57. data/rdoc/RubyXL/CT_FillOverlayEffect.html +1 -1
  58. data/rdoc/RubyXL/CT_FillStyleList.html +1 -1
  59. data/rdoc/RubyXL/CT_FlatText.html +1 -1
  60. data/rdoc/RubyXL/CT_FontCollection.html +1 -1
  61. data/rdoc/RubyXL/CT_FontReference.html +1 -1
  62. data/rdoc/RubyXL/CT_GeomGuideList.html +1 -1
  63. data/rdoc/RubyXL/CT_GlowEffect.html +1 -1
  64. data/rdoc/RubyXL/CT_GradientFillProperties.html +1 -1
  65. data/rdoc/RubyXL/CT_GradientStop.html +1 -1
  66. data/rdoc/RubyXL/CT_GradientStopList.html +1 -1
  67. data/rdoc/RubyXL/CT_HSLEffect.html +1 -1
  68. data/rdoc/RubyXL/CT_HslColor.html +1 -1
  69. data/rdoc/RubyXL/CT_Hyperlink.html +1 -1
  70. data/rdoc/RubyXL/CT_InnerShadowEffect.html +1 -1
  71. data/rdoc/RubyXL/CT_LightRig.html +1 -1
  72. data/rdoc/RubyXL/CT_LineEndProperties.html +1 -1
  73. data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +1 -1
  74. data/rdoc/RubyXL/CT_LineProperties.html +1 -1
  75. data/rdoc/RubyXL/CT_LineStyleList.html +1 -1
  76. data/rdoc/RubyXL/CT_LinearShadeProperties.html +1 -1
  77. data/rdoc/RubyXL/CT_LuminanceEffect.html +1 -1
  78. data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +1 -1
  79. data/rdoc/RubyXL/CT_OuterShadowEffect.html +1 -1
  80. data/rdoc/RubyXL/CT_Path2D.html +1 -1
  81. data/rdoc/RubyXL/CT_Path2DArcTo.html +1 -1
  82. data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +1 -1
  83. data/rdoc/RubyXL/CT_Path2DList.html +1 -1
  84. data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +1 -1
  85. data/rdoc/RubyXL/CT_Path2DTo.html +1 -1
  86. data/rdoc/RubyXL/CT_PathShadeProperties.html +1 -1
  87. data/rdoc/RubyXL/CT_PatternFillProperties.html +1 -1
  88. data/rdoc/RubyXL/CT_Point3D.html +1 -1
  89. data/rdoc/RubyXL/CT_PolarAdjustHandle.html +1 -1
  90. data/rdoc/RubyXL/CT_PresetColor.html +1 -1
  91. data/rdoc/RubyXL/CT_PresetLineDashProperties.html +1 -1
  92. data/rdoc/RubyXL/CT_PresetShadowEffect.html +1 -1
  93. data/rdoc/RubyXL/CT_PresetTextShape.html +1 -1
  94. data/rdoc/RubyXL/CT_ReflectionEffect.html +1 -1
  95. data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +1 -1
  96. data/rdoc/RubyXL/CT_RelativeRect.html +1 -1
  97. data/rdoc/RubyXL/CT_SRgbColor.html +1 -1
  98. data/rdoc/RubyXL/CT_ScRgbColor.html +1 -1
  99. data/rdoc/RubyXL/CT_Scene3D.html +1 -1
  100. data/rdoc/RubyXL/CT_SchemeColor.html +1 -1
  101. data/rdoc/RubyXL/CT_Shape3D.html +1 -1
  102. data/rdoc/RubyXL/CT_ShapeStyle.html +1 -1
  103. data/rdoc/RubyXL/CT_SoftEdgesEffect.html +1 -1
  104. data/rdoc/RubyXL/CT_SphereCoords.html +1 -1
  105. data/rdoc/RubyXL/CT_StretchInfoProperties.html +1 -1
  106. data/rdoc/RubyXL/CT_StyleMatrix.html +1 -1
  107. data/rdoc/RubyXL/CT_StyleMatrixReference.html +1 -1
  108. data/rdoc/RubyXL/CT_SupplementalFont.html +1 -1
  109. data/rdoc/RubyXL/CT_SystemColor.html +1 -1
  110. data/rdoc/RubyXL/CT_TextAutonumberBullet.html +1 -1
  111. data/rdoc/RubyXL/CT_TextBlipBullet.html +1 -1
  112. data/rdoc/RubyXL/CT_TextCharBullet.html +1 -1
  113. data/rdoc/RubyXL/CT_TextCharacterProperties.html +1 -1
  114. data/rdoc/RubyXL/CT_TextFont.html +1 -1
  115. data/rdoc/RubyXL/CT_TextListStyle.html +1 -1
  116. data/rdoc/RubyXL/CT_TextNormalAutofit.html +1 -1
  117. data/rdoc/RubyXL/CT_TextParagraphProperties.html +1 -1
  118. data/rdoc/RubyXL/CT_TextSpacing.html +1 -1
  119. data/rdoc/RubyXL/CT_TextTabStop.html +1 -1
  120. data/rdoc/RubyXL/CT_TextTabStopList.html +1 -1
  121. data/rdoc/RubyXL/CT_TileInfoProperties.html +1 -1
  122. data/rdoc/RubyXL/CT_TintEffect.html +1 -1
  123. data/rdoc/RubyXL/CT_Transform2D.html +1 -1
  124. data/rdoc/RubyXL/CT_TransformEffect.html +1 -1
  125. data/rdoc/RubyXL/CT_Vector3D.html +1 -1
  126. data/rdoc/RubyXL/CT_XYAdjustHandle.html +1 -1
  127. data/rdoc/RubyXL/CalculationChain.html +1 -1
  128. data/rdoc/RubyXL/CalculationChainCell.html +1 -1
  129. data/rdoc/RubyXL/CalculationProperties.html +1 -1
  130. data/rdoc/RubyXL/Cell.html +1 -1
  131. data/rdoc/RubyXL/CellConvenienceMethods.html +1 -1
  132. data/rdoc/RubyXL/CellExt.html +1 -1
  133. data/rdoc/RubyXL/CellSmartTag.html +1 -1
  134. data/rdoc/RubyXL/CellSmartTagProperty.html +1 -1
  135. data/rdoc/RubyXL/CellSmartTags.html +1 -1
  136. data/rdoc/RubyXL/CellStyle.html +1 -1
  137. data/rdoc/RubyXL/CellStyleXFs.html +1 -1
  138. data/rdoc/RubyXL/CellStyles.html +1 -1
  139. data/rdoc/RubyXL/CellValue.html +1 -1
  140. data/rdoc/RubyXL/CellWatch.html +1 -1
  141. data/rdoc/RubyXL/CellWatches.html +1 -1
  142. data/rdoc/RubyXL/CellXFs.html +1 -1
  143. data/rdoc/RubyXL/ChartColorsFile.html +1 -1
  144. data/rdoc/RubyXL/ChartFile.html +1 -1
  145. data/rdoc/RubyXL/ChartStyleFile.html +1 -1
  146. data/rdoc/RubyXL/ChartUserShapesFile.html +1 -1
  147. data/rdoc/RubyXL/Chartsheet.html +1 -1
  148. data/rdoc/RubyXL/ChartsheetPageSetup.html +1 -1
  149. data/rdoc/RubyXL/ChartsheetProperties.html +1 -1
  150. data/rdoc/RubyXL/ChartsheetProtection.html +1 -1
  151. data/rdoc/RubyXL/ChartsheetView.html +1 -1
  152. data/rdoc/RubyXL/ChartsheetViews.html +1 -1
  153. data/rdoc/RubyXL/Color.html +1 -1
  154. data/rdoc/RubyXL/ColorConvenienceClasses.html +1 -1
  155. data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +1 -1
  156. data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +1 -1
  157. data/rdoc/RubyXL/ColorConvenienceMethods.html +1 -1
  158. data/rdoc/RubyXL/ColorFilter.html +1 -1
  159. data/rdoc/RubyXL/ColorScale.html +1 -1
  160. data/rdoc/RubyXL/ColorSet.html +1 -1
  161. data/rdoc/RubyXL/Colors.html +1 -1
  162. data/rdoc/RubyXL/ColumnRange.html +1 -1
  163. data/rdoc/RubyXL/ColumnRanges.html +1 -1
  164. data/rdoc/RubyXL/Comment.html +1 -1
  165. data/rdoc/RubyXL/CommentList.html +1 -1
  166. data/rdoc/RubyXL/CommentsFile.html +1 -1
  167. data/rdoc/RubyXL/ConditionalFormatValue.html +1 -1
  168. data/rdoc/RubyXL/ConditionalFormatting.html +1 -1
  169. data/rdoc/RubyXL/ConditionalFormattingRule.html +1 -1
  170. data/rdoc/RubyXL/ContentTypeDefault.html +1 -1
  171. data/rdoc/RubyXL/ContentTypeOverride.html +1 -1
  172. data/rdoc/RubyXL/ContentTypes.html +1 -1
  173. data/rdoc/RubyXL/ControlPropertiesFile.html +1 -1
  174. data/rdoc/RubyXL/CorePropertiesFile.html +1 -1
  175. data/rdoc/RubyXL/CustomColor.html +1 -1
  176. data/rdoc/RubyXL/CustomColorList.html +1 -1
  177. data/rdoc/RubyXL/CustomFilter.html +1 -1
  178. data/rdoc/RubyXL/CustomFilters.html +1 -1
  179. data/rdoc/RubyXL/CustomGeometry.html +1 -1
  180. data/rdoc/RubyXL/CustomProperties.html +1 -1
  181. data/rdoc/RubyXL/CustomPropertiesFile.html +1 -1
  182. data/rdoc/RubyXL/CustomProperty.html +1 -1
  183. data/rdoc/RubyXL/CustomPropertyFile.html +1 -1
  184. data/rdoc/RubyXL/CustomSheetView.html +1 -1
  185. data/rdoc/RubyXL/CustomSheetViews.html +1 -1
  186. data/rdoc/RubyXL/CustomWorkbookView.html +1 -1
  187. data/rdoc/RubyXL/CustomWorkbookViews.html +1 -1
  188. data/rdoc/RubyXL/CustomXMLFile.html +1 -1
  189. data/rdoc/RubyXL/DXF.html +1 -1
  190. data/rdoc/RubyXL/DXFs.html +1 -1
  191. data/rdoc/RubyXL/DataBar.html +1 -1
  192. data/rdoc/RubyXL/DataConsolidate.html +1 -1
  193. data/rdoc/RubyXL/DataConsolidationReference.html +1 -1
  194. data/rdoc/RubyXL/DataConsolidationReferences.html +1 -1
  195. data/rdoc/RubyXL/DataType.html +1 -1
  196. data/rdoc/RubyXL/DataValidation.html +1 -1
  197. data/rdoc/RubyXL/DataValidations.html +1 -1
  198. data/rdoc/RubyXL/DateGroupItem.html +1 -1
  199. data/rdoc/RubyXL/DefinedName.html +1 -1
  200. data/rdoc/RubyXL/DefinedNameExt.html +1 -1
  201. data/rdoc/RubyXL/DefinedNames.html +1 -1
  202. data/rdoc/RubyXL/DefinedNamesExt.html +1 -1
  203. data/rdoc/RubyXL/DocumentPropertiesFile.html +1 -1
  204. data/rdoc/RubyXL/DrawingFile.html +1 -1
  205. data/rdoc/RubyXL/DynamicFilter.html +1 -1
  206. data/rdoc/RubyXL/EmbeddedControl.html +1 -1
  207. data/rdoc/RubyXL/EmbeddedControls.html +1 -1
  208. data/rdoc/RubyXL/Extension.html +1 -1
  209. data/rdoc/RubyXL/ExtensionStorageArea.html +1 -1
  210. data/rdoc/RubyXL/Extents.html +1 -1
  211. data/rdoc/RubyXL/ExternalBook.html +1 -1
  212. data/rdoc/RubyXL/ExternalLinksFile.html +1 -1
  213. data/rdoc/RubyXL/ExternalReference.html +1 -1
  214. data/rdoc/RubyXL/ExternalReferences.html +1 -1
  215. data/rdoc/RubyXL/ExtraColorSchemeList.html +1 -1
  216. data/rdoc/RubyXL/FieldItem.html +1 -1
  217. data/rdoc/RubyXL/FileRecoveryProperties.html +1 -1
  218. data/rdoc/RubyXL/FileSharing.html +1 -1
  219. data/rdoc/RubyXL/FileVersion.html +1 -1
  220. data/rdoc/RubyXL/Fill.html +1 -1
  221. data/rdoc/RubyXL/Fills.html +1 -1
  222. data/rdoc/RubyXL/FilterContainer.html +1 -1
  223. data/rdoc/RubyXL/FloatNode.html +1 -1
  224. data/rdoc/RubyXL/FloatValue.html +1 -1
  225. data/rdoc/RubyXL/Font.html +1 -1
  226. data/rdoc/RubyXL/FontConvenienceMethods.html +1 -1
  227. data/rdoc/RubyXL/FontScheme.html +1 -1
  228. data/rdoc/RubyXL/Fonts.html +1 -1
  229. data/rdoc/RubyXL/Formula.html +1 -1
  230. data/rdoc/RubyXL/FunctionGroup.html +1 -1
  231. data/rdoc/RubyXL/FunctionGroups.html +1 -1
  232. data/rdoc/RubyXL/GenericStorageObject.html +1 -1
  233. data/rdoc/RubyXL/GradientFill.html +1 -1
  234. data/rdoc/RubyXL/HeaderFooterSettings.html +1 -1
  235. data/rdoc/RubyXL/Hyperlink.html +1 -1
  236. data/rdoc/RubyXL/HyperlinkRelFile.html +1 -1
  237. data/rdoc/RubyXL/Hyperlinks.html +1 -1
  238. data/rdoc/RubyXL/IconFilter.html +1 -1
  239. data/rdoc/RubyXL/IconSet.html +1 -1
  240. data/rdoc/RubyXL/IgnoredError.html +1 -1
  241. data/rdoc/RubyXL/IgnoredErrors.html +1 -1
  242. data/rdoc/RubyXL/IndexedColors.html +1 -1
  243. data/rdoc/RubyXL/InputCells.html +1 -1
  244. data/rdoc/RubyXL/IntegerNode.html +1 -1
  245. data/rdoc/RubyXL/IntegerValue.html +1 -1
  246. data/rdoc/RubyXL/LegacyCell.html +1 -1
  247. data/rdoc/RubyXL/LegacyWorksheet.html +1 -1
  248. data/rdoc/RubyXL/MRUColors.html +1 -1
  249. data/rdoc/RubyXL/MacrosFile.html +1 -1
  250. data/rdoc/RubyXL/MergedCell.html +1 -1
  251. data/rdoc/RubyXL/MergedCells.html +1 -1
  252. data/rdoc/RubyXL/NumFmt.html +1 -1
  253. data/rdoc/RubyXL/NumberFormat.html +1 -1
  254. data/rdoc/RubyXL/NumberFormats.html +1 -1
  255. data/rdoc/RubyXL/OLEObject.html +1 -1
  256. data/rdoc/RubyXL/OLEObjectFile.html +1 -1
  257. data/rdoc/RubyXL/OLEObjects.html +1 -1
  258. data/rdoc/RubyXL/OLESize.html +1 -1
  259. data/rdoc/RubyXL/OOXMLContainerObject.html +1 -1
  260. data/rdoc/RubyXL/OOXMLIgnored.html +1 -1
  261. data/rdoc/RubyXL/OOXMLObject.html +1 -1
  262. data/rdoc/RubyXL/OOXMLObjectClassMethods.html +1 -1
  263. data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +1 -1
  264. data/rdoc/RubyXL/OOXMLRelationshipsFile.html +1 -1
  265. data/rdoc/RubyXL/OOXMLTopLevelObject.html +1 -1
  266. data/rdoc/RubyXL/Offset.html +1 -1
  267. data/rdoc/RubyXL/OutlineProperties.html +1 -1
  268. data/rdoc/RubyXL/PageMargins.html +1 -1
  269. data/rdoc/RubyXL/PageSetup.html +1 -1
  270. data/rdoc/RubyXL/PageSetupProperties.html +1 -1
  271. data/rdoc/RubyXL/Pane.html +1 -1
  272. data/rdoc/RubyXL/Parser.html +1 -1
  273. data/rdoc/RubyXL/PatternFill.html +1 -1
  274. data/rdoc/RubyXL/PhoneticProperties.html +1 -1
  275. data/rdoc/RubyXL/PhoneticRun.html +1 -1
  276. data/rdoc/RubyXL/PivotArea.html +1 -1
  277. data/rdoc/RubyXL/PivotCache.html +1 -1
  278. data/rdoc/RubyXL/PivotCacheDefinitionFile.html +1 -1
  279. data/rdoc/RubyXL/PivotCacheRecordsFile.html +1 -1
  280. data/rdoc/RubyXL/PivotCaches.html +1 -1
  281. data/rdoc/RubyXL/PivotReference.html +1 -1
  282. data/rdoc/RubyXL/PivotReferences.html +1 -1
  283. data/rdoc/RubyXL/PivotTableFile.html +1 -1
  284. data/rdoc/RubyXL/PivotTableSelection.html +1 -1
  285. data/rdoc/RubyXL/PresetGeometry.html +1 -1
  286. data/rdoc/RubyXL/PrintOptions.html +1 -1
  287. data/rdoc/RubyXL/PrinterSettingsFile.html +1 -1
  288. data/rdoc/RubyXL/ProtectedRange.html +1 -1
  289. data/rdoc/RubyXL/ProtectedRanges.html +1 -1
  290. data/rdoc/RubyXL/Protection.html +1 -1
  291. data/rdoc/RubyXL/RID.html +1 -1
  292. data/rdoc/RubyXL/RawOOXML.html +1 -1
  293. data/rdoc/RubyXL/Reference.html +1 -1
  294. data/rdoc/RubyXL/Relationship.html +1 -1
  295. data/rdoc/RubyXL/RelationshipSupport.html +1 -1
  296. data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +1 -1
  297. data/rdoc/RubyXL/RevisionPointer.html +1 -1
  298. data/rdoc/RubyXL/RichText.html +1 -1
  299. data/rdoc/RubyXL/RichTextRun.html +1 -1
  300. data/rdoc/RubyXL/Row.html +1 -1
  301. data/rdoc/RubyXL/RowExt.html +1 -1
  302. data/rdoc/RubyXL/RunProperties.html +1 -1
  303. data/rdoc/RubyXL/Scenario.html +1 -1
  304. data/rdoc/RubyXL/Scenarios.html +1 -1
  305. data/rdoc/RubyXL/Selection.html +1 -1
  306. data/rdoc/RubyXL/ShapeGuide.html +1 -1
  307. data/rdoc/RubyXL/ShapeTextRectangle.html +1 -1
  308. data/rdoc/RubyXL/SharedStringsTable.html +1 -1
  309. data/rdoc/RubyXL/Sheet.html +1 -1
  310. data/rdoc/RubyXL/SheetCalculationProperties.html +1 -1
  311. data/rdoc/RubyXL/SheetData.html +1 -1
  312. data/rdoc/RubyXL/SheetDataExt.html +1 -1
  313. data/rdoc/RubyXL/SheetDataSet.html +1 -1
  314. data/rdoc/RubyXL/SheetName.html +1 -1
  315. data/rdoc/RubyXL/SheetNames.html +1 -1
  316. data/rdoc/RubyXL/Sheets.html +1 -1
  317. data/rdoc/RubyXL/SlicerCacheFile.html +1 -1
  318. data/rdoc/RubyXL/SlicerFile.html +1 -1
  319. data/rdoc/RubyXL/SmartTagProperties.html +1 -1
  320. data/rdoc/RubyXL/SmartTagType.html +1 -1
  321. data/rdoc/RubyXL/SmartTagTypes.html +1 -1
  322. data/rdoc/RubyXL/SmartTags.html +1 -1
  323. data/rdoc/RubyXL/SortCondition.html +1 -1
  324. data/rdoc/RubyXL/SortState.html +1 -1
  325. data/rdoc/RubyXL/Sqref.html +1 -1
  326. data/rdoc/RubyXL/Stop.html +1 -1
  327. data/rdoc/RubyXL/StringNode.html +1 -1
  328. data/rdoc/RubyXL/StringNodeW3C.html +1 -1
  329. data/rdoc/RubyXL/StringValue.html +1 -1
  330. data/rdoc/RubyXL/Stylesheet.html +1 -1
  331. data/rdoc/RubyXL/TableFile.html +1 -1
  332. data/rdoc/RubyXL/TableParts.html +1 -1
  333. data/rdoc/RubyXL/TableStyle.html +1 -1
  334. data/rdoc/RubyXL/TableStyles.html +1 -1
  335. data/rdoc/RubyXL/Text.html +1 -1
  336. data/rdoc/RubyXL/Theme.html +1 -1
  337. data/rdoc/RubyXL/ThemeElements.html +1 -1
  338. data/rdoc/RubyXL/ThumbnailFile.html +1 -1
  339. data/rdoc/RubyXL/Top10.html +1 -1
  340. data/rdoc/RubyXL/VMLDrawingFile.html +1 -1
  341. data/rdoc/RubyXL/Variant.html +1 -1
  342. data/rdoc/RubyXL/Vector.html +1 -1
  343. data/rdoc/RubyXL/VectorValue.html +1 -1
  344. data/rdoc/RubyXL/VisualProperties.html +1 -1
  345. data/rdoc/RubyXL/WebPublishObject.html +1 -1
  346. data/rdoc/RubyXL/WebPublishObjects.html +1 -1
  347. data/rdoc/RubyXL/WebPublishingItem.html +1 -1
  348. data/rdoc/RubyXL/WebPublishingItems.html +1 -1
  349. data/rdoc/RubyXL/WebPublishingProperties.html +1 -1
  350. data/rdoc/RubyXL/Workbook.html +1 -1
  351. data/rdoc/RubyXL/WorkbookConvenienceMethods.html +1 -1
  352. data/rdoc/RubyXL/WorkbookProperties.html +1 -1
  353. data/rdoc/RubyXL/WorkbookProtection.html +1 -1
  354. data/rdoc/RubyXL/WorkbookRoot.html +1 -1
  355. data/rdoc/RubyXL/WorkbookView.html +1 -1
  356. data/rdoc/RubyXL/WorkbookViews.html +1 -1
  357. data/rdoc/RubyXL/Worksheet.html +1 -1
  358. data/rdoc/RubyXL/WorksheetConvenienceMethods.html +96 -76
  359. data/rdoc/RubyXL/WorksheetDimensions.html +1 -1
  360. data/rdoc/RubyXL/WorksheetFormatProperties.html +1 -1
  361. data/rdoc/RubyXL/WorksheetProperties.html +1 -1
  362. data/rdoc/RubyXL/WorksheetProtection.html +1 -1
  363. data/rdoc/RubyXL/WorksheetView.html +1 -1
  364. data/rdoc/RubyXL/WorksheetViews.html +1 -1
  365. data/rdoc/RubyXL/XF.html +1 -1
  366. data/rdoc/created.rid +2 -2
  367. data/rdoc/index.html +2 -2
  368. data/rdoc/js/navigation.js.gz +0 -0
  369. data/rdoc/js/search_index.js.gz +0 -0
  370. data/rdoc/js/searcher.js.gz +0 -0
  371. data/rdoc/table_of_contents.html +2 -2
  372. data/rubyXL.gemspec +3 -3
  373. data/spec/lib/worksheet_spec.rb +87 -25
  374. metadata +2 -2
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::SheetNames - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::SheetNames - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Sheets - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::Sheets - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::SlicerCacheFile - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::SlicerCacheFile - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::SlicerFile - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::SlicerFile - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::SmartTagProperties - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::SmartTagProperties - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::SmartTagType - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::SmartTagType - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::SmartTagTypes - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::SmartTagTypes - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::SmartTags - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::SmartTags - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::SortCondition - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::SortCondition - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::SortState - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::SortState - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Sqref - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::Sqref - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Stop - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::Stop - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::StringNode - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::StringNode - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::StringNodeW3C - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::StringNodeW3C - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::StringValue - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::StringValue - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Stylesheet - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::Stylesheet - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::TableFile - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::TableFile - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::TableParts - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::TableParts - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::TableStyle - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::TableStyle - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::TableStyles - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::TableStyles - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Text - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::Text - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Theme - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::Theme - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::ThemeElements - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::ThemeElements - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::ThumbnailFile - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::ThumbnailFile - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Top10 - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::Top10 - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::VMLDrawingFile - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::VMLDrawingFile - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Variant - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::Variant - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Vector - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::Vector - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::VectorValue - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::VectorValue - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::VisualProperties - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::VisualProperties - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WebPublishObject - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::WebPublishObject - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WebPublishObjects - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::WebPublishObjects - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WebPublishingItem - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::WebPublishingItem - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WebPublishingItems - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::WebPublishingItems - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WebPublishingProperties - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::WebPublishingProperties - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Workbook - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::Workbook - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>module RubyXL::WorkbookConvenienceMethods - rubyXL 3.4.2</title>
7
+ <title>module RubyXL::WorkbookConvenienceMethods - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WorkbookProperties - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::WorkbookProperties - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WorkbookProtection - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::WorkbookProtection - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WorkbookRoot - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::WorkbookRoot - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WorkbookView - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::WorkbookView - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WorkbookViews - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::WorkbookViews - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Worksheet - rubyXL 3.4.2</title>
7
+ <title>class RubyXL::Worksheet - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>module RubyXL::WorksheetConvenienceMethods - rubyXL 3.4.2</title>
7
+ <title>module RubyXL::WorksheetConvenienceMethods - rubyXL 3.4.3</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -297,7 +297,7 @@
297
297
 
298
298
 
299
299
  <div class="method-source-code" id="change_column_alignment-source">
300
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 592</span>
300
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 611</span>
301
301
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_alignment</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
302
302
  <span class="ruby-identifier">validate_workbook</span>
303
303
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
@@ -307,6 +307,7 @@
307
307
  <span class="ruby-identifier">change_column_width</span>(<span class="ruby-identifier">column_index</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">get_column_width_raw</span>(<span class="ruby-identifier">column_index</span>).<span class="ruby-identifier">nil?</span>
308
308
 
309
309
  <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">row</span><span class="ruby-operator">|</span>
310
+ <span class="ruby-keyword">next</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">nil?</span>
310
311
  <span class="ruby-identifier">c</span> = <span class="ruby-identifier">row</span>[<span class="ruby-identifier">column_index</span>]
311
312
  <span class="ruby-keyword">next</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">nil?</span>
312
313
  <span class="ruby-identifier">c</span>.<span class="ruby-identifier">style_index</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">modify_alignment</span>(<span class="ruby-identifier">c</span>.<span class="ruby-identifier">style_index</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -341,7 +342,7 @@
341
342
 
342
343
 
343
344
  <div class="method-source-code" id="change_column_bold-source">
344
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 525</span>
345
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 542</span>
345
346
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_bold</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">bolded</span> = <span class="ruby-keyword">false</span>)
346
347
  <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
347
348
  <span class="ruby-identifier">font</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">fonts</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">font_id</span>].<span class="ruby-identifier">dup</span>
@@ -377,7 +378,7 @@
377
378
 
378
379
 
379
380
  <div class="method-source-code" id="change_column_border-source">
380
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 554</span>
381
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 571</span>
381
382
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">direction</span>, <span class="ruby-identifier">weight</span>)
382
383
  <span class="ruby-identifier">validate_workbook</span>
383
384
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
@@ -385,8 +386,10 @@
385
386
  <span class="ruby-identifier">cols</span>.<span class="ruby-identifier">get_range</span>(<span class="ruby-identifier">column_index</span>).<span class="ruby-identifier">style_index</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">modify_border</span>(<span class="ruby-identifier">get_col_style</span>(<span class="ruby-identifier">column_index</span>), <span class="ruby-identifier">direction</span>, <span class="ruby-identifier">weight</span>)
386
387
 
387
388
  <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">row</span><span class="ruby-operator">|</span>
389
+ <span class="ruby-keyword">next</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">nil?</span>
388
390
  <span class="ruby-identifier">c</span> = <span class="ruby-identifier">row</span>.<span class="ruby-identifier">cells</span>[<span class="ruby-identifier">column_index</span>]
389
- <span class="ruby-identifier">c</span>.<span class="ruby-identifier">change_border</span>(<span class="ruby-identifier">direction</span>, <span class="ruby-identifier">weight</span>) <span class="ruby-keyword">unless</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">nil?</span>
391
+ <span class="ruby-keyword">next</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">nil?</span>
392
+ <span class="ruby-identifier">c</span>.<span class="ruby-identifier">change_border</span>(<span class="ruby-identifier">direction</span>, <span class="ruby-identifier">weight</span>)
390
393
  }
391
394
  <span class="ruby-keyword">end</span></pre>
392
395
  </div>
@@ -418,7 +421,7 @@
418
421
 
419
422
 
420
423
  <div class="method-source-code" id="change_column_border_color-source">
421
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 566</span>
424
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 585</span>
422
425
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_color</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">direction</span>, <span class="ruby-identifier">color</span>)
423
426
  <span class="ruby-identifier">validate_workbook</span>
424
427
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
@@ -460,7 +463,7 @@
460
463
 
461
464
 
462
465
  <div class="method-source-code" id="change_column_fill-source">
463
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 322</span>
466
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 337</span>
464
467
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_fill</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">color_code</span> = <span class="ruby-string">&#39;ffffff&#39;</span>)
465
468
  <span class="ruby-identifier">validate_workbook</span>
466
469
  <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">color_code</span>)
@@ -469,8 +472,10 @@
469
472
  <span class="ruby-identifier">cols</span>.<span class="ruby-identifier">get_range</span>(<span class="ruby-identifier">column_index</span>).<span class="ruby-identifier">style_index</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">modify_fill</span>(<span class="ruby-identifier">get_col_style</span>(<span class="ruby-identifier">column_index</span>), <span class="ruby-identifier">color_code</span>)
470
473
 
471
474
  <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">row</span><span class="ruby-operator">|</span>
475
+ <span class="ruby-keyword">next</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">nil?</span>
472
476
  <span class="ruby-identifier">c</span> = <span class="ruby-identifier">row</span>[<span class="ruby-identifier">column_index</span>]
473
- <span class="ruby-identifier">c</span>.<span class="ruby-identifier">change_fill</span>(<span class="ruby-identifier">color_code</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">c</span>
477
+ <span class="ruby-keyword">next</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">nil?</span>
478
+ <span class="ruby-identifier">c</span>.<span class="ruby-identifier">change_fill</span>(<span class="ruby-identifier">color_code</span>)
474
479
  }
475
480
  <span class="ruby-keyword">end</span></pre>
476
481
  </div>
@@ -503,7 +508,7 @@ change font, called from each separate font mutator method</p>
503
508
 
504
509
 
505
510
  <div class="method-source-code" id="change_column_font-source">
506
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 482</span>
511
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 499</span>
507
512
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_font</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">change_type</span>, <span class="ruby-identifier">arg</span>, <span class="ruby-identifier">font</span>, <span class="ruby-identifier">xf</span>)
508
513
  <span class="ruby-identifier">validate_workbook</span>
509
514
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
@@ -545,7 +550,7 @@ change font, called from each separate font mutator method</p>
545
550
 
546
551
 
547
552
  <div class="method-source-code" id="change_column_font_color-source">
548
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 509</span>
553
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 526</span>
549
554
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_font_color</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">font_color</span>=<span class="ruby-string">&#39;000000&#39;</span>)
550
555
  <span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">font_color</span>)
551
556
 
@@ -583,7 +588,7 @@ change font, called from each separate font mutator method</p>
583
588
 
584
589
 
585
590
  <div class="method-source-code" id="change_column_font_name-source">
586
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 495</span>
591
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 512</span>
587
592
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_font_name</span>(<span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">font_name</span> = <span class="ruby-string">&#39;Verdana&#39;</span>)
588
593
  <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
589
594
  <span class="ruby-identifier">font</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">fonts</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">font_id</span>].<span class="ruby-identifier">dup</span>
@@ -619,7 +624,7 @@ change font, called from each separate font mutator method</p>
619
624
 
620
625
 
621
626
  <div class="method-source-code" id="change_column_font_size-source">
622
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 502</span>
627
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 519</span>
623
628
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_font_size</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">font_size</span>=<span class="ruby-value">10</span>)
624
629
  <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
625
630
  <span class="ruby-identifier">font</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">fonts</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">font_id</span>].<span class="ruby-identifier">dup</span>
@@ -655,7 +660,7 @@ change font, called from each separate font mutator method</p>
655
660
 
656
661
 
657
662
  <div class="method-source-code" id="change_column_horizontal_alignment-source">
658
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 546</span>
663
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 563</span>
659
664
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_horizontal_alignment</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">alignment</span> = <span class="ruby-string">&#39;center&#39;</span>)
660
665
  <span class="ruby-identifier">change_column_alignment</span>(<span class="ruby-identifier">column_index</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">horizontal</span> = <span class="ruby-identifier">alignment</span> }
661
666
  <span class="ruby-keyword">end</span></pre>
@@ -688,7 +693,7 @@ change font, called from each separate font mutator method</p>
688
693
 
689
694
 
690
695
  <div class="method-source-code" id="change_column_italics-source">
691
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 518</span>
696
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 535</span>
692
697
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_italics</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">italicized</span> = <span class="ruby-keyword">false</span>)
693
698
  <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
694
699
  <span class="ruby-identifier">font</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">fonts</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">font_id</span>].<span class="ruby-identifier">dup</span>
@@ -724,7 +729,7 @@ change font, called from each separate font mutator method</p>
724
729
 
725
730
 
726
731
  <div class="method-source-code" id="change_column_strikethrough-source">
727
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 539</span>
732
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 556</span>
728
733
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_strikethrough</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">struckthrough</span>=<span class="ruby-keyword">false</span>)
729
734
  <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
730
735
  <span class="ruby-identifier">font</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">fonts</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">font_id</span>].<span class="ruby-identifier">dup</span>
@@ -760,7 +765,7 @@ change font, called from each separate font mutator method</p>
760
765
 
761
766
 
762
767
  <div class="method-source-code" id="change_column_underline-source">
763
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 532</span>
768
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 549</span>
764
769
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_underline</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">underlined</span> = <span class="ruby-keyword">false</span>)
765
770
  <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
766
771
  <span class="ruby-identifier">font</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">fonts</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">font_id</span>].<span class="ruby-identifier">dup</span>
@@ -796,7 +801,7 @@ change font, called from each separate font mutator method</p>
796
801
 
797
802
 
798
803
  <div class="method-source-code" id="change_column_vertical_alignment-source">
799
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 550</span>
804
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 567</span>
800
805
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_vertical_alignment</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">alignment</span> = <span class="ruby-string">&#39;center&#39;</span>)
801
806
  <span class="ruby-identifier">change_column_alignment</span>(<span class="ruby-identifier">column_index</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">vertical</span> = <span class="ruby-identifier">alignment</span> }
802
807
  <span class="ruby-keyword">end</span></pre>
@@ -830,7 +835,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
830
835
 
831
836
 
832
837
  <div class="method-source-code" id="change_column_width-source">
833
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 305</span>
838
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 320</span>
834
839
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_width</span>(<span class="ruby-identifier">column_index</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>)
835
840
  <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>)
836
841
  <span class="ruby-keyword">end</span></pre>
@@ -863,7 +868,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
863
868
 
864
869
 
865
870
  <div class="method-source-code" id="change_column_width_raw-source">
866
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 295</span>
871
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 310</span>
867
872
  <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>)
868
873
  <span class="ruby-identifier">validate_workbook</span>
869
874
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
@@ -900,7 +905,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
900
905
 
901
906
 
902
907
  <div class="method-source-code" id="change_row_alignment-source">
903
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 579</span>
908
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 598</span>
904
909
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_alignment</span>(<span class="ruby-identifier">row</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
905
910
  <span class="ruby-identifier">validate_workbook</span>
906
911
  <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
@@ -942,7 +947,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
942
947
 
943
948
 
944
949
  <div class="method-source-code" id="change_row_bold-source">
945
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 450</span>
950
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 467</span>
946
951
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_bold</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">bolded</span> = <span class="ruby-keyword">false</span>)
947
952
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
948
953
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>).<span class="ruby-identifier">dup</span>
@@ -978,7 +983,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
978
983
 
979
984
 
980
985
  <div class="method-source-code" id="change_row_border-source">
981
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 376</span>
986
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 393</span>
982
987
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">direction</span>, <span class="ruby-identifier">weight</span>)
983
988
  <span class="ruby-identifier">validate_workbook</span>
984
989
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
@@ -1018,7 +1023,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
1018
1023
 
1019
1024
 
1020
1025
  <div class="method-source-code" id="change_row_border_color-source">
1021
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 387</span>
1026
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 404</span>
1022
1027
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_border_color</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">direction</span>, <span class="ruby-identifier">color</span> = <span class="ruby-string">&#39;000000&#39;</span>)
1023
1028
  <span class="ruby-identifier">validate_workbook</span>
1024
1029
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
@@ -1059,7 +1064,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
1059
1064
 
1060
1065
 
1061
1066
  <div class="method-source-code" id="change_row_fill-source">
1062
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 399</span>
1067
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 416</span>
1063
1068
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_fill</span>(<span class="ruby-identifier">row_index</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">rgb</span> = <span class="ruby-string">&#39;ffffff&#39;</span>)
1064
1069
  <span class="ruby-identifier">validate_workbook</span>
1065
1070
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row_index</span>)
@@ -1101,7 +1106,7 @@ change font, called from each separate font mutator method</p>
1101
1106
 
1102
1107
 
1103
1108
  <div class="method-source-code" id="change_row_font-source">
1104
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 411</span>
1109
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 428</span>
1105
1110
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_font</span>(<span class="ruby-identifier">row_index</span>, <span class="ruby-identifier">change_type</span>, <span class="ruby-identifier">arg</span>, <span class="ruby-identifier">font</span>)
1106
1111
  <span class="ruby-identifier">validate_workbook</span>
1107
1112
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row_index</span>)
@@ -1140,7 +1145,7 @@ change font, called from each separate font mutator method</p>
1140
1145
 
1141
1146
 
1142
1147
  <div class="method-source-code" id="change_row_font_color-source">
1143
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 435</span>
1148
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 452</span>
1144
1149
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_font_color</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">font_color</span> = <span class="ruby-string">&#39;000000&#39;</span>)
1145
1150
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
1146
1151
  <span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">font_color</span>)
@@ -1177,7 +1182,7 @@ change font, called from each separate font mutator method</p>
1177
1182
 
1178
1183
 
1179
1184
  <div class="method-source-code" id="change_row_font_name-source">
1180
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 421</span>
1185
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 438</span>
1181
1186
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_font_name</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">font_name</span> = <span class="ruby-string">&#39;Verdana&#39;</span>)
1182
1187
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
1183
1188
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>).<span class="ruby-identifier">dup</span>
@@ -1213,7 +1218,7 @@ change font, called from each separate font mutator method</p>
1213
1218
 
1214
1219
 
1215
1220
  <div class="method-source-code" id="change_row_font_size-source">
1216
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 428</span>
1221
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 445</span>
1217
1222
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_font_size</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">font_size</span>=<span class="ruby-value">10</span>)
1218
1223
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
1219
1224
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>).<span class="ruby-identifier">dup</span>
@@ -1249,7 +1254,7 @@ change font, called from each separate font mutator method</p>
1249
1254
 
1250
1255
 
1251
1256
  <div class="method-source-code" id="change_row_height-source">
1252
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 471</span>
1257
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 488</span>
1253
1258
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_height</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">height</span> = <span class="ruby-value">10</span>)
1254
1259
  <span class="ruby-identifier">validate_workbook</span>
1255
1260
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
@@ -1287,7 +1292,7 @@ change font, called from each separate font mutator method</p>
1287
1292
 
1288
1293
 
1289
1294
  <div class="method-source-code" id="change_row_horizontal_alignment-source">
1290
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 364</span>
1295
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 381</span>
1291
1296
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_horizontal_alignment</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">alignment</span> = <span class="ruby-string">&#39;center&#39;</span>)
1292
1297
  <span class="ruby-identifier">validate_workbook</span>
1293
1298
  <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
@@ -1322,7 +1327,7 @@ change font, called from each separate font mutator method</p>
1322
1327
 
1323
1328
 
1324
1329
  <div class="method-source-code" id="change_row_italics-source">
1325
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 443</span>
1330
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 460</span>
1326
1331
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_italics</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">italicized</span> = <span class="ruby-keyword">false</span>)
1327
1332
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
1328
1333
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>).<span class="ruby-identifier">dup</span>
@@ -1358,7 +1363,7 @@ change font, called from each separate font mutator method</p>
1358
1363
 
1359
1364
 
1360
1365
  <div class="method-source-code" id="change_row_strikethrough-source">
1361
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 464</span>
1366
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 481</span>
1362
1367
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_strikethrough</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">struckthrough</span>=<span class="ruby-keyword">false</span>)
1363
1368
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
1364
1369
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>).<span class="ruby-identifier">dup</span>
@@ -1394,7 +1399,7 @@ change font, called from each separate font mutator method</p>
1394
1399
 
1395
1400
 
1396
1401
  <div class="method-source-code" id="change_row_underline-source">
1397
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 457</span>
1402
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 474</span>
1398
1403
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_underline</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">underlined</span>=<span class="ruby-keyword">false</span>)
1399
1404
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
1400
1405
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>).<span class="ruby-identifier">dup</span>
@@ -1430,7 +1435,7 @@ change font, called from each separate font mutator method</p>
1430
1435
 
1431
1436
 
1432
1437
  <div class="method-source-code" id="change_row_vertical_alignment-source">
1433
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 370</span>
1438
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 387</span>
1434
1439
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_vertical_alignment</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">alignment</span> = <span class="ruby-string">&#39;center&#39;</span>)
1435
1440
  <span class="ruby-identifier">validate_workbook</span>
1436
1441
  <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
@@ -1465,7 +1470,7 @@ change font, called from each separate font mutator method</p>
1465
1470
 
1466
1471
 
1467
1472
  <div class="method-source-code" id="column_font-source">
1468
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 351</span>
1473
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 368</span>
1469
1474
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
1470
1475
  <span class="ruby-identifier">validate_workbook</span>
1471
1476
 
@@ -1502,7 +1507,7 @@ specified, method will shift column contents below the deleted cell upward</p>
1502
1507
 
1503
1508
 
1504
1509
  <div class="method-source-code" id="delete_cell-source">
1505
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 35</span>
1510
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 41</span>
1506
1511
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">delete_cell</span>(<span class="ruby-identifier">row_index</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">shift</span>=<span class="ruby-keyword">nil</span>)
1507
1512
  <span class="ruby-identifier">validate_workbook</span>
1508
1513
  <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row_index</span>)
@@ -1518,8 +1523,14 @@ specified, method will shift column contents below the deleted cell upward</p>
1518
1523
  <span class="ruby-identifier">row</span>.<span class="ruby-identifier">delete_cell_shift_left</span>(<span class="ruby-identifier">column_index</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">row</span>
1519
1524
  <span class="ruby-keyword">when</span> <span class="ruby-value">:up</span> <span class="ruby-keyword">then</span>
1520
1525
  (<span class="ruby-identifier">row_index</span><span class="ruby-operator">...</span>(<span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">-</span> <span class="ruby-value">1</span>)).<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">index</span><span class="ruby-operator">|</span>
1521
- <span class="ruby-identifier">c</span> = <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">index</span>].<span class="ruby-identifier">cells</span>[<span class="ruby-identifier">column_index</span>] = <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">index</span> <span class="ruby-operator">+</span> <span class="ruby-value">1</span>].<span class="ruby-identifier">cells</span>[<span class="ruby-identifier">column_index</span>]
1522
- <span class="ruby-identifier">c</span>.<span class="ruby-identifier">row</span> <span class="ruby-operator">-=</span> <span class="ruby-value">1</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Cell</span>)
1526
+ <span class="ruby-identifier">old_row</span> = <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">index</span> <span class="ruby-operator">+</span> <span class="ruby-value">1</span>]
1527
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">old_row</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-keyword">then</span>
1528
+ <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">index</span>] = <span class="ruby-keyword">nil</span>
1529
+ <span class="ruby-keyword">else</span>
1530
+ <span class="ruby-identifier">new_row</span> = <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">index</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">add_row</span>(<span class="ruby-identifier">index</span>)
1531
+ <span class="ruby-identifier">c</span> = <span class="ruby-identifier">new_row</span>.<span class="ruby-identifier">cells</span>[<span class="ruby-identifier">column_index</span>] = <span class="ruby-identifier">old_row</span>.<span class="ruby-identifier">cells</span>[<span class="ruby-identifier">column_index</span>]
1532
+ <span class="ruby-identifier">c</span>.<span class="ruby-identifier">row</span> = (<span class="ruby-identifier">index</span> <span class="ruby-operator">+</span> <span class="ruby-value">1</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Cell</span>)
1533
+ <span class="ruby-keyword">end</span>
1523
1534
  }
1524
1535
  <span class="ruby-keyword">else</span>
1525
1536
  <span class="ruby-identifier">raise</span> <span class="ruby-string">&#39;invalid shift option&#39;</span>
@@ -1556,16 +1567,17 @@ specified, method will shift column contents below the deleted cell upward</p>
1556
1567
 
1557
1568
 
1558
1569
  <div class="method-source-code" id="delete_column-source">
1559
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 144</span>
1570
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 158</span>
1560
1571
  <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>)
1561
1572
  <span class="ruby-identifier">validate_workbook</span>
1562
1573
  <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">column_index</span>)
1563
1574
 
1564
1575
  <span class="ruby-comment"># Delete column</span>
1565
- <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">row</span><span class="ruby-operator">|</span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">cells</span>.<span class="ruby-identifier">delete_at</span>(<span class="ruby-identifier">column_index</span>) }
1576
+ <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">row</span><span class="ruby-operator">|</span> <span class="ruby-identifier">row</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">cells</span>.<span class="ruby-identifier">delete_at</span>(<span class="ruby-identifier">column_index</span>) }
1566
1577
 
1567
1578
  <span class="ruby-comment"># Update column numbers for cells to the right of the deleted column</span>
1568
1579
  <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>.<span class="ruby-identifier">each_with_index</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">row</span>, <span class="ruby-identifier">row_index</span><span class="ruby-operator">|</span>
1580
+ <span class="ruby-keyword">next</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">nil?</span>
1569
1581
  <span class="ruby-identifier">row</span>.<span class="ruby-identifier">cells</span>.<span class="ruby-identifier">each_with_index</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">c</span>, <span class="ruby-identifier">ci</span><span class="ruby-operator">|</span>
1570
1582
  <span class="ruby-identifier">c</span>.<span class="ruby-identifier">column</span> = <span class="ruby-identifier">ci</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Cell</span>)
1571
1583
  }
@@ -1602,7 +1614,7 @@ specified, method will shift column contents below the deleted cell upward</p>
1602
1614
 
1603
1615
 
1604
1616
  <div class="method-source-code" id="delete_row-source">
1605
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 100</span>
1617
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 112</span>
1606
1618
  <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>)
1607
1619
  <span class="ruby-identifier">validate_workbook</span>
1608
1620
  <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row_index</span>)
@@ -1646,7 +1658,7 @@ specified, method will shift column contents below the deleted cell upward</p>
1646
1658
 
1647
1659
 
1648
1660
  <div class="method-source-code" id="get_col_style-source">
1649
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 310</span>
1661
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 325</span>
1650
1662
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_col_style</span>(<span class="ruby-identifier">column_index</span>)
1651
1663
  <span class="ruby-identifier">range</span> = <span class="ruby-identifier">cols</span>.<span class="ruby-identifier">locate_range</span>(<span class="ruby-identifier">column_index</span>)
1652
1664
  (<span class="ruby-identifier">range</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">range</span>.<span class="ruby-identifier">style_index</span>) <span class="ruby-operator">||</span> <span class="ruby-value">0</span>
@@ -1680,7 +1692,7 @@ specified, method will shift column contents below the deleted cell upward</p>
1680
1692
 
1681
1693
 
1682
1694
  <div class="method-source-code" id="get_cols_style_index-source">
1683
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 236</span>
1695
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 251</span>
1684
1696
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_cols_style_index</span>(<span class="ruby-identifier">column_index</span>)
1685
1697
  <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">column_index</span>)
1686
1698
  <span class="ruby-identifier">range</span> = <span class="ruby-identifier">cols</span>.<span class="ruby-identifier">locate_range</span>(<span class="ruby-identifier">column_index</span>)
@@ -1715,7 +1727,7 @@ specified, method will shift column contents below the deleted cell upward</p>
1715
1727
 
1716
1728
 
1717
1729
  <div class="method-source-code" id="get_column_alignment-source">
1718
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 357</span>
1730
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 374</span>
1719
1731
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_alignment</span>(<span class="ruby-identifier">col</span>, <span class="ruby-identifier">type</span>)
1720
1732
  <span class="ruby-identifier">validate_workbook</span>
1721
1733
 
@@ -1751,7 +1763,7 @@ specified, method will shift column contents below the deleted cell upward</p>
1751
1763
 
1752
1764
 
1753
1765
  <div class="method-source-code" id="get_column_border-source">
1754
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 335</span>
1766
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 352</span>
1755
1767
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-identifier">border_direction</span>)
1756
1768
  <span class="ruby-identifier">validate_workbook</span>
1757
1769
 
@@ -1788,7 +1800,7 @@ specified, method will shift column contents below the deleted cell upward</p>
1788
1800
 
1789
1801
 
1790
1802
  <div class="method-source-code" id="get_column_border_color-source">
1791
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 343</span>
1803
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 360</span>
1792
1804
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_border_color</span>(<span class="ruby-identifier">col</span>, <span class="ruby-identifier">border_direction</span>)
1793
1805
  <span class="ruby-identifier">validate_workbook</span>
1794
1806
 
@@ -1825,7 +1837,7 @@ specified, method will shift column contents below the deleted cell upward</p>
1825
1837
 
1826
1838
 
1827
1839
  <div class="method-source-code" id="get_column_fill-source">
1828
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 315</span>
1840
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 330</span>
1829
1841
  <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>)
1830
1842
  <span class="ruby-identifier">validate_workbook</span>
1831
1843
  <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">col</span>)
@@ -1861,7 +1873,7 @@ specified, method will shift column contents below the deleted cell upward</p>
1861
1873
 
1862
1874
 
1863
1875
  <div class="method-source-code" id="get_column_font_color-source">
1864
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 252</span>
1876
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 267</span>
1865
1877
  <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>)
1866
1878
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
1867
1879
  <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>)
@@ -1895,7 +1907,7 @@ specified, method will shift column contents below the deleted cell upward</p>
1895
1907
 
1896
1908
 
1897
1909
  <div class="method-source-code" id="get_column_font_name-source">
1898
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 242</span>
1910
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 257</span>
1899
1911
  <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>)
1900
1912
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
1901
1913
  <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>
@@ -1929,7 +1941,7 @@ specified, method will shift column contents below the deleted cell upward</p>
1929
1941
 
1930
1942
 
1931
1943
  <div class="method-source-code" id="get_column_font_size-source">
1932
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 247</span>
1944
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 262</span>
1933
1945
  <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>)
1934
1946
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
1935
1947
  <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>
@@ -1964,7 +1976,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
1964
1976
 
1965
1977
 
1966
1978
  <div class="method-source-code" id="get_column_width-source">
1967
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 288</span>
1979
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 303</span>
1968
1980
  <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>)
1969
1981
  <span class="ruby-identifier">width</span> = <span class="ruby-identifier">get_column_width_raw</span>(<span class="ruby-identifier">column_index</span>)
1970
1982
  <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>
@@ -1999,7 +2011,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
1999
2011
 
2000
2012
 
2001
2013
  <div class="method-source-code" id="get_column_width_raw-source">
2002
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 278</span>
2014
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 293</span>
2003
2015
  <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>)
2004
2016
  <span class="ruby-identifier">validate_workbook</span>
2005
2017
  <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">column_index</span>)
@@ -2036,7 +2048,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2036
2048
 
2037
2049
 
2038
2050
  <div class="method-source-code" id="get_row_alignment-source">
2039
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 225</span>
2051
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 240</span>
2040
2052
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_alignment</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">is_horizontal</span>)
2041
2053
  <span class="ruby-identifier">validate_workbook</span>
2042
2054
 
@@ -2076,7 +2088,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2076
2088
 
2077
2089
 
2078
2090
  <div class="method-source-code" id="get_row_border-source">
2079
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 207</span>
2091
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 222</span>
2080
2092
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">border_direction</span>)
2081
2093
  <span class="ruby-identifier">validate_workbook</span>
2082
2094
 
@@ -2112,7 +2124,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2112
2124
 
2113
2125
 
2114
2126
  <div class="method-source-code" id="get_row_border_color-source">
2115
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 214</span>
2127
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 229</span>
2116
2128
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_border_color</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">border_direction</span>)
2117
2129
  <span class="ruby-identifier">validate_workbook</span>
2118
2130
 
@@ -2148,7 +2160,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2148
2160
 
2149
2161
 
2150
2162
  <div class="method-source-code" id="get_row_fill-source">
2151
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 166</span>
2163
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 181</span>
2152
2164
  <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>)
2153
2165
  (<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>
2154
2166
  <span class="ruby-keyword">end</span></pre>
@@ -2181,7 +2193,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2181
2193
 
2182
2194
 
2183
2195
  <div class="method-source-code" id="get_row_font_color-source">
2184
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 178</span>
2196
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 193</span>
2185
2197
  <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>)
2186
2198
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)
2187
2199
  <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>
@@ -2216,7 +2228,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2216
2228
 
2217
2229
 
2218
2230
  <div class="method-source-code" id="get_row_font_name-source">
2219
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 170</span>
2231
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 185</span>
2220
2232
  <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>)
2221
2233
  (<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>
2222
2234
  <span class="ruby-keyword">end</span></pre>
@@ -2249,7 +2261,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2249
2261
 
2250
2262
 
2251
2263
  <div class="method-source-code" id="get_row_font_size-source">
2252
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 174</span>
2264
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 189</span>
2253
2265
  <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>)
2254
2266
  (<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>
2255
2267
  <span class="ruby-keyword">end</span></pre>
@@ -2282,7 +2294,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2282
2294
 
2283
2295
 
2284
2296
  <div class="method-source-code" id="get_row_height-source">
2285
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 200</span>
2297
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 215</span>
2286
2298
  <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>)
2287
2299
  <span class="ruby-identifier">validate_workbook</span>
2288
2300
  <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
@@ -2318,7 +2330,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2318
2330
 
2319
2331
 
2320
2332
  <div class="method-source-code" id="get_row_style-source">
2321
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 161</span>
2333
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 176</span>
2322
2334
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_style</span>(<span class="ruby-identifier">row_index</span>)
2323
2335
  <span class="ruby-identifier">row</span> = <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">row_index</span>]
2324
2336
  (<span class="ruby-identifier">row</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">style_index</span>) <span class="ruby-operator">||</span> <span class="ruby-value">0</span>
@@ -2363,8 +2375,14 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2363
2375
  <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">row</span>].<span class="ruby-identifier">insert_cell_shift_right</span>(<span class="ruby-keyword">nil</span>, <span class="ruby-identifier">col</span>)
2364
2376
  <span class="ruby-keyword">when</span> <span class="ruby-value">:down</span> <span class="ruby-keyword">then</span>
2365
2377
  <span class="ruby-identifier">add_row</span>(<span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">size</span>, <span class="ruby-value">:cells</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">row</span>].<span class="ruby-identifier">size</span>))
2366
- (<span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">-</span> <span class="ruby-value">1</span>).<span class="ruby-identifier">downto</span>(<span class="ruby-identifier">row</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">index</span><span class="ruby-operator">|</span>
2367
- <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">index</span>].<span class="ruby-identifier">cells</span>[<span class="ruby-identifier">col</span>] = <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">index</span><span class="ruby-operator">-</span><span class="ruby-value">1</span>].<span class="ruby-identifier">cells</span>[<span class="ruby-identifier">col</span>]
2378
+ (<span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">-</span> <span class="ruby-value">1</span>).<span class="ruby-identifier">downto</span>(<span class="ruby-identifier">row</span> <span class="ruby-operator">+</span> <span class="ruby-value">1</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">index</span><span class="ruby-operator">|</span>
2379
+ <span class="ruby-identifier">old_row</span> = <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">index</span> <span class="ruby-operator">-</span> <span class="ruby-value">1</span>]
2380
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">old_row</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-keyword">then</span>
2381
+ <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">index</span>] = <span class="ruby-keyword">nil</span>
2382
+ <span class="ruby-keyword">else</span>
2383
+ <span class="ruby-identifier">new_row</span> = <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">index</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">add_row</span>(<span class="ruby-identifier">index</span>)
2384
+ <span class="ruby-identifier">new_row</span>.<span class="ruby-identifier">cells</span>[<span class="ruby-identifier">col</span>] = <span class="ruby-identifier">old_row</span>.<span class="ruby-identifier">cells</span>[<span class="ruby-identifier">col</span>]
2385
+ <span class="ruby-keyword">end</span>
2368
2386
  }
2369
2387
  <span class="ruby-keyword">else</span>
2370
2388
  <span class="ruby-identifier">raise</span> <span class="ruby-string">&#39;invalid shift option&#39;</span>
@@ -2403,15 +2421,17 @@ which reference cells which are being “pushed right”</p>
2403
2421
 
2404
2422
 
2405
2423
  <div class="method-source-code" id="insert_column-source">
2406
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 117</span>
2424
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 129</span>
2407
2425
  <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>)
2408
2426
  <span class="ruby-identifier">validate_workbook</span>
2409
2427
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
2410
2428
 
2411
2429
  <span class="ruby-identifier">old_range</span> = <span class="ruby-identifier">cols</span>.<span class="ruby-identifier">get_range</span>(<span class="ruby-identifier">column_index</span>)
2412
2430
 
2413
- <span class="ruby-comment">#go through each cell in column</span>
2431
+ <span class="ruby-comment"># Go through each cell in column</span>
2414
2432
  <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>.<span class="ruby-identifier">each_with_index</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">row</span>, <span class="ruby-identifier">row_index</span><span class="ruby-operator">|</span>
2433
+ <span class="ruby-keyword">next</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-comment"># Do not process blank rows</span>
2434
+
2415
2435
  <span class="ruby-identifier">old_cell</span> = <span class="ruby-identifier">row</span>[<span class="ruby-identifier">column_index</span>]
2416
2436
  <span class="ruby-identifier">c</span> = <span class="ruby-keyword">nil</span>
2417
2437
 
@@ -2461,7 +2481,7 @@ formulas which reference cells which are being “pushed down”</p>
2461
2481
 
2462
2482
 
2463
2483
  <div class="method-source-code" id="insert_row-source">
2464
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 62</span>
2484
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 74</span>
2465
2485
  <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>)
2466
2486
  <span class="ruby-identifier">validate_workbook</span>
2467
2487
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row_index</span>)
@@ -2528,7 +2548,7 @@ formulas which reference cells which are being “pushed down”</p>
2528
2548
 
2529
2549
 
2530
2550
  <div class="method-source-code" id="is_column_bolded-source">
2531
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 262</span>
2551
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 277</span>
2532
2552
  <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>)
2533
2553
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
2534
2554
  <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>
@@ -2562,7 +2582,7 @@ formulas which reference cells which are being “pushed down”</p>
2562
2582
 
2563
2583
 
2564
2584
  <div class="method-source-code" id="is_column_italicized-source">
2565
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 257</span>
2585
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 272</span>
2566
2586
  <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>)
2567
2587
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
2568
2588
  <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>
@@ -2596,7 +2616,7 @@ formulas which reference cells which are being “pushed down”</p>
2596
2616
 
2597
2617
 
2598
2618
  <div class="method-source-code" id="is_column_struckthrough-source">
2599
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 272</span>
2619
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 287</span>
2600
2620
  <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>)
2601
2621
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
2602
2622
  <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>
@@ -2630,7 +2650,7 @@ formulas which reference cells which are being “pushed down”</p>
2630
2650
 
2631
2651
 
2632
2652
  <div class="method-source-code" id="is_column_underlined-source">
2633
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 267</span>
2653
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 282</span>
2634
2654
  <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>)
2635
2655
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
2636
2656
  <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>
@@ -2664,7 +2684,7 @@ formulas which reference cells which are being “pushed down”</p>
2664
2684
 
2665
2685
 
2666
2686
  <div class="method-source-code" id="is_row_bolded-source">
2667
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 188</span>
2687
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 203</span>
2668
2688
  <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>)
2669
2689
  (<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>
2670
2690
  <span class="ruby-keyword">end</span></pre>
@@ -2697,7 +2717,7 @@ formulas which reference cells which are being “pushed down”</p>
2697
2717
 
2698
2718
 
2699
2719
  <div class="method-source-code" id="is_row_italicized-source">
2700
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 184</span>
2720
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 199</span>
2701
2721
  <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>)
2702
2722
  (<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>
2703
2723
  <span class="ruby-keyword">end</span></pre>
@@ -2730,7 +2750,7 @@ formulas which reference cells which are being “pushed down”</p>
2730
2750
 
2731
2751
 
2732
2752
  <div class="method-source-code" id="is_row_struckthrough-source">
2733
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 196</span>
2753
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 211</span>
2734
2754
  <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>)
2735
2755
  (<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>
2736
2756
  <span class="ruby-keyword">end</span></pre>
@@ -2763,7 +2783,7 @@ formulas which reference cells which are being “pushed down”</p>
2763
2783
 
2764
2784
 
2765
2785
  <div class="method-source-code" id="is_row_underlined-source">
2766
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 192</span>
2786
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 207</span>
2767
2787
  <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>)
2768
2788
  (<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>
2769
2789
  <span class="ruby-keyword">end</span></pre>
@@ -2796,7 +2816,7 @@ formulas which reference cells which are being “pushed down”</p>
2796
2816
 
2797
2817
 
2798
2818
  <div class="method-source-code" id="merge_cells-source">
2799
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 608</span>
2819
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 628</span>
2800
2820
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">merge_cells</span>(<span class="ruby-identifier">start_row</span>, <span class="ruby-identifier">start_col</span>, <span class="ruby-identifier">end_row</span>, <span class="ruby-identifier">end_col</span>)
2801
2821
  <span class="ruby-identifier">validate_workbook</span>
2802
2822
 
@@ -2833,7 +2853,7 @@ formulas which reference cells which are being “pushed down”</p>
2833
2853
 
2834
2854
 
2835
2855
  <div class="method-source-code" id="row_font-source">
2836
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 221</span>
2856
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 236</span>
2837
2857
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)
2838
2858
  (<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_font</span>
2839
2859
  <span class="ruby-keyword">end</span></pre>