rubyXL 3.1.0 → 3.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (370) hide show
  1. data/Gemfile +1 -1
  2. data/README.rdoc +3 -3
  3. data/VERSION +1 -1
  4. data/lib/rubyXL.rb +1 -17
  5. data/lib/rubyXL/cell.rb +22 -3
  6. data/lib/rubyXL/objects/content_types.rb +2 -3
  7. data/lib/rubyXL/objects/document_properties.rb +1 -0
  8. data/lib/rubyXL/objects/ooxml_object.rb +2 -30
  9. data/lib/rubyXL/objects/relationships.rb +42 -10
  10. data/lib/rubyXL/objects/root.rb +10 -18
  11. data/lib/rubyXL/objects/sheet_data.rb +1 -0
  12. data/lib/rubyXL/objects/storage.rb +1 -4
  13. data/lib/rubyXL/objects/text.rb +1 -0
  14. data/lib/rubyXL/objects/workbook.rb +8 -0
  15. data/lib/rubyXL/objects/worksheet.rb +2 -0
  16. data/lib/rubyXL/worksheet.rb +49 -88
  17. data/rdoc/README_rdoc.html +28 -28
  18. data/rdoc/RubyXL.html +1 -1
  19. data/rdoc/RubyXL/AExtension.html +1 -1
  20. data/rdoc/RubyXL/AExtensionStorageArea.html +1 -1
  21. data/rdoc/RubyXL/AdjustHandleList.html +1 -1
  22. data/rdoc/RubyXL/Alignment.html +1 -1
  23. data/rdoc/RubyXL/AlternateContent.html +1 -1
  24. data/rdoc/RubyXL/Authors.html +1 -1
  25. data/rdoc/RubyXL/AutoFilter.html +1 -1
  26. data/rdoc/RubyXL/AutoFilterColumn.html +1 -1
  27. data/rdoc/RubyXL/BinaryImageFile.html +1 -1
  28. data/rdoc/RubyXL/BodyProperties.html +1 -1
  29. data/rdoc/RubyXL/BooleanNode.html +1 -1
  30. data/rdoc/RubyXL/BooleanValue.html +1 -1
  31. data/rdoc/RubyXL/Border.html +1 -1
  32. data/rdoc/RubyXL/BorderEdge.html +1 -1
  33. data/rdoc/RubyXL/Borders.html +1 -1
  34. data/rdoc/RubyXL/Break.html +1 -1
  35. data/rdoc/RubyXL/BreakList.html +1 -1
  36. data/rdoc/RubyXL/CT_AdjPoint2D.html +1 -1
  37. data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +1 -1
  38. data/rdoc/RubyXL/CT_AlphaModulateEffect.html +1 -1
  39. data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +1 -1
  40. data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +1 -1
  41. data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +1 -1
  42. data/rdoc/RubyXL/CT_Backdrop.html +1 -1
  43. data/rdoc/RubyXL/CT_Bevel.html +1 -1
  44. data/rdoc/RubyXL/CT_BiLevelEffect.html +1 -1
  45. data/rdoc/RubyXL/CT_BlendEffect.html +1 -1
  46. data/rdoc/RubyXL/CT_Blip.html +1 -1
  47. data/rdoc/RubyXL/CT_BlipFillProperties.html +1 -1
  48. data/rdoc/RubyXL/CT_BlurEffect.html +1 -1
  49. data/rdoc/RubyXL/CT_Camera.html +1 -1
  50. data/rdoc/RubyXL/CT_Color.html +1 -1
  51. data/rdoc/RubyXL/CT_ColorChangeEffect.html +1 -1
  52. data/rdoc/RubyXL/CT_ColorMapping.html +1 -1
  53. data/rdoc/RubyXL/CT_ColorScheme.html +1 -1
  54. data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +1 -1
  55. data/rdoc/RubyXL/CT_ConnectionSite.html +1 -1
  56. data/rdoc/RubyXL/CT_ConnectionSiteList.html +1 -1
  57. data/rdoc/RubyXL/CT_DashStop.html +1 -1
  58. data/rdoc/RubyXL/CT_DashStopList.html +1 -1
  59. data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +1 -1
  60. data/rdoc/RubyXL/CT_DuotoneEffect.html +1 -1
  61. data/rdoc/RubyXL/CT_EffectContainer.html +1 -1
  62. data/rdoc/RubyXL/CT_EffectList.html +1 -1
  63. data/rdoc/RubyXL/CT_EffectReference.html +1 -1
  64. data/rdoc/RubyXL/CT_EffectStyleItem.html +1 -1
  65. data/rdoc/RubyXL/CT_EffectStyleList.html +1 -1
  66. data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +1 -1
  67. data/rdoc/RubyXL/CT_FillEffect.html +1 -1
  68. data/rdoc/RubyXL/CT_FillOverlayEffect.html +1 -1
  69. data/rdoc/RubyXL/CT_FillStyleList.html +1 -1
  70. data/rdoc/RubyXL/CT_FlatText.html +1 -1
  71. data/rdoc/RubyXL/CT_FontCollection.html +1 -1
  72. data/rdoc/RubyXL/CT_FontReference.html +1 -1
  73. data/rdoc/RubyXL/CT_GeomGuideList.html +1 -1
  74. data/rdoc/RubyXL/CT_GlowEffect.html +1 -1
  75. data/rdoc/RubyXL/CT_GradientFillProperties.html +1 -1
  76. data/rdoc/RubyXL/CT_GradientStop.html +1 -1
  77. data/rdoc/RubyXL/CT_GradientStopList.html +1 -1
  78. data/rdoc/RubyXL/CT_HSLEffect.html +1 -1
  79. data/rdoc/RubyXL/CT_HslColor.html +1 -1
  80. data/rdoc/RubyXL/CT_Hyperlink.html +1 -1
  81. data/rdoc/RubyXL/CT_InnerShadowEffect.html +1 -1
  82. data/rdoc/RubyXL/CT_LightRig.html +1 -1
  83. data/rdoc/RubyXL/CT_LineEndProperties.html +1 -1
  84. data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +1 -1
  85. data/rdoc/RubyXL/CT_LineProperties.html +1 -1
  86. data/rdoc/RubyXL/CT_LineStyleList.html +1 -1
  87. data/rdoc/RubyXL/CT_LinearShadeProperties.html +1 -1
  88. data/rdoc/RubyXL/CT_LuminanceEffect.html +1 -1
  89. data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +1 -1
  90. data/rdoc/RubyXL/CT_OuterShadowEffect.html +1 -1
  91. data/rdoc/RubyXL/CT_Path2D.html +1 -1
  92. data/rdoc/RubyXL/CT_Path2DArcTo.html +1 -1
  93. data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +1 -1
  94. data/rdoc/RubyXL/CT_Path2DList.html +1 -1
  95. data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +1 -1
  96. data/rdoc/RubyXL/CT_Path2DTo.html +1 -1
  97. data/rdoc/RubyXL/CT_PathShadeProperties.html +1 -1
  98. data/rdoc/RubyXL/CT_PatternFillProperties.html +1 -1
  99. data/rdoc/RubyXL/CT_Point3D.html +1 -1
  100. data/rdoc/RubyXL/CT_PolarAdjustHandle.html +1 -1
  101. data/rdoc/RubyXL/CT_PresetColor.html +1 -1
  102. data/rdoc/RubyXL/CT_PresetLineDashProperties.html +1 -1
  103. data/rdoc/RubyXL/CT_PresetShadowEffect.html +1 -1
  104. data/rdoc/RubyXL/CT_PresetTextShape.html +1 -1
  105. data/rdoc/RubyXL/CT_ReflectionEffect.html +1 -1
  106. data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +1 -1
  107. data/rdoc/RubyXL/CT_RelativeRect.html +1 -1
  108. data/rdoc/RubyXL/CT_SRgbColor.html +1 -1
  109. data/rdoc/RubyXL/CT_ScRgbColor.html +1 -1
  110. data/rdoc/RubyXL/CT_Scene3D.html +1 -1
  111. data/rdoc/RubyXL/CT_SchemeColor.html +1 -1
  112. data/rdoc/RubyXL/CT_Shape3D.html +1 -1
  113. data/rdoc/RubyXL/CT_ShapeStyle.html +1 -1
  114. data/rdoc/RubyXL/CT_SoftEdgesEffect.html +1 -1
  115. data/rdoc/RubyXL/CT_SphereCoords.html +1 -1
  116. data/rdoc/RubyXL/CT_StretchInfoProperties.html +1 -1
  117. data/rdoc/RubyXL/CT_StyleMatrix.html +1 -1
  118. data/rdoc/RubyXL/CT_StyleMatrixReference.html +1 -1
  119. data/rdoc/RubyXL/CT_SupplementalFont.html +1 -1
  120. data/rdoc/RubyXL/CT_SystemColor.html +1 -1
  121. data/rdoc/RubyXL/CT_TextAutonumberBullet.html +1 -1
  122. data/rdoc/RubyXL/CT_TextBlipBullet.html +1 -1
  123. data/rdoc/RubyXL/CT_TextCharBullet.html +1 -1
  124. data/rdoc/RubyXL/CT_TextCharacterProperties.html +1 -1
  125. data/rdoc/RubyXL/CT_TextFont.html +1 -1
  126. data/rdoc/RubyXL/CT_TextListStyle.html +1 -1
  127. data/rdoc/RubyXL/CT_TextNormalAutofit.html +1 -1
  128. data/rdoc/RubyXL/CT_TextParagraphProperties.html +1 -1
  129. data/rdoc/RubyXL/CT_TextSpacing.html +1 -1
  130. data/rdoc/RubyXL/CT_TextTabStop.html +1 -1
  131. data/rdoc/RubyXL/CT_TextTabStopList.html +1 -1
  132. data/rdoc/RubyXL/CT_TileInfoProperties.html +1 -1
  133. data/rdoc/RubyXL/CT_TintEffect.html +1 -1
  134. data/rdoc/RubyXL/CT_Transform2D.html +1 -1
  135. data/rdoc/RubyXL/CT_TransformEffect.html +1 -1
  136. data/rdoc/RubyXL/CT_Vector3D.html +1 -1
  137. data/rdoc/RubyXL/CT_XYAdjustHandle.html +1 -1
  138. data/rdoc/RubyXL/CalculationChain.html +2 -2
  139. data/rdoc/RubyXL/CalculationChainCell.html +1 -1
  140. data/rdoc/RubyXL/CalculationProperties.html +1 -1
  141. data/rdoc/RubyXL/Cell.html +11 -11
  142. data/rdoc/RubyXL/CellSmartTag.html +1 -1
  143. data/rdoc/RubyXL/CellSmartTagProperty.html +1 -1
  144. data/rdoc/RubyXL/CellSmartTags.html +1 -1
  145. data/rdoc/RubyXL/CellStyle.html +1 -1
  146. data/rdoc/RubyXL/CellStyleXFs.html +1 -1
  147. data/rdoc/RubyXL/CellStyles.html +1 -1
  148. data/rdoc/RubyXL/CellValue.html +3 -3
  149. data/rdoc/RubyXL/CellWatch.html +1 -1
  150. data/rdoc/RubyXL/CellWatches.html +1 -1
  151. data/rdoc/RubyXL/CellXFs.html +1 -1
  152. data/rdoc/RubyXL/ChartColorsFile.html +1 -1
  153. data/rdoc/RubyXL/ChartFile.html +1 -1
  154. data/rdoc/RubyXL/ChartRelationshipsFile.html +1 -1
  155. data/rdoc/RubyXL/ChartStyleFile.html +1 -1
  156. data/rdoc/RubyXL/ChartUserShapesFile.html +1 -1
  157. data/rdoc/RubyXL/Chartsheet.html +1 -1
  158. data/rdoc/RubyXL/ChartsheetPageSetup.html +1 -1
  159. data/rdoc/RubyXL/ChartsheetProperties.html +1 -1
  160. data/rdoc/RubyXL/ChartsheetProtection.html +1 -1
  161. data/rdoc/RubyXL/ChartsheetView.html +1 -1
  162. data/rdoc/RubyXL/ChartsheetViews.html +1 -1
  163. data/rdoc/RubyXL/Color.html +3 -3
  164. data/rdoc/RubyXL/ColorFilter.html +1 -1
  165. data/rdoc/RubyXL/ColorScale.html +1 -1
  166. data/rdoc/RubyXL/ColorSet.html +1 -1
  167. data/rdoc/RubyXL/Colors.html +1 -1
  168. data/rdoc/RubyXL/ColumnRange.html +1 -1
  169. data/rdoc/RubyXL/ColumnRanges.html +1 -1
  170. data/rdoc/RubyXL/Comment.html +1 -1
  171. data/rdoc/RubyXL/CommentList.html +1 -1
  172. data/rdoc/RubyXL/CommentsFile.html +1 -1
  173. data/rdoc/RubyXL/ConditionalFormatValue.html +1 -1
  174. data/rdoc/RubyXL/ConditionalFormatting.html +1 -1
  175. data/rdoc/RubyXL/ConditionalFormattingRule.html +1 -1
  176. data/rdoc/RubyXL/ContentTypeDefault.html +1 -1
  177. data/rdoc/RubyXL/ContentTypeOverride.html +1 -1
  178. data/rdoc/RubyXL/ContentTypes.html +30 -51
  179. data/rdoc/RubyXL/ControlPropertiesFile.html +1 -1
  180. data/rdoc/RubyXL/CorePropertiesFile.html +1 -1
  181. data/rdoc/RubyXL/CustomColor.html +1 -1
  182. data/rdoc/RubyXL/CustomColorList.html +1 -1
  183. data/rdoc/RubyXL/CustomFilter.html +1 -1
  184. data/rdoc/RubyXL/CustomFilters.html +1 -1
  185. data/rdoc/RubyXL/CustomGeometry.html +1 -1
  186. data/rdoc/RubyXL/CustomProperties.html +1 -1
  187. data/rdoc/RubyXL/CustomPropertiesFile.html +1 -1
  188. data/rdoc/RubyXL/CustomProperty.html +1 -1
  189. data/rdoc/RubyXL/CustomSheetView.html +1 -1
  190. data/rdoc/RubyXL/CustomSheetViews.html +1 -1
  191. data/rdoc/RubyXL/CustomWorkbookView.html +1 -1
  192. data/rdoc/RubyXL/CustomWorkbookViews.html +1 -1
  193. data/rdoc/RubyXL/CustomXMLFile.html +1 -1
  194. data/rdoc/RubyXL/DXF.html +1 -1
  195. data/rdoc/RubyXL/DXFs.html +1 -1
  196. data/rdoc/RubyXL/DataBar.html +1 -1
  197. data/rdoc/RubyXL/DataConsolidate.html +1 -1
  198. data/rdoc/RubyXL/DataConsolidationReference.html +1 -1
  199. data/rdoc/RubyXL/DataConsolidationReferences.html +1 -1
  200. data/rdoc/RubyXL/DataType.html +1 -1
  201. data/rdoc/RubyXL/DataValidation.html +1 -1
  202. data/rdoc/RubyXL/DataValidations.html +1 -1
  203. data/rdoc/RubyXL/DateGroupItem.html +1 -1
  204. data/rdoc/RubyXL/DefinedName.html +1 -1
  205. data/rdoc/RubyXL/DefinedNames.html +1 -1
  206. data/rdoc/RubyXL/DocumentPropertiesFile.html +9 -9
  207. data/rdoc/RubyXL/DrawingFile.html +2 -2
  208. data/rdoc/RubyXL/DrawingRelationshipsFile.html +1 -1
  209. data/rdoc/RubyXL/DynamicFilter.html +1 -1
  210. data/rdoc/RubyXL/EmbeddedControl.html +1 -1
  211. data/rdoc/RubyXL/EmbeddedControls.html +1 -1
  212. data/rdoc/RubyXL/Extension.html +1 -1
  213. data/rdoc/RubyXL/ExtensionStorageArea.html +1 -1
  214. data/rdoc/RubyXL/Extents.html +1 -1
  215. data/rdoc/RubyXL/ExternalLinksFile.html +1 -1
  216. data/rdoc/RubyXL/ExternalReference.html +1 -1
  217. data/rdoc/RubyXL/ExternalReferences.html +1 -1
  218. data/rdoc/RubyXL/ExtraColorSchemeList.html +1 -1
  219. data/rdoc/RubyXL/FieldItem.html +1 -1
  220. data/rdoc/RubyXL/FileRecoveryProperties.html +1 -1
  221. data/rdoc/RubyXL/FileSharing.html +1 -1
  222. data/rdoc/RubyXL/FileVersion.html +1 -1
  223. data/rdoc/RubyXL/Fill.html +1 -1
  224. data/rdoc/RubyXL/Fills.html +1 -1
  225. data/rdoc/RubyXL/FilterContainer.html +1 -1
  226. data/rdoc/RubyXL/FloatNode.html +1 -1
  227. data/rdoc/RubyXL/FloatValue.html +1 -1
  228. data/rdoc/RubyXL/Font.html +3 -3
  229. data/rdoc/RubyXL/FontScheme.html +1 -1
  230. data/rdoc/RubyXL/Fonts.html +1 -1
  231. data/rdoc/RubyXL/Formula.html +1 -1
  232. data/rdoc/RubyXL/FunctionGroup.html +1 -1
  233. data/rdoc/RubyXL/FunctionGroups.html +1 -1
  234. data/rdoc/RubyXL/GenericStorageObject.html +20 -41
  235. data/rdoc/RubyXL/GradientFill.html +1 -1
  236. data/rdoc/RubyXL/HeaderFooterSettings.html +1 -1
  237. data/rdoc/RubyXL/Hyperlink.html +1 -1
  238. data/rdoc/RubyXL/HyperlinkRelFile.html +1 -1
  239. data/rdoc/RubyXL/Hyperlinks.html +1 -1
  240. data/rdoc/RubyXL/IconFilter.html +1 -1
  241. data/rdoc/RubyXL/IconSet.html +1 -1
  242. data/rdoc/RubyXL/IgnoredError.html +1 -1
  243. data/rdoc/RubyXL/IgnoredErrors.html +1 -1
  244. data/rdoc/RubyXL/IndexedColors.html +1 -1
  245. data/rdoc/RubyXL/InputCells.html +1 -1
  246. data/rdoc/RubyXL/IntegerNode.html +1 -1
  247. data/rdoc/RubyXL/IntegerValue.html +1 -1
  248. data/rdoc/RubyXL/LegacyCell.html +96 -46
  249. data/rdoc/RubyXL/LegacyWorkbook.html +7 -7
  250. data/rdoc/RubyXL/LegacyWorksheet.html +198 -110
  251. data/rdoc/RubyXL/MRUColors.html +1 -1
  252. data/rdoc/RubyXL/MacrosFile.html +1 -1
  253. data/rdoc/RubyXL/MergedCell.html +1 -1
  254. data/rdoc/RubyXL/MergedCells.html +1 -1
  255. data/rdoc/RubyXL/NumFmt.html +1 -1
  256. data/rdoc/RubyXL/NumberFormat.html +2 -2
  257. data/rdoc/RubyXL/NumberFormats.html +1 -1
  258. data/rdoc/RubyXL/OLEObject.html +1 -1
  259. data/rdoc/RubyXL/OLEObjects.html +1 -1
  260. data/rdoc/RubyXL/OLESize.html +1 -1
  261. data/rdoc/RubyXL/OOXMLContainerObject.html +1 -1
  262. data/rdoc/RubyXL/OOXMLObject.html +1 -1
  263. data/rdoc/RubyXL/OOXMLObjectClassMethods.html +13 -13
  264. data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +1 -1
  265. data/rdoc/RubyXL/OOXMLRelationshipsFile.html +29 -50
  266. data/rdoc/RubyXL/OOXMLTopLevelObject.html +1 -1
  267. data/rdoc/RubyXL/Offset.html +1 -1
  268. data/rdoc/RubyXL/OutlineProperties.html +1 -1
  269. data/rdoc/RubyXL/PageMargins.html +1 -1
  270. data/rdoc/RubyXL/PageSetup.html +1 -1
  271. data/rdoc/RubyXL/PageSetupProperties.html +1 -1
  272. data/rdoc/RubyXL/Pane.html +1 -1
  273. data/rdoc/RubyXL/Parser.html +1 -1
  274. data/rdoc/RubyXL/PatternFill.html +1 -1
  275. data/rdoc/RubyXL/PhoneticProperties.html +1 -1
  276. data/rdoc/RubyXL/PhoneticRun.html +1 -1
  277. data/rdoc/RubyXL/PivotArea.html +1 -1
  278. data/rdoc/RubyXL/PivotCache.html +1 -1
  279. data/rdoc/RubyXL/PivotCacheDefinitionFile.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/REL_CLASS.html +1 -1
  292. data/rdoc/RubyXL/RID.html +1 -1
  293. data/rdoc/RubyXL/RawOOXML.html +1 -1
  294. data/rdoc/RubyXL/Reference.html +5 -5
  295. data/rdoc/RubyXL/Relationship.html +1 -1
  296. data/rdoc/RubyXL/RelationshipSupport.html +1 -1
  297. data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +98 -0
  298. data/rdoc/RubyXL/RichText.html +1 -1
  299. data/rdoc/RubyXL/RichTextRun.html +1 -1
  300. data/rdoc/RubyXL/RootRelationships.html +1 -1
  301. data/rdoc/RubyXL/Row.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 +2 -2
  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/SheetRelationshipsFile.html +1 -1
  313. data/rdoc/RubyXL/Sheets.html +1 -1
  314. data/rdoc/RubyXL/SlicerCacheFile.html +1 -1
  315. data/rdoc/RubyXL/SlicerFile.html +1 -1
  316. data/rdoc/RubyXL/SmartTagProperties.html +1 -1
  317. data/rdoc/RubyXL/SmartTagType.html +1 -1
  318. data/rdoc/RubyXL/SmartTagTypes.html +1 -1
  319. data/rdoc/RubyXL/SmartTags.html +1 -1
  320. data/rdoc/RubyXL/SortCondition.html +1 -1
  321. data/rdoc/RubyXL/SortState.html +1 -1
  322. data/rdoc/RubyXL/Sqref.html +2 -2
  323. data/rdoc/RubyXL/Stop.html +1 -1
  324. data/rdoc/RubyXL/StringNode.html +1 -1
  325. data/rdoc/RubyXL/StringNodeW3C.html +1 -1
  326. data/rdoc/RubyXL/StringValue.html +1 -1
  327. data/rdoc/RubyXL/Stylesheet.html +1 -1
  328. data/rdoc/RubyXL/TableFile.html +1 -1
  329. data/rdoc/RubyXL/TableParts.html +1 -1
  330. data/rdoc/RubyXL/TableStyle.html +1 -1
  331. data/rdoc/RubyXL/TableStyles.html +1 -1
  332. data/rdoc/RubyXL/Text.html +4 -4
  333. data/rdoc/RubyXL/Theme.html +1 -1
  334. data/rdoc/RubyXL/ThemeElements.html +1 -1
  335. data/rdoc/RubyXL/ThumbnailFile.html +1 -1
  336. data/rdoc/RubyXL/Top10.html +1 -1
  337. data/rdoc/RubyXL/VMLDrawingFile.html +1 -1
  338. data/rdoc/RubyXL/Variant.html +1 -1
  339. data/rdoc/RubyXL/Vector.html +1 -1
  340. data/rdoc/RubyXL/VectorValue.html +1 -1
  341. data/rdoc/RubyXL/VisualProperties.html +1 -1
  342. data/rdoc/RubyXL/WebPublishObject.html +1 -1
  343. data/rdoc/RubyXL/WebPublishObjects.html +1 -1
  344. data/rdoc/RubyXL/WebPublishingItem.html +1 -1
  345. data/rdoc/RubyXL/WebPublishingItems.html +1 -1
  346. data/rdoc/RubyXL/WebPublishingProperties.html +1 -1
  347. data/rdoc/RubyXL/Workbook.html +1 -1
  348. data/rdoc/RubyXL/WorkbookProperties.html +1 -1
  349. data/rdoc/RubyXL/WorkbookProtection.html +1 -1
  350. data/rdoc/RubyXL/WorkbookRelationships.html +1 -1
  351. data/rdoc/RubyXL/WorkbookRoot.html +6 -52
  352. data/rdoc/RubyXL/WorkbookView.html +1 -1
  353. data/rdoc/RubyXL/WorkbookViews.html +1 -1
  354. data/rdoc/RubyXL/Worksheet.html +1 -1
  355. data/rdoc/RubyXL/WorksheetDimensions.html +1 -1
  356. data/rdoc/RubyXL/WorksheetFormatProperties.html +1 -1
  357. data/rdoc/RubyXL/WorksheetProperties.html +1 -1
  358. data/rdoc/RubyXL/WorksheetProtection.html +1 -1
  359. data/rdoc/RubyXL/WorksheetView.html +1 -1
  360. data/rdoc/RubyXL/WorksheetViews.html +1 -1
  361. data/rdoc/RubyXL/XF.html +1 -1
  362. data/rdoc/created.rid +37 -37
  363. data/rdoc/index.html +2 -2
  364. data/rdoc/js/search_index.js +1 -1
  365. data/rdoc/table_of_contents.html +57 -62
  366. data/rubyXL.gemspec +9 -9
  367. data/spec/lib/cell_spec.rb +15 -23
  368. data/spec/lib/worksheet_spec.rb +40 -164
  369. metadata +82 -93
  370. checksums.yaml +0 -7
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>module RubyXL::LegacyWorkbook - rubyXL 3.1.0</title>
7
+ <title>module RubyXL::LegacyWorkbook - rubyXL 3.1.2</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -203,12 +203,12 @@
203
203
  <div class="method-source-code" id="new-source">
