rubyXL 3.3.4 → 3.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (360) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/rubyXL/cell.rb +0 -67
  4. data/lib/rubyXL/convenience_methods.rb +75 -110
  5. data/lib/rubyXL/objects/font.rb +4 -4
  6. data/lib/rubyXL/worksheet.rb +0 -12
  7. data/rdoc/README_rdoc.html +1 -1
  8. data/rdoc/RubyXL.html +1 -1
  9. data/rdoc/RubyXL/AExtension.html +1 -1
  10. data/rdoc/RubyXL/AExtensionStorageArea.html +1 -1
  11. data/rdoc/RubyXL/AdjustHandleList.html +1 -1
  12. data/rdoc/RubyXL/Alignment.html +1 -1
  13. data/rdoc/RubyXL/AlternateContent.html +1 -1
  14. data/rdoc/RubyXL/Authors.html +1 -1
  15. data/rdoc/RubyXL/AutoFilter.html +1 -1
  16. data/rdoc/RubyXL/AutoFilterColumn.html +1 -1
  17. data/rdoc/RubyXL/BinaryImageFile.html +1 -1
  18. data/rdoc/RubyXL/BodyProperties.html +1 -1
  19. data/rdoc/RubyXL/BooleanNode.html +1 -1
  20. data/rdoc/RubyXL/BooleanValue.html +1 -1
  21. data/rdoc/RubyXL/Border.html +1 -1
  22. data/rdoc/RubyXL/BorderEdge.html +1 -1
  23. data/rdoc/RubyXL/Borders.html +1 -1
  24. data/rdoc/RubyXL/Break.html +1 -1
  25. data/rdoc/RubyXL/BreakList.html +1 -1
  26. data/rdoc/RubyXL/CT_AdjPoint2D.html +1 -1
  27. data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +1 -1
  28. data/rdoc/RubyXL/CT_AlphaModulateEffect.html +1 -1
  29. data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +1 -1
  30. data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +1 -1
  31. data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +1 -1
  32. data/rdoc/RubyXL/CT_Backdrop.html +1 -1
  33. data/rdoc/RubyXL/CT_Bevel.html +1 -1
  34. data/rdoc/RubyXL/CT_BiLevelEffect.html +1 -1
  35. data/rdoc/RubyXL/CT_BlendEffect.html +1 -1
  36. data/rdoc/RubyXL/CT_Blip.html +1 -1
  37. data/rdoc/RubyXL/CT_BlipFillProperties.html +1 -1
  38. data/rdoc/RubyXL/CT_BlurEffect.html +1 -1
  39. data/rdoc/RubyXL/CT_Camera.html +1 -1
  40. data/rdoc/RubyXL/CT_Color.html +1 -1
  41. data/rdoc/RubyXL/CT_ColorChangeEffect.html +1 -1
  42. data/rdoc/RubyXL/CT_ColorMapping.html +1 -1
  43. data/rdoc/RubyXL/CT_ColorScheme.html +1 -1
  44. data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +1 -1
  45. data/rdoc/RubyXL/CT_ConnectionSite.html +1 -1
  46. data/rdoc/RubyXL/CT_ConnectionSiteList.html +1 -1
  47. data/rdoc/RubyXL/CT_DashStop.html +1 -1
  48. data/rdoc/RubyXL/CT_DashStopList.html +1 -1
  49. data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +1 -1
  50. data/rdoc/RubyXL/CT_DuotoneEffect.html +1 -1
  51. data/rdoc/RubyXL/CT_EffectContainer.html +1 -1
  52. data/rdoc/RubyXL/CT_EffectList.html +1 -1
  53. data/rdoc/RubyXL/CT_EffectReference.html +1 -1
  54. data/rdoc/RubyXL/CT_EffectStyleItem.html +1 -1
  55. data/rdoc/RubyXL/CT_EffectStyleList.html +1 -1
  56. data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +1 -1
  57. data/rdoc/RubyXL/CT_FillEffect.html +1 -1
  58. data/rdoc/RubyXL/CT_FillOverlayEffect.html +1 -1
  59. data/rdoc/RubyXL/CT_FillStyleList.html +1 -1
  60. data/rdoc/RubyXL/CT_FlatText.html +1 -1
  61. data/rdoc/RubyXL/CT_FontCollection.html +1 -1
  62. data/rdoc/RubyXL/CT_FontReference.html +1 -1
  63. data/rdoc/RubyXL/CT_GeomGuideList.html +1 -1
  64. data/rdoc/RubyXL/CT_GlowEffect.html +1 -1
  65. data/rdoc/RubyXL/CT_GradientFillProperties.html +1 -1
  66. data/rdoc/RubyXL/CT_GradientStop.html +1 -1
  67. data/rdoc/RubyXL/CT_GradientStopList.html +1 -1
  68. data/rdoc/RubyXL/CT_HSLEffect.html +1 -1
  69. data/rdoc/RubyXL/CT_HslColor.html +1 -1
  70. data/rdoc/RubyXL/CT_Hyperlink.html +1 -1
  71. data/rdoc/RubyXL/CT_InnerShadowEffect.html +1 -1
  72. data/rdoc/RubyXL/CT_LightRig.html +1 -1
  73. data/rdoc/RubyXL/CT_LineEndProperties.html +1 -1
  74. data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +1 -1
  75. data/rdoc/RubyXL/CT_LineProperties.html +1 -1
  76. data/rdoc/RubyXL/CT_LineStyleList.html +1 -1
  77. data/rdoc/RubyXL/CT_LinearShadeProperties.html +1 -1
  78. data/rdoc/RubyXL/CT_LuminanceEffect.html +1 -1
  79. data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +1 -1
  80. data/rdoc/RubyXL/CT_OuterShadowEffect.html +1 -1
  81. data/rdoc/RubyXL/CT_Path2D.html +1 -1
  82. data/rdoc/RubyXL/CT_Path2DArcTo.html +1 -1
  83. data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +1 -1
  84. data/rdoc/RubyXL/CT_Path2DList.html +1 -1
  85. data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +1 -1
  86. data/rdoc/RubyXL/CT_Path2DTo.html +1 -1
  87. data/rdoc/RubyXL/CT_PathShadeProperties.html +1 -1
  88. data/rdoc/RubyXL/CT_PatternFillProperties.html +1 -1
  89. data/rdoc/RubyXL/CT_Point3D.html +1 -1
  90. data/rdoc/RubyXL/CT_PolarAdjustHandle.html +1 -1
  91. data/rdoc/RubyXL/CT_PresetColor.html +1 -1
  92. data/rdoc/RubyXL/CT_PresetLineDashProperties.html +1 -1
  93. data/rdoc/RubyXL/CT_PresetShadowEffect.html +1 -1
  94. data/rdoc/RubyXL/CT_PresetTextShape.html +1 -1
  95. data/rdoc/RubyXL/CT_ReflectionEffect.html +1 -1
  96. data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +1 -1
  97. data/rdoc/RubyXL/CT_RelativeRect.html +1 -1
  98. data/rdoc/RubyXL/CT_SRgbColor.html +1 -1
  99. data/rdoc/RubyXL/CT_ScRgbColor.html +1 -1
  100. data/rdoc/RubyXL/CT_Scene3D.html +1 -1
  101. data/rdoc/RubyXL/CT_SchemeColor.html +1 -1
  102. data/rdoc/RubyXL/CT_Shape3D.html +1 -1
  103. data/rdoc/RubyXL/CT_ShapeStyle.html +1 -1
  104. data/rdoc/RubyXL/CT_SoftEdgesEffect.html +1 -1
  105. data/rdoc/RubyXL/CT_SphereCoords.html +1 -1
  106. data/rdoc/RubyXL/CT_StretchInfoProperties.html +1 -1
  107. data/rdoc/RubyXL/CT_StyleMatrix.html +1 -1
  108. data/rdoc/RubyXL/CT_StyleMatrixReference.html +1 -1
  109. data/rdoc/RubyXL/CT_SupplementalFont.html +1 -1
  110. data/rdoc/RubyXL/CT_SystemColor.html +1 -1
  111. data/rdoc/RubyXL/CT_TextAutonumberBullet.html +1 -1
  112. data/rdoc/RubyXL/CT_TextBlipBullet.html +1 -1
  113. data/rdoc/RubyXL/CT_TextCharBullet.html +1 -1
  114. data/rdoc/RubyXL/CT_TextCharacterProperties.html +1 -1
  115. data/rdoc/RubyXL/CT_TextFont.html +1 -1
  116. data/rdoc/RubyXL/CT_TextListStyle.html +1 -1
  117. data/rdoc/RubyXL/CT_TextNormalAutofit.html +1 -1
  118. data/rdoc/RubyXL/CT_TextParagraphProperties.html +1 -1
  119. data/rdoc/RubyXL/CT_TextSpacing.html +1 -1
  120. data/rdoc/RubyXL/CT_TextTabStop.html +1 -1
  121. data/rdoc/RubyXL/CT_TextTabStopList.html +1 -1
  122. data/rdoc/RubyXL/CT_TileInfoProperties.html +1 -1
  123. data/rdoc/RubyXL/CT_TintEffect.html +1 -1
  124. data/rdoc/RubyXL/CT_Transform2D.html +1 -1
  125. data/rdoc/RubyXL/CT_TransformEffect.html +1 -1
  126. data/rdoc/RubyXL/CT_Vector3D.html +1 -1
  127. data/rdoc/RubyXL/CT_XYAdjustHandle.html +1 -1
  128. data/rdoc/RubyXL/CalculationChain.html +1 -1
  129. data/rdoc/RubyXL/CalculationChainCell.html +1 -1
  130. data/rdoc/RubyXL/CalculationProperties.html +1 -1
  131. data/rdoc/RubyXL/Cell.html +1 -1
  132. data/rdoc/RubyXL/CellConvenienceMethods.html +408 -6
  133. data/rdoc/RubyXL/CellSmartTag.html +1 -1
  134. data/rdoc/RubyXL/CellSmartTagProperty.html +1 -1
  135. data/rdoc/RubyXL/CellSmartTags.html +1 -1
  136. data/rdoc/RubyXL/CellStyle.html +1 -1
  137. data/rdoc/RubyXL/CellStyleXFs.html +1 -1
  138. data/rdoc/RubyXL/CellStyles.html +1 -1
  139. data/rdoc/RubyXL/CellValue.html +1 -1
  140. data/rdoc/RubyXL/CellWatch.html +1 -1
  141. data/rdoc/RubyXL/CellWatches.html +1 -1
  142. data/rdoc/RubyXL/CellXFs.html +1 -1
  143. data/rdoc/RubyXL/ChartColorsFile.html +1 -1
  144. data/rdoc/RubyXL/ChartFile.html +1 -1
  145. data/rdoc/RubyXL/ChartStyleFile.html +1 -1
  146. data/rdoc/RubyXL/ChartUserShapesFile.html +1 -1
  147. data/rdoc/RubyXL/Chartsheet.html +1 -1
  148. data/rdoc/RubyXL/ChartsheetPageSetup.html +1 -1
  149. data/rdoc/RubyXL/ChartsheetProperties.html +1 -1
  150. data/rdoc/RubyXL/ChartsheetProtection.html +1 -1
  151. data/rdoc/RubyXL/ChartsheetView.html +1 -1
  152. data/rdoc/RubyXL/ChartsheetViews.html +1 -1
  153. data/rdoc/RubyXL/Color.html +1 -1
  154. data/rdoc/RubyXL/ColorFilter.html +1 -1
  155. data/rdoc/RubyXL/ColorScale.html +1 -1
  156. data/rdoc/RubyXL/ColorSet.html +1 -1
  157. data/rdoc/RubyXL/Colors.html +1 -1
  158. data/rdoc/RubyXL/ColumnRange.html +1 -1
  159. data/rdoc/RubyXL/ColumnRanges.html +1 -1
  160. data/rdoc/RubyXL/Comment.html +1 -1
  161. data/rdoc/RubyXL/CommentList.html +1 -1
  162. data/rdoc/RubyXL/CommentsFile.html +1 -1
  163. data/rdoc/RubyXL/ConditionalFormatValue.html +1 -1
  164. data/rdoc/RubyXL/ConditionalFormatting.html +1 -1
  165. data/rdoc/RubyXL/ConditionalFormattingRule.html +1 -1
  166. data/rdoc/RubyXL/ContentTypeDefault.html +1 -1
  167. data/rdoc/RubyXL/ContentTypeOverride.html +1 -1
  168. data/rdoc/RubyXL/ContentTypes.html +1 -1
  169. data/rdoc/RubyXL/ControlPropertiesFile.html +1 -1
  170. data/rdoc/RubyXL/CorePropertiesFile.html +1 -1
  171. data/rdoc/RubyXL/CustomColor.html +1 -1
  172. data/rdoc/RubyXL/CustomColorList.html +1 -1
  173. data/rdoc/RubyXL/CustomFilter.html +1 -1
  174. data/rdoc/RubyXL/CustomFilters.html +1 -1
  175. data/rdoc/RubyXL/CustomGeometry.html +1 -1
  176. data/rdoc/RubyXL/CustomProperties.html +1 -1
  177. data/rdoc/RubyXL/CustomPropertiesFile.html +1 -1
  178. data/rdoc/RubyXL/CustomProperty.html +1 -1
  179. data/rdoc/RubyXL/CustomSheetView.html +1 -1
  180. data/rdoc/RubyXL/CustomSheetViews.html +1 -1
  181. data/rdoc/RubyXL/CustomWorkbookView.html +1 -1
  182. data/rdoc/RubyXL/CustomWorkbookViews.html +1 -1
  183. data/rdoc/RubyXL/CustomXMLFile.html +1 -1
  184. data/rdoc/RubyXL/DXF.html +1 -1
  185. data/rdoc/RubyXL/DXFs.html +1 -1
  186. data/rdoc/RubyXL/DataBar.html +1 -1
  187. data/rdoc/RubyXL/DataConsolidate.html +1 -1
  188. data/rdoc/RubyXL/DataConsolidationReference.html +1 -1
  189. data/rdoc/RubyXL/DataConsolidationReferences.html +1 -1
  190. data/rdoc/RubyXL/DataType.html +1 -1
  191. data/rdoc/RubyXL/DataValidation.html +1 -1
  192. data/rdoc/RubyXL/DataValidations.html +1 -1
  193. data/rdoc/RubyXL/DateGroupItem.html +1 -1
  194. data/rdoc/RubyXL/DefinedName.html +1 -1
  195. data/rdoc/RubyXL/DefinedNames.html +1 -1
  196. data/rdoc/RubyXL/DocumentPropertiesFile.html +1 -1
  197. data/rdoc/RubyXL/DrawingFile.html +1 -1
  198. data/rdoc/RubyXL/DynamicFilter.html +1 -1
  199. data/rdoc/RubyXL/EmbeddedControl.html +1 -1
  200. data/rdoc/RubyXL/EmbeddedControls.html +1 -1
  201. data/rdoc/RubyXL/Extension.html +1 -1
  202. data/rdoc/RubyXL/ExtensionStorageArea.html +1 -1
  203. data/rdoc/RubyXL/Extents.html +1 -1
  204. data/rdoc/RubyXL/ExternalLinksFile.html +1 -1
  205. data/rdoc/RubyXL/ExternalReference.html +1 -1
  206. data/rdoc/RubyXL/ExternalReferences.html +1 -1
  207. data/rdoc/RubyXL/ExtraColorSchemeList.html +1 -1
  208. data/rdoc/RubyXL/FieldItem.html +1 -1
  209. data/rdoc/RubyXL/FileRecoveryProperties.html +1 -1
  210. data/rdoc/RubyXL/FileSharing.html +1 -1
  211. data/rdoc/RubyXL/FileVersion.html +1 -1
  212. data/rdoc/RubyXL/Fill.html +1 -1
  213. data/rdoc/RubyXL/Fills.html +1 -1
  214. data/rdoc/RubyXL/FilterContainer.html +1 -1
  215. data/rdoc/RubyXL/FloatNode.html +1 -1
  216. data/rdoc/RubyXL/FloatValue.html +1 -1
  217. data/rdoc/RubyXL/Font.html +5 -5
  218. data/rdoc/RubyXL/FontScheme.html +1 -1
  219. data/rdoc/RubyXL/Fonts.html +1 -1
  220. data/rdoc/RubyXL/Formula.html +1 -1
  221. data/rdoc/RubyXL/FunctionGroup.html +1 -1
  222. data/rdoc/RubyXL/FunctionGroups.html +1 -1
  223. data/rdoc/RubyXL/GenericStorageObject.html +1 -1
  224. data/rdoc/RubyXL/GradientFill.html +1 -1
  225. data/rdoc/RubyXL/HeaderFooterSettings.html +1 -1
  226. data/rdoc/RubyXL/Hyperlink.html +1 -1
  227. data/rdoc/RubyXL/HyperlinkRelFile.html +1 -1
  228. data/rdoc/RubyXL/Hyperlinks.html +1 -1
  229. data/rdoc/RubyXL/IconFilter.html +1 -1
  230. data/rdoc/RubyXL/IconSet.html +1 -1
  231. data/rdoc/RubyXL/IgnoredError.html +1 -1
  232. data/rdoc/RubyXL/IgnoredErrors.html +1 -1
  233. data/rdoc/RubyXL/IndexedColors.html +1 -1
  234. data/rdoc/RubyXL/InputCells.html +1 -1
  235. data/rdoc/RubyXL/IntegerNode.html +1 -1
  236. data/rdoc/RubyXL/IntegerValue.html +1 -1
  237. data/rdoc/RubyXL/LegacyCell.html +3 -405
  238. data/rdoc/RubyXL/LegacyWorksheet.html +1 -1
  239. data/rdoc/RubyXL/MRUColors.html +1 -1
  240. data/rdoc/RubyXL/MacrosFile.html +1 -1
  241. data/rdoc/RubyXL/MergedCell.html +1 -1
  242. data/rdoc/RubyXL/MergedCells.html +1 -1
  243. data/rdoc/RubyXL/NumFmt.html +1 -1
  244. data/rdoc/RubyXL/NumberFormat.html +1 -1
  245. data/rdoc/RubyXL/NumberFormats.html +1 -1
  246. data/rdoc/RubyXL/OLEObject.html +1 -1
  247. data/rdoc/RubyXL/OLEObjectFile.html +1 -1
  248. data/rdoc/RubyXL/OLEObjects.html +1 -1
  249. data/rdoc/RubyXL/OLESize.html +1 -1
  250. data/rdoc/RubyXL/OOXMLContainerObject.html +1 -1
  251. data/rdoc/RubyXL/OOXMLObject.html +1 -1
  252. data/rdoc/RubyXL/OOXMLObjectClassMethods.html +1 -1
  253. data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +1 -1
  254. data/rdoc/RubyXL/OOXMLRelationshipsFile.html +1 -1
  255. data/rdoc/RubyXL/OOXMLTopLevelObject.html +1 -1
  256. data/rdoc/RubyXL/Offset.html +1 -1
  257. data/rdoc/RubyXL/OutlineProperties.html +1 -1
  258. data/rdoc/RubyXL/PageMargins.html +1 -1
  259. data/rdoc/RubyXL/PageSetup.html +1 -1
  260. data/rdoc/RubyXL/PageSetupProperties.html +1 -1
  261. data/rdoc/RubyXL/Pane.html +1 -1
  262. data/rdoc/RubyXL/Parser.html +1 -1
  263. data/rdoc/RubyXL/PatternFill.html +1 -1
  264. data/rdoc/RubyXL/PhoneticProperties.html +1 -1
  265. data/rdoc/RubyXL/PhoneticRun.html +1 -1
  266. data/rdoc/RubyXL/PivotArea.html +1 -1
  267. data/rdoc/RubyXL/PivotCache.html +1 -1
  268. data/rdoc/RubyXL/PivotCacheDefinitionFile.html +1 -1
  269. data/rdoc/RubyXL/PivotCacheRecordsFile.html +1 -1
  270. data/rdoc/RubyXL/PivotCaches.html +1 -1
  271. data/rdoc/RubyXL/PivotReference.html +1 -1
  272. data/rdoc/RubyXL/PivotReferences.html +1 -1
  273. data/rdoc/RubyXL/PivotTableFile.html +1 -1
  274. data/rdoc/RubyXL/PivotTableSelection.html +1 -1
  275. data/rdoc/RubyXL/PresetGeometry.html +1 -1
  276. data/rdoc/RubyXL/PrintOptions.html +1 -1
  277. data/rdoc/RubyXL/PrinterSettingsFile.html +1 -1
  278. data/rdoc/RubyXL/ProtectedRange.html +1 -1
  279. data/rdoc/RubyXL/ProtectedRanges.html +1 -1
  280. data/rdoc/RubyXL/Protection.html +1 -1
  281. data/rdoc/RubyXL/RID.html +1 -1
  282. data/rdoc/RubyXL/RawOOXML.html +1 -1
  283. data/rdoc/RubyXL/Reference.html +1 -1
  284. data/rdoc/RubyXL/Relationship.html +1 -1
  285. data/rdoc/RubyXL/RelationshipSupport.html +1 -1
  286. data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +1 -1
  287. data/rdoc/RubyXL/RichText.html +1 -1
  288. data/rdoc/RubyXL/RichTextRun.html +1 -1
  289. data/rdoc/RubyXL/Row.html +1 -1
  290. data/rdoc/RubyXL/RunProperties.html +1 -1
  291. data/rdoc/RubyXL/Scenario.html +1 -1
  292. data/rdoc/RubyXL/Scenarios.html +1 -1
  293. data/rdoc/RubyXL/Selection.html +1 -1
  294. data/rdoc/RubyXL/ShapeGuide.html +1 -1
  295. data/rdoc/RubyXL/ShapeTextRectangle.html +1 -1
  296. data/rdoc/RubyXL/SharedStringsTable.html +1 -1
  297. data/rdoc/RubyXL/Sheet.html +1 -1
  298. data/rdoc/RubyXL/SheetCalculationProperties.html +1 -1
  299. data/rdoc/RubyXL/SheetData.html +1 -1
  300. data/rdoc/RubyXL/Sheets.html +1 -1
  301. data/rdoc/RubyXL/SlicerCacheFile.html +1 -1
  302. data/rdoc/RubyXL/SlicerFile.html +1 -1
  303. data/rdoc/RubyXL/SmartTagProperties.html +1 -1
  304. data/rdoc/RubyXL/SmartTagType.html +1 -1
  305. data/rdoc/RubyXL/SmartTagTypes.html +1 -1
  306. data/rdoc/RubyXL/SmartTags.html +1 -1
  307. data/rdoc/RubyXL/SortCondition.html +1 -1
  308. data/rdoc/RubyXL/SortState.html +1 -1
  309. data/rdoc/RubyXL/Sqref.html +1 -1
  310. data/rdoc/RubyXL/Stop.html +1 -1
  311. data/rdoc/RubyXL/StringNode.html +1 -1
  312. data/rdoc/RubyXL/StringNodeW3C.html +1 -1
  313. data/rdoc/RubyXL/StringValue.html +1 -1
  314. data/rdoc/RubyXL/Stylesheet.html +1 -1
  315. data/rdoc/RubyXL/TableFile.html +1 -1
  316. data/rdoc/RubyXL/TableParts.html +1 -1
  317. data/rdoc/RubyXL/TableStyle.html +1 -1
  318. data/rdoc/RubyXL/TableStyles.html +1 -1
  319. data/rdoc/RubyXL/Text.html +1 -1
  320. data/rdoc/RubyXL/Theme.html +1 -1
  321. data/rdoc/RubyXL/ThemeElements.html +1 -1
  322. data/rdoc/RubyXL/ThumbnailFile.html +1 -1
  323. data/rdoc/RubyXL/Top10.html +1 -1
  324. data/rdoc/RubyXL/VMLDrawingFile.html +1 -1
  325. data/rdoc/RubyXL/Variant.html +1 -1
  326. data/rdoc/RubyXL/Vector.html +1 -1
  327. data/rdoc/RubyXL/VectorValue.html +1 -1
  328. data/rdoc/RubyXL/VisualProperties.html +1 -1
  329. data/rdoc/RubyXL/WebPublishObject.html +1 -1
  330. data/rdoc/RubyXL/WebPublishObjects.html +1 -1
  331. data/rdoc/RubyXL/WebPublishingItem.html +1 -1
  332. data/rdoc/RubyXL/WebPublishingItems.html +1 -1
  333. data/rdoc/RubyXL/WebPublishingProperties.html +1 -1
  334. data/rdoc/RubyXL/Workbook.html +1 -1
  335. data/rdoc/RubyXL/WorkbookConvenienceMethods.html +1 -1
  336. data/rdoc/RubyXL/WorkbookProperties.html +1 -1
  337. data/rdoc/RubyXL/WorkbookProtection.html +1 -1
  338. data/rdoc/RubyXL/WorkbookRoot.html +1 -1
  339. data/rdoc/RubyXL/WorkbookView.html +1 -1
  340. data/rdoc/RubyXL/WorkbookViews.html +1 -1
  341. data/rdoc/RubyXL/Worksheet.html +1 -1
  342. data/rdoc/RubyXL/WorksheetConvenienceMethods.html +231 -978
  343. data/rdoc/RubyXL/WorksheetDimensions.html +1 -1
  344. data/rdoc/RubyXL/WorksheetFormatProperties.html +1 -1
  345. data/rdoc/RubyXL/WorksheetProperties.html +1 -1
  346. data/rdoc/RubyXL/WorksheetProtection.html +1 -1
  347. data/rdoc/RubyXL/WorksheetView.html +1 -1
  348. data/rdoc/RubyXL/WorksheetViews.html +1 -1
  349. data/rdoc/RubyXL/XF.html +1 -1
  350. data/rdoc/created.rid +37 -37
  351. data/rdoc/index.html +2 -2
  352. data/rdoc/js/navigation.js.gz +0 -0
  353. data/rdoc/js/search_index.js +1 -1
  354. data/rdoc/js/search_index.js.gz +0 -0
  355. data/rdoc/js/searcher.js.gz +0 -0
  356. data/rdoc/table_of_contents.html +169 -274
  357. data/rubyXL.gemspec +3 -3
  358. data/spec/lib/cell_spec.rb +12 -0
  359. data/spec/lib/worksheet_spec.rb +17 -25
  360. metadata +2 -2
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Vector - rubyXL 3.3.3</title>
7
+ <title>class RubyXL::Vector - rubyXL 3.3.5</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::VectorValue - rubyXL 3.3.3</title>
7
+ <title>class RubyXL::VectorValue - rubyXL 3.3.5</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::VisualProperties - rubyXL 3.3.3</title>
7
+ <title>class RubyXL::VisualProperties - rubyXL 3.3.5</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WebPublishObject - rubyXL 3.3.3</title>
7
+ <title>class RubyXL::WebPublishObject - rubyXL 3.3.5</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WebPublishObjects - rubyXL 3.3.3</title>
7
+ <title>class RubyXL::WebPublishObjects - rubyXL 3.3.5</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WebPublishingItem - rubyXL 3.3.3</title>
7
+ <title>class RubyXL::WebPublishingItem - rubyXL 3.3.5</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WebPublishingItems - rubyXL 3.3.3</title>
7
+ <title>class RubyXL::WebPublishingItems - rubyXL 3.3.5</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WebPublishingProperties - rubyXL 3.3.3</title>
7
+ <title>class RubyXL::WebPublishingProperties - rubyXL 3.3.5</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Workbook - rubyXL 3.3.3</title>
7
+ <title>class RubyXL::Workbook - rubyXL 3.3.5</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>module RubyXL::WorkbookConvenienceMethods - rubyXL 3.3.3</title>
7
+ <title>module RubyXL::WorkbookConvenienceMethods - rubyXL 3.3.5</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WorkbookProperties - rubyXL 3.3.3</title>
7
+ <title>class RubyXL::WorkbookProperties - rubyXL 3.3.5</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WorkbookProtection - rubyXL 3.3.3</title>
7
+ <title>class RubyXL::WorkbookProtection - rubyXL 3.3.5</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WorkbookRoot - rubyXL 3.3.3</title>
7
+ <title>class RubyXL::WorkbookRoot - rubyXL 3.3.5</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WorkbookView - rubyXL 3.3.3</title>
7
+ <title>class RubyXL::WorkbookView - rubyXL 3.3.5</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WorkbookViews - rubyXL 3.3.3</title>
7
+ <title>class RubyXL::WorkbookViews - rubyXL 3.3.5</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Worksheet - rubyXL 3.3.3</title>
7
+ <title>class RubyXL::Worksheet - rubyXL 3.3.5</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>module RubyXL::WorksheetConvenienceMethods - rubyXL 3.3.3</title>
7
+ <title>module RubyXL::WorksheetConvenienceMethods - rubyXL 3.3.5</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -69,16 +69,6 @@
69
69
 
