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