204
204
  <pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 15</span>
205
205
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">worksheets</span>=[], <span class="ruby-identifier">filepath</span>=<span class="ruby-keyword">nil</span>, <span class="ruby-identifier">creator</span>=<span class="ruby-keyword">nil</span>, <span class="ruby-identifier">modifier</span>=<span class="ruby-keyword">nil</span>, <span class="ruby-identifier">created_at</span>=<span class="ruby-keyword">nil</span>,
206
- <span class="ruby-identifier">company</span>=<span class="ruby-string">&#39;&#39;</span>, <span class="ruby-identifier">application</span>=<span class="ruby-constant">APPLICATION</span>,
206
+ <span class="ruby-identifier">company</span>=<span class="ruby-string">''</span>, <span class="ruby-identifier">application</span>=<span class="ruby-constant">APPLICATION</span>,
207
207
  <span class="ruby-identifier">appversion</span>=<span class="ruby-constant">APPVERSION</span>, <span class="ruby-identifier">date1904</span>=<span class="ruby-value">0</span>)
208
208
  <span class="ruby-keyword">super</span>()
209
209
 
210
210
  <span class="ruby-comment"># Order of sheets in the +worksheets+ array corresponds to the order of pages in Excel UI.</span>
211
- <span class="ruby-comment"># SheetId&#39;s, rId&#39;s, etc. are completely unrelated to ordering.</span>
211
+ <span class="ruby-comment"># SheetId's, rId's, etc. are completely unrelated to ordering.</span>
212
212
  <span class="ruby-ivar">@worksheets</span> = <span class="ruby-identifier">worksheets</span>