70
70
  <li ><a href="#method-i-change_column_border">#change_column_border</a>
71
71
 
72
- <li ><a href="#method-i-change_column_border_bottom">#change_column_border_bottom</a>
73
-
74
- <li ><a href="#method-i-change_column_border_diagonal">#change_column_border_diagonal</a>
75
-
76
- <li ><a href="#method-i-change_column_border_left">#change_column_border_left</a>
77
-
78
- <li ><a href="#method-i-change_column_border_right">#change_column_border_right</a>
79
-
80
- <li ><a href="#method-i-change_column_border_top">#change_column_border_top</a>
81
-
82
72
  <li ><a href="#method-i-change_column_font_color">#change_column_font_color</a>
83
73
 
84
74
  <li ><a href="#method-i-change_column_font_name">#change_column_font_name</a>
@@ -101,16 +91,6 @@
101
91
 
102
92
  <li ><a href="#method-i-change_row_border">#change_row_border</a>
103
93
 
104
- <li ><a href="#method-i-change_row_border_bottom">#change_row_border_bottom</a>
105
-
106
- <li ><a href="#method-i-change_row_border_diagonal">#change_row_border_diagonal</a>
107
-
108
- <li ><a href="#method-i-change_row_border_left">#change_row_border_left</a>
109
-
110
- <li ><a href="#method-i-change_row_border_right">#change_row_border_right</a>
111
-
112
- <li ><a href="#method-i-change_row_border_top">#change_row_border_top</a>
113
-
114
94
  <li ><a href="#method-i-change_row_fill">#change_row_fill</a>
