rubyXL 3.3.1 → 3.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (363) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/rubyXL/objects/content_types.rb +8 -3
  4. data/lib/rubyXL/objects/ooxml_object.rb +0 -1
  5. data/lib/rubyXL/objects/relationships.rb +1 -1
  6. data/lib/rubyXL/objects/storage.rb +28 -5
  7. data/lib/rubyXL/objects/text.rb +8 -1
  8. data/lib/rubyXL/objects/workbook.rb +9 -2
  9. data/rdoc/README_rdoc.html +179 -152
  10. data/rdoc/RubyXL.html +7 -10
  11. data/rdoc/RubyXL/AExtension.html +7 -10
  12. data/rdoc/RubyXL/AExtensionStorageArea.html +7 -10
  13. data/rdoc/RubyXL/AdjustHandleList.html +10 -10
  14. data/rdoc/RubyXL/Alignment.html +7 -10
  15. data/rdoc/RubyXL/AlternateContent.html +7 -10
  16. data/rdoc/RubyXL/Authors.html +10 -10
  17. data/rdoc/RubyXL/AutoFilter.html +10 -10
  18. data/rdoc/RubyXL/AutoFilterColumn.html +10 -10
  19. data/rdoc/RubyXL/BinaryImageFile.html +26 -10
  20. data/rdoc/RubyXL/BodyProperties.html +10 -10
  21. data/rdoc/RubyXL/BooleanNode.html +7 -10
  22. data/rdoc/RubyXL/BooleanValue.html +7 -10
  23. data/rdoc/RubyXL/Border.html +97 -10
  24. data/rdoc/RubyXL/BorderEdge.html +7 -10
  25. data/rdoc/RubyXL/Borders.html +61 -10
  26. data/rdoc/RubyXL/Break.html +10 -10
  27. data/rdoc/RubyXL/BreakList.html +10 -10
  28. data/rdoc/RubyXL/CT_AdjPoint2D.html +10 -10
  29. data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +10 -10
  30. data/rdoc/RubyXL/CT_AlphaModulateEffect.html +10 -10
  31. data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +10 -10
  32. data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +10 -10
  33. data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +10 -10
  34. data/rdoc/RubyXL/CT_Backdrop.html +10 -10
  35. data/rdoc/RubyXL/CT_Bevel.html +10 -10
  36. data/rdoc/RubyXL/CT_BiLevelEffect.html +10 -10
  37. data/rdoc/RubyXL/CT_BlendEffect.html +10 -10
  38. data/rdoc/RubyXL/CT_Blip.html +10 -10
  39. data/rdoc/RubyXL/CT_BlipFillProperties.html +10 -10
  40. data/rdoc/RubyXL/CT_BlurEffect.html +10 -10
  41. data/rdoc/RubyXL/CT_Camera.html +10 -10
  42. data/rdoc/RubyXL/CT_Color.html +10 -10
  43. data/rdoc/RubyXL/CT_ColorChangeEffect.html +10 -10
  44. data/rdoc/RubyXL/CT_ColorMapping.html +10 -10
  45. data/rdoc/RubyXL/CT_ColorScheme.html +10 -10
  46. data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +10 -10
  47. data/rdoc/RubyXL/CT_ConnectionSite.html +10 -10
  48. data/rdoc/RubyXL/CT_ConnectionSiteList.html +10 -10
  49. data/rdoc/RubyXL/CT_DashStop.html +10 -10
  50. data/rdoc/RubyXL/CT_DashStopList.html +10 -10
  51. data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +10 -10
  52. data/rdoc/RubyXL/CT_DuotoneEffect.html +10 -10
  53. data/rdoc/RubyXL/CT_EffectContainer.html +10 -10
  54. data/rdoc/RubyXL/CT_EffectList.html +10 -10
  55. data/rdoc/RubyXL/CT_EffectReference.html +10 -10
  56. data/rdoc/RubyXL/CT_EffectStyleItem.html +10 -10
  57. data/rdoc/RubyXL/CT_EffectStyleList.html +10 -10
  58. data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +10 -10
  59. data/rdoc/RubyXL/CT_FillEffect.html +10 -10
  60. data/rdoc/RubyXL/CT_FillOverlayEffect.html +10 -10
  61. data/rdoc/RubyXL/CT_FillStyleList.html +10 -10
  62. data/rdoc/RubyXL/CT_FlatText.html +10 -10
  63. data/rdoc/RubyXL/CT_FontCollection.html +10 -10
  64. data/rdoc/RubyXL/CT_FontReference.html +10 -10
  65. data/rdoc/RubyXL/CT_GeomGuideList.html +10 -10
  66. data/rdoc/RubyXL/CT_GlowEffect.html +10 -10
  67. data/rdoc/RubyXL/CT_GradientFillProperties.html +10 -10
  68. data/rdoc/RubyXL/CT_GradientStop.html +10 -10
  69. data/rdoc/RubyXL/CT_GradientStopList.html +10 -10
  70. data/rdoc/RubyXL/CT_HSLEffect.html +10 -10
  71. data/rdoc/RubyXL/CT_HslColor.html +10 -10
  72. data/rdoc/RubyXL/CT_Hyperlink.html +10 -10
  73. data/rdoc/RubyXL/CT_InnerShadowEffect.html +10 -10
  74. data/rdoc/RubyXL/CT_LightRig.html +10 -10
  75. data/rdoc/RubyXL/CT_LineEndProperties.html +10 -10
  76. data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +10 -10
  77. data/rdoc/RubyXL/CT_LineProperties.html +10 -10
  78. data/rdoc/RubyXL/CT_LineStyleList.html +10 -10
  79. data/rdoc/RubyXL/CT_LinearShadeProperties.html +10 -10
  80. data/rdoc/RubyXL/CT_LuminanceEffect.html +10 -10
  81. data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +10 -10
  82. data/rdoc/RubyXL/CT_OuterShadowEffect.html +10 -10
  83. data/rdoc/RubyXL/CT_Path2D.html +10 -10
  84. data/rdoc/RubyXL/CT_Path2DArcTo.html +10 -10
  85. data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +10 -10
  86. data/rdoc/RubyXL/CT_Path2DList.html +10 -10
  87. data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +10 -10
  88. data/rdoc/RubyXL/CT_Path2DTo.html +10 -10
  89. data/rdoc/RubyXL/CT_PathShadeProperties.html +10 -10
  90. data/rdoc/RubyXL/CT_PatternFillProperties.html +10 -10
  91. data/rdoc/RubyXL/CT_Point3D.html +10 -10
  92. data/rdoc/RubyXL/CT_PolarAdjustHandle.html +10 -10
  93. data/rdoc/RubyXL/CT_PresetColor.html +10 -10
  94. data/rdoc/RubyXL/CT_PresetLineDashProperties.html +10 -10
  95. data/rdoc/RubyXL/CT_PresetShadowEffect.html +10 -10
  96. data/rdoc/RubyXL/CT_PresetTextShape.html +10 -10
  97. data/rdoc/RubyXL/CT_ReflectionEffect.html +10 -10
  98. data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +10 -10
  99. data/rdoc/RubyXL/CT_RelativeRect.html +10 -10
  100. data/rdoc/RubyXL/CT_SRgbColor.html +10 -10
  101. data/rdoc/RubyXL/CT_ScRgbColor.html +10 -10
  102. data/rdoc/RubyXL/CT_Scene3D.html +10 -10
  103. data/rdoc/RubyXL/CT_SchemeColor.html +10 -10
  104. data/rdoc/RubyXL/CT_Shape3D.html +10 -10
  105. data/rdoc/RubyXL/CT_ShapeStyle.html +10 -10
  106. data/rdoc/RubyXL/CT_SoftEdgesEffect.html +10 -10
  107. data/rdoc/RubyXL/CT_SphereCoords.html +10 -10
  108. data/rdoc/RubyXL/CT_StretchInfoProperties.html +10 -10
  109. data/rdoc/RubyXL/CT_StyleMatrix.html +10 -10
  110. data/rdoc/RubyXL/CT_StyleMatrixReference.html +10 -10
  111. data/rdoc/RubyXL/CT_SupplementalFont.html +10 -10
  112. data/rdoc/RubyXL/CT_SystemColor.html +10 -10
  113. data/rdoc/RubyXL/CT_TextAutonumberBullet.html +10 -10
  114. data/rdoc/RubyXL/CT_TextBlipBullet.html +10 -10
  115. data/rdoc/RubyXL/CT_TextCharBullet.html +10 -10
  116. data/rdoc/RubyXL/CT_TextCharacterProperties.html +10 -10
  117. data/rdoc/RubyXL/CT_TextFont.html +10 -10
  118. data/rdoc/RubyXL/CT_TextListStyle.html +10 -10
  119. data/rdoc/RubyXL/CT_TextNormalAutofit.html +10 -10
  120. data/rdoc/RubyXL/CT_TextParagraphProperties.html +10 -10
  121. data/rdoc/RubyXL/CT_TextSpacing.html +10 -10
  122. data/rdoc/RubyXL/CT_TextTabStop.html +10 -10
  123. data/rdoc/RubyXL/CT_TextTabStopList.html +10 -10
  124. data/rdoc/RubyXL/CT_TileInfoProperties.html +10 -10
  125. data/rdoc/RubyXL/CT_TintEffect.html +10 -10
  126. data/rdoc/RubyXL/CT_Transform2D.html +10 -10
  127. data/rdoc/RubyXL/CT_TransformEffect.html +10 -10
  128. data/rdoc/RubyXL/CT_Vector3D.html +10 -10
  129. data/rdoc/RubyXL/CT_XYAdjustHandle.html +10 -10
  130. data/rdoc/RubyXL/CalculationChain.html +7 -10
  131. data/rdoc/RubyXL/CalculationChainCell.html +7 -10
  132. data/rdoc/RubyXL/CalculationProperties.html +10 -10
  133. data/rdoc/RubyXL/Cell.html +9 -11
  134. data/rdoc/RubyXL/CellConvenienceMethods.html +203 -10
  135. data/rdoc/RubyXL/CellSmartTag.html +10 -10
  136. data/rdoc/RubyXL/CellSmartTagProperty.html +10 -10
  137. data/rdoc/RubyXL/CellSmartTags.html +10 -10
  138. data/rdoc/RubyXL/CellStyle.html +7 -10
  139. data/rdoc/RubyXL/CellStyleXFs.html +61 -10
  140. data/rdoc/RubyXL/CellStyles.html +61 -10
  141. data/rdoc/RubyXL/CellValue.html +7 -10
  142. data/rdoc/RubyXL/CellWatch.html +10 -10
  143. data/rdoc/RubyXL/CellWatches.html +10 -10
  144. data/rdoc/RubyXL/CellXFs.html +65 -10
  145. data/rdoc/RubyXL/ChartColorsFile.html +26 -10
  146. data/rdoc/RubyXL/ChartFile.html +93 -10
  147. data/rdoc/RubyXL/ChartStyleFile.html +26 -10
  148. data/rdoc/RubyXL/ChartUserShapesFile.html +26 -10
  149. data/rdoc/RubyXL/Chartsheet.html +164 -10
  150. data/rdoc/RubyXL/ChartsheetPageSetup.html +10 -10
  151. data/rdoc/RubyXL/ChartsheetProperties.html +7 -10
  152. data/rdoc/RubyXL/ChartsheetProtection.html +7 -10
  153. data/rdoc/RubyXL/ChartsheetView.html +10 -10
  154. data/rdoc/RubyXL/ChartsheetViews.html +10 -10
  155. data/rdoc/RubyXL/Color.html +7 -10
  156. data/rdoc/RubyXL/ColorFilter.html +10 -10
  157. data/rdoc/RubyXL/ColorScale.html +10 -10
  158. data/rdoc/RubyXL/ColorSet.html +10 -10
  159. data/rdoc/RubyXL/Colors.html +10 -10
  160. data/rdoc/RubyXL/ColumnRange.html +7 -10
  161. data/rdoc/RubyXL/ColumnRanges.html +7 -10
  162. data/rdoc/RubyXL/Comment.html +7 -10
  163. data/rdoc/RubyXL/CommentList.html +10 -10
  164. data/rdoc/RubyXL/CommentsFile.html +101 -10
  165. data/rdoc/RubyXL/ConditionalFormatValue.html +10 -10
  166. data/rdoc/RubyXL/ConditionalFormatting.html +10 -10
  167. data/rdoc/RubyXL/ConditionalFormattingRule.html +10 -10
  168. data/rdoc/RubyXL/ContentTypeDefault.html +7 -10
  169. data/rdoc/RubyXL/ContentTypeOverride.html +7 -10
  170. data/rdoc/RubyXL/ContentTypes.html +15 -13
  171. data/rdoc/RubyXL/ControlPropertiesFile.html +21 -10
  172. data/rdoc/RubyXL/CorePropertiesFile.html +378 -10
  173. data/rdoc/RubyXL/CustomColor.html +10 -10
  174. data/rdoc/RubyXL/CustomColorList.html +10 -10
  175. data/rdoc/RubyXL/CustomFilter.html +10 -10
  176. data/rdoc/RubyXL/CustomFilters.html +10 -10
  177. data/rdoc/RubyXL/CustomGeometry.html +10 -10
  178. data/rdoc/RubyXL/CustomProperties.html +10 -10
  179. data/rdoc/RubyXL/CustomPropertiesFile.html +26 -10
  180. data/rdoc/RubyXL/CustomProperty.html +10 -10
  181. data/rdoc/RubyXL/CustomSheetView.html +10 -10
  182. data/rdoc/RubyXL/CustomSheetViews.html +10 -10
  183. data/rdoc/RubyXL/CustomWorkbookView.html +10 -10
  184. data/rdoc/RubyXL/CustomWorkbookViews.html +10 -10
  185. data/rdoc/RubyXL/CustomXMLFile.html +21 -10
  186. data/rdoc/RubyXL/DXF.html +10 -10
  187. data/rdoc/RubyXL/DXFs.html +10 -10
  188. data/rdoc/RubyXL/DataBar.html +10 -10
  189. data/rdoc/RubyXL/DataConsolidate.html +10 -10
  190. data/rdoc/RubyXL/DataConsolidationReference.html +10 -10
  191. data/rdoc/RubyXL/DataConsolidationReferences.html +10 -10
  192. data/rdoc/RubyXL/DataType.html +7 -10
  193. data/rdoc/RubyXL/DataValidation.html +7 -10
  194. data/rdoc/RubyXL/DataValidations.html +10 -10
  195. data/rdoc/RubyXL/DateGroupItem.html +7 -10
  196. data/rdoc/RubyXL/DefinedName.html +10 -10
  197. data/rdoc/RubyXL/DefinedNames.html +10 -10
  198. data/rdoc/RubyXL/DocumentPropertiesFile.html +7 -10
  199. data/rdoc/RubyXL/DrawingFile.html +92 -10
  200. data/rdoc/RubyXL/DynamicFilter.html +10 -10
  201. data/rdoc/RubyXL/EmbeddedControl.html +10 -10
  202. data/rdoc/RubyXL/EmbeddedControls.html +10 -10
  203. data/rdoc/RubyXL/Extension.html +7 -10
  204. data/rdoc/RubyXL/ExtensionStorageArea.html +7 -10
  205. data/rdoc/RubyXL/Extents.html +10 -10
  206. data/rdoc/RubyXL/ExternalLinksFile.html +26 -10
  207. data/rdoc/RubyXL/ExternalReference.html +10 -10
  208. data/rdoc/RubyXL/ExternalReferences.html +10 -10
  209. data/rdoc/RubyXL/ExtraColorSchemeList.html +10 -10
  210. data/rdoc/RubyXL/FieldItem.html +10 -10
  211. data/rdoc/RubyXL/FileRecoveryProperties.html +10 -10
  212. data/rdoc/RubyXL/FileSharing.html +7 -10
  213. data/rdoc/RubyXL/FileVersion.html +7 -10
  214. data/rdoc/RubyXL/Fill.html +61 -10
  215. data/rdoc/RubyXL/Fills.html +61 -10
  216. data/rdoc/RubyXL/FilterContainer.html +10 -10
  217. data/rdoc/RubyXL/FloatNode.html +7 -10
  218. data/rdoc/RubyXL/FloatValue.html +7 -10
  219. data/rdoc/RubyXL/Font.html +7 -10
  220. data/rdoc/RubyXL/FontScheme.html +10 -10
  221. data/rdoc/RubyXL/Fonts.html +61 -10
  222. data/rdoc/RubyXL/Formula.html +7 -10
  223. data/rdoc/RubyXL/FunctionGroup.html +10 -10
  224. data/rdoc/RubyXL/FunctionGroups.html +10 -10
  225. data/rdoc/RubyXL/GenericStorageObject.html +7 -10
  226. data/rdoc/RubyXL/GradientFill.html +10 -10
  227. data/rdoc/RubyXL/HeaderFooterSettings.html +10 -10
  228. data/rdoc/RubyXL/Hyperlink.html +10 -10
  229. data/rdoc/RubyXL/HyperlinkRelFile.html +21 -10
  230. data/rdoc/RubyXL/Hyperlinks.html +10 -10
  231. data/rdoc/RubyXL/IconFilter.html +10 -10
  232. data/rdoc/RubyXL/IconSet.html +10 -10
  233. data/rdoc/RubyXL/IgnoredError.html +10 -10
  234. data/rdoc/RubyXL/IgnoredErrors.html +10 -10
  235. data/rdoc/RubyXL/IndexedColors.html +10 -10
  236. data/rdoc/RubyXL/InputCells.html +10 -10
  237. data/rdoc/RubyXL/IntegerNode.html +7 -10
  238. data/rdoc/RubyXL/IntegerValue.html +7 -10
  239. data/rdoc/RubyXL/LegacyCell.html +7 -10
  240. data/rdoc/RubyXL/LegacyWorksheet.html +7 -10
  241. data/rdoc/RubyXL/MRUColors.html +10 -10
  242. data/rdoc/RubyXL/MacrosFile.html +26 -10
  243. data/rdoc/RubyXL/MergedCell.html +10 -10
  244. data/rdoc/RubyXL/MergedCells.html +10 -10
  245. data/rdoc/RubyXL/NumFmt.html +10 -10
  246. data/rdoc/RubyXL/NumberFormat.html +7 -10
  247. data/rdoc/RubyXL/NumberFormats.html +7 -10
  248. data/rdoc/RubyXL/OLEObject.html +10 -10
  249. data/rdoc/RubyXL/OLEObjectFile.html +26 -10
  250. data/rdoc/RubyXL/OLEObjects.html +10 -10
  251. data/rdoc/RubyXL/OLESize.html +10 -10
  252. data/rdoc/RubyXL/OOXMLContainerObject.html +298 -10
  253. data/rdoc/RubyXL/OOXMLObject.html +23 -11
  254. data/rdoc/RubyXL/OOXMLObjectClassMethods.html +23 -22
  255. data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +447 -10
  256. data/rdoc/RubyXL/OOXMLRelationshipsFile.html +8 -11
  257. data/rdoc/RubyXL/OOXMLTopLevelObject.html +284 -10
  258. data/rdoc/RubyXL/Offset.html +10 -10
  259. data/rdoc/RubyXL/OutlineProperties.html +7 -10
  260. data/rdoc/RubyXL/PageMargins.html +10 -10
  261. data/rdoc/RubyXL/PageSetup.html +10 -10
  262. data/rdoc/RubyXL/PageSetupProperties.html +7 -10
  263. data/rdoc/RubyXL/Pane.html +10 -10
  264. data/rdoc/RubyXL/Parser.html +7 -10
  265. data/rdoc/RubyXL/PatternFill.html +10 -10
  266. data/rdoc/RubyXL/PhoneticProperties.html +10 -10
  267. data/rdoc/RubyXL/PhoneticRun.html +10 -10
  268. data/rdoc/RubyXL/PivotArea.html +10 -10
  269. data/rdoc/RubyXL/PivotCache.html +10 -10
  270. data/rdoc/RubyXL/PivotCacheDefinitionFile.html +38 -11
  271. data/rdoc/RubyXL/PivotCacheRecordsFile.html +121 -0
  272. data/rdoc/RubyXL/PivotCaches.html +10 -10
  273. data/rdoc/RubyXL/PivotReference.html +10 -10
  274. data/rdoc/RubyXL/PivotReferences.html +10 -10
  275. data/rdoc/RubyXL/PivotTableFile.html +38 -11
  276. data/rdoc/RubyXL/PivotTableSelection.html +10 -10
  277. data/rdoc/RubyXL/PresetGeometry.html +10 -10
  278. data/rdoc/RubyXL/PrintOptions.html +10 -10
  279. data/rdoc/RubyXL/PrinterSettingsFile.html +26 -10
  280. data/rdoc/RubyXL/ProtectedRange.html +10 -10
  281. data/rdoc/RubyXL/ProtectedRanges.html +10 -10
  282. data/rdoc/RubyXL/Protection.html +10 -10
  283. data/rdoc/RubyXL/RID.html +7 -10
  284. data/rdoc/RubyXL/RawOOXML.html +7 -10
  285. data/rdoc/RubyXL/Reference.html +7 -10
  286. data/rdoc/RubyXL/Relationship.html +7 -10
  287. data/rdoc/RubyXL/RelationshipSupport.html +324 -10
  288. data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +59 -10
  289. data/rdoc/RubyXL/RichText.html +63 -10
  290. data/rdoc/RubyXL/RichTextRun.html +61 -10
  291. data/rdoc/RubyXL/Row.html +329 -10
  292. data/rdoc/RubyXL/RunProperties.html +7 -10
  293. data/rdoc/RubyXL/Scenario.html +10 -10
  294. data/rdoc/RubyXL/Scenarios.html +10 -10
  295. data/rdoc/RubyXL/Selection.html +69 -10
  296. data/rdoc/RubyXL/ShapeGuide.html +10 -10
  297. data/rdoc/RubyXL/ShapeTextRectangle.html +10 -10
  298. data/rdoc/RubyXL/SharedStringsTable.html +9 -12
  299. data/rdoc/RubyXL/Sheet.html +10 -10
  300. data/rdoc/RubyXL/SheetCalculationProperties.html +10 -10
  301. data/rdoc/RubyXL/SheetData.html +96 -10
  302. data/rdoc/RubyXL/Sheets.html +10 -10
  303. data/rdoc/RubyXL/SlicerCacheFile.html +26 -10
  304. data/rdoc/RubyXL/SlicerFile.html +26 -10
  305. data/rdoc/RubyXL/SmartTagProperties.html +10 -10
  306. data/rdoc/RubyXL/SmartTagType.html +10 -10
  307. data/rdoc/RubyXL/SmartTagTypes.html +10 -10
  308. data/rdoc/RubyXL/SmartTags.html +10 -10
  309. data/rdoc/RubyXL/SortCondition.html +10 -10
  310. data/rdoc/RubyXL/SortState.html +10 -10
  311. data/rdoc/RubyXL/Sqref.html +7 -10
  312. data/rdoc/RubyXL/Stop.html +7 -10
  313. data/rdoc/RubyXL/StringNode.html +7 -10
  314. data/rdoc/RubyXL/StringNodeW3C.html +7 -10
  315. data/rdoc/RubyXL/StringValue.html +7 -10
  316. data/rdoc/RubyXL/Stylesheet.html +211 -10
  317. data/rdoc/RubyXL/TableFile.html +26 -10
  318. data/rdoc/RubyXL/TableParts.html +7 -10
  319. data/rdoc/RubyXL/TableStyle.html +10 -10
  320. data/rdoc/RubyXL/TableStyles.html +10 -10
  321. data/rdoc/RubyXL/Text.html +33 -13
  322. data/rdoc/RubyXL/Theme.html +439 -10
  323. data/rdoc/RubyXL/ThemeElements.html +10 -10
  324. data/rdoc/RubyXL/ThumbnailFile.html +26 -10
  325. data/rdoc/RubyXL/Top10.html +10 -10
  326. data/rdoc/RubyXL/VMLDrawingFile.html +39 -11
  327. data/rdoc/RubyXL/Variant.html +7 -10
  328. data/rdoc/RubyXL/Vector.html +65 -10
  329. data/rdoc/RubyXL/VectorValue.html +7 -10
  330. data/rdoc/RubyXL/VisualProperties.html +10 -10
  331. data/rdoc/RubyXL/WebPublishObject.html +10 -10
  332. data/rdoc/RubyXL/WebPublishObjects.html +10 -10
  333. data/rdoc/RubyXL/WebPublishingItem.html +7 -10
  334. data/rdoc/RubyXL/WebPublishingItems.html +10 -10
  335. data/rdoc/RubyXL/WebPublishingProperties.html +10 -10
  336. data/rdoc/RubyXL/Workbook.html +514 -10
  337. data/rdoc/RubyXL/WorkbookConvenienceMethods.html +7 -10
  338. data/rdoc/RubyXL/WorkbookProperties.html +7 -10
  339. data/rdoc/RubyXL/WorkbookProtection.html +10 -10
  340. data/rdoc/RubyXL/WorkbookRoot.html +7 -10
  341. data/rdoc/RubyXL/WorkbookView.html +10 -10
  342. data/rdoc/RubyXL/WorkbookViews.html +10 -10
  343. data/rdoc/RubyXL/Worksheet.html +337 -10
  344. data/rdoc/RubyXL/WorksheetConvenienceMethods.html +2624 -10
  345. data/rdoc/RubyXL/WorksheetDimensions.html +10 -10
  346. data/rdoc/RubyXL/WorksheetFormatProperties.html +7 -10
  347. data/rdoc/RubyXL/WorksheetProperties.html +7 -10
  348. data/rdoc/RubyXL/WorksheetProtection.html +10 -10
  349. data/rdoc/RubyXL/WorksheetView.html +10 -10
  350. data/rdoc/RubyXL/WorksheetViews.html +10 -10
  351. data/rdoc/RubyXL/XF.html +10 -10
  352. data/rdoc/created.rid +8 -8
  353. data/rdoc/{fonts.css → css/fonts.css} +0 -0
  354. data/rdoc/{rdoc.css → css/rdoc.css} +11 -1
  355. data/rdoc/index.html +570 -11
  356. data/rdoc/js/darkfish.js +32 -11
  357. data/rdoc/js/navigation.js.gz +0 -0
  358. data/rdoc/js/search_index.js +1 -1
  359. data/rdoc/js/search_index.js.gz +0 -0
  360. data/rdoc/js/searcher.js.gz +0 -0
  361. data/rdoc/table_of_contents.html +1920 -295
  362. data/rubyXL.gemspec +9 -5
  363. metadata +8 -4