213
213
  <span class="ruby-identifier">add_worksheet</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@worksheets</span>.<span class="ruby-identifier">empty?</span>
214
214
 
@@ -230,9 +230,9 @@
230
230
  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">appversion</span> = <span class="ruby-identifier">appversion</span>
231
231
 
232
232
  <span class="ruby-keyword">begin</span>
233
- <span class="ruby-ivar">@created_at</span> = <span class="ruby-constant">DateTime</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">created_at</span>).<span class="ruby-identifier">strftime</span>(<span class="ruby-string">&#39;%Y-%m-%dT%TZ&#39;</span>)
233
+ <span class="ruby-ivar">@created_at</span> = <span class="ruby-constant">DateTime</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">created_at</span>).<span class="ruby-identifier">strftime</span>(<span class="ruby-string">'%Y-%m-%dT%TZ'</span>)
234
234
  <span class="ruby-keyword">rescue</span>
235
- <span class="ruby-ivar">@created_at</span> = <span class="ruby-constant">Time</span>.<span class="ruby-identifier">now</span>.<span class="ruby-identifier">strftime</span>(<span class="ruby-string">&#39;%Y-%m-%dT%TZ&#39;</span>)
235
+ <span class="ruby-ivar">@created_at</span> = <span class="ruby-constant">Time</span>.<span class="ruby-identifier">now</span>.<span class="ruby-identifier">strftime</span>(<span class="ruby-string">'%Y-%m-%dT%TZ'</span>)
236
236
  <span class="ruby-keyword">end</span>
237
237
  <span class="ruby-ivar">@modified_at</span> = <span class="ruby-ivar">@created_at</span>
238
238
  <span class="ruby-keyword">end</span></pre>
@@ -557,7 +557,7 @@
557
557
  <span class="ruby-identifier">fill</span> = <span class="ruby-identifier">fills</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">fill_id</span>]
558
558
  <span class="ruby-identifier">pattern</span> = <span class="ruby-identifier">fill</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">fill</span>.<span class="ruby-identifier">pattern_fill</span>
559
559
  <span class="ruby-identifier">color</span> = <span class="ruby-identifier">pattern</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">pattern</span>.<span class="ruby-identifier">fg_color</span>
560
- <span class="ruby-identifier">color</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">color</span>.<span class="ruby-identifier">rgb</span> <span class="ruby-operator">||</span> <span class="ruby-string">&#39;ffffff&#39;</span>
560
+ <span class="ruby-identifier">color</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">color</span>.<span class="ruby-identifier">rgb</span> <span class="ruby-operator">||</span> <span class="ruby-string">'ffffff'</span>
561
561
  <span class="ruby-keyword">end</span></pre>
562
562
  </div>
563
563
 
@@ -673,7 +673,7 @@
673
673
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">modify_fill</span>(<span class="ruby-identifier">style_index</span>, <span class="ruby-identifier">rgb</span>)
674
674
  <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">cell_xfs</span>[<span class="ruby-identifier">style_index</span>].<span class="ruby-identifier">dup</span>
675
675
  <span class="ruby-identifier">new_fill</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Fill</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:pattern_fill</span> =<span class="ruby-operator">&gt;</span>
676
- <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">PatternFill</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:pattern_type</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">&#39;solid&#39;</span>,
676
+ <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">PatternFill</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:pattern_type</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">'solid'</span>,
677
677
  <span class="ruby-value">:fg_color</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Color</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:rgb</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">rgb</span>)))
678
678
  <span class="ruby-identifier">new_xf</span> = <span class="ruby-identifier">register_new_fill</span>(<span class="ruby-identifier">new_fill</span>, <span class="ruby-identifier">xf</span>)
679
679
  <span class="ruby-identifier">register_new_xf</span>(<span class="ruby-identifier">new_xf</span>, <span class="ruby-identifier">style_index</span>)
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>module RubyXL::LegacyWorksheet - rubyXL 3.1.0</title>
7
+ <title>module RubyXL::LegacyWorksheet - rubyXL 3.1.2</title>
8
8
 
9
9
  <link href="../fonts.css" rel="stylesheet">
10
10
  <link href="../rdoc.css" rel="stylesheet">
@@ -87,6 +87,8 @@
87
87
 
88
88
  <li ><a href="#method-i-change_column_bold">#change_column_bold</a>
89
89
 
90
+ <li ><a href="#method-i-change_column_border">#change_column_border</a>
91
+
90
92
  <li ><a href="#method-i-change_column_border_bottom">#change_column_border_bottom</a>
91
93
 
92
94
  <li ><a href="#method-i-change_column_border_diagonal">#change_column_border_diagonal</a>
@@ -121,6 +123,8 @@
121
123
 
122
124
  <li ><a href="#method-i-change_row_bold">#change_row_bold</a>
123
125
 
126
+ <li ><a href="#method-i-change_row_border">#change_row_border</a>
127
+
124
128
  <li ><a href="#method-i-change_row_border_bottom">#change_row_border_bottom</a>
125
129
 
126
130
  <li ><a href="#method-i-change_row_border_diagonal">#change_row_border_diagonal</a>
@@ -421,8 +425,8 @@
421
425
 
422
426
 
423
427
  <div class="method-source-code" id="add_cell-source">
424
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 334</span>
425
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">add_cell</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">column</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">data</span> = <span class="ruby-string">&#39;&#39;</span>, <span class="ruby-identifier">formula</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">overwrite</span> = <span class="ruby-keyword">true</span>)
428
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 360</span>
429
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">add_cell</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">column</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">data</span> = <span class="ruby-string">''</span>, <span class="ruby-identifier">formula</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">overwrite</span> = <span class="ruby-keyword">true</span>)
426
430
  <span class="ruby-identifier">validate_workbook</span>