115
95
 
116
96
  <li ><a href="#method-i-change_row_font_color">#change_row_font_color</a>
@@ -135,16 +115,6 @@
135
115
 
136
116
  <li ><a href="#method-i-get_column_border">#get_column_border</a>
137
117
 
138
- <li ><a href="#method-i-get_column_border_bottom">#get_column_border_bottom</a>
139
-
140
- <li ><a href="#method-i-get_column_border_diagonal">#get_column_border_diagonal</a>
141
-
142
- <li ><a href="#method-i-get_column_border_left">#get_column_border_left</a>
143
-
144
- <li ><a href="#method-i-get_column_border_right">#get_column_border_right</a>
145
-
146
- <li ><a href="#method-i-get_column_border_top">#get_column_border_top</a>
147
-
148
118
  <li ><a href="#method-i-get_column_fill">#get_column_fill</a>
149
119
 
150
120
  <li ><a href="#method-i-get_column_font_color">#get_column_font_color</a>
@@ -153,25 +123,13 @@
153
123
 
154
124
  <li ><a href="#method-i-get_column_font_size">#get_column_font_size</a>
155
125
 
156
- <li ><a href="#method-i-get_column_horizontal_alignment">#get_column_horizontal_alignment</a>
157
-
158
- <li ><a href="#method-i-get_column_vertical_alignment">#get_column_vertical_alignment</a>
159
-
160
126
  <li ><a href="#method-i-get_column_width">#get_column_width</a>
161
127
 
162
128
  <li ><a href="#method-i-get_column_width_raw">#get_column_width_raw</a>
163
129
 
164
- <li ><a href="#method-i-get_row_border">#get_row_border</a>
165
-
166
- <li ><a href="#method-i-get_row_border_bottom">#get_row_border_bottom</a>
167
-
168
- <li ><a href="#method-i-get_row_border_diagonal">#get_row_border_diagonal</a>
130
+ <li ><a href="#method-i-get_row_alignment">#get_row_alignment</a>
169
131
 
170
- <li ><a href="#method-i-get_row_border_left">#get_row_border_left</a>
171
-
172
- <li ><a href="#method-i-get_row_border_right">#get_row_border_right</a>
173
-
174
- <li ><a href="#method-i-get_row_border_top">#get_row_border_top</a>
132
+ <li ><a href="#method-i-get_row_border">#get_row_border</a>
175
133
 
176
134
  <li ><a href="#method-i-get_row_fill">#get_row_fill</a>
177
135
 
@@ -256,7 +214,7 @@
256
214
 
257
215
 
258
216
  <div class="method-source-code" id="change_column_alignment-source">
259
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 605</span>
217
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 509</span>
260
218
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_alignment</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
261
219
  <span class="ruby-identifier">validate_workbook</span>
262
220
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
@@ -300,7 +258,7 @@
300
258
 
301
259
 
302
260
  <div class="method-source-code" id="change_column_bold-source">
303
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 526</span>
261
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 455</span>
304
262
  <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>)
305
263
  <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
306
264
  <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>
@@ -336,7 +294,7 @@
336
294
 
337
295
 
338
296
  <div class="method-source-code" id="change_column_border-source">
339
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 580</span>
297
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 484</span>
340
298
  <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>)
341
299
  <span class="ruby-identifier">validate_workbook</span>
342
300
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
@@ -355,176 +313,6 @@
355
313
 
356
314
 
357
315
 
358
- </div>
359
-
360
-
361
- <div id="method-i-change_column_border_bottom" class="method-detail ">
362
-
363
- <div class="method-heading">
364
- <span class="method-name">change_column_border_bottom</span><span
365
- class="method-args">(column_index, weight = 'thin')</span>
366
-
367
- <span class="method-click-advice">click to toggle source</span>
368
-
369
- </div>
370
-
371
-
372
- <div class="method-description">
373
-
374
-
375
-
376
-
377
-
378
-
379
- <div class="method-source-code" id="change_column_border_bottom-source">
380
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 570</span>
381
- <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>)
382
- <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `change_column_border` instead.&quot;</span>
383
- <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>)
384
- <span class="ruby-keyword">end</span></pre>
385
- </div>
386
-
387
- </div>
388
-
389
-
390
-
391
-
392
- </div>
393
-
394
-
395
- <div id="method-i-change_column_border_diagonal" class="method-detail ">
396
-
397
- <div class="method-heading">
398
- <span class="method-name">change_column_border_diagonal</span><span
399
- class="method-args">(column_index, weight = 'thin')</span>
400
-
401
- <span class="method-click-advice">click to toggle source</span>
402
-
403
- </div>
404
-
405
-
406
- <div class="method-description">
407
-
408
-
409
-
410
-
411
-
412
-
413
- <div class="method-source-code" id="change_column_border_diagonal-source">
414
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 575</span>
415
- <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>)
416
- <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `change_column_border` instead.&quot;</span>
417
- <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>)
418
- <span class="ruby-keyword">end</span></pre>
419
- </div>
420
-
421
- </div>
422
-
423
-
424
-
425
-
426
- </div>
427
-
428
-
429
- <div id="method-i-change_column_border_left" class="method-detail ">
430
-
431
- <div class="method-heading">
432
- <span class="method-name">change_column_border_left</span><span
433
- class="method-args">(column_index, weight = 'thin')</span>
434
-
435
- <span class="method-click-advice">click to toggle source</span>
436
-
437
- </div>
438
-
439
-
440
- <div class="method-description">
441
-
442
-
443
-
444
-
445
-
446
-
447
- <div class="method-source-code" id="change_column_border_left-source">
448
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 560</span>
449
- <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>)
450
- <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `change_column_border` instead.&quot;</span>
451
- <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>)
452
- <span class="ruby-keyword">end</span></pre>
453
- </div>
454
-
455
- </div>
456
-
457
-
458
-
459
-
460
- </div>
461
-
462
-
463
- <div id="method-i-change_column_border_right" class="method-detail ">
464
-
465
- <div class="method-heading">
466
- <span class="method-name">change_column_border_right</span><span
467
- class="method-args">(column_index, weight = 'thin')</span>
468
-
469
- <span class="method-click-advice">click to toggle source</span>
470
-
471
- </div>
472
-
473
-
474
- <div class="method-description">
475
-
476
-
477
-
478
-
479
-
480
-
481
- <div class="method-source-code" id="change_column_border_right-source">
482
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 565</span>
483
- <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>)
484
- <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `change_column_border` instead.&quot;</span>
485
- <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>)
486
- <span class="ruby-keyword">end</span></pre>
487
- </div>
488
-
489
- </div>
490
-
491
-
492
-
493
-
494
- </div>
495
-
496
-
497
- <div id="method-i-change_column_border_top" class="method-detail ">
498
-
499
- <div class="method-heading">
500
- <span class="method-name">change_column_border_top</span><span
501
- class="method-args">(column_index, weight = 'thin')</span>
502
-
503
- <span class="method-click-advice">click to toggle source</span>
504
-
505
- </div>
506
-
507
-
508
- <div class="method-description">
509
-
510
-
511
-
512
-
513
-
514
-
515
- <div class="method-source-code" id="change_column_border_top-source">
516
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 555</span>
517
- <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>)
518
- <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `change_column_border` instead.&quot;</span>
519
- <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>)
520
- <span class="ruby-keyword">end</span></pre>
521
- </div>
522
-
523
- </div>
524
-
525
-
526
-
527
-
528
316
  </div>