@@ -4,22 +4,19 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>module RubyXL::WorksheetConvenienceMethods - rubyXL 3.3.1</title>
8
-
9
- <link href="../fonts.css" rel="stylesheet">
10
- <link href="../rdoc.css" rel="stylesheet">
7
+ <title>module RubyXL::WorksheetConvenienceMethods - rubyXL 3.3.2</title>
11
8
 
12
9
  <script type="text/javascript">
13
10
  var rdoc_rel_prefix = "../";
14
11
  </script>
15
12
 
16
13
  <script src="../js/jquery.js"></script>
17
- <script src="../js/navigation.js"></script>
18
- <script src="../js/search_index.js"></script>
19
- <script src="../js/search.js"></script>
20
- <script src="../js/searcher.js"></script>
21
14
  <script src="../js/darkfish.js"></script>
22
15
 
16
+ <link href="../css/fonts.css" rel="stylesheet">
17
+ <link href="../css/rdoc.css" rel="stylesheet">
18
+
19
+
23
20
 
24
21
  <body id="top" role="document" class="module">
25
22
  <nav role="navigation">
@@ -60,7 +57,155 @@
60
57
 
61
58
 
62
59
 
60
+ <!-- Method Quickref -->
61
+ <div id="method-list-section" class="nav-section">
62
+ <h3>Methods</h3>
63
+
64
+ <ul class="link-list" role="directory">
65
+
66
+ <li ><a href="#method-i-change_column_alignment">#change_column_alignment</a>
67
+
68
+ <li ><a href="#method-i-change_column_bold">#change_column_bold</a>
69
+
70
+ <li ><a href="#method-i-change_column_border">#change_column_border</a>
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
+ <li ><a href="#method-i-change_column_font_color">#change_column_font_color</a>
83
+
84
+ <li ><a href="#method-i-change_column_font_name">#change_column_font_name</a>
85
+
86
+ <li ><a href="#method-i-change_column_font_size">#change_column_font_size</a>
87
+
88
+ <li ><a href="#method-i-change_column_horizontal_alignment">#change_column_horizontal_alignment</a>
89
+
90
+ <li ><a href="#method-i-change_column_italics">#change_column_italics</a>
91
+
92
+ <li ><a href="#method-i-change_column_strikethrough">#change_column_strikethrough</a>
93
+
94
+ <li ><a href="#method-i-change_column_underline">#change_column_underline</a>
95
+
96
+ <li ><a href="#method-i-change_column_vertical_alignment">#change_column_vertical_alignment</a>
97
+
98
+ <li ><a href="#method-i-change_row_alignment">#change_row_alignment</a>
99
+
100
+ <li ><a href="#method-i-change_row_bold">#change_row_bold</a>
101
+
102
+ <li ><a href="#method-i-change_row_border">#change_row_border</a>
103
+
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
+ <li ><a href="#method-i-change_row_fill">#change_row_fill</a>
115
+
116
+ <li ><a href="#method-i-change_row_font_color">#change_row_font_color</a>
117
+
118
+ <li ><a href="#method-i-change_row_font_name">#change_row_font_name</a>
119
+
120
+ <li ><a href="#method-i-change_row_font_size">#change_row_font_size</a>
121
+
122
+ <li ><a href="#method-i-change_row_height">#change_row_height</a>
123
+
124
+ <li ><a href="#method-i-change_row_horizontal_alignment">#change_row_horizontal_alignment</a>
125
+
126
+ <li ><a href="#method-i-change_row_italics">#change_row_italics</a>
127
+
128
+ <li ><a href="#method-i-change_row_strikethrough">#change_row_strikethrough</a>
129
+
130
+ <li ><a href="#method-i-change_row_underline">#change_row_underline</a>
131
+
132
+ <li ><a href="#method-i-change_row_vertical_alignment">#change_row_vertical_alignment</a>
133
+
134
+ <li ><a href="#method-i-get_column_alignment">#get_column_alignment</a>
135
+
136
+ <li ><a href="#method-i-get_column_border">#get_column_border</a>
137
+
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
+ <li ><a href="#method-i-get_column_fill">#get_column_fill</a>
149
+
150
+ <li ><a href="#method-i-get_column_font_color">#get_column_font_color</a>
151
+
152
+ <li ><a href="#method-i-get_column_font_name">#get_column_font_name</a>
153
+
154
+ <li ><a href="#method-i-get_column_font_size">#get_column_font_size</a>
155
+
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
+ <li ><a href="#method-i-get_column_width">#get_column_width</a>
161
+
162
+ <li ><a href="#method-i-get_column_width_raw">#get_column_width_raw</a>
163
+
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>
169
+
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>
175
+
176
+ <li ><a href="#method-i-get_row_fill">#get_row_fill</a>
177
+
178
+ <li ><a href="#method-i-get_row_font_color">#get_row_font_color</a>
179
+
180
+ <li ><a href="#method-i-get_row_font_name">#get_row_font_name</a>
181
+
182
+ <li ><a href="#method-i-get_row_font_size">#get_row_font_size</a>
183
+
184
+ <li ><a href="#method-i-get_row_height">#get_row_height</a>
63
185
 