427
431
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">column</span>)
428
432
 
@@ -472,7 +476,7 @@
472
476
 
473
477
 
474
478
  <div class="method-source-code" id="add_row-source">
475
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 328</span>
479
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 354</span>
476
480
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">add_row</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">params</span> = {})
477
481
  <span class="ruby-identifier">new_row</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Row</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">params</span>)
478
482
  <span class="ruby-identifier">new_row</span>.<span class="ruby-identifier">worksheet</span> = <span class="ruby-keyword">self</span>
@@ -507,7 +511,7 @@
507
511
 
508
512
 
509
513
  <div class="method-source-code" id="change_column_bold-source">
510
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 243</span>
514
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 252</span>
511
515
  <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>)
512
516
  <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
513
517
  <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>
@@ -521,6 +525,47 @@
521
525
 
522
526
 
523
527
 
528
+ </div>
529
+
530
+
531
+ <div id="method-i-change_column_border" class="method-detail ">
532
+
533
+ <div class="method-heading">
534
+ <span class="method-name">change_column_border</span><span
535
+ class="method-args">(column_index, direction, weight)</span>
536
+
537
+ <span class="method-click-advice">click to toggle source</span>
538
+
539
+ </div>
540
+
541
+
542
+ <div class="method-description">
543
+
544
+
545
+
546
+
547
+
548
+
549
+ <div class="method-source-code" id="change_column_border-source">
550
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 334</span>
551
+ <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>)
552
+ <span class="ruby-identifier">validate_workbook</span>
553
+ <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
554
+
555
+ <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>)
556
+
557
+ <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>
558
+ <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>]
559
+ <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>
560
+ }
561
+ <span class="ruby-keyword">end</span></pre>
562
+ </div>
563
+
564
+ </div>
565
+
566
+
567
+
568
+
524
569
  </div>
