rubyXL 3.4.34 → 3.4.35
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/root.rb +1 -1
- data/rdoc/README_rdoc.html +358 -59
- data/rdoc/RubyXL/AExtension.html +157 -50
- data/rdoc/RubyXL/AExtensionStorageArea.html +69 -22
- data/rdoc/RubyXL/ActiveX.html +119 -38
- data/rdoc/RubyXL/ActiveXBinary.html +78 -23
- data/rdoc/RubyXL/AdjustHandleList.html +69 -22
- data/rdoc/RubyXL/Alignment.html +69 -22
- data/rdoc/RubyXL/AlternateContent.html +69 -22
- data/rdoc/RubyXL/AlternateUrls.html +69 -22
- data/rdoc/RubyXL/Authors.html +69 -22
- data/rdoc/RubyXL/AutoFilter.html +69 -22
- data/rdoc/RubyXL/AutoFilterColumn.html +69 -22
- data/rdoc/RubyXL/BinaryImageFile.html +85 -24
- data/rdoc/RubyXL/BodyProperties.html +69 -22
- data/rdoc/RubyXL/BooleanNode.html +69 -22
- data/rdoc/RubyXL/BooleanValue.html +69 -22
- data/rdoc/RubyXL/Border.html +196 -61
- data/rdoc/RubyXL/BorderEdge.html +136 -45
- data/rdoc/RubyXL/Borders.html +105 -36
- data/rdoc/RubyXL/Break.html +69 -22
- data/rdoc/RubyXL/BreakList.html +69 -22
- data/rdoc/RubyXL/CT_AdjPoint2D.html +69 -22
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +69 -22
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +69 -22
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +69 -22
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +69 -22
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +69 -22
- data/rdoc/RubyXL/CT_Backdrop.html +69 -22
- data/rdoc/RubyXL/CT_Bevel.html +69 -22
- data/rdoc/RubyXL/CT_BiLevelEffect.html +69 -22
- data/rdoc/RubyXL/CT_BlendEffect.html +69 -22
- data/rdoc/RubyXL/CT_Blip.html +69 -22
- data/rdoc/RubyXL/CT_BlipFillProperties.html +69 -22
- data/rdoc/RubyXL/CT_BlurEffect.html +69 -22
- data/rdoc/RubyXL/CT_Camera.html +69 -22
- data/rdoc/RubyXL/CT_Color.html +69 -22
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +69 -22
- data/rdoc/RubyXL/CT_ColorMapping.html +69 -22
- data/rdoc/RubyXL/CT_ColorScheme.html +69 -22
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +69 -22
- data/rdoc/RubyXL/CT_ConnectionSite.html +69 -22
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +69 -22
- data/rdoc/RubyXL/CT_DashStop.html +69 -22
- data/rdoc/RubyXL/CT_DashStopList.html +69 -22
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +69 -22
- data/rdoc/RubyXL/CT_DuotoneEffect.html +69 -22
- data/rdoc/RubyXL/CT_EffectContainer.html +69 -22
- data/rdoc/RubyXL/CT_EffectList.html +69 -22
- data/rdoc/RubyXL/CT_EffectReference.html +69 -22
- data/rdoc/RubyXL/CT_EffectStyleItem.html +69 -22
- data/rdoc/RubyXL/CT_EffectStyleList.html +69 -22
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +69 -22
- data/rdoc/RubyXL/CT_FillEffect.html +69 -22
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +69 -22
- data/rdoc/RubyXL/CT_FillStyleList.html +69 -22
- data/rdoc/RubyXL/CT_FlatText.html +69 -22
- data/rdoc/RubyXL/CT_FontCollection.html +69 -22
- data/rdoc/RubyXL/CT_FontReference.html +69 -22
- data/rdoc/RubyXL/CT_GeomGuideList.html +69 -22
- data/rdoc/RubyXL/CT_GlowEffect.html +69 -22
- data/rdoc/RubyXL/CT_GradientFillProperties.html +69 -22
- data/rdoc/RubyXL/CT_GradientStop.html +69 -22
- data/rdoc/RubyXL/CT_GradientStopList.html +69 -22
- data/rdoc/RubyXL/CT_HSLEffect.html +69 -22
- data/rdoc/RubyXL/CT_HslColor.html +69 -22
- data/rdoc/RubyXL/CT_Hyperlink.html +69 -22
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +69 -22
- data/rdoc/RubyXL/CT_LightRig.html +69 -22
- data/rdoc/RubyXL/CT_LineEndProperties.html +69 -22
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +69 -22
- data/rdoc/RubyXL/CT_LineProperties.html +69 -22
- data/rdoc/RubyXL/CT_LineStyleList.html +69 -22
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +69 -22
- data/rdoc/RubyXL/CT_LuminanceEffect.html +69 -22
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +69 -22
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +69 -22
- data/rdoc/RubyXL/CT_Path2D.html +69 -22
- data/rdoc/RubyXL/CT_Path2DArcTo.html +69 -22
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +69 -22
- data/rdoc/RubyXL/CT_Path2DList.html +69 -22
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +69 -22
- data/rdoc/RubyXL/CT_Path2DTo.html +69 -22
- data/rdoc/RubyXL/CT_PathShadeProperties.html +69 -22
- data/rdoc/RubyXL/CT_PatternFillProperties.html +69 -22
- data/rdoc/RubyXL/CT_Point3D.html +69 -22
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +69 -22
- data/rdoc/RubyXL/CT_PresetColor.html +69 -22
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +69 -22
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +69 -22
- data/rdoc/RubyXL/CT_PresetTextShape.html +69 -22
- data/rdoc/RubyXL/CT_ReflectionEffect.html +69 -22
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +69 -22
- data/rdoc/RubyXL/CT_RelativeRect.html +69 -22
- data/rdoc/RubyXL/CT_SRgbColor.html +69 -22
- data/rdoc/RubyXL/CT_ScRgbColor.html +69 -22
- data/rdoc/RubyXL/CT_Scene3D.html +69 -22
- data/rdoc/RubyXL/CT_SchemeColor.html +69 -22
- data/rdoc/RubyXL/CT_Shape3D.html +69 -22
- data/rdoc/RubyXL/CT_ShapeStyle.html +69 -22
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +69 -22
- data/rdoc/RubyXL/CT_SphereCoords.html +69 -22
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +69 -22
- data/rdoc/RubyXL/CT_StyleMatrix.html +69 -22
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +69 -22
- data/rdoc/RubyXL/CT_SupplementalFont.html +69 -22
- data/rdoc/RubyXL/CT_SystemColor.html +69 -22
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +69 -22
- data/rdoc/RubyXL/CT_TextBlipBullet.html +69 -22
- data/rdoc/RubyXL/CT_TextCharBullet.html +69 -22
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +69 -22
- data/rdoc/RubyXL/CT_TextFont.html +69 -22
- data/rdoc/RubyXL/CT_TextListStyle.html +69 -22
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +69 -22
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +69 -22
- data/rdoc/RubyXL/CT_TextSpacing.html +69 -22
- data/rdoc/RubyXL/CT_TextTabStop.html +69 -22
- data/rdoc/RubyXL/CT_TextTabStopList.html +69 -22
- data/rdoc/RubyXL/CT_TileInfoProperties.html +69 -22
- data/rdoc/RubyXL/CT_TintEffect.html +69 -22
- data/rdoc/RubyXL/CT_Transform2D.html +69 -22
- data/rdoc/RubyXL/CT_TransformEffect.html +69 -22
- data/rdoc/RubyXL/CT_Vector3D.html +69 -22
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +69 -22
- data/rdoc/RubyXL/CalculationChain.html +121 -38
- data/rdoc/RubyXL/CalculationChainCell.html +69 -22
- data/rdoc/RubyXL/CalculationProperties.html +69 -22
- data/rdoc/RubyXL/Cell.html +522 -147
- data/rdoc/RubyXL/CellConvenienceMethods.html +1188 -325
- data/rdoc/RubyXL/CellExt.html +69 -22
- data/rdoc/RubyXL/CellSmartTag.html +69 -22
- data/rdoc/RubyXL/CellSmartTagProperty.html +69 -22
- data/rdoc/RubyXL/CellSmartTags.html +69 -22
- data/rdoc/RubyXL/CellStyle.html +69 -22
- data/rdoc/RubyXL/CellStyleXFs.html +105 -36
- data/rdoc/RubyXL/CellStyles.html +105 -36
- data/rdoc/RubyXL/CellValue.html +105 -36
- data/rdoc/RubyXL/CellWatch.html +69 -22
- data/rdoc/RubyXL/CellWatches.html +69 -22
- data/rdoc/RubyXL/CellXFs.html +105 -36
- data/rdoc/RubyXL/ChartColorsFile.html +85 -24
- data/rdoc/RubyXL/ChartFile.html +126 -39
- data/rdoc/RubyXL/ChartStyleFile.html +85 -24
- data/rdoc/RubyXL/ChartUserShapesFile.html +85 -24
- data/rdoc/RubyXL/Chartsheet.html +174 -55
- data/rdoc/RubyXL/ChartsheetPageSetup.html +69 -22
- data/rdoc/RubyXL/ChartsheetProperties.html +69 -22
- data/rdoc/RubyXL/ChartsheetProtection.html +69 -22
- data/rdoc/RubyXL/ChartsheetView.html +69 -22
- data/rdoc/RubyXL/ChartsheetViews.html +69 -22
- data/rdoc/RubyXL/Color.html +114 -37
- data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +181 -58
- data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +220 -67
- data/rdoc/RubyXL/ColorConvenienceClasses.html +67 -19
- data/rdoc/RubyXL/ColorConvenienceMethods.html +103 -33
- data/rdoc/RubyXL/ColorFilter.html +69 -22
- data/rdoc/RubyXL/ColorScale.html +69 -22
- data/rdoc/RubyXL/ColorSet.html +69 -22
- data/rdoc/RubyXL/Colors.html +69 -22
- data/rdoc/RubyXL/ColumnRange.html +214 -63
- data/rdoc/RubyXL/ColumnRanges.html +196 -61
- data/rdoc/RubyXL/Comment.html +69 -22
- data/rdoc/RubyXL/CommentList.html +69 -22
- data/rdoc/RubyXL/CommentsFile.html +133 -42
- data/rdoc/RubyXL/ConditionalFormatValue.html +69 -22
- data/rdoc/RubyXL/ConditionalFormatting.html +69 -22
- data/rdoc/RubyXL/ConditionalFormattingRule.html +69 -22
- data/rdoc/RubyXL/Connection.html +69 -22
- data/rdoc/RubyXL/ConnectionTable.html +69 -22
- data/rdoc/RubyXL/ConnectionTables.html +69 -22
- data/rdoc/RubyXL/ConnectionTextField.html +69 -22
- data/rdoc/RubyXL/ConnectionTextFields.html +69 -22
- data/rdoc/RubyXL/Connections.html +121 -38
- data/rdoc/RubyXL/ContentTypeDefault.html +69 -22
- data/rdoc/RubyXL/ContentTypeOverride.html +69 -22
- data/rdoc/RubyXL/ContentTypes.html +152 -47
- data/rdoc/RubyXL/ControlPropertiesFile.html +85 -24
- data/rdoc/RubyXL/CorePropertiesFile.html +374 -107
- data/rdoc/RubyXL/CustomColor.html +69 -22
- data/rdoc/RubyXL/CustomColorList.html +69 -22
- data/rdoc/RubyXL/CustomFilter.html +69 -22
- data/rdoc/RubyXL/CustomFilters.html +69 -22
- data/rdoc/RubyXL/CustomGeometry.html +69 -22
- data/rdoc/RubyXL/CustomProperties.html +69 -22
- data/rdoc/RubyXL/CustomPropertiesFile.html +85 -24
- data/rdoc/RubyXL/CustomProperty.html +69 -22
- data/rdoc/RubyXL/CustomPropertyFile.html +85 -24
- data/rdoc/RubyXL/CustomSheetView.html +69 -22
- data/rdoc/RubyXL/CustomSheetViews.html +69 -22
- data/rdoc/RubyXL/CustomWorkbookView.html +69 -22
- data/rdoc/RubyXL/CustomWorkbookViews.html +69 -22
- data/rdoc/RubyXL/CustomXMLFile.html +78 -23
- data/rdoc/RubyXL/DXF.html +69 -22
- data/rdoc/RubyXL/DXFs.html +69 -22
- data/rdoc/RubyXL/DataBar.html +69 -22
- data/rdoc/RubyXL/DataConsolidate.html +69 -22
- data/rdoc/RubyXL/DataConsolidationReference.html +69 -22
- data/rdoc/RubyXL/DataConsolidationReferences.html +69 -22
- data/rdoc/RubyXL/DataType.html +118 -26
- data/rdoc/RubyXL/DataValidation.html +69 -22
- data/rdoc/RubyXL/DataValidations.html +69 -22
- data/rdoc/RubyXL/DateGroupItem.html +69 -22
- data/rdoc/RubyXL/DefinedName.html +69 -22
- data/rdoc/RubyXL/DefinedNameExt.html +69 -22
- data/rdoc/RubyXL/DefinedNames.html +69 -22
- data/rdoc/RubyXL/DefinedNamesExt.html +69 -22
- data/rdoc/RubyXL/DocumentPropertiesFile.html +164 -51
- data/rdoc/RubyXL/DrawingFile.html +126 -39
- data/rdoc/RubyXL/DynamicFilter.html +69 -22
- data/rdoc/RubyXL/EmbeddedControl.html +69 -22
- data/rdoc/RubyXL/EmbeddedControls.html +69 -22
- data/rdoc/RubyXL/Extension.html +69 -22
- data/rdoc/RubyXL/ExtensionStorageArea.html +69 -22
- data/rdoc/RubyXL/Extents.html +69 -22
- data/rdoc/RubyXL/ExternalBook.html +69 -22
- data/rdoc/RubyXL/ExternalLinksFile.html +126 -39
- data/rdoc/RubyXL/ExternalReference.html +69 -22
- data/rdoc/RubyXL/ExternalReferences.html +69 -22
- data/rdoc/RubyXL/ExtraColorSchemeList.html +69 -22
- data/rdoc/RubyXL/FieldItem.html +69 -22
- data/rdoc/RubyXL/FileRecoveryProperties.html +69 -22
- data/rdoc/RubyXL/FileSharing.html +69 -22
- data/rdoc/RubyXL/FileVersion.html +69 -22
- data/rdoc/RubyXL/Fill.html +105 -36
- data/rdoc/RubyXL/Fills.html +105 -36
- data/rdoc/RubyXL/FilterContainer.html +69 -22
- data/rdoc/RubyXL/FloatNode.html +69 -22
- data/rdoc/RubyXL/FloatValue.html +69 -22
- data/rdoc/RubyXL/Font.html +115 -38
- data/rdoc/RubyXL/FontConvenienceMethods.html +494 -138
- data/rdoc/RubyXL/FontScheme.html +69 -22
- data/rdoc/RubyXL/Fonts.html +105 -36
- data/rdoc/RubyXL/Formula.html +69 -22
- data/rdoc/RubyXL/FunctionGroup.html +69 -22
- data/rdoc/RubyXL/FunctionGroups.html +69 -22
- data/rdoc/RubyXL/GenericStorageObject.html +214 -65
- data/rdoc/RubyXL/GradientFill.html +69 -22
- data/rdoc/RubyXL/HeaderFooterSettings.html +69 -22
- data/rdoc/RubyXL/Hyperlink.html +69 -22
- data/rdoc/RubyXL/HyperlinkRelFile.html +78 -23
- data/rdoc/RubyXL/Hyperlinks.html +69 -22
- data/rdoc/RubyXL/IconFilter.html +69 -22
- data/rdoc/RubyXL/IconSet.html +69 -22
- data/rdoc/RubyXL/IgnoredError.html +69 -22
- data/rdoc/RubyXL/IgnoredErrors.html +69 -22
- data/rdoc/RubyXL/IndexedColors.html +69 -22
- data/rdoc/RubyXL/InputCells.html +69 -22
- data/rdoc/RubyXL/IntegerNode.html +69 -22
- data/rdoc/RubyXL/IntegerValue.html +69 -22
- data/rdoc/RubyXL/LegacyCell.html +103 -33
- data/rdoc/RubyXL/LegacyWorksheet.html +252 -73
- data/rdoc/RubyXL/MRUColors.html +69 -22
- data/rdoc/RubyXL/MacrosFile.html +85 -24
- data/rdoc/RubyXL/MergedCell.html +69 -22
- data/rdoc/RubyXL/MergedCells.html +69 -22
- data/rdoc/RubyXL/NumFmt.html +69 -22
- data/rdoc/RubyXL/NumberFormat.html +105 -36
- data/rdoc/RubyXL/NumberFormats.html +115 -38
- data/rdoc/RubyXL/OLEObject.html +69 -22
- data/rdoc/RubyXL/OLEObjectFile.html +85 -24
- data/rdoc/RubyXL/OLEObjects.html +69 -22
- data/rdoc/RubyXL/OLESize.html +69 -22
- data/rdoc/RubyXL/OOXMLContainerObject.html +289 -93
- data/rdoc/RubyXL/OOXMLIgnored.html +145 -46
- data/rdoc/RubyXL/OOXMLObject.html +74 -23
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +287 -107
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +362 -117
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +429 -124
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +280 -93
- data/rdoc/RubyXL/OdbcOleDbProperties.html +69 -22
- data/rdoc/RubyXL/Offset.html +69 -22
- data/rdoc/RubyXL/OlapProperties.html +69 -22
- data/rdoc/RubyXL/OleItem.html +69 -22
- data/rdoc/RubyXL/OleItems.html +69 -22
- data/rdoc/RubyXL/OleLink.html +69 -22
- data/rdoc/RubyXL/OutlineProperties.html +69 -22
- data/rdoc/RubyXL/PageMargins.html +69 -22
- data/rdoc/RubyXL/PageSetup.html +69 -22
- data/rdoc/RubyXL/PageSetupProperties.html +69 -22
- data/rdoc/RubyXL/Pane.html +69 -22
- data/rdoc/RubyXL/Parser.html +136 -45
- data/rdoc/RubyXL/PatternFill.html +69 -22
- data/rdoc/RubyXL/PersonMetadata.html +85 -24
- data/rdoc/RubyXL/PhoneticProperties.html +69 -22
- data/rdoc/RubyXL/PhoneticRun.html +69 -22
- data/rdoc/RubyXL/PivotArea.html +69 -22
- data/rdoc/RubyXL/PivotCache.html +69 -22
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +90 -25
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +85 -24
- data/rdoc/RubyXL/PivotCaches.html +69 -22
- data/rdoc/RubyXL/PivotReference.html +69 -22
- data/rdoc/RubyXL/PivotReferences.html +69 -22
- data/rdoc/RubyXL/PivotTableFile.html +90 -25
- data/rdoc/RubyXL/PivotTableSelection.html +69 -22
- data/rdoc/RubyXL/PresetGeometry.html +69 -22
- data/rdoc/RubyXL/PrintOptions.html +69 -22
- data/rdoc/RubyXL/PrinterSettingsFile.html +85 -24
- data/rdoc/RubyXL/ProtectedRange.html +69 -22
- data/rdoc/RubyXL/ProtectedRanges.html +69 -22
- data/rdoc/RubyXL/Protection.html +69 -22
- data/rdoc/RubyXL/QueryParameter.html +69 -22
- data/rdoc/RubyXL/QueryParameters.html +69 -22
- data/rdoc/RubyXL/QueryTable.html +126 -39
- data/rdoc/RubyXL/QueryTableDeletedField.html +69 -22
- data/rdoc/RubyXL/QueryTableDeletedFields.html +69 -22
- data/rdoc/RubyXL/QueryTableField.html +69 -22
- data/rdoc/RubyXL/QueryTableFields.html +69 -22
- data/rdoc/RubyXL/QueryTableRefresh.html +69 -22
- data/rdoc/RubyXL/RID.html +69 -22
- data/rdoc/RubyXL/RawOOXML.html +157 -50
- data/rdoc/RubyXL/Reference.html +512 -143
- data/rdoc/RubyXL/Relationship.html +69 -22
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +109 -33
- data/rdoc/RubyXL/RelationshipSupport.html +290 -84
- data/rdoc/RubyXL/RevisionPointer.html +69 -22
- data/rdoc/RubyXL/RichText.html +105 -36
- data/rdoc/RubyXL/RichTextRun.html +105 -36
- data/rdoc/RubyXL/Row.html +367 -106
- data/rdoc/RubyXL/RowExt.html +69 -22
- data/rdoc/RubyXL/RunProperties.html +69 -22
- data/rdoc/RubyXL/Scenario.html +69 -22
- data/rdoc/RubyXL/Scenarios.html +69 -22
- data/rdoc/RubyXL/Selection.html +105 -36
- data/rdoc/RubyXL/ShapeGuide.html +69 -22
- data/rdoc/RubyXL/ShapeTextRectangle.html +69 -22
- data/rdoc/RubyXL/SharedStringsTable.html +321 -96
- data/rdoc/RubyXL/Sheet.html +69 -22
- data/rdoc/RubyXL/SheetCalculationProperties.html +69 -22
- data/rdoc/RubyXL/SheetData.html +136 -45
- data/rdoc/RubyXL/SheetDataExt.html +69 -22
- data/rdoc/RubyXL/SheetDataSet.html +69 -22
- data/rdoc/RubyXL/SheetMetadata.html +85 -24
- data/rdoc/RubyXL/SheetName.html +69 -22
- data/rdoc/RubyXL/SheetNames.html +69 -22
- data/rdoc/RubyXL/Sheets.html +69 -22
- data/rdoc/RubyXL/SlicerCacheFile.html +85 -24
- data/rdoc/RubyXL/SlicerFile.html +85 -24
- data/rdoc/RubyXL/SmartTagProperties.html +69 -22
- data/rdoc/RubyXL/SmartTagType.html +69 -22
- data/rdoc/RubyXL/SmartTagTypes.html +69 -22
- data/rdoc/RubyXL/SmartTags.html +69 -22
- data/rdoc/RubyXL/SortCondition.html +69 -22
- data/rdoc/RubyXL/SortState.html +69 -22
- data/rdoc/RubyXL/Sqref.html +145 -46
- data/rdoc/RubyXL/Stop.html +69 -22
- data/rdoc/RubyXL/StringNode.html +69 -22
- data/rdoc/RubyXL/StringNodeW3C.html +145 -46
- data/rdoc/RubyXL/StringValue.html +69 -22
- data/rdoc/RubyXL/Stylesheet.html +256 -76
- data/rdoc/RubyXL/TableFile.html +85 -24
- data/rdoc/RubyXL/TableParts.html +69 -22
- data/rdoc/RubyXL/TableStyle.html +69 -22
- data/rdoc/RubyXL/TableStyles.html +69 -22
- data/rdoc/RubyXL/Text.html +153 -48
- data/rdoc/RubyXL/TextImportSettings.html +69 -22
- data/rdoc/RubyXL/Theme.html +191 -56
- data/rdoc/RubyXL/ThemeElements.html +69 -22
- data/rdoc/RubyXL/ThumbnailFile.html +85 -24
- data/rdoc/RubyXL/Top10.html +69 -22
- data/rdoc/RubyXL/VMLDrawingFile.html +91 -26
- data/rdoc/RubyXL/Variant.html +69 -22
- data/rdoc/RubyXL/Vector.html +105 -36
- data/rdoc/RubyXL/VectorValue.html +69 -22
- data/rdoc/RubyXL/VisualProperties.html +69 -22
- data/rdoc/RubyXL/WebPublishObject.html +69 -22
- data/rdoc/RubyXL/WebPublishObjects.html +69 -22
- data/rdoc/RubyXL/WebPublishingItem.html +69 -22
- data/rdoc/RubyXL/WebPublishingItems.html +69 -22
- data/rdoc/RubyXL/WebPublishingProperties.html +69 -22
- data/rdoc/RubyXL/WebQueryProperties.html +69 -22
- data/rdoc/RubyXL/Workbook.html +1053 -284
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +614 -170
- data/rdoc/RubyXL/WorkbookProperties.html +69 -22
- data/rdoc/RubyXL/WorkbookProtection.html +69 -22
- data/rdoc/RubyXL/WorkbookRoot.html +271 -82
- data/rdoc/RubyXL/WorkbookView.html +69 -22
- data/rdoc/RubyXL/WorkbookViews.html +69 -22
- data/rdoc/RubyXL/Worksheet.html +373 -110
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +2195 -585
- data/rdoc/RubyXL/WorksheetDimensions.html +69 -22
- data/rdoc/RubyXL/WorksheetFormatProperties.html +69 -22
- data/rdoc/RubyXL/WorksheetProperties.html +69 -22
- data/rdoc/RubyXL/WorksheetProtection.html +69 -22
- data/rdoc/RubyXL/WorksheetView.html +69 -22
- data/rdoc/RubyXL/WorksheetViews.html +69 -22
- data/rdoc/RubyXL/XF.html +69 -22
- data/rdoc/RubyXL.html +778 -134
- data/rdoc/created.rid +4 -4
- data/rdoc/css/rdoc.css +393 -397
- data/rdoc/index.html +42 -408
- data/rdoc/js/darkfish.js +45 -2
- data/rdoc/js/navigation.js.gz +0 -0
- data/rdoc/js/search.js +11 -1
- data/rdoc/js/search_index.js.gz +0 -0
- data/rdoc/js/searcher.js +44 -6
- data/rdoc/js/searcher.js.gz +0 -0
- data/rdoc/table_of_contents.html +1280 -53
- data/rubyXL.gemspec +4 -4
- metadata +6 -6
|
@@ -1,10 +1,21 @@
|
|
|
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">
|
|
7
|
+
|
|
8
|
+
<title>module RubyXL::WorksheetConvenienceMethods - rubyXL 3.4.35</title>
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
<meta name="keywords" content="ruby,module,RubyXL::WorksheetConvenienceMethods">
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
<meta name="description" content="Documentation for the RubyXL::WorksheetConvenienceMethods module">
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
|
|
7
|
-
<title>module RubyXL::WorksheetConvenienceMethods - rubyXL 3.4.34</title>
|
|
8
19
|
|
|
9
20
|
<script type="text/javascript">
|
|
10
21
|
var rdoc_rel_prefix = "../";
|
|
@@ -21,8 +32,14 @@
|
|
|
21
32
|
<link href="../css/rdoc.css" rel="stylesheet">
|
|
22
33
|
|
|
23
34
|
|
|
35
|
+
|
|
24
36
|
<body id="top" role="document" class="module">
|
|
25
|
-
<
|
|
37
|
+
<div id="navigation-toggle" role="button" tabindex="0" aria-label="Toggle sidebar" aria-expanded="true" aria-controls="navigation">
|
|
38
|
+
<span aria-hidden="true">☰</span>
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
<nav id="navigation" role="navigation">
|
|
26
43
|
<div id="project-navigation">
|
|
27
44
|
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
|
28
45
|
<h2>
|
|
@@ -55,94 +72,193 @@
|
|
|
55
72
|
|
|
56
73
|
|
|
57
74
|
|
|
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
|
-
<li ><a href="#method-i-insert_column">#insert_column</a>
|
|
127
|
-
<li ><a href="#method-i-insert_row">#insert_row</a>
|
|
128
|
-
<li ><a href="#method-i-is_column_bolded">#is_column_bolded</a>
|
|
129
|
-
<li ><a href="#method-i-is_column_italicized">#is_column_italicized</a>
|
|
130
|
-
<li ><a href="#method-i-is_column_struckthrough">#is_column_struckthrough</a>
|
|
131
|
-
<li ><a href="#method-i-is_column_underlined">#is_column_underlined</a>
|
|
132
|
-
<li ><a href="#method-i-is_row_bolded">#is_row_bolded</a>
|
|
133
|
-
<li ><a href="#method-i-is_row_italicized">#is_row_italicized</a>
|
|
134
|
-
<li ><a href="#method-i-is_row_struckthrough">#is_row_struckthrough</a>
|
|
135
|
-
<li ><a href="#method-i-is_row_underlined">#is_row_underlined</a>
|
|
136
|
-
<li ><a href="#method-i-merge_cells">#merge_cells</a>
|
|
137
|
-
<li ><a href="#method-i-row_font">#row_font</a>
|
|
138
|
-
</ul>
|
|
139
|
-
</div>
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
<div class="nav-section">
|
|
87
|
+
<h3>Instance Methods</h3>
|
|
88
|
+
<ul class="link-list" role="directory">
|
|
89
|
+
|
|
90
|
+
<li ><a href="#method-i-add_validation_list">add_validation_list</a></li>
|
|
91
|
+
|
|
92
|
+
<li ><a href="#method-i-change_column_alignment">change_column_alignment</a></li>
|
|
93
|
+
|
|
94
|
+
<li ><a href="#method-i-change_column_bold">change_column_bold</a></li>
|
|
95
|
+
|
|
96
|
+
<li ><a href="#method-i-change_column_border">change_column_border</a></li>
|
|
97
|
+
|
|
98
|
+
<li ><a href="#method-i-change_column_border_color">change_column_border_color</a></li>
|
|
99
|
+
|
|
100
|
+
<li ><a href="#method-i-change_column_fill">change_column_fill</a></li>
|
|
101
|
+
|
|
102
|
+
<li ><a href="#method-i-change_column_font">change_column_font</a></li>
|
|
103
|
+
|
|
104
|
+
<li ><a href="#method-i-change_column_font_color">change_column_font_color</a></li>
|
|
105
|
+
|
|
106
|
+
<li ><a href="#method-i-change_column_font_name">change_column_font_name</a></li>
|
|
107
|
+
|
|
108
|
+
<li ><a href="#method-i-change_column_font_size">change_column_font_size</a></li>
|
|
109
|
+
|
|
110
|
+
<li ><a href="#method-i-change_column_horizontal_alignment">change_column_horizontal_alignment</a></li>
|
|
111
|
+
|
|
112
|
+
<li ><a href="#method-i-change_column_italics">change_column_italics</a></li>
|
|
113
|
+
|
|
114
|
+
<li ><a href="#method-i-change_column_strikethrough">change_column_strikethrough</a></li>
|
|
115
|
+
|
|
116
|
+
<li ><a href="#method-i-change_column_underline">change_column_underline</a></li>
|
|
117
|
+
|
|
118
|
+
<li ><a href="#method-i-change_column_vertical_alignment">change_column_vertical_alignment</a></li>
|
|
119
|
+
|
|
120
|
+
<li ><a href="#method-i-change_column_width">change_column_width</a></li>
|
|
121
|
+
|
|
122
|
+
<li ><a href="#method-i-change_column_width_raw">change_column_width_raw</a></li>
|
|
123
|
+
|
|
124
|
+
<li ><a href="#method-i-change_row_alignment">change_row_alignment</a></li>
|
|
125
|
+
|
|
126
|
+
<li ><a href="#method-i-change_row_bold">change_row_bold</a></li>
|
|
127
|
+
|
|
128
|
+
<li ><a href="#method-i-change_row_border">change_row_border</a></li>
|
|
129
|
+
|
|
130
|
+
<li ><a href="#method-i-change_row_border_color">change_row_border_color</a></li>
|
|
131
|
+
|
|
132
|
+
<li ><a href="#method-i-change_row_fill">change_row_fill</a></li>
|
|
133
|
+
|
|
134
|
+
<li ><a href="#method-i-change_row_font">change_row_font</a></li>
|
|
135
|
+
|
|
136
|
+
<li ><a href="#method-i-change_row_font_color">change_row_font_color</a></li>
|
|
137
|
+
|
|
138
|
+
<li ><a href="#method-i-change_row_font_name">change_row_font_name</a></li>
|
|
139
|
+
|
|
140
|
+
<li ><a href="#method-i-change_row_font_size">change_row_font_size</a></li>
|
|
141
|
+
|
|
142
|
+
<li ><a href="#method-i-change_row_height">change_row_height</a></li>
|
|
140
143
|
|
|
144
|
+
<li ><a href="#method-i-change_row_horizontal_alignment">change_row_horizontal_alignment</a></li>
|
|
145
|
+
|
|
146
|
+
<li ><a href="#method-i-change_row_italics">change_row_italics</a></li>
|
|
147
|
+
|
|
148
|
+
<li ><a href="#method-i-change_row_strikethrough">change_row_strikethrough</a></li>
|
|
149
|
+
|
|
150
|
+
<li ><a href="#method-i-change_row_underline">change_row_underline</a></li>
|
|
151
|
+
|
|
152
|
+
<li ><a href="#method-i-change_row_vertical_alignment">change_row_vertical_alignment</a></li>
|
|
153
|
+
|
|
154
|
+
<li ><a href="#method-i-column_font">column_font</a></li>
|
|
155
|
+
|
|
156
|
+
<li ><a href="#method-i-delete_cell">delete_cell</a></li>
|
|
157
|
+
|
|
158
|
+
<li ><a href="#method-i-delete_column">delete_column</a></li>
|
|
159
|
+
|
|
160
|
+
<li ><a href="#method-i-delete_row">delete_row</a></li>
|
|
161
|
+
|
|
162
|
+
<li ><a href="#method-i-get_col_style">get_col_style</a></li>
|
|
163
|
+
|
|
164
|
+
<li ><a href="#method-i-get_cols_style_index">get_cols_style_index</a></li>
|
|
165
|
+
|
|
166
|
+
<li ><a href="#method-i-get_column_alignment">get_column_alignment</a></li>
|
|
167
|
+
|
|
168
|
+
<li ><a href="#method-i-get_column_border">get_column_border</a></li>
|
|
169
|
+
|
|
170
|
+
<li ><a href="#method-i-get_column_border_color">get_column_border_color</a></li>
|
|
171
|
+
|
|
172
|
+
<li ><a href="#method-i-get_column_fill">get_column_fill</a></li>
|
|
173
|
+
|
|
174
|
+
<li ><a href="#method-i-get_column_font_color">get_column_font_color</a></li>
|
|
175
|
+
|
|
176
|
+
<li ><a href="#method-i-get_column_font_name">get_column_font_name</a></li>
|
|
177
|
+
|
|
178
|
+
<li ><a href="#method-i-get_column_font_size">get_column_font_size</a></li>
|
|
179
|
+
|
|
180
|
+
<li ><a href="#method-i-get_column_width">get_column_width</a></li>
|
|
181
|
+
|
|
182
|
+
<li ><a href="#method-i-get_column_width_raw">get_column_width_raw</a></li>
|
|
183
|
+
|
|
184
|
+
<li ><a href="#method-i-get_row_alignment">get_row_alignment</a></li>
|
|
185
|
+
|
|
186
|
+
<li ><a href="#method-i-get_row_border">get_row_border</a></li>
|
|
187
|
+
|
|
188
|
+
<li ><a href="#method-i-get_row_border_color">get_row_border_color</a></li>
|
|
189
|
+
|
|
190
|
+
<li ><a href="#method-i-get_row_fill">get_row_fill</a></li>
|
|
191
|
+
|
|
192
|
+
<li ><a href="#method-i-get_row_font_color">get_row_font_color</a></li>
|
|
193
|
+
|
|
194
|
+
<li ><a href="#method-i-get_row_font_name">get_row_font_name</a></li>
|
|
195
|
+
|
|
196
|
+
<li ><a href="#method-i-get_row_font_size">get_row_font_size</a></li>
|
|
197
|
+
|
|
198
|
+
<li ><a href="#method-i-get_row_height">get_row_height</a></li>
|
|
199
|
+
|
|
200
|
+
<li ><a href="#method-i-get_row_style">get_row_style</a></li>
|
|
201
|
+
|
|
202
|
+
<li ><a href="#method-i-insert_cell">insert_cell</a></li>
|
|
203
|
+
|
|
204
|
+
<li ><a href="#method-i-insert_column">insert_column</a></li>
|
|
205
|
+
|
|
206
|
+
<li ><a href="#method-i-insert_row">insert_row</a></li>
|
|
207
|
+
|
|
208
|
+
<li ><a href="#method-i-is_column_bolded">is_column_bolded</a></li>
|
|
209
|
+
|
|
210
|
+
<li ><a href="#method-i-is_column_italicized">is_column_italicized</a></li>
|
|
211
|
+
|
|
212
|
+
<li ><a href="#method-i-is_column_struckthrough">is_column_struckthrough</a></li>
|
|
213
|
+
|
|
214
|
+
<li ><a href="#method-i-is_column_underlined">is_column_underlined</a></li>
|
|
215
|
+
|
|
216
|
+
<li ><a href="#method-i-is_row_bolded">is_row_bolded</a></li>
|
|
217
|
+
|
|
218
|
+
<li ><a href="#method-i-is_row_italicized">is_row_italicized</a></li>
|
|
219
|
+
|
|
220
|
+
<li ><a href="#method-i-is_row_struckthrough">is_row_struckthrough</a></li>
|
|
221
|
+
|
|
222
|
+
<li ><a href="#method-i-is_row_underlined">is_row_underlined</a></li>
|
|
223
|
+
|
|
224
|
+
<li ><a href="#method-i-merge_cells">merge_cells</a></li>
|
|
225
|
+
|
|
226
|
+
<li ><a href="#method-i-row_font">row_font</a></li>
|
|
227
|
+
|
|
228
|
+
</ul>
|
|
141
229
|
</div>
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
<footer id="validator-badges" role="contentinfo">
|
|
234
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a></p>
|
|
235
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.15.1.</p>
|
|
236
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.</p>
|
|
237
|
+
</footer>
|
|
238
|
+
|
|
142
239
|
</nav>
|
|
143
240
|
|
|
144
241
|
<main role="main" aria-labelledby="module-RubyXL::WorksheetConvenienceMethods">
|
|
145
|
-
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
<ol role="navigation" aria-label="Breadcrumb navigation" class="breadcrumb">
|
|
245
|
+
|
|
246
|
+
<li>
|
|
247
|
+
|
|
248
|
+
<a href="../RubyXL.html">RubyXL</a><span>::</span>
|
|
249
|
+
|
|
250
|
+
</li>
|
|
251
|
+
|
|
252
|
+
<li>
|
|
253
|
+
|
|
254
|
+
<span>WorksheetConvenienceMethods</span>
|
|
255
|
+
|
|
256
|
+
</li>
|
|
257
|
+
|
|
258
|
+
</ol>
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
<h1 id="module-RubyXL::WorksheetConvenienceMethods" class="anchor-link module">
|
|
146
262
|
module RubyXL::WorksheetConvenienceMethods
|
|
147
263
|
</h1>
|
|
148
264
|
|
|
@@ -150,7 +266,11 @@
|
|
|
150
266
|
|
|
151
267
|
</section>
|
|
152
268
|
|
|
153
|
-
|
|
269
|
+
|
|
270
|
+
<section id="5Buntitled-5D" class="documentation-section anchor-link">
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
154
274
|
|
|
155
275
|
|
|
156
276
|
<section class="constants-list">
|
|
@@ -158,41 +278,98 @@
|
|
|
158
278
|
<h3>Constants</h3>
|
|
159
279
|
</header>
|
|
160
280
|
<dl>
|
|
161
|
-
|
|
281
|
+
|
|
282
|
+
<dt id="BOLD">BOLD</dt>
|
|
283
|
+
|
|
162
284
|
<dd>
|
|
163
|
-
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
</dd>
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
<dt id="COLOR">COLOR</dt>
|
|
291
|
+
|
|
164
292
|
<dd>
|
|
165
|
-
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
</dd>
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
<dt id="ITALICS">ITALICS</dt>
|
|
299
|
+
|
|
166
300
|
<dd>
|
|
167
|
-
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
</dd>
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
<dt id="NAME">NAME</dt>
|
|
307
|
+
|
|
168
308
|
<dd>
|
|
169
|
-
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
</dd>
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
<dt id="SIZE">SIZE</dt>
|
|
315
|
+
|
|
170
316
|
<dd>
|
|
171
|
-
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
</dd>
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
<dt id="STRIKETHROUGH">STRIKETHROUGH</dt>
|
|
323
|
+
|
|
172
324
|
<dd>
|
|
173
|
-
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
</dd>
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
<dt id="UNDERLINE">UNDERLINE</dt>
|
|
331
|
+
|
|
174
332
|
<dd>
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
</dd>
|
|
336
|
+
|
|
337
|
+
|
|
175
338
|
</dl>
|
|
176
339
|
</section>
|
|
177
340
|
|
|
178
341
|
|
|
179
342
|
|
|
180
|
-
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section anchor-link">
|
|
181
346
|
<header>
|
|
182
347
|
<h3>Public Instance Methods</h3>
|
|
183
348
|
</header>
|
|
184
349
|
|
|
185
|
-
|
|
350
|
+
|
|
351
|
+
<div id="method-i-add_validation_list" class="method-detail anchor-link ">
|
|
186
352
|
<div class="method-header">
|
|
187
|
-
|
|
188
|
-
<
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
353
|
+
|
|
354
|
+
<div class="method-heading">
|
|
355
|
+
<a href="#method-i-add_validation_list" title="Link to this method">
|
|
356
|
+
<span class="method-name">add_validation_list</span>
|
|
357
|
+
<span class="method-args">(ref, list_arr)</span>
|
|
358
|
+
</a>
|
|
359
|
+
</div>
|
|
360
|
+
|
|
192
361
|
</div>
|
|
193
362
|
|
|
363
|
+
|
|
364
|
+
<div class="method-controls">
|
|
365
|
+
<details class="method-source-toggle">
|
|
366
|
+
<summary>Source</summary>
|
|
367
|
+
</details>
|
|
368
|
+
</div>
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
|
|
194
372
|
<div class="method-description">
|
|
195
|
-
|
|
196
373
|
|
|
197
374
|
<div class="method-source-code" id="add_validation_list-source">
|
|
198
375
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 720</span>
|
|
@@ -208,22 +385,43 @@
|
|
|
208
385
|
<span class="ruby-value">:type</span> <span class="ruby-operator">=></span> <span class="ruby-string">'list'</span>})
|
|
209
386
|
<span class="ruby-keyword">end</span></pre>
|
|
210
387
|
</div>
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
211
394
|
</div>
|
|
212
395
|
|
|
213
396
|
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
|
|
214
400
|
</div>
|
|
215
401
|
|
|
216
|
-
|
|
402
|
+
|
|
403
|
+
<div id="method-i-change_column_alignment" class="method-detail anchor-link ">
|
|
217
404
|
<div class="method-header">
|
|
218
|
-
|
|
219
|
-
<
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
405
|
+
|
|
406
|
+
<div class="method-heading">
|
|
407
|
+
<a href="#method-i-change_column_alignment" title="Link to this method">
|
|
408
|
+
<span class="method-name">change_column_alignment</span>
|
|
409
|
+
<span class="method-args">(column_index, &block)</span>
|
|
410
|
+
</a>
|
|
411
|
+
</div>
|
|
412
|
+
|
|
223
413
|
</div>
|
|
224
414
|
|
|
415
|
+
|
|
416
|
+
<div class="method-controls">
|
|
417
|
+
<details class="method-source-toggle">
|
|
418
|
+
<summary>Source</summary>
|
|
419
|
+
</details>
|
|
420
|
+
</div>
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
|
|
225
424
|
<div class="method-description">
|
|
226
|
-
|
|
227
425
|
|
|
228
426
|
<div class="method-source-code" id="change_column_alignment-source">
|
|
229
427
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 675</span>
|
|
@@ -243,22 +441,43 @@
|
|
|
243
441
|
}
|
|
244
442
|
<span class="ruby-keyword">end</span></pre>
|
|
245
443
|
</div>
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
|
|
246
450
|
</div>
|
|
247
451
|
|
|
248
452
|
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
|
|
249
456
|
</div>
|
|
250
457
|
|
|
251
|
-
|
|
458
|
+
|
|
459
|
+
<div id="method-i-change_column_bold" class="method-detail anchor-link ">
|
|
252
460
|
<div class="method-header">
|
|
253
|
-
|
|
254
|
-
<
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
461
|
+
|
|
462
|
+
<div class="method-heading">
|
|
463
|
+
<a href="#method-i-change_column_bold" title="Link to this method">
|
|
464
|
+
<span class="method-name">change_column_bold</span>
|
|
465
|
+
<span class="method-args">(column_index, bolded = false)</span>
|
|
466
|
+
</a>
|
|
467
|
+
</div>
|
|
468
|
+
|
|
258
469
|
</div>
|
|
259
470
|
|
|
471
|
+
|
|
472
|
+
<div class="method-controls">
|
|
473
|
+
<details class="method-source-toggle">
|
|
474
|
+
<summary>Source</summary>
|
|
475
|
+
</details>
|
|
476
|
+
</div>
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
|
|
260
480
|
<div class="method-description">
|
|
261
|
-
|
|
262
481
|
|
|
263
482
|
<div class="method-source-code" id="change_column_bold-source">
|
|
264
483
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 606</span>
|
|
@@ -269,22 +488,43 @@
|
|
|
269
488
|
<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
489
|
<span class="ruby-keyword">end</span></pre>
|
|
271
490
|
</div>
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
|
|
272
497
|
</div>
|
|
273
498
|
|
|
274
499
|
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
|
|
275
503
|
</div>
|
|
276
504
|
|
|
277
|
-
|
|
505
|
+
|
|
506
|
+
<div id="method-i-change_column_border" class="method-detail anchor-link ">
|
|
278
507
|
<div class="method-header">
|
|
279
|
-
|
|
280
|
-
<
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
508
|
+
|
|
509
|
+
<div class="method-heading">
|
|
510
|
+
<a href="#method-i-change_column_border" title="Link to this method">
|
|
511
|
+
<span class="method-name">change_column_border</span>
|
|
512
|
+
<span class="method-args">(column_index, direction, weight)</span>
|
|
513
|
+
</a>
|
|
514
|
+
</div>
|
|
515
|
+
|
|
284
516
|
</div>
|
|
285
517
|
|
|
518
|
+
|
|
519
|
+
<div class="method-controls">
|
|
520
|
+
<details class="method-source-toggle">
|
|
521
|
+
<summary>Source</summary>
|
|
522
|
+
</details>
|
|
523
|
+
</div>
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
|
|
286
527
|
<div class="method-description">
|
|
287
|
-
|
|
288
528
|
|
|
289
529
|
<div class="method-source-code" id="change_column_border-source">
|
|
290
530
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 635</span>
|
|
@@ -302,22 +542,43 @@
|
|
|
302
542
|
}
|
|
303
543
|
<span class="ruby-keyword">end</span></pre>
|
|
304
544
|
</div>
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
|
|
305
551
|
</div>
|
|
306
552
|
|
|
307
553
|
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
|
|
308
557
|
</div>
|
|
309
558
|
|
|
310
|
-
|
|
559
|
+
|
|
560
|
+
<div id="method-i-change_column_border_color" class="method-detail anchor-link ">
|
|
311
561
|
<div class="method-header">
|
|
312
|
-
|
|
313
|
-
<
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
562
|
+
|
|
563
|
+
<div class="method-heading">
|
|
564
|
+
<a href="#method-i-change_column_border_color" title="Link to this method">
|
|
565
|
+
<span class="method-name">change_column_border_color</span>
|
|
566
|
+
<span class="method-args">(column_index, direction, color)</span>
|
|
567
|
+
</a>
|
|
568
|
+
</div>
|
|
569
|
+
|
|
317
570
|
</div>
|
|
318
571
|
|
|
572
|
+
|
|
573
|
+
<div class="method-controls">
|
|
574
|
+
<details class="method-source-toggle">
|
|
575
|
+
<summary>Source</summary>
|
|
576
|
+
</details>
|
|
577
|
+
</div>
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
|
|
319
581
|
<div class="method-description">
|
|
320
|
-
|
|
321
582
|
|
|
322
583
|
<div class="method-source-code" id="change_column_border_color-source">
|
|
323
584
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 649</span>
|
|
@@ -334,22 +595,43 @@
|
|
|
334
595
|
}
|
|
335
596
|
<span class="ruby-keyword">end</span></pre>
|
|
336
597
|
</div>
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
|
|
337
604
|
</div>
|
|
338
605
|
|
|
339
606
|
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
|
|
340
610
|
</div>
|
|
341
611
|
|
|
342
|
-
|
|
612
|
+
|
|
613
|
+
<div id="method-i-change_column_fill" class="method-detail anchor-link ">
|
|
343
614
|
<div class="method-header">
|
|
344
|
-
|
|
345
|
-
<
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
615
|
+
|
|
616
|
+
<div class="method-heading">
|
|
617
|
+
<a href="#method-i-change_column_fill" title="Link to this method">
|
|
618
|
+
<span class="method-name">change_column_fill</span>
|
|
619
|
+
<span class="method-args">(column_index, color_code = 'ffffff')</span>
|
|
620
|
+
</a>
|
|
621
|
+
</div>
|
|
622
|
+
|
|
349
623
|
</div>
|
|
350
624
|
|
|
625
|
+
|
|
626
|
+
<div class="method-controls">
|
|
627
|
+
<details class="method-source-toggle">
|
|
628
|
+
<summary>Source</summary>
|
|
629
|
+
</details>
|
|
630
|
+
</div>
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
|
|
351
634
|
<div class="method-description">
|
|
352
|
-
|
|
353
635
|
|
|
354
636
|
<div class="method-source-code" id="change_column_fill-source">
|
|
355
637
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 401</span>
|
|
@@ -368,22 +650,43 @@
|
|
|
368
650
|
}
|
|
369
651
|
<span class="ruby-keyword">end</span></pre>
|
|
370
652
|
</div>
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+
|
|
371
659
|
</div>
|
|
372
660
|
|
|
373
661
|
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
|
|
374
665
|
</div>
|
|
375
666
|
|
|
376
|
-
|
|
667
|
+
|
|
668
|
+
<div id="method-i-change_column_font" class="method-detail anchor-link ">
|
|
377
669
|
<div class="method-header">
|
|
378
|
-
|
|
379
|
-
<
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
670
|
+
|
|
671
|
+
<div class="method-heading">
|
|
672
|
+
<a href="#method-i-change_column_font" title="Link to this method">
|
|
673
|
+
<span class="method-name">change_column_font</span>
|
|
674
|
+
<span class="method-args">(column_index, change_type, arg, font, xf)</span>
|
|
675
|
+
</a>
|
|
676
|
+
</div>
|
|
677
|
+
|
|
383
678
|
</div>
|
|
384
679
|
|
|
680
|
+
|
|
681
|
+
<div class="method-controls">
|
|
682
|
+
<details class="method-source-toggle">
|
|
683
|
+
<summary>Source</summary>
|
|
684
|
+
</details>
|
|
685
|
+
</div>
|
|
686
|
+
|
|
687
|
+
|
|
688
|
+
|
|
385
689
|
<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
690
|
|
|
388
691
|
<div class="method-source-code" id="change_column_font-source">
|
|
389
692
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 563</span>
|
|
@@ -400,22 +703,43 @@
|
|
|
400
703
|
}
|
|
401
704
|
<span class="ruby-keyword">end</span></pre>
|
|
402
705
|
</div>
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
<p>Helper method to update the fonts and cell styles array main method to change font, called from each separate font mutator method</p>
|
|
710
|
+
|
|
711
|
+
|
|
403
712
|
</div>
|
|
404
713
|
|
|
405
714
|
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
|
|
406
718
|
</div>
|
|
407
719
|
|
|
408
|
-
|
|
720
|
+
|
|
721
|
+
<div id="method-i-change_column_font_color" class="method-detail anchor-link ">
|
|
409
722
|
<div class="method-header">
|
|
410
|
-
|
|
411
|
-
<
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
723
|
+
|
|
724
|
+
<div class="method-heading">
|
|
725
|
+
<a href="#method-i-change_column_font_color" title="Link to this method">
|
|
726
|
+
<span class="method-name">change_column_font_color</span>
|
|
727
|
+
<span class="method-args">(column_index, font_color='000000')</span>
|
|
728
|
+
</a>
|
|
729
|
+
</div>
|
|
730
|
+
|
|
415
731
|
</div>
|
|
416
732
|
|
|
733
|
+
|
|
734
|
+
<div class="method-controls">
|
|
735
|
+
<details class="method-source-toggle">
|
|
736
|
+
<summary>Source</summary>
|
|
737
|
+
</details>
|
|
738
|
+
</div>
|
|
739
|
+
|
|
740
|
+
|
|
741
|
+
|
|
417
742
|
<div class="method-description">
|
|
418
|
-
|
|
419
743
|
|
|
420
744
|
<div class="method-source-code" id="change_column_font_color-source">
|
|
421
745
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 590</span>
|
|
@@ -428,22 +752,43 @@
|
|
|
428
752
|
<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
753
|
<span class="ruby-keyword">end</span></pre>
|
|
430
754
|
</div>
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
|
|
431
761
|
</div>
|
|
432
762
|
|
|
433
763
|
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
|
|
434
767
|
</div>
|
|
435
768
|
|
|
436
|
-
|
|
769
|
+
|
|
770
|
+
<div id="method-i-change_column_font_name" class="method-detail anchor-link ">
|
|
437
771
|
<div class="method-header">
|
|
438
|
-
|
|
439
|
-
<
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
772
|
+
|
|
773
|
+
<div class="method-heading">
|
|
774
|
+
<a href="#method-i-change_column_font_name" title="Link to this method">
|
|
775
|
+
<span class="method-name">change_column_font_name</span>
|
|
776
|
+
<span class="method-args">(column_index = 0, font_name = 'Verdana')</span>
|
|
777
|
+
</a>
|
|
778
|
+
</div>
|
|
779
|
+
|
|
443
780
|
</div>
|
|
444
781
|
|
|
782
|
+
|
|
783
|
+
<div class="method-controls">
|
|
784
|
+
<details class="method-source-toggle">
|
|
785
|
+
<summary>Source</summary>
|
|
786
|
+
</details>
|
|
787
|
+
</div>
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
|
|
445
791
|
<div class="method-description">
|
|
446
|
-
|
|
447
792
|
|
|
448
793
|
<div class="method-source-code" id="change_column_font_name-source">
|
|
449
794
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 576</span>
|
|
@@ -454,22 +799,43 @@
|
|
|
454
799
|
<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
800
|
<span class="ruby-keyword">end</span></pre>
|
|
456
801
|
</div>
|
|
802
|
+
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
|
|
807
|
+
|
|
457
808
|
</div>
|
|
458
809
|
|
|
459
810
|
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
|
|
460
814
|
</div>
|
|
461
815
|
|
|
462
|
-
|
|
816
|
+
|
|
817
|
+
<div id="method-i-change_column_font_size" class="method-detail anchor-link ">
|
|
463
818
|
<div class="method-header">
|
|
464
|
-
|
|
465
|
-
<
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
819
|
+
|
|
820
|
+
<div class="method-heading">
|
|
821
|
+
<a href="#method-i-change_column_font_size" title="Link to this method">
|
|
822
|
+
<span class="method-name">change_column_font_size</span>
|
|
823
|
+
<span class="method-args">(column_index, font_size=10)</span>
|
|
824
|
+
</a>
|
|
825
|
+
</div>
|
|
826
|
+
|
|
469
827
|
</div>
|
|
470
828
|
|
|
829
|
+
|
|
830
|
+
<div class="method-controls">
|
|
831
|
+
<details class="method-source-toggle">
|
|
832
|
+
<summary>Source</summary>
|
|
833
|
+
</details>
|
|
834
|
+
</div>
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
|
|
471
838
|
<div class="method-description">
|
|
472
|
-
|
|
473
839
|
|
|
474
840
|
<div class="method-source-code" id="change_column_font_size-source">
|
|
475
841
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 583</span>
|
|
@@ -480,22 +846,43 @@
|
|
|
480
846
|
<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
847
|
<span class="ruby-keyword">end</span></pre>
|
|
482
848
|
</div>
|
|
849
|
+
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
|
|
483
855
|
</div>
|
|
484
856
|
|
|
485
857
|
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
|
|
486
861
|
</div>
|
|
487
862
|
|
|
488
|
-
|
|
863
|
+
|
|
864
|
+
<div id="method-i-change_column_horizontal_alignment" class="method-detail anchor-link ">
|
|
489
865
|
<div class="method-header">
|
|
490
|
-
|
|
491
|
-
<
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
866
|
+
|
|
867
|
+
<div class="method-heading">
|
|
868
|
+
<a href="#method-i-change_column_horizontal_alignment" title="Link to this method">
|
|
869
|
+
<span class="method-name">change_column_horizontal_alignment</span>
|
|
870
|
+
<span class="method-args">(column_index, alignment = 'center')</span>
|
|
871
|
+
</a>
|
|
872
|
+
</div>
|
|
873
|
+
|
|
495
874
|
</div>
|
|
496
875
|
|
|
876
|
+
|
|
877
|
+
<div class="method-controls">
|
|
878
|
+
<details class="method-source-toggle">
|
|
879
|
+
<summary>Source</summary>
|
|
880
|
+
</details>
|
|
881
|
+
</div>
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
|
|
497
885
|
<div class="method-description">
|
|
498
|
-
|
|
499
886
|
|
|
500
887
|
<div class="method-source-code" id="change_column_horizontal_alignment-source">
|
|
501
888
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 627</span>
|
|
@@ -503,22 +890,43 @@
|
|
|
503
890
|
<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
891
|
<span class="ruby-keyword">end</span></pre>
|
|
505
892
|
</div>
|
|
893
|
+
|
|
894
|
+
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
|
|
898
|
+
|
|
506
899
|
</div>
|
|
507
900
|
|
|
508
901
|
|
|
902
|
+
|
|
903
|
+
|
|
904
|
+
|
|
509
905
|
</div>
|
|
510
906
|
|
|
511
|
-
|
|
907
|
+
|
|
908
|
+
<div id="method-i-change_column_italics" class="method-detail anchor-link ">
|
|
512
909
|
<div class="method-header">
|
|
513
|
-
|
|
514
|
-
<
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
910
|
+
|
|
911
|
+
<div class="method-heading">
|
|
912
|
+
<a href="#method-i-change_column_italics" title="Link to this method">
|
|
913
|
+
<span class="method-name">change_column_italics</span>
|
|
914
|
+
<span class="method-args">(column_index, italicized = false)</span>
|
|
915
|
+
</a>
|
|
916
|
+
</div>
|
|
917
|
+
|
|
518
918
|
</div>
|
|
519
919
|
|
|
920
|
+
|
|
921
|
+
<div class="method-controls">
|
|
922
|
+
<details class="method-source-toggle">
|
|
923
|
+
<summary>Source</summary>
|
|
924
|
+
</details>
|
|
925
|
+
</div>
|
|
926
|
+
|
|
927
|
+
|
|
928
|
+
|
|
520
929
|
<div class="method-description">
|
|
521
|
-
|
|
522
930
|
|
|
523
931
|
<div class="method-source-code" id="change_column_italics-source">
|
|
524
932
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 599</span>
|
|
@@ -529,22 +937,43 @@
|
|
|
529
937
|
<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
938
|
<span class="ruby-keyword">end</span></pre>
|
|
531
939
|
</div>
|
|
940
|
+
|
|
941
|
+
|
|
942
|
+
|
|
943
|
+
|
|
944
|
+
|
|
945
|
+
|
|
532
946
|
</div>
|
|
533
947
|
|
|
534
948
|
|
|
949
|
+
|
|
950
|
+
|
|
951
|
+
|
|
535
952
|
</div>
|
|
536
953
|
|
|
537
|
-
|
|
954
|
+
|
|
955
|
+
<div id="method-i-change_column_strikethrough" class="method-detail anchor-link ">
|
|
538
956
|
<div class="method-header">
|
|
539
|
-
|
|
540
|
-
<
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
957
|
+
|
|
958
|
+
<div class="method-heading">
|
|
959
|
+
<a href="#method-i-change_column_strikethrough" title="Link to this method">
|
|
960
|
+
<span class="method-name">change_column_strikethrough</span>
|
|
961
|
+
<span class="method-args">(column_index, struckthrough=false)</span>
|
|
962
|
+
</a>
|
|
963
|
+
</div>
|
|
964
|
+
|
|
544
965
|
</div>
|
|
545
966
|
|
|
967
|
+
|
|
968
|
+
<div class="method-controls">
|
|
969
|
+
<details class="method-source-toggle">
|
|
970
|
+
<summary>Source</summary>
|
|
971
|
+
</details>
|
|
972
|
+
</div>
|
|
973
|
+
|
|
974
|
+
|
|
975
|
+
|
|
546
976
|
<div class="method-description">
|
|
547
|
-
|
|
548
977
|
|
|
549
978
|
<div class="method-source-code" id="change_column_strikethrough-source">
|
|
550
979
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 620</span>
|
|
@@ -555,22 +984,43 @@
|
|
|
555
984
|
<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
985
|
<span class="ruby-keyword">end</span></pre>
|
|
557
986
|
</div>
|
|
987
|
+
|
|
988
|
+
|
|
989
|
+
|
|
990
|
+
|
|
991
|
+
|
|
992
|
+
|
|
558
993
|
</div>
|
|
559
994
|
|
|
560
995
|
|
|
996
|
+
|
|
997
|
+
|
|
998
|
+
|
|
561
999
|
</div>
|
|
562
1000
|
|
|
563
|
-
|
|
1001
|
+
|
|
1002
|
+
<div id="method-i-change_column_underline" class="method-detail anchor-link ">
|
|
564
1003
|
<div class="method-header">
|
|
565
|
-
|
|
566
|
-
<
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
1004
|
+
|
|
1005
|
+
<div class="method-heading">
|
|
1006
|
+
<a href="#method-i-change_column_underline" title="Link to this method">
|
|
1007
|
+
<span class="method-name">change_column_underline</span>
|
|
1008
|
+
<span class="method-args">(column_index, underlined = false)</span>
|
|
1009
|
+
</a>
|
|
1010
|
+
</div>
|
|
1011
|
+
|
|
570
1012
|
</div>
|
|
571
1013
|
|
|
1014
|
+
|
|
1015
|
+
<div class="method-controls">
|
|
1016
|
+
<details class="method-source-toggle">
|
|
1017
|
+
<summary>Source</summary>
|
|
1018
|
+
</details>
|
|
1019
|
+
</div>
|
|
1020
|
+
|
|
1021
|
+
|
|
1022
|
+
|
|
572
1023
|
<div class="method-description">
|
|
573
|
-
|
|
574
1024
|
|
|
575
1025
|
<div class="method-source-code" id="change_column_underline-source">
|
|
576
1026
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 613</span>
|
|
@@ -581,22 +1031,43 @@
|
|
|
581
1031
|
<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
1032
|
<span class="ruby-keyword">end</span></pre>
|
|
583
1033
|
</div>
|
|
1034
|
+
|
|
1035
|
+
|
|
1036
|
+
|
|
1037
|
+
|
|
1038
|
+
|
|
1039
|
+
|
|
584
1040
|
</div>
|
|
585
1041
|
|
|
586
1042
|
|
|
1043
|
+
|
|
1044
|
+
|
|
1045
|
+
|
|
587
1046
|
</div>
|
|
588
1047
|
|
|
589
|
-
|
|
1048
|
+
|
|
1049
|
+
<div id="method-i-change_column_vertical_alignment" class="method-detail anchor-link ">
|
|
590
1050
|
<div class="method-header">
|
|
591
|
-
|
|
592
|
-
<
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
1051
|
+
|
|
1052
|
+
<div class="method-heading">
|
|
1053
|
+
<a href="#method-i-change_column_vertical_alignment" title="Link to this method">
|
|
1054
|
+
<span class="method-name">change_column_vertical_alignment</span>
|
|
1055
|
+
<span class="method-args">(column_index, alignment = 'center')</span>
|
|
1056
|
+
</a>
|
|
1057
|
+
</div>
|
|
1058
|
+
|
|
596
1059
|
</div>
|
|
597
1060
|
|
|
1061
|
+
|
|
1062
|
+
<div class="method-controls">
|
|
1063
|
+
<details class="method-source-toggle">
|
|
1064
|
+
<summary>Source</summary>
|
|
1065
|
+
</details>
|
|
1066
|
+
</div>
|
|
1067
|
+
|
|
1068
|
+
|
|
1069
|
+
|
|
598
1070
|
<div class="method-description">
|
|
599
|
-
|
|
600
1071
|
|
|
601
1072
|
<div class="method-source-code" id="change_column_vertical_alignment-source">
|
|
602
1073
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 631</span>
|
|
@@ -604,22 +1075,43 @@
|
|
|
604
1075
|
<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
1076
|
<span class="ruby-keyword">end</span></pre>
|
|
606
1077
|
</div>
|
|
1078
|
+
|
|
1079
|
+
|
|
1080
|
+
|
|
1081
|
+
|
|
1082
|
+
|
|
1083
|
+
|
|
607
1084
|
</div>
|
|
608
1085
|
|
|
609
1086
|
|
|
1087
|
+
|
|
1088
|
+
|
|
1089
|
+
|
|
610
1090
|
</div>
|
|
611
1091
|
|
|
612
|
-
|
|
1092
|
+
|
|
1093
|
+
<div id="method-i-change_column_width" class="method-detail anchor-link ">
|
|
613
1094
|
<div class="method-header">
|
|
614
|
-
|
|
615
|
-
<
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
1095
|
+
|
|
1096
|
+
<div class="method-heading">
|
|
1097
|
+
<a href="#method-i-change_column_width" title="Link to this method">
|
|
1098
|
+
<span class="method-name">change_column_width</span>
|
|
1099
|
+
<span class="method-args">(column_index, width_in_chars = RubyXL::ColumnRange::DEFAULT_WIDTH)</span>
|
|
1100
|
+
</a>
|
|
1101
|
+
</div>
|
|
1102
|
+
|
|
619
1103
|
</div>
|
|
620
1104
|
|
|
1105
|
+
|
|
1106
|
+
<div class="method-controls">
|
|
1107
|
+
<details class="method-source-toggle">
|
|
1108
|
+
<summary>Source</summary>
|
|
1109
|
+
</details>
|
|
1110
|
+
</div>
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
|
|
621
1114
|
<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
1115
|
|
|
624
1116
|
<div class="method-source-code" id="change_column_width-source">
|
|
625
1117
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 384</span>
|
|
@@ -627,22 +1119,43 @@
|
|
|
627
1119
|
<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
1120
|
<span class="ruby-keyword">end</span></pre>
|
|
629
1121
|
</div>
|
|
1122
|
+
|
|
1123
|
+
|
|
1124
|
+
|
|
1125
|
+
<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>
|
|
1126
|
+
|
|
1127
|
+
|
|
630
1128
|
</div>
|
|
631
1129
|
|
|
632
1130
|
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
|
|
633
1134
|
</div>
|
|
634
1135
|
|
|
635
|
-
|
|
1136
|
+
|
|
1137
|
+
<div id="method-i-change_column_width_raw" class="method-detail anchor-link ">
|
|
636
1138
|
<div class="method-header">
|
|
637
|
-
|
|
638
|
-
<
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
1139
|
+
|
|
1140
|
+
<div class="method-heading">
|
|
1141
|
+
<a href="#method-i-change_column_width_raw" title="Link to this method">
|
|
1142
|
+
<span class="method-name">change_column_width_raw</span>
|
|
1143
|
+
<span class="method-args">(column_index, width)</span>
|
|
1144
|
+
</a>
|
|
1145
|
+
</div>
|
|
1146
|
+
|
|
642
1147
|
</div>
|
|
643
1148
|
|
|
1149
|
+
|
|
1150
|
+
<div class="method-controls">
|
|
1151
|
+
<details class="method-source-toggle">
|
|
1152
|
+
<summary>Source</summary>
|
|
1153
|
+
</details>
|
|
1154
|
+
</div>
|
|
1155
|
+
|
|
1156
|
+
|
|
1157
|
+
|
|
644
1158
|
<div class="method-description">
|
|
645
|
-
<p>Set raw column width value</p>
|
|
646
1159
|
|
|
647
1160
|
<div class="method-source-code" id="change_column_width_raw-source">
|
|
648
1161
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 374</span>
|
|
@@ -654,22 +1167,43 @@
|
|
|
654
1167
|
<span class="ruby-identifier">range</span>.<span class="ruby-identifier">custom_width</span> = <span class="ruby-keyword">true</span>
|
|
655
1168
|
<span class="ruby-keyword">end</span></pre>
|
|
656
1169
|
</div>
|
|
1170
|
+
|
|
1171
|
+
|
|
1172
|
+
|
|
1173
|
+
<p>Set raw column width value</p>
|
|
1174
|
+
|
|
1175
|
+
|
|
657
1176
|
</div>
|
|
658
1177
|
|
|
659
1178
|
|
|
1179
|
+
|
|
1180
|
+
|
|
1181
|
+
|
|
660
1182
|
</div>
|
|
661
1183
|
|
|
662
|
-
|
|
1184
|
+
|
|
1185
|
+
<div id="method-i-change_row_alignment" class="method-detail anchor-link ">
|
|
663
1186
|
<div class="method-header">
|
|
664
|
-
|
|
665
|
-
<
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
1187
|
+
|
|
1188
|
+
<div class="method-heading">
|
|
1189
|
+
<a href="#method-i-change_row_alignment" title="Link to this method">
|
|
1190
|
+
<span class="method-name">change_row_alignment</span>
|
|
1191
|
+
<span class="method-args">(row, &block)</span>
|
|
1192
|
+
</a>
|
|
1193
|
+
</div>
|
|
1194
|
+
|
|
669
1195
|
</div>
|
|
670
1196
|
|
|
1197
|
+
|
|
1198
|
+
<div class="method-controls">
|
|
1199
|
+
<details class="method-source-toggle">
|
|
1200
|
+
<summary>Source</summary>
|
|
1201
|
+
</details>
|
|
1202
|
+
</div>
|
|
1203
|
+
|
|
1204
|
+
|
|
1205
|
+
|
|
671
1206
|
<div class="method-description">
|
|
672
|
-
|
|
673
1207
|
|
|
674
1208
|
<div class="method-source-code" id="change_row_alignment-source">
|
|
675
1209
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 662</span>
|
|
@@ -686,22 +1220,43 @@
|
|
|
686
1220
|
}
|
|
687
1221
|
<span class="ruby-keyword">end</span></pre>
|
|
688
1222
|
</div>
|
|
1223
|
+
|
|
1224
|
+
|
|
1225
|
+
|
|
1226
|
+
|
|
1227
|
+
|
|
1228
|
+
|
|
689
1229
|
</div>
|
|
690
1230
|
|
|
691
1231
|
|
|
1232
|
+
|
|
1233
|
+
|
|
1234
|
+
|
|
692
1235
|
</div>
|
|
693
1236
|
|
|
694
|
-
|
|
1237
|
+
|
|
1238
|
+
<div id="method-i-change_row_bold" class="method-detail anchor-link ">
|
|
695
1239
|
<div class="method-header">
|
|
696
|
-
|
|
697
|
-
<
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
1240
|
+
|
|
1241
|
+
<div class="method-heading">
|
|
1242
|
+
<a href="#method-i-change_row_bold" title="Link to this method">
|
|
1243
|
+
<span class="method-name">change_row_bold</span>
|
|
1244
|
+
<span class="method-args">(row = 0, bolded = false)</span>
|
|
1245
|
+
</a>
|
|
1246
|
+
</div>
|
|
1247
|
+
|
|
701
1248
|
</div>
|
|
702
1249
|
|
|
1250
|
+
|
|
1251
|
+
<div class="method-controls">
|
|
1252
|
+
<details class="method-source-toggle">
|
|
1253
|
+
<summary>Source</summary>
|
|
1254
|
+
</details>
|
|
1255
|
+
</div>
|
|
1256
|
+
|
|
1257
|
+
|
|
1258
|
+
|
|
703
1259
|
<div class="method-description">
|
|
704
|
-
|
|
705
1260
|
|
|
706
1261
|
<div class="method-source-code" id="change_row_bold-source">
|
|
707
1262
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 531</span>
|
|
@@ -712,22 +1267,43 @@
|
|
|
712
1267
|
<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
1268
|
<span class="ruby-keyword">end</span></pre>
|
|
714
1269
|
</div>
|
|
1270
|
+
|
|
1271
|
+
|
|
1272
|
+
|
|
1273
|
+
|
|
1274
|
+
|
|
1275
|
+
|
|
715
1276
|
</div>
|
|
716
1277
|
|
|
717
1278
|
|
|
1279
|
+
|
|
1280
|
+
|
|
1281
|
+
|
|
718
1282
|
</div>
|
|
719
1283
|
|
|
720
|
-
|
|
1284
|
+
|
|
1285
|
+
<div id="method-i-change_row_border" class="method-detail anchor-link ">
|
|
721
1286
|
<div class="method-header">
|
|
722
|
-
|
|
723
|
-
<
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
1287
|
+
|
|
1288
|
+
<div class="method-heading">
|
|
1289
|
+
<a href="#method-i-change_row_border" title="Link to this method">
|
|
1290
|
+
<span class="method-name">change_row_border</span>
|
|
1291
|
+
<span class="method-args">(row, direction, weight)</span>
|
|
1292
|
+
</a>
|
|
1293
|
+
</div>
|
|
1294
|
+
|
|
727
1295
|
</div>
|
|
728
1296
|
|
|
1297
|
+
|
|
1298
|
+
<div class="method-controls">
|
|
1299
|
+
<details class="method-source-toggle">
|
|
1300
|
+
<summary>Source</summary>
|
|
1301
|
+
</details>
|
|
1302
|
+
</div>
|
|
1303
|
+
|
|
1304
|
+
|
|
1305
|
+
|
|
729
1306
|
<div class="method-description">
|
|
730
|
-
|
|
731
1307
|
|
|
732
1308
|
<div class="method-source-code" id="change_row_border-source">
|
|
733
1309
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 457</span>
|
|
@@ -742,22 +1318,43 @@
|
|
|
742
1318
|
}
|
|
743
1319
|
<span class="ruby-keyword">end</span></pre>
|
|
744
1320
|
</div>
|
|
1321
|
+
|
|
1322
|
+
|
|
1323
|
+
|
|
1324
|
+
|
|
1325
|
+
|
|
1326
|
+
|
|
745
1327
|
</div>
|
|
746
1328
|
|
|
747
1329
|
|
|
1330
|
+
|
|
1331
|
+
|
|
1332
|
+
|
|
748
1333
|
</div>
|
|
749
1334
|
|
|
750
|
-
|
|
1335
|
+
|
|
1336
|
+
<div id="method-i-change_row_border_color" class="method-detail anchor-link ">
|
|
751
1337
|
<div class="method-header">
|
|
752
|
-
|
|
753
|
-
<
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
1338
|
+
|
|
1339
|
+
<div class="method-heading">
|
|
1340
|
+
<a href="#method-i-change_row_border_color" title="Link to this method">
|
|
1341
|
+
<span class="method-name">change_row_border_color</span>
|
|
1342
|
+
<span class="method-args">(row, direction, color = '000000')</span>
|
|
1343
|
+
</a>
|
|
1344
|
+
</div>
|
|
1345
|
+
|
|
757
1346
|
</div>
|
|
758
1347
|
|
|
1348
|
+
|
|
1349
|
+
<div class="method-controls">
|
|
1350
|
+
<details class="method-source-toggle">
|
|
1351
|
+
<summary>Source</summary>
|
|
1352
|
+
</details>
|
|
1353
|
+
</div>
|
|
1354
|
+
|
|
1355
|
+
|
|
1356
|
+
|
|
759
1357
|
<div class="method-description">
|
|
760
|
-
|
|
761
1358
|
|
|
762
1359
|
<div class="method-source-code" id="change_row_border_color-source">
|
|
763
1360
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 468</span>
|
|
@@ -773,22 +1370,43 @@
|
|
|
773
1370
|
}
|
|
774
1371
|
<span class="ruby-keyword">end</span></pre>
|
|
775
1372
|
</div>
|
|
1373
|
+
|
|
1374
|
+
|
|
1375
|
+
|
|
1376
|
+
|
|
1377
|
+
|
|
1378
|
+
|
|
776
1379
|
</div>
|
|
777
1380
|
|
|
778
1381
|
|
|
1382
|
+
|
|
1383
|
+
|
|
1384
|
+
|
|
779
1385
|
</div>
|
|
780
1386
|
|
|
781
|
-
|
|
1387
|
+
|
|
1388
|
+
<div id="method-i-change_row_fill" class="method-detail anchor-link ">
|
|
782
1389
|
<div class="method-header">
|
|
783
|
-
|
|
784
|
-
<
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
1390
|
+
|
|
1391
|
+
<div class="method-heading">
|
|
1392
|
+
<a href="#method-i-change_row_fill" title="Link to this method">
|
|
1393
|
+
<span class="method-name">change_row_fill</span>
|
|
1394
|
+
<span class="method-args">(row_index = 0, rgb = 'ffffff')</span>
|
|
1395
|
+
</a>
|
|
1396
|
+
</div>
|
|
1397
|
+
|
|
788
1398
|
</div>
|
|
789
1399
|
|
|
1400
|
+
|
|
1401
|
+
<div class="method-controls">
|
|
1402
|
+
<details class="method-source-toggle">
|
|
1403
|
+
<summary>Source</summary>
|
|
1404
|
+
</details>
|
|
1405
|
+
</div>
|
|
1406
|
+
|
|
1407
|
+
|
|
1408
|
+
|
|
790
1409
|
<div class="method-description">
|
|
791
|
-
|
|
792
1410
|
|
|
793
1411
|
<div class="method-source-code" id="change_row_fill-source">
|
|
794
1412
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 480</span>
|
|
@@ -801,22 +1419,43 @@
|
|
|
801
1419
|
<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
1420
|
<span class="ruby-keyword">end</span></pre>
|
|
803
1421
|
</div>
|
|
1422
|
+
|
|
1423
|
+
|
|
1424
|
+
|
|
1425
|
+
|
|
1426
|
+
|
|
1427
|
+
|
|
804
1428
|
</div>
|
|
805
1429
|
|
|
806
1430
|
|
|
1431
|
+
|
|
1432
|
+
|
|
1433
|
+
|
|
807
1434
|
</div>
|
|
808
1435
|
|
|
809
|
-
|
|
1436
|
+
|
|
1437
|
+
<div id="method-i-change_row_font" class="method-detail anchor-link ">
|
|
810
1438
|
<div class="method-header">
|
|
811
|
-
|
|
812
|
-
<
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
1439
|
+
|
|
1440
|
+
<div class="method-heading">
|
|
1441
|
+
<a href="#method-i-change_row_font" title="Link to this method">
|
|
1442
|
+
<span class="method-name">change_row_font</span>
|
|
1443
|
+
<span class="method-args">(row_index, change_type, arg, font)</span>
|
|
1444
|
+
</a>
|
|
1445
|
+
</div>
|
|
1446
|
+
|
|
816
1447
|
</div>
|
|
817
1448
|
|
|
1449
|
+
|
|
1450
|
+
<div class="method-controls">
|
|
1451
|
+
<details class="method-source-toggle">
|
|
1452
|
+
<summary>Source</summary>
|
|
1453
|
+
</details>
|
|
1454
|
+
</div>
|
|
1455
|
+
|
|
1456
|
+
|
|
1457
|
+
|
|
818
1458
|
<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
1459
|
|
|
821
1460
|
<div class="method-source-code" id="change_row_font-source">
|
|
822
1461
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 492</span>
|
|
@@ -830,22 +1469,43 @@
|
|
|
830
1469
|
<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
1470
|
<span class="ruby-keyword">end</span></pre>
|
|
832
1471
|
</div>
|
|
1472
|
+
|
|
1473
|
+
|
|
1474
|
+
|
|
1475
|
+
<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>
|
|
1476
|
+
|
|
1477
|
+
|
|
833
1478
|
</div>
|
|
834
1479
|
|
|
835
1480
|
|
|
1481
|
+
|
|
1482
|
+
|
|
1483
|
+
|
|
836
1484
|
</div>
|
|
837
1485
|
|
|
838
|
-
|
|
1486
|
+
|
|
1487
|
+
<div id="method-i-change_row_font_color" class="method-detail anchor-link ">
|
|
839
1488
|
<div class="method-header">
|
|
840
|
-
|
|
841
|
-
<
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
1489
|
+
|
|
1490
|
+
<div class="method-heading">
|
|
1491
|
+
<a href="#method-i-change_row_font_color" title="Link to this method">
|
|
1492
|
+
<span class="method-name">change_row_font_color</span>
|
|
1493
|
+
<span class="method-args">(row = 0, font_color = '000000')</span>
|
|
1494
|
+
</a>
|
|
1495
|
+
</div>
|
|
1496
|
+
|
|
845
1497
|
</div>
|
|
846
1498
|
|
|
1499
|
+
|
|
1500
|
+
<div class="method-controls">
|
|
1501
|
+
<details class="method-source-toggle">
|
|
1502
|
+
<summary>Source</summary>
|
|
1503
|
+
</details>
|
|
1504
|
+
</div>
|
|
1505
|
+
|
|
1506
|
+
|
|
1507
|
+
|
|
847
1508
|
<div class="method-description">
|
|
848
|
-
|
|
849
1509
|
|
|
850
1510
|
<div class="method-source-code" id="change_row_font_color-source">
|
|
851
1511
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 516</span>
|
|
@@ -857,22 +1517,43 @@
|
|
|
857
1517
|
<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
1518
|
<span class="ruby-keyword">end</span></pre>
|
|
859
1519
|
</div>
|
|
1520
|
+
|
|
1521
|
+
|
|
1522
|
+
|
|
1523
|
+
|
|
1524
|
+
|
|
1525
|
+
|
|
860
1526
|
</div>
|
|
861
1527
|
|
|
862
1528
|
|
|
1529
|
+
|
|
1530
|
+
|
|
1531
|
+
|
|
863
1532
|
</div>
|
|
864
1533
|
|
|
865
|
-
|
|
1534
|
+
|
|
1535
|
+
<div id="method-i-change_row_font_name" class="method-detail anchor-link ">
|
|
866
1536
|
<div class="method-header">
|
|
867
|
-
|
|
868
|
-
<
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
1537
|
+
|
|
1538
|
+
<div class="method-heading">
|
|
1539
|
+
<a href="#method-i-change_row_font_name" title="Link to this method">
|
|
1540
|
+
<span class="method-name">change_row_font_name</span>
|
|
1541
|
+
<span class="method-args">(row = 0, font_name = 'Verdana')</span>
|
|
1542
|
+
</a>
|
|
1543
|
+
</div>
|
|
1544
|
+
|
|
872
1545
|
</div>
|
|
873
1546
|
|
|
1547
|
+
|
|
1548
|
+
<div class="method-controls">
|
|
1549
|
+
<details class="method-source-toggle">
|
|
1550
|
+
<summary>Source</summary>
|
|
1551
|
+
</details>
|
|
1552
|
+
</div>
|
|
1553
|
+
|
|
1554
|
+
|
|
1555
|
+
|
|
874
1556
|
<div class="method-description">
|
|
875
|
-
|
|
876
1557
|
|
|
877
1558
|
<div class="method-source-code" id="change_row_font_name-source">
|
|
878
1559
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 502</span>
|
|
@@ -883,22 +1564,43 @@
|
|
|
883
1564
|
<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
1565
|
<span class="ruby-keyword">end</span></pre>
|
|
885
1566
|
</div>
|
|
1567
|
+
|
|
1568
|
+
|
|
1569
|
+
|
|
1570
|
+
|
|
1571
|
+
|
|
1572
|
+
|
|
886
1573
|
</div>
|
|
887
1574
|
|
|
888
1575
|
|
|
1576
|
+
|
|
1577
|
+
|
|
1578
|
+
|
|
889
1579
|
</div>
|
|
890
1580
|
|
|
891
|
-
|
|
1581
|
+
|
|
1582
|
+
<div id="method-i-change_row_font_size" class="method-detail anchor-link ">
|
|
892
1583
|
<div class="method-header">
|
|
893
|
-
|
|
894
|
-
<
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
1584
|
+
|
|
1585
|
+
<div class="method-heading">
|
|
1586
|
+
<a href="#method-i-change_row_font_size" title="Link to this method">
|
|
1587
|
+
<span class="method-name">change_row_font_size</span>
|
|
1588
|
+
<span class="method-args">(row = 0, font_size=10)</span>
|
|
1589
|
+
</a>
|
|
1590
|
+
</div>
|
|
1591
|
+
|
|
898
1592
|
</div>
|
|
899
1593
|
|
|
1594
|
+
|
|
1595
|
+
<div class="method-controls">
|
|
1596
|
+
<details class="method-source-toggle">
|
|
1597
|
+
<summary>Source</summary>
|
|
1598
|
+
</details>
|
|
1599
|
+
</div>
|
|
1600
|
+
|
|
1601
|
+
|
|
1602
|
+
|
|
900
1603
|
<div class="method-description">
|
|
901
|
-
|
|
902
1604
|
|
|
903
1605
|
<div class="method-source-code" id="change_row_font_size-source">
|
|
904
1606
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 509</span>
|
|
@@ -909,22 +1611,43 @@
|
|
|
909
1611
|
<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
1612
|
<span class="ruby-keyword">end</span></pre>
|
|
911
1613
|
</div>
|
|
1614
|
+
|
|
1615
|
+
|
|
1616
|
+
|
|
1617
|
+
|
|
1618
|
+
|
|
1619
|
+
|
|
912
1620
|
</div>
|
|
913
1621
|
|
|
914
1622
|
|
|
1623
|
+
|
|
1624
|
+
|
|
1625
|
+
|
|
915
1626
|
</div>
|
|
916
1627
|
|
|
917
|
-
|
|
1628
|
+
|
|
1629
|
+
<div id="method-i-change_row_height" class="method-detail anchor-link ">
|
|
918
1630
|
<div class="method-header">
|
|
919
|
-
|
|
920
|
-
<
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
1631
|
+
|
|
1632
|
+
<div class="method-heading">
|
|
1633
|
+
<a href="#method-i-change_row_height" title="Link to this method">
|
|
1634
|
+
<span class="method-name">change_row_height</span>
|
|
1635
|
+
<span class="method-args">(row = 0, height = 10)</span>
|
|
1636
|
+
</a>
|
|
1637
|
+
</div>
|
|
1638
|
+
|
|
924
1639
|
</div>
|
|
925
1640
|
|
|
1641
|
+
|
|
1642
|
+
<div class="method-controls">
|
|
1643
|
+
<details class="method-source-toggle">
|
|
1644
|
+
<summary>Source</summary>
|
|
1645
|
+
</details>
|
|
1646
|
+
</div>
|
|
1647
|
+
|
|
1648
|
+
|
|
1649
|
+
|
|
926
1650
|
<div class="method-description">
|
|
927
|
-
|
|
928
1651
|
|
|
929
1652
|
<div class="method-source-code" id="change_row_height-source">
|
|
930
1653
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 552</span>
|
|
@@ -937,22 +1660,43 @@
|
|
|
937
1660
|
<span class="ruby-identifier">c</span>.<span class="ruby-identifier">custom_height</span> = <span class="ruby-keyword">true</span>
|
|
938
1661
|
<span class="ruby-keyword">end</span></pre>
|
|
939
1662
|
</div>
|
|
1663
|
+
|
|
1664
|
+
|
|
1665
|
+
|
|
1666
|
+
|
|
1667
|
+
|
|
1668
|
+
|
|
940
1669
|
</div>
|
|
941
1670
|
|
|
942
1671
|
|
|
1672
|
+
|
|
1673
|
+
|
|
1674
|
+
|
|
943
1675
|
</div>
|
|
944
1676
|
|
|
945
|
-
|
|
1677
|
+
|
|
1678
|
+
<div id="method-i-change_row_horizontal_alignment" class="method-detail anchor-link ">
|
|
946
1679
|
<div class="method-header">
|
|
947
|
-
|
|
948
|
-
<
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
1680
|
+
|
|
1681
|
+
<div class="method-heading">
|
|
1682
|
+
<a href="#method-i-change_row_horizontal_alignment" title="Link to this method">
|
|
1683
|
+
<span class="method-name">change_row_horizontal_alignment</span>
|
|
1684
|
+
<span class="method-args">(row = 0, alignment = 'center')</span>
|
|
1685
|
+
</a>
|
|
1686
|
+
</div>
|
|
1687
|
+
|
|
952
1688
|
</div>
|
|
953
1689
|
|
|
1690
|
+
|
|
1691
|
+
<div class="method-controls">
|
|
1692
|
+
<details class="method-source-toggle">
|
|
1693
|
+
<summary>Source</summary>
|
|
1694
|
+
</details>
|
|
1695
|
+
</div>
|
|
1696
|
+
|
|
1697
|
+
|
|
1698
|
+
|
|
954
1699
|
<div class="method-description">
|
|
955
|
-
|
|
956
1700
|
|
|
957
1701
|
<div class="method-source-code" id="change_row_horizontal_alignment-source">
|
|
958
1702
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 445</span>
|
|
@@ -962,22 +1706,43 @@
|
|
|
962
1706
|
<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
1707
|
<span class="ruby-keyword">end</span></pre>
|
|
964
1708
|
</div>
|
|
1709
|
+
|
|
1710
|
+
|
|
1711
|
+
|
|
1712
|
+
|
|
1713
|
+
|
|
1714
|
+
|
|
965
1715
|
</div>
|
|
966
1716
|
|
|
967
1717
|
|
|
1718
|
+
|
|
1719
|
+
|
|
1720
|
+
|
|
968
1721
|
</div>
|
|
969
1722
|
|
|
970
|
-
|
|
1723
|
+
|
|
1724
|
+
<div id="method-i-change_row_italics" class="method-detail anchor-link ">
|
|
971
1725
|
<div class="method-header">
|
|
972
|
-
|
|
973
|
-
<
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
1726
|
+
|
|
1727
|
+
<div class="method-heading">
|
|
1728
|
+
<a href="#method-i-change_row_italics" title="Link to this method">
|
|
1729
|
+
<span class="method-name">change_row_italics</span>
|
|
1730
|
+
<span class="method-args">(row = 0, italicized = false)</span>
|
|
1731
|
+
</a>
|
|
1732
|
+
</div>
|
|
1733
|
+
|
|
977
1734
|
</div>
|
|
978
1735
|
|
|
1736
|
+
|
|
1737
|
+
<div class="method-controls">
|
|
1738
|
+
<details class="method-source-toggle">
|
|
1739
|
+
<summary>Source</summary>
|
|
1740
|
+
</details>
|
|
1741
|
+
</div>
|
|
1742
|
+
|
|
1743
|
+
|
|
1744
|
+
|
|
979
1745
|
<div class="method-description">
|
|
980
|
-
|
|
981
1746
|
|
|
982
1747
|
<div class="method-source-code" id="change_row_italics-source">
|
|
983
1748
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 524</span>
|
|
@@ -988,22 +1753,43 @@
|
|
|
988
1753
|
<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
1754
|
<span class="ruby-keyword">end</span></pre>
|
|
990
1755
|
</div>
|
|
1756
|
+
|
|
1757
|
+
|
|
1758
|
+
|
|
1759
|
+
|
|
1760
|
+
|
|
1761
|
+
|
|
991
1762
|
</div>
|
|
992
1763
|
|
|
993
1764
|
|
|
1765
|
+
|
|
1766
|
+
|
|
1767
|
+
|
|
994
1768
|
</div>
|
|
995
1769
|
|
|
996
|
-
|
|
1770
|
+
|
|
1771
|
+
<div id="method-i-change_row_strikethrough" class="method-detail anchor-link ">
|
|
997
1772
|
<div class="method-header">
|
|
998
|
-
|
|
999
|
-
<
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1773
|
+
|
|
1774
|
+
<div class="method-heading">
|
|
1775
|
+
<a href="#method-i-change_row_strikethrough" title="Link to this method">
|
|
1776
|
+
<span class="method-name">change_row_strikethrough</span>
|
|
1777
|
+
<span class="method-args">(row = 0, struckthrough=false)</span>
|
|
1778
|
+
</a>
|
|
1779
|
+
</div>
|
|
1780
|
+
|
|
1003
1781
|
</div>
|
|
1004
1782
|
|
|
1783
|
+
|
|
1784
|
+
<div class="method-controls">
|
|
1785
|
+
<details class="method-source-toggle">
|
|
1786
|
+
<summary>Source</summary>
|
|
1787
|
+
</details>
|
|
1788
|
+
</div>
|
|
1789
|
+
|
|
1790
|
+
|
|
1791
|
+
|
|
1005
1792
|
<div class="method-description">
|
|
1006
|
-
|
|
1007
1793
|
|
|
1008
1794
|
<div class="method-source-code" id="change_row_strikethrough-source">
|
|
1009
1795
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 545</span>
|
|
@@ -1014,22 +1800,43 @@
|
|
|
1014
1800
|
<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
1801
|
<span class="ruby-keyword">end</span></pre>
|
|
1016
1802
|
</div>
|
|
1803
|
+
|
|
1804
|
+
|
|
1805
|
+
|
|
1806
|
+
|
|
1807
|
+
|
|
1808
|
+
|
|
1017
1809
|
</div>
|
|
1018
1810
|
|
|
1019
1811
|
|
|
1812
|
+
|
|
1813
|
+
|
|
1814
|
+
|
|
1020
1815
|
</div>
|
|
1021
1816
|
|
|
1022
|
-
|
|
1817
|
+
|
|
1818
|
+
<div id="method-i-change_row_underline" class="method-detail anchor-link ">
|
|
1023
1819
|
<div class="method-header">
|
|
1024
|
-
|
|
1025
|
-
<
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1820
|
+
|
|
1821
|
+
<div class="method-heading">
|
|
1822
|
+
<a href="#method-i-change_row_underline" title="Link to this method">
|
|
1823
|
+
<span class="method-name">change_row_underline</span>
|
|
1824
|
+
<span class="method-args">(row = 0, underlined=false)</span>
|
|
1825
|
+
</a>
|
|
1826
|
+
</div>
|
|
1827
|
+
|
|
1029
1828
|
</div>
|
|
1030
1829
|
|
|
1830
|
+
|
|
1831
|
+
<div class="method-controls">
|
|
1832
|
+
<details class="method-source-toggle">
|
|
1833
|
+
<summary>Source</summary>
|
|
1834
|
+
</details>
|
|
1835
|
+
</div>
|
|
1836
|
+
|
|
1837
|
+
|
|
1838
|
+
|
|
1031
1839
|
<div class="method-description">
|
|
1032
|
-
|
|
1033
1840
|
|
|
1034
1841
|
<div class="method-source-code" id="change_row_underline-source">
|
|
1035
1842
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 538</span>
|
|
@@ -1040,22 +1847,43 @@
|
|
|
1040
1847
|
<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
1848
|
<span class="ruby-keyword">end</span></pre>
|
|
1042
1849
|
</div>
|
|
1850
|
+
|
|
1851
|
+
|
|
1852
|
+
|
|
1853
|
+
|
|
1854
|
+
|
|
1855
|
+
|
|
1043
1856
|
</div>
|
|
1044
1857
|
|
|
1045
1858
|
|
|
1859
|
+
|
|
1860
|
+
|
|
1861
|
+
|
|
1046
1862
|
</div>
|
|
1047
1863
|
|
|
1048
|
-
|
|
1864
|
+
|
|
1865
|
+
<div id="method-i-change_row_vertical_alignment" class="method-detail anchor-link ">
|
|
1049
1866
|
<div class="method-header">
|
|
1050
|
-
|
|
1051
|
-
<
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1867
|
+
|
|
1868
|
+
<div class="method-heading">
|
|
1869
|
+
<a href="#method-i-change_row_vertical_alignment" title="Link to this method">
|
|
1870
|
+
<span class="method-name">change_row_vertical_alignment</span>
|
|
1871
|
+
<span class="method-args">(row = 0, alignment = 'center')</span>
|
|
1872
|
+
</a>
|
|
1873
|
+
</div>
|
|
1874
|
+
|
|
1055
1875
|
</div>
|
|
1056
1876
|
|
|
1877
|
+
|
|
1878
|
+
<div class="method-controls">
|
|
1879
|
+
<details class="method-source-toggle">
|
|
1880
|
+
<summary>Source</summary>
|
|
1881
|
+
</details>
|
|
1882
|
+
</div>
|
|
1883
|
+
|
|
1884
|
+
|
|
1885
|
+
|
|
1057
1886
|
<div class="method-description">
|
|
1058
|
-
|
|
1059
1887
|
|
|
1060
1888
|
<div class="method-source-code" id="change_row_vertical_alignment-source">
|
|
1061
1889
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 451</span>
|
|
@@ -1065,22 +1893,43 @@
|
|
|
1065
1893
|
<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
1894
|
<span class="ruby-keyword">end</span></pre>
|
|
1067
1895
|
</div>
|
|
1896
|
+
|
|
1897
|
+
|
|
1898
|
+
|
|
1899
|
+
|
|
1900
|
+
|
|
1901
|
+
|
|
1068
1902
|
</div>
|
|
1069
1903
|
|
|
1070
1904
|
|
|
1905
|
+
|
|
1906
|
+
|
|
1907
|
+
|
|
1071
1908
|
</div>
|
|
1072
1909
|
|
|
1073
|
-
|
|
1910
|
+
|
|
1911
|
+
<div id="method-i-column_font" class="method-detail anchor-link ">
|
|
1074
1912
|
<div class="method-header">
|
|
1075
|
-
|
|
1076
|
-
<
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1913
|
+
|
|
1914
|
+
<div class="method-heading">
|
|
1915
|
+
<a href="#method-i-column_font" title="Link to this method">
|
|
1916
|
+
<span class="method-name">column_font</span>
|
|
1917
|
+
<span class="method-args">(col)</span>
|
|
1918
|
+
</a>
|
|
1919
|
+
</div>
|
|
1920
|
+
|
|
1080
1921
|
</div>
|
|
1081
1922
|
|
|
1923
|
+
|
|
1924
|
+
<div class="method-controls">
|
|
1925
|
+
<details class="method-source-toggle">
|
|
1926
|
+
<summary>Source</summary>
|
|
1927
|
+
</details>
|
|
1928
|
+
</div>
|
|
1929
|
+
|
|
1930
|
+
|
|
1931
|
+
|
|
1082
1932
|
<div class="method-description">
|
|
1083
|
-
|
|
1084
1933
|
|
|
1085
1934
|
<div class="method-source-code" id="column_font-source">
|
|
1086
1935
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 432</span>
|
|
@@ -1090,22 +1939,43 @@
|
|
|
1090
1939
|
<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
1940
|
<span class="ruby-keyword">end</span></pre>
|
|
1092
1941
|
</div>
|
|
1942
|
+
|
|
1943
|
+
|
|
1944
|
+
|
|
1945
|
+
|
|
1946
|
+
|
|
1947
|
+
|
|
1093
1948
|
</div>
|
|
1094
1949
|
|
|
1095
1950
|
|
|
1951
|
+
|
|
1952
|
+
|
|
1953
|
+
|
|
1096
1954
|
</div>
|
|
1097
1955
|
|
|
1098
|
-
|
|
1956
|
+
|
|
1957
|
+
<div id="method-i-delete_cell" class="method-detail anchor-link ">
|
|
1099
1958
|
<div class="method-header">
|
|
1100
|
-
|
|
1101
|
-
<
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1959
|
+
|
|
1960
|
+
<div class="method-heading">
|
|
1961
|
+
<a href="#method-i-delete_cell" title="Link to this method">
|
|
1962
|
+
<span class="method-name">delete_cell</span>
|
|
1963
|
+
<span class="method-args">(row_index = 0, column_index=0, shift=nil)</span>
|
|
1964
|
+
</a>
|
|
1965
|
+
</div>
|
|
1966
|
+
|
|
1105
1967
|
</div>
|
|
1106
1968
|
|
|
1969
|
+
|
|
1970
|
+
<div class="method-controls">
|
|
1971
|
+
<details class="method-source-toggle">
|
|
1972
|
+
<summary>Source</summary>
|
|
1973
|
+
</details>
|
|
1974
|
+
</div>
|
|
1975
|
+
|
|
1976
|
+
|
|
1977
|
+
|
|
1107
1978
|
<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
1979
|
|
|
1110
1980
|
<div class="method-source-code" id="delete_cell-source">
|
|
1111
1981
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 40</span>
|
|
@@ -1140,22 +2010,43 @@
|
|
|
1140
2010
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">old_cell</span>
|
|
1141
2011
|
<span class="ruby-keyword">end</span></pre>
|
|
1142
2012
|
</div>
|
|
2013
|
+
|
|
2014
|
+
|
|
2015
|
+
|
|
2016
|
+
<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>
|
|
2017
|
+
|
|
2018
|
+
|
|
1143
2019
|
</div>
|
|
1144
2020
|
|
|
1145
2021
|
|
|
2022
|
+
|
|
2023
|
+
|
|
2024
|
+
|
|
1146
2025
|
</div>
|
|
1147
2026
|
|
|
1148
|
-
|
|
2027
|
+
|
|
2028
|
+
<div id="method-i-delete_column" class="method-detail anchor-link ">
|
|
1149
2029
|
<div class="method-header">
|
|
1150
|
-
|
|
1151
|
-
<
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
2030
|
+
|
|
2031
|
+
<div class="method-heading">
|
|
2032
|
+
<a href="#method-i-delete_column" title="Link to this method">
|
|
2033
|
+
<span class="method-name">delete_column</span>
|
|
2034
|
+
<span class="method-args">(column_index = 0)</span>
|
|
2035
|
+
</a>
|
|
2036
|
+
</div>
|
|
2037
|
+
|
|
1155
2038
|
</div>
|
|
1156
2039
|
|
|
2040
|
+
|
|
2041
|
+
<div class="method-controls">
|
|
2042
|
+
<details class="method-source-toggle">
|
|
2043
|
+
<summary>Source</summary>
|
|
2044
|
+
</details>
|
|
2045
|
+
</div>
|
|
2046
|
+
|
|
2047
|
+
|
|
2048
|
+
|
|
1157
2049
|
<div class="method-description">
|
|
1158
|
-
|
|
1159
2050
|
|
|
1160
2051
|
<div class="method-source-code" id="delete_column-source">
|
|
1161
2052
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 204</span>
|
|
@@ -1195,22 +2086,43 @@
|
|
|
1195
2086
|
<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
2087
|
<span class="ruby-keyword">end</span></pre>
|
|
1197
2088
|
</div>
|
|
2089
|
+
|
|
2090
|
+
|
|
2091
|
+
|
|
2092
|
+
|
|
2093
|
+
|
|
2094
|
+
|
|
1198
2095
|
</div>
|
|
1199
2096
|
|
|
1200
2097
|
|
|
2098
|
+
|
|
2099
|
+
|
|
2100
|
+
|
|
1201
2101
|
</div>
|
|
1202
2102
|
|
|
1203
|
-
|
|
2103
|
+
|
|
2104
|
+
<div id="method-i-delete_row" class="method-detail anchor-link ">
|
|
1204
2105
|
<div class="method-header">
|
|
1205
|
-
|
|
1206
|
-
<
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
2106
|
+
|
|
2107
|
+
<div class="method-heading">
|
|
2108
|
+
<a href="#method-i-delete_row" title="Link to this method">
|
|
2109
|
+
<span class="method-name">delete_row</span>
|
|
2110
|
+
<span class="method-args">(row_index=0)</span>
|
|
2111
|
+
</a>
|
|
2112
|
+
</div>
|
|
2113
|
+
|
|
1210
2114
|
</div>
|
|
1211
2115
|
|
|
2116
|
+
|
|
2117
|
+
<div class="method-controls">
|
|
2118
|
+
<details class="method-source-toggle">
|
|
2119
|
+
<summary>Source</summary>
|
|
2120
|
+
</details>
|
|
2121
|
+
</div>
|
|
2122
|
+
|
|
2123
|
+
|
|
2124
|
+
|
|
1212
2125
|
<div class="method-description">
|
|
1213
|
-
|
|
1214
2126
|
|
|
1215
2127
|
<div class="method-source-code" id="delete_row-source">
|
|
1216
2128
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 126</span>
|
|
@@ -1246,22 +2158,43 @@
|
|
|
1246
2158
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">deleted</span>
|
|
1247
2159
|
<span class="ruby-keyword">end</span></pre>
|
|
1248
2160
|
</div>
|
|
2161
|
+
|
|
2162
|
+
|
|
2163
|
+
|
|
2164
|
+
|
|
2165
|
+
|
|
2166
|
+
|
|
1249
2167
|
</div>
|
|
1250
2168
|
|
|
1251
2169
|
|
|
2170
|
+
|
|
2171
|
+
|
|
2172
|
+
|
|
1252
2173
|
</div>
|
|
1253
2174
|
|
|
1254
|
-
|
|
2175
|
+
|
|
2176
|
+
<div id="method-i-get_col_style" class="method-detail anchor-link ">
|
|
1255
2177
|
<div class="method-header">
|
|
1256
|
-
|
|
1257
|
-
<
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
2178
|
+
|
|
2179
|
+
<div class="method-heading">
|
|
2180
|
+
<a href="#method-i-get_col_style" title="Link to this method">
|
|
2181
|
+
<span class="method-name">get_col_style</span>
|
|
2182
|
+
<span class="method-args">(column_index)</span>
|
|
2183
|
+
</a>
|
|
2184
|
+
</div>
|
|
2185
|
+
|
|
1261
2186
|
</div>
|
|
1262
2187
|
|
|
2188
|
+
|
|
2189
|
+
<div class="method-controls">
|
|
2190
|
+
<details class="method-source-toggle">
|
|
2191
|
+
<summary>Source</summary>
|
|
2192
|
+
</details>
|
|
2193
|
+
</div>
|
|
2194
|
+
|
|
2195
|
+
|
|
2196
|
+
|
|
1263
2197
|
<div class="method-description">
|
|
1264
|
-
<p>Helper method to get the style index for a column</p>
|
|
1265
2198
|
|
|
1266
2199
|
<div class="method-source-code" id="get_col_style-source">
|
|
1267
2200
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 389</span>
|
|
@@ -1270,22 +2203,43 @@
|
|
|
1270
2203
|
(<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
2204
|
<span class="ruby-keyword">end</span></pre>
|
|
1272
2205
|
</div>
|
|
2206
|
+
|
|
2207
|
+
|
|
2208
|
+
|
|
2209
|
+
<p>Helper method to get the style index for a column</p>
|
|
2210
|
+
|
|
2211
|
+
|
|
1273
2212
|
</div>
|
|
1274
2213
|
|
|
1275
2214
|
|
|
2215
|
+
|
|
2216
|
+
|
|
2217
|
+
|
|
1276
2218
|
</div>
|
|
1277
2219
|
|
|
1278
|
-
|
|
2220
|
+
|
|
2221
|
+
<div id="method-i-get_cols_style_index" class="method-detail anchor-link ">
|
|
1279
2222
|
<div class="method-header">
|
|
1280
|
-
|
|
1281
|
-
<
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
2223
|
+
|
|
2224
|
+
<div class="method-heading">
|
|
2225
|
+
<a href="#method-i-get_cols_style_index" title="Link to this method">
|
|
2226
|
+
<span class="method-name">get_cols_style_index</span>
|
|
2227
|
+
<span class="method-args">(column_index)</span>
|
|
2228
|
+
</a>
|
|
2229
|
+
</div>
|
|
2230
|
+
|
|
1285
2231
|
</div>
|
|
1286
2232
|
|
|
2233
|
+
|
|
2234
|
+
<div class="method-controls">
|
|
2235
|
+
<details class="method-source-toggle">
|
|
2236
|
+
<summary>Source</summary>
|
|
2237
|
+
</details>
|
|
2238
|
+
</div>
|
|
2239
|
+
|
|
2240
|
+
|
|
2241
|
+
|
|
1287
2242
|
<div class="method-description">
|
|
1288
|
-
|
|
1289
2243
|
|
|
1290
2244
|
<div class="method-source-code" id="get_cols_style_index-source">
|
|
1291
2245
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 315</span>
|
|
@@ -1295,22 +2249,43 @@
|
|
|
1295
2249
|
(<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
2250
|
<span class="ruby-keyword">end</span></pre>
|
|
1297
2251
|
</div>
|
|
2252
|
+
|
|
2253
|
+
|
|
2254
|
+
|
|
2255
|
+
|
|
2256
|
+
|
|
2257
|
+
|
|
1298
2258
|
</div>
|
|
1299
2259
|
|
|
1300
2260
|
|
|
2261
|
+
|
|
2262
|
+
|
|
2263
|
+
|
|
1301
2264
|
</div>
|
|
1302
2265
|
|
|
1303
|
-
|
|
2266
|
+
|
|
2267
|
+
<div id="method-i-get_column_alignment" class="method-detail anchor-link ">
|
|
1304
2268
|
<div class="method-header">
|
|
1305
|
-
|
|
1306
|
-
<
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
2269
|
+
|
|
2270
|
+
<div class="method-heading">
|
|
2271
|
+
<a href="#method-i-get_column_alignment" title="Link to this method">
|
|
2272
|
+
<span class="method-name">get_column_alignment</span>
|
|
2273
|
+
<span class="method-args">(col, type)</span>
|
|
2274
|
+
</a>
|
|
2275
|
+
</div>
|
|
2276
|
+
|
|
1310
2277
|
</div>
|
|
1311
2278
|
|
|
2279
|
+
|
|
2280
|
+
<div class="method-controls">
|
|
2281
|
+
<details class="method-source-toggle">
|
|
2282
|
+
<summary>Source</summary>
|
|
2283
|
+
</details>
|
|
2284
|
+
</div>
|
|
2285
|
+
|
|
2286
|
+
|
|
2287
|
+
|
|
1312
2288
|
<div class="method-description">
|
|
1313
|
-
|
|
1314
2289
|
|
|
1315
2290
|
<div class="method-source-code" id="get_column_alignment-source">
|
|
1316
2291
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 438</span>
|
|
@@ -1321,22 +2296,43 @@
|
|
|
1321
2296
|
<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
2297
|
<span class="ruby-keyword">end</span></pre>
|
|
1323
2298
|
</div>
|
|
2299
|
+
|
|
2300
|
+
|
|
2301
|
+
|
|
2302
|
+
|
|
2303
|
+
|
|
2304
|
+
|
|
1324
2305
|
</div>
|
|
1325
2306
|
|
|
1326
2307
|
|
|
2308
|
+
|
|
2309
|
+
|
|
2310
|
+
|
|
1327
2311
|
</div>
|
|
1328
2312
|
|
|
1329
|
-
|
|
2313
|
+
|
|
2314
|
+
<div id="method-i-get_column_border" class="method-detail anchor-link ">
|
|
1330
2315
|
<div class="method-header">
|
|
1331
|
-
|
|
1332
|
-
<
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
2316
|
+
|
|
2317
|
+
<div class="method-heading">
|
|
2318
|
+
<a href="#method-i-get_column_border" title="Link to this method">
|
|
2319
|
+
<span class="method-name">get_column_border</span>
|
|
2320
|
+
<span class="method-args">(col, border_direction)</span>
|
|
2321
|
+
</a>
|
|
2322
|
+
</div>
|
|
2323
|
+
|
|
1336
2324
|
</div>
|
|
1337
2325
|
|
|
2326
|
+
|
|
2327
|
+
<div class="method-controls">
|
|
2328
|
+
<details class="method-source-toggle">
|
|
2329
|
+
<summary>Source</summary>
|
|
2330
|
+
</details>
|
|
2331
|
+
</div>
|
|
2332
|
+
|
|
2333
|
+
|
|
2334
|
+
|
|
1338
2335
|
<div class="method-description">
|
|
1339
|
-
|
|
1340
2336
|
|
|
1341
2337
|
<div class="method-source-code" id="get_column_border-source">
|
|
1342
2338
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 416</span>
|
|
@@ -1348,22 +2344,43 @@
|
|
|
1348
2344
|
<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
2345
|
<span class="ruby-keyword">end</span></pre>
|
|
1350
2346
|
</div>
|
|
2347
|
+
|
|
2348
|
+
|
|
2349
|
+
|
|
2350
|
+
|
|
2351
|
+
|
|
2352
|
+
|
|
1351
2353
|
</div>
|
|
1352
2354
|
|
|
1353
2355
|
|
|
2356
|
+
|
|
2357
|
+
|
|
2358
|
+
|
|
1354
2359
|
</div>
|
|
1355
2360
|
|
|
1356
|
-
|
|
2361
|
+
|
|
2362
|
+
<div id="method-i-get_column_border_color" class="method-detail anchor-link ">
|
|
1357
2363
|
<div class="method-header">
|
|
1358
|
-
|
|
1359
|
-
<
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
2364
|
+
|
|
2365
|
+
<div class="method-heading">
|
|
2366
|
+
<a href="#method-i-get_column_border_color" title="Link to this method">
|
|
2367
|
+
<span class="method-name">get_column_border_color</span>
|
|
2368
|
+
<span class="method-args">(col, border_direction)</span>
|
|
2369
|
+
</a>
|
|
2370
|
+
</div>
|
|
2371
|
+
|
|
1363
2372
|
</div>
|
|
1364
2373
|
|
|
2374
|
+
|
|
2375
|
+
<div class="method-controls">
|
|
2376
|
+
<details class="method-source-toggle">
|
|
2377
|
+
<summary>Source</summary>
|
|
2378
|
+
</details>
|
|
2379
|
+
</div>
|
|
2380
|
+
|
|
2381
|
+
|
|
2382
|
+
|
|
1365
2383
|
<div class="method-description">
|
|
1366
|
-
|
|
1367
2384
|
|
|
1368
2385
|
<div class="method-source-code" id="get_column_border_color-source">
|
|
1369
2386
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 424</span>
|
|
@@ -1375,22 +2392,43 @@
|
|
|
1375
2392
|
<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
2393
|
<span class="ruby-keyword">end</span></pre>
|
|
1377
2394
|
</div>
|
|
2395
|
+
|
|
2396
|
+
|
|
2397
|
+
|
|
2398
|
+
|
|
2399
|
+
|
|
2400
|
+
|
|
1378
2401
|
</div>
|
|
1379
2402
|
|
|
1380
2403
|
|
|
2404
|
+
|
|
2405
|
+
|
|
2406
|
+
|
|
1381
2407
|
</div>
|
|
1382
2408
|
|
|
1383
|
-
|
|
2409
|
+
|
|
2410
|
+
<div id="method-i-get_column_fill" class="method-detail anchor-link ">
|
|
1384
2411
|
<div class="method-header">
|
|
1385
|
-
|
|
1386
|
-
<
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
2412
|
+
|
|
2413
|
+
<div class="method-heading">
|
|
2414
|
+
<a href="#method-i-get_column_fill" title="Link to this method">
|
|
2415
|
+
<span class="method-name">get_column_fill</span>
|
|
2416
|
+
<span class="method-args">(col=0)</span>
|
|
2417
|
+
</a>
|
|
2418
|
+
</div>
|
|
2419
|
+
|
|
1390
2420
|
</div>
|
|
1391
2421
|
|
|
2422
|
+
|
|
2423
|
+
<div class="method-controls">
|
|
2424
|
+
<details class="method-source-toggle">
|
|
2425
|
+
<summary>Source</summary>
|
|
2426
|
+
</details>
|
|
2427
|
+
</div>
|
|
2428
|
+
|
|
2429
|
+
|
|
2430
|
+
|
|
1392
2431
|
<div class="method-description">
|
|
1393
|
-
|
|
1394
2432
|
|
|
1395
2433
|
<div class="method-source-code" id="get_column_fill-source">
|
|
1396
2434
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 394</span>
|
|
@@ -1401,22 +2439,43 @@
|
|
|
1401
2439
|
<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
2440
|
<span class="ruby-keyword">end</span></pre>
|
|
1403
2441
|
</div>
|
|
2442
|
+
|
|
2443
|
+
|
|
2444
|
+
|
|
2445
|
+
|
|
2446
|
+
|
|
2447
|
+
|
|
1404
2448
|
</div>
|
|
1405
2449
|
|
|
1406
2450
|
|
|
2451
|
+
|
|
2452
|
+
|
|
2453
|
+
|
|
1407
2454
|
</div>
|
|
1408
2455
|
|
|
1409
|
-
|
|
2456
|
+
|
|
2457
|
+
<div id="method-i-get_column_font_color" class="method-detail anchor-link ">
|
|
1410
2458
|
<div class="method-header">
|
|
1411
|
-
|
|
1412
|
-
<
|
|
1413
|
-
|
|
1414
|
-
|
|
2459
|
+
|
|
2460
|
+
<div class="method-heading">
|
|
2461
|
+
<a href="#method-i-get_column_font_color" title="Link to this method">
|
|
2462
|
+
<span class="method-name">get_column_font_color</span>
|
|
2463
|
+
<span class="method-args">(col = 0)</span>
|
|
2464
|
+
</a>
|
|
2465
|
+
</div>
|
|
2466
|
+
|
|
2467
|
+
</div>
|
|
2468
|
+
|
|
2469
|
+
|
|
2470
|
+
<div class="method-controls">
|
|
2471
|
+
<details class="method-source-toggle">
|
|
2472
|
+
<summary>Source</summary>
|
|
2473
|
+
</details>
|
|
1415
2474
|
</div>
|
|
1416
|
-
|
|
2475
|
+
|
|
2476
|
+
|
|
1417
2477
|
|
|
1418
2478
|
<div class="method-description">
|
|
1419
|
-
|
|
1420
2479
|
|
|
1421
2480
|
<div class="method-source-code" id="get_column_font_color-source">
|
|
1422
2481
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 331</span>
|
|
@@ -1425,22 +2484,43 @@
|
|
|
1425
2484
|
<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
2485
|
<span class="ruby-keyword">end</span></pre>
|
|
1427
2486
|
</div>
|
|
2487
|
+
|
|
2488
|
+
|
|
2489
|
+
|
|
2490
|
+
|
|
2491
|
+
|
|
2492
|
+
|
|
1428
2493
|
</div>
|
|
1429
2494
|
|
|
1430
2495
|
|
|
2496
|
+
|
|
2497
|
+
|
|
2498
|
+
|
|
1431
2499
|
</div>
|
|
1432
2500
|
|
|
1433
|
-
|
|
2501
|
+
|
|
2502
|
+
<div id="method-i-get_column_font_name" class="method-detail anchor-link ">
|
|
1434
2503
|
<div class="method-header">
|
|
1435
|
-
|
|
1436
|
-
<
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
2504
|
+
|
|
2505
|
+
<div class="method-heading">
|
|
2506
|
+
<a href="#method-i-get_column_font_name" title="Link to this method">
|
|
2507
|
+
<span class="method-name">get_column_font_name</span>
|
|
2508
|
+
<span class="method-args">(col = 0)</span>
|
|
2509
|
+
</a>
|
|
2510
|
+
</div>
|
|
2511
|
+
|
|
1440
2512
|
</div>
|
|
1441
2513
|
|
|
2514
|
+
|
|
2515
|
+
<div class="method-controls">
|
|
2516
|
+
<details class="method-source-toggle">
|
|
2517
|
+
<summary>Source</summary>
|
|
2518
|
+
</details>
|
|
2519
|
+
</div>
|
|
2520
|
+
|
|
2521
|
+
|
|
2522
|
+
|
|
1442
2523
|
<div class="method-description">
|
|
1443
|
-
|
|
1444
2524
|
|
|
1445
2525
|
<div class="method-source-code" id="get_column_font_name-source">
|
|
1446
2526
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 321</span>
|
|
@@ -1449,22 +2529,43 @@
|
|
|
1449
2529
|
<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
2530
|
<span class="ruby-keyword">end</span></pre>
|
|
1451
2531
|
</div>
|
|
2532
|
+
|
|
2533
|
+
|
|
2534
|
+
|
|
2535
|
+
|
|
2536
|
+
|
|
2537
|
+
|
|
1452
2538
|
</div>
|
|
1453
2539
|
|
|
1454
2540
|
|
|
2541
|
+
|
|
2542
|
+
|
|
2543
|
+
|
|
1455
2544
|
</div>
|
|
1456
2545
|
|
|
1457
|
-
|
|
2546
|
+
|
|
2547
|
+
<div id="method-i-get_column_font_size" class="method-detail anchor-link ">
|
|
1458
2548
|
<div class="method-header">
|
|
1459
|
-
|
|
1460
|
-
<
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
2549
|
+
|
|
2550
|
+
<div class="method-heading">
|
|
2551
|
+
<a href="#method-i-get_column_font_size" title="Link to this method">
|
|
2552
|
+
<span class="method-name">get_column_font_size</span>
|
|
2553
|
+
<span class="method-args">(col = 0)</span>
|
|
2554
|
+
</a>
|
|
2555
|
+
</div>
|
|
2556
|
+
|
|
1464
2557
|
</div>
|
|
1465
2558
|
|
|
2559
|
+
|
|
2560
|
+
<div class="method-controls">
|
|
2561
|
+
<details class="method-source-toggle">
|
|
2562
|
+
<summary>Source</summary>
|
|
2563
|
+
</details>
|
|
2564
|
+
</div>
|
|
2565
|
+
|
|
2566
|
+
|
|
2567
|
+
|
|
1466
2568
|
<div class="method-description">
|
|
1467
|
-
|
|
1468
2569
|
|
|
1469
2570
|
<div class="method-source-code" id="get_column_font_size-source">
|
|
1470
2571
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 326</span>
|
|
@@ -1473,22 +2574,43 @@
|
|
|
1473
2574
|
<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
2575
|
<span class="ruby-keyword">end</span></pre>
|
|
1475
2576
|
</div>
|
|
2577
|
+
|
|
2578
|
+
|
|
2579
|
+
|
|
2580
|
+
|
|
2581
|
+
|
|
2582
|
+
|
|
1476
2583
|
</div>
|
|
1477
2584
|
|
|
1478
2585
|
|
|
2586
|
+
|
|
2587
|
+
|
|
2588
|
+
|
|
1479
2589
|
</div>
|
|
1480
2590
|
|
|
1481
|
-
|
|
2591
|
+
|
|
2592
|
+
<div id="method-i-get_column_width" class="method-detail anchor-link ">
|
|
1482
2593
|
<div class="method-header">
|
|
1483
|
-
|
|
1484
|
-
<
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
2594
|
+
|
|
2595
|
+
<div class="method-heading">
|
|
2596
|
+
<a href="#method-i-get_column_width" title="Link to this method">
|
|
2597
|
+
<span class="method-name">get_column_width</span>
|
|
2598
|
+
<span class="method-args">(column_index = 0)</span>
|
|
2599
|
+
</a>
|
|
2600
|
+
</div>
|
|
2601
|
+
|
|
1488
2602
|
</div>
|
|
1489
2603
|
|
|
2604
|
+
|
|
2605
|
+
<div class="method-controls">
|
|
2606
|
+
<details class="method-source-toggle">
|
|
2607
|
+
<summary>Source</summary>
|
|
2608
|
+
</details>
|
|
2609
|
+
</div>
|
|
2610
|
+
|
|
2611
|
+
|
|
2612
|
+
|
|
1490
2613
|
<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
2614
|
|
|
1493
2615
|
<div class="method-source-code" id="get_column_width-source">
|
|
1494
2616
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 367</span>
|
|
@@ -1498,22 +2620,43 @@
|
|
|
1498
2620
|
(<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
2621
|
<span class="ruby-keyword">end</span></pre>
|
|
1500
2622
|
</div>
|
|
2623
|
+
|
|
2624
|
+
|
|
2625
|
+
|
|
2626
|
+
<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>
|
|
2627
|
+
|
|
2628
|
+
|
|
1501
2629
|
</div>
|
|
1502
2630
|
|
|
1503
2631
|
|
|
2632
|
+
|
|
2633
|
+
|
|
2634
|
+
|
|
1504
2635
|
</div>
|
|
1505
2636
|
|
|
1506
|
-
|
|
2637
|
+
|
|
2638
|
+
<div id="method-i-get_column_width_raw" class="method-detail anchor-link ">
|
|
1507
2639
|
<div class="method-header">
|
|
1508
|
-
|
|
1509
|
-
<
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
2640
|
+
|
|
2641
|
+
<div class="method-heading">
|
|
2642
|
+
<a href="#method-i-get_column_width_raw" title="Link to this method">
|
|
2643
|
+
<span class="method-name">get_column_width_raw</span>
|
|
2644
|
+
<span class="method-args">(column_index = 0)</span>
|
|
2645
|
+
</a>
|
|
2646
|
+
</div>
|
|
2647
|
+
|
|
1513
2648
|
</div>
|
|
1514
2649
|
|
|
2650
|
+
|
|
2651
|
+
<div class="method-controls">
|
|
2652
|
+
<details class="method-source-toggle">
|
|
2653
|
+
<summary>Source</summary>
|
|
2654
|
+
</details>
|
|
2655
|
+
</div>
|
|
2656
|
+
|
|
2657
|
+
|
|
2658
|
+
|
|
1515
2659
|
<div class="method-description">
|
|
1516
|
-
<p>Get raw column width value as stored in the file</p>
|
|
1517
2660
|
|
|
1518
2661
|
<div class="method-source-code" id="get_column_width_raw-source">
|
|
1519
2662
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 357</span>
|
|
@@ -1525,22 +2668,43 @@
|
|
|
1525
2668
|
<span class="ruby-identifier">range</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">range</span>.<span class="ruby-identifier">width</span>
|
|
1526
2669
|
<span class="ruby-keyword">end</span></pre>
|
|
1527
2670
|
</div>
|
|
2671
|
+
|
|
2672
|
+
|
|
2673
|
+
|
|
2674
|
+
<p>Get raw column width value as stored in the file</p>
|
|
2675
|
+
|
|
2676
|
+
|
|
1528
2677
|
</div>
|
|
1529
2678
|
|
|
1530
2679
|
|
|
2680
|
+
|
|
2681
|
+
|
|
2682
|
+
|
|
1531
2683
|
</div>
|
|
1532
2684
|
|
|
1533
|
-
|
|
2685
|
+
|
|
2686
|
+
<div id="method-i-get_row_alignment" class="method-detail anchor-link ">
|
|
1534
2687
|
<div class="method-header">
|
|
1535
|
-
|
|
1536
|
-
<
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
2688
|
+
|
|
2689
|
+
<div class="method-heading">
|
|
2690
|
+
<a href="#method-i-get_row_alignment" title="Link to this method">
|
|
2691
|
+
<span class="method-name">get_row_alignment</span>
|
|
2692
|
+
<span class="method-args">(row, is_horizontal)</span>
|
|
2693
|
+
</a>
|
|
2694
|
+
</div>
|
|
2695
|
+
|
|
1540
2696
|
</div>
|
|
1541
2697
|
|
|
2698
|
+
|
|
2699
|
+
<div class="method-controls">
|
|
2700
|
+
<details class="method-source-toggle">
|
|
2701
|
+
<summary>Source</summary>
|
|
2702
|
+
</details>
|
|
2703
|
+
</div>
|
|
2704
|
+
|
|
2705
|
+
|
|
2706
|
+
|
|
1542
2707
|
<div class="method-description">
|
|
1543
|
-
|
|
1544
2708
|
|
|
1545
2709
|
<div class="method-source-code" id="get_row_alignment-source">
|
|
1546
2710
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 304</span>
|
|
@@ -1555,22 +2719,43 @@
|
|
|
1555
2719
|
<span class="ruby-keyword">end</span>
|
|
1556
2720
|
<span class="ruby-keyword">end</span></pre>
|
|
1557
2721
|
</div>
|
|
2722
|
+
|
|
2723
|
+
|
|
2724
|
+
|
|
2725
|
+
|
|
2726
|
+
|
|
2727
|
+
|
|
1558
2728
|
</div>
|
|
1559
2729
|
|
|
1560
2730
|
|
|
2731
|
+
|
|
2732
|
+
|
|
2733
|
+
|
|
1561
2734
|
</div>
|
|
1562
2735
|
|
|
1563
|
-
|
|
2736
|
+
|
|
2737
|
+
<div id="method-i-get_row_border" class="method-detail anchor-link ">
|
|
1564
2738
|
<div class="method-header">
|
|
1565
|
-
|
|
1566
|
-
<
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
2739
|
+
|
|
2740
|
+
<div class="method-heading">
|
|
2741
|
+
<a href="#method-i-get_row_border" title="Link to this method">
|
|
2742
|
+
<span class="method-name">get_row_border</span>
|
|
2743
|
+
<span class="method-args">(row, border_direction)</span>
|
|
2744
|
+
</a>
|
|
2745
|
+
</div>
|
|
2746
|
+
|
|
1570
2747
|
</div>
|
|
1571
2748
|
|
|
2749
|
+
|
|
2750
|
+
<div class="method-controls">
|
|
2751
|
+
<details class="method-source-toggle">
|
|
2752
|
+
<summary>Source</summary>
|
|
2753
|
+
</details>
|
|
2754
|
+
</div>
|
|
2755
|
+
|
|
2756
|
+
|
|
2757
|
+
|
|
1572
2758
|
<div class="method-description">
|
|
1573
|
-
|
|
1574
2759
|
|
|
1575
2760
|
<div class="method-source-code" id="get_row_border-source">
|
|
1576
2761
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 286</span>
|
|
@@ -1581,22 +2766,43 @@
|
|
|
1581
2766
|
<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
2767
|
<span class="ruby-keyword">end</span></pre>
|
|
1583
2768
|
</div>
|
|
2769
|
+
|
|
2770
|
+
|
|
2771
|
+
|
|
2772
|
+
|
|
2773
|
+
|
|
2774
|
+
|
|
1584
2775
|
</div>
|
|
1585
2776
|
|
|
1586
2777
|
|
|
2778
|
+
|
|
2779
|
+
|
|
2780
|
+
|
|
1587
2781
|
</div>
|
|
1588
2782
|
|
|
1589
|
-
|
|
2783
|
+
|
|
2784
|
+
<div id="method-i-get_row_border_color" class="method-detail anchor-link ">
|
|
1590
2785
|
<div class="method-header">
|
|
1591
|
-
|
|
1592
|
-
<
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
2786
|
+
|
|
2787
|
+
<div class="method-heading">
|
|
2788
|
+
<a href="#method-i-get_row_border_color" title="Link to this method">
|
|
2789
|
+
<span class="method-name">get_row_border_color</span>
|
|
2790
|
+
<span class="method-args">(row, border_direction)</span>
|
|
2791
|
+
</a>
|
|
2792
|
+
</div>
|
|
2793
|
+
|
|
1596
2794
|
</div>
|
|
1597
2795
|
|
|
2796
|
+
|
|
2797
|
+
<div class="method-controls">
|
|
2798
|
+
<details class="method-source-toggle">
|
|
2799
|
+
<summary>Source</summary>
|
|
2800
|
+
</details>
|
|
2801
|
+
</div>
|
|
2802
|
+
|
|
2803
|
+
|
|
2804
|
+
|
|
1598
2805
|
<div class="method-description">
|
|
1599
|
-
|
|
1600
2806
|
|
|
1601
2807
|
<div class="method-source-code" id="get_row_border_color-source">
|
|
1602
2808
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 293</span>
|
|
@@ -1607,22 +2813,43 @@
|
|
|
1607
2813
|
<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
2814
|
<span class="ruby-keyword">end</span></pre>
|
|
1609
2815
|
</div>
|
|
2816
|
+
|
|
2817
|
+
|
|
2818
|
+
|
|
2819
|
+
|
|
2820
|
+
|
|
2821
|
+
|
|
1610
2822
|
</div>
|
|
1611
2823
|
|
|
1612
2824
|
|
|
2825
|
+
|
|
2826
|
+
|
|
2827
|
+
|
|
1613
2828
|
</div>
|
|
1614
2829
|
|
|
1615
|
-
|
|
2830
|
+
|
|
2831
|
+
<div id="method-i-get_row_fill" class="method-detail anchor-link ">
|
|
1616
2832
|
<div class="method-header">
|
|
1617
|
-
|
|
1618
|
-
<
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
2833
|
+
|
|
2834
|
+
<div class="method-heading">
|
|
2835
|
+
<a href="#method-i-get_row_fill" title="Link to this method">
|
|
2836
|
+
<span class="method-name">get_row_fill</span>
|
|
2837
|
+
<span class="method-args">(row = 0)</span>
|
|
2838
|
+
</a>
|
|
2839
|
+
</div>
|
|
2840
|
+
|
|
1622
2841
|
</div>
|
|
1623
2842
|
|
|
2843
|
+
|
|
2844
|
+
<div class="method-controls">
|
|
2845
|
+
<details class="method-source-toggle">
|
|
2846
|
+
<summary>Source</summary>
|
|
2847
|
+
</details>
|
|
2848
|
+
</div>
|
|
2849
|
+
|
|
2850
|
+
|
|
2851
|
+
|
|
1624
2852
|
<div class="method-description">
|
|
1625
|
-
|
|
1626
2853
|
|
|
1627
2854
|
<div class="method-source-code" id="get_row_fill-source">
|
|
1628
2855
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 245</span>
|
|
@@ -1630,22 +2857,43 @@
|
|
|
1630
2857
|
(<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
2858
|
<span class="ruby-keyword">end</span></pre>
|
|
1632
2859
|
</div>
|
|
2860
|
+
|
|
2861
|
+
|
|
2862
|
+
|
|
2863
|
+
|
|
2864
|
+
|
|
2865
|
+
|
|
1633
2866
|
</div>
|
|
1634
2867
|
|
|
1635
2868
|
|
|
2869
|
+
|
|
2870
|
+
|
|
2871
|
+
|
|
1636
2872
|
</div>
|
|
1637
2873
|
|
|
1638
|
-
|
|
2874
|
+
|
|
2875
|
+
<div id="method-i-get_row_font_color" class="method-detail anchor-link ">
|
|
1639
2876
|
<div class="method-header">
|
|
1640
|
-
|
|
1641
|
-
<
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
2877
|
+
|
|
2878
|
+
<div class="method-heading">
|
|
2879
|
+
<a href="#method-i-get_row_font_color" title="Link to this method">
|
|
2880
|
+
<span class="method-name">get_row_font_color</span>
|
|
2881
|
+
<span class="method-args">(row = 0)</span>
|
|
2882
|
+
</a>
|
|
2883
|
+
</div>
|
|
2884
|
+
|
|
1645
2885
|
</div>
|
|
1646
2886
|
|
|
2887
|
+
|
|
2888
|
+
<div class="method-controls">
|
|
2889
|
+
<details class="method-source-toggle">
|
|
2890
|
+
<summary>Source</summary>
|
|
2891
|
+
</details>
|
|
2892
|
+
</div>
|
|
2893
|
+
|
|
2894
|
+
|
|
2895
|
+
|
|
1647
2896
|
<div class="method-description">
|
|
1648
|
-
|
|
1649
2897
|
|
|
1650
2898
|
<div class="method-source-code" id="get_row_font_color-source">
|
|
1651
2899
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 257</span>
|
|
@@ -1655,22 +2903,43 @@
|
|
|
1655
2903
|
<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
2904
|
<span class="ruby-keyword">end</span></pre>
|
|
1657
2905
|
</div>
|
|
2906
|
+
|
|
2907
|
+
|
|
2908
|
+
|
|
2909
|
+
|
|
2910
|
+
|
|
2911
|
+
|
|
1658
2912
|
</div>
|
|
1659
2913
|
|
|
1660
2914
|
|
|
2915
|
+
|
|
2916
|
+
|
|
2917
|
+
|
|
1661
2918
|
</div>
|
|
1662
2919
|
|
|
1663
|
-
|
|
2920
|
+
|
|
2921
|
+
<div id="method-i-get_row_font_name" class="method-detail anchor-link ">
|
|
1664
2922
|
<div class="method-header">
|
|
1665
|
-
|
|
1666
|
-
<
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
2923
|
+
|
|
2924
|
+
<div class="method-heading">
|
|
2925
|
+
<a href="#method-i-get_row_font_name" title="Link to this method">
|
|
2926
|
+
<span class="method-name">get_row_font_name</span>
|
|
2927
|
+
<span class="method-args">(row = 0)</span>
|
|
2928
|
+
</a>
|
|
2929
|
+
</div>
|
|
2930
|
+
|
|
1670
2931
|
</div>
|
|
1671
2932
|
|
|
2933
|
+
|
|
2934
|
+
<div class="method-controls">
|
|
2935
|
+
<details class="method-source-toggle">
|
|
2936
|
+
<summary>Source</summary>
|
|
2937
|
+
</details>
|
|
2938
|
+
</div>
|
|
2939
|
+
|
|
2940
|
+
|
|
2941
|
+
|
|
1672
2942
|
<div class="method-description">
|
|
1673
|
-
|
|
1674
2943
|
|
|
1675
2944
|
<div class="method-source-code" id="get_row_font_name-source">
|
|
1676
2945
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 249</span>
|
|
@@ -1678,22 +2947,43 @@
|
|
|
1678
2947
|
(<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
2948
|
<span class="ruby-keyword">end</span></pre>
|
|
1680
2949
|
</div>
|
|
2950
|
+
|
|
2951
|
+
|
|
2952
|
+
|
|
2953
|
+
|
|
2954
|
+
|
|
2955
|
+
|
|
1681
2956
|
</div>
|
|
1682
2957
|
|
|
1683
2958
|
|
|
2959
|
+
|
|
2960
|
+
|
|
2961
|
+
|
|
1684
2962
|
</div>
|
|
1685
2963
|
|
|
1686
|
-
|
|
2964
|
+
|
|
2965
|
+
<div id="method-i-get_row_font_size" class="method-detail anchor-link ">
|
|
1687
2966
|
<div class="method-header">
|
|
1688
|
-
|
|
1689
|
-
<
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
2967
|
+
|
|
2968
|
+
<div class="method-heading">
|
|
2969
|
+
<a href="#method-i-get_row_font_size" title="Link to this method">
|
|
2970
|
+
<span class="method-name">get_row_font_size</span>
|
|
2971
|
+
<span class="method-args">(row = 0)</span>
|
|
2972
|
+
</a>
|
|
2973
|
+
</div>
|
|
2974
|
+
|
|
1693
2975
|
</div>
|
|
1694
2976
|
|
|
2977
|
+
|
|
2978
|
+
<div class="method-controls">
|
|
2979
|
+
<details class="method-source-toggle">
|
|
2980
|
+
<summary>Source</summary>
|
|
2981
|
+
</details>
|
|
2982
|
+
</div>
|
|
2983
|
+
|
|
2984
|
+
|
|
2985
|
+
|
|
1695
2986
|
<div class="method-description">
|
|
1696
|
-
|
|
1697
2987
|
|
|
1698
2988
|
<div class="method-source-code" id="get_row_font_size-source">
|
|
1699
2989
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 253</span>
|
|
@@ -1701,22 +2991,43 @@
|
|
|
1701
2991
|
(<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
2992
|
<span class="ruby-keyword">end</span></pre>
|
|
1703
2993
|
</div>
|
|
2994
|
+
|
|
2995
|
+
|
|
2996
|
+
|
|
2997
|
+
|
|
2998
|
+
|
|
2999
|
+
|
|
1704
3000
|
</div>
|
|
1705
3001
|
|
|
1706
3002
|
|
|
3003
|
+
|
|
3004
|
+
|
|
3005
|
+
|
|
1707
3006
|
</div>
|
|
1708
3007
|
|
|
1709
|
-
|
|
3008
|
+
|
|
3009
|
+
<div id="method-i-get_row_height" class="method-detail anchor-link ">
|
|
1710
3010
|
<div class="method-header">
|
|
1711
|
-
|
|
1712
|
-
<
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
3011
|
+
|
|
3012
|
+
<div class="method-heading">
|
|
3013
|
+
<a href="#method-i-get_row_height" title="Link to this method">
|
|
3014
|
+
<span class="method-name">get_row_height</span>
|
|
3015
|
+
<span class="method-args">(row = 0)</span>
|
|
3016
|
+
</a>
|
|
3017
|
+
</div>
|
|
3018
|
+
|
|
1716
3019
|
</div>
|
|
1717
3020
|
|
|
3021
|
+
|
|
3022
|
+
<div class="method-controls">
|
|
3023
|
+
<details class="method-source-toggle">
|
|
3024
|
+
<summary>Source</summary>
|
|
3025
|
+
</details>
|
|
3026
|
+
</div>
|
|
3027
|
+
|
|
3028
|
+
|
|
3029
|
+
|
|
1718
3030
|
<div class="method-description">
|
|
1719
|
-
|
|
1720
3031
|
|
|
1721
3032
|
<div class="method-source-code" id="get_row_height-source">
|
|
1722
3033
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 279</span>
|
|
@@ -1727,22 +3038,43 @@
|
|
|
1727
3038
|
(<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
3039
|
<span class="ruby-keyword">end</span></pre>
|
|
1729
3040
|
</div>
|
|
3041
|
+
|
|
3042
|
+
|
|
3043
|
+
|
|
3044
|
+
|
|
3045
|
+
|
|
3046
|
+
|
|
1730
3047
|
</div>
|
|
1731
3048
|
|
|
1732
3049
|
|
|
3050
|
+
|
|
3051
|
+
|
|
3052
|
+
|
|
1733
3053
|
</div>
|
|
1734
3054
|
|
|
1735
|
-
|
|
3055
|
+
|
|
3056
|
+
<div id="method-i-get_row_style" class="method-detail anchor-link ">
|
|
1736
3057
|
<div class="method-header">
|
|
1737
|
-
|
|
1738
|
-
<
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
3058
|
+
|
|
3059
|
+
<div class="method-heading">
|
|
3060
|
+
<a href="#method-i-get_row_style" title="Link to this method">
|
|
3061
|
+
<span class="method-name">get_row_style</span>
|
|
3062
|
+
<span class="method-args">(row_index)</span>
|
|
3063
|
+
</a>
|
|
3064
|
+
</div>
|
|
3065
|
+
|
|
1742
3066
|
</div>
|
|
1743
3067
|
|
|
3068
|
+
|
|
3069
|
+
<div class="method-controls">
|
|
3070
|
+
<details class="method-source-toggle">
|
|
3071
|
+
<summary>Source</summary>
|
|
3072
|
+
</details>
|
|
3073
|
+
</div>
|
|
3074
|
+
|
|
3075
|
+
|
|
3076
|
+
|
|
1744
3077
|
<div class="method-description">
|
|
1745
|
-
|
|
1746
3078
|
|
|
1747
3079
|
<div class="method-source-code" id="get_row_style-source">
|
|
1748
3080
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 240</span>
|
|
@@ -1751,22 +3083,43 @@
|
|
|
1751
3083
|
(<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
3084
|
<span class="ruby-keyword">end</span></pre>
|
|
1753
3085
|
</div>
|
|
3086
|
+
|
|
3087
|
+
|
|
3088
|
+
|
|
3089
|
+
|
|
3090
|
+
|
|
3091
|
+
|
|
1754
3092
|
</div>
|
|
1755
3093
|
|
|
1756
3094
|
|
|
3095
|
+
|
|
3096
|
+
|
|
3097
|
+
|
|
1757
3098
|
</div>
|
|
1758
3099
|
|
|
1759
|
-
|
|
3100
|
+
|
|
3101
|
+
<div id="method-i-insert_cell" class="method-detail anchor-link ">
|
|
1760
3102
|
<div class="method-header">
|
|
1761
|
-
|
|
1762
|
-
<
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
3103
|
+
|
|
3104
|
+
<div class="method-heading">
|
|
3105
|
+
<a href="#method-i-insert_cell" title="Link to this method">
|
|
3106
|
+
<span class="method-name">insert_cell</span>
|
|
3107
|
+
<span class="method-args">(row = 0, col = 0, data = nil, formula = nil, shift = nil)</span>
|
|
3108
|
+
</a>
|
|
3109
|
+
</div>
|
|
3110
|
+
|
|
1766
3111
|
</div>
|
|
1767
3112
|
|
|
3113
|
+
|
|
3114
|
+
<div class="method-controls">
|
|
3115
|
+
<details class="method-source-toggle">
|
|
3116
|
+
<summary>Source</summary>
|
|
3117
|
+
</details>
|
|
3118
|
+
</div>
|
|
3119
|
+
|
|
3120
|
+
|
|
3121
|
+
|
|
1768
3122
|
<div class="method-description">
|
|
1769
|
-
|
|
1770
3123
|
|
|
1771
3124
|
<div class="method-source-code" id="insert_cell-source">
|
|
1772
3125
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 11</span>
|
|
@@ -1796,22 +3149,43 @@
|
|
|
1796
3149
|
<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
3150
|
<span class="ruby-keyword">end</span></pre>
|
|
1798
3151
|
</div>
|
|
3152
|
+
|
|
3153
|
+
|
|
3154
|
+
|
|
3155
|
+
|
|
3156
|
+
|
|
3157
|
+
|
|
1799
3158
|
</div>
|
|
1800
3159
|
|
|
1801
3160
|
|
|
3161
|
+
|
|
3162
|
+
|
|
3163
|
+
|
|
1802
3164
|
</div>
|
|
1803
3165
|
|
|
1804
|
-
|
|
3166
|
+
|
|
3167
|
+
<div id="method-i-insert_column" class="method-detail anchor-link ">
|
|
1805
3168
|
<div class="method-header">
|
|
1806
|
-
|
|
1807
|
-
<
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
3169
|
+
|
|
3170
|
+
<div class="method-heading">
|
|
3171
|
+
<a href="#method-i-insert_column" title="Link to this method">
|
|
3172
|
+
<span class="method-name">insert_column</span>
|
|
3173
|
+
<span class="method-args">(column_index = 0)</span>
|
|
3174
|
+
</a>
|
|
3175
|
+
</div>
|
|
3176
|
+
|
|
1811
3177
|
</div>
|
|
1812
3178
|
|
|
3179
|
+
|
|
3180
|
+
<div class="method-controls">
|
|
3181
|
+
<details class="method-source-toggle">
|
|
3182
|
+
<summary>Source</summary>
|
|
3183
|
+
</details>
|
|
3184
|
+
</div>
|
|
3185
|
+
|
|
3186
|
+
|
|
3187
|
+
|
|
1813
3188
|
<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
3189
|
|
|
1816
3190
|
<div class="method-source-code" id="insert_column-source">
|
|
1817
3191
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 160</span>
|
|
@@ -1859,22 +3233,43 @@
|
|
|
1859
3233
|
<span class="ruby-comment"># TODO: update column numbers</span>
|
|
1860
3234
|
<span class="ruby-keyword">end</span></pre>
|
|
1861
3235
|
</div>
|
|
3236
|
+
|
|
3237
|
+
|
|
3238
|
+
|
|
3239
|
+
<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>
|
|
3240
|
+
|
|
3241
|
+
|
|
1862
3242
|
</div>
|
|
1863
3243
|
|
|
1864
3244
|
|
|
3245
|
+
|
|
3246
|
+
|
|
3247
|
+
|
|
1865
3248
|
</div>
|
|
1866
3249
|
|
|
1867
|
-
|
|
3250
|
+
|
|
3251
|
+
<div id="method-i-insert_row" class="method-detail anchor-link ">
|
|
1868
3252
|
<div class="method-header">
|
|
1869
|
-
|
|
1870
|
-
<
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
3253
|
+
|
|
3254
|
+
<div class="method-heading">
|
|
3255
|
+
<a href="#method-i-insert_row" title="Link to this method">
|
|
3256
|
+
<span class="method-name">insert_row</span>
|
|
3257
|
+
<span class="method-args">(row_index = 0)</span>
|
|
3258
|
+
</a>
|
|
3259
|
+
</div>
|
|
3260
|
+
|
|
1874
3261
|
</div>
|
|
1875
3262
|
|
|
3263
|
+
|
|
3264
|
+
<div class="method-controls">
|
|
3265
|
+
<details class="method-source-toggle">
|
|
3266
|
+
<summary>Source</summary>
|
|
3267
|
+
</details>
|
|
3268
|
+
</div>
|
|
3269
|
+
|
|
3270
|
+
|
|
3271
|
+
|
|
1876
3272
|
<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
3273
|
|
|
1879
3274
|
<div class="method-source-code" id="insert_row-source">
|
|
1880
3275
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 73</span>
|
|
@@ -1931,22 +3326,43 @@
|
|
|
1931
3326
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">new_row</span>
|
|
1932
3327
|
<span class="ruby-keyword">end</span></pre>
|
|
1933
3328
|
</div>
|
|
3329
|
+
|
|
3330
|
+
|
|
3331
|
+
|
|
3332
|
+
<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>
|
|
3333
|
+
|
|
3334
|
+
|
|
1934
3335
|
</div>
|
|
1935
3336
|
|
|
1936
3337
|
|
|
3338
|
+
|
|
3339
|
+
|
|
3340
|
+
|
|
1937
3341
|
</div>
|
|
1938
3342
|
|
|
1939
|
-
|
|
3343
|
+
|
|
3344
|
+
<div id="method-i-is_column_bolded" class="method-detail anchor-link ">
|
|
1940
3345
|
<div class="method-header">
|
|
1941
|
-
|
|
1942
|
-
<
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
3346
|
+
|
|
3347
|
+
<div class="method-heading">
|
|
3348
|
+
<a href="#method-i-is_column_bolded" title="Link to this method">
|
|
3349
|
+
<span class="method-name">is_column_bolded</span>
|
|
3350
|
+
<span class="method-args">(col = 0)</span>
|
|
3351
|
+
</a>
|
|
3352
|
+
</div>
|
|
3353
|
+
|
|
1946
3354
|
</div>
|
|
1947
3355
|
|
|
3356
|
+
|
|
3357
|
+
<div class="method-controls">
|
|
3358
|
+
<details class="method-source-toggle">
|
|
3359
|
+
<summary>Source</summary>
|
|
3360
|
+
</details>
|
|
3361
|
+
</div>
|
|
3362
|
+
|
|
3363
|
+
|
|
3364
|
+
|
|
1948
3365
|
<div class="method-description">
|
|
1949
|
-
|
|
1950
3366
|
|
|
1951
3367
|
<div class="method-source-code" id="is_column_bolded-source">
|
|
1952
3368
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 341</span>
|
|
@@ -1955,22 +3371,43 @@
|
|
|
1955
3371
|
<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
3372
|
<span class="ruby-keyword">end</span></pre>
|
|
1957
3373
|
</div>
|
|
3374
|
+
|
|
3375
|
+
|
|
3376
|
+
|
|
3377
|
+
|
|
3378
|
+
|
|
3379
|
+
|
|
1958
3380
|
</div>
|
|
1959
3381
|
|
|
1960
3382
|
|
|
3383
|
+
|
|
3384
|
+
|
|
3385
|
+
|
|
1961
3386
|
</div>
|
|
1962
3387
|
|
|
1963
|
-
|
|
3388
|
+
|
|
3389
|
+
<div id="method-i-is_column_italicized" class="method-detail anchor-link ">
|
|
1964
3390
|
<div class="method-header">
|
|
1965
|
-
|
|
1966
|
-
<
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
3391
|
+
|
|
3392
|
+
<div class="method-heading">
|
|
3393
|
+
<a href="#method-i-is_column_italicized" title="Link to this method">
|
|
3394
|
+
<span class="method-name">is_column_italicized</span>
|
|
3395
|
+
<span class="method-args">(col = 0)</span>
|
|
3396
|
+
</a>
|
|
3397
|
+
</div>
|
|
3398
|
+
|
|
1970
3399
|
</div>
|
|
1971
3400
|
|
|
3401
|
+
|
|
3402
|
+
<div class="method-controls">
|
|
3403
|
+
<details class="method-source-toggle">
|
|
3404
|
+
<summary>Source</summary>
|
|
3405
|
+
</details>
|
|
3406
|
+
</div>
|
|
3407
|
+
|
|
3408
|
+
|
|
3409
|
+
|
|
1972
3410
|
<div class="method-description">
|
|
1973
|
-
|
|
1974
3411
|
|
|
1975
3412
|
<div class="method-source-code" id="is_column_italicized-source">
|
|
1976
3413
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 336</span>
|
|
@@ -1979,22 +3416,43 @@
|
|
|
1979
3416
|
<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
3417
|
<span class="ruby-keyword">end</span></pre>
|
|
1981
3418
|
</div>
|
|
3419
|
+
|
|
3420
|
+
|
|
3421
|
+
|
|
3422
|
+
|
|
3423
|
+
|
|
3424
|
+
|
|
1982
3425
|
</div>
|
|
1983
3426
|
|
|
1984
3427
|
|
|
3428
|
+
|
|
3429
|
+
|
|
3430
|
+
|
|
1985
3431
|
</div>
|
|
1986
3432
|
|
|
1987
|
-
|
|
3433
|
+
|
|
3434
|
+
<div id="method-i-is_column_struckthrough" class="method-detail anchor-link ">
|
|
1988
3435
|
<div class="method-header">
|
|
1989
|
-
|
|
1990
|
-
<
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
3436
|
+
|
|
3437
|
+
<div class="method-heading">
|
|
3438
|
+
<a href="#method-i-is_column_struckthrough" title="Link to this method">
|
|
3439
|
+
<span class="method-name">is_column_struckthrough</span>
|
|
3440
|
+
<span class="method-args">(col = 0)</span>
|
|
3441
|
+
</a>
|
|
3442
|
+
</div>
|
|
3443
|
+
|
|
1994
3444
|
</div>
|
|
1995
3445
|
|
|
3446
|
+
|
|
3447
|
+
<div class="method-controls">
|
|
3448
|
+
<details class="method-source-toggle">
|
|
3449
|
+
<summary>Source</summary>
|
|
3450
|
+
</details>
|
|
3451
|
+
</div>
|
|
3452
|
+
|
|
3453
|
+
|
|
3454
|
+
|
|
1996
3455
|
<div class="method-description">
|
|
1997
|
-
|
|
1998
3456
|
|
|
1999
3457
|
<div class="method-source-code" id="is_column_struckthrough-source">
|
|
2000
3458
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 351</span>
|
|
@@ -2003,22 +3461,43 @@
|
|
|
2003
3461
|
<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
3462
|
<span class="ruby-keyword">end</span></pre>
|
|
2005
3463
|
</div>
|
|
3464
|
+
|
|
3465
|
+
|
|
3466
|
+
|
|
3467
|
+
|
|
3468
|
+
|
|
3469
|
+
|
|
2006
3470
|
</div>
|
|
2007
3471
|
|
|
2008
3472
|
|
|
3473
|
+
|
|
3474
|
+
|
|
3475
|
+
|
|
2009
3476
|
</div>
|
|
2010
3477
|
|
|
2011
|
-
|
|
3478
|
+
|
|
3479
|
+
<div id="method-i-is_column_underlined" class="method-detail anchor-link ">
|
|
2012
3480
|
<div class="method-header">
|
|
2013
|
-
|
|
2014
|
-
<
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
3481
|
+
|
|
3482
|
+
<div class="method-heading">
|
|
3483
|
+
<a href="#method-i-is_column_underlined" title="Link to this method">
|
|
3484
|
+
<span class="method-name">is_column_underlined</span>
|
|
3485
|
+
<span class="method-args">(col = 0)</span>
|
|
3486
|
+
</a>
|
|
3487
|
+
</div>
|
|
3488
|
+
|
|
2018
3489
|
</div>
|
|
2019
3490
|
|
|
3491
|
+
|
|
3492
|
+
<div class="method-controls">
|
|
3493
|
+
<details class="method-source-toggle">
|
|
3494
|
+
<summary>Source</summary>
|
|
3495
|
+
</details>
|
|
3496
|
+
</div>
|
|
3497
|
+
|
|
3498
|
+
|
|
3499
|
+
|
|
2020
3500
|
<div class="method-description">
|
|
2021
|
-
|
|
2022
3501
|
|
|
2023
3502
|
<div class="method-source-code" id="is_column_underlined-source">
|
|
2024
3503
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 346</span>
|
|
@@ -2027,22 +3506,43 @@
|
|
|
2027
3506
|
<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
3507
|
<span class="ruby-keyword">end</span></pre>
|
|
2029
3508
|
</div>
|
|
3509
|
+
|
|
3510
|
+
|
|
3511
|
+
|
|
3512
|
+
|
|
3513
|
+
|
|
3514
|
+
|
|
2030
3515
|
</div>
|
|
2031
3516
|
|
|
2032
3517
|
|
|
3518
|
+
|
|
3519
|
+
|
|
3520
|
+
|
|
2033
3521
|
</div>
|
|
2034
3522
|
|
|
2035
|
-
|
|
3523
|
+
|
|
3524
|
+
<div id="method-i-is_row_bolded" class="method-detail anchor-link ">
|
|
2036
3525
|
<div class="method-header">
|
|
2037
|
-
|
|
2038
|
-
<
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
3526
|
+
|
|
3527
|
+
<div class="method-heading">
|
|
3528
|
+
<a href="#method-i-is_row_bolded" title="Link to this method">
|
|
3529
|
+
<span class="method-name">is_row_bolded</span>
|
|
3530
|
+
<span class="method-args">(row = 0)</span>
|
|
3531
|
+
</a>
|
|
3532
|
+
</div>
|
|
3533
|
+
|
|
2042
3534
|
</div>
|
|
2043
3535
|
|
|
3536
|
+
|
|
3537
|
+
<div class="method-controls">
|
|
3538
|
+
<details class="method-source-toggle">
|
|
3539
|
+
<summary>Source</summary>
|
|
3540
|
+
</details>
|
|
3541
|
+
</div>
|
|
3542
|
+
|
|
3543
|
+
|
|
3544
|
+
|
|
2044
3545
|
<div class="method-description">
|
|
2045
|
-
|
|
2046
3546
|
|
|
2047
3547
|
<div class="method-source-code" id="is_row_bolded-source">
|
|
2048
3548
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 267</span>
|
|
@@ -2050,22 +3550,43 @@
|
|
|
2050
3550
|
(<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
3551
|
<span class="ruby-keyword">end</span></pre>
|
|
2052
3552
|
</div>
|
|
3553
|
+
|
|
3554
|
+
|
|
3555
|
+
|
|
3556
|
+
|
|
3557
|
+
|
|
3558
|
+
|
|
2053
3559
|
</div>
|
|
2054
3560
|
|
|
2055
3561
|
|
|
3562
|
+
|
|
3563
|
+
|
|
3564
|
+
|
|
2056
3565
|
</div>
|
|
2057
3566
|
|
|
2058
|
-
|
|
3567
|
+
|
|
3568
|
+
<div id="method-i-is_row_italicized" class="method-detail anchor-link ">
|
|
2059
3569
|
<div class="method-header">
|
|
2060
|
-
|
|
2061
|
-
<
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
3570
|
+
|
|
3571
|
+
<div class="method-heading">
|
|
3572
|
+
<a href="#method-i-is_row_italicized" title="Link to this method">
|
|
3573
|
+
<span class="method-name">is_row_italicized</span>
|
|
3574
|
+
<span class="method-args">(row = 0)</span>
|
|
3575
|
+
</a>
|
|
3576
|
+
</div>
|
|
3577
|
+
|
|
2065
3578
|
</div>
|
|
2066
3579
|
|
|
3580
|
+
|
|
3581
|
+
<div class="method-controls">
|
|
3582
|
+
<details class="method-source-toggle">
|
|
3583
|
+
<summary>Source</summary>
|
|
3584
|
+
</details>
|
|
3585
|
+
</div>
|
|
3586
|
+
|
|
3587
|
+
|
|
3588
|
+
|
|
2067
3589
|
<div class="method-description">
|
|
2068
|
-
|
|
2069
3590
|
|
|
2070
3591
|
<div class="method-source-code" id="is_row_italicized-source">
|
|
2071
3592
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 263</span>
|
|
@@ -2073,22 +3594,43 @@
|
|
|
2073
3594
|
(<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
3595
|
<span class="ruby-keyword">end</span></pre>
|
|
2075
3596
|
</div>
|
|
3597
|
+
|
|
3598
|
+
|
|
3599
|
+
|
|
3600
|
+
|
|
3601
|
+
|
|
3602
|
+
|
|
2076
3603
|
</div>
|
|
2077
3604
|
|
|
2078
3605
|
|
|
3606
|
+
|
|
3607
|
+
|
|
3608
|
+
|
|
2079
3609
|
</div>
|
|
2080
3610
|
|
|
2081
|
-
|
|
3611
|
+
|
|
3612
|
+
<div id="method-i-is_row_struckthrough" class="method-detail anchor-link ">
|
|
2082
3613
|
<div class="method-header">
|
|
2083
|
-
|
|
2084
|
-
<
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
3614
|
+
|
|
3615
|
+
<div class="method-heading">
|
|
3616
|
+
<a href="#method-i-is_row_struckthrough" title="Link to this method">
|
|
3617
|
+
<span class="method-name">is_row_struckthrough</span>
|
|
3618
|
+
<span class="method-args">(row = 0)</span>
|
|
3619
|
+
</a>
|
|
3620
|
+
</div>
|
|
3621
|
+
|
|
2088
3622
|
</div>
|
|
2089
3623
|
|
|
3624
|
+
|
|
3625
|
+
<div class="method-controls">
|
|
3626
|
+
<details class="method-source-toggle">
|
|
3627
|
+
<summary>Source</summary>
|
|
3628
|
+
</details>
|
|
3629
|
+
</div>
|
|
3630
|
+
|
|
3631
|
+
|
|
3632
|
+
|
|
2090
3633
|
<div class="method-description">
|
|
2091
|
-
|
|
2092
3634
|
|
|
2093
3635
|
<div class="method-source-code" id="is_row_struckthrough-source">
|
|
2094
3636
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 275</span>
|
|
@@ -2096,22 +3638,43 @@
|
|
|
2096
3638
|
(<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
3639
|
<span class="ruby-keyword">end</span></pre>
|
|
2098
3640
|
</div>
|
|
3641
|
+
|
|
3642
|
+
|
|
3643
|
+
|
|
3644
|
+
|
|
3645
|
+
|
|
3646
|
+
|
|
2099
3647
|
</div>
|
|
2100
3648
|
|
|
2101
3649
|
|
|
3650
|
+
|
|
3651
|
+
|
|
3652
|
+
|
|
2102
3653
|
</div>
|
|
2103
3654
|
|
|
2104
|
-
|
|
3655
|
+
|
|
3656
|
+
<div id="method-i-is_row_underlined" class="method-detail anchor-link ">
|
|
2105
3657
|
<div class="method-header">
|
|
2106
|
-
|
|
2107
|
-
<
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
3658
|
+
|
|
3659
|
+
<div class="method-heading">
|
|
3660
|
+
<a href="#method-i-is_row_underlined" title="Link to this method">
|
|
3661
|
+
<span class="method-name">is_row_underlined</span>
|
|
3662
|
+
<span class="method-args">(row = 0)</span>
|
|
3663
|
+
</a>
|
|
3664
|
+
</div>
|
|
3665
|
+
|
|
2111
3666
|
</div>
|
|
2112
3667
|
|
|
3668
|
+
|
|
3669
|
+
<div class="method-controls">
|
|
3670
|
+
<details class="method-source-toggle">
|
|
3671
|
+
<summary>Source</summary>
|
|
3672
|
+
</details>
|
|
3673
|
+
</div>
|
|
3674
|
+
|
|
3675
|
+
|
|
3676
|
+
|
|
2113
3677
|
<div class="method-description">
|
|
2114
|
-
|
|
2115
3678
|
|
|
2116
3679
|
<div class="method-source-code" id="is_row_underlined-source">
|
|
2117
3680
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 271</span>
|
|
@@ -2119,22 +3682,43 @@
|
|
|
2119
3682
|
(<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
3683
|
<span class="ruby-keyword">end</span></pre>
|
|
2121
3684
|
</div>
|
|
3685
|
+
|
|
3686
|
+
|
|
3687
|
+
|
|
3688
|
+
|
|
3689
|
+
|
|
3690
|
+
|
|
2122
3691
|
</div>
|
|
2123
3692
|
|
|
2124
3693
|
|
|
3694
|
+
|
|
3695
|
+
|
|
3696
|
+
|
|
2125
3697
|
</div>
|
|
2126
3698
|
|
|
2127
|
-
|
|
3699
|
+
|
|
3700
|
+
<div id="method-i-merge_cells" class="method-detail anchor-link ">
|
|
2128
3701
|
<div class="method-header">
|
|
2129
|
-
|
|
2130
|
-
<
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
3702
|
+
|
|
3703
|
+
<div class="method-heading">
|
|
3704
|
+
<a href="#method-i-merge_cells" title="Link to this method">
|
|
3705
|
+
<span class="method-name">merge_cells</span>
|
|
3706
|
+
<span class="method-args">(*params)</span>
|
|
3707
|
+
</a>
|
|
3708
|
+
</div>
|
|
3709
|
+
|
|
2134
3710
|
</div>
|
|
2135
3711
|
|
|
3712
|
+
|
|
3713
|
+
<div class="method-controls">
|
|
3714
|
+
<details class="method-source-toggle">
|
|
3715
|
+
<summary>Source</summary>
|
|
3716
|
+
</details>
|
|
3717
|
+
</div>
|
|
3718
|
+
|
|
3719
|
+
|
|
3720
|
+
|
|
2136
3721
|
<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
3722
|
|
|
2139
3723
|
<div class="method-source-code" id="merge_cells-source">
|
|
2140
3724
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 695</span>
|
|
@@ -2163,22 +3747,43 @@
|
|
|
2163
3747
|
<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
3748
|
<span class="ruby-keyword">end</span></pre>
|
|
2165
3749
|
</div>
|
|
3750
|
+
|
|
3751
|
+
|
|
3752
|
+
|
|
3753
|
+
<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>
|
|
3754
|
+
|
|
3755
|
+
|
|
2166
3756
|
</div>
|
|
2167
3757
|
|
|
2168
3758
|
|
|
3759
|
+
|
|
3760
|
+
|
|
3761
|
+
|
|
2169
3762
|
</div>
|
|
2170
3763
|
|
|
2171
|
-
|
|
3764
|
+
|
|
3765
|
+
<div id="method-i-row_font" class="method-detail anchor-link ">
|
|
2172
3766
|
<div class="method-header">
|
|
2173
|
-
|
|
2174
|
-
<
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
3767
|
+
|
|
3768
|
+
<div class="method-heading">
|
|
3769
|
+
<a href="#method-i-row_font" title="Link to this method">
|
|
3770
|
+
<span class="method-name">row_font</span>
|
|
3771
|
+
<span class="method-args">(row)</span>
|
|
3772
|
+
</a>
|
|
3773
|
+
</div>
|
|
3774
|
+
|
|
2178
3775
|
</div>
|
|
2179
3776
|
|
|
3777
|
+
|
|
3778
|
+
<div class="method-controls">
|
|
3779
|
+
<details class="method-source-toggle">
|
|
3780
|
+
<summary>Source</summary>
|
|
3781
|
+
</details>
|
|
3782
|
+
</div>
|
|
3783
|
+
|
|
3784
|
+
|
|
3785
|
+
|
|
2180
3786
|
<div class="method-description">
|
|
2181
|
-
|
|
2182
3787
|
|
|
2183
3788
|
<div class="method-source-code" id="row_font-source">
|
|
2184
3789
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 300</span>
|
|
@@ -2186,20 +3791,25 @@
|
|
|
2186
3791
|
(<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
3792
|
<span class="ruby-keyword">end</span></pre>
|
|
2188
3793
|
</div>
|
|
3794
|
+
|
|
3795
|
+
|
|
3796
|
+
|
|
3797
|
+
|
|
3798
|
+
|
|
3799
|
+
|
|
2189
3800
|
</div>
|
|
2190
3801
|
|
|
2191
3802
|
|
|
3803
|
+
|
|
3804
|
+
|
|
3805
|
+
|
|
2192
3806
|
</div>
|
|
2193
3807
|
|
|
3808
|
+
|
|
2194
3809
|
</section>
|
|
2195
3810
|
|
|
2196
3811
|
</section>
|
|
2197
|
-
</main>
|
|
2198
|
-
|
|
2199
3812
|
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.6.3.1.
|
|
2203
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
2204
|
-
</footer>
|
|
3813
|
+
</main>
|
|
3814
|
+
</body>
|
|
2205
3815
|
|