186
+ <li ><a href="#method-i-get_row_horizontal_alignment">#get_row_horizontal_alignment</a>
187
+
188
+ <li ><a href="#method-i-get_row_vertical_alignment">#get_row_vertical_alignment</a>
189
+
190
+ <li ><a href="#method-i-is_column_bolded">#is_column_bolded</a>
191
+
192
+ <li ><a href="#method-i-is_column_italicized">#is_column_italicized</a>
193
+
194
+ <li ><a href="#method-i-is_column_struckthrough">#is_column_struckthrough</a>
195
+
196
+ <li ><a href="#method-i-is_column_underlined">#is_column_underlined</a>
197
+
198
+ <li ><a href="#method-i-is_row_bolded">#is_row_bolded</a>
199
+
200
+ <li ><a href="#method-i-is_row_italicized">#is_row_italicized</a>
201
+
202
+ <li ><a href="#method-i-is_row_struckthrough">#is_row_struckthrough</a>
203
+
204
+ <li ><a href="#method-i-is_row_underlined">#is_row_underlined</a>
205
+
206
+ </ul>
207
+ </div>
208
+
64
209
  </div>
65
210
  </nav>
66
211
 
@@ -86,13 +231,2482 @@
86
231
 
87
232
 
88
233
 
234
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
235
+ <header>
236
+ <h3>Public Instance Methods</h3>
237
+ </header>
238
+
239
+
240
+ <div id="method-i-change_column_alignment" class="method-detail ">
241
+
242
+ <div class="method-heading">
243
+ <span class="method-name">change_column_alignment</span><span
244
+ class="method-args">(column_index, &block)</span>
245
+
246
+ <span class="method-click-advice">click to toggle source</span>
247
+
248
+ </div>
249
+
250
+
251
+ <div class="method-description">
252
+
253
+
254
+
255
+
256
+
257
+
258
+ <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>
260
+ <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
+ <span class="ruby-identifier">validate_workbook</span>
262
+ <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
263
+
264
+ <span class="ruby-identifier">cols</span>.<span class="ruby-identifier">get_range</span>(<span class="ruby-identifier">column_index</span>).<span class="ruby-identifier">style_index</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">modify_alignment</span>(<span class="ruby-identifier">get_col_style</span>(<span class="ruby-identifier">column_index</span>), <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
265
+ <span class="ruby-comment"># Excel gets confused if width is not explicitly set for a column that had alignment changes</span>
266
+ <span class="ruby-identifier">change_column_width</span>(<span class="ruby-identifier">column_index</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">get_column_width_raw</span>(<span class="ruby-identifier">column_index</span>).<span class="ruby-identifier">nil?</span>
267
+
268
+ <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">row</span><span class="ruby-operator">|</span>
269
+ <span class="ruby-identifier">c</span> = <span class="ruby-identifier">row</span>[<span class="ruby-identifier">column_index</span>]
270
+ <span class="ruby-keyword">next</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">nil?</span>
271
+ <span class="ruby-identifier">c</span>.<span class="ruby-identifier">style_index</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">modify_alignment</span>(<span class="ruby-identifier">c</span>.<span class="ruby-identifier">style_index</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
272
+ }
273
+ <span class="ruby-keyword">end</span></pre>
274
+ </div>
275
+
276
+ </div>
277
+
278
+
279
+
280
+
281
+ </div>
282
+
283
+
284
+ <div id="method-i-change_column_bold" class="method-detail ">
285
+
286
+ <div class="method-heading">
287
+ <span class="method-name">change_column_bold</span><span
288
+ class="method-args">(column_index, bolded = false)</span>
289
+
290
+ <span class="method-click-advice">click to toggle source</span>
291
+
292
+ </div>
293
+
294
+
295
+ <div class="method-description">
296
+
297
+
298
+
299
+
300
+
301
+
302
+ <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>
304
+ <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
+ <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
306
+ <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>
307
+ <span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_bold</span>(<span class="ruby-identifier">bolded</span>)
308
+ <span class="ruby-identifier">change_column_font</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-constant">Worksheet</span><span class="ruby-operator">::</span><span class="ruby-constant">BOLD</span>, <span class="ruby-identifier">bolded</span>, <span class="ruby-identifier">font</span>, <span class="ruby-identifier">xf</span>)
309
+ <span class="ruby-keyword">end</span></pre>
310
+ </div>
311
+
312
+ </div>
313
+
314
+
315
+
316
+
317
+ </div>
318
+
319
+
320
+ <div id="method-i-change_column_border" class="method-detail ">
321
+
322
+ <div class="method-heading">
323
+ <span class="method-name">change_column_border</span><span
324
+ class="method-args">(column_index, direction, weight)</span>
325
+
326
+ <span class="method-click-advice">click to toggle source</span>
327
+
328
+ </div>
329
+
330
+
331
+ <div class="method-description">
332
+
333
+
334
+
335
+
336
+
337
+
338
+ <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>
340
+ <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
+ <span class="ruby-identifier">validate_workbook</span>
342
+ <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
343
+
344
+ <span class="ruby-identifier">cols</span>.<span class="ruby-identifier">get_range</span>(<span class="ruby-identifier">column_index</span>).<span class="ruby-identifier">style_index</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">modify_border</span>(<span class="ruby-identifier">get_col_style</span>(<span class="ruby-identifier">column_index</span>), <span class="ruby-identifier">direction</span>, <span class="ruby-identifier">weight</span>)
345
+
346
+ <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">row</span><span class="ruby-operator">|</span>
347
+ <span class="ruby-identifier">c</span> = <span class="ruby-identifier">row</span>.<span class="ruby-identifier">cells</span>[<span class="ruby-identifier">column_index</span>]
348
+ <span class="ruby-identifier">c</span>.<span class="ruby-identifier">change_border</span>(<span class="ruby-identifier">direction</span>, <span class="ruby-identifier">weight</span>) <span class="ruby-keyword">unless</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">nil?</span>
349
+ }
350
+ <span class="ruby-keyword">end</span></pre>
351
+ </div>
352
+
353
+ </div>
354
+
355
+
356
+
357
+
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
+ </div>
529
+
530
+
531
+ <div id="method-i-change_column_font_color" class="method-detail ">
532
+
533
+ <div class="method-heading">
534
+ <span class="method-name">change_column_font_color</span><span
535
+ class="method-args">(column_index, font_color='000000')</span>
536
+
537
+ <span class="method-click-advice">click to toggle source</span>
538
+
539
+ </div>
540
+
541
+
542
+ <div class="method-description">
543
+
544
+
545
+
546
+
547
+
548
+
549
+ <div class="method-source-code" id="change_column_font_color-source">
550
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 510</span>
551
+ <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
+ <span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">font_color</span>)
553
+
554
+ <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
555
+ <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>
556
+ <span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_rgb_color</span>(<span class="ruby-identifier">font_color</span>)
557
+ <span class="ruby-identifier">change_column_font</span>(<span class="ruby-identifier">column_index</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>, <span class="ruby-identifier">xf</span>)
558
+ <span class="ruby-keyword">end</span></pre>
559
+ </div>
560
+
561
+ </div>
562
+
563
+
564
+
565
+
566
+ </div>
567
+
568
+
569
+ <div id="method-i-change_column_font_name" class="method-detail ">
570
+
571
+ <div class="method-heading">
572
+ <span class="method-name">change_column_font_name</span><span
573
+ class="method-args">(column_index = 0, font_name = 'Verdana')</span>
574
+
575
+ <span class="method-click-advice">click to toggle source</span>
576
+
577
+ </div>
578
+
579
+
580
+ <div class="method-description">
581
+
582
+
583
+
584
+
585
+
586
+
587
+ <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>
589
+ <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
+ <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
591
+ <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>
592
+ <span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_name</span>(<span class="ruby-identifier">font_name</span>)
593
+ <span class="ruby-identifier">change_column_font</span>(<span class="ruby-identifier">column_index</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>, <span class="ruby-identifier">xf</span>)
594
+ <span class="ruby-keyword">end</span></pre>
595
+ </div>
596
+
597
+ </div>
598
+
599
+
600
+
601
+
602
+ </div>
603
+
604
+
605
+ <div id="method-i-change_column_font_size" class="method-detail ">
606
+
607
+ <div class="method-heading">
608
+ <span class="method-name">change_column_font_size</span><span
609
+ class="method-args">(column_index, font_size=10)</span>
610
+
611
+ <span class="method-click-advice">click to toggle source</span>
612
+
613
+ </div>
614
+
615
+
616
+ <div class="method-description">
617
+
618
+
619
+
620
+
621
+
622
+
623
+ <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>
625
+ <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
+ <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
627
+ <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>
628
+ <span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_size</span>(<span class="ruby-identifier">font_size</span>)
629
+ <span class="ruby-identifier">change_column_font</span>(<span class="ruby-identifier">column_index</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>, <span class="ruby-identifier">xf</span>)
630
+ <span class="ruby-keyword">end</span></pre>
631
+ </div>
632
+
633
+ </div>
634
+
635
+
636
+
637
+
638
+ </div>
639
+
640
+
641
+ <div id="method-i-change_column_horizontal_alignment" class="method-detail ">
642
+
643
+ <div class="method-heading">
644
+ <span class="method-name">change_column_horizontal_alignment</span><span
645
+ class="method-args">(column_index, alignment = 'center')</span>
646
+
647
+ <span class="method-click-advice">click to toggle source</span>
648
+
649
+ </div>
650
+
651
+
652
+ <div class="method-description">
653
+
654
+
655
+
656
+
657
+
658
+
659
+ <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>
661
+ <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
+ <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
+ <span class="ruby-keyword">end</span></pre>
664
+ </div>
665
+
666
+ </div>
667
+
668
+
669
+
670
+
671
+ </div>
672
+
673
+
674
+ <div id="method-i-change_column_italics" class="method-detail ">
675
+
676
+ <div class="method-heading">
677
+ <span class="method-name">change_column_italics</span><span
678
+ class="method-args">(column_index, italicized = false)</span>
679
+
680
+ <span class="method-click-advice">click to toggle source</span>
681
+
682
+ </div>
683
+
684
+
685
+ <div class="method-description">
686
+
687
+
688
+
689
+
690
+
691
+
692
+ <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>
694
+ <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
+ <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
696
+ <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>
697
+ <span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_italic</span>(<span class="ruby-identifier">italicized</span>)
698
+ <span class="ruby-identifier">change_column_font</span>(<span class="ruby-identifier">column_index</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>, <span class="ruby-identifier">xf</span>)
699
+ <span class="ruby-keyword">end</span></pre>
700
+ </div>
701
+
702
+ </div>
703
+
704
+
705
+
706
+
707
+ </div>
708
+
709
+
710
+ <div id="method-i-change_column_strikethrough" class="method-detail ">
711
+
712
+ <div class="method-heading">
713
+ <span class="method-name">change_column_strikethrough</span><span
714
+ class="method-args">(column_index, struckthrough=false)</span>
715
+
716
+ <span class="method-click-advice">click to toggle source</span>
717
+
718
+ </div>
719
+
720
+
721
+ <div class="method-description">
722
+
723
+
724
+
725
+
726
+
727
+
728
+ <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>
730
+ <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
+ <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
732
+ <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>
733
+ <span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_strikethrough</span>(<span class="ruby-identifier">struckthrough</span>)
734
+ <span class="ruby-identifier">change_column_font</span>(<span class="ruby-identifier">column_index</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>, <span class="ruby-identifier">xf</span>)
735
+ <span class="ruby-keyword">end</span></pre>
736
+ </div>
737
+
738
+ </div>
739
+
740
+
741
+
742
+
743
+ </div>
744
+
745
+
746
+ <div id="method-i-change_column_underline" class="method-detail ">
747
+
748
+ <div class="method-heading">
749
+ <span class="method-name">change_column_underline</span><span
750
+ class="method-args">(column_index, underlined = false)</span>
751
+
752
+ <span class="method-click-advice">click to toggle source</span>
753
+
754
+ </div>
755
+
756
+
757
+ <div class="method-description">
758
+
759
+
760
+
761
+
762
+
763
+
764
+ <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>
766
+ <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
+ <span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
768
+ <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>
769
+ <span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_underline</span>(<span class="ruby-identifier">underlined</span>)
770
+ <span class="ruby-identifier">change_column_font</span>(<span class="ruby-identifier">column_index</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>, <span class="ruby-identifier">xf</span>)
771
+ <span class="ruby-keyword">end</span></pre>
772
+ </div>
773
+
774
+ </div>
775
+
776
+
777
+
778
+
779
+ </div>
780
+
781
+
782
+ <div id="method-i-change_column_vertical_alignment" class="method-detail ">
783
+
784
+ <div class="method-heading">
785
+ <span class="method-name">change_column_vertical_alignment</span><span
786
+ class="method-args">(column_index, alignment = 'center')</span>
787
+
788
+ <span class="method-click-advice">click to toggle source</span>
789
+
790
+ </div>
791
+
792
+
793
+ <div class="method-description">
794
+
795
+
796
+
797
+
798
+
799
+
800
+ <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>
802
+ <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
+ <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
+ <span class="ruby-keyword">end</span></pre>
805
+ </div>
806
+
807
+ </div>
808
+
809
+
810
+
811
+
812
+ </div>
813
+
814
+
815
+ <div id="method-i-change_row_alignment" class="method-detail ">
816
+
817
+ <div class="method-heading">
818
+ <span class="method-name">change_row_alignment</span><span
819
+ class="method-args">(row, &block)</span>
820
+
821
+ <span class="method-click-advice">click to toggle source</span>
822
+
823
+ </div>
824
+
825
+
826
+ <div class="method-description">
827
+
828
+
829
+
830
+
831
+
832
+
833
+ <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>
835
+ <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
+ <span class="ruby-identifier">validate_workbook</span>
837
+ <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
838
+ <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
839
+
840
+ <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">row</span>].<span class="ruby-identifier">style_index</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">modify_alignment</span>(<span class="ruby-identifier">get_row_style</span>(<span class="ruby-identifier">row</span>), <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
841
+
842
+ <span class="ruby-identifier">sheet_data</span>[<span class="ruby-identifier">row</span>].<span class="ruby-identifier">cells</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span>
843
+ <span class="ruby-keyword">next</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">nil?</span>
844
+ <span class="ruby-identifier">c</span>.<span class="ruby-identifier">style_index</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">modify_alignment</span>(<span class="ruby-identifier">c</span>.<span class="ruby-identifier">style_index</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
845
+ }
846
+ <span class="ruby-keyword">end</span></pre>
847
+ </div>
848
+
849
+ </div>
850
+
851
+
852
+
853
+
854
+ </div>
855
+
856
+
857
+ <div id="method-i-change_row_bold" class="method-detail ">
858
+
859
+ <div class="method-heading">
860
+ <span class="method-name">change_row_bold</span><span
861
+ class="method-args">(row = 0, bolded = false)</span>
862
+
863
+ <span class="method-click-advice">click to toggle source</span>
864
+
865
+ </div>
866
+
867
+
868
+ <div class="method-description">
869
+
870
+
871
+
872
+
873
+
874
+
875
+ <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>
877
+ <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
+ <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
879
+ <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>
880
+ <span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_bold</span>(<span class="ruby-identifier">bolded</span>)
881
+ <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">BOLD</span>, <span class="ruby-identifier">bolded</span>, <span class="ruby-identifier">font</span>)
882
+ <span class="ruby-keyword">end</span></pre>
883
+ </div>
884
+
885
+ </div>
886
+
887
+
888
+
889
+
890
+ </div>
891
+
892
+
893
+ <div id="method-i-change_row_border" class="method-detail ">
894
+
895
+ <div class="method-heading">
896
+ <span class="method-name">change_row_border</span><span
897
+ class="method-args">(row, direction, weight)</span>
898
+
899
+ <span class="method-click-advice">click to toggle source</span>
900
+
901
+ </div>
902
+
903
+
904
+ <div class="method-description">
905
+
906
+
907
+
908
+
909
+
910
+
911
+ <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>
913
+ <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
+ <span class="ruby-identifier">validate_workbook</span>
915
+ <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
916
+
917
+ <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">row</span>].<span class="ruby-identifier">style_index</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">modify_border</span>(<span class="ruby-identifier">get_row_style</span>(<span class="ruby-identifier">row</span>), <span class="ruby-identifier">direction</span>, <span class="ruby-identifier">weight</span>)
918
+
919
+ <span class="ruby-identifier">sheet_data</span>[<span class="ruby-identifier">row</span>].<span class="ruby-identifier">cells</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span>
920
+ <span class="ruby-identifier">c</span>.<span class="ruby-identifier">change_border</span>(<span class="ruby-identifier">direction</span>, <span class="ruby-identifier">weight</span>) <span class="ruby-keyword">unless</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">nil?</span>
921
+ }
922
+ <span class="ruby-keyword">end</span></pre>
923
+ </div>
924
+
925
+ </div>
926
+
927
+
928
+
929
+
930
+ </div>
931
+
932
+
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 ">
1036
+
1037
+ <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>
1108
+
1109
+ <span class="method-click-advice">click to toggle source</span>
1110
+
1111
+ </div>
1112
+
1113
+
1114
+ <div class="method-description">
1115
+
1116
+
1117
+
1118
+
1119
+
1120
+
1121
+ <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>
1123
+ <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
+ <span class="ruby-identifier">validate_workbook</span>
1125
+ <span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row_index</span>)
1126
+ <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>)
1530
+ <span class="ruby-keyword">end</span></pre>
1531
+ </div>
1532
+
1533
+ </div>
1534
+
1535
+
1536
+
1537
+
1538
+ </div>
1539
+
1540
+
1541
+ <div id="method-i-get_column_border_bottom" class="method-detail ">
1542
+
1543
+ <div class="method-heading">
1544
+ <span class="method-name">get_column_border_bottom</span><span
1545
+ class="method-args">(col=0)</span>
1546
+
1547
+ <span class="method-click-advice">click to toggle source</span>
1548
+
1549
+ </div>
1550
+
1551
+
1552
+ <div class="method-description">
1553
+
1554
+
1555
+
1556
+
1557
+
1558
+
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>)
1564
+ <span class="ruby-keyword">end</span></pre>
1565
+ </div>
1566
+
1567
+ </div>
1568
+
1569
+
1570
+
1571
+
1572
+ </div>
1573
+
1574
+
1575
+ <div id="method-i-get_column_border_diagonal" class="method-detail ">
1576
+
1577
+ <div class="method-heading">
1578
+ <span class="method-name">get_column_border_diagonal</span><span
1579
+ class="method-args">(col=0)</span>
1580
+
1581
+ <span class="method-click-advice">click to toggle source</span>
1582
+
1583
+ </div>
1584
+
1585
+
1586
+ <div class="method-description">
1587
+
1588
+
1589
+
1590
+
1591
+
1592
+
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>)
1598
+ <span class="ruby-keyword">end</span></pre>
1599
+ </div>
1600
+
1601
+ </div>
1602
+
1603
+
1604
+
1605
+
1606
+ </div>
1607
+
1608
+
1609
+ <div id="method-i-get_column_border_left" class="method-detail ">
1610
+
1611
+ <div class="method-heading">
1612
+ <span class="method-name">get_column_border_left</span><span
1613
+ class="method-args">(col=0)</span>
1614
+
1615
+ <span class="method-click-advice">click to toggle source</span>
1616
+
1617
+ </div>
1618
+
1619
+
1620
+ <div class="method-description">
1621
+
1622
+
1623
+
1624
+
1625
+
1626
+
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>)
1632
+ <span class="ruby-keyword">end</span></pre>
1633
+ </div>
1634
+
1635
+ </div>
1636
+
1637
+
1638
+
1639
+
1640
+ </div>
1641
+
1642
+
1643
+ <div id="method-i-get_column_border_right" class="method-detail ">
1644
+
1645
+ <div class="method-heading">
1646
+ <span class="method-name">get_column_border_right</span><span
1647
+ class="method-args">(col=0)</span>
1648
+
1649
+ <span class="method-click-advice">click to toggle source</span>
1650
+
1651
+ </div>
1652
+
1653
+
1654
+ <div class="method-description">
1655
+
1656
+
1657
+
1658
+
1659
+
1660
+
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>)
1666
+ <span class="ruby-keyword">end</span></pre>
1667
+ </div>
1668
+
1669
+ </div>
1670
+
1671
+
1672
+
1673
+
1674
+ </div>
1675
+
1676
+
1677
+ <div id="method-i-get_column_border_top" class="method-detail ">
1678
+
1679
+ <div class="method-heading">
1680
+ <span class="method-name">get_column_border_top</span><span
1681
+ class="method-args">(col=0)</span>
1682
+
1683
+ <span class="method-click-advice">click to toggle source</span>
1684
+
1685
+ </div>
1686
+
1687
+
1688
+ <div class="method-description">
1689
+
1690
+
1691
+
1692
+
1693
+
1694
+
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>)
1700
+ <span class="ruby-keyword">end</span></pre>
1701
+ </div>
1702
+
1703
+ </div>
1704
+
1705
+
1706
+
1707
+
1708
+ </div>
1709
+
1710
+
1711
+ <div id="method-i-get_column_fill" class="method-detail ">
1712
+
1713
+ <div class="method-heading">
1714
+ <span class="method-name">get_column_fill</span><span
1715
+ class="method-args">(col=0)</span>
1716
+
1717
+ <span class="method-click-advice">click to toggle source</span>
1718
+
1719
+ </div>
1720
+
1721
+
1722
+ <div class="method-description">
1723
+
1724
+
1725
+
1726
+
1727
+
1728
+
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>))
1736
+ <span class="ruby-keyword">end</span></pre>
1737
+ </div>
1738
+
1739
+ </div>
1740
+
1741
+
1742
+
1743
+
1744
+ </div>
1745
+
1746
+
1747
+ <div id="method-i-get_column_font_color" class="method-detail ">
1748
+
1749
+ <div class="method-heading">
1750
+ <span class="method-name">get_column_font_color</span><span
1751
+ class="method-args">(col = 0)</span>
1752
+
1753
+ <span class="method-click-advice">click to toggle source</span>
1754
+
1755
+ </div>
1756
+
1757
+
1758
+ <div class="method-description">
1759
+
1760
+
1761
+
1762
+
1763
+
1764
+
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>)
1770
+ <span class="ruby-keyword">end</span></pre>
1771
+ </div>
1772
+
1773
+ </div>
1774
+
1775
+
1776
+
1777
+
1778
+ </div>
1779
+
1780
+
1781
+ <div id="method-i-get_column_font_name" class="method-detail ">
1782
+
1783
+ <div class="method-heading">
1784
+ <span class="method-name">get_column_font_name</span><span
1785
+ class="method-args">(col = 0)</span>
1786
+
1787
+ <span class="method-click-advice">click to toggle source</span>
1788
+
1789
+ </div>
1790
+
1791
+
1792
+ <div class="method-description">
1793
+
1794
+
1795
+
1796
+
1797
+
1798
+
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>
1804
+ <span class="ruby-keyword">end</span></pre>
1805
+ </div>
1806
+
1807
+ </div>
1808
+
1809
+
1810
+
1811
+
1812
+ </div>
1813
+
1814
+
1815
+ <div id="method-i-get_column_font_size" class="method-detail ">
1816
+
1817
+ <div class="method-heading">
1818
+ <span class="method-name">get_column_font_size</span><span
1819
+ class="method-args">(col = 0)</span>
1820
+
1821
+ <span class="method-click-advice">click to toggle source</span>
1822
+
1823
+ </div>
1824
+
1825
+
1826
+ <div class="method-description">
1827
+
1828
+
1829
+
1830
+
1831
+
1832
+
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>
1838
+ <span class="ruby-keyword">end</span></pre>
1839
+ </div>
1840
+
1841
+ </div>
1842
+
1843
+
1844
+
1845
+
1846
+ </div>
1847
+
1848
+
1849
+ <div id="method-i-get_column_horizontal_alignment" class="method-detail ">
1850
+
1851
+ <div class="method-heading">
1852
+ <span class="method-name">get_column_horizontal_alignment</span><span
1853
+ class="method-args">(col=0)</span>
1854
+
1855
+ <span class="method-click-advice">click to toggle source</span>
1856
+
1857
+ </div>
1858
+
1859
+
1860
+ <div class="method-description">
1861
+
1862
+
1863
+
1864
+
1865
+
1866
+
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>)
1872
+ <span class="ruby-keyword">end</span></pre>
1873
+ </div>
1874
+
1875
+ </div>
1876
+
1877
+
1878
+
1879
+
1880
+ </div>
1881
+
1882
+
1883
+ <div id="method-i-get_column_vertical_alignment" class="method-detail ">
1884
+
1885
+ <div class="method-heading">
1886
+ <span class="method-name">get_column_vertical_alignment</span><span
1887
+ class="method-args">(col=0)</span>
1888
+
1889
+ <span class="method-click-advice">click to toggle source</span>
1890
+
1891
+ </div>
1892
+
1893
+
1894
+ <div class="method-description">
1895
+
1896
+
1897
+
1898
+
1899
+
1900
+
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>)
1906
+ <span class="ruby-keyword">end</span></pre>
1907
+ </div>
1908
+
1909
+ </div>
1910
+
1911
+
1912
+
1913
+
1914
+ </div>
1915
+
1916
+
1917
+ <div id="method-i-get_column_width" class="method-detail ">
1918
+
1919
+ <div class="method-heading">
1920
+ <span class="method-name">get_column_width</span><span
1921
+ class="method-args">(column_index = 0)</span>
1922
+
1923
+ <span class="method-click-advice">click to toggle source</span>
1924
+
1925
+ </div>
1926
+
1927
+
1928
+ <div class="method-description">
1929
+
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>
1932
+
1933
+
1934
+
1935
+
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>
1942
+ <span class="ruby-keyword">end</span></pre>
1943
+ </div>
1944
+
1945
+ </div>
1946
+
1947
+
1948
+
1949
+
1950
+ </div>
1951
+
1952
+
1953
+ <div id="method-i-get_column_width_raw" class="method-detail ">
1954
+
1955
+ <div class="method-heading">
1956
+ <span class="method-name">get_column_width_raw</span><span
1957
+ class="method-args">(column_index = 0)</span>
1958
+
1959
+ <span class="method-click-advice">click to toggle source</span>
1960
+
1961
+ </div>
1962
+
1963
+
1964
+ <div class="method-description">
1965
+
1966
+ <p>Get raw column width value as stored in the file</p>
1967
+
1968
+
1969
+
1970
+
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
+
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>
1979
+ <span class="ruby-keyword">end</span></pre>
1980
+ </div>
1981
+
1982
+ </div>
1983
+
1984
+
1985
+
1986
+
1987
+ </div>
1988
+
1989
+
1990
+ <div id="method-i-get_row_border" class="method-detail ">
1991
+
1992
+ <div class="method-heading">
1993
+ <span class="method-name">get_row_border</span><span
1994
+ class="method-args">(row, border_direction)</span>
1995
+
1996
+ <span class="method-click-advice">click to toggle source</span>
1997
+
1998
+ </div>
1999
+
2000
+
2001
+ <div class="method-description">
2002
+
2003
+
2004
+
2005
+
2006
+
2007
+
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>)
2016
+ <span class="ruby-keyword">end</span></pre>
2017
+ </div>
2018
+
2019
+ </div>
2020
+
2021
+
2022
+
2023
+
2024
+ </div>
2025
+
2026
+
2027
+ <div id="method-i-get_row_border_bottom" class="method-detail ">
2028
+
2029
+ <div class="method-heading">
2030
+ <span class="method-name">get_row_border_bottom</span><span
2031
+ class="method-args">(row = 0)</span>
2032
+
2033
+ <span class="method-click-advice">click to toggle source</span>
2034
+
2035
+ </div>
2036
+
2037
+
2038
+ <div class="method-description">
2039
+
2040
+
2041
+
2042
+
2043
+
2044
+
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>)
2050
+ <span class="ruby-keyword">end</span></pre>
2051
+ </div>
2052
+
2053
+ </div>
2054
+
2055
+
2056
+
2057
+
2058
+ </div>
2059
+
2060
+
2061
+ <div id="method-i-get_row_border_diagonal" class="method-detail ">
2062
+
2063
+ <div class="method-heading">
2064
+ <span class="method-name">get_row_border_diagonal</span><span
2065
+ class="method-args">(row = 0)</span>
2066
+
2067
+ <span class="method-click-advice">click to toggle source</span>
2068
+
2069
+ </div>
2070
+
2071
+
2072
+ <div class="method-description">
2073
+
2074
+
2075
+
2076
+
2077
+
2078
+
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>)
2084
+ <span class="ruby-keyword">end</span></pre>
2085
+ </div>
2086
+
2087
+ </div>
2088
+
2089
+
2090
+
2091
+
2092
+ </div>
2093
+
2094
+
2095
+ <div id="method-i-get_row_border_left" class="method-detail ">
2096
+
2097
+ <div class="method-heading">
2098
+ <span class="method-name">get_row_border_left</span><span
2099
+ class="method-args">(row = 0)</span>
2100
+
2101
+ <span class="method-click-advice">click to toggle source</span>
2102
+
2103
+ </div>
2104
+
2105
+
2106
+ <div class="method-description">
2107
+
2108
+
2109
+
2110
+
2111
+
2112
+
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>)
2118
+ <span class="ruby-keyword">end</span></pre>
2119
+ </div>
2120
+
2121
+ </div>
2122
+
2123
+
2124
+
2125
+
2126
+ </div>
2127
+
2128
+
2129
+ <div id="method-i-get_row_border_right" class="method-detail ">
2130
+
2131
+ <div class="method-heading">
2132
+ <span class="method-name">get_row_border_right</span><span
2133
+ class="method-args">(row = 0)</span>
2134
+
2135
+ <span class="method-click-advice">click to toggle source</span>
2136
+
2137
+ </div>
2138
+
2139
+
2140
+ <div class="method-description">
2141
+
2142
+
2143
+
2144
+
2145
+
2146
+
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>)
2152
+ <span class="ruby-keyword">end</span></pre>
2153
+ </div>
2154
+
2155
+ </div>
2156
+
2157
+
2158
+
2159
+
2160
+ </div>
2161
+
2162
+
2163
+ <div id="method-i-get_row_border_top" class="method-detail ">
2164
+
2165
+ <div class="method-heading">
2166
+ <span class="method-name">get_row_border_top</span><span
2167
+ class="method-args">(row = 0)</span>
2168
+
2169
+ <span class="method-click-advice">click to toggle source</span>
2170
+
2171
+ </div>
2172
+
2173
+
2174
+ <div class="method-description">
2175
+
2176
+
2177
+
2178
+
2179
+
2180
+
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>)
2186
+ <span class="ruby-keyword">end</span></pre>
2187
+ </div>
2188
+
2189
+ </div>
2190
+
2191
+
2192
+
2193
+
2194
+ </div>
2195
+
2196
+
2197
+ <div id="method-i-get_row_fill" class="method-detail ">
2198
+
2199
+ <div class="method-heading">
2200
+ <span class="method-name">get_row_fill</span><span
2201
+ class="method-args">(row = 0)</span>
2202
+
2203
+ <span class="method-click-advice">click to toggle source</span>
2204
+
2205
+ </div>
2206
+
2207
+
2208
+ <div class="method-description">
2209
+
2210
+
2211
+
2212
+
2213
+
2214
+
2215
+ <div class="method-source-code" id="get_row_fill-source">
2216
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 187</span>
2217
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_fill</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2218
+ (<span class="ruby-identifier">row</span> = <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">row</span>]) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">get_fill_color</span>
2219
+ <span class="ruby-keyword">end</span></pre>
2220
+ </div>
2221
+
2222
+ </div>
2223
+
2224
+
2225
+
2226
+
2227
+ </div>
2228
+
2229
+
2230
+ <div id="method-i-get_row_font_color" class="method-detail ">
2231
+
2232
+ <div class="method-heading">
2233
+ <span class="method-name">get_row_font_color</span><span
2234
+ class="method-args">(row = 0)</span>
2235
+
2236
+ <span class="method-click-advice">click to toggle source</span>
2237
+
2238
+ </div>
2239
+
2240
+
2241
+ <div class="method-description">
2242
+
2243
+
2244
+
2245
+
2246
+
2247
+
2248
+ <div class="method-source-code" id="get_row_font_color-source">
2249
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 199</span>
2250
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_font_color</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2251
+ <span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)
2252
+ <span class="ruby-identifier">color</span> = <span class="ruby-identifier">font</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">color</span>
2253
+ <span class="ruby-identifier">color</span> <span class="ruby-operator">&amp;&amp;</span> (<span class="ruby-identifier">color</span>.<span class="ruby-identifier">rgb</span> <span class="ruby-operator">||</span> <span class="ruby-string">&#39;000000&#39;</span>)
2254
+ <span class="ruby-keyword">end</span></pre>
2255
+ </div>
2256
+
2257
+ </div>
2258
+
2259
+
2260
+
2261
+
2262
+ </div>
2263
+
2264
+
2265
+ <div id="method-i-get_row_font_name" class="method-detail ">
2266
+
2267
+ <div class="method-heading">
2268
+ <span class="method-name">get_row_font_name</span><span
2269
+ class="method-args">(row = 0)</span>
2270
+
2271
+ <span class="method-click-advice">click to toggle source</span>
2272
+
2273
+ </div>
2274
+
2275
+
2276
+ <div class="method-description">
2277
+
2278
+
2279
+
2280
+
2281
+
2282
+
2283
+ <div class="method-source-code" id="get_row_font_name-source">
2284
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 191</span>
2285
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_font_name</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2286
+ (<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_name</span>
2287
+ <span class="ruby-keyword">end</span></pre>
2288
+ </div>
2289
+
2290
+ </div>
2291
+
2292
+
2293
+
2294
+
2295
+ </div>
2296
+
2297
+
2298
+ <div id="method-i-get_row_font_size" class="method-detail ">
2299
+
2300
+ <div class="method-heading">
2301
+ <span class="method-name">get_row_font_size</span><span
2302
+ class="method-args">(row = 0)</span>
2303
+
2304
+ <span class="method-click-advice">click to toggle source</span>
2305
+
2306
+ </div>
2307
+
2308
+
2309
+ <div class="method-description">
2310
+
2311
+
2312
+
2313
+
2314
+
2315
+
2316
+ <div class="method-source-code" id="get_row_font_size-source">
2317
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 195</span>
2318
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_font_size</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2319
+ (<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_size</span>
2320
+ <span class="ruby-keyword">end</span></pre>
2321
+ </div>
2322
+
2323
+ </div>
2324
+
2325
+
2326
+
2327
+
2328
+ </div>
2329
+
2330
+
2331
+ <div id="method-i-get_row_height" class="method-detail ">
2332
+
2333
+ <div class="method-heading">
2334
+ <span class="method-name">get_row_height</span><span
2335
+ class="method-args">(row = 0)</span>
2336
+
2337
+ <span class="method-click-advice">click to toggle source</span>
2338
+
2339
+ </div>
2340
+
2341
+
2342
+ <div class="method-description">
2343
+
2344
+
2345
+
2346
+
2347
+
2348
+
2349
+ <div class="method-source-code" id="get_row_height-source">
2350
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 221</span>
2351
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_height</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2352
+ <span class="ruby-identifier">validate_workbook</span>
2353
+ <span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
2354
+ <span class="ruby-identifier">row</span> = <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">row</span>]
2355
+ <span class="ruby-identifier">row</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">ht</span> <span class="ruby-operator">||</span> <span class="ruby-value">13</span>
2356
+ <span class="ruby-keyword">end</span></pre>
2357
+ </div>
2358
+
2359
+ </div>
2360
+
2361
+
2362
+
2363
+
2364
+ </div>
2365
+
2366
+
2367
+ <div id="method-i-get_row_horizontal_alignment" class="method-detail ">
2368
+
2369
+ <div class="method-heading">
2370
+ <span class="method-name">get_row_horizontal_alignment</span><span
2371
+ class="method-args">(row = 0)</span>
2372
+
2373
+ <span class="method-click-advice">click to toggle source</span>
2374
+
2375
+ </div>
2376
+
2377
+
2378
+ <div class="method-description">
2379
+
2380
+
2381
+
2382
+
2383
+
2384
+
2385
+ <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>
2387
+ <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>)
2388
+ <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
+ <span class="ruby-keyword">end</span></pre>
2390
+ </div>
2391
+
2392
+ </div>
2393
+
2394
+
2395
+
2396
+
2397
+ </div>
2398
+
2399
+
2400
+ <div id="method-i-get_row_vertical_alignment" class="method-detail ">
2401
+
2402
+ <div class="method-heading">
2403
+ <span class="method-name">get_row_vertical_alignment</span><span
2404
+ class="method-args">(row = 0)</span>
2405
+
2406
+ <span class="method-click-advice">click to toggle source</span>
2407
+
2408
+ </div>
2409
+
2410
+
2411
+ <div class="method-description">
2412
+
2413
+
2414
+
2415
+
2416
+
2417
+
2418
+ <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>
2420
+ <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>)
2421
+ <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
+ <span class="ruby-keyword">end</span></pre>
2423
+ </div>
2424
+
2425
+ </div>
2426
+
2427
+
2428
+
2429
+
2430
+ </div>
2431
+
2432
+
2433
+ <div id="method-i-is_column_bolded" class="method-detail ">
2434
+
2435
+ <div class="method-heading">
2436
+ <span class="method-name">is_column_bolded</span><span
2437
+ class="method-args">(col = 0)</span>
2438
+
2439
+ <span class="method-click-advice">click to toggle source</span>
2440
+
2441
+ </div>
2442
+
2443
+
2444
+ <div class="method-description">
2445
+
2446
+
2447
+
2448
+
2449
+
2450
+
2451
+ <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>
2453
+ <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
+ <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
2455
+ <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>
2456
+ <span class="ruby-keyword">end</span></pre>
2457
+ </div>
2458
+
2459
+ </div>
2460
+
2461
+
2462
+
2463
+
2464
+ </div>
2465
+
2466
+
2467
+ <div id="method-i-is_column_italicized" class="method-detail ">
2468
+
2469
+ <div class="method-heading">
2470
+ <span class="method-name">is_column_italicized</span><span
2471
+ class="method-args">(col = 0)</span>
2472
+
2473
+ <span class="method-click-advice">click to toggle source</span>
2474
+
2475
+ </div>
2476
+
2477
+
2478
+ <div class="method-description">
2479
+
2480
+
2481
+
2482
+
2483
+
2484
+
2485
+ <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>
2487
+ <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
+ <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
2489
+ <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>
2490
+ <span class="ruby-keyword">end</span></pre>
2491
+ </div>
2492
+
2493
+ </div>
2494
+
2495
+
2496
+
2497
+
2498
+ </div>
2499
+
2500
+
2501
+ <div id="method-i-is_column_struckthrough" class="method-detail ">
2502
+
2503
+ <div class="method-heading">
2504
+ <span class="method-name">is_column_struckthrough</span><span
2505
+ class="method-args">(col = 0)</span>
2506
+
2507
+ <span class="method-click-advice">click to toggle source</span>
2508
+
2509
+ </div>
2510
+
2511
+
2512
+ <div class="method-description">
2513
+
2514
+
2515
+
2516
+
2517
+
2518
+
2519
+ <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>
2521
+ <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
+ <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
2523
+ <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>
2524
+ <span class="ruby-keyword">end</span></pre>
2525
+ </div>
2526
+
2527
+ </div>
2528
+
2529
+
2530
+
2531
+
2532
+ </div>
2533
+
2534
+
2535
+ <div id="method-i-is_column_underlined" class="method-detail ">
2536
+
2537
+ <div class="method-heading">
2538
+ <span class="method-name">is_column_underlined</span><span
2539
+ class="method-args">(col = 0)</span>
2540
+
2541
+ <span class="method-click-advice">click to toggle source</span>
2542
+
2543
+ </div>
2544
+
2545
+
2546
+ <div class="method-description">
2547
+
2548
+
2549
+
2550
+
2551
+
2552
+
2553
+ <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>
2555
+ <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
+ <span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
2557
+ <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>
2558
+ <span class="ruby-keyword">end</span></pre>
2559
+ </div>
2560
+
2561
+ </div>
2562
+
2563
+
2564
+
2565
+
2566
+ </div>
2567
+
2568
+
2569
+ <div id="method-i-is_row_bolded" class="method-detail ">
2570
+
2571
+ <div class="method-heading">
2572
+ <span class="method-name">is_row_bolded</span><span
2573
+ class="method-args">(row = 0)</span>
2574
+
2575
+ <span class="method-click-advice">click to toggle source</span>
2576
+
2577
+ </div>
2578
+
2579
+
2580
+ <div class="method-description">
2581
+
2582
+
2583
+
2584
+
2585
+
2586
+
2587
+ <div class="method-source-code" id="is_row_bolded-source">
2588
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 209</span>
2589
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">is_row_bolded</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2590
+ (<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_bold</span>
2591
+ <span class="ruby-keyword">end</span></pre>
2592
+ </div>
2593
+
2594
+ </div>
2595
+
2596
+
2597
+
2598
+
2599
+ </div>
2600
+
2601
+
2602
+ <div id="method-i-is_row_italicized" class="method-detail ">
2603
+
2604
+ <div class="method-heading">
2605
+ <span class="method-name">is_row_italicized</span><span
2606
+ class="method-args">(row = 0)</span>
2607
+
2608
+ <span class="method-click-advice">click to toggle source</span>
2609
+
2610
+ </div>
2611
+
2612
+
2613
+ <div class="method-description">
2614
+
2615
+
2616
+
2617
+
2618
+
2619
+
2620
+ <div class="method-source-code" id="is_row_italicized-source">
2621
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 205</span>
2622
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">is_row_italicized</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2623
+ (<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_italic</span>
2624
+ <span class="ruby-keyword">end</span></pre>
2625
+ </div>
2626
+
2627
+ </div>
2628
+
2629
+
2630
+
2631
+
2632
+ </div>
2633
+
2634
+
2635
+ <div id="method-i-is_row_struckthrough" class="method-detail ">
2636
+
2637
+ <div class="method-heading">
2638
+ <span class="method-name">is_row_struckthrough</span><span
2639
+ class="method-args">(row = 0)</span>
2640
+
2641
+ <span class="method-click-advice">click to toggle source</span>
2642
+
2643
+ </div>
2644
+
2645
+
2646
+ <div class="method-description">
2647
+
2648
+
2649
+
2650
+
2651
+
2652
+
2653
+ <div class="method-source-code" id="is_row_struckthrough-source">
2654
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 217</span>
2655
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">is_row_struckthrough</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2656
+ (<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_strikethrough</span>
2657
+ <span class="ruby-keyword">end</span></pre>
2658
+ </div>
2659
+
2660
+ </div>
2661
+
2662
+
2663
+
2664
+
2665
+ </div>
2666
+
2667
+
2668
+ <div id="method-i-is_row_underlined" class="method-detail ">
2669
+
2670
+ <div class="method-heading">
2671
+ <span class="method-name">is_row_underlined</span><span
2672
+ class="method-args">(row = 0)</span>
2673
+
2674
+ <span class="method-click-advice">click to toggle source</span>
2675
+
2676
+ </div>
2677
+
2678
+
2679
+ <div class="method-description">
2680
+
2681
+
2682
+
2683
+
2684
+
2685
+
2686
+ <div class="method-source-code" id="is_row_underlined-source">
2687
+ <pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 213</span>
2688
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">is_row_underlined</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
2689
+ (<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_underlined</span>
2690
+ <span class="ruby-keyword">end</span></pre>
2691
+ </div>
2692
+
2693
+ </div>
2694
+
2695
+
2696
+
2697
+
2698
+ </div>
2699
+
2700
+
2701
+ </section>
2702
+
89
2703
  </section>
90
2704
  </main>
91
2705
 
92
2706
 
93
2707
  <footer id="validator-badges" role="contentinfo">
94
2708
  <p><a href="http://validator.w3.org/check/referer">Validate</a>
95
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.2.
96
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
2709
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
2710
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
97
2711
  </footer>
98
2712