529
317
 
530
318
 
@@ -547,7 +335,7 @@
547
335
 
548
336
 
549
337
  <div class="method-source-code" id="change_column_font_color-source">
550
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 510</span>
338
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 439</span>
551
339
  <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>)
552
340
  <span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">font_color</span>)
553
341
 
@@ -585,7 +373,7 @@
585
373
 
586
374
 
587
375
  <div class="method-source-code" id="change_column_font_name-source">
588
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 496</span>
376
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 425</span>
589
377
  <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>)
590
378
  <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
591
379
  <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>
@@ -621,7 +409,7 @@
621
409
 
622
410
 
623
411
  <div class="method-source-code" id="change_column_font_size-source">
624
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 503</span>
412
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 432</span>
625
413
  <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>)
626
414
  <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
627
415
  <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>
@@ -657,7 +445,7 @@
657
445
 
658
446
 
659
447
  <div class="method-source-code" id="change_column_horizontal_alignment-source">
660
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 547</span>
448
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 476</span>
661
449
  <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>)
662
450
  <span class="ruby-identifier">change_column_alignment</span>(<span class="ruby-identifier">column_index</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">horizontal</span> = <span class="ruby-identifier">alignment</span> }
663
451
  <span class="ruby-keyword">end</span></pre>
@@ -690,7 +478,7 @@
690
478
 
691
479
 
692
480
  <div class="method-source-code" id="change_column_italics-source">
693
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 519</span>
481
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 448</span>
694
482
  <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>)
695
483
  <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
696
484
  <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>
@@ -726,7 +514,7 @@
726
514
 
727
515
 
728
516
  <div class="method-source-code" id="change_column_strikethrough-source">
729
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 540</span>
517
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 469</span>
730
518
  <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>)
731
519
  <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
732
520
  <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>
@@ -762,7 +550,7 @@
762
550
 
763
551
 
764
552
  <div class="method-source-code" id="change_column_underline-source">
765
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 533</span>
553
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 462</span>
766
554
  <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>)
767
555
  <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
768
556
  <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>
@@ -798,7 +586,7 @@
798
586
 
799
587
 
800
588
  <div class="method-source-code" id="change_column_vertical_alignment-source">
801
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 551</span>
589
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 480</span>
802
590
  <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>)
803
591
  <span class="ruby-identifier">change_column_alignment</span>(<span class="ruby-identifier">column_index</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">vertical</span> = <span class="ruby-identifier">alignment</span> }
804
592
  <span class="ruby-keyword">end</span></pre>
@@ -831,7 +619,7 @@
831
619
 
832
620
 
833
621
  <div class="method-source-code" id="change_row_alignment-source">
834
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 592</span>
622
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 496</span>
835
623
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_alignment</span>(<span class="ruby-identifier">row</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
836
624
  <span class="ruby-identifier">validate_workbook</span>
837
625
  <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
@@ -873,7 +661,7 @@
873
661
 
874
662
 
875
663
  <div class="method-source-code" id="change_row_bold-source">
876
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 466</span>
664
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 395</span>
877
665
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_bold</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">bolded</span> = <span class="ruby-keyword">false</span>)
878
666
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
879
667
  <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>
@@ -909,7 +697,7 @@
909
697
 
910
698
 
911
699
  <div class="method-source-code" id="change_row_border-source">
912
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 417</span>
700
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 346</span>
913
701
  <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>)
914
702
  <span class="ruby-identifier">validate_workbook</span>
915
703
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
@@ -930,181 +718,11 @@
930
718
  </div>
931
719
 
932
720
 
933
- <div id="method-i-change_row_border_bottom" class="method-detail ">
934
-
935
- <div class="method-heading">
936
- <span class="method-name">change_row_border_bottom</span><span
937
- class="method-args">(row = 0, weight = 'thin')</span>
938
-
939
- <span class="method-click-advice">click to toggle source</span>
940
-
941
- </div>
942
-
943
-
944
- <div class="method-description">
945
-
946
-
947
-
948
-
949
-
950
-
951
- <div class="method-source-code" id="change_row_border_bottom-source">
952
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 407</span>
953
- <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>)
954
- <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `change_row_border` instead.&quot;</span>
955
- <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>)
956
- <span class="ruby-keyword">end</span></pre>
957
- </div>
958
-
959
- </div>
960
-
961
-
962
-
963
-
964
- </div>
965
-
966
-
967
- <div id="method-i-change_row_border_diagonal" class="method-detail ">
968
-
969
- <div class="method-heading">
970
- <span class="method-name">change_row_border_diagonal</span><span
971
- class="method-args">(row = 0, weight = 'thin')</span>
972
-
973
- <span class="method-click-advice">click to toggle source</span>
974
-
975
- </div>
976
-
977
-
978
- <div class="method-description">
979
-
980
-
981
-
982
-
983
-
984
-
985
- <div class="method-source-code" id="change_row_border_diagonal-source">
986
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 412</span>
987
- <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>)
988
- <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `change_row_border` instead.&quot;</span>
989
- <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>)
990
- <span class="ruby-keyword">end</span></pre>
991
- </div>
992
-
993
- </div>
994
-
995
-
996
-
997
-
998
- </div>
999
-
1000
-
1001
- <div id="method-i-change_row_border_left" class="method-detail ">
1002
-
1003
- <div class="method-heading">
1004
- <span class="method-name">change_row_border_left</span><span
1005
- class="method-args">(row = 0, weight = 'thin')</span>
1006
-
1007
- <span class="method-click-advice">click to toggle source</span>
1008
-
1009
- </div>
1010
-
1011
-
1012
- <div class="method-description">
1013
-
1014
-
1015
-
1016
-
1017
-
1018
-
1019
- <div class="method-source-code" id="change_row_border_left-source">
1020
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 397</span>
1021
- <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>)
1022
- <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `change_row_border` instead.&quot;</span>
1023
- <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>)
1024
- <span class="ruby-keyword">end</span></pre>
1025
- </div>
1026
-
1027
- </div>
1028
-
1029
-
1030
-
1031
-
1032
- </div>
1033
-
1034
-
1035
- <div id="method-i-change_row_border_right" class="method-detail ">
721
+ <div id="method-i-change_row_fill" class="method-detail ">
1036
722
 
1037
723
  <div class="method-heading">
1038
- <span class="method-name">change_row_border_right</span><span
1039
- class="method-args">(row = 0, weight = 'thin')</span>
1040
-
1041
- <span class="method-click-advice">click to toggle source</span>
1042
-
1043
- </div>
1044
-
1045
-
1046
- <div class="method-description">
1047
-
1048
-
1049
-
1050
-
1051
-
1052
-
1053
- <div class="method-source-code" id="change_row_border_right-source">
1054
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 402</span>
1055
- <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>)
1056
- <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `change_row_border` instead.&quot;</span>
1057
- <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>)
1058
- <span class="ruby-keyword">end</span></pre>
1059
- </div>
1060
-
1061
- </div>
1062
-
1063
-
1064
-
1065
-
1066
- </div>
1067
-
1068
-
1069
- <div id="method-i-change_row_border_top" class="method-detail ">
1070
-
1071
- <div class="method-heading">
1072
- <span class="method-name">change_row_border_top</span><span
1073
- class="method-args">(row = 0, weight = 'thin')</span>
1074
-
1075
- <span class="method-click-advice">click to toggle source</span>
1076
-
1077
- </div>
1078
-
1079
-
1080
- <div class="method-description">
1081
-
1082
-
1083
-
1084
-
1085
-
1086
-
1087
- <div class="method-source-code" id="change_row_border_top-source">
1088
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 392</span>
1089
- <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>)
1090
- <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `change_row_border` instead.&quot;</span>
1091
- <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>)
1092
- <span class="ruby-keyword">end</span></pre>
1093
- </div>
1094
-
1095
- </div>
1096
-
1097
-
1098
-
1099
-
1100
- </div>
1101
-
1102
-
1103
- <div id="method-i-change_row_fill" class="method-detail ">
1104
-
1105
- <div class="method-heading">
1106
- <span class="method-name">change_row_fill</span><span
1107
- class="method-args">(row_index = 0, rgb = 'ffffff')</span>
724
+ <span class="method-name">change_row_fill</span><span
725
+ class="method-args">(row_index = 0, rgb = 'ffffff')</span>
1108
726
 
1109
727
  <span class="method-click-advice">click to toggle source</span>
1110
728
 
@@ -1119,414 +737,14 @@
1119
737
 
1120
738
 
1121
739
  <div class="method-source-code" id="change_row_fill-source">
1122
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 428</span>
740
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 357</span>
1123
741
  <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>)
1124
742
  <span class="ruby-identifier">validate_workbook</span>
1125
743
  <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row_index</span>)
1126
744
  <span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">rgb</span>)
