rubyXL 3.4.34 → 3.4.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/VERSION +1 -1
- data/lib/rubyXL/objects/reference.rb +29 -9
- data/lib/rubyXL/objects/root.rb +1 -1
- data/lib/rubyXL/objects/workbook.rb +7 -0
- data/rdoc/README_rdoc.html +508 -191
- data/rdoc/RubyXL/AExtension.html +603 -87
- data/rdoc/RubyXL/AExtensionStorageArea.html +493 -47
- data/rdoc/RubyXL/ActiveX.html +573 -75
- data/rdoc/RubyXL/ActiveXBinary.html +503 -49
- data/rdoc/RubyXL/AdjustHandleList.html +487 -47
- data/rdoc/RubyXL/Alignment.html +487 -47
- data/rdoc/RubyXL/AlternateContent.html +493 -47
- data/rdoc/RubyXL/AlternateUrls.html +487 -47
- data/rdoc/RubyXL/Authors.html +487 -47
- data/rdoc/RubyXL/AutoFilter.html +487 -47
- data/rdoc/RubyXL/AutoFilterColumn.html +487 -47
- data/rdoc/RubyXL/BinaryImageFile.html +510 -50
- data/rdoc/RubyXL/BodyProperties.html +487 -47
- data/rdoc/RubyXL/BooleanNode.html +493 -47
- data/rdoc/RubyXL/BooleanValue.html +493 -47
- data/rdoc/RubyXL/Border.html +630 -100
- data/rdoc/RubyXL/BorderEdge.html +576 -80
- data/rdoc/RubyXL/Borders.html +539 -69
- data/rdoc/RubyXL/Break.html +487 -47
- data/rdoc/RubyXL/BreakList.html +487 -47
- data/rdoc/RubyXL/CT_AdjPoint2D.html +487 -47
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +487 -47
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +487 -47
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +487 -47
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +487 -47
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +487 -47
- data/rdoc/RubyXL/CT_Backdrop.html +487 -47
- data/rdoc/RubyXL/CT_Bevel.html +487 -47
- data/rdoc/RubyXL/CT_BiLevelEffect.html +487 -47
- data/rdoc/RubyXL/CT_BlendEffect.html +487 -47
- data/rdoc/RubyXL/CT_Blip.html +487 -47
- data/rdoc/RubyXL/CT_BlipFillProperties.html +487 -47
- data/rdoc/RubyXL/CT_BlurEffect.html +487 -47
- data/rdoc/RubyXL/CT_Camera.html +487 -47
- data/rdoc/RubyXL/CT_Color.html +487 -47
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +487 -47
- data/rdoc/RubyXL/CT_ColorMapping.html +487 -47
- data/rdoc/RubyXL/CT_ColorScheme.html +487 -47
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +487 -47
- data/rdoc/RubyXL/CT_ConnectionSite.html +487 -47
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +487 -47
- data/rdoc/RubyXL/CT_DashStop.html +487 -47
- data/rdoc/RubyXL/CT_DashStopList.html +487 -47
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +487 -47
- data/rdoc/RubyXL/CT_DuotoneEffect.html +487 -47
- data/rdoc/RubyXL/CT_EffectContainer.html +487 -47
- data/rdoc/RubyXL/CT_EffectList.html +487 -47
- data/rdoc/RubyXL/CT_EffectReference.html +487 -47
- data/rdoc/RubyXL/CT_EffectStyleItem.html +487 -47
- data/rdoc/RubyXL/CT_EffectStyleList.html +487 -47
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +487 -47
- data/rdoc/RubyXL/CT_FillEffect.html +487 -47
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +487 -47
- data/rdoc/RubyXL/CT_FillStyleList.html +487 -47
- data/rdoc/RubyXL/CT_FlatText.html +487 -47
- data/rdoc/RubyXL/CT_FontCollection.html +487 -47
- data/rdoc/RubyXL/CT_FontReference.html +487 -47
- data/rdoc/RubyXL/CT_GeomGuideList.html +487 -47
- data/rdoc/RubyXL/CT_GlowEffect.html +487 -47
- data/rdoc/RubyXL/CT_GradientFillProperties.html +487 -47
- data/rdoc/RubyXL/CT_GradientStop.html +487 -47
- data/rdoc/RubyXL/CT_GradientStopList.html +487 -47
- data/rdoc/RubyXL/CT_HSLEffect.html +487 -47
- data/rdoc/RubyXL/CT_HslColor.html +487 -47
- data/rdoc/RubyXL/CT_Hyperlink.html +487 -47
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +487 -47
- data/rdoc/RubyXL/CT_LightRig.html +487 -47
- data/rdoc/RubyXL/CT_LineEndProperties.html +487 -47
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +487 -47
- data/rdoc/RubyXL/CT_LineProperties.html +487 -47
- data/rdoc/RubyXL/CT_LineStyleList.html +487 -47
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +487 -47
- data/rdoc/RubyXL/CT_LuminanceEffect.html +487 -47
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +487 -47
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +487 -47
- data/rdoc/RubyXL/CT_Path2D.html +487 -47
- data/rdoc/RubyXL/CT_Path2DArcTo.html +487 -47
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +487 -47
- data/rdoc/RubyXL/CT_Path2DList.html +487 -47
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +487 -47
- data/rdoc/RubyXL/CT_Path2DTo.html +487 -47
- data/rdoc/RubyXL/CT_PathShadeProperties.html +487 -47
- data/rdoc/RubyXL/CT_PatternFillProperties.html +487 -47
- data/rdoc/RubyXL/CT_Point3D.html +487 -47
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +487 -47
- data/rdoc/RubyXL/CT_PresetColor.html +487 -47
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +487 -47
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +487 -47
- data/rdoc/RubyXL/CT_PresetTextShape.html +487 -47
- data/rdoc/RubyXL/CT_ReflectionEffect.html +487 -47
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +487 -47
- data/rdoc/RubyXL/CT_RelativeRect.html +487 -47
- data/rdoc/RubyXL/CT_SRgbColor.html +487 -47
- data/rdoc/RubyXL/CT_ScRgbColor.html +487 -47
- data/rdoc/RubyXL/CT_Scene3D.html +487 -47
- data/rdoc/RubyXL/CT_SchemeColor.html +487 -47
- data/rdoc/RubyXL/CT_Shape3D.html +487 -47
- data/rdoc/RubyXL/CT_ShapeStyle.html +487 -47
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +487 -47
- data/rdoc/RubyXL/CT_SphereCoords.html +487 -47
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +487 -47
- data/rdoc/RubyXL/CT_StyleMatrix.html +487 -47
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +487 -47
- data/rdoc/RubyXL/CT_SupplementalFont.html +487 -47
- data/rdoc/RubyXL/CT_SystemColor.html +487 -47
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +487 -47
- data/rdoc/RubyXL/CT_TextBlipBullet.html +487 -47
- data/rdoc/RubyXL/CT_TextCharBullet.html +487 -47
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +487 -47
- data/rdoc/RubyXL/CT_TextFont.html +487 -47
- data/rdoc/RubyXL/CT_TextListStyle.html +487 -47
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +487 -47
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +487 -47
- data/rdoc/RubyXL/CT_TextSpacing.html +487 -47
- data/rdoc/RubyXL/CT_TextTabStop.html +487 -47
- data/rdoc/RubyXL/CT_TextTabStopList.html +487 -47
- data/rdoc/RubyXL/CT_TileInfoProperties.html +487 -47
- data/rdoc/RubyXL/CT_TintEffect.html +487 -47
- data/rdoc/RubyXL/CT_Transform2D.html +487 -47
- data/rdoc/RubyXL/CT_TransformEffect.html +487 -47
- data/rdoc/RubyXL/CT_Vector3D.html +487 -47
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +487 -47
- data/rdoc/RubyXL/CalculationChain.html +556 -72
- data/rdoc/RubyXL/CalculationChainCell.html +487 -47
- data/rdoc/RubyXL/CalculationProperties.html +487 -47
- data/rdoc/RubyXL/Cell.html +971 -211
- data/rdoc/RubyXL/CellConvenienceMethods.html +1617 -429
- data/rdoc/RubyXL/CellExt.html +487 -47
- data/rdoc/RubyXL/CellSmartTag.html +487 -47
- data/rdoc/RubyXL/CellSmartTagProperty.html +487 -47
- data/rdoc/RubyXL/CellSmartTags.html +487 -47
- data/rdoc/RubyXL/CellStyle.html +487 -47
- data/rdoc/RubyXL/CellStyleXFs.html +539 -69
- data/rdoc/RubyXL/CellStyles.html +539 -69
- data/rdoc/RubyXL/CellValue.html +539 -69
- data/rdoc/RubyXL/CellWatch.html +487 -47
- data/rdoc/RubyXL/CellWatches.html +487 -47
- data/rdoc/RubyXL/CellXFs.html +539 -69
- data/rdoc/RubyXL/ChartColorsFile.html +510 -50
- data/rdoc/RubyXL/ChartFile.html +580 -76
- data/rdoc/RubyXL/ChartStyleFile.html +510 -50
- data/rdoc/RubyXL/ChartUserShapesFile.html +510 -50
- data/rdoc/RubyXL/Chartsheet.html +623 -93
- data/rdoc/RubyXL/ChartsheetPageSetup.html +487 -47
- data/rdoc/RubyXL/ChartsheetProperties.html +487 -47
- data/rdoc/RubyXL/ChartsheetProtection.html +487 -47
- data/rdoc/RubyXL/ChartsheetView.html +487 -47
- data/rdoc/RubyXL/ChartsheetViews.html +487 -47
- data/rdoc/RubyXL/Color.html +549 -71
- data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +622 -94
- data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +666 -106
- data/rdoc/RubyXL/ColorConvenienceClasses.html +482 -45
- data/rdoc/RubyXL/ColorConvenienceMethods.html +533 -66
- data/rdoc/RubyXL/ColorFilter.html +487 -47
- data/rdoc/RubyXL/ColorScale.html +487 -47
- data/rdoc/RubyXL/ColorSet.html +487 -47
- data/rdoc/RubyXL/Colors.html +487 -47
- data/rdoc/RubyXL/ColumnRange.html +660 -104
- data/rdoc/RubyXL/ColumnRanges.html +636 -100
- data/rdoc/RubyXL/Comment.html +487 -47
- data/rdoc/RubyXL/CommentList.html +487 -47
- data/rdoc/RubyXL/CommentsFile.html +569 -77
- data/rdoc/RubyXL/ConditionalFormatValue.html +487 -47
- data/rdoc/RubyXL/ConditionalFormatting.html +487 -47
- data/rdoc/RubyXL/ConditionalFormattingRule.html +487 -47
- data/rdoc/RubyXL/Connection.html +487 -47
- data/rdoc/RubyXL/ConnectionTable.html +487 -47
- data/rdoc/RubyXL/ConnectionTables.html +487 -47
- data/rdoc/RubyXL/ConnectionTextField.html +487 -47
- data/rdoc/RubyXL/ConnectionTextFields.html +487 -47
- data/rdoc/RubyXL/Connections.html +556 -72
- data/rdoc/RubyXL/ContentTypeDefault.html +493 -47
- data/rdoc/RubyXL/ContentTypeOverride.html +493 -47
- data/rdoc/RubyXL/ContentTypes.html +593 -83
- data/rdoc/RubyXL/ControlPropertiesFile.html +510 -50
- data/rdoc/RubyXL/CorePropertiesFile.html +816 -158
- data/rdoc/RubyXL/CustomColor.html +487 -47
- data/rdoc/RubyXL/CustomColorList.html +487 -47
- data/rdoc/RubyXL/CustomFilter.html +487 -47
- data/rdoc/RubyXL/CustomFilters.html +487 -47
- data/rdoc/RubyXL/CustomGeometry.html +487 -47
- data/rdoc/RubyXL/CustomProperties.html +487 -47
- data/rdoc/RubyXL/CustomPropertiesFile.html +510 -50
- data/rdoc/RubyXL/CustomProperty.html +487 -47
- data/rdoc/RubyXL/CustomPropertyFile.html +510 -50
- data/rdoc/RubyXL/CustomSheetView.html +487 -47
- data/rdoc/RubyXL/CustomSheetViews.html +487 -47
- data/rdoc/RubyXL/CustomWorkbookView.html +487 -47
- data/rdoc/RubyXL/CustomWorkbookViews.html +487 -47
- data/rdoc/RubyXL/CustomXMLFile.html +503 -49
- data/rdoc/RubyXL/DXF.html +487 -47
- data/rdoc/RubyXL/DXFs.html +487 -47
- data/rdoc/RubyXL/DataBar.html +487 -47
- data/rdoc/RubyXL/DataConsolidate.html +487 -47
- data/rdoc/RubyXL/DataConsolidationReference.html +487 -47
- data/rdoc/RubyXL/DataConsolidationReferences.html +487 -47
- data/rdoc/RubyXL/DataType.html +528 -53
- data/rdoc/RubyXL/DataValidation.html +487 -47
- data/rdoc/RubyXL/DataValidations.html +487 -47
- data/rdoc/RubyXL/DateGroupItem.html +487 -47
- data/rdoc/RubyXL/DefinedName.html +487 -47
- data/rdoc/RubyXL/DefinedNameExt.html +487 -47
- data/rdoc/RubyXL/DefinedNames.html +564 -47
- data/rdoc/RubyXL/DefinedNamesExt.html +487 -47
- data/rdoc/RubyXL/DocumentPropertiesFile.html +600 -88
- data/rdoc/RubyXL/DrawingFile.html +580 -76
- data/rdoc/RubyXL/DynamicFilter.html +487 -47
- data/rdoc/RubyXL/EmbeddedControl.html +487 -47
- data/rdoc/RubyXL/EmbeddedControls.html +487 -47
- data/rdoc/RubyXL/Extension.html +487 -47
- data/rdoc/RubyXL/ExtensionStorageArea.html +487 -47
- data/rdoc/RubyXL/Extents.html +487 -47
- data/rdoc/RubyXL/ExternalBook.html +487 -47
- data/rdoc/RubyXL/ExternalLinksFile.html +580 -76
- data/rdoc/RubyXL/ExternalReference.html +487 -47
- data/rdoc/RubyXL/ExternalReferences.html +487 -47
- data/rdoc/RubyXL/ExtraColorSchemeList.html +487 -47
- data/rdoc/RubyXL/FieldItem.html +487 -47
- data/rdoc/RubyXL/FileRecoveryProperties.html +487 -47
- data/rdoc/RubyXL/FileSharing.html +487 -47
- data/rdoc/RubyXL/FileVersion.html +487 -47
- data/rdoc/RubyXL/Fill.html +539 -69
- data/rdoc/RubyXL/Fills.html +539 -69
- data/rdoc/RubyXL/FilterContainer.html +487 -47
- data/rdoc/RubyXL/FloatNode.html +493 -47
- data/rdoc/RubyXL/FloatValue.html +493 -47
- data/rdoc/RubyXL/Font.html +550 -72
- data/rdoc/RubyXL/FontConvenienceMethods.html +924 -197
- data/rdoc/RubyXL/FontScheme.html +487 -47
- data/rdoc/RubyXL/Fonts.html +539 -69
- data/rdoc/RubyXL/Formula.html +487 -47
- data/rdoc/RubyXL/FunctionGroup.html +487 -47
- data/rdoc/RubyXL/FunctionGroups.html +487 -47
- data/rdoc/RubyXL/GenericStorageObject.html +667 -105
- data/rdoc/RubyXL/GradientFill.html +487 -47
- data/rdoc/RubyXL/HeaderFooterSettings.html +487 -47
- data/rdoc/RubyXL/Hyperlink.html +487 -47
- data/rdoc/RubyXL/HyperlinkRelFile.html +503 -49
- data/rdoc/RubyXL/Hyperlinks.html +487 -47
- data/rdoc/RubyXL/IconFilter.html +487 -47
- data/rdoc/RubyXL/IconSet.html +487 -47
- data/rdoc/RubyXL/IgnoredError.html +487 -47
- data/rdoc/RubyXL/IgnoredErrors.html +487 -47
- data/rdoc/RubyXL/IndexedColors.html +487 -47
- data/rdoc/RubyXL/InputCells.html +487 -47
- data/rdoc/RubyXL/IntegerNode.html +493 -47
- data/rdoc/RubyXL/IntegerValue.html +493 -47
- data/rdoc/RubyXL/LegacyCell.html +533 -66
- data/rdoc/RubyXL/LegacyWorksheet.html +707 -119
- data/rdoc/RubyXL/MRUColors.html +487 -47
- data/rdoc/RubyXL/MacrosFile.html +510 -50
- data/rdoc/RubyXL/MergedCell.html +487 -47
- data/rdoc/RubyXL/MergedCells.html +487 -47
- data/rdoc/RubyXL/NumFmt.html +487 -47
- data/rdoc/RubyXL/NumberFormat.html +539 -69
- data/rdoc/RubyXL/NumberFormats.html +550 -72
- data/rdoc/RubyXL/OLEObject.html +487 -47
- data/rdoc/RubyXL/OLEObjectFile.html +510 -50
- data/rdoc/RubyXL/OLEObjects.html +487 -47
- data/rdoc/RubyXL/OLESize.html +487 -47
- data/rdoc/RubyXL/OOXMLContainerObject.html +749 -142
- data/rdoc/RubyXL/OOXMLIgnored.html +596 -82
- data/rdoc/RubyXL/OOXMLObject.html +506 -52
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +723 -150
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +819 -169
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +883 -179
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +730 -136
- data/rdoc/RubyXL/OdbcOleDbProperties.html +487 -47
- data/rdoc/RubyXL/Offset.html +487 -47
- data/rdoc/RubyXL/OlapProperties.html +487 -47
- data/rdoc/RubyXL/OleItem.html +487 -47
- data/rdoc/RubyXL/OleItems.html +487 -47
- data/rdoc/RubyXL/OleLink.html +487 -47
- data/rdoc/RubyXL/OutlineProperties.html +487 -47
- data/rdoc/RubyXL/PageMargins.html +487 -47
- data/rdoc/RubyXL/PageSetup.html +487 -47
- data/rdoc/RubyXL/PageSetupProperties.html +487 -47
- data/rdoc/RubyXL/Pane.html +487 -47
- data/rdoc/RubyXL/Parser.html +576 -80
- data/rdoc/RubyXL/PatternFill.html +487 -47
- data/rdoc/RubyXL/PersonMetadata.html +510 -50
- data/rdoc/RubyXL/PhoneticProperties.html +487 -47
- data/rdoc/RubyXL/PhoneticRun.html +487 -47
- data/rdoc/RubyXL/PivotArea.html +487 -47
- data/rdoc/RubyXL/PivotCache.html +487 -47
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +529 -55
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +510 -50
- data/rdoc/RubyXL/PivotCaches.html +487 -47
- data/rdoc/RubyXL/PivotReference.html +487 -47
- data/rdoc/RubyXL/PivotReferences.html +487 -47
- data/rdoc/RubyXL/PivotTableFile.html +529 -55
- data/rdoc/RubyXL/PivotTableSelection.html +487 -47
- data/rdoc/RubyXL/PresetGeometry.html +487 -47
- data/rdoc/RubyXL/PrintOptions.html +487 -47
- data/rdoc/RubyXL/PrinterSettingsFile.html +510 -50
- data/rdoc/RubyXL/ProtectedRange.html +487 -47
- data/rdoc/RubyXL/ProtectedRanges.html +487 -47
- data/rdoc/RubyXL/Protection.html +487 -47
- data/rdoc/RubyXL/QueryParameter.html +487 -47
- data/rdoc/RubyXL/QueryParameters.html +487 -47
- data/rdoc/RubyXL/QueryTable.html +574 -76
- data/rdoc/RubyXL/QueryTableDeletedField.html +487 -47
- data/rdoc/RubyXL/QueryTableDeletedFields.html +487 -47
- data/rdoc/RubyXL/QueryTableField.html +487 -47
- data/rdoc/RubyXL/QueryTableFields.html +487 -47
- data/rdoc/RubyXL/QueryTableRefresh.html +487 -47
- data/rdoc/RubyXL/RID.html +493 -47
- data/rdoc/RubyXL/RawOOXML.html +603 -87
- data/rdoc/RubyXL/Reference.html +1009 -211
- data/rdoc/RubyXL/Relationship.html +493 -47
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +539 -66
- data/rdoc/RubyXL/RelationshipSupport.html +739 -132
- data/rdoc/RubyXL/RevisionPointer.html +487 -47
- data/rdoc/RubyXL/RichText.html +539 -69
- data/rdoc/RubyXL/RichTextRun.html +539 -69
- data/rdoc/RubyXL/Row.html +803 -157
- data/rdoc/RubyXL/RowExt.html +487 -47
- data/rdoc/RubyXL/RunProperties.html +487 -47
- data/rdoc/RubyXL/Scenario.html +487 -47
- data/rdoc/RubyXL/Scenarios.html +487 -47
- data/rdoc/RubyXL/Selection.html +539 -69
- data/rdoc/RubyXL/ShapeGuide.html +487 -47
- data/rdoc/RubyXL/ShapeTextRectangle.html +487 -47
- data/rdoc/RubyXL/SharedStringsTable.html +767 -143
- data/rdoc/RubyXL/Sheet.html +487 -47
- data/rdoc/RubyXL/SheetCalculationProperties.html +487 -47
- data/rdoc/RubyXL/SheetData.html +570 -80
- data/rdoc/RubyXL/SheetDataExt.html +487 -47
- data/rdoc/RubyXL/SheetDataSet.html +487 -47
- data/rdoc/RubyXL/SheetMetadata.html +510 -50
- data/rdoc/RubyXL/SheetName.html +487 -47
- data/rdoc/RubyXL/SheetNames.html +487 -47
- data/rdoc/RubyXL/Sheets.html +487 -47
- data/rdoc/RubyXL/SlicerCacheFile.html +510 -50
- data/rdoc/RubyXL/SlicerFile.html +510 -50
- data/rdoc/RubyXL/SmartTagProperties.html +487 -47
- data/rdoc/RubyXL/SmartTagType.html +487 -47
- data/rdoc/RubyXL/SmartTagTypes.html +487 -47
- data/rdoc/RubyXL/SmartTags.html +487 -47
- data/rdoc/RubyXL/SortCondition.html +487 -47
- data/rdoc/RubyXL/SortState.html +487 -47
- data/rdoc/RubyXL/Sqref.html +596 -82
- data/rdoc/RubyXL/Stop.html +487 -47
- data/rdoc/RubyXL/StringNode.html +493 -47
- data/rdoc/RubyXL/StringNodeW3C.html +596 -82
- data/rdoc/RubyXL/StringValue.html +493 -47
- data/rdoc/RubyXL/Stylesheet.html +702 -119
- data/rdoc/RubyXL/TableFile.html +510 -50
- data/rdoc/RubyXL/TableParts.html +493 -47
- data/rdoc/RubyXL/TableStyle.html +487 -47
- data/rdoc/RubyXL/TableStyles.html +487 -47
- data/rdoc/RubyXL/Text.html +588 -84
- data/rdoc/RubyXL/TextImportSettings.html +487 -47
- data/rdoc/RubyXL/Theme.html +633 -91
- data/rdoc/RubyXL/ThemeElements.html +487 -47
- data/rdoc/RubyXL/ThumbnailFile.html +510 -50
- data/rdoc/RubyXL/Top10.html +487 -47
- data/rdoc/RubyXL/VMLDrawingFile.html +530 -56
- data/rdoc/RubyXL/Variant.html +487 -47
- data/rdoc/RubyXL/Vector.html +539 -69
- data/rdoc/RubyXL/VectorValue.html +493 -47
- data/rdoc/RubyXL/VisualProperties.html +487 -47
- data/rdoc/RubyXL/WebPublishObject.html +487 -47
- data/rdoc/RubyXL/WebPublishObjects.html +487 -47
- data/rdoc/RubyXL/WebPublishingItem.html +487 -47
- data/rdoc/RubyXL/WebPublishingItems.html +487 -47
- data/rdoc/RubyXL/WebPublishingProperties.html +487 -47
- data/rdoc/RubyXL/WebQueryProperties.html +487 -47
- data/rdoc/RubyXL/Workbook.html +1514 -377
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +1044 -237
- data/rdoc/RubyXL/WorkbookProperties.html +487 -47
- data/rdoc/RubyXL/WorkbookProtection.html +487 -47
- data/rdoc/RubyXL/WorkbookRoot.html +736 -128
- data/rdoc/RubyXL/WorkbookView.html +487 -47
- data/rdoc/RubyXL/WorkbookViews.html +487 -47
- data/rdoc/RubyXL/Worksheet.html +833 -161
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +2628 -757
- data/rdoc/RubyXL/WorksheetDimensions.html +487 -47
- data/rdoc/RubyXL/WorksheetFormatProperties.html +493 -47
- data/rdoc/RubyXL/WorksheetProperties.html +487 -47
- data/rdoc/RubyXL/WorksheetProtection.html +487 -47
- data/rdoc/RubyXL/WorksheetView.html +487 -47
- data/rdoc/RubyXL/WorksheetViews.html +487 -47
- data/rdoc/RubyXL/XF.html +487 -47
- data/rdoc/RubyXL.html +1199 -164
- data/rdoc/created.rid +30 -30
- data/rdoc/css/rdoc.css +1652 -384
- data/rdoc/index.html +418 -440
- data/rdoc/js/aliki.js +511 -0
- data/rdoc/js/bash_highlighter.js +167 -0
- data/rdoc/js/c_highlighter.js +299 -0
- data/rdoc/js/{search.js → search_controller.js} +27 -8
- data/rdoc/js/search_data.js +1 -0
- data/rdoc/js/{navigation.js → search_navigation.js} +2 -2
- data/rdoc/js/search_ranker.js +239 -0
- data/rdoc/js/theme-toggle.js +112 -0
- data/rubyXL.gemspec +12 -45
- data/spec/lib/cell_spec.rb +1 -1
- data/spec/lib/reference_spec.rb +8 -2
- metadata +14 -47
- data/rdoc/css/fonts.css +0 -167
- data/rdoc/fonts/Lato-Light.ttf +0 -0
- data/rdoc/fonts/Lato-LightItalic.ttf +0 -0
- data/rdoc/fonts/Lato-Regular.ttf +0 -0
- data/rdoc/fonts/Lato-RegularItalic.ttf +0 -0
- data/rdoc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/rdoc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/rdoc/images/add.png +0 -0
- data/rdoc/images/arrow_up.png +0 -0
- data/rdoc/images/brick.png +0 -0
- data/rdoc/images/brick_link.png +0 -0
- data/rdoc/images/bug.png +0 -0
- data/rdoc/images/bullet_black.png +0 -0
- data/rdoc/images/bullet_toggle_minus.png +0 -0
- data/rdoc/images/bullet_toggle_plus.png +0 -0
- data/rdoc/images/date.png +0 -0
- data/rdoc/images/delete.png +0 -0
- data/rdoc/images/find.png +0 -0
- data/rdoc/images/loadingAnimation.gif +0 -0
- data/rdoc/images/macFFBgHack.png +0 -0
- data/rdoc/images/package.png +0 -0
- data/rdoc/images/page_green.png +0 -0
- data/rdoc/images/page_white_text.png +0 -0
- data/rdoc/images/page_white_width.png +0 -0
- data/rdoc/images/plugin.png +0 -0
- data/rdoc/images/ruby.png +0 -0
- data/rdoc/images/tag_blue.png +0 -0
- data/rdoc/images/tag_green.png +0 -0
- data/rdoc/images/transparent.png +0 -0
- data/rdoc/images/wrench.png +0 -0
- data/rdoc/images/wrench_orange.png +0 -0
- data/rdoc/images/zoom.png +0 -0
- data/rdoc/js/darkfish.js +0 -97
- data/rdoc/js/navigation.js.gz +0 -0
- data/rdoc/js/search_index.js +0 -1
- data/rdoc/js/search_index.js.gz +0 -0
- data/rdoc/js/searcher.js +0 -229
- data/rdoc/js/searcher.js.gz +0 -0
- data/rdoc/table_of_contents.html +0 -3026
|
@@ -1,148 +1,628 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
|
|
3
|
-
<html>
|
|
3
|
+
<html lang="en">
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
7
|
|
|
7
|
-
<title>module RubyXL::WorksheetConvenienceMethods - rubyXL 3.4.
|
|
8
|
+
<title>module RubyXL::WorksheetConvenienceMethods - rubyXL 3.4.36</title>
|
|
8
9
|
|
|
9
|
-
<script type="text/javascript">
|
|
10
|
-
var rdoc_rel_prefix = "../";
|
|
11
|
-
var index_rel_prefix = "../";
|
|
12
|
-
</script>
|
|
13
10
|
|
|
14
|
-
<
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
<script src="../js/darkfish.js" defer></script>
|
|
11
|
+
<meta
|
|
12
|
+
name="keywords"
|
|
13
|
+
content="ruby,module,RubyXL::WorksheetConvenienceMethods"
|
|
14
|
+
>
|
|
19
15
|
|
|
20
|
-
<
|
|
21
|
-
|
|
16
|
+
<meta
|
|
17
|
+
name="description"
|
|
18
|
+
content="Documentation for the RubyXL::WorksheetConvenienceMethods module"
|
|
19
|
+
>
|
|
22
20
|
|
|
23
21
|
|
|
24
|
-
<body id="top" role="document" class="module">
|
|
25
|
-
<nav role="navigation">
|
|
26
|
-
<div id="project-navigation">
|
|
27
|
-
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
|
28
|
-
<h2>
|
|
29
|
-
<a href="../index.html" rel="home">Home</a>
|
|
30
|
-
</h2>
|
|
31
22
|
|
|
32
|
-
<div id="table-of-contents-navigation">
|
|
33
|
-
<a href="../table_of_contents.html#pages">Pages</a>
|
|
34
|
-
<a href="../table_of_contents.html#classes">Classes</a>
|
|
35
|
-
<a href="../table_of_contents.html#methods">Methods</a>
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
23
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
24
|
+
|
|
25
|
+
<!-- Open Graph / Facebook -->
|
|
26
|
+
<meta property="og:type" content="website">
|
|
27
|
+
<meta property="og:title" content="module RubyXL::WorksheetConvenienceMethods - rubyXL 3.4.36">
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
<meta
|
|
32
|
+
property="og:description"
|
|
33
|
+
content="Documentation for RubyXL::WorksheetConvenienceMethods module - API reference and code examples"
|
|
34
|
+
>
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
<!-- Twitter -->
|
|
41
|
+
<meta name="twitter:card" content="summary">
|
|
42
|
+
<meta name="twitter:title" content="module RubyXL::WorksheetConvenienceMethods - rubyXL 3.4.36">
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
<meta
|
|
47
|
+
name="twitter:description"
|
|
48
|
+
content="Documentation for RubyXL::WorksheetConvenienceMethods module - API reference and code examples"
|
|
49
|
+
>
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
<script type="text/javascript">
|
|
54
|
+
var rdoc_rel_prefix = "../";
|
|
55
|
+
var index_rel_prefix = "../";
|
|
56
|
+
</script>
|
|
57
|
+
|
|
58
|
+
<script
|
|
59
|
+
src="../js/theme-toggle.js?v=7.2.0"
|
|
60
|
+
></script>
|
|
61
|
+
|
|
62
|
+
<script
|
|
63
|
+
src="../js/search_navigation.js?v=7.2.0"
|
|
64
|
+
defer
|
|
65
|
+
></script>
|
|
66
|
+
|
|
67
|
+
<script
|
|
68
|
+
src="../js/search_data.js?v=7.2.0"
|
|
69
|
+
defer
|
|
70
|
+
></script>
|
|
71
|
+
|
|
72
|
+
<script
|
|
73
|
+
src="../js/search_ranker.js?v=7.2.0"
|
|
74
|
+
defer
|
|
75
|
+
></script>
|
|
76
|
+
|
|
77
|
+
<script
|
|
78
|
+
src="../js/search_controller.js?v=7.2.0"
|
|
79
|
+
defer
|
|
80
|
+
></script>
|
|
81
|
+
|
|
82
|
+
<script
|
|
83
|
+
src="../js/c_highlighter.js?v=7.2.0"
|
|
84
|
+
defer
|
|
85
|
+
></script>
|
|
86
|
+
|
|
87
|
+
<script
|
|
88
|
+
src="../js/bash_highlighter.js?v=7.2.0"
|
|
89
|
+
defer
|
|
90
|
+
></script>
|
|
91
|
+
|
|
92
|
+
<script
|
|
93
|
+
src="../js/aliki.js?v=7.2.0"
|
|
94
|
+
defer
|
|
95
|
+
></script>
|
|
96
|
+
|
|
97
|
+
<link
|
|
98
|
+
href="../css/rdoc.css?v=7.2.0"
|
|
99
|
+
rel="stylesheet"
|
|
100
|
+
>
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
<body role="document" class="module has-toc">
|
|
106
|
+
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
|
107
|
+
<!-- Chevron (right arrow) - used for expand/collapse -->
|
|
108
|
+
<symbol
|
|
109
|
+
id="icon-chevron"
|
|
110
|
+
viewBox="0 0 24 24"
|
|
111
|
+
fill="none"
|
|
112
|
+
stroke="currentColor"
|
|
113
|
+
stroke-width="2"
|
|
114
|
+
stroke-linecap="round"
|
|
115
|
+
stroke-linejoin="round"
|
|
116
|
+
>
|
|
117
|
+
<polyline points="9 18 15 12 9 6"></polyline>
|
|
118
|
+
</symbol>
|
|
119
|
+
|
|
120
|
+
<!-- File/Document - Pages section -->
|
|
121
|
+
<symbol
|
|
122
|
+
id="icon-file"
|
|
123
|
+
viewBox="0 0 24 24"
|
|
124
|
+
fill="none"
|
|
125
|
+
stroke="currentColor"
|
|
126
|
+
stroke-width="2"
|
|
127
|
+
stroke-linecap="round"
|
|
128
|
+
stroke-linejoin="round"
|
|
129
|
+
>
|
|
130
|
+
<path
|
|
131
|
+
d="M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z"
|
|
132
|
+
></path>
|
|
133
|
+
|
|
134
|
+
<polyline points="14 2 14 8 20 8"></polyline>
|
|
135
|
+
</symbol>
|
|
136
|
+
|
|
137
|
+
<!-- Layers/Stack - Classes and Modules section -->
|
|
138
|
+
<symbol
|
|
139
|
+
id="icon-layers"
|
|
140
|
+
viewBox="0 0 24 24"
|
|
141
|
+
fill="none"
|
|
142
|
+
stroke="currentColor"
|
|
143
|
+
stroke-width="2"
|
|
144
|
+
stroke-linecap="round"
|
|
145
|
+
stroke-linejoin="round"
|
|
146
|
+
>
|
|
147
|
+
<polygon points="12 2 2 7 12 12 22 7 12 2"></polygon>
|
|
148
|
+
<polyline points="2 17 12 22 22 17"></polyline>
|
|
149
|
+
<polyline points="2 12 12 17 22 12"></polyline>
|
|
150
|
+
</symbol>
|
|
151
|
+
|
|
152
|
+
<!-- Curly braces with C - Class Methods section -->
|
|
153
|
+
<symbol
|
|
154
|
+
id="icon-class-methods"
|
|
155
|
+
viewBox="0 0 24 24"
|
|
156
|
+
fill="none"
|
|
157
|
+
stroke="currentColor"
|
|
158
|
+
stroke-width="2"
|
|
159
|
+
stroke-linecap="round"
|
|
160
|
+
stroke-linejoin="round"
|
|
161
|
+
>
|
|
162
|
+
<path d="M6 3C3.5 3 2 4.5 2 7v3c0 1.5-1 2-1 2s1 .5 1 2v5c0 2.5 1.5 4 4 4"></path>
|
|
163
|
+
<path d="M18 3c2.5 0 4 1.5 4 4v3c0 1.5 1 2 1 2s-1 .5-1 2v5c0 2.5-1.5 4-4 4"></path>
|
|
164
|
+
|
|
165
|
+
<text
|
|
166
|
+
x="12"
|
|
167
|
+
y="17"
|
|
168
|
+
text-anchor="middle"
|
|
169
|
+
font-size="13"
|
|
170
|
+
font-weight="bold"
|
|
171
|
+
fill="currentColor"
|
|
172
|
+
stroke="none"
|
|
173
|
+
>
|
|
174
|
+
C
|
|
175
|
+
</text>
|
|
176
|
+
</symbol>
|
|
177
|
+
|
|
178
|
+
<!-- Curly braces with I - Instance Methods section -->
|
|
179
|
+
<symbol
|
|
180
|
+
id="icon-instance-methods"
|
|
181
|
+
viewBox="0 0 24 24"
|
|
182
|
+
fill="none"
|
|
183
|
+
stroke="currentColor"
|
|
184
|
+
stroke-width="2"
|
|
185
|
+
stroke-linecap="round"
|
|
186
|
+
stroke-linejoin="round"
|
|
187
|
+
>
|
|
188
|
+
<path d="M6 3C3.5 3 2 4.5 2 7v3c0 1.5-1 2-1 2s1 .5 1 2v5c0 2.5 1.5 4 4 4"></path>
|
|
189
|
+
<path d="M18 3c2.5 0 4 1.5 4 4v3c0 1.5 1 2 1 2s-1 .5-1 2v5c0 2.5-1.5 4-4 4"></path>
|
|
190
|
+
|
|
191
|
+
<text
|
|
192
|
+
x="12"
|
|
193
|
+
y="17"
|
|
194
|
+
text-anchor="middle"
|
|
195
|
+
font-size="13"
|
|
196
|
+
font-weight="bold"
|
|
197
|
+
fill="currentColor"
|
|
198
|
+
stroke="none"
|
|
199
|
+
>
|
|
200
|
+
I
|
|
201
|
+
</text>
|
|
202
|
+
</symbol>
|
|
203
|
+
|
|
204
|
+
<!-- Double chevrons up - Ancestors section -->
|
|
205
|
+
<symbol
|
|
206
|
+
id="icon-ancestors"
|
|
207
|
+
viewBox="0 0 24 24"
|
|
208
|
+
fill="none"
|
|
209
|
+
stroke="currentColor"
|
|
210
|
+
stroke-width="2"
|
|
211
|
+
stroke-linecap="round"
|
|
212
|
+
stroke-linejoin="round"
|
|
213
|
+
>
|
|
214
|
+
<polyline points="17 11 12 6 7 11"></polyline>
|
|
215
|
+
<polyline points="17 18 12 13 7 18"></polyline>
|
|
216
|
+
</symbol>
|
|
217
|
+
|
|
218
|
+
<!-- User with plus - Included Modules section -->
|
|
219
|
+
<symbol
|
|
220
|
+
id="icon-includes"
|
|
221
|
+
viewBox="0 0 24 24"
|
|
222
|
+
fill="none"
|
|
223
|
+
stroke="currentColor"
|
|
224
|
+
stroke-width="2"
|
|
225
|
+
stroke-linecap="round"
|
|
226
|
+
stroke-linejoin="round"
|
|
227
|
+
>
|
|
228
|
+
<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>
|
|
229
|
+
<circle cx="8.5" cy="7" r="4"></circle>
|
|
230
|
+
|
|
231
|
+
<line
|
|
232
|
+
x1="20"
|
|
233
|
+
y1="8"
|
|
234
|
+
x2="20"
|
|
235
|
+
y2="14"
|
|
236
|
+
></line>
|
|
237
|
+
|
|
238
|
+
<line
|
|
239
|
+
x1="23"
|
|
240
|
+
y1="11"
|
|
241
|
+
x2="17"
|
|
242
|
+
y2="11"
|
|
243
|
+
></line>
|
|
244
|
+
</symbol>
|
|
245
|
+
|
|
246
|
+
<!-- User with check - Extended Modules section -->
|
|
247
|
+
<symbol
|
|
248
|
+
id="icon-extends"
|
|
249
|
+
viewBox="0 0 24 24"
|
|
250
|
+
fill="none"
|
|
251
|
+
stroke="currentColor"
|
|
252
|
+
stroke-width="2"
|
|
253
|
+
stroke-linecap="round"
|
|
254
|
+
stroke-linejoin="round"
|
|
255
|
+
>
|
|
256
|
+
<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>
|
|
257
|
+
<circle cx="8.5" cy="7" r="4"></circle>
|
|
258
|
+
<polyline points="17 11 19 13 23 9"></polyline>
|
|
259
|
+
</symbol>
|
|
260
|
+
|
|
261
|
+
<!-- List - Sections section -->
|
|
262
|
+
<symbol
|
|
263
|
+
id="icon-list"
|
|
264
|
+
viewBox="0 0 24 24"
|
|
265
|
+
fill="none"
|
|
266
|
+
stroke="currentColor"
|
|
267
|
+
stroke-width="2"
|
|
268
|
+
stroke-linecap="round"
|
|
269
|
+
stroke-linejoin="round"
|
|
270
|
+
>
|
|
271
|
+
<line
|
|
272
|
+
x1="8"
|
|
273
|
+
y1="6"
|
|
274
|
+
x2="21"
|
|
275
|
+
y2="6"
|
|
276
|
+
></line>
|
|
277
|
+
|
|
278
|
+
<line
|
|
279
|
+
x1="8"
|
|
280
|
+
y1="12"
|
|
281
|
+
x2="21"
|
|
282
|
+
y2="12"
|
|
283
|
+
></line>
|
|
284
|
+
|
|
285
|
+
<line
|
|
286
|
+
x1="8"
|
|
287
|
+
y1="18"
|
|
288
|
+
x2="21"
|
|
289
|
+
y2="18"
|
|
290
|
+
></line>
|
|
291
|
+
|
|
292
|
+
<line
|
|
293
|
+
x1="3"
|
|
294
|
+
y1="6"
|
|
295
|
+
x2="3.01"
|
|
296
|
+
y2="6"
|
|
297
|
+
></line>
|
|
298
|
+
|
|
299
|
+
<line
|
|
300
|
+
x1="3"
|
|
301
|
+
y1="12"
|
|
302
|
+
x2="3.01"
|
|
303
|
+
y2="12"
|
|
304
|
+
></line>
|
|
305
|
+
|
|
306
|
+
<line
|
|
307
|
+
x1="3"
|
|
308
|
+
y1="18"
|
|
309
|
+
x2="3.01"
|
|
310
|
+
y2="18"
|
|
311
|
+
></line>
|
|
312
|
+
</symbol>
|
|
313
|
+
</svg>
|
|
314
|
+
|
|
315
|
+
<header class="top-navbar">
|
|
316
|
+
<a href="../index.html" class="navbar-brand">
|
|
317
|
+
rubyXL 3.4.36
|
|
318
|
+
</a>
|
|
319
|
+
|
|
320
|
+
<!-- Desktop search bar -->
|
|
321
|
+
<div class="navbar-search navbar-search-desktop" role="search">
|
|
322
|
+
<form action="#" method="get" accept-charset="utf-8">
|
|
42
323
|
<input id="search-field" role="combobox" aria-label="Search"
|
|
43
|
-
aria-autocomplete="list" aria-controls="search-results"
|
|
44
|
-
type="text" name="search" placeholder="Search (/) for a class, method
|
|
324
|
+
aria-autocomplete="list" aria-controls="search-results-desktop"
|
|
325
|
+
type="text" name="search" placeholder="Search (/) for a class, method..."
|
|
326
|
+
spellcheck="false" autocomplete="off"
|
|
45
327
|
title="Type to search, Up and Down to navigate, Enter to load">
|
|
328
|
+
<ul id="search-results-desktop" aria-label="Search Results"
|
|
329
|
+
aria-busy="false" aria-expanded="false"
|
|
330
|
+
aria-atomic="false" class="initially-hidden search-results"></ul>
|
|
331
|
+
</form>
|
|
332
|
+
</div>
|
|
333
|
+
|
|
334
|
+
<!-- Mobile search icon button -->
|
|
335
|
+
<button id="search-toggle" class="navbar-search-mobile" aria-label="Open search" type="button">
|
|
336
|
+
<span aria-hidden="true">🔍</span>
|
|
337
|
+
</button>
|
|
338
|
+
|
|
339
|
+
<!-- Theme toggle button -->
|
|
340
|
+
<button id="theme-toggle" class="theme-toggle" aria-label="Switch to dark mode" type="button">
|
|
341
|
+
<span class="theme-toggle-icon" aria-hidden="true">🌙</span>
|
|
342
|
+
</button>
|
|
343
|
+
</header>
|
|
344
|
+
|
|
345
|
+
<!-- Search Modal (Mobile) -->
|
|
346
|
+
<div id="search-modal" class="search-modal" hidden aria-modal="true" role="dialog" aria-label="Search">
|
|
347
|
+
<div class="search-modal-backdrop"></div>
|
|
348
|
+
<div class="search-modal-content">
|
|
349
|
+
<div class="search-modal-header">
|
|
350
|
+
<form class="search-modal-form" action="#" method="get" accept-charset="utf-8">
|
|
351
|
+
<span class="search-modal-icon" aria-hidden="true">🔍</span>
|
|
352
|
+
<input id="search-field-mobile" role="combobox" aria-label="Search"
|
|
353
|
+
aria-autocomplete="list" aria-controls="search-results-mobile"
|
|
354
|
+
type="text" name="search" placeholder="Search documentation"
|
|
355
|
+
spellcheck="false" autocomplete="off">
|
|
356
|
+
<button type="button" class="search-modal-close" aria-label="Close search" id="search-modal-close">
|
|
357
|
+
<span aria-hidden="true">esc</span>
|
|
358
|
+
</button>
|
|
359
|
+
</form>
|
|
46
360
|
</div>
|
|
361
|
+
<div class="search-modal-body">
|
|
362
|
+
<ul id="search-results-mobile" aria-label="Search Results"
|
|
363
|
+
aria-busy="false" aria-expanded="false"
|
|
364
|
+
aria-atomic="false" class="search-results search-modal-results initially-hidden"></ul>
|
|
365
|
+
<div class="search-modal-empty">
|
|
366
|
+
<p>No recent searches</p>
|
|
367
|
+
</div>
|
|
368
|
+
</div>
|
|
369
|
+
</div>
|
|
370
|
+
</div>
|
|
47
371
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
aria-atomic="false" class="initially-hidden"></ul>
|
|
51
|
-
</form>
|
|
372
|
+
<div id="navigation-toggle" role="button" tabindex="0" aria-label="Toggle sidebar" aria-expanded="true" aria-controls="navigation">
|
|
373
|
+
<span aria-hidden="true">☰</span>
|
|
52
374
|
</div>
|
|
53
375
|
|
|
376
|
+
|
|
377
|
+
<nav id="navigation" role="navigation" hidden>
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
<div id="fileindex-section" class="nav-section">
|
|
384
|
+
<details class="nav-section-collapsible" >
|
|
385
|
+
<summary class="nav-section-header">
|
|
386
|
+
<span class="nav-section-icon">
|
|
387
|
+
<svg>
|
|
388
|
+
<use href="#icon-file"></use>
|
|
389
|
+
</svg>
|
|
390
|
+
</span>
|
|
391
|
+
|
|
392
|
+
<span class="nav-section-title">Pages</span>
|
|
393
|
+
|
|
394
|
+
<span class="nav-section-chevron">
|
|
395
|
+
<svg>
|
|
396
|
+
<use href="#icon-chevron"></use>
|
|
397
|
+
</svg>
|
|
398
|
+
</span>
|
|
399
|
+
</summary>
|
|
400
|
+
|
|
401
|
+
<ul class="nav-list">
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
<li>
|
|
409
|
+
<a href="../README_rdoc.html">
|
|
410
|
+
README
|
|
411
|
+
</a>
|
|
412
|
+
</li>
|
|
413
|
+
|
|
414
|
+
</ul>
|
|
415
|
+
</details>
|
|
54
416
|
</div>
|
|
55
417
|
|
|
418
|
+
|
|
56
419
|
|
|
57
420
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
<div class="nav-section">
|
|
431
|
+
<details class="nav-section-collapsible" open>
|
|
432
|
+
<summary class="nav-section-header">
|
|
433
|
+
<span class="nav-section-icon">
|
|
434
|
+
<svg><use href="#icon-instance-methods"></use></svg>
|
|
435
|
+
</span>
|
|
436
|
+
<span class="nav-section-title">Instance Methods</span>
|
|
437
|
+
<span class="nav-section-chevron">
|
|
438
|
+
<svg><use href="#icon-chevron"></use></svg>
|
|
439
|
+
</span>
|
|
440
|
+
</summary>
|
|
441
|
+
<ul class="nav-list" role="directory">
|
|
442
|
+
|
|
443
|
+
<li ><a href="#method-i-add_validation_list">add_validation_list</a></li>
|
|
444
|
+
|
|
445
|
+
<li ><a href="#method-i-change_column_alignment">change_column_alignment</a></li>
|
|
446
|
+
|
|
447
|
+
<li ><a href="#method-i-change_column_bold">change_column_bold</a></li>
|
|
448
|
+
|
|
449
|
+
<li ><a href="#method-i-change_column_border">change_column_border</a></li>
|
|
450
|
+
|
|
451
|
+
<li ><a href="#method-i-change_column_border_color">change_column_border_color</a></li>
|
|
452
|
+
|
|
453
|
+
<li ><a href="#method-i-change_column_fill">change_column_fill</a></li>
|
|
454
|
+
|
|
455
|
+
<li ><a href="#method-i-change_column_font">change_column_font</a></li>
|
|
456
|
+
|
|
457
|
+
<li ><a href="#method-i-change_column_font_color">change_column_font_color</a></li>
|
|
458
|
+
|
|
459
|
+
<li ><a href="#method-i-change_column_font_name">change_column_font_name</a></li>
|
|
460
|
+
|
|
461
|
+
<li ><a href="#method-i-change_column_font_size">change_column_font_size</a></li>
|
|
462
|
+
|
|
463
|
+
<li ><a href="#method-i-change_column_horizontal_alignment">change_column_horizontal_alignment</a></li>
|
|
464
|
+
|
|
465
|
+
<li ><a href="#method-i-change_column_italics">change_column_italics</a></li>
|
|
466
|
+
|
|
467
|
+
<li ><a href="#method-i-change_column_strikethrough">change_column_strikethrough</a></li>
|
|
468
|
+
|
|
469
|
+
<li ><a href="#method-i-change_column_underline">change_column_underline</a></li>
|
|
470
|
+
|
|
471
|
+
<li ><a href="#method-i-change_column_vertical_alignment">change_column_vertical_alignment</a></li>
|
|
472
|
+
|
|
473
|
+
<li ><a href="#method-i-change_column_width">change_column_width</a></li>
|
|
474
|
+
|
|
475
|
+
<li ><a href="#method-i-change_column_width_raw">change_column_width_raw</a></li>
|
|
476
|
+
|
|
477
|
+
<li ><a href="#method-i-change_row_alignment">change_row_alignment</a></li>
|
|
478
|
+
|
|
479
|
+
<li ><a href="#method-i-change_row_bold">change_row_bold</a></li>
|
|
480
|
+
|
|
481
|
+
<li ><a href="#method-i-change_row_border">change_row_border</a></li>
|
|
482
|
+
|
|
483
|
+
<li ><a href="#method-i-change_row_border_color">change_row_border_color</a></li>
|
|
484
|
+
|
|
485
|
+
<li ><a href="#method-i-change_row_fill">change_row_fill</a></li>
|
|
486
|
+
|
|
487
|
+
<li ><a href="#method-i-change_row_font">change_row_font</a></li>
|
|
488
|
+
|
|
489
|
+
<li ><a href="#method-i-change_row_font_color">change_row_font_color</a></li>
|
|
490
|
+
|
|
491
|
+
<li ><a href="#method-i-change_row_font_name">change_row_font_name</a></li>
|
|
492
|
+
|
|
493
|
+
<li ><a href="#method-i-change_row_font_size">change_row_font_size</a></li>
|
|
494
|
+
|
|
495
|
+
<li ><a href="#method-i-change_row_height">change_row_height</a></li>
|
|
496
|
+
|
|
497
|
+
<li ><a href="#method-i-change_row_horizontal_alignment">change_row_horizontal_alignment</a></li>
|
|
498
|
+
|
|
499
|
+
<li ><a href="#method-i-change_row_italics">change_row_italics</a></li>
|
|
500
|
+
|
|
501
|
+
<li ><a href="#method-i-change_row_strikethrough">change_row_strikethrough</a></li>
|
|
502
|
+
|
|
503
|
+
<li ><a href="#method-i-change_row_underline">change_row_underline</a></li>
|
|
504
|
+
|
|
505
|
+
<li ><a href="#method-i-change_row_vertical_alignment">change_row_vertical_alignment</a></li>
|
|
506
|
+
|
|
507
|
+
<li ><a href="#method-i-column_font">column_font</a></li>
|
|
508
|
+
|
|
509
|
+
<li ><a href="#method-i-delete_cell">delete_cell</a></li>
|
|
510
|
+
|
|
511
|
+
<li ><a href="#method-i-delete_column">delete_column</a></li>
|
|
512
|
+
|
|
513
|
+
<li ><a href="#method-i-delete_row">delete_row</a></li>
|
|
514
|
+
|
|
515
|
+
<li ><a href="#method-i-get_col_style">get_col_style</a></li>
|
|
516
|
+
|
|
517
|
+
<li ><a href="#method-i-get_cols_style_index">get_cols_style_index</a></li>
|
|
518
|
+
|
|
519
|
+
<li ><a href="#method-i-get_column_alignment">get_column_alignment</a></li>
|
|
520
|
+
|
|
521
|
+
<li ><a href="#method-i-get_column_border">get_column_border</a></li>
|
|
522
|
+
|
|
523
|
+
<li ><a href="#method-i-get_column_border_color">get_column_border_color</a></li>
|
|
524
|
+
|
|
525
|
+
<li ><a href="#method-i-get_column_fill">get_column_fill</a></li>
|
|
526
|
+
|
|
527
|
+
<li ><a href="#method-i-get_column_font_color">get_column_font_color</a></li>
|
|
528
|
+
|
|
529
|
+
<li ><a href="#method-i-get_column_font_name">get_column_font_name</a></li>
|
|
530
|
+
|
|
531
|
+
<li ><a href="#method-i-get_column_font_size">get_column_font_size</a></li>
|
|
532
|
+
|
|
533
|
+
<li ><a href="#method-i-get_column_width">get_column_width</a></li>
|
|
534
|
+
|
|
535
|
+
<li ><a href="#method-i-get_column_width_raw">get_column_width_raw</a></li>
|
|
536
|
+
|
|
537
|
+
<li ><a href="#method-i-get_row_alignment">get_row_alignment</a></li>
|
|
538
|
+
|
|
539
|
+
<li ><a href="#method-i-get_row_border">get_row_border</a></li>
|
|
540
|
+
|
|
541
|
+
<li ><a href="#method-i-get_row_border_color">get_row_border_color</a></li>
|
|
542
|
+
|
|
543
|
+
<li ><a href="#method-i-get_row_fill">get_row_fill</a></li>
|
|
544
|
+
|
|
545
|
+
<li ><a href="#method-i-get_row_font_color">get_row_font_color</a></li>
|
|
546
|
+
|
|
547
|
+
<li ><a href="#method-i-get_row_font_name">get_row_font_name</a></li>
|
|
548
|
+
|
|
549
|
+
<li ><a href="#method-i-get_row_font_size">get_row_font_size</a></li>
|
|
550
|
+
|
|
551
|
+
<li ><a href="#method-i-get_row_height">get_row_height</a></li>
|
|
552
|
+
|
|
553
|
+
<li ><a href="#method-i-get_row_style">get_row_style</a></li>
|
|
554
|
+
|
|
555
|
+
<li ><a href="#method-i-insert_cell">insert_cell</a></li>
|
|
556
|
+
|
|
557
|
+
<li ><a href="#method-i-insert_column">insert_column</a></li>
|
|
558
|
+
|
|
559
|
+
<li ><a href="#method-i-insert_row">insert_row</a></li>
|
|
560
|
+
|
|
561
|
+
<li ><a href="#method-i-is_column_bolded">is_column_bolded</a></li>
|
|
140
562
|
|
|
563
|
+
<li ><a href="#method-i-is_column_italicized">is_column_italicized</a></li>
|
|
564
|
+
|
|
565
|
+
<li ><a href="#method-i-is_column_struckthrough">is_column_struckthrough</a></li>
|
|
566
|
+
|
|
567
|
+
<li ><a href="#method-i-is_column_underlined">is_column_underlined</a></li>
|
|
568
|
+
|
|
569
|
+
<li ><a href="#method-i-is_row_bolded">is_row_bolded</a></li>
|
|
570
|
+
|
|
571
|
+
<li ><a href="#method-i-is_row_italicized">is_row_italicized</a></li>
|
|
572
|
+
|
|
573
|
+
<li ><a href="#method-i-is_row_struckthrough">is_row_struckthrough</a></li>
|
|
574
|
+
|
|
575
|
+
<li ><a href="#method-i-is_row_underlined">is_row_underlined</a></li>
|
|
576
|
+
|
|
577
|
+
<li ><a href="#method-i-merge_cells">merge_cells</a></li>
|
|
578
|
+
|
|
579
|
+
<li ><a href="#method-i-row_font">row_font</a></li>
|
|
580
|
+
|
|
581
|
+
</ul>
|
|
582
|
+
</details>
|
|
141
583
|
</div>
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
<div id="classindex-section" class="nav-section">
|
|
587
|
+
<details class="nav-section-collapsible" open>
|
|
588
|
+
<summary class="nav-section-header">
|
|
589
|
+
<span class="nav-section-icon">
|
|
590
|
+
<svg><use href="#icon-layers"></use></svg>
|
|
591
|
+
</span>
|
|
592
|
+
<span class="nav-section-title">Classes and Modules</span>
|
|
593
|
+
<span class="nav-section-chevron">
|
|
594
|
+
<svg><use href="#icon-chevron"></use></svg>
|
|
595
|
+
</span>
|
|
596
|
+
</summary>
|
|
597
|
+
|
|
598
|
+
<ul class="link-list nav-list"><li><details open><summary><code><a href="../RubyXL.html">RubyXL</a></code></summary><ul class="link-list nav-list"><li><code><a href="../RubyXL/AExtension.html">AExtension</a></code></li><li><code><a href="../RubyXL/AExtensionStorageArea.html">AExtensionStorageArea</a></code></li><li><code><a href="../RubyXL/ActiveX.html">ActiveX</a></code></li><li><code><a href="../RubyXL/ActiveXBinary.html">ActiveXBinary</a></code></li><li><code><a href="../RubyXL/AdjustHandleList.html">AdjustHandleList</a></code></li><li><code><a href="../RubyXL/Alignment.html">Alignment</a></code></li><li><code><a href="../RubyXL/AlternateContent.html">AlternateContent</a></code></li><li><code><a href="../RubyXL/AlternateUrls.html">AlternateUrls</a></code></li><li><code><a href="../RubyXL/Authors.html">Authors</a></code></li><li><code><a href="../RubyXL/AutoFilter.html">AutoFilter</a></code></li><li><code><a href="../RubyXL/AutoFilterColumn.html">AutoFilterColumn</a></code></li><li><code><a href="../RubyXL/BinaryImageFile.html">BinaryImageFile</a></code></li><li><code><a href="../RubyXL/BodyProperties.html">BodyProperties</a></code></li><li><code><a href="../RubyXL/BooleanNode.html">BooleanNode</a></code></li><li><code><a href="../RubyXL/BooleanValue.html">BooleanValue</a></code></li><li><code><a href="../RubyXL/Border.html">Border</a></code></li><li><code><a href="../RubyXL/BorderEdge.html">BorderEdge</a></code></li><li><code><a href="../RubyXL/Borders.html">Borders</a></code></li><li><code><a href="../RubyXL/Break.html">Break</a></code></li><li><code><a href="../RubyXL/BreakList.html">BreakList</a></code></li><li><code><a href="../RubyXL/CT_AdjPoint2D.html">CT_AdjPoint2D</a></code></li><li><code><a href="../RubyXL/CT_AlphaBiLevelEffect.html">CT_AlphaBiLevelEffect</a></code></li><li><code><a href="../RubyXL/CT_AlphaModulateEffect.html">CT_AlphaModulateEffect</a></code></li><li><code><a href="../RubyXL/CT_AlphaModulateFixedEffect.html">CT_AlphaModulateFixedEffect</a></code></li><li><code><a href="../RubyXL/CT_AlphaOutsetEffect.html">CT_AlphaOutsetEffect</a></code></li><li><code><a href="../RubyXL/CT_AlphaReplaceEffect.html">CT_AlphaReplaceEffect</a></code></li><li><code><a href="../RubyXL/CT_Backdrop.html">CT_Backdrop</a></code></li><li><code><a href="../RubyXL/CT_Bevel.html">CT_Bevel</a></code></li><li><code><a href="../RubyXL/CT_BiLevelEffect.html">CT_BiLevelEffect</a></code></li><li><code><a href="../RubyXL/CT_BlendEffect.html">CT_BlendEffect</a></code></li><li><code><a href="../RubyXL/CT_Blip.html">CT_Blip</a></code></li><li><code><a href="../RubyXL/CT_BlipFillProperties.html">CT_BlipFillProperties</a></code></li><li><code><a href="../RubyXL/CT_BlurEffect.html">CT_BlurEffect</a></code></li><li><code><a href="../RubyXL/CT_Camera.html">CT_Camera</a></code></li><li><code><a href="../RubyXL/CT_Color.html">CT_Color</a></code></li><li><code><a href="../RubyXL/CT_ColorChangeEffect.html">CT_ColorChangeEffect</a></code></li><li><code><a href="../RubyXL/CT_ColorMapping.html">CT_ColorMapping</a></code></li><li><code><a href="../RubyXL/CT_ColorScheme.html">CT_ColorScheme</a></code></li><li><code><a href="../RubyXL/CT_ColorSchemeAndMapping.html">CT_ColorSchemeAndMapping</a></code></li><li><code><a href="../RubyXL/CT_ConnectionSite.html">CT_ConnectionSite</a></code></li><li><code><a href="../RubyXL/CT_ConnectionSiteList.html">CT_ConnectionSiteList</a></code></li><li><code><a href="../RubyXL/CT_DashStop.html">CT_DashStop</a></code></li><li><code><a href="../RubyXL/CT_DashStopList.html">CT_DashStopList</a></code></li><li><code><a href="../RubyXL/CT_DefaultShapeDefinition.html">CT_DefaultShapeDefinition</a></code></li><li><code><a href="../RubyXL/CT_DuotoneEffect.html">CT_DuotoneEffect</a></code></li><li><code><a href="../RubyXL/CT_EffectContainer.html">CT_EffectContainer</a></code></li><li><code><a href="../RubyXL/CT_EffectList.html">CT_EffectList</a></code></li><li><code><a href="../RubyXL/CT_EffectReference.html">CT_EffectReference</a></code></li><li><code><a href="../RubyXL/CT_EffectStyleItem.html">CT_EffectStyleItem</a></code></li><li><code><a href="../RubyXL/CT_EffectStyleList.html">CT_EffectStyleList</a></code></li><li><code><a href="../RubyXL/CT_EmbeddedWAVAudioFile.html">CT_EmbeddedWAVAudioFile</a></code></li><li><code><a href="../RubyXL/CT_FillEffect.html">CT_FillEffect</a></code></li><li><code><a href="../RubyXL/CT_FillOverlayEffect.html">CT_FillOverlayEffect</a></code></li><li><code><a href="../RubyXL/CT_FillStyleList.html">CT_FillStyleList</a></code></li><li><code><a href="../RubyXL/CT_FlatText.html">CT_FlatText</a></code></li><li><code><a href="../RubyXL/CT_FontCollection.html">CT_FontCollection</a></code></li><li><code><a href="../RubyXL/CT_FontReference.html">CT_FontReference</a></code></li><li><code><a href="../RubyXL/CT_GeomGuideList.html">CT_GeomGuideList</a></code></li><li><code><a href="../RubyXL/CT_GlowEffect.html">CT_GlowEffect</a></code></li><li><code><a href="../RubyXL/CT_GradientFillProperties.html">CT_GradientFillProperties</a></code></li><li><code><a href="../RubyXL/CT_GradientStop.html">CT_GradientStop</a></code></li><li><code><a href="../RubyXL/CT_GradientStopList.html">CT_GradientStopList</a></code></li><li><code><a href="../RubyXL/CT_HSLEffect.html">CT_HSLEffect</a></code></li><li><code><a href="../RubyXL/CT_HslColor.html">CT_HslColor</a></code></li><li><code><a href="../RubyXL/CT_Hyperlink.html">CT_Hyperlink</a></code></li><li><code><a href="../RubyXL/CT_InnerShadowEffect.html">CT_InnerShadowEffect</a></code></li><li><code><a href="../RubyXL/CT_LightRig.html">CT_LightRig</a></code></li><li><code><a href="../RubyXL/CT_LineEndProperties.html">CT_LineEndProperties</a></code></li><li><code><a href="../RubyXL/CT_LineJoinMiterProperties.html">CT_LineJoinMiterProperties</a></code></li><li><code><a href="../RubyXL/CT_LineProperties.html">CT_LineProperties</a></code></li><li><code><a href="../RubyXL/CT_LineStyleList.html">CT_LineStyleList</a></code></li><li><code><a href="../RubyXL/CT_LinearShadeProperties.html">CT_LinearShadeProperties</a></code></li><li><code><a href="../RubyXL/CT_LuminanceEffect.html">CT_LuminanceEffect</a></code></li><li><code><a href="../RubyXL/CT_ObjectStyleDefaults.html">CT_ObjectStyleDefaults</a></code></li><li><code><a href="../RubyXL/CT_OuterShadowEffect.html">CT_OuterShadowEffect</a></code></li><li><code><a href="../RubyXL/CT_Path2D.html">CT_Path2D</a></code></li><li><code><a href="../RubyXL/CT_Path2DArcTo.html">CT_Path2DArcTo</a></code></li><li><code><a href="../RubyXL/CT_Path2DCubicBezierTo.html">CT_Path2DCubicBezierTo</a></code></li><li><code><a href="../RubyXL/CT_Path2DList.html">CT_Path2DList</a></code></li><li><code><a href="../RubyXL/CT_Path2DQuadBezierTo.html">CT_Path2DQuadBezierTo</a></code></li><li><code><a href="../RubyXL/CT_Path2DTo.html">CT_Path2DTo</a></code></li><li><code><a href="../RubyXL/CT_PathShadeProperties.html">CT_PathShadeProperties</a></code></li><li><code><a href="../RubyXL/CT_PatternFillProperties.html">CT_PatternFillProperties</a></code></li><li><code><a href="../RubyXL/CT_Point3D.html">CT_Point3D</a></code></li><li><code><a href="../RubyXL/CT_PolarAdjustHandle.html">CT_PolarAdjustHandle</a></code></li><li><code><a href="../RubyXL/CT_PresetColor.html">CT_PresetColor</a></code></li><li><code><a href="../RubyXL/CT_PresetLineDashProperties.html">CT_PresetLineDashProperties</a></code></li><li><code><a href="../RubyXL/CT_PresetShadowEffect.html">CT_PresetShadowEffect</a></code></li><li><code><a href="../RubyXL/CT_PresetTextShape.html">CT_PresetTextShape</a></code></li><li><code><a href="../RubyXL/CT_ReflectionEffect.html">CT_ReflectionEffect</a></code></li><li><code><a href="../RubyXL/CT_RelativeOffsetEffect.html">CT_RelativeOffsetEffect</a></code></li><li><code><a href="../RubyXL/CT_RelativeRect.html">CT_RelativeRect</a></code></li><li><code><a href="../RubyXL/CT_SRgbColor.html">CT_SRgbColor</a></code></li><li><code><a href="../RubyXL/CT_ScRgbColor.html">CT_ScRgbColor</a></code></li><li><code><a href="../RubyXL/CT_Scene3D.html">CT_Scene3D</a></code></li><li><code><a href="../RubyXL/CT_SchemeColor.html">CT_SchemeColor</a></code></li><li><code><a href="../RubyXL/CT_Shape3D.html">CT_Shape3D</a></code></li><li><code><a href="../RubyXL/CT_ShapeStyle.html">CT_ShapeStyle</a></code></li><li><code><a href="../RubyXL/CT_SoftEdgesEffect.html">CT_SoftEdgesEffect</a></code></li><li><code><a href="../RubyXL/CT_SphereCoords.html">CT_SphereCoords</a></code></li><li><code><a href="../RubyXL/CT_StretchInfoProperties.html">CT_StretchInfoProperties</a></code></li><li><code><a href="../RubyXL/CT_StyleMatrix.html">CT_StyleMatrix</a></code></li><li><code><a href="../RubyXL/CT_StyleMatrixReference.html">CT_StyleMatrixReference</a></code></li><li><code><a href="../RubyXL/CT_SupplementalFont.html">CT_SupplementalFont</a></code></li><li><code><a href="../RubyXL/CT_SystemColor.html">CT_SystemColor</a></code></li><li><code><a href="../RubyXL/CT_TextAutonumberBullet.html">CT_TextAutonumberBullet</a></code></li><li><code><a href="../RubyXL/CT_TextBlipBullet.html">CT_TextBlipBullet</a></code></li><li><code><a href="../RubyXL/CT_TextCharBullet.html">CT_TextCharBullet</a></code></li><li><code><a href="../RubyXL/CT_TextCharacterProperties.html">CT_TextCharacterProperties</a></code></li><li><code><a href="../RubyXL/CT_TextFont.html">CT_TextFont</a></code></li><li><code><a href="../RubyXL/CT_TextListStyle.html">CT_TextListStyle</a></code></li><li><code><a href="../RubyXL/CT_TextNormalAutofit.html">CT_TextNormalAutofit</a></code></li><li><code><a href="../RubyXL/CT_TextParagraphProperties.html">CT_TextParagraphProperties</a></code></li><li><code><a href="../RubyXL/CT_TextSpacing.html">CT_TextSpacing</a></code></li><li><code><a href="../RubyXL/CT_TextTabStop.html">CT_TextTabStop</a></code></li><li><code><a href="../RubyXL/CT_TextTabStopList.html">CT_TextTabStopList</a></code></li><li><code><a href="../RubyXL/CT_TileInfoProperties.html">CT_TileInfoProperties</a></code></li><li><code><a href="../RubyXL/CT_TintEffect.html">CT_TintEffect</a></code></li><li><code><a href="../RubyXL/CT_Transform2D.html">CT_Transform2D</a></code></li><li><code><a href="../RubyXL/CT_TransformEffect.html">CT_TransformEffect</a></code></li><li><code><a href="../RubyXL/CT_Vector3D.html">CT_Vector3D</a></code></li><li><code><a href="../RubyXL/CT_XYAdjustHandle.html">CT_XYAdjustHandle</a></code></li><li><code><a href="../RubyXL/CalculationChain.html">CalculationChain</a></code></li><li><code><a href="../RubyXL/CalculationChainCell.html">CalculationChainCell</a></code></li><li><code><a href="../RubyXL/CalculationProperties.html">CalculationProperties</a></code></li><li><code><a href="../RubyXL/Cell.html">Cell</a></code></li><li><code><a href="../RubyXL/CellConvenienceMethods.html">CellConvenienceMethods</a></code></li><li><code><a href="../RubyXL/CellExt.html">CellExt</a></code></li><li><code><a href="../RubyXL/CellSmartTag.html">CellSmartTag</a></code></li><li><code><a href="../RubyXL/CellSmartTagProperty.html">CellSmartTagProperty</a></code></li><li><code><a href="../RubyXL/CellSmartTags.html">CellSmartTags</a></code></li><li><code><a href="../RubyXL/CellStyle.html">CellStyle</a></code></li><li><code><a href="../RubyXL/CellStyleXFs.html">CellStyleXFs</a></code></li><li><code><a href="../RubyXL/CellStyles.html">CellStyles</a></code></li><li><code><a href="../RubyXL/CellValue.html">CellValue</a></code></li><li><code><a href="../RubyXL/CellWatch.html">CellWatch</a></code></li><li><code><a href="../RubyXL/CellWatches.html">CellWatches</a></code></li><li><code><a href="../RubyXL/CellXFs.html">CellXFs</a></code></li><li><code><a href="../RubyXL/ChartColorsFile.html">ChartColorsFile</a></code></li><li><code><a href="../RubyXL/ChartFile.html">ChartFile</a></code></li><li><code><a href="../RubyXL/ChartStyleFile.html">ChartStyleFile</a></code></li><li><code><a href="../RubyXL/ChartUserShapesFile.html">ChartUserShapesFile</a></code></li><li><code><a href="../RubyXL/Chartsheet.html">Chartsheet</a></code></li><li><code><a href="../RubyXL/ChartsheetPageSetup.html">ChartsheetPageSetup</a></code></li><li><code><a href="../RubyXL/ChartsheetProperties.html">ChartsheetProperties</a></code></li><li><code><a href="../RubyXL/ChartsheetProtection.html">ChartsheetProtection</a></code></li><li><code><a href="../RubyXL/ChartsheetView.html">ChartsheetView</a></code></li><li><code><a href="../RubyXL/ChartsheetViews.html">ChartsheetViews</a></code></li><li><code><a href="../RubyXL/Color.html">Color</a></code></li><li><details><summary><code><a href="../RubyXL/ColorConvenienceClasses.html">ColorConvenienceClasses</a></code></summary><ul class="link-list nav-list"><li><code><a href="../RubyXL/ColorConvenienceClasses/HlsColor.html">HlsColor</a></code></li><li><code><a href="../RubyXL/ColorConvenienceClasses/RgbColor.html">RgbColor</a></code></li></ul></details></li><li><code><a href="../RubyXL/ColorConvenienceMethods.html">ColorConvenienceMethods</a></code></li><li><code><a href="../RubyXL/ColorFilter.html">ColorFilter</a></code></li><li><code><a href="../RubyXL/ColorScale.html">ColorScale</a></code></li><li><code><a href="../RubyXL/ColorSet.html">ColorSet</a></code></li><li><code><a href="../RubyXL/Colors.html">Colors</a></code></li><li><code><a href="../RubyXL/ColumnRange.html">ColumnRange</a></code></li><li><code><a href="../RubyXL/ColumnRanges.html">ColumnRanges</a></code></li><li><code><a href="../RubyXL/Comment.html">Comment</a></code></li><li><code><a href="../RubyXL/CommentList.html">CommentList</a></code></li><li><code><a href="../RubyXL/CommentsFile.html">CommentsFile</a></code></li><li><code><a href="../RubyXL/ConditionalFormatValue.html">ConditionalFormatValue</a></code></li><li><code><a href="../RubyXL/ConditionalFormatting.html">ConditionalFormatting</a></code></li><li><code><a href="../RubyXL/ConditionalFormattingRule.html">ConditionalFormattingRule</a></code></li><li><code><a href="../RubyXL/Connection.html">Connection</a></code></li><li><code><a href="../RubyXL/ConnectionTable.html">ConnectionTable</a></code></li><li><code><a href="../RubyXL/ConnectionTables.html">ConnectionTables</a></code></li><li><code><a href="../RubyXL/ConnectionTextField.html">ConnectionTextField</a></code></li><li><code><a href="../RubyXL/ConnectionTextFields.html">ConnectionTextFields</a></code></li><li><code><a href="../RubyXL/Connections.html">Connections</a></code></li><li><code><a href="../RubyXL/ContentTypeDefault.html">ContentTypeDefault</a></code></li><li><code><a href="../RubyXL/ContentTypeOverride.html">ContentTypeOverride</a></code></li><li><code><a href="../RubyXL/ContentTypes.html">ContentTypes</a></code></li><li><code><a href="../RubyXL/ControlPropertiesFile.html">ControlPropertiesFile</a></code></li><li><code><a href="../RubyXL/CorePropertiesFile.html">CorePropertiesFile</a></code></li><li><code><a href="../RubyXL/CustomColor.html">CustomColor</a></code></li><li><code><a href="../RubyXL/CustomColorList.html">CustomColorList</a></code></li><li><code><a href="../RubyXL/CustomFilter.html">CustomFilter</a></code></li><li><code><a href="../RubyXL/CustomFilters.html">CustomFilters</a></code></li><li><code><a href="../RubyXL/CustomGeometry.html">CustomGeometry</a></code></li><li><code><a href="../RubyXL/CustomProperties.html">CustomProperties</a></code></li><li><code><a href="../RubyXL/CustomPropertiesFile.html">CustomPropertiesFile</a></code></li><li><code><a href="../RubyXL/CustomProperty.html">CustomProperty</a></code></li><li><code><a href="../RubyXL/CustomPropertyFile.html">CustomPropertyFile</a></code></li><li><code><a href="../RubyXL/CustomSheetView.html">CustomSheetView</a></code></li><li><code><a href="../RubyXL/CustomSheetViews.html">CustomSheetViews</a></code></li><li><code><a href="../RubyXL/CustomWorkbookView.html">CustomWorkbookView</a></code></li><li><code><a href="../RubyXL/CustomWorkbookViews.html">CustomWorkbookViews</a></code></li><li><code><a href="../RubyXL/CustomXMLFile.html">CustomXMLFile</a></code></li><li><code><a href="../RubyXL/DXF.html">DXF</a></code></li><li><code><a href="../RubyXL/DXFs.html">DXFs</a></code></li><li><code><a href="../RubyXL/DataBar.html">DataBar</a></code></li><li><code><a href="../RubyXL/DataConsolidate.html">DataConsolidate</a></code></li><li><code><a href="../RubyXL/DataConsolidationReference.html">DataConsolidationReference</a></code></li><li><code><a href="../RubyXL/DataConsolidationReferences.html">DataConsolidationReferences</a></code></li><li><code><a href="../RubyXL/DataType.html">DataType</a></code></li><li><code><a href="../RubyXL/DataValidation.html">DataValidation</a></code></li><li><code><a href="../RubyXL/DataValidations.html">DataValidations</a></code></li><li><code><a href="../RubyXL/DateGroupItem.html">DateGroupItem</a></code></li><li><code><a href="../RubyXL/DefinedName.html">DefinedName</a></code></li><li><code><a href="../RubyXL/DefinedNameExt.html">DefinedNameExt</a></code></li><li><code><a href="../RubyXL/DefinedNames.html">DefinedNames</a></code></li><li><code><a href="../RubyXL/DefinedNamesExt.html">DefinedNamesExt</a></code></li><li><code><a href="../RubyXL/DocumentPropertiesFile.html">DocumentPropertiesFile</a></code></li><li><code><a href="../RubyXL/DrawingFile.html">DrawingFile</a></code></li><li><code><a href="../RubyXL/DynamicFilter.html">DynamicFilter</a></code></li><li><code><a href="../RubyXL/EmbeddedControl.html">EmbeddedControl</a></code></li><li><code><a href="../RubyXL/EmbeddedControls.html">EmbeddedControls</a></code></li><li><code><a href="../RubyXL/Extension.html">Extension</a></code></li><li><code><a href="../RubyXL/ExtensionStorageArea.html">ExtensionStorageArea</a></code></li><li><code><a href="../RubyXL/Extents.html">Extents</a></code></li><li><code><a href="../RubyXL/ExternalBook.html">ExternalBook</a></code></li><li><code><a href="../RubyXL/ExternalLinksFile.html">ExternalLinksFile</a></code></li><li><code><a href="../RubyXL/ExternalReference.html">ExternalReference</a></code></li><li><code><a href="../RubyXL/ExternalReferences.html">ExternalReferences</a></code></li><li><code><a href="../RubyXL/ExtraColorSchemeList.html">ExtraColorSchemeList</a></code></li><li><code><a href="../RubyXL/FieldItem.html">FieldItem</a></code></li><li><code><a href="../RubyXL/FileRecoveryProperties.html">FileRecoveryProperties</a></code></li><li><code><a href="../RubyXL/FileSharing.html">FileSharing</a></code></li><li><code><a href="../RubyXL/FileVersion.html">FileVersion</a></code></li><li><code><a href="../RubyXL/Fill.html">Fill</a></code></li><li><code><a href="../RubyXL/Fills.html">Fills</a></code></li><li><code><a href="../RubyXL/FilterContainer.html">FilterContainer</a></code></li><li><code><a href="../RubyXL/FloatNode.html">FloatNode</a></code></li><li><code><a href="../RubyXL/FloatValue.html">FloatValue</a></code></li><li><code><a href="../RubyXL/Font.html">Font</a></code></li><li><code><a href="../RubyXL/FontConvenienceMethods.html">FontConvenienceMethods</a></code></li><li><code><a href="../RubyXL/FontScheme.html">FontScheme</a></code></li><li><code><a href="../RubyXL/Fonts.html">Fonts</a></code></li><li><code><a href="../RubyXL/Formula.html">Formula</a></code></li><li><code><a href="../RubyXL/FunctionGroup.html">FunctionGroup</a></code></li><li><code><a href="../RubyXL/FunctionGroups.html">FunctionGroups</a></code></li><li><code><a href="../RubyXL/GenericStorageObject.html">GenericStorageObject</a></code></li><li><code><a href="../RubyXL/GradientFill.html">GradientFill</a></code></li><li><code><a href="../RubyXL/HeaderFooterSettings.html">HeaderFooterSettings</a></code></li><li><code><a href="../RubyXL/Hyperlink.html">Hyperlink</a></code></li><li><code><a href="../RubyXL/HyperlinkRelFile.html">HyperlinkRelFile</a></code></li><li><code><a href="../RubyXL/Hyperlinks.html">Hyperlinks</a></code></li><li><code><a href="../RubyXL/IconFilter.html">IconFilter</a></code></li><li><code><a href="../RubyXL/IconSet.html">IconSet</a></code></li><li><code><a href="../RubyXL/IgnoredError.html">IgnoredError</a></code></li><li><code><a href="../RubyXL/IgnoredErrors.html">IgnoredErrors</a></code></li><li><code><a href="../RubyXL/IndexedColors.html">IndexedColors</a></code></li><li><code><a href="../RubyXL/InputCells.html">InputCells</a></code></li><li><code><a href="../RubyXL/IntegerNode.html">IntegerNode</a></code></li><li><code><a href="../RubyXL/IntegerValue.html">IntegerValue</a></code></li><li><code><a href="../RubyXL/LegacyCell.html">LegacyCell</a></code></li><li><code><a href="../RubyXL/LegacyWorksheet.html">LegacyWorksheet</a></code></li><li><code><a href="../RubyXL/MRUColors.html">MRUColors</a></code></li><li><code><a href="../RubyXL/MacrosFile.html">MacrosFile</a></code></li><li><code><a href="../RubyXL/MergedCell.html">MergedCell</a></code></li><li><code><a href="../RubyXL/MergedCells.html">MergedCells</a></code></li><li><code><a href="../RubyXL/NumFmt.html">NumFmt</a></code></li><li><code><a href="../RubyXL/NumberFormat.html">NumberFormat</a></code></li><li><code><a href="../RubyXL/NumberFormats.html">NumberFormats</a></code></li><li><code><a href="../RubyXL/OLEObject.html">OLEObject</a></code></li><li><code><a href="../RubyXL/OLEObjectFile.html">OLEObjectFile</a></code></li><li><code><a href="../RubyXL/OLEObjects.html">OLEObjects</a></code></li><li><code><a href="../RubyXL/OLESize.html">OLESize</a></code></li><li><code><a href="../RubyXL/OOXMLContainerObject.html">OOXMLContainerObject</a></code></li><li><code><a href="../RubyXL/OOXMLIgnored.html">OOXMLIgnored</a></code></li><li><code><a href="../RubyXL/OOXMLObject.html">OOXMLObject</a></code></li><li><code><a href="../RubyXL/OOXMLObjectClassMethods.html">OOXMLObjectClassMethods</a></code></li><li><code><a href="../RubyXL/OOXMLObjectInstanceMethods.html">OOXMLObjectInstanceMethods</a></code></li><li><code><a href="../RubyXL/OOXMLRelationshipsFile.html">OOXMLRelationshipsFile</a></code></li><li><code><a href="../RubyXL/OOXMLTopLevelObject.html">OOXMLTopLevelObject</a></code></li><li><code><a href="../RubyXL/OdbcOleDbProperties.html">OdbcOleDbProperties</a></code></li><li><code><a href="../RubyXL/Offset.html">Offset</a></code></li><li><code><a href="../RubyXL/OlapProperties.html">OlapProperties</a></code></li><li><code><a href="../RubyXL/OleItem.html">OleItem</a></code></li><li><code><a href="../RubyXL/OleItems.html">OleItems</a></code></li><li><code><a href="../RubyXL/OleLink.html">OleLink</a></code></li><li><code><a href="../RubyXL/OutlineProperties.html">OutlineProperties</a></code></li><li><code><a href="../RubyXL/PageMargins.html">PageMargins</a></code></li><li><code><a href="../RubyXL/PageSetup.html">PageSetup</a></code></li><li><code><a href="../RubyXL/PageSetupProperties.html">PageSetupProperties</a></code></li><li><code><a href="../RubyXL/Pane.html">Pane</a></code></li><li><code><a href="../RubyXL/Parser.html">Parser</a></code></li><li><code><a href="../RubyXL/PatternFill.html">PatternFill</a></code></li><li><code><a href="../RubyXL/PersonMetadata.html">PersonMetadata</a></code></li><li><code><a href="../RubyXL/PhoneticProperties.html">PhoneticProperties</a></code></li><li><code><a href="../RubyXL/PhoneticRun.html">PhoneticRun</a></code></li><li><code><a href="../RubyXL/PivotArea.html">PivotArea</a></code></li><li><code><a href="../RubyXL/PivotCache.html">PivotCache</a></code></li><li><code><a href="../RubyXL/PivotCacheDefinitionFile.html">PivotCacheDefinitionFile</a></code></li><li><code><a href="../RubyXL/PivotCacheRecordsFile.html">PivotCacheRecordsFile</a></code></li><li><code><a href="../RubyXL/PivotCaches.html">PivotCaches</a></code></li><li><code><a href="../RubyXL/PivotReference.html">PivotReference</a></code></li><li><code><a href="../RubyXL/PivotReferences.html">PivotReferences</a></code></li><li><code><a href="../RubyXL/PivotTableFile.html">PivotTableFile</a></code></li><li><code><a href="../RubyXL/PivotTableSelection.html">PivotTableSelection</a></code></li><li><code><a href="../RubyXL/PresetGeometry.html">PresetGeometry</a></code></li><li><code><a href="../RubyXL/PrintOptions.html">PrintOptions</a></code></li><li><code><a href="../RubyXL/PrinterSettingsFile.html">PrinterSettingsFile</a></code></li><li><code><a href="../RubyXL/ProtectedRange.html">ProtectedRange</a></code></li><li><code><a href="../RubyXL/ProtectedRanges.html">ProtectedRanges</a></code></li><li><code><a href="../RubyXL/Protection.html">Protection</a></code></li><li><code><a href="../RubyXL/QueryParameter.html">QueryParameter</a></code></li><li><code><a href="../RubyXL/QueryParameters.html">QueryParameters</a></code></li><li><code><a href="../RubyXL/QueryTable.html">QueryTable</a></code></li><li><code><a href="../RubyXL/QueryTableDeletedField.html">QueryTableDeletedField</a></code></li><li><code><a href="../RubyXL/QueryTableDeletedFields.html">QueryTableDeletedFields</a></code></li><li><code><a href="../RubyXL/QueryTableField.html">QueryTableField</a></code></li><li><code><a href="../RubyXL/QueryTableFields.html">QueryTableFields</a></code></li><li><code><a href="../RubyXL/QueryTableRefresh.html">QueryTableRefresh</a></code></li><li><code><a href="../RubyXL/RID.html">RID</a></code></li><li><code><a href="../RubyXL/RawOOXML.html">RawOOXML</a></code></li><li><code><a href="../RubyXL/Reference.html">Reference</a></code></li><li><code><a href="../RubyXL/Relationship.html">Relationship</a></code></li><li><details><summary><code><a href="../RubyXL/RelationshipSupport.html">RelationshipSupport</a></code></summary><ul class="link-list nav-list"><li><code><a href="../RubyXL/RelationshipSupport/ClassMehods.html">ClassMehods</a></code></li></ul></details></li><li><code><a href="../RubyXL/RevisionPointer.html">RevisionPointer</a></code></li><li><code><a href="../RubyXL/RichText.html">RichText</a></code></li><li><code><a href="../RubyXL/RichTextRun.html">RichTextRun</a></code></li><li><code><a href="../RubyXL/Row.html">Row</a></code></li><li><code><a href="../RubyXL/RowExt.html">RowExt</a></code></li><li><code><a href="../RubyXL/RunProperties.html">RunProperties</a></code></li><li><code><a href="../RubyXL/Scenario.html">Scenario</a></code></li><li><code><a href="../RubyXL/Scenarios.html">Scenarios</a></code></li><li><code><a href="../RubyXL/Selection.html">Selection</a></code></li><li><code><a href="../RubyXL/ShapeGuide.html">ShapeGuide</a></code></li><li><code><a href="../RubyXL/ShapeTextRectangle.html">ShapeTextRectangle</a></code></li><li><code><a href="../RubyXL/SharedStringsTable.html">SharedStringsTable</a></code></li><li><code><a href="../RubyXL/Sheet.html">Sheet</a></code></li><li><code><a href="../RubyXL/SheetCalculationProperties.html">SheetCalculationProperties</a></code></li><li><code><a href="../RubyXL/SheetData.html">SheetData</a></code></li><li><code><a href="../RubyXL/SheetDataExt.html">SheetDataExt</a></code></li><li><code><a href="../RubyXL/SheetDataSet.html">SheetDataSet</a></code></li><li><code><a href="../RubyXL/SheetMetadata.html">SheetMetadata</a></code></li><li><code><a href="../RubyXL/SheetName.html">SheetName</a></code></li><li><code><a href="../RubyXL/SheetNames.html">SheetNames</a></code></li><li><code><a href="../RubyXL/Sheets.html">Sheets</a></code></li><li><code><a href="../RubyXL/SlicerCacheFile.html">SlicerCacheFile</a></code></li><li><code><a href="../RubyXL/SlicerFile.html">SlicerFile</a></code></li><li><code><a href="../RubyXL/SmartTagProperties.html">SmartTagProperties</a></code></li><li><code><a href="../RubyXL/SmartTagType.html">SmartTagType</a></code></li><li><code><a href="../RubyXL/SmartTagTypes.html">SmartTagTypes</a></code></li><li><code><a href="../RubyXL/SmartTags.html">SmartTags</a></code></li><li><code><a href="../RubyXL/SortCondition.html">SortCondition</a></code></li><li><code><a href="../RubyXL/SortState.html">SortState</a></code></li><li><code><a href="../RubyXL/Sqref.html">Sqref</a></code></li><li><code><a href="../RubyXL/Stop.html">Stop</a></code></li><li><code><a href="../RubyXL/StringNode.html">StringNode</a></code></li><li><code><a href="../RubyXL/StringNodeW3C.html">StringNodeW3C</a></code></li><li><code><a href="../RubyXL/StringValue.html">StringValue</a></code></li><li><code><a href="../RubyXL/Stylesheet.html">Stylesheet</a></code></li><li><code><a href="../RubyXL/TableFile.html">TableFile</a></code></li><li><code><a href="../RubyXL/TableParts.html">TableParts</a></code></li><li><code><a href="../RubyXL/TableStyle.html">TableStyle</a></code></li><li><code><a href="../RubyXL/TableStyles.html">TableStyles</a></code></li><li><code><a href="../RubyXL/Text.html">Text</a></code></li><li><code><a href="../RubyXL/TextImportSettings.html">TextImportSettings</a></code></li><li><code><a href="../RubyXL/Theme.html">Theme</a></code></li><li><code><a href="../RubyXL/ThemeElements.html">ThemeElements</a></code></li><li><code><a href="../RubyXL/ThumbnailFile.html">ThumbnailFile</a></code></li><li><code><a href="../RubyXL/Top10.html">Top10</a></code></li><li><code><a href="../RubyXL/VMLDrawingFile.html">VMLDrawingFile</a></code></li><li><code><a href="../RubyXL/Variant.html">Variant</a></code></li><li><code><a href="../RubyXL/Vector.html">Vector</a></code></li><li><code><a href="../RubyXL/VectorValue.html">VectorValue</a></code></li><li><code><a href="../RubyXL/VisualProperties.html">VisualProperties</a></code></li><li><code><a href="../RubyXL/WebPublishObject.html">WebPublishObject</a></code></li><li><code><a href="../RubyXL/WebPublishObjects.html">WebPublishObjects</a></code></li><li><code><a href="../RubyXL/WebPublishingItem.html">WebPublishingItem</a></code></li><li><code><a href="../RubyXL/WebPublishingItems.html">WebPublishingItems</a></code></li><li><code><a href="../RubyXL/WebPublishingProperties.html">WebPublishingProperties</a></code></li><li><code><a href="../RubyXL/WebQueryProperties.html">WebQueryProperties</a></code></li><li><code><a href="../RubyXL/Workbook.html">Workbook</a></code></li><li><code><a href="../RubyXL/WorkbookConvenienceMethods.html">WorkbookConvenienceMethods</a></code></li><li><code><a href="../RubyXL/WorkbookProperties.html">WorkbookProperties</a></code></li><li><code><a href="../RubyXL/WorkbookProtection.html">WorkbookProtection</a></code></li><li><code><a href="../RubyXL/WorkbookRoot.html">WorkbookRoot</a></code></li><li><code><a href="../RubyXL/WorkbookView.html">WorkbookView</a></code></li><li><code><a href="../RubyXL/WorkbookViews.html">WorkbookViews</a></code></li><li><code><a href="../RubyXL/Worksheet.html">Worksheet</a></code></li><li><code><a href="../RubyXL/WorksheetConvenienceMethods.html">WorksheetConvenienceMethods</a></code></li><li><code><a href="../RubyXL/WorksheetDimensions.html">WorksheetDimensions</a></code></li><li><code><a href="../RubyXL/WorksheetFormatProperties.html">WorksheetFormatProperties</a></code></li><li><code><a href="../RubyXL/WorksheetProperties.html">WorksheetProperties</a></code></li><li><code><a href="../RubyXL/WorksheetProtection.html">WorksheetProtection</a></code></li><li><code><a href="../RubyXL/WorksheetView.html">WorksheetView</a></code></li><li><code><a href="../RubyXL/WorksheetViews.html">WorksheetViews</a></code></li><li><code><a href="../RubyXL/XF.html">XF</a></code></li></ul></details></li></ul>
|
|
599
|
+
</details>
|
|
600
|
+
</div>
|
|
601
|
+
|
|
142
602
|
</nav>
|
|
143
603
|
|
|
144
|
-
<main role="main" aria-labelledby="module-
|
|
145
|
-
|
|
604
|
+
<main role="main" aria-labelledby="module-rubyxl-worksheetconveniencemethods">
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
<ol role="navigation" aria-label="Breadcrumb navigation" class="breadcrumb">
|
|
608
|
+
|
|
609
|
+
<li>
|
|
610
|
+
|
|
611
|
+
<a href="../RubyXL.html">RubyXL</a><span>::</span>
|
|
612
|
+
|
|
613
|
+
</li>
|
|
614
|
+
|
|
615
|
+
<li>
|
|
616
|
+
|
|
617
|
+
<span>WorksheetConvenienceMethods</span>
|
|
618
|
+
|
|
619
|
+
</li>
|
|
620
|
+
|
|
621
|
+
</ol>
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
<span id="module-RubyXL::WorksheetConvenienceMethods" class="legacy-anchor"></span>
|
|
625
|
+
<h1 id="module-rubyxl-worksheetconveniencemethods" class="anchor-link module">
|
|
146
626
|
module RubyXL::WorksheetConvenienceMethods
|
|
147
627
|
</h1>
|
|
148
628
|
|
|
@@ -150,52 +630,118 @@
|
|
|
150
630
|
|
|
151
631
|
</section>
|
|
152
632
|
|
|
153
|
-
|
|
633
|
+
|
|
634
|
+
<span id="5Buntitled-5D" class="legacy-anchor"></span>
|
|
635
|
+
<section class="documentation-section anchor-link">
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
|
|
154
639
|
|
|
155
640
|
|
|
156
641
|
<section class="constants-list">
|
|
157
642
|
<header>
|
|
158
|
-
<h3>Constants</h3>
|
|
643
|
+
<h3 id="untitled-constants"><a href="#untitled-constants">Constants</a></h3>
|
|
159
644
|
</header>
|
|
160
645
|
<dl>
|
|
161
|
-
|
|
646
|
+
|
|
647
|
+
<dt id="BOLD">BOLD</dt>
|
|
648
|
+
|
|
162
649
|
<dd>
|
|
163
|
-
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
</dd>
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
<dt id="COLOR">COLOR</dt>
|
|
656
|
+
|
|
164
657
|
<dd>
|
|
165
|
-
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
</dd>
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
<dt id="ITALICS">ITALICS</dt>
|
|
664
|
+
|
|
166
665
|
<dd>
|
|
167
|
-
|
|
666
|
+
|
|
667
|
+
|
|
668
|
+
</dd>
|
|
669
|
+
|
|
670
|
+
|
|
671
|
+
<dt id="NAME">NAME</dt>
|
|
672
|
+
|
|
168
673
|
<dd>
|
|
169
|
-
|
|
674
|
+
|
|
675
|
+
|
|
676
|
+
</dd>
|
|
677
|
+
|
|
678
|
+
|
|
679
|
+
<dt id="SIZE">SIZE</dt>
|
|
680
|
+
|
|
170
681
|
<dd>
|
|
171
|
-
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
</dd>
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
<dt id="STRIKETHROUGH">STRIKETHROUGH</dt>
|
|
688
|
+
|
|
172
689
|
<dd>
|
|
173
|
-
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
</dd>
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
<dt id="UNDERLINE">UNDERLINE</dt>
|
|
696
|
+
|
|
174
697
|
<dd>
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
</dd>
|
|
701
|
+
|
|
702
|
+
|
|
175
703
|
</dl>
|
|
176
704
|
</section>
|
|
177
705
|
|
|
178
706
|
|
|
179
707
|
|
|
180
|
-
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
<section id="public-instance-untitled-method-details" class="method-section anchor-link">
|
|
181
720
|
<header>
|
|
182
|
-
<h3>Public Instance Methods</h3>
|
|
721
|
+
<h3 id="public-instance-untitled-methods"><a href="#public-instance-untitled-methods">Public Instance Methods</a></h3>
|
|
183
722
|
</header>
|
|
184
723
|
|
|
185
|
-
|
|
724
|
+
|
|
725
|
+
<div id="method-i-add_validation_list" class="method-detail anchor-link ">
|
|
186
726
|
<div class="method-header">
|
|
187
|
-
|
|
188
|
-
<
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
727
|
+
|
|
728
|
+
<div class="method-heading">
|
|
729
|
+
<a href="#method-i-add_validation_list" title="Link to this method">
|
|
730
|
+
<span class="method-name">add_validation_list</span>
|
|
731
|
+
<span class="method-args">(ref, list_arr)</span>
|
|
732
|
+
</a>
|
|
733
|
+
</div>
|
|
734
|
+
|
|
192
735
|
</div>
|
|
193
736
|
|
|
194
|
-
<div class="method-description">
|
|
195
|
-
|
|
196
737
|
|
|
738
|
+
<div class="method-controls">
|
|
739
|
+
<details class="method-source-toggle">
|
|
740
|
+
<summary>Source</summary>
|
|
741
|
+
</details>
|
|
742
|
+
</div>
|
|
197
743
|
<div class="method-source-code" id="add_validation_list-source">
|
|
198
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 720</span>
|
|
744
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 720</span>
|
|
199
745
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">add_validation_list</span>(<span class="ruby-identifier">ref</span>, <span class="ruby-identifier">list_arr</span>)
|
|
200
746
|
<span class="ruby-comment"># "Any double quote characters in the value should be escaped with another double quote.</span>
|
|
201
747
|
<span class="ruby-comment"># If the value does not contain a comma, newline or double quote, then the String value should be returned unchanged.</span>
|
|
@@ -208,25 +754,44 @@
|
|
|
208
754
|
<span class="ruby-value">:type</span> <span class="ruby-operator">=></span> <span class="ruby-string">'list'</span>})
|
|
209
755
|
<span class="ruby-keyword">end</span></pre>
|
|
210
756
|
</div>
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
<div class="method-description">
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
|
|
764
|
+
|
|
765
|
+
|
|
211
766
|
</div>
|
|
212
767
|
|
|
213
768
|
|
|
769
|
+
|
|
770
|
+
|
|
771
|
+
|
|
214
772
|
</div>
|
|
215
773
|
|
|
216
|
-
|
|
774
|
+
|
|
775
|
+
<div id="method-i-change_column_alignment" class="method-detail anchor-link ">
|
|
217
776
|
<div class="method-header">
|
|
218
|
-
|
|
219
|
-
<
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
777
|
+
|
|
778
|
+
<div class="method-heading">
|
|
779
|
+
<a href="#method-i-change_column_alignment" title="Link to this method">
|
|
780
|
+
<span class="method-name">change_column_alignment</span>
|
|
781
|
+
<span class="method-args">(column_index, &block)</span>
|
|
782
|
+
</a>
|
|
783
|
+
</div>
|
|
784
|
+
|
|
223
785
|
</div>
|
|
224
786
|
|
|
225
|
-
<div class="method-description">
|
|
226
|
-
|
|
227
787
|
|
|
788
|
+
<div class="method-controls">
|
|
789
|
+
<details class="method-source-toggle">
|
|
790
|
+
<summary>Source</summary>
|
|
791
|
+
</details>
|
|
792
|
+
</div>
|
|
228
793
|
<div class="method-source-code" id="change_column_alignment-source">
|
|
229
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 675</span>
|
|
794
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 675</span>
|
|
230
795
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_column_alignment</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
|
231
796
|
<span class="ruby-identifier">validate_workbook</span>
|
|
232
797
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
|
|
@@ -243,25 +808,44 @@
|
|
|
243
808
|
}
|
|
244
809
|
<span class="ruby-keyword">end</span></pre>
|
|
245
810
|
</div>
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
|
|
814
|
+
<div class="method-description">
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
|
|
246
820
|
</div>
|
|
247
821
|
|
|
248
822
|
|
|
823
|
+
|
|
824
|
+
|
|
825
|
+
|
|
249
826
|
</div>
|
|
250
827
|
|
|
251
|
-
|
|
828
|
+
|
|
829
|
+
<div id="method-i-change_column_bold" class="method-detail anchor-link ">
|
|
252
830
|
<div class="method-header">
|
|
253
|
-
|
|
254
|
-
<
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
831
|
+
|
|
832
|
+
<div class="method-heading">
|
|
833
|
+
<a href="#method-i-change_column_bold" title="Link to this method">
|
|
834
|
+
<span class="method-name">change_column_bold</span>
|
|
835
|
+
<span class="method-args">(column_index, bolded = false)</span>
|
|
836
|
+
</a>
|
|
837
|
+
</div>
|
|
838
|
+
|
|
258
839
|
</div>
|
|
259
840
|
|
|
260
|
-
<div class="method-description">
|
|
261
|
-
|
|
262
841
|
|
|
842
|
+
<div class="method-controls">
|
|
843
|
+
<details class="method-source-toggle">
|
|
844
|
+
<summary>Source</summary>
|
|
845
|
+
</details>
|
|
846
|
+
</div>
|
|
263
847
|
<div class="method-source-code" id="change_column_bold-source">
|
|
264
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 606</span>
|
|
848
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 606</span>
|
|
265
849
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_column_bold</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">bolded</span> = <span class="ruby-keyword">false</span>)
|
|
266
850
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
|
267
851
|
<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>
|
|
@@ -269,25 +853,44 @@
|
|
|
269
853
|
<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>)
|
|
270
854
|
<span class="ruby-keyword">end</span></pre>
|
|
271
855
|
</div>
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
<div class="method-description">
|
|
860
|
+
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
|
|
272
865
|
</div>
|
|
273
866
|
|
|
274
867
|
|
|
868
|
+
|
|
869
|
+
|
|
870
|
+
|
|
275
871
|
</div>
|
|
276
872
|
|
|
277
|
-
|
|
873
|
+
|
|
874
|
+
<div id="method-i-change_column_border" class="method-detail anchor-link ">
|
|
278
875
|
<div class="method-header">
|
|
279
|
-
|
|
280
|
-
<
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
876
|
+
|
|
877
|
+
<div class="method-heading">
|
|
878
|
+
<a href="#method-i-change_column_border" title="Link to this method">
|
|
879
|
+
<span class="method-name">change_column_border</span>
|
|
880
|
+
<span class="method-args">(column_index, direction, weight)</span>
|
|
881
|
+
</a>
|
|
882
|
+
</div>
|
|
883
|
+
|
|
284
884
|
</div>
|
|
285
885
|
|
|
286
|
-
<div class="method-description">
|
|
287
|
-
|
|
288
886
|
|
|
887
|
+
<div class="method-controls">
|
|
888
|
+
<details class="method-source-toggle">
|
|
889
|
+
<summary>Source</summary>
|
|
890
|
+
</details>
|
|
891
|
+
</div>
|
|
289
892
|
<div class="method-source-code" id="change_column_border-source">
|
|
290
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 635</span>
|
|
893
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 635</span>
|
|
291
894
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_column_border</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">direction</span>, <span class="ruby-identifier">weight</span>)
|
|
292
895
|
<span class="ruby-identifier">validate_workbook</span>
|
|
293
896
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
|
|
@@ -302,25 +905,44 @@
|
|
|
302
905
|
}
|
|
303
906
|
<span class="ruby-keyword">end</span></pre>
|
|
304
907
|
</div>
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
<div class="method-description">
|
|
912
|
+
|
|
913
|
+
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
|
|
305
917
|
</div>
|
|
306
918
|
|
|
307
919
|
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
|
|
308
923
|
</div>
|
|
309
924
|
|
|
310
|
-
|
|
925
|
+
|
|
926
|
+
<div id="method-i-change_column_border_color" class="method-detail anchor-link ">
|
|
311
927
|
<div class="method-header">
|
|
312
|
-
|
|
313
|
-
<
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
928
|
+
|
|
929
|
+
<div class="method-heading">
|
|
930
|
+
<a href="#method-i-change_column_border_color" title="Link to this method">
|
|
931
|
+
<span class="method-name">change_column_border_color</span>
|
|
932
|
+
<span class="method-args">(column_index, direction, color)</span>
|
|
933
|
+
</a>
|
|
934
|
+
</div>
|
|
935
|
+
|
|
317
936
|
</div>
|
|
318
937
|
|
|
319
|
-
<div class="method-description">
|
|
320
|
-
|
|
321
938
|
|
|
939
|
+
<div class="method-controls">
|
|
940
|
+
<details class="method-source-toggle">
|
|
941
|
+
<summary>Source</summary>
|
|
942
|
+
</details>
|
|
943
|
+
</div>
|
|
322
944
|
<div class="method-source-code" id="change_column_border_color-source">
|
|
323
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 649</span>
|
|
945
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 649</span>
|
|
324
946
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_column_border_color</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">direction</span>, <span class="ruby-identifier">color</span>)
|
|
325
947
|
<span class="ruby-identifier">validate_workbook</span>
|
|
326
948
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
|
|
@@ -334,25 +956,44 @@
|
|
|
334
956
|
}
|
|
335
957
|
<span class="ruby-keyword">end</span></pre>
|
|
336
958
|
</div>
|
|
959
|
+
|
|
960
|
+
|
|
961
|
+
|
|
962
|
+
<div class="method-description">
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
|
|
967
|
+
|
|
337
968
|
</div>
|
|
338
969
|
|
|
339
970
|
|
|
971
|
+
|
|
972
|
+
|
|
973
|
+
|
|
340
974
|
</div>
|
|
341
975
|
|
|
342
|
-
|
|
976
|
+
|
|
977
|
+
<div id="method-i-change_column_fill" class="method-detail anchor-link ">
|
|
343
978
|
<div class="method-header">
|
|
344
|
-
|
|
345
|
-
<
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
979
|
+
|
|
980
|
+
<div class="method-heading">
|
|
981
|
+
<a href="#method-i-change_column_fill" title="Link to this method">
|
|
982
|
+
<span class="method-name">change_column_fill</span>
|
|
983
|
+
<span class="method-args">(column_index, color_code = 'ffffff')</span>
|
|
984
|
+
</a>
|
|
985
|
+
</div>
|
|
986
|
+
|
|
349
987
|
</div>
|
|
350
988
|
|
|
351
|
-
<div class="method-description">
|
|
352
|
-
|
|
353
989
|
|
|
990
|
+
<div class="method-controls">
|
|
991
|
+
<details class="method-source-toggle">
|
|
992
|
+
<summary>Source</summary>
|
|
993
|
+
</details>
|
|
994
|
+
</div>
|
|
354
995
|
<div class="method-source-code" id="change_column_fill-source">
|
|
355
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 401</span>
|
|
996
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 401</span>
|
|
356
997
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_column_fill</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">color_code</span> = <span class="ruby-string">'ffffff'</span>)
|
|
357
998
|
<span class="ruby-identifier">validate_workbook</span>
|
|
358
999
|
<span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">color_code</span>)
|
|
@@ -368,25 +1009,44 @@
|
|
|
368
1009
|
}
|
|
369
1010
|
<span class="ruby-keyword">end</span></pre>
|
|
370
1011
|
</div>
|
|
1012
|
+
|
|
1013
|
+
|
|
1014
|
+
|
|
1015
|
+
<div class="method-description">
|
|
1016
|
+
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
|
|
1020
|
+
|
|
371
1021
|
</div>
|
|
372
1022
|
|
|
373
1023
|
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
|
|
374
1027
|
</div>
|
|
375
1028
|
|
|
376
|
-
|
|
1029
|
+
|
|
1030
|
+
<div id="method-i-change_column_font" class="method-detail anchor-link ">
|
|
377
1031
|
<div class="method-header">
|
|
378
|
-
|
|
379
|
-
<
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
1032
|
+
|
|
1033
|
+
<div class="method-heading">
|
|
1034
|
+
<a href="#method-i-change_column_font" title="Link to this method">
|
|
1035
|
+
<span class="method-name">change_column_font</span>
|
|
1036
|
+
<span class="method-args">(column_index, change_type, arg, font, xf)</span>
|
|
1037
|
+
</a>
|
|
1038
|
+
</div>
|
|
1039
|
+
|
|
383
1040
|
</div>
|
|
384
1041
|
|
|
385
|
-
<div class="method-description">
|
|
386
|
-
<p>Helper method to update the fonts and cell styles array main method to change font, called from each separate font mutator method</p>
|
|
387
1042
|
|
|
1043
|
+
<div class="method-controls">
|
|
1044
|
+
<details class="method-source-toggle">
|
|
1045
|
+
<summary>Source</summary>
|
|
1046
|
+
</details>
|
|
1047
|
+
</div>
|
|
388
1048
|
<div class="method-source-code" id="change_column_font-source">
|
|
389
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 563</span>
|
|
1049
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 563</span>
|
|
390
1050
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_column_font</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">change_type</span>, <span class="ruby-identifier">arg</span>, <span class="ruby-identifier">font</span>, <span class="ruby-identifier">xf</span>)
|
|
391
1051
|
<span class="ruby-identifier">validate_workbook</span>
|
|
392
1052
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
|
|
@@ -400,25 +1060,44 @@
|
|
|
400
1060
|
}
|
|
401
1061
|
<span class="ruby-keyword">end</span></pre>
|
|
402
1062
|
</div>
|
|
1063
|
+
|
|
1064
|
+
|
|
1065
|
+
|
|
1066
|
+
<div class="method-description">
|
|
1067
|
+
|
|
1068
|
+
|
|
1069
|
+
<p>Helper method to update the fonts and cell styles array main method to change font, called from each separate font mutator method</p>
|
|
1070
|
+
|
|
1071
|
+
|
|
403
1072
|
</div>
|
|
404
1073
|
|
|
405
1074
|
|
|
1075
|
+
|
|
1076
|
+
|
|
1077
|
+
|
|
406
1078
|
</div>
|
|
407
1079
|
|
|
408
|
-
|
|
1080
|
+
|
|
1081
|
+
<div id="method-i-change_column_font_color" class="method-detail anchor-link ">
|
|
409
1082
|
<div class="method-header">
|
|
410
|
-
|
|
411
|
-
<
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
1083
|
+
|
|
1084
|
+
<div class="method-heading">
|
|
1085
|
+
<a href="#method-i-change_column_font_color" title="Link to this method">
|
|
1086
|
+
<span class="method-name">change_column_font_color</span>
|
|
1087
|
+
<span class="method-args">(column_index, font_color='000000')</span>
|
|
1088
|
+
</a>
|
|
1089
|
+
</div>
|
|
1090
|
+
|
|
415
1091
|
</div>
|
|
416
1092
|
|
|
417
|
-
<div class="method-description">
|
|
418
|
-
|
|
419
1093
|
|
|
1094
|
+
<div class="method-controls">
|
|
1095
|
+
<details class="method-source-toggle">
|
|
1096
|
+
<summary>Source</summary>
|
|
1097
|
+
</details>
|
|
1098
|
+
</div>
|
|
420
1099
|
<div class="method-source-code" id="change_column_font_color-source">
|
|
421
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 590</span>
|
|
1100
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 590</span>
|
|
422
1101
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">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>)
|
|
423
1102
|
<span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">font_color</span>)
|
|
424
1103
|
|
|
@@ -428,25 +1107,44 @@
|
|
|
428
1107
|
<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>)
|
|
429
1108
|
<span class="ruby-keyword">end</span></pre>
|
|
430
1109
|
</div>
|
|
1110
|
+
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
<div class="method-description">
|
|
1114
|
+
|
|
1115
|
+
|
|
1116
|
+
|
|
1117
|
+
|
|
1118
|
+
|
|
431
1119
|
</div>
|
|
432
1120
|
|
|
433
1121
|
|
|
1122
|
+
|
|
1123
|
+
|
|
1124
|
+
|
|
434
1125
|
</div>
|
|
435
1126
|
|
|
436
|
-
|
|
1127
|
+
|
|
1128
|
+
<div id="method-i-change_column_font_name" class="method-detail anchor-link ">
|
|
437
1129
|
<div class="method-header">
|
|
438
|
-
|
|
439
|
-
<
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
1130
|
+
|
|
1131
|
+
<div class="method-heading">
|
|
1132
|
+
<a href="#method-i-change_column_font_name" title="Link to this method">
|
|
1133
|
+
<span class="method-name">change_column_font_name</span>
|
|
1134
|
+
<span class="method-args">(column_index = 0, font_name = 'Verdana')</span>
|
|
1135
|
+
</a>
|
|
1136
|
+
</div>
|
|
1137
|
+
|
|
443
1138
|
</div>
|
|
444
1139
|
|
|
445
|
-
<div class="method-description">
|
|
446
|
-
|
|
447
1140
|
|
|
1141
|
+
<div class="method-controls">
|
|
1142
|
+
<details class="method-source-toggle">
|
|
1143
|
+
<summary>Source</summary>
|
|
1144
|
+
</details>
|
|
1145
|
+
</div>
|
|
448
1146
|
<div class="method-source-code" id="change_column_font_name-source">
|
|
449
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 576</span>
|
|
1147
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 576</span>
|
|
450
1148
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">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>)
|
|
451
1149
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
|
452
1150
|
<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>
|
|
@@ -454,25 +1152,44 @@
|
|
|
454
1152
|
<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>)
|
|
455
1153
|
<span class="ruby-keyword">end</span></pre>
|
|
456
1154
|
</div>
|
|
1155
|
+
|
|
1156
|
+
|
|
1157
|
+
|
|
1158
|
+
<div class="method-description">
|
|
1159
|
+
|
|
1160
|
+
|
|
1161
|
+
|
|
1162
|
+
|
|
1163
|
+
|
|
457
1164
|
</div>
|
|
458
1165
|
|
|
459
1166
|
|
|
1167
|
+
|
|
1168
|
+
|
|
1169
|
+
|
|
460
1170
|
</div>
|
|
461
1171
|
|
|
462
|
-
|
|
1172
|
+
|
|
1173
|
+
<div id="method-i-change_column_font_size" class="method-detail anchor-link ">
|
|
463
1174
|
<div class="method-header">
|
|
464
|
-
|
|
465
|
-
<
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
1175
|
+
|
|
1176
|
+
<div class="method-heading">
|
|
1177
|
+
<a href="#method-i-change_column_font_size" title="Link to this method">
|
|
1178
|
+
<span class="method-name">change_column_font_size</span>
|
|
1179
|
+
<span class="method-args">(column_index, font_size=10)</span>
|
|
1180
|
+
</a>
|
|
1181
|
+
</div>
|
|
1182
|
+
|
|
469
1183
|
</div>
|
|
470
1184
|
|
|
471
|
-
<div class="method-description">
|
|
472
|
-
|
|
473
1185
|
|
|
1186
|
+
<div class="method-controls">
|
|
1187
|
+
<details class="method-source-toggle">
|
|
1188
|
+
<summary>Source</summary>
|
|
1189
|
+
</details>
|
|
1190
|
+
</div>
|
|
474
1191
|
<div class="method-source-code" id="change_column_font_size-source">
|
|
475
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 583</span>
|
|
1192
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 583</span>
|
|
476
1193
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">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>)
|
|
477
1194
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
|
478
1195
|
<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>
|
|
@@ -480,48 +1197,86 @@
|
|
|
480
1197
|
<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>)
|
|
481
1198
|
<span class="ruby-keyword">end</span></pre>
|
|
482
1199
|
</div>
|
|
1200
|
+
|
|
1201
|
+
|
|
1202
|
+
|
|
1203
|
+
<div class="method-description">
|
|
1204
|
+
|
|
1205
|
+
|
|
1206
|
+
|
|
1207
|
+
|
|
1208
|
+
|
|
483
1209
|
</div>
|
|
484
1210
|
|
|
485
1211
|
|
|
1212
|
+
|
|
1213
|
+
|
|
1214
|
+
|
|
486
1215
|
</div>
|
|
487
1216
|
|
|
488
|
-
|
|
1217
|
+
|
|
1218
|
+
<div id="method-i-change_column_horizontal_alignment" class="method-detail anchor-link ">
|
|
489
1219
|
<div class="method-header">
|
|
490
|
-
|
|
491
|
-
<
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
1220
|
+
|
|
1221
|
+
<div class="method-heading">
|
|
1222
|
+
<a href="#method-i-change_column_horizontal_alignment" title="Link to this method">
|
|
1223
|
+
<span class="method-name">change_column_horizontal_alignment</span>
|
|
1224
|
+
<span class="method-args">(column_index, alignment = 'center')</span>
|
|
1225
|
+
</a>
|
|
1226
|
+
</div>
|
|
1227
|
+
|
|
495
1228
|
</div>
|
|
496
1229
|
|
|
497
|
-
<div class="method-description">
|
|
498
|
-
|
|
499
1230
|
|
|
1231
|
+
<div class="method-controls">
|
|
1232
|
+
<details class="method-source-toggle">
|
|
1233
|
+
<summary>Source</summary>
|
|
1234
|
+
</details>
|
|
1235
|
+
</div>
|
|
500
1236
|
<div class="method-source-code" id="change_column_horizontal_alignment-source">
|
|
501
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 627</span>
|
|
1237
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 627</span>
|
|
502
1238
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_column_horizontal_alignment</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">alignment</span> = <span class="ruby-string">'center'</span>)
|
|
503
1239
|
<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> }
|
|
504
1240
|
<span class="ruby-keyword">end</span></pre>
|
|
505
1241
|
</div>
|
|
1242
|
+
|
|
1243
|
+
|
|
1244
|
+
|
|
1245
|
+
<div class="method-description">
|
|
1246
|
+
|
|
1247
|
+
|
|
1248
|
+
|
|
1249
|
+
|
|
1250
|
+
|
|
506
1251
|
</div>
|
|
507
1252
|
|
|
508
1253
|
|
|
1254
|
+
|
|
1255
|
+
|
|
1256
|
+
|
|
509
1257
|
</div>
|
|
510
1258
|
|
|
511
|
-
|
|
1259
|
+
|
|
1260
|
+
<div id="method-i-change_column_italics" class="method-detail anchor-link ">
|
|
512
1261
|
<div class="method-header">
|
|
513
|
-
|
|
514
|
-
<
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
1262
|
+
|
|
1263
|
+
<div class="method-heading">
|
|
1264
|
+
<a href="#method-i-change_column_italics" title="Link to this method">
|
|
1265
|
+
<span class="method-name">change_column_italics</span>
|
|
1266
|
+
<span class="method-args">(column_index, italicized = false)</span>
|
|
1267
|
+
</a>
|
|
1268
|
+
</div>
|
|
1269
|
+
|
|
518
1270
|
</div>
|
|
519
1271
|
|
|
520
|
-
<div class="method-description">
|
|
521
|
-
|
|
522
1272
|
|
|
1273
|
+
<div class="method-controls">
|
|
1274
|
+
<details class="method-source-toggle">
|
|
1275
|
+
<summary>Source</summary>
|
|
1276
|
+
</details>
|
|
1277
|
+
</div>
|
|
523
1278
|
<div class="method-source-code" id="change_column_italics-source">
|
|
524
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 599</span>
|
|
1279
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 599</span>
|
|
525
1280
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_column_italics</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">italicized</span> = <span class="ruby-keyword">false</span>)
|
|
526
1281
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
|
527
1282
|
<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>
|
|
@@ -529,25 +1284,44 @@
|
|
|
529
1284
|
<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>)
|
|
530
1285
|
<span class="ruby-keyword">end</span></pre>
|
|
531
1286
|
</div>
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
|
|
1290
|
+
<div class="method-description">
|
|
1291
|
+
|
|
1292
|
+
|
|
1293
|
+
|
|
1294
|
+
|
|
1295
|
+
|
|
532
1296
|
</div>
|
|
533
1297
|
|
|
534
1298
|
|
|
1299
|
+
|
|
1300
|
+
|
|
1301
|
+
|
|
535
1302
|
</div>
|
|
536
1303
|
|
|
537
|
-
|
|
1304
|
+
|
|
1305
|
+
<div id="method-i-change_column_strikethrough" class="method-detail anchor-link ">
|
|
538
1306
|
<div class="method-header">
|
|
539
|
-
|
|
540
|
-
<
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
1307
|
+
|
|
1308
|
+
<div class="method-heading">
|
|
1309
|
+
<a href="#method-i-change_column_strikethrough" title="Link to this method">
|
|
1310
|
+
<span class="method-name">change_column_strikethrough</span>
|
|
1311
|
+
<span class="method-args">(column_index, struckthrough=false)</span>
|
|
1312
|
+
</a>
|
|
1313
|
+
</div>
|
|
1314
|
+
|
|
544
1315
|
</div>
|
|
545
1316
|
|
|
546
|
-
<div class="method-description">
|
|
547
|
-
|
|
548
1317
|
|
|
1318
|
+
<div class="method-controls">
|
|
1319
|
+
<details class="method-source-toggle">
|
|
1320
|
+
<summary>Source</summary>
|
|
1321
|
+
</details>
|
|
1322
|
+
</div>
|
|
549
1323
|
<div class="method-source-code" id="change_column_strikethrough-source">
|
|
550
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 620</span>
|
|
1324
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 620</span>
|
|
551
1325
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_column_strikethrough</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">struckthrough</span>=<span class="ruby-keyword">false</span>)
|
|
552
1326
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
|
553
1327
|
<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>
|
|
@@ -555,25 +1329,44 @@
|
|
|
555
1329
|
<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>)
|
|
556
1330
|
<span class="ruby-keyword">end</span></pre>
|
|
557
1331
|
</div>
|
|
1332
|
+
|
|
1333
|
+
|
|
1334
|
+
|
|
1335
|
+
<div class="method-description">
|
|
1336
|
+
|
|
1337
|
+
|
|
1338
|
+
|
|
1339
|
+
|
|
1340
|
+
|
|
558
1341
|
</div>
|
|
559
1342
|
|
|
560
1343
|
|
|
1344
|
+
|
|
1345
|
+
|
|
1346
|
+
|
|
561
1347
|
</div>
|
|
562
1348
|
|
|
563
|
-
|
|
1349
|
+
|
|
1350
|
+
<div id="method-i-change_column_underline" class="method-detail anchor-link ">
|
|
564
1351
|
<div class="method-header">
|
|
565
|
-
|
|
566
|
-
<
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
1352
|
+
|
|
1353
|
+
<div class="method-heading">
|
|
1354
|
+
<a href="#method-i-change_column_underline" title="Link to this method">
|
|
1355
|
+
<span class="method-name">change_column_underline</span>
|
|
1356
|
+
<span class="method-args">(column_index, underlined = false)</span>
|
|
1357
|
+
</a>
|
|
1358
|
+
</div>
|
|
1359
|
+
|
|
570
1360
|
</div>
|
|
571
1361
|
|
|
572
|
-
<div class="method-description">
|
|
573
|
-
|
|
574
1362
|
|
|
1363
|
+
<div class="method-controls">
|
|
1364
|
+
<details class="method-source-toggle">
|
|
1365
|
+
<summary>Source</summary>
|
|
1366
|
+
</details>
|
|
1367
|
+
</div>
|
|
575
1368
|
<div class="method-source-code" id="change_column_underline-source">
|
|
576
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 613</span>
|
|
1369
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 613</span>
|
|
577
1370
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_column_underline</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">underlined</span> = <span class="ruby-keyword">false</span>)
|
|
578
1371
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
|
579
1372
|
<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>
|
|
@@ -581,71 +1374,128 @@
|
|
|
581
1374
|
<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>)
|
|
582
1375
|
<span class="ruby-keyword">end</span></pre>
|
|
583
1376
|
</div>
|
|
1377
|
+
|
|
1378
|
+
|
|
1379
|
+
|
|
1380
|
+
<div class="method-description">
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
|
|
1384
|
+
|
|
1385
|
+
|
|
584
1386
|
</div>
|
|
585
1387
|
|
|
586
1388
|
|
|
1389
|
+
|
|
1390
|
+
|
|
1391
|
+
|
|
587
1392
|
</div>
|
|
588
1393
|
|
|
589
|
-
|
|
1394
|
+
|
|
1395
|
+
<div id="method-i-change_column_vertical_alignment" class="method-detail anchor-link ">
|
|
590
1396
|
<div class="method-header">
|
|
591
|
-
|
|
592
|
-
<
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
1397
|
+
|
|
1398
|
+
<div class="method-heading">
|
|
1399
|
+
<a href="#method-i-change_column_vertical_alignment" title="Link to this method">
|
|
1400
|
+
<span class="method-name">change_column_vertical_alignment</span>
|
|
1401
|
+
<span class="method-args">(column_index, alignment = 'center')</span>
|
|
1402
|
+
</a>
|
|
1403
|
+
</div>
|
|
1404
|
+
|
|
596
1405
|
</div>
|
|
597
1406
|
|
|
598
|
-
<div class="method-description">
|
|
599
|
-
|
|
600
1407
|
|
|
1408
|
+
<div class="method-controls">
|
|
1409
|
+
<details class="method-source-toggle">
|
|
1410
|
+
<summary>Source</summary>
|
|
1411
|
+
</details>
|
|
1412
|
+
</div>
|
|
601
1413
|
<div class="method-source-code" id="change_column_vertical_alignment-source">
|
|
602
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 631</span>
|
|
1414
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 631</span>
|
|
603
1415
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_column_vertical_alignment</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">alignment</span> = <span class="ruby-string">'center'</span>)
|
|
604
1416
|
<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> }
|
|
605
1417
|
<span class="ruby-keyword">end</span></pre>
|
|
606
1418
|
</div>
|
|
1419
|
+
|
|
1420
|
+
|
|
1421
|
+
|
|
1422
|
+
<div class="method-description">
|
|
1423
|
+
|
|
1424
|
+
|
|
1425
|
+
|
|
1426
|
+
|
|
1427
|
+
|
|
607
1428
|
</div>
|
|
608
1429
|
|
|
609
1430
|
|
|
1431
|
+
|
|
1432
|
+
|
|
1433
|
+
|
|
610
1434
|
</div>
|
|
611
1435
|
|
|
612
|
-
|
|
1436
|
+
|
|
1437
|
+
<div id="method-i-change_column_width" class="method-detail anchor-link ">
|
|
613
1438
|
<div class="method-header">
|
|
614
|
-
|
|
615
|
-
<
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
1439
|
+
|
|
1440
|
+
<div class="method-heading">
|
|
1441
|
+
<a href="#method-i-change_column_width" title="Link to this method">
|
|
1442
|
+
<span class="method-name">change_column_width</span>
|
|
1443
|
+
<span class="method-args">(column_index, width_in_chars = RubyXL::ColumnRange::DEFAULT_WIDTH)</span>
|
|
1444
|
+
</a>
|
|
1445
|
+
</div>
|
|
1446
|
+
|
|
619
1447
|
</div>
|
|
620
1448
|
|
|
621
|
-
<div class="method-description">
|
|
622
|
-
<p>Get column width measured in number of digits, as per <a 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>
|
|
623
1449
|
|
|
1450
|
+
<div class="method-controls">
|
|
1451
|
+
<details class="method-source-toggle">
|
|
1452
|
+
<summary>Source</summary>
|
|
1453
|
+
</details>
|
|
1454
|
+
</div>
|
|
624
1455
|
<div class="method-source-code" id="change_column_width-source">
|
|
625
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 384</span>
|
|
1456
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 384</span>
|
|
626
1457
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">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>)
|
|
627
1458
|
<span class="ruby-identifier">change_column_width_raw</span>(<span class="ruby-identifier">column_index</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-identifier">chars2raw</span>(<span class="ruby-identifier">width_in_chars</span>))
|
|
628
1459
|
<span class="ruby-keyword">end</span></pre>
|
|
629
1460
|
</div>
|
|
1461
|
+
|
|
1462
|
+
|
|
1463
|
+
|
|
1464
|
+
<div class="method-description">
|
|
1465
|
+
|
|
1466
|
+
|
|
1467
|
+
<p>Get column width measured in number of digits, as per <a 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>
|
|
1468
|
+
|
|
1469
|
+
|
|
630
1470
|
</div>
|
|
631
1471
|
|
|
632
1472
|
|
|
1473
|
+
|
|
1474
|
+
|
|
1475
|
+
|
|
633
1476
|
</div>
|
|
634
1477
|
|
|
635
|
-
|
|
1478
|
+
|
|
1479
|
+
<div id="method-i-change_column_width_raw" class="method-detail anchor-link ">
|
|
636
1480
|
<div class="method-header">
|
|
637
|
-
|
|
638
|
-
<
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
1481
|
+
|
|
1482
|
+
<div class="method-heading">
|
|
1483
|
+
<a href="#method-i-change_column_width_raw" title="Link to this method">
|
|
1484
|
+
<span class="method-name">change_column_width_raw</span>
|
|
1485
|
+
<span class="method-args">(column_index, width)</span>
|
|
1486
|
+
</a>
|
|
1487
|
+
</div>
|
|
1488
|
+
|
|
642
1489
|
</div>
|
|
643
1490
|
|
|
644
|
-
<div class="method-description">
|
|
645
|
-
<p>Set raw column width value</p>
|
|
646
1491
|
|
|
1492
|
+
<div class="method-controls">
|
|
1493
|
+
<details class="method-source-toggle">
|
|
1494
|
+
<summary>Source</summary>
|
|
1495
|
+
</details>
|
|
1496
|
+
</div>
|
|
647
1497
|
<div class="method-source-code" id="change_column_width_raw-source">
|
|
648
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 374</span>
|
|
1498
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 374</span>
|
|
649
1499
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_column_width_raw</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">width</span>)
|
|
650
1500
|
<span class="ruby-identifier">validate_workbook</span>
|
|
651
1501
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
|
|
@@ -654,25 +1504,44 @@
|
|
|
654
1504
|
<span class="ruby-identifier">range</span>.<span class="ruby-identifier">custom_width</span> = <span class="ruby-keyword">true</span>
|
|
655
1505
|
<span class="ruby-keyword">end</span></pre>
|
|
656
1506
|
</div>
|
|
1507
|
+
|
|
1508
|
+
|
|
1509
|
+
|
|
1510
|
+
<div class="method-description">
|
|
1511
|
+
|
|
1512
|
+
|
|
1513
|
+
<p>Set raw column width value</p>
|
|
1514
|
+
|
|
1515
|
+
|
|
657
1516
|
</div>
|
|
658
1517
|
|
|
659
1518
|
|
|
1519
|
+
|
|
1520
|
+
|
|
1521
|
+
|
|
660
1522
|
</div>
|
|
661
1523
|
|
|
662
|
-
|
|
1524
|
+
|
|
1525
|
+
<div id="method-i-change_row_alignment" class="method-detail anchor-link ">
|
|
663
1526
|
<div class="method-header">
|
|
664
|
-
|
|
665
|
-
<
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
1527
|
+
|
|
1528
|
+
<div class="method-heading">
|
|
1529
|
+
<a href="#method-i-change_row_alignment" title="Link to this method">
|
|
1530
|
+
<span class="method-name">change_row_alignment</span>
|
|
1531
|
+
<span class="method-args">(row, &block)</span>
|
|
1532
|
+
</a>
|
|
1533
|
+
</div>
|
|
1534
|
+
|
|
669
1535
|
</div>
|
|
670
1536
|
|
|
671
|
-
<div class="method-description">
|
|
672
|
-
|
|
673
1537
|
|
|
1538
|
+
<div class="method-controls">
|
|
1539
|
+
<details class="method-source-toggle">
|
|
1540
|
+
<summary>Source</summary>
|
|
1541
|
+
</details>
|
|
1542
|
+
</div>
|
|
674
1543
|
<div class="method-source-code" id="change_row_alignment-source">
|
|
675
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 662</span>
|
|
1544
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 662</span>
|
|
676
1545
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_row_alignment</span>(<span class="ruby-identifier">row</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
|
677
1546
|
<span class="ruby-identifier">validate_workbook</span>
|
|
678
1547
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
|
|
@@ -686,25 +1555,44 @@
|
|
|
686
1555
|
}
|
|
687
1556
|
<span class="ruby-keyword">end</span></pre>
|
|
688
1557
|
</div>
|
|
1558
|
+
|
|
1559
|
+
|
|
1560
|
+
|
|
1561
|
+
<div class="method-description">
|
|
1562
|
+
|
|
1563
|
+
|
|
1564
|
+
|
|
1565
|
+
|
|
1566
|
+
|
|
689
1567
|
</div>
|
|
690
1568
|
|
|
691
1569
|
|
|
1570
|
+
|
|
1571
|
+
|
|
1572
|
+
|
|
692
1573
|
</div>
|
|
693
1574
|
|
|
694
|
-
|
|
1575
|
+
|
|
1576
|
+
<div id="method-i-change_row_bold" class="method-detail anchor-link ">
|
|
695
1577
|
<div class="method-header">
|
|
696
|
-
|
|
697
|
-
<
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
1578
|
+
|
|
1579
|
+
<div class="method-heading">
|
|
1580
|
+
<a href="#method-i-change_row_bold" title="Link to this method">
|
|
1581
|
+
<span class="method-name">change_row_bold</span>
|
|
1582
|
+
<span class="method-args">(row = 0, bolded = false)</span>
|
|
1583
|
+
</a>
|
|
1584
|
+
</div>
|
|
1585
|
+
|
|
701
1586
|
</div>
|
|
702
1587
|
|
|
703
|
-
<div class="method-description">
|
|
704
|
-
|
|
705
1588
|
|
|
1589
|
+
<div class="method-controls">
|
|
1590
|
+
<details class="method-source-toggle">
|
|
1591
|
+
<summary>Source</summary>
|
|
1592
|
+
</details>
|
|
1593
|
+
</div>
|
|
706
1594
|
<div class="method-source-code" id="change_row_bold-source">
|
|
707
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 531</span>
|
|
1595
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 531</span>
|
|
708
1596
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">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>)
|
|
709
1597
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
710
1598
|
<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>
|
|
@@ -712,25 +1600,44 @@
|
|
|
712
1600
|
<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>)
|
|
713
1601
|
<span class="ruby-keyword">end</span></pre>
|
|
714
1602
|
</div>
|
|
1603
|
+
|
|
1604
|
+
|
|
1605
|
+
|
|
1606
|
+
<div class="method-description">
|
|
1607
|
+
|
|
1608
|
+
|
|
1609
|
+
|
|
1610
|
+
|
|
1611
|
+
|
|
715
1612
|
</div>
|
|
716
1613
|
|
|
717
1614
|
|
|
1615
|
+
|
|
1616
|
+
|
|
1617
|
+
|
|
718
1618
|
</div>
|
|
719
1619
|
|
|
720
|
-
|
|
1620
|
+
|
|
1621
|
+
<div id="method-i-change_row_border" class="method-detail anchor-link ">
|
|
721
1622
|
<div class="method-header">
|
|
722
|
-
|
|
723
|
-
<
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
1623
|
+
|
|
1624
|
+
<div class="method-heading">
|
|
1625
|
+
<a href="#method-i-change_row_border" title="Link to this method">
|
|
1626
|
+
<span class="method-name">change_row_border</span>
|
|
1627
|
+
<span class="method-args">(row, direction, weight)</span>
|
|
1628
|
+
</a>
|
|
1629
|
+
</div>
|
|
1630
|
+
|
|
727
1631
|
</div>
|
|
728
1632
|
|
|
729
|
-
<div class="method-description">
|
|
730
|
-
|
|
731
1633
|
|
|
1634
|
+
<div class="method-controls">
|
|
1635
|
+
<details class="method-source-toggle">
|
|
1636
|
+
<summary>Source</summary>
|
|
1637
|
+
</details>
|
|
1638
|
+
</div>
|
|
732
1639
|
<div class="method-source-code" id="change_row_border-source">
|
|
733
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 457</span>
|
|
1640
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 457</span>
|
|
734
1641
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">direction</span>, <span class="ruby-identifier">weight</span>)
|
|
735
1642
|
<span class="ruby-identifier">validate_workbook</span>
|
|
736
1643
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
@@ -742,25 +1649,44 @@
|
|
|
742
1649
|
}
|
|
743
1650
|
<span class="ruby-keyword">end</span></pre>
|
|
744
1651
|
</div>
|
|
1652
|
+
|
|
1653
|
+
|
|
1654
|
+
|
|
1655
|
+
<div class="method-description">
|
|
1656
|
+
|
|
1657
|
+
|
|
1658
|
+
|
|
1659
|
+
|
|
1660
|
+
|
|
745
1661
|
</div>
|
|
746
1662
|
|
|
747
1663
|
|
|
1664
|
+
|
|
1665
|
+
|
|
1666
|
+
|
|
748
1667
|
</div>
|
|
749
1668
|
|
|
750
|
-
|
|
1669
|
+
|
|
1670
|
+
<div id="method-i-change_row_border_color" class="method-detail anchor-link ">
|
|
751
1671
|
<div class="method-header">
|
|
752
|
-
|
|
753
|
-
<
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
1672
|
+
|
|
1673
|
+
<div class="method-heading">
|
|
1674
|
+
<a href="#method-i-change_row_border_color" title="Link to this method">
|
|
1675
|
+
<span class="method-name">change_row_border_color</span>
|
|
1676
|
+
<span class="method-args">(row, direction, color = '000000')</span>
|
|
1677
|
+
</a>
|
|
1678
|
+
</div>
|
|
1679
|
+
|
|
757
1680
|
</div>
|
|
758
1681
|
|
|
759
|
-
<div class="method-description">
|
|
760
|
-
|
|
761
1682
|
|
|
1683
|
+
<div class="method-controls">
|
|
1684
|
+
<details class="method-source-toggle">
|
|
1685
|
+
<summary>Source</summary>
|
|
1686
|
+
</details>
|
|
1687
|
+
</div>
|
|
762
1688
|
<div class="method-source-code" id="change_row_border_color-source">
|
|
763
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 468</span>
|
|
1689
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 468</span>
|
|
764
1690
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_row_border_color</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">direction</span>, <span class="ruby-identifier">color</span> = <span class="ruby-string">'000000'</span>)
|
|
765
1691
|
<span class="ruby-identifier">validate_workbook</span>
|
|
766
1692
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
@@ -773,25 +1699,44 @@
|
|
|
773
1699
|
}
|
|
774
1700
|
<span class="ruby-keyword">end</span></pre>
|
|
775
1701
|
</div>
|
|
1702
|
+
|
|
1703
|
+
|
|
1704
|
+
|
|
1705
|
+
<div class="method-description">
|
|
1706
|
+
|
|
1707
|
+
|
|
1708
|
+
|
|
1709
|
+
|
|
1710
|
+
|
|
776
1711
|
</div>
|
|
777
1712
|
|
|
778
1713
|
|
|
1714
|
+
|
|
1715
|
+
|
|
1716
|
+
|
|
779
1717
|
</div>
|
|
780
1718
|
|
|
781
|
-
|
|
1719
|
+
|
|
1720
|
+
<div id="method-i-change_row_fill" class="method-detail anchor-link ">
|
|
782
1721
|
<div class="method-header">
|
|
783
|
-
|
|
784
|
-
<
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
1722
|
+
|
|
1723
|
+
<div class="method-heading">
|
|
1724
|
+
<a href="#method-i-change_row_fill" title="Link to this method">
|
|
1725
|
+
<span class="method-name">change_row_fill</span>
|
|
1726
|
+
<span class="method-args">(row_index = 0, rgb = 'ffffff')</span>
|
|
1727
|
+
</a>
|
|
1728
|
+
</div>
|
|
1729
|
+
|
|
788
1730
|
</div>
|
|
789
1731
|
|
|
790
|
-
<div class="method-description">
|
|
791
|
-
|
|
792
1732
|
|
|
1733
|
+
<div class="method-controls">
|
|
1734
|
+
<details class="method-source-toggle">
|
|
1735
|
+
<summary>Source</summary>
|
|
1736
|
+
</details>
|
|
1737
|
+
</div>
|
|
793
1738
|
<div class="method-source-code" id="change_row_fill-source">
|
|
794
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 480</span>
|
|
1739
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 480</span>
|
|
795
1740
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_row_fill</span>(<span class="ruby-identifier">row_index</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">rgb</span> = <span class="ruby-string">'ffffff'</span>)
|
|
796
1741
|
<span class="ruby-identifier">validate_workbook</span>
|
|
797
1742
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row_index</span>)
|
|
@@ -801,25 +1746,44 @@
|
|
|
801
1746
|
<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> }
|
|
802
1747
|
<span class="ruby-keyword">end</span></pre>
|
|
803
1748
|
</div>
|
|
1749
|
+
|
|
1750
|
+
|
|
1751
|
+
|
|
1752
|
+
<div class="method-description">
|
|
1753
|
+
|
|
1754
|
+
|
|
1755
|
+
|
|
1756
|
+
|
|
1757
|
+
|
|
804
1758
|
</div>
|
|
805
1759
|
|
|
806
1760
|
|
|
1761
|
+
|
|
1762
|
+
|
|
1763
|
+
|
|
807
1764
|
</div>
|
|
808
1765
|
|
|
809
|
-
|
|
1766
|
+
|
|
1767
|
+
<div id="method-i-change_row_font" class="method-detail anchor-link ">
|
|
810
1768
|
<div class="method-header">
|
|
811
|
-
|
|
812
|
-
<
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
1769
|
+
|
|
1770
|
+
<div class="method-heading">
|
|
1771
|
+
<a href="#method-i-change_row_font" title="Link to this method">
|
|
1772
|
+
<span class="method-name">change_row_font</span>
|
|
1773
|
+
<span class="method-args">(row_index, change_type, arg, font)</span>
|
|
1774
|
+
</a>
|
|
1775
|
+
</div>
|
|
1776
|
+
|
|
816
1777
|
</div>
|
|
817
1778
|
|
|
818
|
-
<div class="method-description">
|
|
819
|
-
<p>Helper method to update the row styles array change_type - <a href="WorksheetConvenienceMethods.html#NAME"><code>NAME</code></a> or <a href="WorksheetConvenienceMethods.html#SIZE"><code>SIZE</code></a> or <a href="WorksheetConvenienceMethods.html#COLOR"><code>COLOR</code></a> etc main method to change font, called from each separate font mutator method</p>
|
|
820
1779
|
|
|
1780
|
+
<div class="method-controls">
|
|
1781
|
+
<details class="method-source-toggle">
|
|
1782
|
+
<summary>Source</summary>
|
|
1783
|
+
</details>
|
|
1784
|
+
</div>
|
|
821
1785
|
<div class="method-source-code" id="change_row_font-source">
|
|
822
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 492</span>
|
|
1786
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 492</span>
|
|
823
1787
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_row_font</span>(<span class="ruby-identifier">row_index</span>, <span class="ruby-identifier">change_type</span>, <span class="ruby-identifier">arg</span>, <span class="ruby-identifier">font</span>)
|
|
824
1788
|
<span class="ruby-identifier">validate_workbook</span>
|
|
825
1789
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row_index</span>)
|
|
@@ -830,25 +1794,44 @@
|
|
|
830
1794
|
<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> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">font_switch</span>(<span class="ruby-identifier">change_type</span>, <span class="ruby-identifier">arg</span>) <span class="ruby-keyword">unless</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">nil?</span> }
|
|
831
1795
|
<span class="ruby-keyword">end</span></pre>
|
|
832
1796
|
</div>
|
|
1797
|
+
|
|
1798
|
+
|
|
1799
|
+
|
|
1800
|
+
<div class="method-description">
|
|
1801
|
+
|
|
1802
|
+
|
|
1803
|
+
<p>Helper method to update the row styles array change_type - <a href="WorksheetConvenienceMethods.html#NAME"><code>NAME</code></a> or <a href="WorksheetConvenienceMethods.html#SIZE"><code>SIZE</code></a> or <a href="WorksheetConvenienceMethods.html#COLOR"><code>COLOR</code></a> etc main method to change font, called from each separate font mutator method</p>
|
|
1804
|
+
|
|
1805
|
+
|
|
833
1806
|
</div>
|
|
834
1807
|
|
|
835
1808
|
|
|
1809
|
+
|
|
1810
|
+
|
|
1811
|
+
|
|
836
1812
|
</div>
|
|
837
1813
|
|
|
838
|
-
|
|
1814
|
+
|
|
1815
|
+
<div id="method-i-change_row_font_color" class="method-detail anchor-link ">
|
|
839
1816
|
<div class="method-header">
|
|
840
|
-
|
|
841
|
-
<
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
1817
|
+
|
|
1818
|
+
<div class="method-heading">
|
|
1819
|
+
<a href="#method-i-change_row_font_color" title="Link to this method">
|
|
1820
|
+
<span class="method-name">change_row_font_color</span>
|
|
1821
|
+
<span class="method-args">(row = 0, font_color = '000000')</span>
|
|
1822
|
+
</a>
|
|
1823
|
+
</div>
|
|
1824
|
+
|
|
845
1825
|
</div>
|
|
846
1826
|
|
|
847
|
-
<div class="method-description">
|
|
848
|
-
|
|
849
1827
|
|
|
1828
|
+
<div class="method-controls">
|
|
1829
|
+
<details class="method-source-toggle">
|
|
1830
|
+
<summary>Source</summary>
|
|
1831
|
+
</details>
|
|
1832
|
+
</div>
|
|
850
1833
|
<div class="method-source-code" id="change_row_font_color-source">
|
|
851
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 516</span>
|
|
1834
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 516</span>
|
|
852
1835
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_row_font_color</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">font_color</span> = <span class="ruby-string">'000000'</span>)
|
|
853
1836
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
854
1837
|
<span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">font_color</span>)
|
|
@@ -857,25 +1840,44 @@
|
|
|
857
1840
|
<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>)
|
|
858
1841
|
<span class="ruby-keyword">end</span></pre>
|
|
859
1842
|
</div>
|
|
1843
|
+
|
|
1844
|
+
|
|
1845
|
+
|
|
1846
|
+
<div class="method-description">
|
|
1847
|
+
|
|
1848
|
+
|
|
1849
|
+
|
|
1850
|
+
|
|
1851
|
+
|
|
860
1852
|
</div>
|
|
861
1853
|
|
|
862
1854
|
|
|
1855
|
+
|
|
1856
|
+
|
|
1857
|
+
|
|
863
1858
|
</div>
|
|
864
1859
|
|
|
865
|
-
|
|
1860
|
+
|
|
1861
|
+
<div id="method-i-change_row_font_name" class="method-detail anchor-link ">
|
|
866
1862
|
<div class="method-header">
|
|
867
|
-
|
|
868
|
-
<
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
1863
|
+
|
|
1864
|
+
<div class="method-heading">
|
|
1865
|
+
<a href="#method-i-change_row_font_name" title="Link to this method">
|
|
1866
|
+
<span class="method-name">change_row_font_name</span>
|
|
1867
|
+
<span class="method-args">(row = 0, font_name = 'Verdana')</span>
|
|
1868
|
+
</a>
|
|
1869
|
+
</div>
|
|
1870
|
+
|
|
872
1871
|
</div>
|
|
873
1872
|
|
|
874
|
-
<div class="method-description">
|
|
875
|
-
|
|
876
1873
|
|
|
1874
|
+
<div class="method-controls">
|
|
1875
|
+
<details class="method-source-toggle">
|
|
1876
|
+
<summary>Source</summary>
|
|
1877
|
+
</details>
|
|
1878
|
+
</div>
|
|
877
1879
|
<div class="method-source-code" id="change_row_font_name-source">
|
|
878
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 502</span>
|
|
1880
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 502</span>
|
|
879
1881
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_row_font_name</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">font_name</span> = <span class="ruby-string">'Verdana'</span>)
|
|
880
1882
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
881
1883
|
<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>
|
|
@@ -883,25 +1885,44 @@
|
|
|
883
1885
|
<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>)
|
|
884
1886
|
<span class="ruby-keyword">end</span></pre>
|
|
885
1887
|
</div>
|
|
1888
|
+
|
|
1889
|
+
|
|
1890
|
+
|
|
1891
|
+
<div class="method-description">
|
|
1892
|
+
|
|
1893
|
+
|
|
1894
|
+
|
|
1895
|
+
|
|
1896
|
+
|
|
886
1897
|
</div>
|
|
887
1898
|
|
|
888
1899
|
|
|
1900
|
+
|
|
1901
|
+
|
|
1902
|
+
|
|
889
1903
|
</div>
|
|
890
1904
|
|
|
891
|
-
|
|
1905
|
+
|
|
1906
|
+
<div id="method-i-change_row_font_size" class="method-detail anchor-link ">
|
|
892
1907
|
<div class="method-header">
|
|
893
|
-
|
|
894
|
-
<
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
1908
|
+
|
|
1909
|
+
<div class="method-heading">
|
|
1910
|
+
<a href="#method-i-change_row_font_size" title="Link to this method">
|
|
1911
|
+
<span class="method-name">change_row_font_size</span>
|
|
1912
|
+
<span class="method-args">(row = 0, font_size=10)</span>
|
|
1913
|
+
</a>
|
|
1914
|
+
</div>
|
|
1915
|
+
|
|
898
1916
|
</div>
|
|
899
1917
|
|
|
900
|
-
<div class="method-description">
|
|
901
|
-
|
|
902
1918
|
|
|
1919
|
+
<div class="method-controls">
|
|
1920
|
+
<details class="method-source-toggle">
|
|
1921
|
+
<summary>Source</summary>
|
|
1922
|
+
</details>
|
|
1923
|
+
</div>
|
|
903
1924
|
<div class="method-source-code" id="change_row_font_size-source">
|
|
904
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 509</span>
|
|
1925
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 509</span>
|
|
905
1926
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">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>)
|
|
906
1927
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
907
1928
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>).<span class="ruby-identifier">dup</span>
|
|
@@ -909,25 +1930,44 @@
|
|
|
909
1930
|
<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>)
|
|
910
1931
|
<span class="ruby-keyword">end</span></pre>
|
|
911
1932
|
</div>
|
|
1933
|
+
|
|
1934
|
+
|
|
1935
|
+
|
|
1936
|
+
<div class="method-description">
|
|
1937
|
+
|
|
1938
|
+
|
|
1939
|
+
|
|
1940
|
+
|
|
1941
|
+
|
|
912
1942
|
</div>
|
|
913
1943
|
|
|
914
1944
|
|
|
1945
|
+
|
|
1946
|
+
|
|
1947
|
+
|
|
915
1948
|
</div>
|
|
916
1949
|
|
|
917
|
-
|
|
1950
|
+
|
|
1951
|
+
<div id="method-i-change_row_height" class="method-detail anchor-link ">
|
|
918
1952
|
<div class="method-header">
|
|
919
|
-
|
|
920
|
-
<
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
1953
|
+
|
|
1954
|
+
<div class="method-heading">
|
|
1955
|
+
<a href="#method-i-change_row_height" title="Link to this method">
|
|
1956
|
+
<span class="method-name">change_row_height</span>
|
|
1957
|
+
<span class="method-args">(row = 0, height = 10)</span>
|
|
1958
|
+
</a>
|
|
1959
|
+
</div>
|
|
1960
|
+
|
|
924
1961
|
</div>
|
|
925
1962
|
|
|
926
|
-
<div class="method-description">
|
|
927
|
-
|
|
928
1963
|
|
|
1964
|
+
<div class="method-controls">
|
|
1965
|
+
<details class="method-source-toggle">
|
|
1966
|
+
<summary>Source</summary>
|
|
1967
|
+
</details>
|
|
1968
|
+
</div>
|
|
929
1969
|
<div class="method-source-code" id="change_row_height-source">
|
|
930
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 552</span>
|
|
1970
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 552</span>
|
|
931
1971
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">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>)
|
|
932
1972
|
<span class="ruby-identifier">validate_workbook</span>
|
|
933
1973
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
@@ -937,50 +1977,88 @@
|
|
|
937
1977
|
<span class="ruby-identifier">c</span>.<span class="ruby-identifier">custom_height</span> = <span class="ruby-keyword">true</span>
|
|
938
1978
|
<span class="ruby-keyword">end</span></pre>
|
|
939
1979
|
</div>
|
|
1980
|
+
|
|
1981
|
+
|
|
1982
|
+
|
|
1983
|
+
<div class="method-description">
|
|
1984
|
+
|
|
1985
|
+
|
|
1986
|
+
|
|
1987
|
+
|
|
1988
|
+
|
|
940
1989
|
</div>
|
|
941
1990
|
|
|
942
1991
|
|
|
1992
|
+
|
|
1993
|
+
|
|
1994
|
+
|
|
943
1995
|
</div>
|
|
944
1996
|
|
|
945
|
-
|
|
1997
|
+
|
|
1998
|
+
<div id="method-i-change_row_horizontal_alignment" class="method-detail anchor-link ">
|
|
946
1999
|
<div class="method-header">
|
|
947
|
-
|
|
948
|
-
<
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
2000
|
+
|
|
2001
|
+
<div class="method-heading">
|
|
2002
|
+
<a href="#method-i-change_row_horizontal_alignment" title="Link to this method">
|
|
2003
|
+
<span class="method-name">change_row_horizontal_alignment</span>
|
|
2004
|
+
<span class="method-args">(row = 0, alignment = 'center')</span>
|
|
2005
|
+
</a>
|
|
2006
|
+
</div>
|
|
2007
|
+
|
|
952
2008
|
</div>
|
|
953
2009
|
|
|
954
|
-
<div class="method-description">
|
|
955
|
-
|
|
956
2010
|
|
|
2011
|
+
<div class="method-controls">
|
|
2012
|
+
<details class="method-source-toggle">
|
|
2013
|
+
<summary>Source</summary>
|
|
2014
|
+
</details>
|
|
2015
|
+
</div>
|
|
957
2016
|
<div class="method-source-code" id="change_row_horizontal_alignment-source">
|
|
958
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 445</span>
|
|
2017
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 445</span>
|
|
959
2018
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_row_horizontal_alignment</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">alignment</span> = <span class="ruby-string">'center'</span>)
|
|
960
2019
|
<span class="ruby-identifier">validate_workbook</span>
|
|
961
2020
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
|
|
962
2021
|
<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> }
|
|
963
2022
|
<span class="ruby-keyword">end</span></pre>
|
|
964
2023
|
</div>
|
|
2024
|
+
|
|
2025
|
+
|
|
2026
|
+
|
|
2027
|
+
<div class="method-description">
|
|
2028
|
+
|
|
2029
|
+
|
|
2030
|
+
|
|
2031
|
+
|
|
2032
|
+
|
|
965
2033
|
</div>
|
|
966
2034
|
|
|
967
2035
|
|
|
2036
|
+
|
|
2037
|
+
|
|
2038
|
+
|
|
968
2039
|
</div>
|
|
969
2040
|
|
|
970
|
-
|
|
2041
|
+
|
|
2042
|
+
<div id="method-i-change_row_italics" class="method-detail anchor-link ">
|
|
971
2043
|
<div class="method-header">
|
|
972
|
-
|
|
973
|
-
<
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
2044
|
+
|
|
2045
|
+
<div class="method-heading">
|
|
2046
|
+
<a href="#method-i-change_row_italics" title="Link to this method">
|
|
2047
|
+
<span class="method-name">change_row_italics</span>
|
|
2048
|
+
<span class="method-args">(row = 0, italicized = false)</span>
|
|
2049
|
+
</a>
|
|
2050
|
+
</div>
|
|
2051
|
+
|
|
977
2052
|
</div>
|
|
978
2053
|
|
|
979
|
-
<div class="method-description">
|
|
980
|
-
|
|
981
2054
|
|
|
2055
|
+
<div class="method-controls">
|
|
2056
|
+
<details class="method-source-toggle">
|
|
2057
|
+
<summary>Source</summary>
|
|
2058
|
+
</details>
|
|
2059
|
+
</div>
|
|
982
2060
|
<div class="method-source-code" id="change_row_italics-source">
|
|
983
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 524</span>
|
|
2061
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 524</span>
|
|
984
2062
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">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>)
|
|
985
2063
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
986
2064
|
<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>
|
|
@@ -988,25 +2066,44 @@
|
|
|
988
2066
|
<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>)
|
|
989
2067
|
<span class="ruby-keyword">end</span></pre>
|
|
990
2068
|
</div>
|
|
2069
|
+
|
|
2070
|
+
|
|
2071
|
+
|
|
2072
|
+
<div class="method-description">
|
|
2073
|
+
|
|
2074
|
+
|
|
2075
|
+
|
|
2076
|
+
|
|
2077
|
+
|
|
991
2078
|
</div>
|
|
992
2079
|
|
|
993
2080
|
|
|
2081
|
+
|
|
2082
|
+
|
|
2083
|
+
|
|
994
2084
|
</div>
|
|
995
2085
|
|
|
996
|
-
|
|
2086
|
+
|
|
2087
|
+
<div id="method-i-change_row_strikethrough" class="method-detail anchor-link ">
|
|
997
2088
|
<div class="method-header">
|
|
998
|
-
<div class="method-heading">
|
|
999
|
-
<span class="method-name">change_row_strikethrough</span><span
|
|
1000
|
-
class="method-args">(row = 0, struckthrough=false)</span>
|
|
1001
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1002
|
-
</div>
|
|
1003
|
-
</div>
|
|
1004
2089
|
|
|
1005
|
-
|
|
1006
|
-
|
|
2090
|
+
<div class="method-heading">
|
|
2091
|
+
<a href="#method-i-change_row_strikethrough" title="Link to this method">
|
|
2092
|
+
<span class="method-name">change_row_strikethrough</span>
|
|
2093
|
+
<span class="method-args">(row = 0, struckthrough=false)</span>
|
|
2094
|
+
</a>
|
|
2095
|
+
</div>
|
|
2096
|
+
|
|
2097
|
+
</div>
|
|
1007
2098
|
|
|
2099
|
+
|
|
2100
|
+
<div class="method-controls">
|
|
2101
|
+
<details class="method-source-toggle">
|
|
2102
|
+
<summary>Source</summary>
|
|
2103
|
+
</details>
|
|
2104
|
+
</div>
|
|
1008
2105
|
<div class="method-source-code" id="change_row_strikethrough-source">
|
|
1009
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 545</span>
|
|
2106
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 545</span>
|
|
1010
2107
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">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>)
|
|
1011
2108
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
1012
2109
|
<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>
|
|
@@ -1014,25 +2111,44 @@
|
|
|
1014
2111
|
<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>)
|
|
1015
2112
|
<span class="ruby-keyword">end</span></pre>
|
|
1016
2113
|
</div>
|
|
2114
|
+
|
|
2115
|
+
|
|
2116
|
+
|
|
2117
|
+
<div class="method-description">
|
|
2118
|
+
|
|
2119
|
+
|
|
2120
|
+
|
|
2121
|
+
|
|
2122
|
+
|
|
1017
2123
|
</div>
|
|
1018
2124
|
|
|
1019
2125
|
|
|
2126
|
+
|
|
2127
|
+
|
|
2128
|
+
|
|
1020
2129
|
</div>
|
|
1021
2130
|
|
|
1022
|
-
|
|
2131
|
+
|
|
2132
|
+
<div id="method-i-change_row_underline" class="method-detail anchor-link ">
|
|
1023
2133
|
<div class="method-header">
|
|
1024
|
-
|
|
1025
|
-
<
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
2134
|
+
|
|
2135
|
+
<div class="method-heading">
|
|
2136
|
+
<a href="#method-i-change_row_underline" title="Link to this method">
|
|
2137
|
+
<span class="method-name">change_row_underline</span>
|
|
2138
|
+
<span class="method-args">(row = 0, underlined=false)</span>
|
|
2139
|
+
</a>
|
|
2140
|
+
</div>
|
|
2141
|
+
|
|
1029
2142
|
</div>
|
|
1030
2143
|
|
|
1031
|
-
<div class="method-description">
|
|
1032
|
-
|
|
1033
2144
|
|
|
2145
|
+
<div class="method-controls">
|
|
2146
|
+
<details class="method-source-toggle">
|
|
2147
|
+
<summary>Source</summary>
|
|
2148
|
+
</details>
|
|
2149
|
+
</div>
|
|
1034
2150
|
<div class="method-source-code" id="change_row_underline-source">
|
|
1035
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 538</span>
|
|
2151
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 538</span>
|
|
1036
2152
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">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>)
|
|
1037
2153
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
1038
2154
|
<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>
|
|
@@ -1040,75 +2156,132 @@
|
|
|
1040
2156
|
<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>)
|
|
1041
2157
|
<span class="ruby-keyword">end</span></pre>
|
|
1042
2158
|
</div>
|
|
2159
|
+
|
|
2160
|
+
|
|
2161
|
+
|
|
2162
|
+
<div class="method-description">
|
|
2163
|
+
|
|
2164
|
+
|
|
2165
|
+
|
|
2166
|
+
|
|
2167
|
+
|
|
1043
2168
|
</div>
|
|
1044
2169
|
|
|
1045
2170
|
|
|
2171
|
+
|
|
2172
|
+
|
|
2173
|
+
|
|
1046
2174
|
</div>
|
|
1047
2175
|
|
|
1048
|
-
|
|
2176
|
+
|
|
2177
|
+
<div id="method-i-change_row_vertical_alignment" class="method-detail anchor-link ">
|
|
1049
2178
|
<div class="method-header">
|
|
1050
|
-
|
|
1051
|
-
<
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
2179
|
+
|
|
2180
|
+
<div class="method-heading">
|
|
2181
|
+
<a href="#method-i-change_row_vertical_alignment" title="Link to this method">
|
|
2182
|
+
<span class="method-name">change_row_vertical_alignment</span>
|
|
2183
|
+
<span class="method-args">(row = 0, alignment = 'center')</span>
|
|
2184
|
+
</a>
|
|
2185
|
+
</div>
|
|
2186
|
+
|
|
1055
2187
|
</div>
|
|
1056
2188
|
|
|
1057
|
-
<div class="method-description">
|
|
1058
|
-
|
|
1059
2189
|
|
|
2190
|
+
<div class="method-controls">
|
|
2191
|
+
<details class="method-source-toggle">
|
|
2192
|
+
<summary>Source</summary>
|
|
2193
|
+
</details>
|
|
2194
|
+
</div>
|
|
1060
2195
|
<div class="method-source-code" id="change_row_vertical_alignment-source">
|
|
1061
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 451</span>
|
|
2196
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 451</span>
|
|
1062
2197
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_row_vertical_alignment</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">alignment</span> = <span class="ruby-string">'center'</span>)
|
|
1063
2198
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1064
2199
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
|
|
1065
2200
|
<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> }
|
|
1066
2201
|
<span class="ruby-keyword">end</span></pre>
|
|
1067
2202
|
</div>
|
|
2203
|
+
|
|
2204
|
+
|
|
2205
|
+
|
|
2206
|
+
<div class="method-description">
|
|
2207
|
+
|
|
2208
|
+
|
|
2209
|
+
|
|
2210
|
+
|
|
2211
|
+
|
|
1068
2212
|
</div>
|
|
1069
2213
|
|
|
1070
2214
|
|
|
2215
|
+
|
|
2216
|
+
|
|
2217
|
+
|
|
1071
2218
|
</div>
|
|
1072
2219
|
|
|
1073
|
-
|
|
2220
|
+
|
|
2221
|
+
<div id="method-i-column_font" class="method-detail anchor-link ">
|
|
1074
2222
|
<div class="method-header">
|
|
1075
|
-
|
|
1076
|
-
<
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
2223
|
+
|
|
2224
|
+
<div class="method-heading">
|
|
2225
|
+
<a href="#method-i-column_font" title="Link to this method">
|
|
2226
|
+
<span class="method-name">column_font</span>
|
|
2227
|
+
<span class="method-args">(col)</span>
|
|
2228
|
+
</a>
|
|
2229
|
+
</div>
|
|
2230
|
+
|
|
1080
2231
|
</div>
|
|
1081
2232
|
|
|
1082
|
-
<div class="method-description">
|
|
1083
|
-
|
|
1084
2233
|
|
|
2234
|
+
<div class="method-controls">
|
|
2235
|
+
<details class="method-source-toggle">
|
|
2236
|
+
<summary>Source</summary>
|
|
2237
|
+
</details>
|
|
2238
|
+
</div>
|
|
1085
2239
|
<div class="method-source-code" id="column_font-source">
|
|
1086
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 432</span>
|
|
2240
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 432</span>
|
|
1087
2241
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
1088
2242
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1089
2243
|
|
|
1090
2244
|
<span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">fonts</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>)].<span class="ruby-identifier">font_id</span>]
|
|
1091
2245
|
<span class="ruby-keyword">end</span></pre>
|
|
1092
2246
|
</div>
|
|
2247
|
+
|
|
2248
|
+
|
|
2249
|
+
|
|
2250
|
+
<div class="method-description">
|
|
2251
|
+
|
|
2252
|
+
|
|
2253
|
+
|
|
2254
|
+
|
|
2255
|
+
|
|
1093
2256
|
</div>
|
|
1094
2257
|
|
|
1095
2258
|
|
|
2259
|
+
|
|
2260
|
+
|
|
2261
|
+
|
|
1096
2262
|
</div>
|
|
1097
2263
|
|
|
1098
|
-
|
|
2264
|
+
|
|
2265
|
+
<div id="method-i-delete_cell" class="method-detail anchor-link ">
|
|
1099
2266
|
<div class="method-header">
|
|
1100
|
-
|
|
1101
|
-
<
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
2267
|
+
|
|
2268
|
+
<div class="method-heading">
|
|
2269
|
+
<a href="#method-i-delete_cell" title="Link to this method">
|
|
2270
|
+
<span class="method-name">delete_cell</span>
|
|
2271
|
+
<span class="method-args">(row_index = 0, column_index=0, shift=nil)</span>
|
|
2272
|
+
</a>
|
|
2273
|
+
</div>
|
|
2274
|
+
|
|
1105
2275
|
</div>
|
|
1106
2276
|
|
|
1107
|
-
<div class="method-description">
|
|
1108
|
-
<p>by default, only sets cell to nil if :left is specified, method will shift row contents to the right of the deleted cell to the left if :up is specified, method will shift column contents below the deleted cell upward</p>
|
|
1109
2277
|
|
|
2278
|
+
<div class="method-controls">
|
|
2279
|
+
<details class="method-source-toggle">
|
|
2280
|
+
<summary>Source</summary>
|
|
2281
|
+
</details>
|
|
2282
|
+
</div>
|
|
1110
2283
|
<div class="method-source-code" id="delete_cell-source">
|
|
1111
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 40</span>
|
|
2284
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 40</span>
|
|
1112
2285
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">delete_cell</span>(<span class="ruby-identifier">row_index</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">shift</span>=<span class="ruby-keyword">nil</span>)
|
|
1113
2286
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1114
2287
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row_index</span>)
|
|
@@ -1140,25 +2313,44 @@
|
|
|
1140
2313
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">old_cell</span>
|
|
1141
2314
|
<span class="ruby-keyword">end</span></pre>
|
|
1142
2315
|
</div>
|
|
2316
|
+
|
|
2317
|
+
|
|
2318
|
+
|
|
2319
|
+
<div class="method-description">
|
|
2320
|
+
|
|
2321
|
+
|
|
2322
|
+
<p>by default, only sets cell to nil if :left is specified, method will shift row contents to the right of the deleted cell to the left if :up is specified, method will shift column contents below the deleted cell upward</p>
|
|
2323
|
+
|
|
2324
|
+
|
|
1143
2325
|
</div>
|
|
1144
2326
|
|
|
1145
2327
|
|
|
2328
|
+
|
|
2329
|
+
|
|
2330
|
+
|
|
1146
2331
|
</div>
|
|
1147
2332
|
|
|
1148
|
-
|
|
2333
|
+
|
|
2334
|
+
<div id="method-i-delete_column" class="method-detail anchor-link ">
|
|
1149
2335
|
<div class="method-header">
|
|
1150
|
-
|
|
1151
|
-
<
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
2336
|
+
|
|
2337
|
+
<div class="method-heading">
|
|
2338
|
+
<a href="#method-i-delete_column" title="Link to this method">
|
|
2339
|
+
<span class="method-name">delete_column</span>
|
|
2340
|
+
<span class="method-args">(column_index = 0)</span>
|
|
2341
|
+
</a>
|
|
2342
|
+
</div>
|
|
2343
|
+
|
|
1155
2344
|
</div>
|
|
1156
2345
|
|
|
1157
|
-
<div class="method-description">
|
|
1158
|
-
|
|
1159
2346
|
|
|
2347
|
+
<div class="method-controls">
|
|
2348
|
+
<details class="method-source-toggle">
|
|
2349
|
+
<summary>Source</summary>
|
|
2350
|
+
</details>
|
|
2351
|
+
</div>
|
|
1160
2352
|
<div class="method-source-code" id="delete_column-source">
|
|
1161
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 204</span>
|
|
2353
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 204</span>
|
|
1162
2354
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">delete_column</span>(<span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>)
|
|
1163
2355
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1164
2356
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">column_index</span>)
|
|
@@ -1195,25 +2387,44 @@
|
|
|
1195
2387
|
<span class="ruby-identifier">merged_cells</span>.<span class="ruby-identifier">delete_if</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">mc</span><span class="ruby-operator">|</span> <span class="ruby-identifier">mc</span>.<span class="ruby-identifier">ref</span>.<span class="ruby-identifier">single_cell?</span> }
|
|
1196
2388
|
<span class="ruby-keyword">end</span></pre>
|
|
1197
2389
|
</div>
|
|
2390
|
+
|
|
2391
|
+
|
|
2392
|
+
|
|
2393
|
+
<div class="method-description">
|
|
2394
|
+
|
|
2395
|
+
|
|
2396
|
+
|
|
2397
|
+
|
|
2398
|
+
|
|
1198
2399
|
</div>
|
|
1199
2400
|
|
|
1200
2401
|
|
|
2402
|
+
|
|
2403
|
+
|
|
2404
|
+
|
|
1201
2405
|
</div>
|
|
1202
2406
|
|
|
1203
|
-
|
|
2407
|
+
|
|
2408
|
+
<div id="method-i-delete_row" class="method-detail anchor-link ">
|
|
1204
2409
|
<div class="method-header">
|
|
1205
|
-
|
|
1206
|
-
<
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
2410
|
+
|
|
2411
|
+
<div class="method-heading">
|
|
2412
|
+
<a href="#method-i-delete_row" title="Link to this method">
|
|
2413
|
+
<span class="method-name">delete_row</span>
|
|
2414
|
+
<span class="method-args">(row_index=0)</span>
|
|
2415
|
+
</a>
|
|
2416
|
+
</div>
|
|
2417
|
+
|
|
1210
2418
|
</div>
|
|
1211
2419
|
|
|
1212
|
-
<div class="method-description">
|
|
1213
|
-
|
|
1214
2420
|
|
|
2421
|
+
<div class="method-controls">
|
|
2422
|
+
<details class="method-source-toggle">
|
|
2423
|
+
<summary>Source</summary>
|
|
2424
|
+
</details>
|
|
2425
|
+
</div>
|
|
1215
2426
|
<div class="method-source-code" id="delete_row-source">
|
|
1216
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 126</span>
|
|
2427
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 126</span>
|
|
1217
2428
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">delete_row</span>(<span class="ruby-identifier">row_index</span>=<span class="ruby-value">0</span>)
|
|
1218
2429
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1219
2430
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row_index</span>)
|
|
@@ -1246,74 +2457,131 @@
|
|
|
1246
2457
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">deleted</span>
|
|
1247
2458
|
<span class="ruby-keyword">end</span></pre>
|
|
1248
2459
|
</div>
|
|
2460
|
+
|
|
2461
|
+
|
|
2462
|
+
|
|
2463
|
+
<div class="method-description">
|
|
2464
|
+
|
|
2465
|
+
|
|
2466
|
+
|
|
2467
|
+
|
|
2468
|
+
|
|
1249
2469
|
</div>
|
|
1250
2470
|
|
|
1251
2471
|
|
|
2472
|
+
|
|
2473
|
+
|
|
2474
|
+
|
|
1252
2475
|
</div>
|
|
1253
2476
|
|
|
1254
|
-
|
|
2477
|
+
|
|
2478
|
+
<div id="method-i-get_col_style" class="method-detail anchor-link ">
|
|
1255
2479
|
<div class="method-header">
|
|
1256
|
-
|
|
1257
|
-
<
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
2480
|
+
|
|
2481
|
+
<div class="method-heading">
|
|
2482
|
+
<a href="#method-i-get_col_style" title="Link to this method">
|
|
2483
|
+
<span class="method-name">get_col_style</span>
|
|
2484
|
+
<span class="method-args">(column_index)</span>
|
|
2485
|
+
</a>
|
|
2486
|
+
</div>
|
|
2487
|
+
|
|
1261
2488
|
</div>
|
|
1262
2489
|
|
|
1263
|
-
<div class="method-description">
|
|
1264
|
-
<p>Helper method to get the style index for a column</p>
|
|
1265
2490
|
|
|
2491
|
+
<div class="method-controls">
|
|
2492
|
+
<details class="method-source-toggle">
|
|
2493
|
+
<summary>Source</summary>
|
|
2494
|
+
</details>
|
|
2495
|
+
</div>
|
|
1266
2496
|
<div class="method-source-code" id="get_col_style-source">
|
|
1267
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 389</span>
|
|
2497
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 389</span>
|
|
1268
2498
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_col_style</span>(<span class="ruby-identifier">column_index</span>)
|
|
1269
2499
|
<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>)
|
|
1270
2500
|
(<span class="ruby-identifier">range</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">range</span>.<span class="ruby-identifier">style_index</span>) <span class="ruby-operator">||</span> <span class="ruby-value">0</span>
|
|
1271
2501
|
<span class="ruby-keyword">end</span></pre>
|
|
1272
2502
|
</div>
|
|
2503
|
+
|
|
2504
|
+
|
|
2505
|
+
|
|
2506
|
+
<div class="method-description">
|
|
2507
|
+
|
|
2508
|
+
|
|
2509
|
+
<p>Helper method to get the style index for a column</p>
|
|
2510
|
+
|
|
2511
|
+
|
|
1273
2512
|
</div>
|
|
1274
2513
|
|
|
1275
2514
|
|
|
2515
|
+
|
|
2516
|
+
|
|
2517
|
+
|
|
1276
2518
|
</div>
|
|
1277
2519
|
|
|
1278
|
-
|
|
2520
|
+
|
|
2521
|
+
<div id="method-i-get_cols_style_index" class="method-detail anchor-link ">
|
|
1279
2522
|
<div class="method-header">
|
|
1280
|
-
|
|
1281
|
-
<
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
2523
|
+
|
|
2524
|
+
<div class="method-heading">
|
|
2525
|
+
<a href="#method-i-get_cols_style_index" title="Link to this method">
|
|
2526
|
+
<span class="method-name">get_cols_style_index</span>
|
|
2527
|
+
<span class="method-args">(column_index)</span>
|
|
2528
|
+
</a>
|
|
2529
|
+
</div>
|
|
2530
|
+
|
|
1285
2531
|
</div>
|
|
1286
2532
|
|
|
1287
|
-
<div class="method-description">
|
|
1288
|
-
|
|
1289
2533
|
|
|
2534
|
+
<div class="method-controls">
|
|
2535
|
+
<details class="method-source-toggle">
|
|
2536
|
+
<summary>Source</summary>
|
|
2537
|
+
</details>
|
|
2538
|
+
</div>
|
|
1290
2539
|
<div class="method-source-code" id="get_cols_style_index-source">
|
|
1291
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 315</span>
|
|
2540
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 315</span>
|
|
1292
2541
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_cols_style_index</span>(<span class="ruby-identifier">column_index</span>)
|
|
1293
2542
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">column_index</span>)
|
|
1294
2543
|
<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>)
|
|
1295
2544
|
(<span class="ruby-identifier">range</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">range</span>.<span class="ruby-identifier">style_index</span>) <span class="ruby-operator">||</span> <span class="ruby-value">0</span>
|
|
1296
2545
|
<span class="ruby-keyword">end</span></pre>
|
|
1297
2546
|
</div>
|
|
2547
|
+
|
|
2548
|
+
|
|
2549
|
+
|
|
2550
|
+
<div class="method-description">
|
|
2551
|
+
|
|
2552
|
+
|
|
2553
|
+
|
|
2554
|
+
|
|
2555
|
+
|
|
1298
2556
|
</div>
|
|
1299
2557
|
|
|
1300
2558
|
|
|
2559
|
+
|
|
2560
|
+
|
|
2561
|
+
|
|
1301
2562
|
</div>
|
|
1302
2563
|
|
|
1303
|
-
|
|
2564
|
+
|
|
2565
|
+
<div id="method-i-get_column_alignment" class="method-detail anchor-link ">
|
|
1304
2566
|
<div class="method-header">
|
|
1305
|
-
|
|
1306
|
-
<
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
2567
|
+
|
|
2568
|
+
<div class="method-heading">
|
|
2569
|
+
<a href="#method-i-get_column_alignment" title="Link to this method">
|
|
2570
|
+
<span class="method-name">get_column_alignment</span>
|
|
2571
|
+
<span class="method-args">(col, type)</span>
|
|
2572
|
+
</a>
|
|
2573
|
+
</div>
|
|
2574
|
+
|
|
1310
2575
|
</div>
|
|
1311
2576
|
|
|
1312
|
-
<div class="method-description">
|
|
1313
|
-
|
|
1314
2577
|
|
|
2578
|
+
<div class="method-controls">
|
|
2579
|
+
<details class="method-source-toggle">
|
|
2580
|
+
<summary>Source</summary>
|
|
2581
|
+
</details>
|
|
2582
|
+
</div>
|
|
1315
2583
|
<div class="method-source-code" id="get_column_alignment-source">
|
|
1316
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 438</span>
|
|
2584
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 438</span>
|
|
1317
2585
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_column_alignment</span>(<span class="ruby-identifier">col</span>, <span class="ruby-identifier">type</span>)
|
|
1318
2586
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1319
2587
|
|
|
@@ -1321,25 +2589,44 @@
|
|
|
1321
2589
|
<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">alignment</span> <span class="ruby-operator">&&</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>)
|
|
1322
2590
|
<span class="ruby-keyword">end</span></pre>
|
|
1323
2591
|
</div>
|
|
2592
|
+
|
|
2593
|
+
|
|
2594
|
+
|
|
2595
|
+
<div class="method-description">
|
|
2596
|
+
|
|
2597
|
+
|
|
2598
|
+
|
|
2599
|
+
|
|
2600
|
+
|
|
1324
2601
|
</div>
|
|
1325
2602
|
|
|
1326
2603
|
|
|
2604
|
+
|
|
2605
|
+
|
|
2606
|
+
|
|
1327
2607
|
</div>
|
|
1328
2608
|
|
|
1329
|
-
|
|
2609
|
+
|
|
2610
|
+
<div id="method-i-get_column_border" class="method-detail anchor-link ">
|
|
1330
2611
|
<div class="method-header">
|
|
1331
|
-
|
|
1332
|
-
<
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
2612
|
+
|
|
2613
|
+
<div class="method-heading">
|
|
2614
|
+
<a href="#method-i-get_column_border" title="Link to this method">
|
|
2615
|
+
<span class="method-name">get_column_border</span>
|
|
2616
|
+
<span class="method-args">(col, border_direction)</span>
|
|
2617
|
+
</a>
|
|
2618
|
+
</div>
|
|
2619
|
+
|
|
1336
2620
|
</div>
|
|
1337
2621
|
|
|
1338
|
-
<div class="method-description">
|
|
1339
|
-
|
|
1340
2622
|
|
|
2623
|
+
<div class="method-controls">
|
|
2624
|
+
<details class="method-source-toggle">
|
|
2625
|
+
<summary>Source</summary>
|
|
2626
|
+
</details>
|
|
2627
|
+
</div>
|
|
1341
2628
|
<div class="method-source-code" id="get_column_border-source">
|
|
1342
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 416</span>
|
|
2629
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 416</span>
|
|
1343
2630
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-identifier">border_direction</span>)
|
|
1344
2631
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1345
2632
|
|
|
@@ -1348,25 +2635,44 @@
|
|
|
1348
2635
|
<span class="ruby-identifier">border</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">border</span>.<span class="ruby-identifier">get_edge_style</span>(<span class="ruby-identifier">border_direction</span>)
|
|
1349
2636
|
<span class="ruby-keyword">end</span></pre>
|
|
1350
2637
|
</div>
|
|
2638
|
+
|
|
2639
|
+
|
|
2640
|
+
|
|
2641
|
+
<div class="method-description">
|
|
2642
|
+
|
|
2643
|
+
|
|
2644
|
+
|
|
2645
|
+
|
|
2646
|
+
|
|
1351
2647
|
</div>
|
|
1352
2648
|
|
|
1353
2649
|
|
|
2650
|
+
|
|
2651
|
+
|
|
2652
|
+
|
|
1354
2653
|
</div>
|
|
1355
2654
|
|
|
1356
|
-
|
|
2655
|
+
|
|
2656
|
+
<div id="method-i-get_column_border_color" class="method-detail anchor-link ">
|
|
1357
2657
|
<div class="method-header">
|
|
1358
|
-
|
|
1359
|
-
<
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
2658
|
+
|
|
2659
|
+
<div class="method-heading">
|
|
2660
|
+
<a href="#method-i-get_column_border_color" title="Link to this method">
|
|
2661
|
+
<span class="method-name">get_column_border_color</span>
|
|
2662
|
+
<span class="method-args">(col, border_direction)</span>
|
|
2663
|
+
</a>
|
|
2664
|
+
</div>
|
|
2665
|
+
|
|
1363
2666
|
</div>
|
|
1364
2667
|
|
|
1365
|
-
<div class="method-description">
|
|
1366
|
-
|
|
1367
2668
|
|
|
2669
|
+
<div class="method-controls">
|
|
2670
|
+
<details class="method-source-toggle">
|
|
2671
|
+
<summary>Source</summary>
|
|
2672
|
+
</details>
|
|
2673
|
+
</div>
|
|
1368
2674
|
<div class="method-source-code" id="get_column_border_color-source">
|
|
1369
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 424</span>
|
|
2675
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 424</span>
|
|
1370
2676
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_column_border_color</span>(<span class="ruby-identifier">col</span>, <span class="ruby-identifier">border_direction</span>)
|
|
1371
2677
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1372
2678
|
|
|
@@ -1375,25 +2681,44 @@
|
|
|
1375
2681
|
<span class="ruby-identifier">border</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">border</span>.<span class="ruby-identifier">get_edge_color</span>(<span class="ruby-identifier">border_direction</span>)
|
|
1376
2682
|
<span class="ruby-keyword">end</span></pre>
|
|
1377
2683
|
</div>
|
|
2684
|
+
|
|
2685
|
+
|
|
2686
|
+
|
|
2687
|
+
<div class="method-description">
|
|
2688
|
+
|
|
2689
|
+
|
|
2690
|
+
|
|
2691
|
+
|
|
2692
|
+
|
|
1378
2693
|
</div>
|
|
1379
2694
|
|
|
1380
2695
|
|
|
2696
|
+
|
|
2697
|
+
|
|
2698
|
+
|
|
1381
2699
|
</div>
|
|
1382
2700
|
|
|
1383
|
-
|
|
2701
|
+
|
|
2702
|
+
<div id="method-i-get_column_fill" class="method-detail anchor-link ">
|
|
1384
2703
|
<div class="method-header">
|
|
1385
|
-
|
|
1386
|
-
<
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
2704
|
+
|
|
2705
|
+
<div class="method-heading">
|
|
2706
|
+
<a href="#method-i-get_column_fill" title="Link to this method">
|
|
2707
|
+
<span class="method-name">get_column_fill</span>
|
|
2708
|
+
<span class="method-args">(col=0)</span>
|
|
2709
|
+
</a>
|
|
2710
|
+
</div>
|
|
2711
|
+
|
|
1390
2712
|
</div>
|
|
1391
2713
|
|
|
1392
|
-
<div class="method-description">
|
|
1393
|
-
|
|
1394
2714
|
|
|
2715
|
+
<div class="method-controls">
|
|
2716
|
+
<details class="method-source-toggle">
|
|
2717
|
+
<summary>Source</summary>
|
|
2718
|
+
</details>
|
|
2719
|
+
</div>
|
|
1395
2720
|
<div class="method-source-code" id="get_column_fill-source">
|
|
1396
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 394</span>
|
|
2721
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 394</span>
|
|
1397
2722
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_column_fill</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
|
|
1398
2723
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1399
2724
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">col</span>)
|
|
@@ -1401,122 +2726,217 @@
|
|
|
1401
2726
|
<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>))
|
|
1402
2727
|
<span class="ruby-keyword">end</span></pre>
|
|
1403
2728
|
</div>
|
|
2729
|
+
|
|
2730
|
+
|
|
2731
|
+
|
|
2732
|
+
<div class="method-description">
|
|
2733
|
+
|
|
2734
|
+
|
|
2735
|
+
|
|
2736
|
+
|
|
2737
|
+
|
|
1404
2738
|
</div>
|
|
1405
2739
|
|
|
1406
2740
|
|
|
2741
|
+
|
|
2742
|
+
|
|
2743
|
+
|
|
1407
2744
|
</div>
|
|
1408
2745
|
|
|
1409
|
-
|
|
2746
|
+
|
|
2747
|
+
<div id="method-i-get_column_font_color" class="method-detail anchor-link ">
|
|
1410
2748
|
<div class="method-header">
|
|
1411
|
-
|
|
1412
|
-
<
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
2749
|
+
|
|
2750
|
+
<div class="method-heading">
|
|
2751
|
+
<a href="#method-i-get_column_font_color" title="Link to this method">
|
|
2752
|
+
<span class="method-name">get_column_font_color</span>
|
|
2753
|
+
<span class="method-args">(col = 0)</span>
|
|
2754
|
+
</a>
|
|
2755
|
+
</div>
|
|
2756
|
+
|
|
1416
2757
|
</div>
|
|
1417
2758
|
|
|
1418
|
-
<div class="method-description">
|
|
1419
|
-
|
|
1420
2759
|
|
|
2760
|
+
<div class="method-controls">
|
|
2761
|
+
<details class="method-source-toggle">
|
|
2762
|
+
<summary>Source</summary>
|
|
2763
|
+
</details>
|
|
2764
|
+
</div>
|
|
1421
2765
|
<div class="method-source-code" id="get_column_font_color-source">
|
|
1422
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 331</span>
|
|
2766
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 331</span>
|
|
1423
2767
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_column_font_color</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
|
|
1424
2768
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
1425
2769
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> (<span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_rgb_color</span> <span class="ruby-operator">||</span> <span class="ruby-string">'000000'</span>)
|
|
1426
2770
|
<span class="ruby-keyword">end</span></pre>
|
|
1427
2771
|
</div>
|
|
2772
|
+
|
|
2773
|
+
|
|
2774
|
+
|
|
2775
|
+
<div class="method-description">
|
|
2776
|
+
|
|
2777
|
+
|
|
2778
|
+
|
|
2779
|
+
|
|
2780
|
+
|
|
1428
2781
|
</div>
|
|
1429
2782
|
|
|
1430
2783
|
|
|
2784
|
+
|
|
2785
|
+
|
|
2786
|
+
|
|
1431
2787
|
</div>
|
|
1432
2788
|
|
|
1433
|
-
|
|
2789
|
+
|
|
2790
|
+
<div id="method-i-get_column_font_name" class="method-detail anchor-link ">
|
|
1434
2791
|
<div class="method-header">
|
|
1435
|
-
|
|
1436
|
-
<
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
2792
|
+
|
|
2793
|
+
<div class="method-heading">
|
|
2794
|
+
<a href="#method-i-get_column_font_name" title="Link to this method">
|
|
2795
|
+
<span class="method-name">get_column_font_name</span>
|
|
2796
|
+
<span class="method-args">(col = 0)</span>
|
|
2797
|
+
</a>
|
|
2798
|
+
</div>
|
|
2799
|
+
|
|
1440
2800
|
</div>
|
|
1441
2801
|
|
|
1442
|
-
<div class="method-description">
|
|
1443
|
-
|
|
1444
2802
|
|
|
2803
|
+
<div class="method-controls">
|
|
2804
|
+
<details class="method-source-toggle">
|
|
2805
|
+
<summary>Source</summary>
|
|
2806
|
+
</details>
|
|
2807
|
+
</div>
|
|
1445
2808
|
<div class="method-source-code" id="get_column_font_name-source">
|
|
1446
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 321</span>
|
|
2809
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 321</span>
|
|
1447
2810
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_column_font_name</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
|
|
1448
2811
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
1449
2812
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_name</span>
|
|
1450
2813
|
<span class="ruby-keyword">end</span></pre>
|
|
1451
2814
|
</div>
|
|
2815
|
+
|
|
2816
|
+
|
|
2817
|
+
|
|
2818
|
+
<div class="method-description">
|
|
2819
|
+
|
|
2820
|
+
|
|
2821
|
+
|
|
2822
|
+
|
|
2823
|
+
|
|
1452
2824
|
</div>
|
|
1453
2825
|
|
|
1454
2826
|
|
|
2827
|
+
|
|
2828
|
+
|
|
2829
|
+
|
|
1455
2830
|
</div>
|
|
1456
2831
|
|
|
1457
|
-
|
|
2832
|
+
|
|
2833
|
+
<div id="method-i-get_column_font_size" class="method-detail anchor-link ">
|
|
1458
2834
|
<div class="method-header">
|
|
1459
|
-
|
|
1460
|
-
<
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
2835
|
+
|
|
2836
|
+
<div class="method-heading">
|
|
2837
|
+
<a href="#method-i-get_column_font_size" title="Link to this method">
|
|
2838
|
+
<span class="method-name">get_column_font_size</span>
|
|
2839
|
+
<span class="method-args">(col = 0)</span>
|
|
2840
|
+
</a>
|
|
2841
|
+
</div>
|
|
2842
|
+
|
|
1464
2843
|
</div>
|
|
1465
2844
|
|
|
1466
|
-
<div class="method-description">
|
|
1467
|
-
|
|
1468
2845
|
|
|
2846
|
+
<div class="method-controls">
|
|
2847
|
+
<details class="method-source-toggle">
|
|
2848
|
+
<summary>Source</summary>
|
|
2849
|
+
</details>
|
|
2850
|
+
</div>
|
|
1469
2851
|
<div class="method-source-code" id="get_column_font_size-source">
|
|
1470
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 326</span>
|
|
2852
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 326</span>
|
|
1471
2853
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_column_font_size</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
|
|
1472
2854
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
1473
2855
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_size</span>
|
|
1474
2856
|
<span class="ruby-keyword">end</span></pre>
|
|
1475
2857
|
</div>
|
|
2858
|
+
|
|
2859
|
+
|
|
2860
|
+
|
|
2861
|
+
<div class="method-description">
|
|
2862
|
+
|
|
2863
|
+
|
|
2864
|
+
|
|
2865
|
+
|
|
2866
|
+
|
|
1476
2867
|
</div>
|
|
1477
2868
|
|
|
1478
2869
|
|
|
2870
|
+
|
|
2871
|
+
|
|
2872
|
+
|
|
1479
2873
|
</div>
|
|
1480
2874
|
|
|
1481
|
-
|
|
2875
|
+
|
|
2876
|
+
<div id="method-i-get_column_width" class="method-detail anchor-link ">
|
|
1482
2877
|
<div class="method-header">
|
|
1483
|
-
|
|
1484
|
-
<
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
2878
|
+
|
|
2879
|
+
<div class="method-heading">
|
|
2880
|
+
<a href="#method-i-get_column_width" title="Link to this method">
|
|
2881
|
+
<span class="method-name">get_column_width</span>
|
|
2882
|
+
<span class="method-args">(column_index = 0)</span>
|
|
2883
|
+
</a>
|
|
2884
|
+
</div>
|
|
2885
|
+
|
|
1488
2886
|
</div>
|
|
1489
2887
|
|
|
1490
|
-
<div class="method-description">
|
|
1491
|
-
<p>Get column width measured in number of digits, as per <a 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>
|
|
1492
2888
|
|
|
2889
|
+
<div class="method-controls">
|
|
2890
|
+
<details class="method-source-toggle">
|
|
2891
|
+
<summary>Source</summary>
|
|
2892
|
+
</details>
|
|
2893
|
+
</div>
|
|
1493
2894
|
<div class="method-source-code" id="get_column_width-source">
|
|
1494
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 367</span>
|
|
2895
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 367</span>
|
|
1495
2896
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_column_width</span>(<span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>)
|
|
1496
2897
|
<span class="ruby-identifier">width</span> = <span class="ruby-identifier">get_column_width_raw</span>(<span class="ruby-identifier">column_index</span>)
|
|
1497
2898
|
<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>
|
|
1498
2899
|
(<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>
|
|
1499
2900
|
<span class="ruby-keyword">end</span></pre>
|
|
1500
2901
|
</div>
|
|
2902
|
+
|
|
2903
|
+
|
|
2904
|
+
|
|
2905
|
+
<div class="method-description">
|
|
2906
|
+
|
|
2907
|
+
|
|
2908
|
+
<p>Get column width measured in number of digits, as per <a 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>
|
|
2909
|
+
|
|
2910
|
+
|
|
1501
2911
|
</div>
|
|
1502
2912
|
|
|
1503
2913
|
|
|
2914
|
+
|
|
2915
|
+
|
|
2916
|
+
|
|
1504
2917
|
</div>
|
|
1505
2918
|
|
|
1506
|
-
|
|
2919
|
+
|
|
2920
|
+
<div id="method-i-get_column_width_raw" class="method-detail anchor-link ">
|
|
1507
2921
|
<div class="method-header">
|
|
1508
|
-
|
|
1509
|
-
<
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
2922
|
+
|
|
2923
|
+
<div class="method-heading">
|
|
2924
|
+
<a href="#method-i-get_column_width_raw" title="Link to this method">
|
|
2925
|
+
<span class="method-name">get_column_width_raw</span>
|
|
2926
|
+
<span class="method-args">(column_index = 0)</span>
|
|
2927
|
+
</a>
|
|
2928
|
+
</div>
|
|
2929
|
+
|
|
1513
2930
|
</div>
|
|
1514
2931
|
|
|
1515
|
-
<div class="method-description">
|
|
1516
|
-
<p>Get raw column width value as stored in the file</p>
|
|
1517
2932
|
|
|
2933
|
+
<div class="method-controls">
|
|
2934
|
+
<details class="method-source-toggle">
|
|
2935
|
+
<summary>Source</summary>
|
|
2936
|
+
</details>
|
|
2937
|
+
</div>
|
|
1518
2938
|
<div class="method-source-code" id="get_column_width_raw-source">
|
|
1519
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 357</span>
|
|
2939
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 357</span>
|
|
1520
2940
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_column_width_raw</span>(<span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>)
|
|
1521
2941
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1522
2942
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">column_index</span>)
|
|
@@ -1525,25 +2945,44 @@
|
|
|
1525
2945
|
<span class="ruby-identifier">range</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">range</span>.<span class="ruby-identifier">width</span>
|
|
1526
2946
|
<span class="ruby-keyword">end</span></pre>
|
|
1527
2947
|
</div>
|
|
2948
|
+
|
|
2949
|
+
|
|
2950
|
+
|
|
2951
|
+
<div class="method-description">
|
|
2952
|
+
|
|
2953
|
+
|
|
2954
|
+
<p>Get raw column width value as stored in the file</p>
|
|
2955
|
+
|
|
2956
|
+
|
|
1528
2957
|
</div>
|
|
1529
2958
|
|
|
1530
2959
|
|
|
2960
|
+
|
|
2961
|
+
|
|
2962
|
+
|
|
1531
2963
|
</div>
|
|
1532
2964
|
|
|
1533
|
-
|
|
2965
|
+
|
|
2966
|
+
<div id="method-i-get_row_alignment" class="method-detail anchor-link ">
|
|
1534
2967
|
<div class="method-header">
|
|
1535
|
-
|
|
1536
|
-
<
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
2968
|
+
|
|
2969
|
+
<div class="method-heading">
|
|
2970
|
+
<a href="#method-i-get_row_alignment" title="Link to this method">
|
|
2971
|
+
<span class="method-name">get_row_alignment</span>
|
|
2972
|
+
<span class="method-args">(row, is_horizontal)</span>
|
|
2973
|
+
</a>
|
|
2974
|
+
</div>
|
|
2975
|
+
|
|
1540
2976
|
</div>
|
|
1541
2977
|
|
|
1542
|
-
<div class="method-description">
|
|
1543
|
-
|
|
1544
2978
|
|
|
2979
|
+
<div class="method-controls">
|
|
2980
|
+
<details class="method-source-toggle">
|
|
2981
|
+
<summary>Source</summary>
|
|
2982
|
+
</details>
|
|
2983
|
+
</div>
|
|
1545
2984
|
<div class="method-source-code" id="get_row_alignment-source">
|
|
1546
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 304</span>
|
|
2985
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 304</span>
|
|
1547
2986
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_row_alignment</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">is_horizontal</span>)
|
|
1548
2987
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1549
2988
|
|
|
@@ -1555,25 +2994,44 @@
|
|
|
1555
2994
|
<span class="ruby-keyword">end</span>
|
|
1556
2995
|
<span class="ruby-keyword">end</span></pre>
|
|
1557
2996
|
</div>
|
|
2997
|
+
|
|
2998
|
+
|
|
2999
|
+
|
|
3000
|
+
<div class="method-description">
|
|
3001
|
+
|
|
3002
|
+
|
|
3003
|
+
|
|
3004
|
+
|
|
3005
|
+
|
|
1558
3006
|
</div>
|
|
1559
3007
|
|
|
1560
3008
|
|
|
3009
|
+
|
|
3010
|
+
|
|
3011
|
+
|
|
1561
3012
|
</div>
|
|
1562
3013
|
|
|
1563
|
-
|
|
3014
|
+
|
|
3015
|
+
<div id="method-i-get_row_border" class="method-detail anchor-link ">
|
|
1564
3016
|
<div class="method-header">
|
|
1565
|
-
|
|
1566
|
-
<
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
3017
|
+
|
|
3018
|
+
<div class="method-heading">
|
|
3019
|
+
<a href="#method-i-get_row_border" title="Link to this method">
|
|
3020
|
+
<span class="method-name">get_row_border</span>
|
|
3021
|
+
<span class="method-args">(row, border_direction)</span>
|
|
3022
|
+
</a>
|
|
3023
|
+
</div>
|
|
3024
|
+
|
|
1570
3025
|
</div>
|
|
1571
3026
|
|
|
1572
|
-
<div class="method-description">
|
|
1573
|
-
|
|
1574
3027
|
|
|
3028
|
+
<div class="method-controls">
|
|
3029
|
+
<details class="method-source-toggle">
|
|
3030
|
+
<summary>Source</summary>
|
|
3031
|
+
</details>
|
|
3032
|
+
</div>
|
|
1575
3033
|
<div class="method-source-code" id="get_row_border-source">
|
|
1576
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 286</span>
|
|
3034
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 286</span>
|
|
1577
3035
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">border_direction</span>)
|
|
1578
3036
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1579
3037
|
|
|
@@ -1581,25 +3039,44 @@
|
|
|
1581
3039
|
<span class="ruby-identifier">border</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">border</span>.<span class="ruby-identifier">get_edge_style</span>(<span class="ruby-identifier">border_direction</span>)
|
|
1582
3040
|
<span class="ruby-keyword">end</span></pre>
|
|
1583
3041
|
</div>
|
|
3042
|
+
|
|
3043
|
+
|
|
3044
|
+
|
|
3045
|
+
<div class="method-description">
|
|
3046
|
+
|
|
3047
|
+
|
|
3048
|
+
|
|
3049
|
+
|
|
3050
|
+
|
|
1584
3051
|
</div>
|
|
1585
3052
|
|
|
1586
3053
|
|
|
3054
|
+
|
|
3055
|
+
|
|
3056
|
+
|
|
1587
3057
|
</div>
|
|
1588
3058
|
|
|
1589
|
-
|
|
3059
|
+
|
|
3060
|
+
<div id="method-i-get_row_border_color" class="method-detail anchor-link ">
|
|
1590
3061
|
<div class="method-header">
|
|
1591
|
-
|
|
1592
|
-
<
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
3062
|
+
|
|
3063
|
+
<div class="method-heading">
|
|
3064
|
+
<a href="#method-i-get_row_border_color" title="Link to this method">
|
|
3065
|
+
<span class="method-name">get_row_border_color</span>
|
|
3066
|
+
<span class="method-args">(row, border_direction)</span>
|
|
3067
|
+
</a>
|
|
3068
|
+
</div>
|
|
3069
|
+
|
|
1596
3070
|
</div>
|
|
1597
3071
|
|
|
1598
|
-
<div class="method-description">
|
|
1599
|
-
|
|
1600
3072
|
|
|
3073
|
+
<div class="method-controls">
|
|
3074
|
+
<details class="method-source-toggle">
|
|
3075
|
+
<summary>Source</summary>
|
|
3076
|
+
</details>
|
|
3077
|
+
</div>
|
|
1601
3078
|
<div class="method-source-code" id="get_row_border_color-source">
|
|
1602
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 293</span>
|
|
3079
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 293</span>
|
|
1603
3080
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_row_border_color</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">border_direction</span>)
|
|
1604
3081
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1605
3082
|
|
|
@@ -1607,119 +3084,214 @@
|
|
|
1607
3084
|
<span class="ruby-identifier">border</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">border</span>.<span class="ruby-identifier">get_edge_color</span>(<span class="ruby-identifier">border_direction</span>)
|
|
1608
3085
|
<span class="ruby-keyword">end</span></pre>
|
|
1609
3086
|
</div>
|
|
3087
|
+
|
|
3088
|
+
|
|
3089
|
+
|
|
3090
|
+
<div class="method-description">
|
|
3091
|
+
|
|
3092
|
+
|
|
3093
|
+
|
|
3094
|
+
|
|
3095
|
+
|
|
1610
3096
|
</div>
|
|
1611
3097
|
|
|
1612
3098
|
|
|
3099
|
+
|
|
3100
|
+
|
|
3101
|
+
|
|
1613
3102
|
</div>
|
|
1614
3103
|
|
|
1615
|
-
|
|
3104
|
+
|
|
3105
|
+
<div id="method-i-get_row_fill" class="method-detail anchor-link ">
|
|
1616
3106
|
<div class="method-header">
|
|
1617
|
-
|
|
1618
|
-
<
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
3107
|
+
|
|
3108
|
+
<div class="method-heading">
|
|
3109
|
+
<a href="#method-i-get_row_fill" title="Link to this method">
|
|
3110
|
+
<span class="method-name">get_row_fill</span>
|
|
3111
|
+
<span class="method-args">(row = 0)</span>
|
|
3112
|
+
</a>
|
|
3113
|
+
</div>
|
|
3114
|
+
|
|
1622
3115
|
</div>
|
|
1623
3116
|
|
|
1624
|
-
<div class="method-description">
|
|
1625
|
-
|
|
1626
3117
|
|
|
3118
|
+
<div class="method-controls">
|
|
3119
|
+
<details class="method-source-toggle">
|
|
3120
|
+
<summary>Source</summary>
|
|
3121
|
+
</details>
|
|
3122
|
+
</div>
|
|
1627
3123
|
<div class="method-source-code" id="get_row_fill-source">
|
|
1628
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 245</span>
|
|
3124
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 245</span>
|
|
1629
3125
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_row_fill</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
1630
3126
|
(<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">&&</span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">get_fill_color</span>
|
|
1631
3127
|
<span class="ruby-keyword">end</span></pre>
|
|
1632
3128
|
</div>
|
|
3129
|
+
|
|
3130
|
+
|
|
3131
|
+
|
|
3132
|
+
<div class="method-description">
|
|
3133
|
+
|
|
3134
|
+
|
|
3135
|
+
|
|
3136
|
+
|
|
3137
|
+
|
|
1633
3138
|
</div>
|
|
1634
3139
|
|
|
1635
3140
|
|
|
3141
|
+
|
|
3142
|
+
|
|
3143
|
+
|
|
1636
3144
|
</div>
|
|
1637
3145
|
|
|
1638
|
-
|
|
3146
|
+
|
|
3147
|
+
<div id="method-i-get_row_font_color" class="method-detail anchor-link ">
|
|
1639
3148
|
<div class="method-header">
|
|
1640
|
-
|
|
1641
|
-
<
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
3149
|
+
|
|
3150
|
+
<div class="method-heading">
|
|
3151
|
+
<a href="#method-i-get_row_font_color" title="Link to this method">
|
|
3152
|
+
<span class="method-name">get_row_font_color</span>
|
|
3153
|
+
<span class="method-args">(row = 0)</span>
|
|
3154
|
+
</a>
|
|
3155
|
+
</div>
|
|
3156
|
+
|
|
1645
3157
|
</div>
|
|
1646
3158
|
|
|
1647
|
-
<div class="method-description">
|
|
1648
|
-
|
|
1649
3159
|
|
|
3160
|
+
<div class="method-controls">
|
|
3161
|
+
<details class="method-source-toggle">
|
|
3162
|
+
<summary>Source</summary>
|
|
3163
|
+
</details>
|
|
3164
|
+
</div>
|
|
1650
3165
|
<div class="method-source-code" id="get_row_font_color-source">
|
|
1651
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 257</span>
|
|
3166
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 257</span>
|
|
1652
3167
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_row_font_color</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
1653
3168
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)
|
|
1654
3169
|
<span class="ruby-identifier">color</span> = <span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">color</span>
|
|
1655
3170
|
<span class="ruby-identifier">color</span> <span class="ruby-operator">&&</span> (<span class="ruby-identifier">color</span>.<span class="ruby-identifier">rgb</span> <span class="ruby-operator">||</span> <span class="ruby-string">'000000'</span>)
|
|
1656
3171
|
<span class="ruby-keyword">end</span></pre>
|
|
1657
3172
|
</div>
|
|
3173
|
+
|
|
3174
|
+
|
|
3175
|
+
|
|
3176
|
+
<div class="method-description">
|
|
3177
|
+
|
|
3178
|
+
|
|
3179
|
+
|
|
3180
|
+
|
|
3181
|
+
|
|
1658
3182
|
</div>
|
|
1659
3183
|
|
|
1660
3184
|
|
|
3185
|
+
|
|
3186
|
+
|
|
3187
|
+
|
|
1661
3188
|
</div>
|
|
1662
3189
|
|
|
1663
|
-
|
|
3190
|
+
|
|
3191
|
+
<div id="method-i-get_row_font_name" class="method-detail anchor-link ">
|
|
1664
3192
|
<div class="method-header">
|
|
1665
|
-
|
|
1666
|
-
<
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
3193
|
+
|
|
3194
|
+
<div class="method-heading">
|
|
3195
|
+
<a href="#method-i-get_row_font_name" title="Link to this method">
|
|
3196
|
+
<span class="method-name">get_row_font_name</span>
|
|
3197
|
+
<span class="method-args">(row = 0)</span>
|
|
3198
|
+
</a>
|
|
3199
|
+
</div>
|
|
3200
|
+
|
|
1670
3201
|
</div>
|
|
1671
3202
|
|
|
1672
|
-
<div class="method-description">
|
|
1673
|
-
|
|
1674
3203
|
|
|
3204
|
+
<div class="method-controls">
|
|
3205
|
+
<details class="method-source-toggle">
|
|
3206
|
+
<summary>Source</summary>
|
|
3207
|
+
</details>
|
|
3208
|
+
</div>
|
|
1675
3209
|
<div class="method-source-code" id="get_row_font_name-source">
|
|
1676
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 249</span>
|
|
3210
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 249</span>
|
|
1677
3211
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_row_font_name</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
1678
3212
|
(<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_name</span>
|
|
1679
3213
|
<span class="ruby-keyword">end</span></pre>
|
|
1680
3214
|
</div>
|
|
3215
|
+
|
|
3216
|
+
|
|
3217
|
+
|
|
3218
|
+
<div class="method-description">
|
|
3219
|
+
|
|
3220
|
+
|
|
3221
|
+
|
|
3222
|
+
|
|
3223
|
+
|
|
1681
3224
|
</div>
|
|
1682
3225
|
|
|
1683
3226
|
|
|
3227
|
+
|
|
3228
|
+
|
|
3229
|
+
|
|
1684
3230
|
</div>
|
|
1685
3231
|
|
|
1686
|
-
|
|
3232
|
+
|
|
3233
|
+
<div id="method-i-get_row_font_size" class="method-detail anchor-link ">
|
|
1687
3234
|
<div class="method-header">
|
|
1688
|
-
|
|
1689
|
-
<
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
3235
|
+
|
|
3236
|
+
<div class="method-heading">
|
|
3237
|
+
<a href="#method-i-get_row_font_size" title="Link to this method">
|
|
3238
|
+
<span class="method-name">get_row_font_size</span>
|
|
3239
|
+
<span class="method-args">(row = 0)</span>
|
|
3240
|
+
</a>
|
|
3241
|
+
</div>
|
|
3242
|
+
|
|
1693
3243
|
</div>
|
|
1694
3244
|
|
|
1695
|
-
<div class="method-description">
|
|
1696
|
-
|
|
1697
3245
|
|
|
3246
|
+
<div class="method-controls">
|
|
3247
|
+
<details class="method-source-toggle">
|
|
3248
|
+
<summary>Source</summary>
|
|
3249
|
+
</details>
|
|
3250
|
+
</div>
|
|
1698
3251
|
<div class="method-source-code" id="get_row_font_size-source">
|
|
1699
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 253</span>
|
|
3252
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 253</span>
|
|
1700
3253
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_row_font_size</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
1701
3254
|
(<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_size</span>
|
|
1702
3255
|
<span class="ruby-keyword">end</span></pre>
|
|
1703
3256
|
</div>
|
|
3257
|
+
|
|
3258
|
+
|
|
3259
|
+
|
|
3260
|
+
<div class="method-description">
|
|
3261
|
+
|
|
3262
|
+
|
|
3263
|
+
|
|
3264
|
+
|
|
3265
|
+
|
|
1704
3266
|
</div>
|
|
1705
3267
|
|
|
1706
3268
|
|
|
3269
|
+
|
|
3270
|
+
|
|
3271
|
+
|
|
1707
3272
|
</div>
|
|
1708
3273
|
|
|
1709
|
-
|
|
3274
|
+
|
|
3275
|
+
<div id="method-i-get_row_height" class="method-detail anchor-link ">
|
|
1710
3276
|
<div class="method-header">
|
|
1711
|
-
|
|
1712
|
-
<
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
3277
|
+
|
|
3278
|
+
<div class="method-heading">
|
|
3279
|
+
<a href="#method-i-get_row_height" title="Link to this method">
|
|
3280
|
+
<span class="method-name">get_row_height</span>
|
|
3281
|
+
<span class="method-args">(row = 0)</span>
|
|
3282
|
+
</a>
|
|
3283
|
+
</div>
|
|
3284
|
+
|
|
1716
3285
|
</div>
|
|
1717
3286
|
|
|
1718
|
-
<div class="method-description">
|
|
1719
|
-
|
|
1720
3287
|
|
|
3288
|
+
<div class="method-controls">
|
|
3289
|
+
<details class="method-source-toggle">
|
|
3290
|
+
<summary>Source</summary>
|
|
3291
|
+
</details>
|
|
3292
|
+
</div>
|
|
1721
3293
|
<div class="method-source-code" id="get_row_height-source">
|
|
1722
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 279</span>
|
|
3294
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 279</span>
|
|
1723
3295
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_row_height</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
1724
3296
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1725
3297
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
|
|
@@ -1727,49 +3299,87 @@
|
|
|
1727
3299
|
(<span class="ruby-identifier">row</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">ht</span>) <span class="ruby-operator">||</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Row</span><span class="ruby-operator">::</span><span class="ruby-constant">DEFAULT_HEIGHT</span>
|
|
1728
3300
|
<span class="ruby-keyword">end</span></pre>
|
|
1729
3301
|
</div>
|
|
3302
|
+
|
|
3303
|
+
|
|
3304
|
+
|
|
3305
|
+
<div class="method-description">
|
|
3306
|
+
|
|
3307
|
+
|
|
3308
|
+
|
|
3309
|
+
|
|
3310
|
+
|
|
1730
3311
|
</div>
|
|
1731
3312
|
|
|
1732
3313
|
|
|
3314
|
+
|
|
3315
|
+
|
|
3316
|
+
|
|
1733
3317
|
</div>
|
|
1734
3318
|
|
|
1735
|
-
|
|
3319
|
+
|
|
3320
|
+
<div id="method-i-get_row_style" class="method-detail anchor-link ">
|
|
1736
3321
|
<div class="method-header">
|
|
1737
|
-
|
|
1738
|
-
<
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
3322
|
+
|
|
3323
|
+
<div class="method-heading">
|
|
3324
|
+
<a href="#method-i-get_row_style" title="Link to this method">
|
|
3325
|
+
<span class="method-name">get_row_style</span>
|
|
3326
|
+
<span class="method-args">(row_index)</span>
|
|
3327
|
+
</a>
|
|
3328
|
+
</div>
|
|
3329
|
+
|
|
1742
3330
|
</div>
|
|
1743
3331
|
|
|
1744
|
-
<div class="method-description">
|
|
1745
|
-
|
|
1746
3332
|
|
|
3333
|
+
<div class="method-controls">
|
|
3334
|
+
<details class="method-source-toggle">
|
|
3335
|
+
<summary>Source</summary>
|
|
3336
|
+
</details>
|
|
3337
|
+
</div>
|
|
1747
3338
|
<div class="method-source-code" id="get_row_style-source">
|
|
1748
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 240</span>
|
|
3339
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 240</span>
|
|
1749
3340
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_row_style</span>(<span class="ruby-identifier">row_index</span>)
|
|
1750
3341
|
<span class="ruby-identifier">row</span> = <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">row_index</span>]
|
|
1751
3342
|
(<span class="ruby-identifier">row</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">style_index</span>) <span class="ruby-operator">||</span> <span class="ruby-value">0</span>
|
|
1752
3343
|
<span class="ruby-keyword">end</span></pre>
|
|
1753
3344
|
</div>
|
|
3345
|
+
|
|
3346
|
+
|
|
3347
|
+
|
|
3348
|
+
<div class="method-description">
|
|
3349
|
+
|
|
3350
|
+
|
|
3351
|
+
|
|
3352
|
+
|
|
3353
|
+
|
|
1754
3354
|
</div>
|
|
1755
3355
|
|
|
1756
3356
|
|
|
3357
|
+
|
|
3358
|
+
|
|
3359
|
+
|
|
1757
3360
|
</div>
|
|
1758
3361
|
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
3362
|
+
|
|
3363
|
+
<div id="method-i-insert_cell" class="method-detail anchor-link ">
|
|
3364
|
+
<div class="method-header">
|
|
3365
|
+
|
|
3366
|
+
<div class="method-heading">
|
|
3367
|
+
<a href="#method-i-insert_cell" title="Link to this method">
|
|
3368
|
+
<span class="method-name">insert_cell</span>
|
|
3369
|
+
<span class="method-args">(row = 0, col = 0, data = nil, formula = nil, shift = nil)</span>
|
|
3370
|
+
</a>
|
|
3371
|
+
</div>
|
|
3372
|
+
|
|
1766
3373
|
</div>
|
|
1767
3374
|
|
|
1768
|
-
<div class="method-description">
|
|
1769
|
-
|
|
1770
3375
|
|
|
3376
|
+
<div class="method-controls">
|
|
3377
|
+
<details class="method-source-toggle">
|
|
3378
|
+
<summary>Source</summary>
|
|
3379
|
+
</details>
|
|
3380
|
+
</div>
|
|
1771
3381
|
<div class="method-source-code" id="insert_cell-source">
|
|
1772
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 11</span>
|
|
3382
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 11</span>
|
|
1773
3383
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">insert_cell</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">data</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">formula</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">shift</span> = <span class="ruby-keyword">nil</span>)
|
|
1774
3384
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1775
3385
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">col</span>)
|
|
@@ -1796,25 +3406,44 @@
|
|
|
1796
3406
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">add_cell</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">col</span>, <span class="ruby-identifier">data</span>, <span class="ruby-identifier">formula</span>)
|
|
1797
3407
|
<span class="ruby-keyword">end</span></pre>
|
|
1798
3408
|
</div>
|
|
3409
|
+
|
|
3410
|
+
|
|
3411
|
+
|
|
3412
|
+
<div class="method-description">
|
|
3413
|
+
|
|
3414
|
+
|
|
3415
|
+
|
|
3416
|
+
|
|
3417
|
+
|
|
1799
3418
|
</div>
|
|
1800
3419
|
|
|
1801
3420
|
|
|
3421
|
+
|
|
3422
|
+
|
|
3423
|
+
|
|
1802
3424
|
</div>
|
|
1803
3425
|
|
|
1804
|
-
|
|
3426
|
+
|
|
3427
|
+
<div id="method-i-insert_column" class="method-detail anchor-link ">
|
|
1805
3428
|
<div class="method-header">
|
|
1806
|
-
|
|
1807
|
-
<
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
3429
|
+
|
|
3430
|
+
<div class="method-heading">
|
|
3431
|
+
<a href="#method-i-insert_column" title="Link to this method">
|
|
3432
|
+
<span class="method-name">insert_column</span>
|
|
3433
|
+
<span class="method-args">(column_index = 0)</span>
|
|
3434
|
+
</a>
|
|
3435
|
+
</div>
|
|
3436
|
+
|
|
1811
3437
|
</div>
|
|
1812
3438
|
|
|
1813
|
-
<div class="method-description">
|
|
1814
|
-
<p>Inserts column at <code>column_index</code>, pushes everything right, takes styles from column to left NOTE: use of this method will break formulas which reference cells which are being “pushed right”</p>
|
|
1815
3439
|
|
|
3440
|
+
<div class="method-controls">
|
|
3441
|
+
<details class="method-source-toggle">
|
|
3442
|
+
<summary>Source</summary>
|
|
3443
|
+
</details>
|
|
3444
|
+
</div>
|
|
1816
3445
|
<div class="method-source-code" id="insert_column-source">
|
|
1817
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 160</span>
|
|
3446
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 160</span>
|
|
1818
3447
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">insert_column</span>(<span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>)
|
|
1819
3448
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1820
3449
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
|
|
@@ -1859,25 +3488,44 @@
|
|
|
1859
3488
|
<span class="ruby-comment"># TODO: update column numbers</span>
|
|
1860
3489
|
<span class="ruby-keyword">end</span></pre>
|
|
1861
3490
|
</div>
|
|
3491
|
+
|
|
3492
|
+
|
|
3493
|
+
|
|
3494
|
+
<div class="method-description">
|
|
3495
|
+
|
|
3496
|
+
|
|
3497
|
+
<p>Inserts column at <code>column_index</code>, pushes everything right, takes styles from column to left NOTE: use of this method will break formulas which reference cells which are being “pushed right”</p>
|
|
3498
|
+
|
|
3499
|
+
|
|
1862
3500
|
</div>
|
|
1863
3501
|
|
|
1864
3502
|
|
|
3503
|
+
|
|
3504
|
+
|
|
3505
|
+
|
|
1865
3506
|
</div>
|
|
1866
3507
|
|
|
1867
|
-
|
|
3508
|
+
|
|
3509
|
+
<div id="method-i-insert_row" class="method-detail anchor-link ">
|
|
1868
3510
|
<div class="method-header">
|
|
1869
|
-
|
|
1870
|
-
<
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
3511
|
+
|
|
3512
|
+
<div class="method-heading">
|
|
3513
|
+
<a href="#method-i-insert_row" title="Link to this method">
|
|
3514
|
+
<span class="method-name">insert_row</span>
|
|
3515
|
+
<span class="method-args">(row_index = 0)</span>
|
|
3516
|
+
</a>
|
|
3517
|
+
</div>
|
|
3518
|
+
|
|
1874
3519
|
</div>
|
|
1875
3520
|
|
|
1876
|
-
<div class="method-description">
|
|
1877
|
-
<p>Inserts row at row_index, pushes down, copies style from the row above (that’s what Excel 2013 does!) NOTE: use of this method will break formulas which reference cells which are being “pushed down”</p>
|
|
1878
3521
|
|
|
3522
|
+
<div class="method-controls">
|
|
3523
|
+
<details class="method-source-toggle">
|
|
3524
|
+
<summary>Source</summary>
|
|
3525
|
+
</details>
|
|
3526
|
+
</div>
|
|
1879
3527
|
<div class="method-source-code" id="insert_row-source">
|
|
1880
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 73</span>
|
|
3528
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 73</span>
|
|
1881
3529
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">insert_row</span>(<span class="ruby-identifier">row_index</span> = <span class="ruby-value">0</span>)
|
|
1882
3530
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1883
3531
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row_index</span>)
|
|
@@ -1931,213 +3579,384 @@
|
|
|
1931
3579
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">new_row</span>
|
|
1932
3580
|
<span class="ruby-keyword">end</span></pre>
|
|
1933
3581
|
</div>
|
|
3582
|
+
|
|
3583
|
+
|
|
3584
|
+
|
|
3585
|
+
<div class="method-description">
|
|
3586
|
+
|
|
3587
|
+
|
|
3588
|
+
<p>Inserts row at row_index, pushes down, copies style from the row above (that’s what Excel 2013 does!) NOTE: use of this method will break formulas which reference cells which are being “pushed down”</p>
|
|
3589
|
+
|
|
3590
|
+
|
|
1934
3591
|
</div>
|
|
1935
3592
|
|
|
1936
3593
|
|
|
3594
|
+
|
|
3595
|
+
|
|
3596
|
+
|
|
1937
3597
|
</div>
|
|
1938
3598
|
|
|
1939
|
-
|
|
3599
|
+
|
|
3600
|
+
<div id="method-i-is_column_bolded" class="method-detail anchor-link ">
|
|
1940
3601
|
<div class="method-header">
|
|
1941
|
-
|
|
1942
|
-
<
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
3602
|
+
|
|
3603
|
+
<div class="method-heading">
|
|
3604
|
+
<a href="#method-i-is_column_bolded" title="Link to this method">
|
|
3605
|
+
<span class="method-name">is_column_bolded</span>
|
|
3606
|
+
<span class="method-args">(col = 0)</span>
|
|
3607
|
+
</a>
|
|
3608
|
+
</div>
|
|
3609
|
+
|
|
1946
3610
|
</div>
|
|
1947
3611
|
|
|
1948
|
-
<div class="method-description">
|
|
1949
|
-
|
|
1950
3612
|
|
|
3613
|
+
<div class="method-controls">
|
|
3614
|
+
<details class="method-source-toggle">
|
|
3615
|
+
<summary>Source</summary>
|
|
3616
|
+
</details>
|
|
3617
|
+
</div>
|
|
1951
3618
|
<div class="method-source-code" id="is_column_bolded-source">
|
|
1952
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 341</span>
|
|
3619
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 341</span>
|
|
1953
3620
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">is_column_bolded</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
|
|
1954
3621
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
1955
3622
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_bold</span>
|
|
1956
3623
|
<span class="ruby-keyword">end</span></pre>
|
|
1957
3624
|
</div>
|
|
3625
|
+
|
|
3626
|
+
|
|
3627
|
+
|
|
3628
|
+
<div class="method-description">
|
|
3629
|
+
|
|
3630
|
+
|
|
3631
|
+
|
|
3632
|
+
|
|
3633
|
+
|
|
1958
3634
|
</div>
|
|
1959
3635
|
|
|
1960
3636
|
|
|
3637
|
+
|
|
3638
|
+
|
|
3639
|
+
|
|
1961
3640
|
</div>
|
|
1962
3641
|
|
|
1963
|
-
|
|
3642
|
+
|
|
3643
|
+
<div id="method-i-is_column_italicized" class="method-detail anchor-link ">
|
|
1964
3644
|
<div class="method-header">
|
|
1965
|
-
|
|
1966
|
-
<
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
3645
|
+
|
|
3646
|
+
<div class="method-heading">
|
|
3647
|
+
<a href="#method-i-is_column_italicized" title="Link to this method">
|
|
3648
|
+
<span class="method-name">is_column_italicized</span>
|
|
3649
|
+
<span class="method-args">(col = 0)</span>
|
|
3650
|
+
</a>
|
|
3651
|
+
</div>
|
|
3652
|
+
|
|
1970
3653
|
</div>
|
|
1971
3654
|
|
|
1972
|
-
<div class="method-description">
|
|
1973
|
-
|
|
1974
3655
|
|
|
3656
|
+
<div class="method-controls">
|
|
3657
|
+
<details class="method-source-toggle">
|
|
3658
|
+
<summary>Source</summary>
|
|
3659
|
+
</details>
|
|
3660
|
+
</div>
|
|
1975
3661
|
<div class="method-source-code" id="is_column_italicized-source">
|
|
1976
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 336</span>
|
|
3662
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 336</span>
|
|
1977
3663
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">is_column_italicized</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
|
|
1978
3664
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
1979
3665
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_italic</span>
|
|
1980
3666
|
<span class="ruby-keyword">end</span></pre>
|
|
1981
3667
|
</div>
|
|
3668
|
+
|
|
3669
|
+
|
|
3670
|
+
|
|
3671
|
+
<div class="method-description">
|
|
3672
|
+
|
|
3673
|
+
|
|
3674
|
+
|
|
3675
|
+
|
|
3676
|
+
|
|
1982
3677
|
</div>
|
|
1983
3678
|
|
|
1984
3679
|
|
|
3680
|
+
|
|
3681
|
+
|
|
3682
|
+
|
|
1985
3683
|
</div>
|
|
1986
3684
|
|
|
1987
|
-
|
|
3685
|
+
|
|
3686
|
+
<div id="method-i-is_column_struckthrough" class="method-detail anchor-link ">
|
|
1988
3687
|
<div class="method-header">
|
|
1989
|
-
|
|
1990
|
-
<
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
3688
|
+
|
|
3689
|
+
<div class="method-heading">
|
|
3690
|
+
<a href="#method-i-is_column_struckthrough" title="Link to this method">
|
|
3691
|
+
<span class="method-name">is_column_struckthrough</span>
|
|
3692
|
+
<span class="method-args">(col = 0)</span>
|
|
3693
|
+
</a>
|
|
3694
|
+
</div>
|
|
3695
|
+
|
|
1994
3696
|
</div>
|
|
1995
3697
|
|
|
1996
|
-
<div class="method-description">
|
|
1997
|
-
|
|
1998
3698
|
|
|
3699
|
+
<div class="method-controls">
|
|
3700
|
+
<details class="method-source-toggle">
|
|
3701
|
+
<summary>Source</summary>
|
|
3702
|
+
</details>
|
|
3703
|
+
</div>
|
|
1999
3704
|
<div class="method-source-code" id="is_column_struckthrough-source">
|
|
2000
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 351</span>
|
|
3705
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 351</span>
|
|
2001
3706
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">is_column_struckthrough</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
|
|
2002
3707
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
2003
3708
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_strikethrough</span>
|
|
2004
3709
|
<span class="ruby-keyword">end</span></pre>
|
|
2005
3710
|
</div>
|
|
3711
|
+
|
|
3712
|
+
|
|
3713
|
+
|
|
3714
|
+
<div class="method-description">
|
|
3715
|
+
|
|
3716
|
+
|
|
3717
|
+
|
|
3718
|
+
|
|
3719
|
+
|
|
2006
3720
|
</div>
|
|
2007
3721
|
|
|
2008
3722
|
|
|
3723
|
+
|
|
3724
|
+
|
|
3725
|
+
|
|
2009
3726
|
</div>
|
|
2010
3727
|
|
|
2011
|
-
|
|
3728
|
+
|
|
3729
|
+
<div id="method-i-is_column_underlined" class="method-detail anchor-link ">
|
|
2012
3730
|
<div class="method-header">
|
|
2013
|
-
|
|
2014
|
-
<
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
3731
|
+
|
|
3732
|
+
<div class="method-heading">
|
|
3733
|
+
<a href="#method-i-is_column_underlined" title="Link to this method">
|
|
3734
|
+
<span class="method-name">is_column_underlined</span>
|
|
3735
|
+
<span class="method-args">(col = 0)</span>
|
|
3736
|
+
</a>
|
|
3737
|
+
</div>
|
|
3738
|
+
|
|
2018
3739
|
</div>
|
|
2019
3740
|
|
|
2020
|
-
<div class="method-description">
|
|
2021
|
-
|
|
2022
3741
|
|
|
3742
|
+
<div class="method-controls">
|
|
3743
|
+
<details class="method-source-toggle">
|
|
3744
|
+
<summary>Source</summary>
|
|
3745
|
+
</details>
|
|
3746
|
+
</div>
|
|
2023
3747
|
<div class="method-source-code" id="is_column_underlined-source">
|
|
2024
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 346</span>
|
|
3748
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 346</span>
|
|
2025
3749
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">is_column_underlined</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
|
|
2026
3750
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
2027
3751
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_underlined</span>
|
|
2028
3752
|
<span class="ruby-keyword">end</span></pre>
|
|
2029
3753
|
</div>
|
|
3754
|
+
|
|
3755
|
+
|
|
3756
|
+
|
|
3757
|
+
<div class="method-description">
|
|
3758
|
+
|
|
3759
|
+
|
|
3760
|
+
|
|
3761
|
+
|
|
3762
|
+
|
|
2030
3763
|
</div>
|
|
2031
3764
|
|
|
2032
3765
|
|
|
3766
|
+
|
|
3767
|
+
|
|
3768
|
+
|
|
2033
3769
|
</div>
|
|
2034
3770
|
|
|
2035
|
-
|
|
3771
|
+
|
|
3772
|
+
<div id="method-i-is_row_bolded" class="method-detail anchor-link ">
|
|
2036
3773
|
<div class="method-header">
|
|
2037
|
-
|
|
2038
|
-
<
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
3774
|
+
|
|
3775
|
+
<div class="method-heading">
|
|
3776
|
+
<a href="#method-i-is_row_bolded" title="Link to this method">
|
|
3777
|
+
<span class="method-name">is_row_bolded</span>
|
|
3778
|
+
<span class="method-args">(row = 0)</span>
|
|
3779
|
+
</a>
|
|
3780
|
+
</div>
|
|
3781
|
+
|
|
2042
3782
|
</div>
|
|
2043
3783
|
|
|
2044
|
-
<div class="method-description">
|
|
2045
|
-
|
|
2046
3784
|
|
|
3785
|
+
<div class="method-controls">
|
|
3786
|
+
<details class="method-source-toggle">
|
|
3787
|
+
<summary>Source</summary>
|
|
3788
|
+
</details>
|
|
3789
|
+
</div>
|
|
2047
3790
|
<div class="method-source-code" id="is_row_bolded-source">
|
|
2048
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 267</span>
|
|
3791
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 267</span>
|
|
2049
3792
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">is_row_bolded</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
2050
3793
|
(<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_bold</span>
|
|
2051
3794
|
<span class="ruby-keyword">end</span></pre>
|
|
2052
3795
|
</div>
|
|
3796
|
+
|
|
3797
|
+
|
|
3798
|
+
|
|
3799
|
+
<div class="method-description">
|
|
3800
|
+
|
|
3801
|
+
|
|
3802
|
+
|
|
3803
|
+
|
|
3804
|
+
|
|
2053
3805
|
</div>
|
|
2054
3806
|
|
|
2055
3807
|
|
|
3808
|
+
|
|
3809
|
+
|
|
3810
|
+
|
|
2056
3811
|
</div>
|
|
2057
3812
|
|
|
2058
|
-
|
|
3813
|
+
|
|
3814
|
+
<div id="method-i-is_row_italicized" class="method-detail anchor-link ">
|
|
2059
3815
|
<div class="method-header">
|
|
2060
|
-
|
|
2061
|
-
<
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
3816
|
+
|
|
3817
|
+
<div class="method-heading">
|
|
3818
|
+
<a href="#method-i-is_row_italicized" title="Link to this method">
|
|
3819
|
+
<span class="method-name">is_row_italicized</span>
|
|
3820
|
+
<span class="method-args">(row = 0)</span>
|
|
3821
|
+
</a>
|
|
3822
|
+
</div>
|
|
3823
|
+
|
|
2065
3824
|
</div>
|
|
2066
3825
|
|
|
2067
|
-
<div class="method-description">
|
|
2068
|
-
|
|
2069
3826
|
|
|
3827
|
+
<div class="method-controls">
|
|
3828
|
+
<details class="method-source-toggle">
|
|
3829
|
+
<summary>Source</summary>
|
|
3830
|
+
</details>
|
|
3831
|
+
</div>
|
|
2070
3832
|
<div class="method-source-code" id="is_row_italicized-source">
|
|
2071
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 263</span>
|
|
3833
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 263</span>
|
|
2072
3834
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">is_row_italicized</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
2073
3835
|
(<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_italic</span>
|
|
2074
3836
|
<span class="ruby-keyword">end</span></pre>
|
|
2075
3837
|
</div>
|
|
3838
|
+
|
|
3839
|
+
|
|
3840
|
+
|
|
3841
|
+
<div class="method-description">
|
|
3842
|
+
|
|
3843
|
+
|
|
3844
|
+
|
|
3845
|
+
|
|
3846
|
+
|
|
2076
3847
|
</div>
|
|
2077
3848
|
|
|
2078
3849
|
|
|
3850
|
+
|
|
3851
|
+
|
|
3852
|
+
|
|
2079
3853
|
</div>
|
|
2080
3854
|
|
|
2081
|
-
|
|
3855
|
+
|
|
3856
|
+
<div id="method-i-is_row_struckthrough" class="method-detail anchor-link ">
|
|
2082
3857
|
<div class="method-header">
|
|
2083
|
-
|
|
2084
|
-
<
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
3858
|
+
|
|
3859
|
+
<div class="method-heading">
|
|
3860
|
+
<a href="#method-i-is_row_struckthrough" title="Link to this method">
|
|
3861
|
+
<span class="method-name">is_row_struckthrough</span>
|
|
3862
|
+
<span class="method-args">(row = 0)</span>
|
|
3863
|
+
</a>
|
|
3864
|
+
</div>
|
|
3865
|
+
|
|
2088
3866
|
</div>
|
|
2089
3867
|
|
|
2090
|
-
<div class="method-description">
|
|
2091
|
-
|
|
2092
3868
|
|
|
3869
|
+
<div class="method-controls">
|
|
3870
|
+
<details class="method-source-toggle">
|
|
3871
|
+
<summary>Source</summary>
|
|
3872
|
+
</details>
|
|
3873
|
+
</div>
|
|
2093
3874
|
<div class="method-source-code" id="is_row_struckthrough-source">
|
|
2094
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 275</span>
|
|
3875
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 275</span>
|
|
2095
3876
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">is_row_struckthrough</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
2096
3877
|
(<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_strikethrough</span>
|
|
2097
3878
|
<span class="ruby-keyword">end</span></pre>
|
|
2098
3879
|
</div>
|
|
3880
|
+
|
|
3881
|
+
|
|
3882
|
+
|
|
3883
|
+
<div class="method-description">
|
|
3884
|
+
|
|
3885
|
+
|
|
3886
|
+
|
|
3887
|
+
|
|
3888
|
+
|
|
2099
3889
|
</div>
|
|
2100
3890
|
|
|
2101
3891
|
|
|
3892
|
+
|
|
3893
|
+
|
|
3894
|
+
|
|
2102
3895
|
</div>
|
|
2103
3896
|
|
|
2104
|
-
|
|
3897
|
+
|
|
3898
|
+
<div id="method-i-is_row_underlined" class="method-detail anchor-link ">
|
|
2105
3899
|
<div class="method-header">
|
|
2106
|
-
|
|
2107
|
-
<
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
3900
|
+
|
|
3901
|
+
<div class="method-heading">
|
|
3902
|
+
<a href="#method-i-is_row_underlined" title="Link to this method">
|
|
3903
|
+
<span class="method-name">is_row_underlined</span>
|
|
3904
|
+
<span class="method-args">(row = 0)</span>
|
|
3905
|
+
</a>
|
|
3906
|
+
</div>
|
|
3907
|
+
|
|
2111
3908
|
</div>
|
|
2112
3909
|
|
|
2113
|
-
<div class="method-description">
|
|
2114
|
-
|
|
2115
3910
|
|
|
3911
|
+
<div class="method-controls">
|
|
3912
|
+
<details class="method-source-toggle">
|
|
3913
|
+
<summary>Source</summary>
|
|
3914
|
+
</details>
|
|
3915
|
+
</div>
|
|
2116
3916
|
<div class="method-source-code" id="is_row_underlined-source">
|
|
2117
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 271</span>
|
|
3917
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 271</span>
|
|
2118
3918
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">is_row_underlined</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
2119
3919
|
(<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_underlined</span>
|
|
2120
3920
|
<span class="ruby-keyword">end</span></pre>
|
|
2121
3921
|
</div>
|
|
3922
|
+
|
|
3923
|
+
|
|
3924
|
+
|
|
3925
|
+
<div class="method-description">
|
|
3926
|
+
|
|
3927
|
+
|
|
3928
|
+
|
|
3929
|
+
|
|
3930
|
+
|
|
2122
3931
|
</div>
|
|
2123
3932
|
|
|
2124
3933
|
|
|
3934
|
+
|
|
3935
|
+
|
|
3936
|
+
|
|
2125
3937
|
</div>
|
|
2126
3938
|
|
|
2127
|
-
|
|
3939
|
+
|
|
3940
|
+
<div id="method-i-merge_cells" class="method-detail anchor-link ">
|
|
2128
3941
|
<div class="method-header">
|
|
2129
|
-
|
|
2130
|
-
<
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
3942
|
+
|
|
3943
|
+
<div class="method-heading">
|
|
3944
|
+
<a href="#method-i-merge_cells" title="Link to this method">
|
|
3945
|
+
<span class="method-name">merge_cells</span>
|
|
3946
|
+
<span class="method-args">(*params)</span>
|
|
3947
|
+
</a>
|
|
3948
|
+
</div>
|
|
3949
|
+
|
|
2134
3950
|
</div>
|
|
2135
3951
|
|
|
2136
|
-
<div class="method-description">
|
|
2137
|
-
<p>Merges cells within a rectangular area <a href="WorksheetConvenienceMethods.html#method-i-merge_cells"><code>merge_cells(row_from, col_from, row_to, col_to)</code></a> <a href="WorksheetConvenienceMethods.html#method-i-merge_cells"><code>merge_cells(reference_string)</code></a> <a href="WorksheetConvenienceMethods.html#method-i-merge_cells"><code>merge_cells</code></a>(row_from:, row_to:, col_from:, col_to:)</p>
|
|
2138
3952
|
|
|
3953
|
+
<div class="method-controls">
|
|
3954
|
+
<details class="method-source-toggle">
|
|
3955
|
+
<summary>Source</summary>
|
|
3956
|
+
</details>
|
|
3957
|
+
</div>
|
|
2139
3958
|
<div class="method-source-code" id="merge_cells-source">
|
|
2140
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 695</span>
|
|
3959
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 695</span>
|
|
2141
3960
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">merge_cells</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">params</span>)
|
|
2142
3961
|
<span class="ruby-identifier">validate_workbook</span>
|
|
2143
3962
|
|
|
@@ -2163,43 +3982,95 @@
|
|
|
2163
3982
|
<span class="ruby-identifier">merged_cells</span> <span class="ruby-operator"><<</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">MergedCell</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:ref</span> <span class="ruby-operator">=></span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Reference</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">row_from</span>, <span class="ruby-identifier">row_to</span>, <span class="ruby-identifier">col_from</span>, <span class="ruby-identifier">col_to</span>))
|
|
2164
3983
|
<span class="ruby-keyword">end</span></pre>
|
|
2165
3984
|
</div>
|
|
3985
|
+
|
|
3986
|
+
|
|
3987
|
+
|
|
3988
|
+
<div class="method-description">
|
|
3989
|
+
|
|
3990
|
+
|
|
3991
|
+
<p>Merges cells within a rectangular area <a href="WorksheetConvenienceMethods.html#method-i-merge_cells"><code>merge_cells(row_from, col_from, row_to, col_to)</code></a> <a href="WorksheetConvenienceMethods.html#method-i-merge_cells"><code>merge_cells(reference_string)</code></a> <a href="WorksheetConvenienceMethods.html#method-i-merge_cells"><code>merge_cells</code></a>(row_from:, row_to:, col_from:, col_to:)</p>
|
|
3992
|
+
|
|
3993
|
+
|
|
2166
3994
|
</div>
|
|
2167
3995
|
|
|
2168
3996
|
|
|
3997
|
+
|
|
3998
|
+
|
|
3999
|
+
|
|
2169
4000
|
</div>
|
|
2170
4001
|
|
|
2171
|
-
|
|
4002
|
+
|
|
4003
|
+
<div id="method-i-row_font" class="method-detail anchor-link ">
|
|
2172
4004
|
<div class="method-header">
|
|
2173
|
-
|
|
2174
|
-
<
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
4005
|
+
|
|
4006
|
+
<div class="method-heading">
|
|
4007
|
+
<a href="#method-i-row_font" title="Link to this method">
|
|
4008
|
+
<span class="method-name">row_font</span>
|
|
4009
|
+
<span class="method-args">(row)</span>
|
|
4010
|
+
</a>
|
|
4011
|
+
</div>
|
|
4012
|
+
|
|
2178
4013
|
</div>
|
|
2179
4014
|
|
|
2180
|
-
<div class="method-description">
|
|
2181
|
-
|
|
2182
4015
|
|
|
4016
|
+
<div class="method-controls">
|
|
4017
|
+
<details class="method-source-toggle">
|
|
4018
|
+
<summary>Source</summary>
|
|
4019
|
+
</details>
|
|
4020
|
+
</div>
|
|
2183
4021
|
<div class="method-source-code" id="row_font-source">
|
|
2184
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 300</span>
|
|
4022
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 300</span>
|
|
2185
4023
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">row_font</span>(<span class="ruby-identifier">row</span>)
|
|
2186
4024
|
(<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">&&</span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">get_font</span>
|
|
2187
4025
|
<span class="ruby-keyword">end</span></pre>
|
|
2188
4026
|
</div>
|
|
4027
|
+
|
|
4028
|
+
|
|
4029
|
+
|
|
4030
|
+
<div class="method-description">
|
|
4031
|
+
|
|
4032
|
+
|
|
4033
|
+
|
|
4034
|
+
|
|
4035
|
+
|
|
2189
4036
|
</div>
|
|
2190
4037
|
|
|
2191
4038
|
|
|
4039
|
+
|
|
4040
|
+
|
|
4041
|
+
|
|
2192
4042
|
</div>
|
|
2193
4043
|
|
|
4044
|
+
|
|
2194
4045
|
</section>
|
|
2195
4046
|
|
|
4047
|
+
|
|
4048
|
+
|
|
4049
|
+
|
|
2196
4050
|
</section>
|
|
4051
|
+
|
|
2197
4052
|
</main>
|
|
2198
4053
|
|
|
4054
|
+
<aside class="table-of-contents" role="complementary" aria-label="Table of Contents">
|
|
4055
|
+
<div class="toc-sticky">
|
|
4056
|
+
<h3 class="toc-heading">On This Page</h3>
|
|
4057
|
+
<nav class="toc-nav" id="toc-nav" aria-label="Page sections">
|
|
4058
|
+
<!-- Generated by JavaScript based on page headings -->
|
|
4059
|
+
</nav>
|
|
4060
|
+
</div>
|
|
4061
|
+
</aside>
|
|
4062
|
+
|
|
2199
4063
|
|
|
2200
|
-
<footer
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
<
|
|
4064
|
+
<footer class="site-footer">
|
|
4065
|
+
|
|
4066
|
+
|
|
4067
|
+
<div class="footer-bottom">
|
|
4068
|
+
<p>
|
|
4069
|
+
Generated by <a href="https://ruby.github.io/rdoc/">RDoc 7.2.0</a>
|
|
4070
|
+
using the Aliki theme by <a href="http://st0012.dev">Stan Lo</a>
|
|
4071
|
+
</p>
|
|
4072
|
+
</div>
|
|
2204
4073
|
</footer>
|
|
2205
4074
|
|
|
4075
|
+
</body>
|
|
4076
|
+
|