525
570
 
526
571
 
@@ -543,8 +588,9 @@
543
588
 
544
589
 
545
590
  <div class="method-source-code" id="change_column_border_bottom-source">
546
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 312</span>
547
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_bottom</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">&#39;thin&#39;</span>)
591
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 324</span>
592
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_bottom</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
593
+ <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `change_column_border` instead.&quot;</span>
548
594
  <span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-value">:bottom</span>, <span class="ruby-identifier">weight</span>)
549
595
  <span class="ruby-keyword">end</span></pre>
550
596
  </div>
@@ -576,8 +622,9 @@
576
622
 
577
623
 
578
624
  <div class="method-source-code" id="change_column_border_diagonal-source">
579
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 316</span>
580
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_diagonal</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">&#39;thin&#39;</span>)
625
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 329</span>
626
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_diagonal</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
627
+ <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `change_column_border` instead.&quot;</span>
581
628
  <span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-value">:diagonal</span>, <span class="ruby-identifier">weight</span>)
582
629
  <span class="ruby-keyword">end</span></pre>
583
630
  </div>
@@ -609,8 +656,9 @@
609
656
 
610
657
 
611
658
  <div class="method-source-code" id="change_column_border_left-source">
612
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 304</span>
613
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_left</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">&#39;thin&#39;</span>)
659
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 314</span>
660
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_left</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
661
+ <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `change_column_border` instead.&quot;</span>
614
662
  <span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-value">:left</span>, <span class="ruby-identifier">weight</span>)
615
663
  <span class="ruby-keyword">end</span></pre>
616
664
  </div>
@@ -642,8 +690,9 @@
642
690
 
643
691
 
644
692
  <div class="method-source-code" id="change_column_border_right-source">
645
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 308</span>
646
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_right</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">&#39;thin&#39;</span>)
693
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 319</span>
694
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_right</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
695
+ <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `change_column_border` instead.&quot;</span>
647
696
  <span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-value">:right</span>, <span class="ruby-identifier">weight</span>)
648
697
  <span class="ruby-keyword">end</span></pre>
649
698
  </div>
@@ -675,8 +724,9 @@
675
724
 
676
725
 
677
726
  <div class="method-source-code" id="change_column_border_top-source">
678
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 300</span>
679
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_top</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">&#39;thin&#39;</span>)
727
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 309</span>
728
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_top</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
729
+ <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `change_column_border` instead.&quot;</span>
680
730
  <span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-value">:top</span>, <span class="ruby-identifier">weight</span>)
681
731
  <span class="ruby-keyword">end</span></pre>
682
732
  </div>
@@ -708,8 +758,8 @@
708
758
 
709
759
 
710
760
  <div class="method-source-code" id="change_column_fill-source">
711
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 279</span>
712
- <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_index</span>=<span class="ruby-string">&#39;ffffff&#39;</span>)
761
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 288</span>
762
+ <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_index</span>=<span class="ruby-string">'ffffff'</span>)
713
763
  <span class="ruby-identifier">validate_workbook</span>
714
764
  <span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">color_index</span>)
715
765
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
@@ -750,8 +800,8 @@
750
800
 
751
801
 
752
802
  <div class="method-source-code" id="change_column_font_color-source">
753
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 227</span>
754
- <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>)
803
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 236</span>
804
+ <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">'000000'</span>)
755
805
  <span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">font_color</span>)
756
806
 
757
807
  <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
@@ -788,8 +838,8 @@
788
838
 
789
839
 
790
840
  <div class="method-source-code" id="change_column_font_name-source">
791
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 211</span>
792
- <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>)
841
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 220</span>
842
+ <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">'Verdana'</span>)
793
843
  <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
794
844
  <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>
795
845
  <span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_name</span>(<span class="ruby-identifier">font_name</span>)
@@ -824,7 +874,7 @@
824
874
 
825
875
 
826
876
  <div class="method-source-code" id="change_column_font_size-source">
827
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 219</span>
877
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 228</span>
828
878
  <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>)
829
879
  <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
830
880
  <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>
@@ -860,8 +910,8 @@
860
910
 
861
911
 
862
912
  <div class="method-source-code" id="change_column_horizontal_alignment-source">
863
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 292</span>
864
- <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>)
913
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 301</span>
914
+ <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">'center'</span>)
865
915
  <span class="ruby-identifier">change_column_alignment</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">alignment</span>,<span class="ruby-keyword">true</span>)
866
916
  <span class="ruby-keyword">end</span></pre>
867
917
  </div>
@@ -893,7 +943,7 @@
893
943
 
894
944
 
895
945
  <div class="method-source-code" id="change_column_italics-source">
896
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 236</span>
946
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 245</span>
897
947
  <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>)
898
948
  <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
899
949
  <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>
@@ -929,7 +979,7 @@
929
979
 
930
980
 
931
981
  <div class="method-source-code" id="change_column_strikethrough-source">
932
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 257</span>
982
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 266</span>
933
983
  <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>)
934
984
  <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
935
985
  <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>
@@ -965,7 +1015,7 @@
965
1015
 
966
1016
 
967
1017
  <div class="method-source-code" id="change_column_underline-source">
968
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 250</span>
1018
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 259</span>
969
1019
  <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>)
970
1020
  <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
971
1021
  <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>
@@ -1001,8 +1051,8 @@
1001
1051
 
1002
1052
 
1003
1053
  <div class="method-source-code" id="change_column_vertical_alignment-source">
1004
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 296</span>
1005
- <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>)
1054
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 305</span>
1055
+ <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">'center'</span>)
1006
1056
  <span class="ruby-identifier">change_column_alignment</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">alignment</span>, <span class="ruby-keyword">false</span>)
1007
1057
  <span class="ruby-keyword">end</span></pre>
1008
1058
  </div>
@@ -1035,7 +1085,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
1035
1085
 
1036
1086
 
1037
1087
  <div class="method-source-code" id="change_column_width-source">
1038
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 275</span>
1088
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 284</span>
1039
1089
  <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>)
1040
1090
  <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>)
1041
1091
  <span class="ruby-keyword">end</span></pre>
@@ -1068,7 +1118,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
1068
1118
 
1069
1119
 
1070
1120
  <div class="method-source-code" id="change_column_width_raw-source">
1071
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 265</span>
1121
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 274</span>
1072
1122
  <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>)
1073
1123
  <span class="ruby-identifier">validate_workbook</span>
1074
1124
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
@@ -1119,6 +1169,46 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
1119
1169
 
1120
1170
 
1121
1171
 
1172
+ </div>
1173
+
1174
+
1175
+ <div id="method-i-change_row_border" class="method-detail ">
1176
+
1177
+ <div class="method-heading">
1178
+ <span class="method-name">change_row_border</span><span
1179
+ class="method-args">(row, direction, weight)</span>
1180
+
1181
+ <span class="method-click-advice">click to toggle source</span>
1182
+
1183
+ </div>
1184
+
1185
+
1186
+ <div class="method-description">
1187
+
1188
+
1189
+
1190
+
1191
+
1192
+
1193
+ <div class="method-source-code" id="change_row_border-source">
1194
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 208</span>
1195
+ <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>)
1196
+ <span class="ruby-identifier">validate_workbook</span>
1197
+ <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
1198
+
1199
+ <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">row</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_row_style</span>(<span class="ruby-identifier">row</span>), <span class="ruby-identifier">direction</span>, <span class="ruby-identifier">weight</span>)
1200
+
1201
+ <span class="ruby-identifier">sheet_data</span>[<span class="ruby-identifier">row</span>].<span class="ruby-identifier">cells</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span>
1202
+ <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>
1203
+ }
1204
+ <span class="ruby-keyword">end</span></pre>
1205
+ </div>
1206
+
1207
+ </div>
1208
+
1209
+
1210
+
1211
+
1122
1212
  </div>
1123
1213
 
1124
1214
 
@@ -1141,8 +1231,9 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
1141
1231
 
1142
1232
 
1143
1233
  <div class="method-source-code" id="change_row_border_bottom-source">
1144
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 202</span>
1145
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_border_bottom</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">&#39;thin&#39;</span>)
1234
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 198</span>
1235
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_border_bottom</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
1236
+ <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `change_row_border` instead.&quot;</span>
1146
1237
  <span class="ruby-identifier">change_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:bottom</span>, <span class="ruby-identifier">weight</span>)