1127
-
1128
- <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">row_index</span>].<span class="ruby-identifier">style_index</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">modify_fill</span>(<span class="ruby-identifier">get_row_style</span>(<span class="ruby-identifier">row_index</span>), <span class="ruby-identifier">rgb</span>)
1129
- <span class="ruby-identifier">sheet_data</span>[<span class="ruby-identifier">row_index</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> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">change_fill</span>(<span class="ruby-identifier">rgb</span>) <span class="ruby-keyword">unless</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">nil?</span> }
1130
- <span class="ruby-keyword">end</span></pre>
1131
- </div>
1132
-
1133
- </div>
1134
-
1135
-
1136
-
1137
-
1138
- </div>
1139
-
1140
-
1141
- <div id="method-i-change_row_font_color" class="method-detail ">
1142
-
1143
- <div class="method-heading">
1144
- <span class="method-name">change_row_font_color</span><span
1145
- class="method-args">(row = 0, font_color = '000000')</span>
1146
-
1147
- <span class="method-click-advice">click to toggle source</span>
1148
-
1149
- </div>
1150
-
1151
-
1152
- <div class="method-description">
1153
-
1154
-
1155
-
1156
-
1157
-
1158
-
1159
- <div class="method-source-code" id="change_row_font_color-source">
1160
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 451</span>
1161
- <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>)
1162
- <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
1163
- <span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">font_color</span>)
1164
- <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>
1165
- <span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_rgb_color</span>(<span class="ruby-identifier">font_color</span>)
1166
- <span class="ruby-identifier">change_row_font</span>(<span class="ruby-identifier">row</span>, <span class="ruby-constant">Worksheet</span><span class="ruby-operator">::</span><span class="ruby-constant">COLOR</span>, <span class="ruby-identifier">font_color</span>, <span class="ruby-identifier">font</span>)
1167
- <span class="ruby-keyword">end</span></pre>
1168
- </div>
1169
-
1170
- </div>
1171
-
1172
-
1173
-
1174
-
1175
- </div>
1176
-
1177
-
1178
- <div id="method-i-change_row_font_name" class="method-detail ">
1179
-
1180
- <div class="method-heading">
1181
- <span class="method-name">change_row_font_name</span><span
1182
- class="method-args">(row = 0, font_name = 'Verdana')</span>
1183
-
1184
- <span class="method-click-advice">click to toggle source</span>
1185
-
1186
- </div>
1187
-
1188
-
1189
- <div class="method-description">
1190
-
1191
-
1192
-
1193
-
1194
-
1195
-
1196
- <div class="method-source-code" id="change_row_font_name-source">
1197
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 437</span>
1198
- <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>)
1199
- <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
1200
- <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>
1201
- <span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_name</span>(<span class="ruby-identifier">font_name</span>)
1202
- <span class="ruby-identifier">change_row_font</span>(<span class="ruby-identifier">row</span>, <span class="ruby-constant">Worksheet</span><span class="ruby-operator">::</span><span class="ruby-constant">NAME</span>, <span class="ruby-identifier">font_name</span>, <span class="ruby-identifier">font</span>)
1203
- <span class="ruby-keyword">end</span></pre>
1204
- </div>
1205
-
1206
- </div>
1207
-
1208
-
1209
-
1210
-
1211
- </div>
1212
-
1213
-
1214
- <div id="method-i-change_row_font_size" class="method-detail ">
1215
-
1216
- <div class="method-heading">
1217
- <span class="method-name">change_row_font_size</span><span
1218
- class="method-args">(row = 0, font_size=10)</span>
1219
-
1220
- <span class="method-click-advice">click to toggle source</span>
1221
-
1222
- </div>
1223
-
1224
-
1225
- <div class="method-description">
1226
-
1227
-
1228
-
1229
-
1230
-
1231
-
1232
- <div class="method-source-code" id="change_row_font_size-source">
1233
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 444</span>
1234
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_font_size</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">font_size</span>=<span class="ruby-value">10</span>)
1235
- <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
1236
- <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>
1237
- <span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_size</span>(<span class="ruby-identifier">font_size</span>)
1238
- <span class="ruby-identifier">change_row_font</span>(<span class="ruby-identifier">row</span>, <span class="ruby-constant">Worksheet</span><span class="ruby-operator">::</span><span class="ruby-constant">SIZE</span>, <span class="ruby-identifier">font_size</span>, <span class="ruby-identifier">font</span>)
1239
- <span class="ruby-keyword">end</span></pre>
1240
- </div>
1241
-
1242
- </div>
1243
-
1244
-
1245
-
1246
-
1247
- </div>
1248
-
1249
-
1250
- <div id="method-i-change_row_height" class="method-detail ">
1251
-
1252
- <div class="method-heading">
1253
- <span class="method-name">change_row_height</span><span
1254
- class="method-args">(row = 0, height = 10)</span>
1255
-
1256
- <span class="method-click-advice">click to toggle source</span>
1257
-
1258
- </div>
1259
-
1260
-
1261
- <div class="method-description">
1262
-
1263
-
1264
-
1265
-
1266
-
1267
-
1268
- <div class="method-source-code" id="change_row_height-source">
1269
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 487</span>
1270
- <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>)
1271
- <span class="ruby-identifier">validate_workbook</span>
1272
- <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
1273
-
1274
- <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>]
1275
- <span class="ruby-identifier">c</span>.<span class="ruby-identifier">ht</span> = <span class="ruby-identifier">height</span>
1276
- <span class="ruby-identifier">c</span>.<span class="ruby-identifier">custom_height</span> = <span class="ruby-keyword">true</span>
1277
- <span class="ruby-keyword">end</span></pre>
1278
- </div>
1279
-
1280
- </div>
1281
-
1282
-
1283
-
1284
-
1285
- </div>
1286
-
1287
-
1288
- <div id="method-i-change_row_horizontal_alignment" class="method-detail ">
1289
-
1290
- <div class="method-heading">
1291
- <span class="method-name">change_row_horizontal_alignment</span><span
1292
- class="method-args">(row = 0, alignment = 'center')</span>
1293
-
1294
- <span class="method-click-advice">click to toggle source</span>
1295
-
1296
- </div>
1297
-
1298
-
1299
- <div class="method-description">
1300
-
1301
-
1302
-
1303
-
1304
-
1305
-
1306
- <div class="method-source-code" id="change_row_horizontal_alignment-source">
1307
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 380</span>
1308
- <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>)
1309
- <span class="ruby-identifier">validate_workbook</span>
1310
- <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
1311
- <span class="ruby-identifier">change_row_alignment</span>(<span class="ruby-identifier">row</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">horizontal</span> = <span class="ruby-identifier">alignment</span> }
1312
- <span class="ruby-keyword">end</span></pre>
1313
- </div>
1314
-
1315
- </div>
1316
-
1317
-
1318
-
1319
-
1320
- </div>
1321
-
1322
-
1323
- <div id="method-i-change_row_italics" class="method-detail ">
1324
-
1325
- <div class="method-heading">
1326
- <span class="method-name">change_row_italics</span><span
1327
- class="method-args">(row = 0, italicized = false)</span>
1328
-
1329
- <span class="method-click-advice">click to toggle source</span>
1330
-
1331
- </div>
1332
-
1333
-
1334
- <div class="method-description">
1335
-
1336
-
1337
-
1338
-
1339
-
1340
-
1341
- <div class="method-source-code" id="change_row_italics-source">
1342
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 459</span>
1343
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_italics</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">italicized</span> = <span class="ruby-keyword">false</span>)
1344
- <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
1345
- <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>
1346
- <span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_italic</span>(<span class="ruby-identifier">italicized</span>)
1347
- <span class="ruby-identifier">change_row_font</span>(<span class="ruby-identifier">row</span>, <span class="ruby-constant">Worksheet</span><span class="ruby-operator">::</span><span class="ruby-constant">ITALICS</span>, <span class="ruby-identifier">italicized</span>, <span class="ruby-identifier">font</span>)
1348
- <span class="ruby-keyword">end</span></pre>
1349
- </div>
1350
-
1351
- </div>
1352
-
1353
-
1354
-
1355
-
1356
- </div>
1357
-
1358
-
1359
- <div id="method-i-change_row_strikethrough" class="method-detail ">
1360
-
1361
- <div class="method-heading">
1362
- <span class="method-name">change_row_strikethrough</span><span
1363
- class="method-args">(row = 0, struckthrough=false)</span>
1364
-
1365
- <span class="method-click-advice">click to toggle source</span>
1366
-
1367
- </div>
1368
-
1369
-
1370
- <div class="method-description">
1371
-
1372
-
1373
-
1374
-
1375
-
1376
-
1377
- <div class="method-source-code" id="change_row_strikethrough-source">
1378
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 480</span>
1379
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_strikethrough</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">struckthrough</span>=<span class="ruby-keyword">false</span>)
1380
- <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
1381
- <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
- <span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_strikethrough</span>(<span class="ruby-identifier">struckthrough</span>)
1383
- <span class="ruby-identifier">change_row_font</span>(<span class="ruby-identifier">row</span>, <span class="ruby-constant">Worksheet</span><span class="ruby-operator">::</span><span class="ruby-constant">STRIKETHROUGH</span>, <span class="ruby-identifier">struckthrough</span>, <span class="ruby-identifier">font</span>)
1384
- <span class="ruby-keyword">end</span></pre>
1385
- </div>
1386
-
1387
- </div>
1388
-
1389
-
1390
-
1391
-
1392
- </div>
1393
-
1394
-
1395
- <div id="method-i-change_row_underline" class="method-detail ">
1396
-
1397
- <div class="method-heading">
1398
- <span class="method-name">change_row_underline</span><span
1399
- class="method-args">(row = 0, underlined=false)</span>
1400
-
1401
- <span class="method-click-advice">click to toggle source</span>
1402
-
1403
- </div>
1404
-
1405
-
1406
- <div class="method-description">
1407
-
1408
-
1409
-
1410
-
1411
-
1412
-
1413
- <div class="method-source-code" id="change_row_underline-source">
1414
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 473</span>
1415
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_underline</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">underlined</span>=<span class="ruby-keyword">false</span>)
1416
- <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
1417
- <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>
1418
- <span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_underline</span>(<span class="ruby-identifier">underlined</span>)
1419
- <span class="ruby-identifier">change_row_font</span>(<span class="ruby-identifier">row</span>, <span class="ruby-constant">Worksheet</span><span class="ruby-operator">::</span><span class="ruby-constant">UNDERLINE</span>, <span class="ruby-identifier">underlined</span>, <span class="ruby-identifier">font</span>)
1420
- <span class="ruby-keyword">end</span></pre>
1421
- </div>
1422
-
1423
- </div>
1424
-
1425
-
1426
-
1427
-
1428
- </div>
1429
-
1430
-
1431
- <div id="method-i-change_row_vertical_alignment" class="method-detail ">
1432
-
1433
- <div class="method-heading">
1434
- <span class="method-name">change_row_vertical_alignment</span><span
1435
- class="method-args">(row = 0, alignment = 'center')</span>
1436
-
1437
- <span class="method-click-advice">click to toggle source</span>
1438
-
1439
- </div>
1440
-
1441
-
1442
- <div class="method-description">
1443
-
1444
-
1445
-
1446
-
1447
-
1448
-
1449
- <div class="method-source-code" id="change_row_vertical_alignment-source">
1450
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 386</span>
1451
- <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>)
1452
- <span class="ruby-identifier">validate_workbook</span>
1453
- <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
1454
- <span class="ruby-identifier">change_row_alignment</span>(<span class="ruby-identifier">row</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">vertical</span> = <span class="ruby-identifier">alignment</span> }
1455
- <span class="ruby-keyword">end</span></pre>
1456
- </div>
1457
-
1458
- </div>
1459
-
1460
-
1461
-
1462
-
1463
- </div>
1464
-
1465
-
1466
- <div id="method-i-get_column_alignment" class="method-detail ">
1467
-
1468
- <div class="method-heading">
1469
- <span class="method-name">get_column_alignment</span><span
1470
- class="method-args">(col, type)</span>
1471
-
1472
- <span class="method-click-advice">click to toggle source</span>
1473
-
1474
- </div>
1475
-
1476
-
1477
- <div class="method-description">
1478
-
1479
-
1480
-
1481
-
1482
-
1483
-
1484
- <div class="method-source-code" id="get_column_alignment-source">
1485
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 337</span>
1486
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_alignment</span>(<span class="ruby-identifier">col</span>, <span class="ruby-identifier">type</span>)
1487
- <span class="ruby-identifier">validate_workbook</span>
1488
- <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">col</span>)
1489
-
1490
- <span class="ruby-identifier">xf</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">cell_xfs</span>[<span class="ruby-identifier">get_cols_style_index</span>(<span class="ruby-identifier">col</span>)]
1491
- <span class="ruby-identifier">xf</span>.<span class="ruby-identifier">alignment</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">xf</span>.<span class="ruby-identifier">alignment</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">type</span>)
1492
- <span class="ruby-keyword">end</span></pre>
1493
- </div>
1494
-
1495
- </div>
1496
-
1497
-
1498
-
1499
-
1500
- </div>
1501
-
1502
-
1503
- <div id="method-i-get_column_border" class="method-detail ">
1504
-
1505
- <div class="method-heading">
1506
- <span class="method-name">get_column_border</span><span
1507
- class="method-args">(col, border_direction)</span>
1508
-
1509
- <span class="method-click-advice">click to toggle source</span>
1510
-
1511
- </div>
1512
-
1513
-
1514
- <div class="method-description">
1515
-
1516
-
1517
-
1518
-
1519
-
1520
-
1521
- <div class="method-source-code" id="get_column_border-source">
1522
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 328</span>
1523
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-identifier">border_direction</span>)
1524
- <span class="ruby-identifier">validate_workbook</span>
1525
- <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">col</span>)
1526
-
1527
- <span class="ruby-identifier">xf</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">cell_xfs</span>[<span class="ruby-identifier">get_cols_style_index</span>(<span class="ruby-identifier">col</span>)]
1528
- <span class="ruby-identifier">border</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">borders</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">border_id</span>]
1529
- <span class="ruby-identifier">border</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">border</span>.<span class="ruby-identifier">get_edge_style</span>(<span class="ruby-identifier">border_direction</span>)
745
+
746
+ <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">row_index</span>].<span class="ruby-identifier">style_index</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">modify_fill</span>(<span class="ruby-identifier">get_row_style</span>(<span class="ruby-identifier">row_index</span>), <span class="ruby-identifier">rgb</span>)
747
+ <span class="ruby-identifier">sheet_data</span>[<span class="ruby-identifier">row_index</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> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">change_fill</span>(<span class="ruby-identifier">rgb</span>) <span class="ruby-keyword">unless</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">nil?</span> }
1530
748
  <span class="ruby-keyword">end</span></pre>
