rubyXL 3.4.39 → 3.4.40
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/Rakefile +107 -14
- data/VERSION +1 -1
- data/bin/console +10 -0
- data/bin/setup +3 -0
- data/lib/rubyXL/convenience_methods/cell.rb +6 -3
- data/lib/rubyXL/version.rb +3 -0
- data/lib/rubyXL.rb +1 -0
- data/rubyXL.gemspec +10 -482
- metadata +27 -430
- data/.circleci/config.yml +0 -71
- data/.codeclimate.yml +0 -3
- data/.rubocop.yml +0 -124
- data/CHANGELOG.md +0 -12
- data/Gemfile +0 -23
- data/rdoc/README_rdoc.html +0 -871
- data/rdoc/RubyXL/AExtension.html +0 -703
- data/rdoc/RubyXL/AExtensionStorageArea.html +0 -543
- data/rdoc/RubyXL/ActiveX.html +0 -654
- data/rdoc/RubyXL/ActiveXBinary.html +0 -560
- data/rdoc/RubyXL/AdjustHandleList.html +0 -539
- data/rdoc/RubyXL/Alignment.html +0 -539
- data/rdoc/RubyXL/AlternateContent.html +0 -543
- data/rdoc/RubyXL/AlternateUrls.html +0 -539
- data/rdoc/RubyXL/Authors.html +0 -539
- data/rdoc/RubyXL/AutoFilter.html +0 -539
- data/rdoc/RubyXL/AutoFilterColumn.html +0 -539
- data/rdoc/RubyXL/BinaryImageFile.html +0 -568
- data/rdoc/RubyXL/BodyProperties.html +0 -539
- data/rdoc/RubyXL/BooleanNode.html +0 -543
- data/rdoc/RubyXL/BooleanValue.html +0 -543
- data/rdoc/RubyXL/Border.html +0 -759
- data/rdoc/RubyXL/BorderEdge.html +0 -656
- data/rdoc/RubyXL/Borders.html +0 -608
- data/rdoc/RubyXL/Break.html +0 -539
- data/rdoc/RubyXL/BreakList.html +0 -539
- data/rdoc/RubyXL/CT_AdjPoint2D.html +0 -539
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +0 -539
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +0 -539
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +0 -539
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +0 -539
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +0 -539
- data/rdoc/RubyXL/CT_Backdrop.html +0 -539
- data/rdoc/RubyXL/CT_Bevel.html +0 -539
- data/rdoc/RubyXL/CT_BiLevelEffect.html +0 -539
- data/rdoc/RubyXL/CT_BlendEffect.html +0 -539
- data/rdoc/RubyXL/CT_Blip.html +0 -539
- data/rdoc/RubyXL/CT_BlipFillProperties.html +0 -539
- data/rdoc/RubyXL/CT_BlurEffect.html +0 -539
- data/rdoc/RubyXL/CT_Camera.html +0 -539
- data/rdoc/RubyXL/CT_Color.html +0 -539
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +0 -539
- data/rdoc/RubyXL/CT_ColorMapping.html +0 -539
- data/rdoc/RubyXL/CT_ColorScheme.html +0 -539
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +0 -539
- data/rdoc/RubyXL/CT_ConnectionSite.html +0 -539
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +0 -539
- data/rdoc/RubyXL/CT_DashStop.html +0 -539
- data/rdoc/RubyXL/CT_DashStopList.html +0 -539
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +0 -539
- data/rdoc/RubyXL/CT_DuotoneEffect.html +0 -539
- data/rdoc/RubyXL/CT_EffectContainer.html +0 -539
- data/rdoc/RubyXL/CT_EffectList.html +0 -539
- data/rdoc/RubyXL/CT_EffectReference.html +0 -539
- data/rdoc/RubyXL/CT_EffectStyleItem.html +0 -539
- data/rdoc/RubyXL/CT_EffectStyleList.html +0 -539
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +0 -539
- data/rdoc/RubyXL/CT_FillEffect.html +0 -539
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +0 -539
- data/rdoc/RubyXL/CT_FillStyleList.html +0 -539
- data/rdoc/RubyXL/CT_FlatText.html +0 -539
- data/rdoc/RubyXL/CT_FontCollection.html +0 -539
- data/rdoc/RubyXL/CT_FontReference.html +0 -539
- data/rdoc/RubyXL/CT_GeomGuideList.html +0 -539
- data/rdoc/RubyXL/CT_GlowEffect.html +0 -539
- data/rdoc/RubyXL/CT_GradientFillProperties.html +0 -539
- data/rdoc/RubyXL/CT_GradientStop.html +0 -539
- data/rdoc/RubyXL/CT_GradientStopList.html +0 -539
- data/rdoc/RubyXL/CT_HSLEffect.html +0 -539
- data/rdoc/RubyXL/CT_HslColor.html +0 -539
- data/rdoc/RubyXL/CT_Hyperlink.html +0 -539
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +0 -539
- data/rdoc/RubyXL/CT_LightRig.html +0 -539
- data/rdoc/RubyXL/CT_LineEndProperties.html +0 -539
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +0 -539
- data/rdoc/RubyXL/CT_LineProperties.html +0 -539
- data/rdoc/RubyXL/CT_LineStyleList.html +0 -539
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +0 -539
- data/rdoc/RubyXL/CT_LuminanceEffect.html +0 -539
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +0 -539
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +0 -539
- data/rdoc/RubyXL/CT_Path2D.html +0 -539
- data/rdoc/RubyXL/CT_Path2DArcTo.html +0 -539
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +0 -539
- data/rdoc/RubyXL/CT_Path2DList.html +0 -539
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +0 -539
- data/rdoc/RubyXL/CT_Path2DTo.html +0 -539
- data/rdoc/RubyXL/CT_PathShadeProperties.html +0 -539
- data/rdoc/RubyXL/CT_PatternFillProperties.html +0 -539
- data/rdoc/RubyXL/CT_Point3D.html +0 -539
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +0 -539
- data/rdoc/RubyXL/CT_PresetColor.html +0 -539
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +0 -539
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +0 -539
- data/rdoc/RubyXL/CT_PresetTextShape.html +0 -539
- data/rdoc/RubyXL/CT_ReflectionEffect.html +0 -539
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +0 -539
- data/rdoc/RubyXL/CT_RelativeRect.html +0 -539
- data/rdoc/RubyXL/CT_SRgbColor.html +0 -539
- data/rdoc/RubyXL/CT_ScRgbColor.html +0 -539
- data/rdoc/RubyXL/CT_Scene3D.html +0 -539
- data/rdoc/RubyXL/CT_SchemeColor.html +0 -539
- data/rdoc/RubyXL/CT_Shape3D.html +0 -539
- data/rdoc/RubyXL/CT_ShapeStyle.html +0 -539
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +0 -539
- data/rdoc/RubyXL/CT_SphereCoords.html +0 -539
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +0 -539
- data/rdoc/RubyXL/CT_StyleMatrix.html +0 -539
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +0 -539
- data/rdoc/RubyXL/CT_SupplementalFont.html +0 -539
- data/rdoc/RubyXL/CT_SystemColor.html +0 -539
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +0 -539
- data/rdoc/RubyXL/CT_TextBlipBullet.html +0 -539
- data/rdoc/RubyXL/CT_TextCharBullet.html +0 -539
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +0 -539
- data/rdoc/RubyXL/CT_TextFont.html +0 -539
- data/rdoc/RubyXL/CT_TextListStyle.html +0 -539
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +0 -539
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +0 -539
- data/rdoc/RubyXL/CT_TextSpacing.html +0 -539
- data/rdoc/RubyXL/CT_TextTabStop.html +0 -539
- data/rdoc/RubyXL/CT_TextTabStopList.html +0 -539
- data/rdoc/RubyXL/CT_TileInfoProperties.html +0 -539
- data/rdoc/RubyXL/CT_TintEffect.html +0 -539
- data/rdoc/RubyXL/CT_Transform2D.html +0 -539
- data/rdoc/RubyXL/CT_TransformEffect.html +0 -539
- data/rdoc/RubyXL/CT_Vector3D.html +0 -539
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +0 -539
- data/rdoc/RubyXL/CalculationChain.html +0 -633
- data/rdoc/RubyXL/CalculationChainCell.html +0 -539
- data/rdoc/RubyXL/CalculationProperties.html +0 -539
- data/rdoc/RubyXL/Cell.html +0 -1315
- data/rdoc/RubyXL/CellConvenienceMethods.html +0 -2311
- data/rdoc/RubyXL/CellExt.html +0 -539
- data/rdoc/RubyXL/CellSmartTag.html +0 -539
- data/rdoc/RubyXL/CellSmartTagProperty.html +0 -539
- data/rdoc/RubyXL/CellSmartTags.html +0 -539
- data/rdoc/RubyXL/CellStyle.html +0 -539
- data/rdoc/RubyXL/CellStyleXFs.html +0 -608
- data/rdoc/RubyXL/CellStyles.html +0 -608
- data/rdoc/RubyXL/CellValue.html +0 -609
- data/rdoc/RubyXL/CellWatch.html +0 -539
- data/rdoc/RubyXL/CellWatches.html +0 -539
- data/rdoc/RubyXL/CellXFs.html +0 -609
- data/rdoc/RubyXL/ChartColorsFile.html +0 -568
- data/rdoc/RubyXL/ChartFile.html +0 -664
- data/rdoc/RubyXL/ChartStyleFile.html +0 -568
- data/rdoc/RubyXL/ChartUserShapesFile.html +0 -568
- data/rdoc/RubyXL/Chartsheet.html +0 -743
- data/rdoc/RubyXL/ChartsheetPageSetup.html +0 -539
- data/rdoc/RubyXL/ChartsheetProperties.html +0 -539
- data/rdoc/RubyXL/ChartsheetProtection.html +0 -539
- data/rdoc/RubyXL/ChartsheetView.html +0 -539
- data/rdoc/RubyXL/ChartsheetViews.html +0 -539
- data/rdoc/RubyXL/Color.html +0 -629
- data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +0 -774
- data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +0 -845
- data/rdoc/RubyXL/ColorConvenienceClasses.html +0 -528
- data/rdoc/RubyXL/ColorConvenienceMethods.html +0 -606
- data/rdoc/RubyXL/ColorFilter.html +0 -539
- data/rdoc/RubyXL/ColorScale.html +0 -539
- data/rdoc/RubyXL/ColorSet.html +0 -539
- data/rdoc/RubyXL/Colors.html +0 -539
- data/rdoc/RubyXL/ColumnRange.html +0 -786
- data/rdoc/RubyXL/ColumnRanges.html +0 -773
- data/rdoc/RubyXL/Comment.html +0 -539
- data/rdoc/RubyXL/CommentList.html +0 -539
- data/rdoc/RubyXL/CommentsFile.html +0 -657
- data/rdoc/RubyXL/ConditionalFormatValue.html +0 -539
- data/rdoc/RubyXL/ConditionalFormatting.html +0 -539
- data/rdoc/RubyXL/ConditionalFormattingRule.html +0 -539
- data/rdoc/RubyXL/Connection.html +0 -539
- data/rdoc/RubyXL/ConnectionTable.html +0 -539
- data/rdoc/RubyXL/ConnectionTables.html +0 -539
- data/rdoc/RubyXL/ConnectionTextField.html +0 -539
- data/rdoc/RubyXL/ConnectionTextFields.html +0 -539
- data/rdoc/RubyXL/Connections.html +0 -633
- data/rdoc/RubyXL/ContentTypeDefault.html +0 -543
- data/rdoc/RubyXL/ContentTypeOverride.html +0 -543
- data/rdoc/RubyXL/ContentTypes.html +0 -721
- data/rdoc/RubyXL/ControlPropertiesFile.html +0 -568
- data/rdoc/RubyXL/CorePropertiesFile.html +0 -1013
- data/rdoc/RubyXL/CustomColor.html +0 -539
- data/rdoc/RubyXL/CustomColorList.html +0 -539
- data/rdoc/RubyXL/CustomFilter.html +0 -539
- data/rdoc/RubyXL/CustomFilters.html +0 -539
- data/rdoc/RubyXL/CustomGeometry.html +0 -539
- data/rdoc/RubyXL/CustomProperties.html +0 -539
- data/rdoc/RubyXL/CustomPropertiesFile.html +0 -568
- data/rdoc/RubyXL/CustomProperty.html +0 -539
- data/rdoc/RubyXL/CustomPropertyFile.html +0 -568
- data/rdoc/RubyXL/CustomSheetView.html +0 -539
- data/rdoc/RubyXL/CustomSheetViews.html +0 -539
- data/rdoc/RubyXL/CustomWorkbookView.html +0 -539
- data/rdoc/RubyXL/CustomWorkbookViews.html +0 -539
- data/rdoc/RubyXL/CustomXMLFile.html +0 -560
- data/rdoc/RubyXL/DXF.html +0 -539
- data/rdoc/RubyXL/DXFs.html +0 -539
- data/rdoc/RubyXL/DataBar.html +0 -539
- data/rdoc/RubyXL/DataConsolidate.html +0 -539
- data/rdoc/RubyXL/DataConsolidationReference.html +0 -539
- data/rdoc/RubyXL/DataConsolidationReferences.html +0 -539
- data/rdoc/RubyXL/DataType.html +0 -589
- data/rdoc/RubyXL/DataValidation.html +0 -539
- data/rdoc/RubyXL/DataValidations.html +0 -539
- data/rdoc/RubyXL/DateGroupItem.html +0 -539
- data/rdoc/RubyXL/DefinedName.html +0 -539
- data/rdoc/RubyXL/DefinedNameExt.html +0 -539
- data/rdoc/RubyXL/DefinedNames.html +0 -616
- data/rdoc/RubyXL/DefinedNamesExt.html +0 -539
- data/rdoc/RubyXL/DocumentPropertiesFile.html +0 -725
- data/rdoc/RubyXL/DrawingFile.html +0 -663
- data/rdoc/RubyXL/DynamicFilter.html +0 -539
- data/rdoc/RubyXL/EmbeddedControl.html +0 -539
- data/rdoc/RubyXL/EmbeddedControls.html +0 -539
- data/rdoc/RubyXL/Extension.html +0 -539
- data/rdoc/RubyXL/ExtensionStorageArea.html +0 -539
- data/rdoc/RubyXL/Extents.html +0 -539
- data/rdoc/RubyXL/ExternalBook.html +0 -539
- data/rdoc/RubyXL/ExternalLinksFile.html +0 -659
- data/rdoc/RubyXL/ExternalReference.html +0 -539
- data/rdoc/RubyXL/ExternalReferences.html +0 -539
- data/rdoc/RubyXL/ExtraColorSchemeList.html +0 -539
- data/rdoc/RubyXL/FieldItem.html +0 -539
- data/rdoc/RubyXL/FileRecoveryProperties.html +0 -539
- data/rdoc/RubyXL/FileSharing.html +0 -539
- data/rdoc/RubyXL/FileVersion.html +0 -539
- data/rdoc/RubyXL/Fill.html +0 -608
- data/rdoc/RubyXL/Fills.html +0 -608
- data/rdoc/RubyXL/FilterContainer.html +0 -539
- data/rdoc/RubyXL/FloatNode.html +0 -543
- data/rdoc/RubyXL/FloatValue.html +0 -543
- data/rdoc/RubyXL/Font.html +0 -626
- data/rdoc/RubyXL/FontConvenienceMethods.html +0 -1169
- data/rdoc/RubyXL/FontScheme.html +0 -539
- data/rdoc/RubyXL/Fonts.html +0 -608
- data/rdoc/RubyXL/Formula.html +0 -539
- data/rdoc/RubyXL/FunctionGroup.html +0 -539
- data/rdoc/RubyXL/FunctionGroups.html +0 -539
- data/rdoc/RubyXL/GenericStorageObject.html +0 -803
- data/rdoc/RubyXL/GradientFill.html +0 -539
- data/rdoc/RubyXL/HeaderFooterSettings.html +0 -539
- data/rdoc/RubyXL/Hyperlink.html +0 -539
- data/rdoc/RubyXL/HyperlinkRelFile.html +0 -560
- data/rdoc/RubyXL/Hyperlinks.html +0 -539
- data/rdoc/RubyXL/IconFilter.html +0 -539
- data/rdoc/RubyXL/IconSet.html +0 -539
- data/rdoc/RubyXL/IgnoredError.html +0 -539
- data/rdoc/RubyXL/IgnoredErrors.html +0 -539
- data/rdoc/RubyXL/IndexedColors.html +0 -539
- data/rdoc/RubyXL/InputCells.html +0 -539
- data/rdoc/RubyXL/IntegerNode.html +0 -543
- data/rdoc/RubyXL/IntegerValue.html +0 -543
- data/rdoc/RubyXL/LegacyCell.html +0 -597
- data/rdoc/RubyXL/LegacyWorksheet.html +0 -760
- data/rdoc/RubyXL/MRUColors.html +0 -539
- data/rdoc/RubyXL/MacrosFile.html +0 -568
- data/rdoc/RubyXL/MergedCell.html +0 -539
- data/rdoc/RubyXL/MergedCells.html +0 -539
- data/rdoc/RubyXL/NumFmt.html +0 -539
- data/rdoc/RubyXL/NumberFormat.html +0 -609
- data/rdoc/RubyXL/NumberFormats.html +0 -625
- data/rdoc/RubyXL/OLEObject.html +0 -539
- data/rdoc/RubyXL/OLEObjectFile.html +0 -568
- data/rdoc/RubyXL/OLEObjects.html +0 -539
- data/rdoc/RubyXL/OLESize.html +0 -539
- data/rdoc/RubyXL/OOXMLContainerObject.html +0 -909
- data/rdoc/RubyXL/OOXMLIgnored.html +0 -681
- data/rdoc/RubyXL/OOXMLObject.html +0 -561
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +0 -1034
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +0 -1091
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +0 -1174
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +0 -891
- data/rdoc/RubyXL/OdbcOleDbProperties.html +0 -539
- data/rdoc/RubyXL/Offset.html +0 -539
- data/rdoc/RubyXL/OlapProperties.html +0 -539
- data/rdoc/RubyXL/OleItem.html +0 -539
- data/rdoc/RubyXL/OleItems.html +0 -539
- data/rdoc/RubyXL/OleLink.html +0 -539
- data/rdoc/RubyXL/OutlineProperties.html +0 -539
- data/rdoc/RubyXL/PageMargins.html +0 -539
- data/rdoc/RubyXL/PageSetup.html +0 -539
- data/rdoc/RubyXL/PageSetupProperties.html +0 -539
- data/rdoc/RubyXL/Pane.html +0 -539
- data/rdoc/RubyXL/Parser.html +0 -670
- data/rdoc/RubyXL/PatternFill.html +0 -539
- data/rdoc/RubyXL/PersonMetadata.html +0 -568
- data/rdoc/RubyXL/PhoneticProperties.html +0 -539
- data/rdoc/RubyXL/PhoneticRun.html +0 -539
- data/rdoc/RubyXL/PivotArea.html +0 -539
- data/rdoc/RubyXL/PivotCache.html +0 -539
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +0 -590
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +0 -568
- data/rdoc/RubyXL/PivotCaches.html +0 -539
- data/rdoc/RubyXL/PivotReference.html +0 -539
- data/rdoc/RubyXL/PivotReferences.html +0 -539
- data/rdoc/RubyXL/PivotSelection.html +0 -539
- data/rdoc/RubyXL/PivotTableFile.html +0 -590
- data/rdoc/RubyXL/PresetGeometry.html +0 -539
- data/rdoc/RubyXL/PrintOptions.html +0 -539
- data/rdoc/RubyXL/PrinterSettingsFile.html +0 -568
- data/rdoc/RubyXL/ProtectedRange.html +0 -539
- data/rdoc/RubyXL/ProtectedRanges.html +0 -539
- data/rdoc/RubyXL/Protection.html +0 -539
- data/rdoc/RubyXL/QueryParameter.html +0 -539
- data/rdoc/RubyXL/QueryParameters.html +0 -539
- data/rdoc/RubyXL/QueryTable.html +0 -655
- data/rdoc/RubyXL/QueryTableDeletedField.html +0 -539
- data/rdoc/RubyXL/QueryTableDeletedFields.html +0 -539
- data/rdoc/RubyXL/QueryTableField.html +0 -539
- data/rdoc/RubyXL/QueryTableFields.html +0 -539
- data/rdoc/RubyXL/QueryTableRefresh.html +0 -539
- data/rdoc/RubyXL/RID.html +0 -543
- data/rdoc/RubyXL/RawOOXML.html +0 -703
- data/rdoc/RubyXL/Reference.html +0 -1332
- data/rdoc/RubyXL/Relationship.html +0 -543
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +0 -604
- data/rdoc/RubyXL/RelationshipSupport.html +0 -943
- data/rdoc/RubyXL/RevisionPointer.html +0 -539
- data/rdoc/RubyXL/RichText.html +0 -611
- data/rdoc/RubyXL/RichTextRun.html +0 -608
- data/rdoc/RubyXL/Row.html +0 -1003
- data/rdoc/RubyXL/RowExt.html +0 -539
- data/rdoc/RubyXL/RunProperties.html +0 -539
- data/rdoc/RubyXL/Scenario.html +0 -539
- data/rdoc/RubyXL/Scenarios.html +0 -539
- data/rdoc/RubyXL/Selection.html +0 -616
- data/rdoc/RubyXL/ShapeGuide.html +0 -539
- data/rdoc/RubyXL/ShapeTextRectangle.html +0 -539
- data/rdoc/RubyXL/SharedStringsTable.html +0 -952
- data/rdoc/RubyXL/Sheet.html +0 -539
- data/rdoc/RubyXL/SheetCalculationProperties.html +0 -539
- data/rdoc/RubyXL/SheetData.html +0 -652
- data/rdoc/RubyXL/SheetDataExt.html +0 -539
- data/rdoc/RubyXL/SheetDataSet.html +0 -539
- data/rdoc/RubyXL/SheetMetadata.html +0 -568
- data/rdoc/RubyXL/SheetName.html +0 -539
- data/rdoc/RubyXL/SheetNames.html +0 -539
- data/rdoc/RubyXL/Sheets.html +0 -539
- data/rdoc/RubyXL/SlicerCacheFile.html +0 -568
- data/rdoc/RubyXL/SlicerFile.html +0 -568
- data/rdoc/RubyXL/SmartTagProperties.html +0 -539
- data/rdoc/RubyXL/SmartTagType.html +0 -539
- data/rdoc/RubyXL/SmartTagTypes.html +0 -539
- data/rdoc/RubyXL/SmartTags.html +0 -539
- data/rdoc/RubyXL/SortCondition.html +0 -539
- data/rdoc/RubyXL/SortState.html +0 -539
- data/rdoc/RubyXL/Sqref.html +0 -681
- data/rdoc/RubyXL/Stop.html +0 -539
- data/rdoc/RubyXL/StringNode.html +0 -543
- data/rdoc/RubyXL/StringNodeW3C.html +0 -681
- data/rdoc/RubyXL/StringValue.html +0 -543
- data/rdoc/RubyXL/Stylesheet.html +0 -864
- data/rdoc/RubyXL/TableFile.html +0 -568
- data/rdoc/RubyXL/TableParts.html +0 -543
- data/rdoc/RubyXL/TableStyle.html +0 -539
- data/rdoc/RubyXL/TableStyles.html +0 -539
- data/rdoc/RubyXL/Text.html +0 -679
- data/rdoc/RubyXL/TextImportSettings.html +0 -539
- data/rdoc/RubyXL/Theme.html +0 -1077
- data/rdoc/RubyXL/ThemeElements.html +0 -539
- data/rdoc/RubyXL/ThumbnailFile.html +0 -568
- data/rdoc/RubyXL/Top10.html +0 -539
- data/rdoc/RubyXL/VMLDrawingFile.html +0 -590
- data/rdoc/RubyXL/Variant.html +0 -539
- data/rdoc/RubyXL/Vector.html +0 -612
- data/rdoc/RubyXL/VectorValue.html +0 -543
- data/rdoc/RubyXL/VisualProperties.html +0 -539
- data/rdoc/RubyXL/WebPublishObject.html +0 -539
- data/rdoc/RubyXL/WebPublishObjects.html +0 -539
- data/rdoc/RubyXL/WebPublishingItem.html +0 -539
- data/rdoc/RubyXL/WebPublishingItems.html +0 -539
- data/rdoc/RubyXL/WebPublishingProperties.html +0 -539
- data/rdoc/RubyXL/WebQueryProperties.html +0 -539
- data/rdoc/RubyXL/Workbook.html +0 -2085
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +0 -1407
- data/rdoc/RubyXL/WorkbookProperties.html +0 -539
- data/rdoc/RubyXL/WorkbookProtection.html +0 -539
- data/rdoc/RubyXL/WorkbookRoot.html +0 -940
- data/rdoc/RubyXL/WorkbookView.html +0 -539
- data/rdoc/RubyXL/WorkbookViews.html +0 -539
- data/rdoc/RubyXL/Worksheet.html +0 -1224
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +0 -4087
- data/rdoc/RubyXL/WorksheetDimensions.html +0 -539
- data/rdoc/RubyXL/WorksheetFormatProperties.html +0 -543
- data/rdoc/RubyXL/WorksheetProperties.html +0 -539
- data/rdoc/RubyXL/WorksheetProtection.html +0 -539
- data/rdoc/RubyXL/WorksheetView.html +0 -539
- data/rdoc/RubyXL/WorksheetViews.html +0 -539
- data/rdoc/RubyXL/XF.html +0 -539
- data/rdoc/RubyXL.html +0 -1381
- data/rdoc/created.rid +0 -45
- data/rdoc/css/rdoc.css +0 -1955
- data/rdoc/index.html +0 -455
- data/rdoc/js/aliki.js +0 -511
- data/rdoc/js/bash_highlighter.js +0 -167
- data/rdoc/js/c_highlighter.js +0 -299
- data/rdoc/js/search_controller.js +0 -129
- data/rdoc/js/search_data.js +0 -1
- data/rdoc/js/search_navigation.js +0 -105
- data/rdoc/js/search_ranker.js +0 -239
- data/rdoc/js/theme-toggle.js +0 -112
- data/spec/lib/cell_spec.rb +0 -694
- data/spec/lib/color_spec.rb +0 -21
- data/spec/lib/parser_spec.rb +0 -118
- data/spec/lib/reference_spec.rb +0 -122
- data/spec/lib/rgb_color_spec.rb +0 -29
- data/spec/lib/stylesheet_spec.rb +0 -27
- data/spec/lib/text_spec.rb +0 -27
- data/spec/lib/workbook_root_spec.rb +0 -43
- data/spec/lib/workbook_spec.rb +0 -197
- data/spec/lib/worksheet_spec.rb +0 -1777
- data/spec/spec_helper.rb +0 -13
- data/test/input/.gitkeep +0 -0
- data/test/output/.gitkeep +0 -0
- data/test/test_parse_write.rb +0 -15
- data/tmp/.gitignore +0 -1
data/rdoc/README_rdoc.html
DELETED
|
@@ -1,871 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
|
|
3
|
-
<html lang="en">
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="UTF-8">
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
|
-
|
|
8
|
-
<title>README - rubyXL 3.4.39</title>
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
<meta name="keywords" content="ruby,documentation,README">
|
|
12
|
-
<meta
|
|
13
|
-
name="description"
|
|
14
|
-
content="README: badge. fury."
|
|
15
|
-
>
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
<!-- Open Graph / Facebook -->
|
|
21
|
-
<meta property="og:type" content="website">
|
|
22
|
-
<meta property="og:title" content="README - rubyXL 3.4.39">
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
<meta property="og:description" content="badge. fury.">
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
<!-- Twitter -->
|
|
33
|
-
<meta name="twitter:card" content="summary">
|
|
34
|
-
<meta name="twitter:title" content="README - rubyXL 3.4.39">
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
<meta name="twitter:description" content="badge. fury.">
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
<script type="text/javascript">
|
|
43
|
-
var rdoc_rel_prefix = "./";
|
|
44
|
-
var index_rel_prefix = "./";
|
|
45
|
-
</script>
|
|
46
|
-
|
|
47
|
-
<script
|
|
48
|
-
src="./js/theme-toggle.js?v=7.2.0"
|
|
49
|
-
></script>
|
|
50
|
-
|
|
51
|
-
<script
|
|
52
|
-
src="./js/search_navigation.js?v=7.2.0"
|
|
53
|
-
defer
|
|
54
|
-
></script>
|
|
55
|
-
|
|
56
|
-
<script
|
|
57
|
-
src="./js/search_data.js?v=7.2.0"
|
|
58
|
-
defer
|
|
59
|
-
></script>
|
|
60
|
-
|
|
61
|
-
<script
|
|
62
|
-
src="./js/search_ranker.js?v=7.2.0"
|
|
63
|
-
defer
|
|
64
|
-
></script>
|
|
65
|
-
|
|
66
|
-
<script
|
|
67
|
-
src="./js/search_controller.js?v=7.2.0"
|
|
68
|
-
defer
|
|
69
|
-
></script>
|
|
70
|
-
|
|
71
|
-
<script
|
|
72
|
-
src="./js/c_highlighter.js?v=7.2.0"
|
|
73
|
-
defer
|
|
74
|
-
></script>
|
|
75
|
-
|
|
76
|
-
<script
|
|
77
|
-
src="./js/bash_highlighter.js?v=7.2.0"
|
|
78
|
-
defer
|
|
79
|
-
></script>
|
|
80
|
-
|
|
81
|
-
<script
|
|
82
|
-
src="./js/aliki.js?v=7.2.0"
|
|
83
|
-
defer
|
|
84
|
-
></script>
|
|
85
|
-
|
|
86
|
-
<link
|
|
87
|
-
href="./css/rdoc.css?v=7.2.0"
|
|
88
|
-
rel="stylesheet"
|
|
89
|
-
>
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
<body role="document" class="file has-toc">
|
|
95
|
-
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
|
96
|
-
<!-- Chevron (right arrow) - used for expand/collapse -->
|
|
97
|
-
<symbol
|
|
98
|
-
id="icon-chevron"
|
|
99
|
-
viewBox="0 0 24 24"
|
|
100
|
-
fill="none"
|
|
101
|
-
stroke="currentColor"
|
|
102
|
-
stroke-width="2"
|
|
103
|
-
stroke-linecap="round"
|
|
104
|
-
stroke-linejoin="round"
|
|
105
|
-
>
|
|
106
|
-
<polyline points="9 18 15 12 9 6"></polyline>
|
|
107
|
-
</symbol>
|
|
108
|
-
|
|
109
|
-
<!-- File/Document - Pages section -->
|
|
110
|
-
<symbol
|
|
111
|
-
id="icon-file"
|
|
112
|
-
viewBox="0 0 24 24"
|
|
113
|
-
fill="none"
|
|
114
|
-
stroke="currentColor"
|
|
115
|
-
stroke-width="2"
|
|
116
|
-
stroke-linecap="round"
|
|
117
|
-
stroke-linejoin="round"
|
|
118
|
-
>
|
|
119
|
-
<path
|
|
120
|
-
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"
|
|
121
|
-
></path>
|
|
122
|
-
|
|
123
|
-
<polyline points="14 2 14 8 20 8"></polyline>
|
|
124
|
-
</symbol>
|
|
125
|
-
|
|
126
|
-
<!-- Layers/Stack - Classes and Modules section -->
|
|
127
|
-
<symbol
|
|
128
|
-
id="icon-layers"
|
|
129
|
-
viewBox="0 0 24 24"
|
|
130
|
-
fill="none"
|
|
131
|
-
stroke="currentColor"
|
|
132
|
-
stroke-width="2"
|
|
133
|
-
stroke-linecap="round"
|
|
134
|
-
stroke-linejoin="round"
|
|
135
|
-
>
|
|
136
|
-
<polygon points="12 2 2 7 12 12 22 7 12 2"></polygon>
|
|
137
|
-
<polyline points="2 17 12 22 22 17"></polyline>
|
|
138
|
-
<polyline points="2 12 12 17 22 12"></polyline>
|
|
139
|
-
</symbol>
|
|
140
|
-
|
|
141
|
-
<!-- Curly braces with C - Class Methods section -->
|
|
142
|
-
<symbol
|
|
143
|
-
id="icon-class-methods"
|
|
144
|
-
viewBox="0 0 24 24"
|
|
145
|
-
fill="none"
|
|
146
|
-
stroke="currentColor"
|
|
147
|
-
stroke-width="2"
|
|
148
|
-
stroke-linecap="round"
|
|
149
|
-
stroke-linejoin="round"
|
|
150
|
-
>
|
|
151
|
-
<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>
|
|
152
|
-
<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>
|
|
153
|
-
|
|
154
|
-
<text
|
|
155
|
-
x="12"
|
|
156
|
-
y="17"
|
|
157
|
-
text-anchor="middle"
|
|
158
|
-
font-size="13"
|
|
159
|
-
font-weight="bold"
|
|
160
|
-
fill="currentColor"
|
|
161
|
-
stroke="none"
|
|
162
|
-
>
|
|
163
|
-
C
|
|
164
|
-
</text>
|
|
165
|
-
</symbol>
|
|
166
|
-
|
|
167
|
-
<!-- Curly braces with I - Instance Methods section -->
|
|
168
|
-
<symbol
|
|
169
|
-
id="icon-instance-methods"
|
|
170
|
-
viewBox="0 0 24 24"
|
|
171
|
-
fill="none"
|
|
172
|
-
stroke="currentColor"
|
|
173
|
-
stroke-width="2"
|
|
174
|
-
stroke-linecap="round"
|
|
175
|
-
stroke-linejoin="round"
|
|
176
|
-
>
|
|
177
|
-
<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>
|
|
178
|
-
<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>
|
|
179
|
-
|
|
180
|
-
<text
|
|
181
|
-
x="12"
|
|
182
|
-
y="17"
|
|
183
|
-
text-anchor="middle"
|
|
184
|
-
font-size="13"
|
|
185
|
-
font-weight="bold"
|
|
186
|
-
fill="currentColor"
|
|
187
|
-
stroke="none"
|
|
188
|
-
>
|
|
189
|
-
I
|
|
190
|
-
</text>
|
|
191
|
-
</symbol>
|
|
192
|
-
|
|
193
|
-
<!-- Double chevrons up - Ancestors section -->
|
|
194
|
-
<symbol
|
|
195
|
-
id="icon-ancestors"
|
|
196
|
-
viewBox="0 0 24 24"
|
|
197
|
-
fill="none"
|
|
198
|
-
stroke="currentColor"
|
|
199
|
-
stroke-width="2"
|
|
200
|
-
stroke-linecap="round"
|
|
201
|
-
stroke-linejoin="round"
|
|
202
|
-
>
|
|
203
|
-
<polyline points="17 11 12 6 7 11"></polyline>
|
|
204
|
-
<polyline points="17 18 12 13 7 18"></polyline>
|
|
205
|
-
</symbol>
|
|
206
|
-
|
|
207
|
-
<!-- User with plus - Included Modules section -->
|
|
208
|
-
<symbol
|
|
209
|
-
id="icon-includes"
|
|
210
|
-
viewBox="0 0 24 24"
|
|
211
|
-
fill="none"
|
|
212
|
-
stroke="currentColor"
|
|
213
|
-
stroke-width="2"
|
|
214
|
-
stroke-linecap="round"
|
|
215
|
-
stroke-linejoin="round"
|
|
216
|
-
>
|
|
217
|
-
<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>
|
|
218
|
-
<circle cx="8.5" cy="7" r="4"></circle>
|
|
219
|
-
|
|
220
|
-
<line
|
|
221
|
-
x1="20"
|
|
222
|
-
y1="8"
|
|
223
|
-
x2="20"
|
|
224
|
-
y2="14"
|
|
225
|
-
></line>
|
|
226
|
-
|
|
227
|
-
<line
|
|
228
|
-
x1="23"
|
|
229
|
-
y1="11"
|
|
230
|
-
x2="17"
|
|
231
|
-
y2="11"
|
|
232
|
-
></line>
|
|
233
|
-
</symbol>
|
|
234
|
-
|
|
235
|
-
<!-- User with check - Extended Modules section -->
|
|
236
|
-
<symbol
|
|
237
|
-
id="icon-extends"
|
|
238
|
-
viewBox="0 0 24 24"
|
|
239
|
-
fill="none"
|
|
240
|
-
stroke="currentColor"
|
|
241
|
-
stroke-width="2"
|
|
242
|
-
stroke-linecap="round"
|
|
243
|
-
stroke-linejoin="round"
|
|
244
|
-
>
|
|
245
|
-
<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>
|
|
246
|
-
<circle cx="8.5" cy="7" r="4"></circle>
|
|
247
|
-
<polyline points="17 11 19 13 23 9"></polyline>
|
|
248
|
-
</symbol>
|
|
249
|
-
|
|
250
|
-
<!-- List - Sections section -->
|
|
251
|
-
<symbol
|
|
252
|
-
id="icon-list"
|
|
253
|
-
viewBox="0 0 24 24"
|
|
254
|
-
fill="none"
|
|
255
|
-
stroke="currentColor"
|
|
256
|
-
stroke-width="2"
|
|
257
|
-
stroke-linecap="round"
|
|
258
|
-
stroke-linejoin="round"
|
|
259
|
-
>
|
|
260
|
-
<line
|
|
261
|
-
x1="8"
|
|
262
|
-
y1="6"
|
|
263
|
-
x2="21"
|
|
264
|
-
y2="6"
|
|
265
|
-
></line>
|
|
266
|
-
|
|
267
|
-
<line
|
|
268
|
-
x1="8"
|
|
269
|
-
y1="12"
|
|
270
|
-
x2="21"
|
|
271
|
-
y2="12"
|
|
272
|
-
></line>
|
|
273
|
-
|
|
274
|
-
<line
|
|
275
|
-
x1="8"
|
|
276
|
-
y1="18"
|
|
277
|
-
x2="21"
|
|
278
|
-
y2="18"
|
|
279
|
-
></line>
|
|
280
|
-
|
|
281
|
-
<line
|
|
282
|
-
x1="3"
|
|
283
|
-
y1="6"
|
|
284
|
-
x2="3.01"
|
|
285
|
-
y2="6"
|
|
286
|
-
></line>
|
|
287
|
-
|
|
288
|
-
<line
|
|
289
|
-
x1="3"
|
|
290
|
-
y1="12"
|
|
291
|
-
x2="3.01"
|
|
292
|
-
y2="12"
|
|
293
|
-
></line>
|
|
294
|
-
|
|
295
|
-
<line
|
|
296
|
-
x1="3"
|
|
297
|
-
y1="18"
|
|
298
|
-
x2="3.01"
|
|
299
|
-
y2="18"
|
|
300
|
-
></line>
|
|
301
|
-
</symbol>
|
|
302
|
-
</svg>
|
|
303
|
-
|
|
304
|
-
<header class="top-navbar">
|
|
305
|
-
<a href="./index.html" class="navbar-brand">
|
|
306
|
-
rubyXL 3.4.39
|
|
307
|
-
</a>
|
|
308
|
-
|
|
309
|
-
<!-- Desktop search bar -->
|
|
310
|
-
<div class="navbar-search navbar-search-desktop" role="search">
|
|
311
|
-
<form action="#" method="get" accept-charset="utf-8">
|
|
312
|
-
<input id="search-field" role="combobox" aria-label="Search"
|
|
313
|
-
aria-autocomplete="list" aria-controls="search-results-desktop"
|
|
314
|
-
type="text" name="search" placeholder="Search (/) for a class, method..."
|
|
315
|
-
spellcheck="false" autocomplete="off"
|
|
316
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
|
317
|
-
<ul id="search-results-desktop" aria-label="Search Results"
|
|
318
|
-
aria-busy="false" aria-expanded="false"
|
|
319
|
-
aria-atomic="false" class="initially-hidden search-results"></ul>
|
|
320
|
-
</form>
|
|
321
|
-
</div>
|
|
322
|
-
|
|
323
|
-
<!-- Mobile search icon button -->
|
|
324
|
-
<button id="search-toggle" class="navbar-search-mobile" aria-label="Open search" type="button">
|
|
325
|
-
<span aria-hidden="true">🔍</span>
|
|
326
|
-
</button>
|
|
327
|
-
|
|
328
|
-
<!-- Theme toggle button -->
|
|
329
|
-
<button id="theme-toggle" class="theme-toggle" aria-label="Switch to dark mode" type="button">
|
|
330
|
-
<span class="theme-toggle-icon" aria-hidden="true">🌙</span>
|
|
331
|
-
</button>
|
|
332
|
-
</header>
|
|
333
|
-
|
|
334
|
-
<!-- Search Modal (Mobile) -->
|
|
335
|
-
<div id="search-modal" class="search-modal" hidden aria-modal="true" role="dialog" aria-label="Search">
|
|
336
|
-
<div class="search-modal-backdrop"></div>
|
|
337
|
-
<div class="search-modal-content">
|
|
338
|
-
<div class="search-modal-header">
|
|
339
|
-
<form class="search-modal-form" action="#" method="get" accept-charset="utf-8">
|
|
340
|
-
<span class="search-modal-icon" aria-hidden="true">🔍</span>
|
|
341
|
-
<input id="search-field-mobile" role="combobox" aria-label="Search"
|
|
342
|
-
aria-autocomplete="list" aria-controls="search-results-mobile"
|
|
343
|
-
type="text" name="search" placeholder="Search documentation"
|
|
344
|
-
spellcheck="false" autocomplete="off">
|
|
345
|
-
<button type="button" class="search-modal-close" aria-label="Close search" id="search-modal-close">
|
|
346
|
-
<span aria-hidden="true">esc</span>
|
|
347
|
-
</button>
|
|
348
|
-
</form>
|
|
349
|
-
</div>
|
|
350
|
-
<div class="search-modal-body">
|
|
351
|
-
<ul id="search-results-mobile" aria-label="Search Results"
|
|
352
|
-
aria-busy="false" aria-expanded="false"
|
|
353
|
-
aria-atomic="false" class="search-results search-modal-results initially-hidden"></ul>
|
|
354
|
-
<div class="search-modal-empty">
|
|
355
|
-
<p>No recent searches</p>
|
|
356
|
-
</div>
|
|
357
|
-
</div>
|
|
358
|
-
</div>
|
|
359
|
-
</div>
|
|
360
|
-
|
|
361
|
-
<div id="navigation-toggle" role="button" tabindex="0" aria-label="Toggle sidebar" aria-expanded="true" aria-controls="navigation">
|
|
362
|
-
<span aria-hidden="true">☰</span>
|
|
363
|
-
</div>
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
<nav id="navigation" role="navigation" hidden>
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
<div id="fileindex-section" class="nav-section">
|
|
375
|
-
<details class="nav-section-collapsible" open>
|
|
376
|
-
<summary class="nav-section-header">
|
|
377
|
-
<span class="nav-section-icon">
|
|
378
|
-
<svg>
|
|
379
|
-
<use href="#icon-file"></use>
|
|
380
|
-
</svg>
|
|
381
|
-
</span>
|
|
382
|
-
|
|
383
|
-
<span class="nav-section-title">Pages</span>
|
|
384
|
-
|
|
385
|
-
<span class="nav-section-chevron">
|
|
386
|
-
<svg>
|
|
387
|
-
<use href="#icon-chevron"></use>
|
|
388
|
-
</svg>
|
|
389
|
-
</span>
|
|
390
|
-
</summary>
|
|
391
|
-
|
|
392
|
-
<ul class="nav-list">
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
<li>
|
|
400
|
-
<a href="./README_rdoc.html">
|
|
401
|
-
README
|
|
402
|
-
</a>
|
|
403
|
-
</li>
|
|
404
|
-
|
|
405
|
-
</ul>
|
|
406
|
-
</details>
|
|
407
|
-
</div>
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
<div id="classindex-section" class="nav-section">
|
|
411
|
-
<details class="nav-section-collapsible" open>
|
|
412
|
-
<summary class="nav-section-header">
|
|
413
|
-
<span class="nav-section-icon">
|
|
414
|
-
<svg><use href="#icon-layers"></use></svg>
|
|
415
|
-
</span>
|
|
416
|
-
<span class="nav-section-title">Classes and Modules</span>
|
|
417
|
-
<span class="nav-section-chevron">
|
|
418
|
-
<svg><use href="#icon-chevron"></use></svg>
|
|
419
|
-
</span>
|
|
420
|
-
</summary>
|
|
421
|
-
|
|
422
|
-
<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/PivotSelection.html">PivotSelection</a></code></li><li><code><a href="./RubyXL/PivotTableFile.html">PivotTableFile</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>
|
|
423
|
-
</details>
|
|
424
|
-
</div>
|
|
425
|
-
|
|
426
|
-
</nav>
|
|
427
|
-
|
|
428
|
-
<main role="main" aria-label="Page README.rdoc">
|
|
429
|
-
|
|
430
|
-
<span id="label-rubyXL" class="legacy-anchor"></span>
|
|
431
|
-
<h1 id="rubyxl"><a href="#rubyxl">rubyXL</a></h1>
|
|
432
|
-
|
|
433
|
-
<p><a href="http://badge.fury.io/rb/rubyXL"><img src="https://badge.fury.io/rb/rubyXL.svg"></a> <a href="https://circleci.com/gh/weshatheleopard/rubyXL"><img src="https://circleci.com/gh/weshatheleopard/rubyXL.svg?style=svg"></a></p>
|
|
434
|
-
|
|
435
|
-
<p>This gem supports operating on <code>xlsx</code> files (Open XML format). While it is capable of properly parsing the entire OOXML structure, its current main emphasis is on reading files produced by MS Excel, making minor modifications to them and saving them to be opened again, while preserving as much of the structure as possible.</p>
|
|
436
|
-
|
|
437
|
-
<p>Please note that proprietary binary <code>xls</code> format is <strong>not</strong> supported by this gem. If you need to parse those files, try <a href="https://github.com/zdavatz/spreadsheet">spreadsheet</a> gem.</p>
|
|
438
|
-
|
|
439
|
-
<span id="label-To+Install-3A" class="legacy-anchor"></span>
|
|
440
|
-
<h2 id="to-install"><a href="#to-install">To Install:</a></h2>
|
|
441
|
-
|
|
442
|
-
<pre class="ruby"><span class="ruby-identifier">gem</span> <span class="ruby-identifier">install</span> <span class="ruby-identifier">rubyXL</span>
|
|
443
|
-
</pre>
|
|
444
|
-
|
|
445
|
-
<span id="label-To+Use-3A" class="legacy-anchor"></span>
|
|
446
|
-
<h2 id="to-use"><a href="#to-use">To Use:</a></h2>
|
|
447
|
-
|
|
448
|
-
<pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">'rubyXL'</span> <span class="ruby-comment"># Assuming rubygems is already required</span>
|
|
449
|
-
</pre>
|
|
450
|
-
|
|
451
|
-
<span id="label-Convenience+methods" class="legacy-anchor"></span>
|
|
452
|
-
<h3 id="convenience-methods"><a href="#convenience-methods">Convenience methods</a></h3>
|
|
453
|
-
|
|
454
|
-
<p>Starting with version 3.4.0, the main data structure has been separated from the convenience methods that provide access to individual features of the <code>xlsx</code> format, in order to decrease the memory footprint. If you intend to use these features, you will need to additionally include the respective files:</p>
|
|
455
|
-
|
|
456
|
-
<pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">'rubyXL/convenience_methods/cell'</span>
|
|
457
|
-
<span class="ruby-identifier">require</span> <span class="ruby-string">'rubyXL/convenience_methods/color'</span>
|
|
458
|
-
<span class="ruby-identifier">require</span> <span class="ruby-string">'rubyXL/convenience_methods/font'</span>
|
|
459
|
-
<span class="ruby-identifier">require</span> <span class="ruby-string">'rubyXL/convenience_methods/workbook'</span>
|
|
460
|
-
<span class="ruby-identifier">require</span> <span class="ruby-string">'rubyXL/convenience_methods/worksheet'</span>
|
|
461
|
-
</pre>
|
|
462
|
-
|
|
463
|
-
<p>If you do not care about your RAM usage, just include them all at once by adding the following line to your code so it can continue operating just as before:</p>
|
|
464
|
-
|
|
465
|
-
<pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">'rubyXL/convenience_methods'</span>
|
|
466
|
-
</pre>
|
|
467
|
-
|
|
468
|
-
<span id="label-Parsing+an+existing+workbook" class="legacy-anchor"></span>
|
|
469
|
-
<h3 id="parsing-an-existing-workbook"><a href="#parsing-an-existing-workbook">Parsing an existing workbook</a></h3>
|
|
470
|
-
|
|
471
|
-
<pre class="ruby"><span class="ruby-identifier">workbook</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Parser</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-string">"path/to/Excel/file.xlsx"</span>)
|
|
472
|
-
</pre>
|
|
473
|
-
|
|
474
|
-
<span id="label-Creating+a+new+Workbook" class="legacy-anchor"></span>
|
|
475
|
-
<h3 id="creating-a-new-workbook"><a href="#creating-a-new-workbook">Creating a new Workbook</a></h3>
|
|
476
|
-
|
|
477
|
-
<pre class="ruby"><span class="ruby-identifier">workbook</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Workbook</span>.<span class="ruby-identifier">new</span>
|
|
478
|
-
</pre>
|
|
479
|
-
|
|
480
|
-
<span id="label-Accessing" class="legacy-anchor"></span>
|
|
481
|
-
<h3 id="accessing"><a href="#accessing">Accessing</a></h3>
|
|
482
|
-
|
|
483
|
-
<span id="label-Accessing+a+Worksheet" class="legacy-anchor"></span>
|
|
484
|
-
<h4 id="accessing-a-worksheet"><a href="#accessing-a-worksheet">Accessing a Worksheet</a></h4>
|
|
485
|
-
|
|
486
|
-
<pre class="ruby"><span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">worksheets</span>[<span class="ruby-value">0</span>] <span class="ruby-comment"># Returns first worksheet</span>
|
|
487
|
-
<span class="ruby-identifier">workbook</span>[<span class="ruby-value">0</span>] <span class="ruby-comment"># Returns first worksheet</span>
|
|
488
|
-
<span class="ruby-identifier">workbook</span>[<span class="ruby-string">'Sheet1'</span>] <span class="ruby-comment"># Finds and returns worksheet titled "Sheet1". Note that sheet names in Excel are limited to 31 character.</span>
|
|
489
|
-
</pre>
|
|
490
|
-
|
|
491
|
-
<span id="label-Accessing+a+Row+-28Array+of+Cells-29" class="legacy-anchor"></span>
|
|
492
|
-
<h4 id="accessing-a-row-array-of-cells"><a href="#accessing-a-row-array-of-cells">Accessing a Row (Array of Cells)</a></h4>
|
|
493
|
-
|
|
494
|
-
<p>Please note that worksheet is a <em>sparse</em> array of rows. Your code <strong>must</strong> expect that any row it plucks from the array may be <code>nil</code>.</p>
|
|
495
|
-
|
|
496
|
-
<pre class="ruby"><span class="ruby-identifier">worksheet</span> = <span class="ruby-identifier">workbook</span>[<span class="ruby-value">0</span>]
|
|
497
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">sheet_data</span>[<span class="ruby-value">0</span>] <span class="ruby-comment"># Returns first row of the worksheet</span>
|
|
498
|
-
<span class="ruby-identifier">worksheet</span>[<span class="ruby-value">0</span>] <span class="ruby-comment"># Returns first row of the worksheet</span>
|
|
499
|
-
</pre>
|
|
500
|
-
|
|
501
|
-
<span id="label-Accessing+a+Cell+object" class="legacy-anchor"></span>
|
|
502
|
-
<h4 id="accessing-a-cell-object"><a href="#accessing-a-cell-object">Accessing a Cell object</a></h4>
|
|
503
|
-
|
|
504
|
-
<p>Please note that row is a <em>sparse</em> array of cells. Your code <strong>must</strong> expect that any cell it plucks from the array may be <code>nil</code>.</p>
|
|
505
|
-
|
|
506
|
-
<pre class="ruby"><span class="ruby-identifier">worksheet</span> = <span class="ruby-identifier">workbook</span>[<span class="ruby-value">0</span>]
|
|
507
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">sheet_data</span>[<span class="ruby-value">0</span>][<span class="ruby-value">0</span>] <span class="ruby-comment"># Returns cell A1 in the worksheet</span>
|
|
508
|
-
<span class="ruby-identifier">worksheet</span>[<span class="ruby-value">0</span>][<span class="ruby-value">0</span>] <span class="ruby-comment"># Returns cell A1 in the worksheet</span>
|
|
509
|
-
|
|
510
|
-
<span class="ruby-identifier">cell</span> = <span class="ruby-identifier">worksheet</span>[<span class="ruby-value">0</span>][<span class="ruby-value">0</span>]
|
|
511
|
-
<span class="ruby-identifier">cell</span>.<span class="ruby-identifier">value</span> <span class="ruby-comment"># Returns a properly converted value in the cell (if the file claims that the cell</span>
|
|
512
|
-
<span class="ruby-comment"># is holding a number, returns a respective Integer or Float, and so on).</span>
|
|
513
|
-
</pre>
|
|
514
|
-
|
|
515
|
-
<p>Or, if you prefer Excel-style references (single-cell only!)</p>
|
|
516
|
-
|
|
517
|
-
<pre class="ruby"><span class="ruby-identifier">cell</span> = <span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">cell_at</span>(<span class="ruby-string">'B11'</span>)
|
|
518
|
-
</pre>
|
|
519
|
-
|
|
520
|
-
<span id="label-Wrappers+for+accessing+Cell+properties" class="legacy-anchor"></span>
|
|
521
|
-
<h4 id="wrappers-for-accessing-cell-properties"><a href="#wrappers-for-accessing-cell-properties">Wrappers for accessing Cell properties</a></h4>
|
|
522
|
-
|
|
523
|
-
<pre class="ruby"><span class="ruby-identifier">cell</span> = <span class="ruby-identifier">workbook</span>[<span class="ruby-value">0</span>][<span class="ruby-value">0</span>][<span class="ruby-value">0</span>]
|
|
524
|
-
<span class="ruby-identifier">cell</span>.<span class="ruby-identifier">is_struckthrough</span> <span class="ruby-comment"># Returns +true+ if the cell is struckthrough, other boolean properties have same syntax</span>
|
|
525
|
-
<span class="ruby-identifier">cell</span>.<span class="ruby-identifier">font_name</span>
|
|
526
|
-
<span class="ruby-identifier">cell</span>.<span class="ruby-identifier">font_size</span>
|
|
527
|
-
<span class="ruby-identifier">cell</span>.<span class="ruby-identifier">font_color</span>
|
|
528
|
-
<span class="ruby-identifier">cell</span>.<span class="ruby-identifier">fill_color</span>
|
|
529
|
-
<span class="ruby-identifier">cell</span>.<span class="ruby-identifier">horizontal_alignment</span>
|
|
530
|
-
<span class="ruby-identifier">cell</span>.<span class="ruby-identifier">vertical_alignment</span>
|
|
531
|
-
<span class="ruby-identifier">cell</span>.<span class="ruby-identifier">get_border</span>(<span class="ruby-value">:top</span>)
|
|
532
|
-
<span class="ruby-identifier">cell</span>.<span class="ruby-identifier">get_border_color</span>(<span class="ruby-value">:top</span>)
|
|
533
|
-
<span class="ruby-identifier">cell</span>.<span class="ruby-identifier">text_rotation</span>
|
|
534
|
-
</pre>
|
|
535
|
-
|
|
536
|
-
<span id="label-Wrappers+for+accessing+Row+properties+" class="legacy-anchor"></span>
|
|
537
|
-
<h4 id="wrappers-for-accessing-row-properties-"><a href="#wrappers-for-accessing-row-properties-">Wrappers for accessing Row properties </a></h4>
|
|
538
|
-
|
|
539
|
-
<p>Please note: these methods are being phased out in favor of the OOXML object model.</p>
|
|
540
|
-
|
|
541
|
-
<pre class="ruby"><span class="ruby-identifier">worksheet</span> = <span class="ruby-identifier">workbook</span>[<span class="ruby-value">0</span>]
|
|
542
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">get_row_fill</span>(<span class="ruby-value">0</span>)
|
|
543
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">get_row_font_name</span>(<span class="ruby-value">0</span>)
|
|
544
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">get_row_font_size</span>(<span class="ruby-value">0</span>)
|
|
545
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">get_row_font_color</span>(<span class="ruby-value">0</span>)
|
|
546
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">is_row_underlined</span>(<span class="ruby-value">0</span>)
|
|
547
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">get_row_height</span>(<span class="ruby-value">0</span>)
|
|
548
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">get_row_alignment</span>(<span class="ruby-value">0</span>, <span class="ruby-keyword">true</span>)
|
|
549
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">get_row_alignment</span>(<span class="ruby-value">0</span>, <span class="ruby-keyword">false</span>)
|
|
550
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">get_row_border</span>(<span class="ruby-value">0</span>, <span class="ruby-value">:right</span>)
|
|
551
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">get_row_border_color</span>(<span class="ruby-value">0</span>, <span class="ruby-value">:right</span>)
|
|
552
|
-
</pre>
|
|
553
|
-
|
|
554
|
-
<span id="label-Accessing+column+properties" class="legacy-anchor"></span>
|
|
555
|
-
<h4 id="accessing-column-properties"><a href="#accessing-column-properties">Accessing column properties</a></h4>
|
|
556
|
-
|
|
557
|
-
<p>Please note: these methods are being phased out in favor of the OOXML object model.</p>
|
|
558
|
-
|
|
559
|
-
<pre class="ruby"><span class="ruby-identifier">worksheet</span> = <span class="ruby-identifier">workbook</span>[<span class="ruby-value">0</span>]
|
|
560
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">get_column_fill</span>(<span class="ruby-value">0</span>)
|
|
561
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">get_column_font_name</span>(<span class="ruby-value">0</span>)
|
|
562
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">get_column_font_size</span>(<span class="ruby-value">0</span>)
|
|
563
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">get_column_font_color</span>(<span class="ruby-value">0</span>)
|
|
564
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">is_column_underlined</span>(<span class="ruby-value">0</span>)
|
|
565
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">get_column_width</span>(<span class="ruby-value">0</span>)
|
|
566
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">get_column_alignment</span>(<span class="ruby-value">0</span>, <span class="ruby-value">:horizontal</span>)
|
|
567
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">get_column_alignment</span>(<span class="ruby-value">0</span>, <span class="ruby-value">:vertical</span>)
|
|
568
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">get_column_border</span>(<span class="ruby-value">0</span>, <span class="ruby-value">:right</span>)
|
|
569
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">get_column_border_color</span>(<span class="ruby-value">0</span>, <span class="ruby-value">:right</span>)
|
|
570
|
-
</pre>
|
|
571
|
-
|
|
572
|
-
<span id="label-Modifying" class="legacy-anchor"></span>
|
|
573
|
-
<h3 id="modifying"><a href="#modifying">Modifying</a></h3>
|
|
574
|
-
|
|
575
|
-
<span id="label-Adding+Worksheets" class="legacy-anchor"></span>
|
|
576
|
-
<h4 id="adding-worksheets"><a href="#adding-worksheets">Adding Worksheets</a></h4>
|
|
577
|
-
|
|
578
|
-
<pre class="ruby"><span class="ruby-identifier">worksheet</span> = <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">add_worksheet</span>(<span class="ruby-string">'Sheet2'</span>)
|
|
579
|
-
</pre>
|
|
580
|
-
|
|
581
|
-
<span id="label-Renaming+Worksheets" class="legacy-anchor"></span>
|
|
582
|
-
<h4 id="renaming-worksheets"><a href="#renaming-worksheets">Renaming Worksheets</a></h4>
|
|
583
|
-
|
|
584
|
-
<pre class="ruby"><span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">sheet_name</span> = <span class="ruby-string">'Cool New Name'</span> <span class="ruby-comment"># Note that sheet name is limited to 31 characters by Excel.</span>
|
|
585
|
-
</pre>
|
|
586
|
-
|
|
587
|
-
<span id="label-Adding+Cells" class="legacy-anchor"></span>
|
|
588
|
-
<h4 id="adding-cells"><a href="#adding-cells">Adding Cells</a></h4>
|
|
589
|
-
|
|
590
|
-
<pre class="ruby"><span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">add_cell</span>(<span class="ruby-value">0</span>, <span class="ruby-value">0</span>, <span class="ruby-string">'A1'</span>) <span class="ruby-comment"># Sets cell A1 to string "A1"</span>
|
|
591
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">add_cell</span>(<span class="ruby-value">0</span>, <span class="ruby-value">1</span>, <span class="ruby-string">''</span>, <span class="ruby-string">'A1'</span>) <span class="ruby-comment"># Sets formula in the cell B1 to '=A1'</span>
|
|
592
|
-
</pre>
|
|
593
|
-
|
|
594
|
-
<span id="label-Changing+Cells" class="legacy-anchor"></span>
|
|
595
|
-
<h4 id="changing-cells"><a href="#changing-cells">Changing Cells</a></h4>
|
|
596
|
-
|
|
597
|
-
<pre class="ruby"><span class="ruby-identifier">worksheet</span>[<span class="ruby-value">0</span>][<span class="ruby-value">0</span>].<span class="ruby-identifier">change_contents</span>(<span class="ruby-string">""</span>, <span class="ruby-identifier">worksheet</span>[<span class="ruby-value">0</span>][<span class="ruby-value">0</span>].<span class="ruby-identifier">formula</span>) <span class="ruby-comment"># Sets value of cell A1 to empty string, preserves formula</span>
|
|
598
|
-
|
|
599
|
-
<span class="ruby-identifier">worksheet</span>[<span class="ruby-value">0</span>][<span class="ruby-value">0</span>].<span class="ruby-identifier">add_shared_string</span>(<span class="ruby-string">'some text'</span>) <span class="ruby-comment"># Creates a new Shared String and adds it to the cell.</span>
|
|
600
|
-
<span class="ruby-comment"># Later, the same Shared String can be added to other cells.</span>
|
|
601
|
-
</pre>
|
|
602
|
-
|
|
603
|
-
<span id="label-Changing+Fonts" class="legacy-anchor"></span>
|
|
604
|
-
<h4 id="changing-fonts"><a href="#changing-fonts">Changing Fonts</a></h4>
|
|
605
|
-
|
|
606
|
-
<pre class="ruby"><span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">sheet_data</span>[<span class="ruby-value">0</span>][<span class="ruby-value">0</span>].<span class="ruby-identifier">change_font_bold</span>(<span class="ruby-keyword">true</span>) <span class="ruby-comment"># Makes A1 bold</span>
|
|
607
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">change_row_italics</span>(<span class="ruby-value">0</span>,<span class="ruby-keyword">true</span>) <span class="ruby-comment"># Makes first row italicized</span>
|
|
608
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">change_column_font_name</span>(<span class="ruby-value">0</span>, <span class="ruby-string">'Courier'</span>) <span class="ruby-comment"># Makes first column have font Courier</span>
|
|
609
|
-
</pre>
|
|
610
|
-
|
|
611
|
-
<span id="label-Changing+Fills+++++" class="legacy-anchor"></span>
|
|
612
|
-
<h4 id="changing-fills-----"><a href="#changing-fills-----">Changing Fills </a></h4>
|
|
613
|
-
|
|
614
|
-
<pre class="ruby"><span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">sheet_data</span>[<span class="ruby-value">0</span>][<span class="ruby-value">0</span>].<span class="ruby-identifier">change_fill</span>(<span class="ruby-string">'0ba53d'</span>) <span class="ruby-comment"># Sets A1 to have fill #0ba53d</span>
|
|
615
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">change_row_fill</span>(<span class="ruby-value">0</span>, <span class="ruby-string">'0ba53d'</span>) <span class="ruby-comment"># Sets first row to have fill #0ba53d</span>
|
|
616
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">change_column_fill</span>(<span class="ruby-value">0</span>, <span class="ruby-string">'0ba53d'</span>) <span class="ruby-comment"># Sets first column to have fill #0ba53d</span>
|
|
617
|
-
</pre>
|
|
618
|
-
|
|
619
|
-
<span id="label-Changing+Borders" class="legacy-anchor"></span>
|
|
620
|
-
<h4 id="changing-borders"><a href="#changing-borders">Changing Borders</a></h4>
|
|
621
|
-
|
|
622
|
-
<span id="label-Border+Styles" class="legacy-anchor"></span>
|
|
623
|
-
<h5 id="border-styles"><a href="#border-styles">Border Styles</a></h5>
|
|
624
|
-
|
|
625
|
-
<pre class="ruby"><span class="ruby-comment"># Possible weights: hairline, thin, medium, thick</span>
|
|
626
|
-
<span class="ruby-comment"># Possible "directions": top, bottom, left, right, diagonal</span>
|
|
627
|
-
<span class="ruby-identifier">cell</span> = <span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">add_cell</span>(<span class="ruby-value">1</span>, <span class="ruby-value">1</span>, <span class="ruby-string">'B2'</span>)
|
|
628
|
-
<span class="ruby-identifier">cell</span>.<span class="ruby-identifier">change_border</span>(<span class="ruby-value">:top</span>, <span class="ruby-string">'thin'</span>) <span class="ruby-comment"># Sets the cell to have a top, thin border</span>
|
|
629
|
-
<span class="ruby-comment"># Note that with diagonals, you have to specify which one of the diagonals (or both) you need.</span>
|
|
630
|
-
<span class="ruby-identifier">cell</span>.<span class="ruby-identifier">change_border</span>(<span class="ruby-value">:diagonal</span>, <span class="ruby-string">'thick'</span>, [ <span class="ruby-value">:diagonal_down</span> ]) <span class="ruby-comment"># Sets A1 to have a thick diagonal going from top left to bottom right</span>
|
|
631
|
-
<span class="ruby-comment"># You can turn on both diagonals, but then they both will share the same style and color:</span>
|
|
632
|
-
<span class="ruby-identifier">cell</span>.<span class="ruby-identifier">change_border</span>(<span class="ruby-value">:diagonal</span>, <span class="ruby-string">'thick'</span>, [ <span class="ruby-value">:diagonal_down</span>, <span class="ruby-value">:diagonal_up</span> ])
|
|
633
|
-
</pre>
|
|
634
|
-
|
|
635
|
-
<span id="label-Border+Colors" class="legacy-anchor"></span>
|
|
636
|
-
<h5 id="border-colors"><a href="#border-colors">Border Colors</a></h5>
|
|
637
|
-
|
|
638
|
-
<pre class="ruby"><span class="ruby-comment"># Make sure you set the border style first so there's something to color.</span>
|
|
639
|
-
<span class="ruby-identifier">cell</span>.<span class="ruby-identifier">change_border_color</span>(<span class="ruby-value">:top</span>, <span class="ruby-string">'0ba53d'</span>) <span class="ruby-comment"># Sets top border color to green</span>
|
|
640
|
-
<span class="ruby-identifier">cell</span>.<span class="ruby-identifier">change_border_color</span>(<span class="ruby-value">:diagonal</span>, <span class="ruby-string">'dd0000'</span>) <span class="ruby-comment"># Sets diagonal border color to red</span>
|
|
641
|
-
</pre>
|
|
642
|
-
|
|
643
|
-
<span id="label-Changing+whole+row+or+column" class="legacy-anchor"></span>
|
|
644
|
-
<h5 id="changing-whole-row-or-column"><a href="#changing-whole-row-or-column">Changing whole row or column</a></h5>
|
|
645
|
-
|
|
646
|
-
<pre class="ruby"><span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">change_row_border</span>(<span class="ruby-value">0</span>, <span class="ruby-value">:left</span>, <span class="ruby-string">'hairline'</span>) <span class="ruby-comment"># Sets first row to have a left, hairline border</span>
|
|
647
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">change_column_border</span>(<span class="ruby-value">0</span>, <span class="ruby-value">:diagonal</span>, <span class="ruby-string">'medium'</span>) <span class="ruby-comment"># Sets first column to have diagonal, medium border</span>
|
|
648
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">change_row_border_color</span>(<span class="ruby-value">0</span>, <span class="ruby-value">:top</span>, <span class="ruby-string">'0ba53d'</span>) <span class="ruby-comment"># Sets first row to have a green top border</span>
|
|
649
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">change_column_border_color</span>(<span class="ruby-value">0</span>, <span class="ruby-value">:top</span>, <span class="ruby-string">'0ba53d'</span>) <span class="ruby-comment"># Sets first column to have a green top border</span>
|
|
650
|
-
</pre>
|
|
651
|
-
|
|
652
|
-
<span id="label-Changing+Alignment" class="legacy-anchor"></span>
|
|
653
|
-
<h4 id="changing-alignment"><a href="#changing-alignment">Changing Alignment</a></h4>
|
|
654
|
-
|
|
655
|
-
<span id="label-Horizontal" class="legacy-anchor"></span>
|
|
656
|
-
<h5 id="horizontal"><a href="#horizontal">Horizontal</a></h5>
|
|
657
|
-
|
|
658
|
-
<pre class="ruby"><span class="ruby-comment"># Possible alignments: center, distributed, justify, left, right</span>
|
|
659
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">sheet_data</span>[<span class="ruby-value">0</span>][<span class="ruby-value">0</span>].<span class="ruby-identifier">change_horizontal_alignment</span>(<span class="ruby-string">'center'</span>) <span class="ruby-comment"># Sets A1 to be centered</span>
|
|
660
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">change_row_horizontal_alignment</span>(<span class="ruby-value">0</span>, <span class="ruby-string">'justify'</span>) <span class="ruby-comment"># Sets first row to be justified</span>
|
|
661
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">change_column_horizontal_alignment</span>(<span class="ruby-value">0</span>, <span class="ruby-string">'right'</span>) <span class="ruby-comment"># Sets first column to be right-aligned</span>
|
|
662
|
-
</pre>
|
|
663
|
-
|
|
664
|
-
<span id="label-Vertical" class="legacy-anchor"></span>
|
|
665
|
-
<h5 id="vertical"><a href="#vertical">Vertical</a></h5>
|
|
666
|
-
|
|
667
|
-
<pre class="ruby"><span class="ruby-comment"># Possible alignments: bottom, center, distributed, top</span>
|
|
668
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">sheet_data</span>[<span class="ruby-value">0</span>][<span class="ruby-value">0</span>].<span class="ruby-identifier">change_vertical_alignment</span>(<span class="ruby-string">'bottom'</span>) <span class="ruby-comment"># Sets A1 to be bottom aligned</span>
|
|
669
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">change_row_vertical_alignment</span>(<span class="ruby-value">0</span>, <span class="ruby-string">'distributed'</span>) <span class="ruby-comment"># Sets first row to be distributed vertically</span>
|
|
670
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">change_column_vertical_alignment</span>(<span class="ruby-value">0</span>, <span class="ruby-string">'top'</span>) <span class="ruby-comment"># Sets first column to be top aligned</span>
|
|
671
|
-
</pre>
|
|
672
|
-
|
|
673
|
-
<span id="label-Rotation" class="legacy-anchor"></span>
|
|
674
|
-
<h5 id="rotation"><a href="#rotation">Rotation</a></h5>
|
|
675
|
-
|
|
676
|
-
<pre class="ruby"><span class="ruby-comment"># Possible values:</span>
|
|
677
|
-
<span class="ruby-comment"># * 0-90 - degrees counterclockwise, around the bottom LEFT corner of the cell;</span>
|
|
678
|
-
<span class="ruby-comment"># * 91-179 - degrees clockwise, around the bottom RIGHT corner of the cell;</span>
|
|
679
|
-
<span class="ruby-comment"># * 180-254 - degrees clockwise, around the bottom LEFT corner of the cell, text becomes progressively invisible</span>
|
|
680
|
-
<span class="ruby-comment"># * 255 - text is in normal rotation but displayed vertically (one letter under another), line feed starts new line to the right of the previous.</span>
|
|
681
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">sheet_data</span>[<span class="ruby-value">0</span>][<span class="ruby-value">0</span>].<span class="ruby-identifier">change_text_rotation</span>(<span class="ruby-value">90</span>) <span class="ruby-comment"># Sets A1 to be rotated by 90 degrees</span>
|
|
682
|
-
</pre>
|
|
683
|
-
|
|
684
|
-
<span id="label-Changing+Row+Height" class="legacy-anchor"></span>
|
|
685
|
-
<h4 id="changing-row-height"><a href="#changing-row-height">Changing Row Height</a></h4>
|
|
686
|
-
|
|
687
|
-
<pre class="ruby"><span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">change_row_height</span>(<span class="ruby-value">0</span>, <span class="ruby-value">30</span>) <span class="ruby-comment"># Sets first row height to 30</span>
|
|
688
|
-
</pre>
|
|
689
|
-
|
|
690
|
-
<span id="label-Changing+Column+Width" class="legacy-anchor"></span>
|
|
691
|
-
<h4 id="changing-column-width"><a href="#changing-column-width">Changing Column Width</a></h4>
|
|
692
|
-
|
|
693
|
-
<pre class="ruby"><span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">change_column_width</span>(<span class="ruby-value">0</span>, <span class="ruby-value">30</span>) <span class="ruby-comment"># Sets first column width to 30</span>
|
|
694
|
-
</pre>
|
|
695
|
-
|
|
696
|
-
<span id="label-Merging+Cells" class="legacy-anchor"></span>
|
|
697
|
-
<h4 id="merging-cells"><a href="#merging-cells">Merging Cells</a></h4>
|
|
698
|
-
|
|
699
|
-
<pre class="ruby"><span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">merge_cells</span>(<span class="ruby-value">0</span>, <span class="ruby-value">1</span>, <span class="ruby-value">2</span>, <span class="ruby-value">3</span>) <span class="ruby-comment"># Merges B1:D3</span>
|
|
700
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">merge_cells</span>(<span class="ruby-string">'A2:C4'</span>) <span class="ruby-comment"># Merges A2:C4</span>
|
|
701
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">merge_cells</span>(<span class="ruby-value">row_from:</span> <span class="ruby-value">0</span>, <span class="ruby-value">row_to:</span> <span class="ruby-value">1</span>, <span class="ruby-value">col_from:</span> <span class="ruby-value">2</span>, <span class="ruby-value">col_to:</span> <span class="ruby-value">3</span>) <span class="ruby-comment"># Merges C1:D2</span>
|
|
702
|
-
</pre>
|
|
703
|
-
|
|
704
|
-
<span id="label-Insert+Row" class="legacy-anchor"></span>
|
|
705
|
-
<h4 id="insert-row"><a href="#insert-row">Insert Row</a></h4>
|
|
706
|
-
|
|
707
|
-
<p>This method will insert a row at specified index, pushing all rows below it down. It also copies styles from row above.</p>
|
|
708
|
-
|
|
709
|
-
<p>WARNING: Use of this method WILL break formulas referencing cells which have been moved, as the formulas do not adapt to the shifted rows</p>
|
|
710
|
-
|
|
711
|
-
<pre class="ruby"><span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">insert_row</span>(<span class="ruby-value">1</span>)
|
|
712
|
-
</pre>
|
|
713
|
-
|
|
714
|
-
<span id="label-Insert+Column" class="legacy-anchor"></span>
|
|
715
|
-
<h4 id="insert-column"><a href="#insert-column">Insert Column</a></h4>
|
|
716
|
-
|
|
717
|
-
<p>This method will insert a column at specified index, pushing all columns to the right of it one to the right. It also copies styles from column to the left</p>
|
|
718
|
-
|
|
719
|
-
<p>WARNING: Use of this method WILL break formulas referencing cells which have been moved, as the formulas do not adapt to the shifted columns</p>
|
|
720
|
-
|
|
721
|
-
<pre class="ruby"><span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">insert_column</span>(<span class="ruby-value">1</span>)
|
|
722
|
-
</pre>
|
|
723
|
-
|
|
724
|
-
<span id="label-Delete+Row" class="legacy-anchor"></span>
|
|
725
|
-
<h4 id="delete-row"><a href="#delete-row">Delete Row</a></h4>
|
|
726
|
-
|
|
727
|
-
<p>This method will delete a row at specified index, pushing all rows below it up.</p>
|
|
728
|
-
|
|
729
|
-
<p>WARNING: Use of this method WILL break formulas referencing cells which have been moved, as the formulas do not adapt to the shifted rows</p>
|
|
730
|
-
|
|
731
|
-
<pre class="ruby"><span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">delete_row</span>(<span class="ruby-value">1</span>)
|
|
732
|
-
</pre>
|
|
733
|
-
|
|
734
|
-
<span id="label-Delete+Column" class="legacy-anchor"></span>
|
|
735
|
-
<h4 id="delete-column"><a href="#delete-column">Delete Column</a></h4>
|
|
736
|
-
|
|
737
|
-
<p>This method will delete a column at specified index, pushing all columns to the right of it left.</p>
|
|
738
|
-
|
|
739
|
-
<p>WARNING: Use of this method WILL break formulas referencing cells which have been moved, as the formulas do not adapt to the shifted columns</p>
|
|
740
|
-
|
|
741
|
-
<pre class="ruby"><span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">delete_column</span>(<span class="ruby-value">1</span>)
|
|
742
|
-
</pre>
|
|
743
|
-
|
|
744
|
-
<span id="label-Insert+Cell" class="legacy-anchor"></span>
|
|
745
|
-
<h4 id="insert-cell"><a href="#insert-cell">Insert Cell</a></h4>
|
|
746
|
-
|
|
747
|
-
<p>This method will insert a cell at specified position. It takes a :right or :down option, to shift cells either left or down upon inserting (nil means replacing the cell)</p>
|
|
748
|
-
|
|
749
|
-
<p>WARNING: Use of this method WILL break formulas referencing cells which have been moved, as the formulas do not adapt to the shifted cells</p>
|
|
750
|
-
|
|
751
|
-
<pre class="ruby"><span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">insert_cell</span>(<span class="ruby-value">0</span>, <span class="ruby-value">0</span>, <span class="ruby-string">"blah"</span>, <span class="ruby-identifier">formula</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-value">:right</span>) <span class="ruby-comment"># Inserts cell at A1, shifts cells in first row right</span>
|
|
752
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">insert_cell</span>(<span class="ruby-value">0</span>, <span class="ruby-value">0</span>, <span class="ruby-string">"blah"</span>, <span class="ruby-identifier">formula</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-value">:down</span>) <span class="ruby-comment"># Inserts cell at A1, shifts cells in first column down</span>
|
|
753
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">insert_cell</span>(<span class="ruby-value">0</span>, <span class="ruby-value">0</span>, <span class="ruby-string">"blah"</span>) <span class="ruby-comment"># Inserts cell at A1, shifts nothing</span>
|
|
754
|
-
</pre>
|
|
755
|
-
|
|
756
|
-
<span id="label-Delete+Cell" class="legacy-anchor"></span>
|
|
757
|
-
<h4 id="delete-cell"><a href="#delete-cell">Delete Cell</a></h4>
|
|
758
|
-
|
|
759
|
-
<p>This method will delete a cell at specified position. It takes a :left or :up option, to shift cells either up or left upon deletion (nil means simply deleting the cell contents)</p>
|
|
760
|
-
|
|
761
|
-
<p>WARNING: Use of this method WILL break formulas referencing cells which have been moved, as the formulas do not adapt to the shifted cells</p>
|
|
762
|
-
|
|
763
|
-
<pre class="ruby"><span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">delete_cell</span>(<span class="ruby-value">0</span>, <span class="ruby-value">0</span>, <span class="ruby-value">:left</span>) <span class="ruby-comment"># Deletes A1, shifts contents of first row left</span>
|
|
764
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">delete_cell</span>(<span class="ruby-value">0</span>, <span class="ruby-value">0</span>, <span class="ruby-value">:up</span>) <span class="ruby-comment"># Deletes A1, shifts contents of first column up</span>
|
|
765
|
-
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">delete_cell</span>(<span class="ruby-value">0</span>, <span class="ruby-value">0</span>) <span class="ruby-comment"># Deletes A1, does not shift cells</span>
|
|
766
|
-
</pre>
|
|
767
|
-
|
|
768
|
-
<span id="label-Modifying+Cell+Format" class="legacy-anchor"></span>
|
|
769
|
-
<h4 id="modifying-cell-format"><a href="#modifying-cell-format">Modifying Cell Format</a></h4>
|
|
770
|
-
|
|
771
|
-
<pre class="ruby"><span class="ruby-identifier">cell</span> = <span class="ruby-identifier">worksheet</span>[<span class="ruby-value">0</span>][<span class="ruby-value">0</span>]
|
|
772
|
-
<span class="ruby-identifier">cell</span>.<span class="ruby-identifier">set_number_format</span> <span class="ruby-string">'0.0000%'</span> <span class="ruby-comment"># For formats, see https://support.office.com/en-us/article/5026bbd6-04bc-48cd-bf33-80f18b4eae68</span>
|
|
773
|
-
<span class="ruby-identifier">cell</span>.<span class="ruby-identifier">change_text_wrap</span>(<span class="ruby-keyword">true</span>) <span class="ruby-comment"># Makes the text in the cell to wrap.</span>
|
|
774
|
-
<span class="ruby-identifier">cell</span>.<span class="ruby-identifier">change_shrink_to_fit</span>(<span class="ruby-keyword">true</span>) <span class="ruby-comment"># Makes the text in the cell to shrink to fit.</span>
|
|
775
|
-
<span class="ruby-identifier">cell</span>.<span class="ruby-identifier">change_text_indent</span>(<span class="ruby-value">1</span>) <span class="ruby-comment"># Indents the text in the cell by 1 level</span>
|
|
776
|
-
</pre>
|
|
777
|
-
|
|
778
|
-
<span id="label-Add+hyperlink+to+a+Cell" class="legacy-anchor"></span>
|
|
779
|
-
<h4 id="add-hyperlink-to-a-cell"><a href="#add-hyperlink-to-a-cell">Add hyperlink to a Cell</a></h4>
|
|
780
|
-
|
|
781
|
-
<pre class="ruby"><span class="ruby-identifier">cell</span>.<span class="ruby-identifier">add_hyperlink</span>(<span class="ruby-string">'http://example.com'</span>)
|
|
782
|
-
<span class="ruby-identifier">cell</span>.<span class="ruby-identifier">add_hyperlink</span>(<span class="ruby-string">'http://example.com'</span>, <span class="ruby-string">'Some tooltip text'</span>)
|
|
783
|
-
</pre>
|
|
784
|
-
|
|
785
|
-
<span id="label-I-2FO" class="legacy-anchor"></span>
|
|
786
|
-
<h2 id="io"><a href="#io">I/O</a></h2>
|
|
787
|
-
|
|
788
|
-
<p>By default, the gem operates with files on the local filesystem:</p>
|
|
789
|
-
|
|
790
|
-
<pre class="ruby"><span class="ruby-identifier">workbook</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Parser</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-string">"path/to/Excel/file.xlsx"</span>)
|
|
791
|
-
<span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">write</span>(<span class="ruby-string">"path/to/desired/Excel/file.xlsx"</span>)
|
|
792
|
-
</pre>
|
|
793
|
-
|
|
794
|
-
<p>It can also operate on <code>StringIO</code> objects, thus eliminating the need to save the <code>xlsx</code> file to disk. This capability comes in handy for web servers.</p>
|
|
795
|
-
|
|
796
|
-
<pre class="ruby"><span class="ruby-identifier">workbook</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Parser</span>.<span class="ruby-identifier">parse_buffer</span>(<span class="ruby-identifier">buffer</span>)
|
|
797
|
-
<span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">stream</span>
|
|
798
|
-
</pre>
|
|
799
|
-
|
|
800
|
-
<span id="label-Miscellaneous" class="legacy-anchor"></span>
|
|
801
|
-
<h2 id="miscellaneous"><a href="#miscellaneous">Miscellaneous</a></h2>
|
|
802
|
-
|
|
803
|
-
<pre class="ruby"><span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Reference</span>.<span class="ruby-identifier">ind2ref</span>(<span class="ruby-value">0</span>,<span class="ruby-value">0</span>) <span class="ruby-operator">==</span> <span class="ruby-string">'A1'</span> <span class="ruby-comment"># Converts row and column index to Excel-style cell reference</span>
|
|
804
|
-
<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-string">'A1'</span>) <span class="ruby-operator">==</span> [<span class="ruby-value">0</span>, <span class="ruby-value">0</span>] <span class="ruby-comment"># Converts Excel-style cell reference to row and column index</span>
|
|
805
|
-
</pre>
|
|
806
|
-
|
|
807
|
-
<span id="label-Suppress+warnings+about+malformed+input+files" class="legacy-anchor"></span>
|
|
808
|
-
<h3 id="suppress-warnings-about-malformed-input-files"><a href="#suppress-warnings-about-malformed-input-files">Suppress warnings about malformed input files</a></h3>
|
|
809
|
-
|
|
810
|
-
<pre class="ruby"><span class="ruby-constant">RubyXL</span>.<span class="ruby-identifier">class_variable_set</span>(<span class="ruby-value">:@@suppress_warnings</span>, <span class="ruby-keyword">true</span>)
|
|
811
|
-
</pre>
|
|
812
|
-
|
|
813
|
-
<span id="label-Data+validation+-28colloquially+referred+to+as+-22dropdown+list-22-29" class="legacy-anchor"></span>
|
|
814
|
-
<h2 id="data-validation-colloquially-referred-to-as-dropdown-list"><a href="#data-validation-colloquially-referred-to-as-dropdown-list">Data validation (colloquially referred to as “dropdown list”)</a></h2>
|
|
815
|
-
|
|
816
|
-
<pre class="ruby"><span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">add_validation_list</span>(<span class="ruby-string">"A1"</span>, [ <span class="ruby-string">"value1"</span>, <span class="ruby-string">"value2"</span> ])
|
|
817
|
-
</pre>
|
|
818
|
-
|
|
819
|
-
<span id="label-For+more+information" class="legacy-anchor"></span>
|
|
820
|
-
<h2 id="for-more-information"><a href="#for-more-information">For more information</a></h2>
|
|
821
|
-
|
|
822
|
-
<p>Take a look at the files in spec/lib/ for rspecs on most methods</p>
|
|
823
|
-
|
|
824
|
-
<span id="label-Contributing+to+rubyXL" class="legacy-anchor"></span>
|
|
825
|
-
<h2 id="contributing-to-rubyxl"><a href="#contributing-to-rubyxl">Contributing to rubyXL</a></h2>
|
|
826
|
-
<ul><li>
|
|
827
|
-
<p>Check out the latest master to make sure the feature hasn’t been implemented or the bug hasn’t been fixed yet</p>
|
|
828
|
-
</li><li>
|
|
829
|
-
<p>Check out the issue tracker to make sure someone already hasn’t requested it and/or contributed it</p>
|
|
830
|
-
</li><li>
|
|
831
|
-
<p>Fork the project</p>
|
|
832
|
-
</li><li>
|
|
833
|
-
<p>Start a feature/bugfix branch</p>
|
|
834
|
-
</li><li>
|
|
835
|
-
<p>Commit and push until you are happy with your contribution</p>
|
|
836
|
-
</li><li>
|
|
837
|
-
<p>Make sure to add tests for it. This is important so I don’t break it in a future version unintentionally.</p>
|
|
838
|
-
</li><li>
|
|
839
|
-
<p>Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.</p>
|
|
840
|
-
</li></ul>
|
|
841
|
-
|
|
842
|
-
<span id="label-Copyright" class="legacy-anchor"></span>
|
|
843
|
-
<h2 id="copyright"><a href="#copyright">Copyright</a></h2>
|
|
844
|
-
|
|
845
|
-
<p>Copyright © 2011 Vivek Bhagwat, 2013-2026 Wesha. See LICENSE.txt for further details.</p>
|
|
846
|
-
|
|
847
|
-
</main>
|
|
848
|
-
|
|
849
|
-
<aside class="table-of-contents" role="complementary" aria-label="Table of Contents">
|
|
850
|
-
<div class="toc-sticky">
|
|
851
|
-
<h3 class="toc-heading">On This Page</h3>
|
|
852
|
-
<nav class="toc-nav" id="toc-nav" aria-label="Page sections">
|
|
853
|
-
<!-- Generated by JavaScript based on page headings -->
|
|
854
|
-
</nav>
|
|
855
|
-
</div>
|
|
856
|
-
</aside>
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
<footer class="site-footer">
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
<div class="footer-bottom">
|
|
863
|
-
<p>
|
|
864
|
-
Generated by <a href="https://ruby.github.io/rdoc/">RDoc 7.2.0</a>
|
|
865
|
-
using the Aliki theme by <a href="http://st0012.dev">Stan Lo</a>
|
|
866
|
-
</p>
|
|
867
|
-
</div>
|
|
868
|
-
</footer>
|
|
869
|
-
|
|
870
|
-
</body>
|
|
871
|
-
|