1147
1238
  <span class="ruby-keyword">end</span></pre>
1148
1239
  </div>
@@ -1174,8 +1265,9 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
1174
1265
 
1175
1266
 
1176
1267
  <div class="method-source-code" id="change_row_border_diagonal-source">
1177
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 206</span>
1178
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_border_diagonal</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">&#39;thin&#39;</span>)
1268
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 203</span>
1269
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_border_diagonal</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
1270
+ <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `change_row_border` instead.&quot;</span>
1179
1271
  <span class="ruby-identifier">change_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:diagonal</span>, <span class="ruby-identifier">weight</span>)
1180
1272
  <span class="ruby-keyword">end</span></pre>
1181
1273
  </div>
@@ -1207,8 +1299,9 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
1207
1299
 
1208
1300
 
1209
1301
  <div class="method-source-code" id="change_row_border_left-source">
1210
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 194</span>
1211
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_border_left</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">&#39;thin&#39;</span>)
1302
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 188</span>
1303
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_border_left</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
1304
+ <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `change_row_border` instead.&quot;</span>
1212
1305
  <span class="ruby-identifier">change_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:left</span>, <span class="ruby-identifier">weight</span>)
1213
1306
  <span class="ruby-keyword">end</span></pre>
1214
1307
  </div>
@@ -1240,8 +1333,9 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
1240
1333
 
1241
1334
 
1242
1335
  <div class="method-source-code" id="change_row_border_right-source">
1243
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 198</span>
1244
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_border_right</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">&#39;thin&#39;</span>)
1336
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 193</span>
1337
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_border_right</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
1338
+ <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `change_row_border` instead.&quot;</span>
1245
1339
  <span class="ruby-identifier">change_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:right</span>, <span class="ruby-identifier">weight</span>)
1246
1340
  <span class="ruby-keyword">end</span></pre>
1247
1341
  </div>
@@ -1273,8 +1367,9 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
1273
1367
 
1274
1368
 
1275
1369
  <div class="method-source-code" id="change_row_border_top-source">
1276
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 190</span>
1277
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_border_top</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">&#39;thin&#39;</span>)
1370
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 183</span>
1371
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_border_top</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
1372
+ <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `change_row_border` instead.&quot;</span>
1278
1373
  <span class="ruby-identifier">change_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:top</span>, <span class="ruby-identifier">weight</span>)
1279
1374
  <span class="ruby-keyword">end</span></pre>
1280
1375
  </div>
@@ -1307,7 +1402,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
1307
1402
 
1308
1403
  <div class="method-source-code" id="change_row_fill-source">
1309
1404
  <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 103</span>
1310
- <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>)
1405
+ <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">'ffffff'</span>)
1311
1406
  <span class="ruby-identifier">validate_workbook</span>
1312
1407
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row_index</span>)
1313
1408
  <span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">rgb</span>)
@@ -1345,7 +1440,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
1345
1440
 
1346
1441
  <div class="method-source-code" id="change_row_font_color-source">
1347
1442
  <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 126</span>
1348
- <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>)
1443
+ <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">'000000'</span>)
1349
1444
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
1350
1445
  <span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">font_color</span>)
1351
1446
  <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>
@@ -1382,7 +1477,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
1382
1477
 
1383
1478
  <div class="method-source-code" id="change_row_font_name-source">
1384
1479
  <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 112</span>
1385
- <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>)
1480
+ <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">'Verdana'</span>)
1386
1481
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
1387
1482
  <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>
1388
1483
  <span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_name</span>(<span class="ruby-identifier">font_name</span>)
@@ -1438,7 +1533,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
1438
1533
 
1439
1534
  <div class="method-heading">
1440
1535
  <span class="method-name">change_row_height</span><span
1441
- class="method-args">(row = 0, height=10)</span>
1536
+ class="method-args">(row = 0, height = 10)</span>
1442
1537
 
1443
1538
  <span class="method-click-advice">click to toggle source</span>
1444
1539
 
@@ -1454,20 +1549,13 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
1454
1549
 
1455
1550
  <div class="method-source-code" id="change_row_height-source">
1456
1551
  <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 162</span>
1457
- <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>)
1552
+ <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>)
1458
1553
  <span class="ruby-identifier">validate_workbook</span>
1459
1554
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
1460
1555
 
1461
- <span class="ruby-keyword">if</span> <span class="ruby-identifier">height</span>.<span class="ruby-identifier">to_i</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">height</span>.<span class="ruby-identifier">to_s</span>
1462
- <span class="ruby-identifier">height</span> = <span class="ruby-constant">Integer</span>(<span class="ruby-identifier">height</span>)
1463
- <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">height</span>.<span class="ruby-identifier">to_f</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">height</span>.<span class="ruby-identifier">to_s</span>
1464
- <span class="ruby-identifier">height</span> = <span class="ruby-constant">Float</span>(<span class="ruby-identifier">height</span>)
1465
- <span class="ruby-keyword">else</span>
1466
- <span class="ruby-identifier">raise</span> <span class="ruby-string">&#39;You must enter a number for the height&#39;</span>
1467
- <span class="ruby-keyword">end</span>
1468
-
1469
- <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">row</span>].<span class="ruby-identifier">ht</span> = <span class="ruby-identifier">height</span>
1470
- <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">row</span>].<span class="ruby-identifier">custom_height</span> = <span class="ruby-keyword">true</span>
1556
+ <span class="ruby-identifier">c</span> = <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">row</span>]
1557
+ <span class="ruby-identifier">c</span>.<span class="ruby-identifier">ht</span> = <span class="ruby-identifier">height</span>
1558
+ <span class="ruby-identifier">c</span>.<span class="ruby-identifier">custom_height</span> = <span class="ruby-keyword">true</span>
1471
1559
  <span class="ruby-keyword">end</span></pre>
1472
1560
  </div>
1473
1561
 
@@ -1483,7 +1571,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
1483
1571
 
1484
1572
  <div class="method-heading">
1485
1573
  <span class="method-name">change_row_horizontal_alignment</span><span
1486
- class="method-args">(row = 0,alignment='center')</span>
1574
+ class="method-args">(row = 0, alignment = 'center')</span>
1487
1575
 
1488
1576
  <span class="method-click-advice">click to toggle source</span>
1489
1577
 
@@ -1498,11 +1586,11 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
1498
1586
 
1499
1587
 
1500
1588
  <div class="method-source-code" id="change_row_horizontal_alignment-source">
1501
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 178</span>
1502
- <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>)
1589
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 171</span>
1590
+ <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">'center'</span>)
1503
1591
  <span class="ruby-identifier">validate_workbook</span>
1504
1592
  <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
1505
- <span class="ruby-identifier">change_row_alignment</span>(<span class="ruby-identifier">row</span>,<span class="ruby-identifier">alignment</span>,<span class="ruby-keyword">true</span>)
1593
+ <span class="ruby-identifier">change_row_alignment</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">alignment</span>, <span class="ruby-keyword">true</span>)
1506
1594
  <span class="ruby-keyword">end</span></pre>
1507
1595
  </div>
1508
1596
 
@@ -1626,7 +1714,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
1626
1714
 
1627
1715
  <div class="method-heading">
1628
1716
  <span class="method-name">change_row_vertical_alignment</span><span
1629
- class="method-args">(row = 0,alignment='center')</span>
1717
+ class="method-args">(row = 0, alignment = 'center')</span>
1630
1718
 
1631
1719
  <span class="method-click-advice">click to toggle source</span>
1632
1720
 
@@ -1641,11 +1729,11 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
1641
1729
 
1642
1730
 
1643
1731
  <div class="method-source-code" id="change_row_vertical_alignment-source">
1644
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 184</span>
1645
- <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>)
1732
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 177</span>
1733
+ <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">'center'</span>)
1646
1734
  <span class="ruby-identifier">validate_workbook</span>
1647
1735
  <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
1648
- <span class="ruby-identifier">change_row_alignment</span>(<span class="ruby-identifier">row</span>,<span class="ruby-identifier">alignment</span>,<span class="ruby-keyword">false</span>)
1736
+ <span class="ruby-identifier">change_row_alignment</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">alignment</span>, <span class="ruby-keyword">false</span>)
1649
1737
  <span class="ruby-keyword">end</span></pre>
1650
1738
  </div>
1651
1739
 
@@ -1678,7 +1766,7 @@ specified, method will shift column contents below the deleted cell upward</p>
1678
1766
 
1679
1767
 
1680
1768
  <div class="method-source-code" id="delete_cell-source">
1681
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 476</span>
1769
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 502</span>
1682
1770
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">delete_cell</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">shift</span>=<span class="ruby-keyword">nil</span>)
1683
1771
  <span class="ruby-identifier">validate_workbook</span>