1531
749
  </div>
1532
750
 
@@ -1538,11 +756,11 @@
1538
756
  </div>
1539
757
 
1540
758
 
1541
- <div id="method-i-get_column_border_bottom" class="method-detail ">
759
+ <div id="method-i-change_row_font_color" class="method-detail ">
1542
760
 
1543
761
  <div class="method-heading">
1544
- <span class="method-name">get_column_border_bottom</span><span
1545
- class="method-args">(col=0)</span>
762
+ <span class="method-name">change_row_font_color</span><span
763
+ class="method-args">(row = 0, font_color = '000000')</span>
1546
764
 
1547
765
  <span class="method-click-advice">click to toggle source</span>
1548
766
 
@@ -1556,11 +774,14 @@
1556
774
 
1557
775
 
1558
776
 
1559
- <div class="method-source-code" id="get_column_border_bottom-source">
1560
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 370</span>
1561
- <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>)
1562
- <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `get_column_border` instead.&quot;</span>
1563
- <span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:bottom</span>)
777
+ <div class="method-source-code" id="change_row_font_color-source">
778
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 380</span>
779
+ <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>)
780
+ <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
781
+ <span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">font_color</span>)
782
+ <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>
783
+ <span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_rgb_color</span>(<span class="ruby-identifier">font_color</span>)
784
+ <span class="ruby-identifier">change_row_font</span>(<span class="ruby-identifier">row</span>, <span class="ruby-constant">Worksheet</span><span class="ruby-operator">::</span><span class="ruby-constant">COLOR</span>, <span class="ruby-identifier">font_color</span>, <span class="ruby-identifier">font</span>)
1564
785
  <span class="ruby-keyword">end</span></pre>
1565
786
  </div>
1566
787
 
@@ -1572,11 +793,11 @@
1572
793
  </div>
1573
794
 
1574
795
 
1575
- <div id="method-i-get_column_border_diagonal" class="method-detail ">
796
+ <div id="method-i-change_row_font_name" class="method-detail ">
1576
797
 
1577
798
  <div class="method-heading">
1578
- <span class="method-name">get_column_border_diagonal</span><span
1579
- class="method-args">(col=0)</span>
799
+ <span class="method-name">change_row_font_name</span><span
800
+ class="method-args">(row = 0, font_name = 'Verdana')</span>
1580
801
 
1581
802
  <span class="method-click-advice">click to toggle source</span>
1582
803
 
@@ -1590,11 +811,13 @@
1590
811
 
1591
812
 
1592
813
 
1593
- <div class="method-source-code" id="get_column_border_diagonal-source">
1594
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 375</span>
1595
- <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>)
1596
- <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `get_column_border` instead.&quot;</span>
1597
- <span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:diagonal</span>)
814
+ <div class="method-source-code" id="change_row_font_name-source">
815
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 366</span>
816
+ <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>)
817
+ <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
818
+ <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>
819
+ <span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_name</span>(<span class="ruby-identifier">font_name</span>)
820
+ <span class="ruby-identifier">change_row_font</span>(<span class="ruby-identifier">row</span>, <span class="ruby-constant">Worksheet</span><span class="ruby-operator">::</span><span class="ruby-constant">NAME</span>, <span class="ruby-identifier">font_name</span>, <span class="ruby-identifier">font</span>)
1598
821
  <span class="ruby-keyword">end</span></pre>
1599
822
  </div>
1600
823
 
@@ -1606,11 +829,11 @@
1606
829
  </div>
1607
830
 
1608
831
 
1609
- <div id="method-i-get_column_border_left" class="method-detail ">
832
+ <div id="method-i-change_row_font_size" class="method-detail ">
1610
833
 
1611
834
  <div class="method-heading">
1612
- <span class="method-name">get_column_border_left</span><span
1613
- class="method-args">(col=0)</span>
835
+ <span class="method-name">change_row_font_size</span><span
836
+ class="method-args">(row = 0, font_size=10)</span>
1614
837
 
1615
838
  <span class="method-click-advice">click to toggle source</span>
1616
839
 
@@ -1624,11 +847,13 @@
1624
847
 
1625
848
 
1626
849
 
1627
- <div class="method-source-code" id="get_column_border_left-source">
1628
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 360</span>
1629
- <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>)
1630
- <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `get_column_border` instead.&quot;</span>
1631
- <span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:left</span>)
850
+ <div class="method-source-code" id="change_row_font_size-source">
851
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 373</span>
852
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_font_size</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">font_size</span>=<span class="ruby-value">10</span>)
853
+ <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
854
+ <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>
855
+ <span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_size</span>(<span class="ruby-identifier">font_size</span>)
856
+ <span class="ruby-identifier">change_row_font</span>(<span class="ruby-identifier">row</span>, <span class="ruby-constant">Worksheet</span><span class="ruby-operator">::</span><span class="ruby-constant">SIZE</span>, <span class="ruby-identifier">font_size</span>, <span class="ruby-identifier">font</span>)
1632
857
  <span class="ruby-keyword">end</span></pre>
1633
858
  </div>
1634
859
 
@@ -1640,11 +865,11 @@
1640
865
  </div>
1641
866
 
1642
867
 
1643
- <div id="method-i-get_column_border_right" class="method-detail ">
868
+ <div id="method-i-change_row_height" class="method-detail ">
1644
869
 
1645
870
  <div class="method-heading">
1646
- <span class="method-name">get_column_border_right</span><span
1647
- class="method-args">(col=0)</span>
871
+ <span class="method-name">change_row_height</span><span
872
+ class="method-args">(row = 0, height = 10)</span>
1648
873
 
1649
874
  <span class="method-click-advice">click to toggle source</span>
1650
875
 
@@ -1658,11 +883,15 @@
1658
883
 
1659
884
 
1660
885
 
1661
- <div class="method-source-code" id="get_column_border_right-source">
1662
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 365</span>
1663
- <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>)
1664
- <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `get_column_border` instead.&quot;</span>
1665
- <span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:right</span>)
886
+ <div class="method-source-code" id="change_row_height-source">
887
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 416</span>
888
+ <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>)
889
+ <span class="ruby-identifier">validate_workbook</span>
890
+ <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
891
+
892
+ <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>]
893
+ <span class="ruby-identifier">c</span>.<span class="ruby-identifier">ht</span> = <span class="ruby-identifier">height</span>
894
+ <span class="ruby-identifier">c</span>.<span class="ruby-identifier">custom_height</span> = <span class="ruby-keyword">true</span>
1666
895
  <span class="ruby-keyword">end</span></pre>
1667
896
  </div>
1668
897
 
@@ -1674,11 +903,11 @@
1674
903
  </div>
1675
904
 
1676
905
 
1677
- <div id="method-i-get_column_border_top" class="method-detail ">
906
+ <div id="method-i-change_row_horizontal_alignment" class="method-detail ">
1678
907
 
1679
908
  <div class="method-heading">
1680
- <span class="method-name">get_column_border_top</span><span
1681
- class="method-args">(col=0)</span>
909
+ <span class="method-name">change_row_horizontal_alignment</span><span
910
+ class="method-args">(row = 0, alignment = 'center')</span>
1682
911
 
1683
912
  <span class="method-click-advice">click to toggle source</span>
1684
913
 
@@ -1692,11 +921,12 @@
1692
921
 
1693
922
 
1694
923
 
1695
- <div class="method-source-code" id="get_column_border_top-source">
1696
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 355</span>
1697
- <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>)
1698
- <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `get_column_border` instead.&quot;</span>
1699
- <span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:top</span>)
924
+ <div class="method-source-code" id="change_row_horizontal_alignment-source">
925
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 334</span>
926
+ <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>)
927
+ <span class="ruby-identifier">validate_workbook</span>
928
+ <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
929
+ <span class="ruby-identifier">change_row_alignment</span>(<span class="ruby-identifier">row</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">horizontal</span> = <span class="ruby-identifier">alignment</span> }
1700
930
  <span class="ruby-keyword">end</span></pre>
1701
931
  </div>
1702
932
 
@@ -1708,11 +938,11 @@
1708
938
  </div>
1709
939
 
1710
940
 
1711
- <div id="method-i-get_column_fill" class="method-detail ">
941
+ <div id="method-i-change_row_italics" class="method-detail ">
1712
942
 
1713
943
  <div class="method-heading">
1714
- <span class="method-name">get_column_fill</span><span
1715
- class="method-args">(col=0)</span>
944
+ <span class="method-name">change_row_italics</span><span
945
+ class="method-args">(row = 0, italicized = false)</span>
1716
946
 
1717
947
  <span class="method-click-advice">click to toggle source</span>
1718
948
 
@@ -1726,13 +956,13 @@
1726
956
 
1727
957
 
1728
958
 
1729
- <div class="method-source-code" id="get_column_fill-source">
1730
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 321</span>
1731
- <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>)
1732
- <span class="ruby-identifier">validate_workbook</span>
1733
- <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">col</span>)
1734
-
1735
- <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">get_fill_color</span>(<span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">col</span>))
959
+ <div class="method-source-code" id="change_row_italics-source">
960
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 388</span>
961
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_italics</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">italicized</span> = <span class="ruby-keyword">false</span>)
962
+ <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
963
+ <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>
964
+ <span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_italic</span>(<span class="ruby-identifier">italicized</span>)
965
+ <span class="ruby-identifier">change_row_font</span>(<span class="ruby-identifier">row</span>, <span class="ruby-constant">Worksheet</span><span class="ruby-operator">::</span><span class="ruby-constant">ITALICS</span>, <span class="ruby-identifier">italicized</span>, <span class="ruby-identifier">font</span>)
1736
966
  <span class="ruby-keyword">end</span></pre>
1737
967
  </div>
1738
968
 
@@ -1744,11 +974,11 @@
1744
974
  </div>
1745
975
 
1746
976
 
1747
- <div id="method-i-get_column_font_color" class="method-detail ">
977
+ <div id="method-i-change_row_strikethrough" class="method-detail ">
1748
978
 
1749
979
  <div class="method-heading">
1750
- <span class="method-name">get_column_font_color</span><span
1751
- class="method-args">(col = 0)</span>
980
+ <span class="method-name">change_row_strikethrough</span><span
981
+ class="method-args">(row = 0, struckthrough=false)</span>
1752
982
 
1753
983
  <span class="method-click-advice">click to toggle source</span>
1754
984
 
@@ -1762,11 +992,13 @@
1762
992
 
1763
993
 
1764
994
 
