rubyXL 2.5.4 → 2.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -1
- data/VERSION +1 -1
- data/lib/rubyXL/worksheet.rb +39 -38
- data/rdoc/README_rdoc.html +1 -1
- data/rdoc/RubyXL.html +1 -1
- data/rdoc/RubyXL/AExtension.html +1 -1
- data/rdoc/RubyXL/AExtensionStorageArea.html +1 -1
- data/rdoc/RubyXL/AdjustHandleList.html +1 -1
- data/rdoc/RubyXL/Alignment.html +1 -1
- data/rdoc/RubyXL/AlternateContent.html +1 -1
- data/rdoc/RubyXL/AutoFilter.html +1 -1
- data/rdoc/RubyXL/AutoFilterColumn.html +1 -1
- data/rdoc/RubyXL/BodyProperties.html +1 -1
- data/rdoc/RubyXL/BooleanNode.html +1 -1
- data/rdoc/RubyXL/BooleanValue.html +1 -1
- data/rdoc/RubyXL/Border.html +1 -1
- data/rdoc/RubyXL/BorderEdge.html +1 -1
- data/rdoc/RubyXL/Borders.html +1 -1
- data/rdoc/RubyXL/Break.html +1 -1
- data/rdoc/RubyXL/BreakList.html +1 -1
- data/rdoc/RubyXL/CT_AdjPoint2D.html +1 -1
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +1 -1
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +1 -1
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +1 -1
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +1 -1
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +1 -1
- data/rdoc/RubyXL/CT_Backdrop.html +1 -1
- data/rdoc/RubyXL/CT_Bevel.html +1 -1
- data/rdoc/RubyXL/CT_BiLevelEffect.html +1 -1
- data/rdoc/RubyXL/CT_BlendEffect.html +1 -1
- data/rdoc/RubyXL/CT_Blip.html +1 -1
- data/rdoc/RubyXL/CT_BlipFillProperties.html +1 -1
- data/rdoc/RubyXL/CT_BlurEffect.html +1 -1
- data/rdoc/RubyXL/CT_Camera.html +1 -1
- data/rdoc/RubyXL/CT_Color.html +1 -1
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +1 -1
- data/rdoc/RubyXL/CT_ColorMapping.html +1 -1
- data/rdoc/RubyXL/CT_ColorScheme.html +1 -1
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +1 -1
- data/rdoc/RubyXL/CT_ConnectionSite.html +1 -1
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +1 -1
- data/rdoc/RubyXL/CT_DashStop.html +1 -1
- data/rdoc/RubyXL/CT_DashStopList.html +1 -1
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +1 -1
- data/rdoc/RubyXL/CT_DuotoneEffect.html +1 -1
- data/rdoc/RubyXL/CT_EffectContainer.html +1 -1
- data/rdoc/RubyXL/CT_EffectList.html +1 -1
- data/rdoc/RubyXL/CT_EffectReference.html +1 -1
- data/rdoc/RubyXL/CT_EffectStyleItem.html +1 -1
- data/rdoc/RubyXL/CT_EffectStyleList.html +1 -1
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +1 -1
- data/rdoc/RubyXL/CT_FillEffect.html +1 -1
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +1 -1
- data/rdoc/RubyXL/CT_FillStyleList.html +1 -1
- data/rdoc/RubyXL/CT_FlatText.html +1 -1
- data/rdoc/RubyXL/CT_FontCollection.html +1 -1
- data/rdoc/RubyXL/CT_FontReference.html +1 -1
- data/rdoc/RubyXL/CT_GeomGuideList.html +1 -1
- data/rdoc/RubyXL/CT_GlowEffect.html +1 -1
- data/rdoc/RubyXL/CT_GradientFillProperties.html +1 -1
- data/rdoc/RubyXL/CT_GradientStop.html +1 -1
- data/rdoc/RubyXL/CT_GradientStopList.html +1 -1
- data/rdoc/RubyXL/CT_HSLEffect.html +1 -1
- data/rdoc/RubyXL/CT_HslColor.html +1 -1
- data/rdoc/RubyXL/CT_Hyperlink.html +1 -1
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +1 -1
- data/rdoc/RubyXL/CT_LightRig.html +1 -1
- data/rdoc/RubyXL/CT_LineEndProperties.html +1 -1
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +1 -1
- data/rdoc/RubyXL/CT_LineProperties.html +1 -1
- data/rdoc/RubyXL/CT_LineStyleList.html +1 -1
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +1 -1
- data/rdoc/RubyXL/CT_LuminanceEffect.html +1 -1
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +1 -1
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +1 -1
- data/rdoc/RubyXL/CT_Path2D.html +1 -1
- data/rdoc/RubyXL/CT_Path2DArcTo.html +1 -1
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +1 -1
- data/rdoc/RubyXL/CT_Path2DList.html +1 -1
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +1 -1
- data/rdoc/RubyXL/CT_Path2DTo.html +1 -1
- data/rdoc/RubyXL/CT_PathShadeProperties.html +1 -1
- data/rdoc/RubyXL/CT_PatternFillProperties.html +1 -1
- data/rdoc/RubyXL/CT_Point3D.html +1 -1
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +1 -1
- data/rdoc/RubyXL/CT_PresetColor.html +1 -1
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +1 -1
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +1 -1
- data/rdoc/RubyXL/CT_PresetTextShape.html +1 -1
- data/rdoc/RubyXL/CT_ReflectionEffect.html +1 -1
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +1 -1
- data/rdoc/RubyXL/CT_RelativeRect.html +1 -1
- data/rdoc/RubyXL/CT_SRgbColor.html +1 -1
- data/rdoc/RubyXL/CT_ScRgbColor.html +1 -1
- data/rdoc/RubyXL/CT_Scene3D.html +1 -1
- data/rdoc/RubyXL/CT_SchemeColor.html +1 -1
- data/rdoc/RubyXL/CT_Shape3D.html +1 -1
- data/rdoc/RubyXL/CT_ShapeStyle.html +1 -1
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +1 -1
- data/rdoc/RubyXL/CT_SphereCoords.html +1 -1
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +1 -1
- data/rdoc/RubyXL/CT_StyleMatrix.html +1 -1
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +1 -1
- data/rdoc/RubyXL/CT_SupplementalFont.html +1 -1
- data/rdoc/RubyXL/CT_SystemColor.html +1 -1
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +1 -1
- data/rdoc/RubyXL/CT_TextBlipBullet.html +1 -1
- data/rdoc/RubyXL/CT_TextCharBullet.html +1 -1
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +1 -1
- data/rdoc/RubyXL/CT_TextFont.html +1 -1
- data/rdoc/RubyXL/CT_TextListStyle.html +1 -1
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +1 -1
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +1 -1
- data/rdoc/RubyXL/CT_TextSpacing.html +1 -1
- data/rdoc/RubyXL/CT_TextTabStop.html +1 -1
- data/rdoc/RubyXL/CT_TextTabStopList.html +1 -1
- data/rdoc/RubyXL/CT_TileInfoProperties.html +1 -1
- data/rdoc/RubyXL/CT_TintEffect.html +1 -1
- data/rdoc/RubyXL/CT_Transform2D.html +1 -1
- data/rdoc/RubyXL/CT_TransformEffect.html +1 -1
- data/rdoc/RubyXL/CT_Vector3D.html +1 -1
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +1 -1
- data/rdoc/RubyXL/CalculationChain.html +1 -1
- data/rdoc/RubyXL/CalculationChainCell.html +1 -1
- data/rdoc/RubyXL/CalculationProperties.html +1 -1
- data/rdoc/RubyXL/Cell.html +1 -1
- data/rdoc/RubyXL/CellSmartTag.html +1 -1
- data/rdoc/RubyXL/CellSmartTagProperty.html +1 -1
- data/rdoc/RubyXL/CellSmartTags.html +1 -1
- data/rdoc/RubyXL/CellStyle.html +1 -1
- data/rdoc/RubyXL/CellStyleXFs.html +1 -1
- data/rdoc/RubyXL/CellStyles.html +1 -1
- data/rdoc/RubyXL/CellValue.html +1 -1
- data/rdoc/RubyXL/CellWatch.html +1 -1
- data/rdoc/RubyXL/CellWatches.html +1 -1
- data/rdoc/RubyXL/CellXFs.html +1 -1
- data/rdoc/RubyXL/Chartsheet.html +1 -1
- data/rdoc/RubyXL/ChartsheetPageSetup.html +1 -1
- data/rdoc/RubyXL/ChartsheetProperties.html +1 -1
- data/rdoc/RubyXL/ChartsheetProtection.html +1 -1
- data/rdoc/RubyXL/ChartsheetView.html +1 -1
- data/rdoc/RubyXL/ChartsheetViews.html +1 -1
- data/rdoc/RubyXL/Color.html +1 -1
- data/rdoc/RubyXL/ColorFilter.html +1 -1
- data/rdoc/RubyXL/ColorScale.html +1 -1
- data/rdoc/RubyXL/ColorSet.html +1 -1
- data/rdoc/RubyXL/Colors.html +1 -1
- data/rdoc/RubyXL/ColumnRange.html +1 -1
- data/rdoc/RubyXL/ColumnRanges.html +1 -1
- data/rdoc/RubyXL/ConditionalFormatValue.html +1 -1
- data/rdoc/RubyXL/ConditionalFormatting.html +1 -1
- data/rdoc/RubyXL/ConditionalFormattingRule.html +1 -1
- data/rdoc/RubyXL/ContentTypeDefault.html +1 -1
- data/rdoc/RubyXL/ContentTypeOverride.html +1 -1
- data/rdoc/RubyXL/ContentTypes.html +1 -1
- data/rdoc/RubyXL/CoreProperties.html +1 -1
- data/rdoc/RubyXL/CustomColor.html +1 -1
- data/rdoc/RubyXL/CustomColorList.html +1 -1
- data/rdoc/RubyXL/CustomFilter.html +1 -1
- data/rdoc/RubyXL/CustomFilters.html +1 -1
- data/rdoc/RubyXL/CustomGeometry.html +1 -1
- data/rdoc/RubyXL/CustomProperties.html +1 -1
- data/rdoc/RubyXL/CustomProperty.html +1 -1
- data/rdoc/RubyXL/CustomSheetView.html +1 -1
- data/rdoc/RubyXL/CustomSheetViews.html +1 -1
- data/rdoc/RubyXL/CustomWorkbookView.html +1 -1
- data/rdoc/RubyXL/CustomWorkbookViews.html +1 -1
- data/rdoc/RubyXL/DXF.html +1 -1
- data/rdoc/RubyXL/DXFs.html +1 -1
- data/rdoc/RubyXL/DataBar.html +1 -1
- data/rdoc/RubyXL/DataConsolidate.html +1 -1
- data/rdoc/RubyXL/DataConsolidationReference.html +1 -1
- data/rdoc/RubyXL/DataConsolidationReferences.html +1 -1
- data/rdoc/RubyXL/DataType.html +1 -1
- data/rdoc/RubyXL/DataValidation.html +1 -1
- data/rdoc/RubyXL/DataValidations.html +1 -1
- data/rdoc/RubyXL/DateGroupItem.html +1 -1
- data/rdoc/RubyXL/DefinedName.html +1 -1
- data/rdoc/RubyXL/DefinedNames.html +1 -1
- data/rdoc/RubyXL/DocumentProperties.html +1 -1
- data/rdoc/RubyXL/DynamicFilter.html +1 -1
- data/rdoc/RubyXL/EmbeddedControl.html +1 -1
- data/rdoc/RubyXL/EmbeddedControls.html +1 -1
- data/rdoc/RubyXL/Extension.html +1 -1
- data/rdoc/RubyXL/ExtensionStorageArea.html +1 -1
- data/rdoc/RubyXL/Extents.html +1 -1
- data/rdoc/RubyXL/ExternalReference.html +1 -1
- data/rdoc/RubyXL/ExternalReferences.html +1 -1
- data/rdoc/RubyXL/ExtraColorSchemeList.html +1 -1
- data/rdoc/RubyXL/FieldItem.html +1 -1
- data/rdoc/RubyXL/FileRecoveryProperties.html +1 -1
- data/rdoc/RubyXL/FileSharing.html +1 -1
- data/rdoc/RubyXL/FileVersion.html +1 -1
- data/rdoc/RubyXL/Fill.html +1 -1
- data/rdoc/RubyXL/Fills.html +1 -1
- data/rdoc/RubyXL/FilterContainer.html +1 -1
- data/rdoc/RubyXL/FloatNode.html +1 -1
- data/rdoc/RubyXL/FloatValue.html +1 -1
- data/rdoc/RubyXL/Font.html +1 -1
- data/rdoc/RubyXL/FontScheme.html +1 -1
- data/rdoc/RubyXL/Fonts.html +1 -1
- data/rdoc/RubyXL/Formula.html +1 -1
- data/rdoc/RubyXL/FunctionGroup.html +1 -1
- data/rdoc/RubyXL/FunctionGroups.html +1 -1
- data/rdoc/RubyXL/GenericStorage.html +1 -1
- data/rdoc/RubyXL/GradientFill.html +1 -1
- data/rdoc/RubyXL/HeaderFooterSettings.html +1 -1
- data/rdoc/RubyXL/Hyperlink.html +1 -1
- data/rdoc/RubyXL/Hyperlinks.html +1 -1
- data/rdoc/RubyXL/IconFilter.html +1 -1
- data/rdoc/RubyXL/IconSet.html +1 -1
- data/rdoc/RubyXL/IgnoredError.html +1 -1
- data/rdoc/RubyXL/IgnoredErrors.html +1 -1
- data/rdoc/RubyXL/IndexedColors.html +1 -1
- data/rdoc/RubyXL/InputCells.html +1 -1
- data/rdoc/RubyXL/IntegerNode.html +1 -1
- data/rdoc/RubyXL/IntegerValue.html +1 -1
- data/rdoc/RubyXL/LegacyCell.html +1 -1
- data/rdoc/RubyXL/LegacyWorkbook.html +1 -1
- data/rdoc/RubyXL/LegacyWorksheet.html +54 -54
- data/rdoc/RubyXL/MRUColors.html +1 -1
- data/rdoc/RubyXL/MergedCell.html +1 -1
- data/rdoc/RubyXL/MergedCells.html +1 -1
- data/rdoc/RubyXL/NumFmt.html +1 -1
- data/rdoc/RubyXL/NumberFormat.html +1 -1
- data/rdoc/RubyXL/NumberFormats.html +1 -1
- data/rdoc/RubyXL/OLEObject.html +1 -1
- data/rdoc/RubyXL/OLEObjects.html +1 -1
- data/rdoc/RubyXL/OLESize.html +1 -1
- data/rdoc/RubyXL/OOXMLContainerObject.html +1 -1
- data/rdoc/RubyXL/OOXMLObject.html +1 -1
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +1 -1
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +1 -1
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +1 -1
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +1 -1
- data/rdoc/RubyXL/Offset.html +1 -1
- data/rdoc/RubyXL/OutlineProperties.html +1 -1
- data/rdoc/RubyXL/PageMargins.html +1 -1
- data/rdoc/RubyXL/PageSetup.html +1 -1
- data/rdoc/RubyXL/PageSetupProperties.html +1 -1
- data/rdoc/RubyXL/Pane.html +1 -1
- data/rdoc/RubyXL/Parser.html +1 -1
- data/rdoc/RubyXL/PatternFill.html +1 -1
- data/rdoc/RubyXL/PhoneticProperties.html +1 -1
- data/rdoc/RubyXL/PhoneticRun.html +1 -1
- data/rdoc/RubyXL/PivotArea.html +1 -1
- data/rdoc/RubyXL/PivotCache.html +1 -1
- data/rdoc/RubyXL/PivotCaches.html +1 -1
- data/rdoc/RubyXL/PivotReference.html +1 -1
- data/rdoc/RubyXL/PivotReferences.html +1 -1
- data/rdoc/RubyXL/PivotTableSelection.html +1 -1
- data/rdoc/RubyXL/PresetGeometry.html +1 -1
- data/rdoc/RubyXL/PrintOptions.html +1 -1
- data/rdoc/RubyXL/ProtectedRange.html +1 -1
- data/rdoc/RubyXL/ProtectedRanges.html +1 -1
- data/rdoc/RubyXL/Protection.html +1 -1
- data/rdoc/RubyXL/RID.html +1 -1
- data/rdoc/RubyXL/RawOOXML.html +1 -1
- data/rdoc/RubyXL/Reference.html +1 -1
- data/rdoc/RubyXL/Relationship.html +1 -1
- data/rdoc/RubyXL/RichText.html +1 -1
- data/rdoc/RubyXL/RichTextRun.html +1 -1
- data/rdoc/RubyXL/RootRelationships.html +1 -1
- data/rdoc/RubyXL/Row.html +1 -1
- data/rdoc/RubyXL/RunProperties.html +1 -1
- data/rdoc/RubyXL/Scenario.html +1 -1
- data/rdoc/RubyXL/Scenarios.html +1 -1
- data/rdoc/RubyXL/Selection.html +1 -1
- data/rdoc/RubyXL/ShapeGuide.html +1 -1
- data/rdoc/RubyXL/ShapeTextRectangle.html +1 -1
- data/rdoc/RubyXL/SharedStringsTable.html +1 -1
- data/rdoc/RubyXL/Sheet.html +1 -1
- data/rdoc/RubyXL/SheetCalculationProperties.html +1 -1
- data/rdoc/RubyXL/SheetData.html +1 -1
- data/rdoc/RubyXL/Sheets.html +1 -1
- data/rdoc/RubyXL/SmartTagProperties.html +1 -1
- data/rdoc/RubyXL/SmartTagType.html +1 -1
- data/rdoc/RubyXL/SmartTagTypes.html +1 -1
- data/rdoc/RubyXL/SmartTags.html +1 -1
- data/rdoc/RubyXL/SortCondition.html +1 -1
- data/rdoc/RubyXL/SortState.html +1 -1
- data/rdoc/RubyXL/Sqref.html +1 -1
- data/rdoc/RubyXL/Stop.html +1 -1
- data/rdoc/RubyXL/StringNode.html +1 -1
- data/rdoc/RubyXL/StringNodeW3C.html +1 -1
- data/rdoc/RubyXL/StringValue.html +1 -1
- data/rdoc/RubyXL/Stylesheet.html +1 -1
- data/rdoc/RubyXL/TableParts.html +1 -1
- data/rdoc/RubyXL/TableStyle.html +1 -1
- data/rdoc/RubyXL/TableStyles.html +1 -1
- data/rdoc/RubyXL/Text.html +1 -1
- data/rdoc/RubyXL/Theme.html +1 -1
- data/rdoc/RubyXL/ThemeElements.html +1 -1
- data/rdoc/RubyXL/Top10.html +1 -1
- data/rdoc/RubyXL/Variant.html +1 -1
- data/rdoc/RubyXL/Vector.html +1 -1
- data/rdoc/RubyXL/VectorValue.html +1 -1
- data/rdoc/RubyXL/VisualProperties.html +1 -1
- data/rdoc/RubyXL/WebPublishObject.html +1 -1
- data/rdoc/RubyXL/WebPublishObjects.html +1 -1
- data/rdoc/RubyXL/WebPublishingItem.html +1 -1
- data/rdoc/RubyXL/WebPublishingItems.html +1 -1
- data/rdoc/RubyXL/WebPublishingProperties.html +1 -1
- data/rdoc/RubyXL/Workbook.html +1 -1
- data/rdoc/RubyXL/WorkbookProperties.html +1 -1
- data/rdoc/RubyXL/WorkbookProtection.html +1 -1
- data/rdoc/RubyXL/WorkbookRelationships.html +1 -1
- data/rdoc/RubyXL/WorkbookView.html +1 -1
- data/rdoc/RubyXL/WorkbookViews.html +1 -1
- data/rdoc/RubyXL/Worksheet.html +1 -1
- data/rdoc/RubyXL/WorksheetDimensions.html +1 -1
- data/rdoc/RubyXL/WorksheetFormatProperties.html +1 -1
- data/rdoc/RubyXL/WorksheetProperties.html +1 -1
- data/rdoc/RubyXL/WorksheetProtection.html +1 -1
- data/rdoc/RubyXL/WorksheetView.html +1 -1
- data/rdoc/RubyXL/WorksheetViews.html +1 -1
- data/rdoc/RubyXL/XF.html +1 -1
- data/rdoc/created.rid +2 -2
- data/rdoc/index.html +2 -2
- data/rdoc/js/search_index.js +1 -1
- data/rdoc/table_of_contents.html +2 -2
- data/rubyXL.gemspec +2 -6
- data/spec/lib/cell_spec.rb +67 -67
- data/spec/lib/color_spec.rb +2 -2
- data/spec/lib/parser_spec.rb +20 -20
- data/spec/lib/reference_spec.rb +10 -10
- data/spec/lib/stylesheet_spec.rb +6 -6
- data/spec/lib/workbook_spec.rb +11 -10
- data/spec/lib/worksheet_spec.rb +744 -712
- metadata +1 -16
- data/Gemfile.lock +0 -94
data/rdoc/RubyXL/LegacyCell.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>module RubyXL::LegacyWorksheet - rubyXL 2.5.
|
7
|
+
<title>module RubyXL::LegacyWorksheet - rubyXL 2.5.5</title>
|
8
8
|
|
9
9
|
<link href="../fonts.css" rel="stylesheet">
|
10
10
|
<link href="../rdoc.css" rel="stylesheet">
|
@@ -491,7 +491,7 @@
|
|
491
491
|
|
492
492
|
<div class="method-heading">
|
493
493
|
<span class="method-name">change_column_bold</span><span
|
494
|
-
class="method-args">(
|
494
|
+
class="method-args">(column_index, bolded = false)</span>
|
495
495
|
|
496
496
|
<span class="method-click-advice">click to toggle source</span>
|
497
497
|
|
@@ -507,11 +507,11 @@
|
|
507
507
|
|
508
508
|
<div class="method-source-code" id="change_column_bold-source">
|
509
509
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 240</span>
|
510
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_bold</span>(<span class="ruby-identifier">
|
511
|
-
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">
|
510
|
+
<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>)
|
511
|
+
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
512
512
|
<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>
|
513
513
|
<span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_bold</span>(<span class="ruby-identifier">bolded</span>)
|
514
|
-
<span class="ruby-identifier">change_column_font</span>(<span class="ruby-identifier">
|
514
|
+
<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>)
|
515
515
|
<span class="ruby-keyword">end</span></pre>
|
516
516
|
</div>
|
517
517
|
|
@@ -527,7 +527,7 @@
|
|
527
527
|
|
528
528
|
<div class="method-heading">
|
529
529
|
<span class="method-name">change_column_border_bottom</span><span
|
530
|
-
class="method-args">(
|
530
|
+
class="method-args">(column_index, weight = 'thin')</span>
|
531
531
|
|
532
532
|
<span class="method-click-advice">click to toggle source</span>
|
533
533
|
|
@@ -543,8 +543,8 @@
|
|
543
543
|
|
544
544
|
<div class="method-source-code" id="change_column_border_bottom-source">
|
545
545
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 309</span>
|
546
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_bottom</span>(<span class="ruby-identifier">
|
547
|
-
<span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">
|
546
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_bottom</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
547
|
+
<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>)
|
548
548
|
<span class="ruby-keyword">end</span></pre>
|
549
549
|
</div>
|
550
550
|
|
@@ -560,7 +560,7 @@
|
|
560
560
|
|
561
561
|
<div class="method-heading">
|
562
562
|
<span class="method-name">change_column_border_diagonal</span><span
|
563
|
-
class="method-args">(
|
563
|
+
class="method-args">(column_index, weight = 'thin')</span>
|
564
564
|
|
565
565
|
<span class="method-click-advice">click to toggle source</span>
|
566
566
|
|
@@ -576,8 +576,8 @@
|
|
576
576
|
|
577
577
|
<div class="method-source-code" id="change_column_border_diagonal-source">
|
578
578
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 313</span>
|
579
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_diagonal</span>(<span class="ruby-identifier">
|
580
|
-
<span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">
|
579
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_diagonal</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
580
|
+
<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>)
|
581
581
|
<span class="ruby-keyword">end</span></pre>
|
582
582
|
</div>
|
583
583
|
|
@@ -593,7 +593,7 @@
|
|
593
593
|
|
594
594
|
<div class="method-heading">
|
595
595
|
<span class="method-name">change_column_border_left</span><span
|
596
|
-
class="method-args">(
|
596
|
+
class="method-args">(column_index, weight = 'thin')</span>
|
597
597
|
|
598
598
|
<span class="method-click-advice">click to toggle source</span>
|
599
599
|
|
@@ -609,8 +609,8 @@
|
|
609
609
|
|
610
610
|
<div class="method-source-code" id="change_column_border_left-source">
|
611
611
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 301</span>
|
612
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_left</span>(<span class="ruby-identifier">
|
613
|
-
<span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">
|
612
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_left</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
613
|
+
<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>)
|
614
614
|
<span class="ruby-keyword">end</span></pre>
|
615
615
|
</div>
|
616
616
|
|
@@ -626,7 +626,7 @@
|
|
626
626
|
|
627
627
|
<div class="method-heading">
|
628
628
|
<span class="method-name">change_column_border_right</span><span
|
629
|
-
class="method-args">(
|
629
|
+
class="method-args">(column_index, weight = 'thin')</span>
|
630
630
|
|
631
631
|
<span class="method-click-advice">click to toggle source</span>
|
632
632
|
|
@@ -642,8 +642,8 @@
|
|
642
642
|
|
643
643
|
<div class="method-source-code" id="change_column_border_right-source">
|
644
644
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 305</span>
|
645
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_right</span>(<span class="ruby-identifier">
|
646
|
-
<span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">
|
645
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_right</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
646
|
+
<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>)
|
647
647
|
<span class="ruby-keyword">end</span></pre>
|
648
648
|
</div>
|
649
649
|
|
@@ -659,7 +659,7 @@
|
|
659
659
|
|
660
660
|
<div class="method-heading">
|
661
661
|
<span class="method-name">change_column_border_top</span><span
|
662
|
-
class="method-args">(
|
662
|
+
class="method-args">(column_index, weight = 'thin')</span>
|
663
663
|
|
664
664
|
<span class="method-click-advice">click to toggle source</span>
|
665
665
|
|
@@ -675,8 +675,8 @@
|
|
675
675
|
|
676
676
|
<div class="method-source-code" id="change_column_border_top-source">
|
677
677
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 297</span>
|
678
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_top</span>(<span class="ruby-identifier">
|
679
|
-
<span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">
|
678
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_top</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
679
|
+
<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>)
|
680
680
|
<span class="ruby-keyword">end</span></pre>
|
681
681
|
</div>
|
682
682
|
|
@@ -692,7 +692,7 @@
|
|
692
692
|
|
693
693
|
<div class="method-heading">
|
694
694
|
<span class="method-name">change_column_fill</span><span
|
695
|
-
class="method-args">(column_index
|
695
|
+
class="method-args">(column_index, color_index='ffffff')</span>
|
696
696
|
|
697
697
|
<span class="method-click-advice">click to toggle source</span>
|
698
698
|
|
@@ -708,7 +708,7 @@
|
|
708
708
|
|
709
709
|
<div class="method-source-code" id="change_column_fill-source">
|
710
710
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 276</span>
|
711
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_fill</span>(<span class="ruby-identifier">column_index</span
|
711
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_fill</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">color_index</span>=<span class="ruby-string">'ffffff'</span>)
|
712
712
|
<span class="ruby-identifier">validate_workbook</span>
|
713
713
|
<span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">color_index</span>)
|
714
714
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
|
@@ -734,7 +734,7 @@
|
|
734
734
|
|
735
735
|
<div class="method-heading">
|
736
736
|
<span class="method-name">change_column_font_color</span><span
|
737
|
-
class="method-args">(
|
737
|
+
class="method-args">(column_index, font_color='000000')</span>
|
738
738
|
|
739
739
|
<span class="method-click-advice">click to toggle source</span>
|
740
740
|
|
@@ -750,13 +750,13 @@
|
|
750
750
|
|
751
751
|
<div class="method-source-code" id="change_column_font_color-source">
|
752
752
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 224</span>
|
753
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_font_color</span>(<span class="ruby-identifier">
|
753
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_font_color</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">font_color</span>=<span class="ruby-string">'000000'</span>)
|
754
754
|
<span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">font_color</span>)
|
755
755
|
|
756
|
-
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">
|
756
|
+
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
757
757
|
<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>
|
758
758
|
<span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_rgb_color</span>(<span class="ruby-identifier">font_color</span>)
|
759
|
-
<span class="ruby-identifier">change_column_font</span>(<span class="ruby-identifier">
|
759
|
+
<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>)
|
760
760
|
<span class="ruby-keyword">end</span></pre>
|
761
761
|
</div>
|
762
762
|
|
@@ -772,7 +772,7 @@
|
|
772
772
|
|
773
773
|
<div class="method-heading">
|
774
774
|
<span class="method-name">change_column_font_name</span><span
|
775
|
-
class="method-args">(
|
775
|
+
class="method-args">(column_index = 0, font_name = 'Verdana')</span>
|
776
776
|
|
777
777
|
<span class="method-click-advice">click to toggle source</span>
|
778
778
|
|
@@ -788,11 +788,11 @@
|
|
788
788
|
|
789
789
|
<div class="method-source-code" id="change_column_font_name-source">
|
790
790
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 208</span>
|
791
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_font_name</span>(<span class="ruby-identifier">
|
792
|
-
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">
|
791
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_font_name</span>(<span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">font_name</span> = <span class="ruby-string">'Verdana'</span>)
|
792
|
+
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
793
793
|
<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>
|
794
794
|
<span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_name</span>(<span class="ruby-identifier">font_name</span>)
|
795
|
-
<span class="ruby-identifier">change_column_font</span>(<span class="ruby-identifier">
|
795
|
+
<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>)
|
796
796
|
<span class="ruby-keyword">end</span></pre>
|
797
797
|
</div>
|
798
798
|
|
@@ -808,7 +808,7 @@
|
|
808
808
|
|
809
809
|
<div class="method-heading">
|
810
810
|
<span class="method-name">change_column_font_size</span><span
|
811
|
-
class="method-args">(
|
811
|
+
class="method-args">(column_index, font_size=10)</span>
|
812
812
|
|
813
813
|
<span class="method-click-advice">click to toggle source</span>
|
814
814
|
|
@@ -824,11 +824,11 @@
|
|
824
824
|
|
825
825
|
<div class="method-source-code" id="change_column_font_size-source">
|
826
826
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 216</span>
|
827
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_font_size</span>(<span class="ruby-identifier">
|
828
|
-
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">
|
827
|
+
<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>)
|
828
|
+
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
829
829
|
<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>
|
830
830
|
<span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_size</span>(<span class="ruby-identifier">font_size</span>)
|
831
|
-
<span class="ruby-identifier">change_column_font</span>(<span class="ruby-identifier">
|
831
|
+
<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>)
|
832
832
|
<span class="ruby-keyword">end</span></pre>
|
833
833
|
</div>
|
834
834
|
|
@@ -844,7 +844,7 @@
|
|
844
844
|
|
845
845
|
<div class="method-heading">
|
846
846
|
<span class="method-name">change_column_horizontal_alignment</span><span
|
847
|
-
class="method-args">(
|
847
|
+
class="method-args">(column_index, alignment = 'center')</span>
|
848
848
|
|
849
849
|
<span class="method-click-advice">click to toggle source</span>
|
850
850
|
|
@@ -860,8 +860,8 @@
|
|
860
860
|
|
861
861
|
<div class="method-source-code" id="change_column_horizontal_alignment-source">
|
862
862
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 289</span>
|
863
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_horizontal_alignment</span>(<span class="ruby-identifier">
|
864
|
-
<span class="ruby-identifier">change_column_alignment</span>(<span class="ruby-identifier">
|
863
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_horizontal_alignment</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">alignment</span> = <span class="ruby-string">'center'</span>)
|
864
|
+
<span class="ruby-identifier">change_column_alignment</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">alignment</span>,<span class="ruby-keyword">true</span>)
|
865
865
|
<span class="ruby-keyword">end</span></pre>
|
866
866
|
</div>
|
867
867
|
|
@@ -877,7 +877,7 @@
|
|
877
877
|
|
878
878
|
<div class="method-heading">
|
879
879
|
<span class="method-name">change_column_italics</span><span
|
880
|
-
class="method-args">(
|
880
|
+
class="method-args">(column_index, italicized = false)</span>
|
881
881
|
|
882
882
|
<span class="method-click-advice">click to toggle source</span>
|
883
883
|
|
@@ -893,11 +893,11 @@
|
|
893
893
|
|
894
894
|
<div class="method-source-code" id="change_column_italics-source">
|
895
895
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 233</span>
|
896
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_italics</span>(<span class="ruby-identifier">
|
897
|
-
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">
|
896
|
+
<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>)
|
897
|
+
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
898
898
|
<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>
|
899
899
|
<span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_italic</span>(<span class="ruby-identifier">italicized</span>)
|
900
|
-
<span class="ruby-identifier">change_column_font</span>(<span class="ruby-identifier">
|
900
|
+
<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>)
|
901
901
|
<span class="ruby-keyword">end</span></pre>
|
902
902
|
</div>
|
903
903
|
|
@@ -913,7 +913,7 @@
|
|
913
913
|
|
914
914
|
<div class="method-heading">
|
915
915
|
<span class="method-name">change_column_strikethrough</span><span
|
916
|
-
class="method-args">(
|
916
|
+
class="method-args">(column_index, struckthrough=false)</span>
|
917
917
|
|
918
918
|
<span class="method-click-advice">click to toggle source</span>
|
919
919
|
|
@@ -929,11 +929,11 @@
|
|
929
929
|
|
930
930
|
<div class="method-source-code" id="change_column_strikethrough-source">
|
931
931
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 254</span>
|
932
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_strikethrough</span>(<span class="ruby-identifier">
|
933
|
-
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">
|
932
|
+
<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>)
|
933
|
+
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
934
934
|
<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>
|
935
935
|
<span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_strikethrough</span>(<span class="ruby-identifier">struckthrough</span>)
|
936
|
-
<span class="ruby-identifier">change_column_font</span>(<span class="ruby-identifier">
|
936
|
+
<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>)
|
937
937
|
<span class="ruby-keyword">end</span></pre>
|
938
938
|
</div>
|
939
939
|
|
@@ -949,7 +949,7 @@
|
|
949
949
|
|
950
950
|
<div class="method-heading">
|
951
951
|
<span class="method-name">change_column_underline</span><span
|
952
|
-
class="method-args">(
|
952
|
+
class="method-args">(column_index, underlined = false)</span>
|
953
953
|
|
954
954
|
<span class="method-click-advice">click to toggle source</span>
|
955
955
|
|
@@ -965,11 +965,11 @@
|
|
965
965
|
|
966
966
|
<div class="method-source-code" id="change_column_underline-source">
|
967
967
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 247</span>
|
968
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_underline</span>(<span class="ruby-identifier">
|
969
|
-
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">
|
968
|
+
<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>)
|
969
|
+
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
970
970
|
<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>
|
971
971
|
<span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_underline</span>(<span class="ruby-identifier">underlined</span>)
|
972
|
-
<span class="ruby-identifier">change_column_font</span>(<span class="ruby-identifier">
|
972
|
+
<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>)
|
973
973
|
<span class="ruby-keyword">end</span></pre>
|
974
974
|
</div>
|
975
975
|
|
@@ -985,7 +985,7 @@
|
|
985
985
|
|
986
986
|
<div class="method-heading">
|
987
987
|
<span class="method-name">change_column_vertical_alignment</span><span
|
988
|
-
class="method-args">(
|
988
|
+
class="method-args">(column_index, alignment = 'center')</span>
|
989
989
|
|
990
990
|
<span class="method-click-advice">click to toggle source</span>
|
991
991
|
|
@@ -1001,8 +1001,8 @@
|
|
1001
1001
|
|
1002
1002
|
<div class="method-source-code" id="change_column_vertical_alignment-source">
|
1003
1003
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 293</span>
|
1004
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_vertical_alignment</span>(<span class="ruby-identifier">
|
1005
|
-
<span class="ruby-identifier">change_column_alignment</span>(<span class="ruby-identifier">
|
1004
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_vertical_alignment</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">alignment</span> = <span class="ruby-string">'center'</span>)
|
1005
|
+
<span class="ruby-identifier">change_column_alignment</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">alignment</span>, <span class="ruby-keyword">false</span>)
|
1006
1006
|
<span class="ruby-keyword">end</span></pre>
|
1007
1007
|
</div>
|
1008
1008
|
|
@@ -1018,7 +1018,7 @@
|
|
1018
1018
|
|
1019
1019
|
<div class="method-heading">
|
1020
1020
|
<span class="method-name">change_column_width</span><span
|
1021
|
-
class="method-args">(column_index
|
1021
|
+
class="method-args">(column_index, width_in_chars = RubyXL::ColumnRange::DEFAULT_WIDTH)</span>
|
1022
1022
|
|
1023
1023
|
<span class="method-click-advice">click to toggle source</span>
|
1024
1024
|
|
@@ -1035,7 +1035,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
1035
1035
|
|
1036
1036
|
<div class="method-source-code" id="change_column_width-source">
|
1037
1037
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 272</span>
|
1038
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_width</span>(<span class="ruby-identifier">column_index</span
|
1038
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_width</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">width_in_chars</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">ColumnRange</span><span class="ruby-operator">::</span><span class="ruby-constant">DEFAULT_WIDTH</span>)
|
1039
1039
|
<span class="ruby-identifier">change_column_width_raw</span>(<span class="ruby-identifier">column_index</span>, ((<span class="ruby-identifier">width_in_chars</span> <span class="ruby-operator">+</span> (<span class="ruby-value">5.0</span> <span class="ruby-operator">/</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Font</span><span class="ruby-operator">::</span><span class="ruby-constant">MAX_DIGIT_WIDTH</span>)) <span class="ruby-operator">*</span> <span class="ruby-value">256</span>).<span class="ruby-identifier">to_i</span> <span class="ruby-operator">/</span> <span class="ruby-value">256.0</span>)
|
1040
1040
|
<span class="ruby-keyword">end</span></pre>
|
1041
1041
|
</div>
|
data/rdoc/RubyXL/MRUColors.html
CHANGED
data/rdoc/RubyXL/MergedCell.html
CHANGED
data/rdoc/RubyXL/NumFmt.html
CHANGED
data/rdoc/RubyXL/OLEObject.html
CHANGED
data/rdoc/RubyXL/OLEObjects.html
CHANGED