1684
1772
  <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
@@ -1699,7 +1787,7 @@ specified, method will shift column contents below the deleted cell upward</p>
1699
1787
  <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>)
1700
1788
  }
1701
1789
  <span class="ruby-keyword">else</span>
1702
- <span class="ruby-identifier">raise</span> <span class="ruby-string">&#39;invalid shift option&#39;</span>
1790
+ <span class="ruby-identifier">raise</span> <span class="ruby-string">'invalid shift option'</span>
1703
1791
  <span class="ruby-keyword">end</span>
1704
1792
 
1705
1793
  <span class="ruby-keyword">return</span> <span class="ruby-identifier">cell</span>
@@ -1733,7 +1821,7 @@ specified, method will shift column contents below the deleted cell upward</p>
1733
1821
 
1734
1822
 
1735
1823
  <div class="method-source-code" id="delete_column-source">
1736
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 406</span>
1824
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 432</span>
1737
1825
  <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>)
1738
1826
  <span class="ruby-identifier">validate_workbook</span>
1739
1827
  <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">column_index</span>)
@@ -1780,7 +1868,7 @@ specified, method will shift column contents below the deleted cell upward</p>
1780
1868
 
1781
1869
 
1782
1870
  <div class="method-source-code" id="delete_row-source">
1783
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 356</span>
1871
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 382</span>
1784
1872
  <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>)
1785
1873
  <span class="ruby-identifier">validate_workbook</span>
1786
1874
  <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row_index</span>)
@@ -1894,7 +1982,7 @@ information)</p>
1894
1982
 
1895
1983
 
1896
1984
  <div class="method-source-code" id="get_column_border_bottom-source">
1897
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 653</span>
1985
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 679</span>
1898
1986
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_border_bottom</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
1899
1987
  <span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:bottom</span>)
1900
1988
  <span class="ruby-keyword">end</span></pre>
@@ -1927,7 +2015,7 @@ information)</p>
1927
2015
 
1928
2016
 
1929
2017
  <div class="method-source-code" id="get_column_border_diagonal-source">
1930
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 657</span>
2018
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 683</span>
1931
2019
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_border_diagonal</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
1932
2020
  <span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:diagonal</span>)
1933
2021
  <span class="ruby-keyword">end</span></pre>
@@ -1960,7 +2048,7 @@ information)</p>
1960
2048
 
1961
2049
 
1962
2050
  <div class="method-source-code" id="get_column_border_left-source">
1963
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 645</span>
2051
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 671</span>
1964
2052
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_border_left</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
1965
2053
  <span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:left</span>)
1966
2054
  <span class="ruby-keyword">end</span></pre>
@@ -1993,7 +2081,7 @@ information)</p>
1993
2081
 
1994
2082
 
1995
2083
  <div class="method-source-code" id="get_column_border_right-source">
1996
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 649</span>
2084
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 675</span>
1997
2085
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_border_right</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
1998
2086
  <span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:right</span>)
1999
2087
  <span class="ruby-keyword">end</span></pre>
@@ -2026,7 +2114,7 @@ information)</p>
2026
2114
 
2027
2115
 
2028
2116
  <div class="method-source-code" id="get_column_border_top-source">
2029
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 641</span>
2117
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 667</span>
2030
2118
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_border_top</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
2031
2119
  <span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:top</span>)
2032
2120
  <span class="ruby-keyword">end</span></pre>
@@ -2059,7 +2147,7 @@ information)</p>
2059
2147
 
2060
2148
 
2061
2149
  <div class="method-source-code" id="get_column_fill-source">
2062
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 625</span>
2150
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 651</span>
2063
2151
  <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>)
2064
2152
  <span class="ruby-identifier">validate_workbook</span>
2065
2153
  <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">col</span>)
@@ -2096,10 +2184,10 @@ information)</p>
2096
2184
 
2097
2185
 
2098
2186
  <div class="method-source-code" id="get_column_font_color-source">
2099
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 582</span>
2187
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 608</span>
2100
2188
  <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>)
2101
2189
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
2102
- <span class="ruby-identifier">font</span> <span class="ruby-operator">&amp;&amp;</span> (<span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_rgb_color</span> <span class="ruby-operator">||</span> <span class="ruby-string">&#39;000000&#39;</span>)
2190
+ <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">'000000'</span>)
2103
2191
  <span class="ruby-keyword">end</span></pre>
2104
2192
  </div>
2105
2193
 
@@ -2130,7 +2218,7 @@ information)</p>
2130
2218
 
2131
2219
 
2132
2220
  <div class="method-source-code" id="get_column_font_name-source">
2133
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 572</span>
2221
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 598</span>
2134
2222
  <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>)
2135
2223
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
2136
2224
  <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>
@@ -2164,7 +2252,7 @@ information)</p>
2164
2252
 
2165
2253
 
2166
2254
  <div class="method-source-code" id="get_column_font_size-source">
2167
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 577</span>
2255
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 603</span>
2168
2256
  <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>)
2169
2257
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
2170
2258
  <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>
@@ -2198,7 +2286,7 @@ information)</p>
2198
2286
 
2199
2287
 
2200
2288
  <div class="method-source-code" id="get_column_horizontal_alignment-source">
2201
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 633</span>
2289
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 659</span>
2202
2290
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_horizontal_alignment</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
2203
2291
  <span class="ruby-identifier">get_column_alignment</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:horizontal</span>)
2204
2292
  <span class="ruby-keyword">end</span></pre>
@@ -2231,7 +2319,7 @@ information)</p>
2231
2319
 
2232
2320
 
2233
2321
  <div class="method-source-code" id="get_column_vertical_alignment-source">
2234
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 637</span>
2322
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 663</span>
2235
2323
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_vertical_alignment</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
2236
2324
  <span class="ruby-identifier">get_column_alignment</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:vertical</span>)
2237
2325
  <span class="ruby-keyword">end</span></pre>
@@ -2265,7 +2353,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2265
2353
 
2266
2354
 
2267
2355
  <div class="method-source-code" id="get_column_width-source">
2268
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 619</span>
2356
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 645</span>
2269
2357
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_width</span>(<span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>)
2270
2358
  <span class="ruby-identifier">width</span> = <span class="ruby-identifier">get_column_width_raw</span>(<span class="ruby-identifier">column_index</span>)
2271
2359
  <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>
@@ -2300,7 +2388,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2300
2388
 
2301
2389
 
2302
2390
  <div class="method-source-code" id="get_column_width_raw-source">
2303
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 608</span>
2391
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 634</span>
2304
2392
  <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>)
2305
2393
  <span class="ruby-identifier">validate_workbook</span>
2306
2394
  <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">column_index</span>)
@@ -2338,7 +2426,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2338
2426
 
2339
2427
 
2340
2428
  <div class="method-source-code" id="get_row_border_bottom-source">
2341
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 564</span>
2429
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 590</span>
2342
2430
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_border_bottom</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2343
2431
  <span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:bottom</span>)
2344
2432
  <span class="ruby-keyword">end</span></pre>
@@ -2371,7 +2459,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2371
2459
 
2372
2460
 
2373
2461
  <div class="method-source-code" id="get_row_border_diagonal-source">
2374
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 568</span>
2462
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 594</span>
2375
2463
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_border_diagonal</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2376
2464
  <span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:diagonal</span>)
2377
2465
  <span class="ruby-keyword">end</span></pre>
@@ -2404,7 +2492,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2404
2492
 
2405
2493
 
2406
2494
  <div class="method-source-code" id="get_row_border_left-source">
2407
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 556</span>
2495
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 582</span>
2408
2496
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_border_left</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2409
2497
  <span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:left</span>)
2410
2498
  <span class="ruby-keyword">end</span></pre>
@@ -2437,7 +2525,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2437
2525
 
2438
2526
 
2439
2527
  <div class="method-source-code" id="get_row_border_right-source">
2440
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 560</span>
2528
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 586</span>
2441
2529
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_border_right</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2442
2530
  <span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:right</span>)
2443
2531
  <span class="ruby-keyword">end</span></pre>
@@ -2470,7 +2558,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2470
2558
 
2471
2559
 
2472
2560
  <div class="method-source-code" id="get_row_border_top-source">
2473
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 552</span>
2561
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 578</span>
2474
2562
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_border_top</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2475
2563
  <span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:top</span>)
2476
2564
  <span class="ruby-keyword">end</span></pre>
@@ -2503,7 +2591,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2503
2591
 
2504
2592
 
2505
2593
  <div class="method-source-code" id="get_row_fill-source">
2506
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 502</span>
2594
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 528</span>
2507
2595
  <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>)