1765
- <div class="method-source-code" id="get_column_font_color-source">
1766
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 279</span>
1767
- <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>)
1768
- <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
1769
- <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>)
995
+ <div class="method-source-code" id="change_row_strikethrough-source">
996
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 409</span>
997
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_strikethrough</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">struckthrough</span>=<span class="ruby-keyword">false</span>)
998
+ <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
999
+ <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>
1000
+ <span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_strikethrough</span>(<span class="ruby-identifier">struckthrough</span>)
1001
+ <span class="ruby-identifier">change_row_font</span>(<span class="ruby-identifier">row</span>, <span class="ruby-constant">Worksheet</span><span class="ruby-operator">::</span><span class="ruby-constant">STRIKETHROUGH</span>, <span class="ruby-identifier">struckthrough</span>, <span class="ruby-identifier">font</span>)
1770
1002
  <span class="ruby-keyword">end</span></pre>
1771
1003
  </div>
1772
1004
 
@@ -1778,11 +1010,11 @@
1778
1010
  </div>
1779
1011
 
1780
1012
 
1781
- <div id="method-i-get_column_font_name" class="method-detail ">
1013
+ <div id="method-i-change_row_underline" class="method-detail ">
1782
1014
 
1783
1015
  <div class="method-heading">
1784
- <span class="method-name">get_column_font_name</span><span
1785
- class="method-args">(col = 0)</span>
1016
+ <span class="method-name">change_row_underline</span><span
1017
+ class="method-args">(row = 0, underlined=false)</span>
1786
1018
 
1787
1019
  <span class="method-click-advice">click to toggle source</span>
1788
1020
 
@@ -1796,11 +1028,13 @@
1796
1028
 
1797
1029
 
1798
1030
 
1799
- <div class="method-source-code" id="get_column_font_name-source">
1800
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 269</span>
1801
- <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>)
1802
- <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
1803
- <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>
1031
+ <div class="method-source-code" id="change_row_underline-source">
1032
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 402</span>
1033
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_underline</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">underlined</span>=<span class="ruby-keyword">false</span>)
1034
+ <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
1035
+ <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>
1036
+ <span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_underline</span>(<span class="ruby-identifier">underlined</span>)
1037
+ <span class="ruby-identifier">change_row_font</span>(<span class="ruby-identifier">row</span>, <span class="ruby-constant">Worksheet</span><span class="ruby-operator">::</span><span class="ruby-constant">UNDERLINE</span>, <span class="ruby-identifier">underlined</span>, <span class="ruby-identifier">font</span>)
1804
1038
  <span class="ruby-keyword">end</span></pre>
1805
1039
  </div>
1806
1040
 
@@ -1812,11 +1046,11 @@
1812
1046
  </div>
1813
1047
 
1814
1048
 
1815
- <div id="method-i-get_column_font_size" class="method-detail ">
1049
+ <div id="method-i-change_row_vertical_alignment" class="method-detail ">
1816
1050
 
1817
1051
  <div class="method-heading">
1818
- <span class="method-name">get_column_font_size</span><span
1819
- class="method-args">(col = 0)</span>
1052
+ <span class="method-name">change_row_vertical_alignment</span><span
1053
+ class="method-args">(row = 0, alignment = 'center')</span>
1820
1054
 
1821
1055
  <span class="method-click-advice">click to toggle source</span>
1822
1056
 
@@ -1830,11 +1064,12 @@
1830
1064
 
1831
1065
 
1832
1066
 
1833
- <div class="method-source-code" id="get_column_font_size-source">
1834
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 274</span>
1835
- <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>)
1836
- <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
1837
- <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>
1067
+ <div class="method-source-code" id="change_row_vertical_alignment-source">
1068
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 340</span>
1069
+ <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>)
1070
+ <span class="ruby-identifier">validate_workbook</span>
1071
+ <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
1072
+ <span class="ruby-identifier">change_row_alignment</span>(<span class="ruby-identifier">row</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">vertical</span> = <span class="ruby-identifier">alignment</span> }
1838
1073
  <span class="ruby-keyword">end</span></pre>
1839
1074
  </div>
1840
1075
 
@@ -1846,11 +1081,11 @@
1846
1081
  </div>
1847
1082
 
1848
1083
 
1849
- <div id="method-i-get_column_horizontal_alignment" class="method-detail ">
1084
+ <div id="method-i-get_column_alignment" class="method-detail ">
1850
1085
 
1851
1086
  <div class="method-heading">
1852
- <span class="method-name">get_column_horizontal_alignment</span><span
1853
- class="method-args">(col=0)</span>
1087
+ <span class="method-name">get_column_alignment</span><span
1088
+ class="method-args">(col, type)</span>
1854
1089
 
1855
1090
  <span class="method-click-advice">click to toggle source</span>
1856
1091
 
@@ -1864,11 +1099,14 @@
1864
1099
 
1865
1100
 
1866
1101
 
1867
- <div class="method-source-code" id="get_column_horizontal_alignment-source">
1868
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 345</span>
1869
- <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>)
1870
- <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `get_column_alignment` instead.&quot;</span>
1871
- <span class="ruby-identifier">get_column_alignment</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:horizontal</span>)
1102
+ <div class="method-source-code" id="get_column_alignment-source">
1103
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 326</span>
1104
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_alignment</span>(<span class="ruby-identifier">col</span>, <span class="ruby-identifier">type</span>)
1105
+ <span class="ruby-identifier">validate_workbook</span>
1106
+ <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">col</span>)
1107
+
1108
+ <span class="ruby-identifier">xf</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">cell_xfs</span>[<span class="ruby-identifier">get_cols_style_index</span>(<span class="ruby-identifier">col</span>)]
1109
+ <span class="ruby-identifier">xf</span>.<span class="ruby-identifier">alignment</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">xf</span>.<span class="ruby-identifier">alignment</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">type</span>)
1872
1110
  <span class="ruby-keyword">end</span></pre>
1873
1111
  </div>
1874
1112
 
@@ -1880,11 +1118,11 @@
1880
1118
  </div>
1881
1119
 
1882
1120
 
1883
- <div id="method-i-get_column_vertical_alignment" class="method-detail ">
1121
+ <div id="method-i-get_column_border" class="method-detail ">
1884
1122
 
1885
1123
  <div class="method-heading">
1886
- <span class="method-name">get_column_vertical_alignment</span><span
1887
- class="method-args">(col=0)</span>
1124
+ <span class="method-name">get_column_border</span><span
1125
+ class="method-args">(col, border_direction)</span>
1888
1126
 
1889
1127
  <span class="method-click-advice">click to toggle source</span>
1890
1128
 
@@ -1898,11 +1136,15 @@
1898
1136
 
1899
1137
 
1900
1138
 
1901
- <div class="method-source-code" id="get_column_vertical_alignment-source">
1902
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 350</span>
1903
- <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>)
1904
- <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `get_column_alignment` instead.&quot;</span>
1905
- <span class="ruby-identifier">get_column_alignment</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:vertical</span>)
1139
+ <div class="method-source-code" id="get_column_border-source">
1140
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 317</span>
1141
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-identifier">border_direction</span>)
1142
+ <span class="ruby-identifier">validate_workbook</span>
1143
+ <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">col</span>)
1144
+
1145
+ <span class="ruby-identifier">xf</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">cell_xfs</span>[<span class="ruby-identifier">get_cols_style_index</span>(<span class="ruby-identifier">col</span>)]
1146
+ <span class="ruby-identifier">border</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">borders</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">border_id</span>]
1147
+ <span class="ruby-identifier">border</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">border</span>.<span class="ruby-identifier">get_edge_style</span>(<span class="ruby-identifier">border_direction</span>)
1906
1148
  <span class="ruby-keyword">end</span></pre>
1907
1149
  </div>
1908
1150
 
@@ -1914,11 +1156,11 @@
1914
1156
  </div>
1915
1157
 
1916
1158
 
1917
- <div id="method-i-get_column_width" class="method-detail ">
1159
+ <div id="method-i-get_column_fill" class="method-detail ">
1918
1160
 
1919
1161
  <div class="method-heading">
1920
- <span class="method-name">get_column_width</span><span
1921
- class="method-args">(column_index = 0)</span>
1162
+ <span class="method-name">get_column_fill</span><span
1163
+ class="method-args">(col=0)</span>
1922
1164
 
1923
1165
  <span class="method-click-advice">click to toggle source</span>
1924
1166
 
@@ -1927,18 +1169,18 @@
1927
1169
 
1928
1170
  <div class="method-description">
1929
1171
 
1930
- <p>Get column width measured in number of digits, as per <a
1931
- href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet.column%28v=office.14%29.aspx">msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet.column%28v=office.14%29.aspx</a></p>
1172
+
1932
1173
 
1933
1174
 
1934
1175
 
1935
1176
 
1936
- <div class="method-source-code" id="get_column_width-source">
1937
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 315</span>
1938
- <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>)
1939
- <span class="ruby-identifier">width</span> = <span class="ruby-identifier">get_column_width_raw</span>(<span class="ruby-identifier">column_index</span>)
1940
- <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>
1941
- (<span class="ruby-identifier">width</span> <span class="ruby-operator">-</span> (<span class="ruby-value">5.0</span> <span class="ruby-operator">/</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Font</span><span class="ruby-operator">::</span><span class="ruby-constant">MAX_DIGIT_WIDTH</span>)).<span class="ruby-identifier">round</span>
1177
+ <div class="method-source-code" id="get_column_fill-source">
1178
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 310</span>
1179
+ <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>)
1180
+ <span class="ruby-identifier">validate_workbook</span>
1181
+ <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">col</span>)
1182
+
1183
+ <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">get_fill_color</span>(<span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">col</span>))
1942
1184
  <span class="ruby-keyword">end</span></pre>
1943
1185
  </div>
1944
1186
 
@@ -1950,11 +1192,11 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
1950
1192
  </div>
1951
1193
 
1952
1194
 
1953
- <div id="method-i-get_column_width_raw" class="method-detail ">
1195
+ <div id="method-i-get_column_font_color" class="method-detail ">
1954
1196
 
1955
1197
  <div class="method-heading">
1956
- <span class="method-name">get_column_width_raw</span><span
1957
- class="method-args">(column_index = 0)</span>
1198
+ <span class="method-name">get_column_font_color</span><span
1199
+ class="method-args">(col = 0)</span>
1958
1200
 
1959
1201
  <span class="method-click-advice">click to toggle source</span>
1960
1202
 
@@ -1963,19 +1205,16 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
1963
1205
 
1964
1206
  <div class="method-description">
1965
1207
 
1966
- <p>Get raw column width value as stored in the file</p>
1967
1208
 
1968
1209
 
1969
-
1970
1210
 
1971
- <div class="method-source-code" id="get_column_width_raw-source">
1972
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 305</span>
1973
- <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>)
1974
- <span class="ruby-identifier">validate_workbook</span>
1975
- <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">column_index</span>)
1976
1211
 
1977
- <span class="ruby-identifier">range</span> = <span class="ruby-identifier">cols</span>.<span class="ruby-identifier">locate_range</span>(<span class="ruby-identifier">column_index</span>)
1978
- <span class="ruby-identifier">range</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">range</span>.<span class="ruby-identifier">width</span>
1212
+
1213
+ <div class="method-source-code" id="get_column_font_color-source">
1214
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 268</span>
1215
+ <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>)
1216
+ <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
1217
+ <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>)
1979
1218
  <span class="ruby-keyword">end</span></pre>
1980
1219
  </div>
1981
1220
 
@@ -1987,11 +1226,11 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
1987
1226
  </div>
1988
1227
 
1989
1228
 
1990
- <div id="method-i-get_row_border" class="method-detail ">
1229
+ <div id="method-i-get_column_font_name" class="method-detail ">
1991
1230
 
1992
1231
  <div class="method-heading">
1993
- <span class="method-name">get_row_border</span><span
1994
- class="method-args">(row, border_direction)</span>
1232
+ <span class="method-name">get_column_font_name</span><span
1233
+ class="method-args">(col = 0)</span>
1995
1234
 
1996
1235
  <span class="method-click-advice">click to toggle source</span>
1997
1236
 
@@ -2005,14 +1244,11 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2005
1244
 
2006
1245
 
2007
1246
 
2008
- <div class="method-source-code" id="get_row_border-source">
2009
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 228</span>
2010
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">border_direction</span>)
2011
- <span class="ruby-identifier">validate_workbook</span>
2012
- <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
2013
-
2014
- <span class="ruby-identifier">border</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">borders</span>[<span class="ruby-identifier">get_row_xf</span>(<span class="ruby-identifier">row</span>).<span class="ruby-identifier">border_id</span>]
2015
- <span class="ruby-identifier">border</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">border</span>.<span class="ruby-identifier">get_edge_style</span>(<span class="ruby-identifier">border_direction</span>)
1247
+ <div class="method-source-code" id="get_column_font_name-source">
1248
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 258</span>
1249
+ <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>)
1250
+ <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
1251
+ <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>
2016
1252
  <span class="ruby-keyword">end</span></pre>
2017
1253
  </div>
2018
1254
 
@@ -2024,11 +1260,11 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2024
1260
  </div>
2025
1261
 
2026
1262
 
2027
- <div id="method-i-get_row_border_bottom" class="method-detail ">
1263
+ <div id="method-i-get_column_font_size" class="method-detail ">
2028
1264
 
2029
1265
  <div class="method-heading">
2030
- <span class="method-name">get_row_border_bottom</span><span
2031
- class="method-args">(row = 0)</span>
1266
+ <span class="method-name">get_column_font_size</span><span
1267
+ class="method-args">(col = 0)</span>
2032
1268
 
2033
1269
  <span class="method-click-advice">click to toggle source</span>
2034
1270
 
@@ -2042,11 +1278,11 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2042
1278
 
2043
1279
 
2044
1280
 
2045
- <div class="method-source-code" id="get_row_border_bottom-source">
2046
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 259</span>
2047
- <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>)
2048
- <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `get_row_border` instead.&quot;</span>
2049
- <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>)
1281
+ <div class="method-source-code" id="get_column_font_size-source">
1282
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 263</span>
1283
+ <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>)
1284
+ <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
1285
+ <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>
2050
1286
  <span class="ruby-keyword">end</span></pre>
2051
1287
  </div>
2052
1288
 
@@ -2058,11 +1294,11 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2058
1294
  </div>
2059
1295
 
2060
1296
 
2061
- <div id="method-i-get_row_border_diagonal" class="method-detail ">
1297
+ <div id="method-i-get_column_width" class="method-detail ">
2062
1298
 
2063
1299
  <div class="method-heading">
2064
- <span class="method-name">get_row_border_diagonal</span><span
2065
- class="method-args">(row = 0)</span>
1300
+ <span class="method-name">get_column_width</span><span
1301
+ class="method-args">(column_index = 0)</span>
2066
1302
 
2067
1303
  <span class="method-click-advice">click to toggle source</span>
2068
1304
 
@@ -2071,16 +1307,18 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2071
1307
 
2072
1308
  <div class="method-description">
2073
1309
 
2074
-
1310
+ <p>Get column width measured in number of digits, as per <a
1311
+ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet.column%28v=office.14%29.aspx">msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet.column%28v=office.14%29.aspx</a></p>
2075
1312
 
2076
1313
 
2077
1314
 
2078
1315
 
2079
- <div class="method-source-code" id="get_row_border_diagonal-source">
2080
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 264</span>
2081
- <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>)
2082
- <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `get_row_border` instead.&quot;</span>
2083
- <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>)
1316
+ <div class="method-source-code" id="get_column_width-source">
1317
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 304</span>
1318
+ <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>)
1319
+ <span class="ruby-identifier">width</span> = <span class="ruby-identifier">get_column_width_raw</span>(<span class="ruby-identifier">column_index</span>)
1320
+ <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>
1321
+ (<span class="ruby-identifier">width</span> <span class="ruby-operator">-</span> (<span class="ruby-value">5.0</span> <span class="ruby-operator">/</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Font</span><span class="ruby-operator">::</span><span class="ruby-constant">MAX_DIGIT_WIDTH</span>)).<span class="ruby-identifier">round</span>
2084
1322
  <span class="ruby-keyword">end</span></pre>
2085
1323
  </div>
2086
1324
 
@@ -2092,11 +1330,11 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2092
1330
  </div>
2093
1331
 
2094
1332
 
2095
- <div id="method-i-get_row_border_left" class="method-detail ">
1333
+ <div id="method-i-get_column_width_raw" class="method-detail ">
2096
1334
 
2097
1335
  <div class="method-heading">
2098
- <span class="method-name">get_row_border_left</span><span
2099
- class="method-args">(row = 0)</span>
1336
+ <span class="method-name">get_column_width_raw</span><span
1337
+ class="method-args">(column_index = 0)</span>
2100
1338
 
2101
1339
  <span class="method-click-advice">click to toggle source</span>
2102
1340
 
@@ -2105,16 +1343,19 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2105
1343
 
2106
1344
  <div class="method-description">
2107
1345
 
2108
-
1346
+ <p>Get raw column width value as stored in the file</p>
2109
1347
 
2110
1348
 
2111
1349
 
2112
1350
 
2113
- <div class="method-source-code" id="get_row_border_left-source">
2114
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 249</span>
2115
- <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>)
2116
- <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `get_row_border` instead.&quot;</span>
2117
- <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>)
1351
+ <div class="method-source-code" id="get_column_width_raw-source">
1352
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 294</span>
1353
+ <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>)
1354
+ <span class="ruby-identifier">validate_workbook</span>
1355
+ <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">column_index</span>)
1356
+
1357
+ <span class="ruby-identifier">range</span> = <span class="ruby-identifier">cols</span>.<span class="ruby-identifier">locate_range</span>(<span class="ruby-identifier">column_index</span>)
1358
+ <span class="ruby-identifier">range</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">range</span>.<span class="ruby-identifier">width</span>
2118
1359
  <span class="ruby-keyword">end</span></pre>
2119
1360
  </div>
2120
1361
 
@@ -2126,11 +1367,11 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2126
1367
  </div>
2127
1368
 
2128
1369
 
2129
- <div id="method-i-get_row_border_right" class="method-detail ">
1370
+ <div id="method-i-get_row_alignment" class="method-detail ">
2130
1371
 
2131
1372
  <div class="method-heading">
2132
- <span class="method-name">get_row_border_right</span><span
2133
- class="method-args">(row = 0)</span>
1373
+ <span class="method-name">get_row_alignment</span><span
1374
+ class="method-args">(row, is_horizontal)</span>
2134
1375
 
2135
1376
  <span class="method-click-advice">click to toggle source</span>
2136
1377
 
@@ -2144,11 +1385,18 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2144
1385
 
2145
1386
 
2146
1387
 
2147
- <div class="method-source-code" id="get_row_border_right-source">
2148
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 254</span>
2149
- <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>)
2150
- <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `get_row_border` instead.&quot;</span>
2151
- <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>)
1388
+ <div class="method-source-code" id="get_row_alignment-source">
1389
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 236</span>
1390
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_alignment</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">is_horizontal</span>)
1391
+ <span class="ruby-identifier">validate_workbook</span>
1392
+ <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
1393
+
1394
+ <span class="ruby-identifier">xf_obj</span> = <span class="ruby-identifier">get_row_xf</span>(<span class="ruby-identifier">row</span>)
1395
+ <span class="ruby-keyword">return</span> <span class="ruby-keyword">nil</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">xf_obj</span>.<span class="ruby-identifier">alignment</span>.<span class="ruby-identifier">nil?</span>
1396
+
1397
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">is_horizontal</span> <span class="ruby-keyword">then</span> <span class="ruby-keyword">return</span> <span class="ruby-identifier">xf_obj</span>.<span class="ruby-identifier">alignment</span>.<span class="ruby-identifier">horizontal</span>
1398
+ <span class="ruby-keyword">else</span> <span class="ruby-keyword">return</span> <span class="ruby-identifier">xf_obj</span>.<span class="ruby-identifier">alignment</span>.<span class="ruby-identifier">vertical</span>
1399
+ <span class="ruby-keyword">end</span>
2152
1400
  <span class="ruby-keyword">end</span></pre>
2153
1401
  </div>
2154
1402
 
@@ -2160,11 +1408,11 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2160
1408
  </div>
2161
1409
 
2162
1410
 
2163
- <div id="method-i-get_row_border_top" class="method-detail ">
1411
+ <div id="method-i-get_row_border" class="method-detail ">
2164
1412
 
2165
1413
  <div class="method-heading">
2166
- <span class="method-name">get_row_border_top</span><span
2167
- class="method-args">(row = 0)</span>
1414
+ <span class="method-name">get_row_border</span><span
1415
+ class="method-args">(row, border_direction)</span>
2168
1416
 
2169
1417
  <span class="method-click-advice">click to toggle source</span>
2170
1418
 
@@ -2178,11 +1426,14 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2178
1426
 
2179
1427
 
2180
1428
 
2181
- <div class="method-source-code" id="get_row_border_top-source">
2182
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 244</span>
2183
- <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>)
2184
- <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `get_row_border` instead.&quot;</span>
2185
- <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>)
1429
+ <div class="method-source-code" id="get_row_border-source">
1430
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 228</span>
1431
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">border_direction</span>)
1432
+ <span class="ruby-identifier">validate_workbook</span>
1433
+ <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
1434
+
1435
+ <span class="ruby-identifier">border</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">borders</span>[<span class="ruby-identifier">get_row_xf</span>(<span class="ruby-identifier">row</span>).<span class="ruby-identifier">border_id</span>]
1436
+ <span class="ruby-identifier">border</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">border</span>.<span class="ruby-identifier">get_edge_style</span>(<span class="ruby-identifier">border_direction</span>)
2186
1437
  <span class="ruby-keyword">end</span></pre>
2187
1438
  </div>
2188
1439
 
@@ -2383,8 +1634,9 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2383
1634
 
2384
1635
 
2385
1636
  <div class="method-source-code" id="get_row_horizontal_alignment-source">
2386
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 236</span>
1637
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 248</span>
2387
1638
  <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>)
1639
+ <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `get_row_alignment` instead.&quot;</span>
2388
1640
  <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>)
2389
1641
  <span class="ruby-keyword">end</span></pre>
2390
1642
  </div>
@@ -2416,8 +1668,9 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2416
1668
 
2417
1669
 
2418
1670
  <div class="method-source-code" id="get_row_vertical_alignment-source">
2419
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 240</span>
1671
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 253</span>
2420
1672
  <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>)
1673
+ <span class="ruby-identifier">warn</span> <span class="ruby-node">&quot;[DEPRECATION] `#{__method__}` is deprecated. Please use `get_row_alignment` instead.&quot;</span>
2421
1674
  <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>)
2422
1675
  <span class="ruby-keyword">end</span></pre>
2423
1676
  </div>
@@ -2449,7 +1702,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2449
1702
 
2450
1703
 
2451
1704
  <div class="method-source-code" id="is_column_bolded-source">
2452
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 289</span>
1705
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 278</span>
2453
1706
  <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>)
2454
1707
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
2455
1708
  <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>
@@ -2483,7 +1736,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2483
1736
 
2484
1737
 
2485
1738
  <div class="method-source-code" id="is_column_italicized-source">
2486
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 284</span>
1739
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 273</span>
2487
1740
  <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>)
2488
1741
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
2489
1742
  <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>
@@ -2517,7 +1770,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2517
1770
 
2518
1771
 
2519
1772
  <div class="method-source-code" id="is_column_struckthrough-source">
2520
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 299</span>
1773
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 288</span>
2521
1774
  <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>)
2522
1775
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
2523
1776
  <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>
@@ -2551,7 +1804,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
2551
1804
 
2552
1805
 
2553
1806
  <div class="method-source-code" id="is_column_underlined-source">
2554
- <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 294</span>
1807
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 283</span>
2555
1808
  <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>)
2556
1809
  <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
2557
1810
  <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>