2508
2596
  (<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>
2509
2597
  <span class="ruby-keyword">end</span></pre>
@@ -2536,11 +2624,11 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2536
2624
 
2537
2625
 
2538
2626
  <div class="method-source-code" id="get_row_font_color-source">
2539
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 514</span>
2627
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 540</span>
2540
2628
  <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>)
2541
2629
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)
2542
2630
  <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>
2543
- <span class="ruby-identifier">color</span> <span class="ruby-operator">&amp;&amp;</span> (<span class="ruby-identifier">color</span>.<span class="ruby-identifier">rgb</span> <span class="ruby-operator">||</span> <span class="ruby-string">&#39;000000&#39;</span>)
2631
+ <span class="ruby-identifier">color</span> <span class="ruby-operator">&amp;&amp;</span> (<span class="ruby-identifier">color</span>.<span class="ruby-identifier">rgb</span> <span class="ruby-operator">||</span> <span class="ruby-string">'000000'</span>)
2544
2632
  <span class="ruby-keyword">end</span></pre>
2545
2633
  </div>
2546
2634
 
@@ -2571,7 +2659,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2571
2659
 
2572
2660
 
2573
2661
  <div class="method-source-code" id="get_row_font_name-source">
2574
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 506</span>
2662
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 532</span>
2575
2663
  <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>)
2576
2664
  (<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>
2577
2665
  <span class="ruby-keyword">end</span></pre>
@@ -2604,7 +2692,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2604
2692
 
2605
2693
 
2606
2694
  <div class="method-source-code" id="get_row_font_size-source">
2607
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 510</span>
2695
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 536</span>
2608
2696
  <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>)
2609
2697
  (<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>
2610
2698
  <span class="ruby-keyword">end</span></pre>
@@ -2637,7 +2725,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2637
2725
 
2638
2726
 
2639
2727
  <div class="method-source-code" id="get_row_height-source">
2640
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 536</span>
2728
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 562</span>
2641
2729
  <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>)
2642
2730
  <span class="ruby-identifier">validate_workbook</span>
2643
2731
  <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
@@ -2674,7 +2762,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2674
2762
 
2675
2763
 
2676
2764
  <div class="method-source-code" id="get_row_horizontal_alignment-source">
2677
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 544</span>
2765
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 570</span>
2678
2766
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_horizontal_alignment</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2679
2767
  <span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_alignment</span>(<span class="ruby-identifier">row</span>, <span class="ruby-keyword">true</span>)
2680
2768
  <span class="ruby-keyword">end</span></pre>
@@ -2707,7 +2795,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2707
2795
 
2708
2796
 
2709
2797
  <div class="method-source-code" id="get_row_vertical_alignment-source">
2710
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 548</span>
2798
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 574</span>
2711
2799
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_vertical_alignment</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2712
2800
  <span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_alignment</span>(<span class="ruby-identifier">row</span>, <span class="ruby-keyword">false</span>)
2713
2801
  <span class="ruby-keyword">end</span></pre>
@@ -2821,7 +2909,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2821
2909
 
2822
2910
 
2823
2911
  <div class="method-source-code" id="insert_cell-source">
2824
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 453</span>
2912
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 479</span>
2825
2913
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">insert_cell</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">data</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">formula</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">shift</span> = <span class="ruby-keyword">nil</span>)
2826
2914
  <span class="ruby-identifier">validate_workbook</span>
2827
2915
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">col</span>)
@@ -2836,7 +2924,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2836
2924
  <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>]
2837
2925
  }
2838
2926
  <span class="ruby-keyword">else</span>
2839
- <span class="ruby-identifier">raise</span> <span class="ruby-string">&#39;invalid shift option&#39;</span>
2927
+ <span class="ruby-identifier">raise</span> <span class="ruby-string">'invalid shift option'</span>
2840
2928
  <span class="ruby-keyword">end</span>
2841
2929
 
2842
2930
  <span class="ruby-keyword">return</span> <span class="ruby-identifier">add_cell</span>(<span class="ruby-identifier">row</span>,<span class="ruby-identifier">col</span>,<span class="ruby-identifier">data</span>,<span class="ruby-identifier">formula</span>)
@@ -2872,7 +2960,7 @@ which reference cells which are being “pushed right”</p>
2872
2960
 
2873
2961
 
2874
2962
  <div class="method-source-code" id="insert_column-source">
2875
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 426</span>
2963
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 452</span>
2876
2964
  <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>)
2877
2965
  <span class="ruby-identifier">validate_workbook</span>
2878
2966
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
@@ -2923,14 +3011,14 @@ which reference cells which are being “pushed right”</p>
2923
3011
  <div class="method-description">
2924
3012
 
2925
3013
  <p>Inserts row at row_index, pushes down, copies style from the row above
2926
- (that&#39;s what Excel 2013 does!) NOTE: use of this method will break
2927
- formulas which reference cells which are being “pushed down”</p>
3014
+ (thats what Excel 2013 does!) NOTE: use of this method will break formulas
3015
+ which reference cells which are being “pushed down”</p>
2928
3016
 
2929
3017
 
2930
3018
 
2931
3019
 
2932
3020
  <div class="method-source-code" id="insert_row-source">
2933
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 374</span>
3021
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 400</span>
2934
3022
  <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>)
2935
3023
  <span class="ruby-identifier">validate_workbook</span>
2936
3024
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row_index</span>)
@@ -2991,7 +3079,7 @@ formulas which reference cells which are being “pushed down”</p>
2991
3079
 
2992
3080
 
2993
3081
  <div class="method-source-code" id="is_column_bolded-source">
2994
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 592</span>
3082
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 618</span>
2995
3083
  <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>)
2996
3084
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
2997
3085
  <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>
@@ -3025,7 +3113,7 @@ formulas which reference cells which are being “pushed down”</p>
3025
3113
 
3026
3114
 
3027
3115
  <div class="method-source-code" id="is_column_italicized-source">
3028
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 587</span>
3116
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 613</span>
3029
3117
  <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>)
3030
3118
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
3031
3119
  <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>
@@ -3059,7 +3147,7 @@ formulas which reference cells which are being “pushed down”</p>
3059
3147
 
3060
3148
 
3061
3149
  <div class="method-source-code" id="is_column_struckthrough-source">
3062
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 602</span>
3150
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 628</span>
3063
3151
  <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>)
3064
3152
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
3065
3153
  <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>
@@ -3093,7 +3181,7 @@ formulas which reference cells which are being “pushed down”</p>
3093
3181
 
3094
3182
 
3095
3183
  <div class="method-source-code" id="is_column_underlined-source">
3096
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 597</span>
3184
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 623</span>
3097
3185
  <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>)
3098
3186
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
3099
3187
  <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>
@@ -3127,7 +3215,7 @@ formulas which reference cells which are being “pushed down”</p>
3127
3215
 
3128
3216
 
3129
3217
  <div class="method-source-code" id="is_row_bolded-source">
3130
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 524</span>
3218
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 550</span>
3131
3219
  <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>)
3132
3220
  (<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>
3133
3221
  <span class="ruby-keyword">end</span></pre>
@@ -3160,7 +3248,7 @@ formulas which reference cells which are being “pushed down”</p>
3160
3248
 
3161
3249
 
3162
3250
  <div class="method-source-code" id="is_row_italicized-source">
3163
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 520</span>
3251
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 546</span>
3164
3252
  <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>)
3165
3253
  (<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>
3166
3254
  <span class="ruby-keyword">end</span></pre>
@@ -3193,7 +3281,7 @@ formulas which reference cells which are being “pushed down”</p>
3193
3281
 
3194
3282
 
3195
3283
  <div class="method-source-code" id="is_row_struckthrough-source">
3196
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 532</span>
3284
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 558</span>
3197
3285
  <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>)
3198
3286
  (<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>
3199
3287
  <span class="ruby-keyword">end</span></pre>
@@ -3226,7 +3314,7 @@ formulas which reference cells which are being “pushed down”</p>
3226
3314
 
3227
3315
 
3228
3316
  <div class="method-source-code" id="is_row_underlined-source">
3229
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 528</span>
3317
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 554</span>
3230
3318
  <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>)
3231
3319
  (<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>
3232
3320
  <span class="ruby-keyword">end</span></pre>
@@ -3259,7 +3347,7 @@ formulas which reference cells which are being “pushed down”</p>
3259
3347
 
3260
3348
 
3261
3349
  <div class="method-source-code" id="merge_cells-source">
3262
- <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 321</span>
3350
+ <pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 347</span>
3263
3351
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">merge_cells</span>(<span class="ruby-identifier">row1</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">col1</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">row2</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">col2</span> = <span class="ruby-value">0</span>)
3264
3352
  <span class="ruby-identifier">validate_workbook</span>
3265
3353