rubyXL 3.4.25 → 3.4.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.circleci/config.yml +24 -13
- data/.rubocop.yml +124 -0
- data/CHANGELOG.md +12 -0
- data/Gemfile +4 -2
- data/README.rdoc +24 -8
- data/VERSION +1 -1
- data/lib/rubyXL/convenience_methods/cell.rb +8 -7
- data/lib/rubyXL/convenience_methods/color.rb +6 -6
- data/lib/rubyXL/convenience_methods/workbook.rb +7 -7
- data/lib/rubyXL/convenience_methods/worksheet.rb +26 -6
- data/lib/rubyXL/objects/border.rb +6 -1
- data/lib/rubyXL/objects/cell_style.rb +1 -0
- data/lib/rubyXL/objects/color.rb +1 -1
- data/lib/rubyXL/objects/column_range.rb +16 -12
- data/lib/rubyXL/objects/document_properties.rb +1 -0
- data/lib/rubyXL/objects/external_links.rb +8 -0
- data/lib/rubyXL/objects/ooxml_object.rb +21 -17
- data/lib/rubyXL/objects/query_table.rb +4 -2
- data/lib/rubyXL/objects/reference.rb +56 -20
- data/lib/rubyXL/objects/relationships.rb +1 -1
- data/lib/rubyXL/objects/root.rb +1 -1
- data/lib/rubyXL/objects/shared_strings.rb +1 -1
- data/lib/rubyXL/objects/sheet_data.rb +11 -6
- data/lib/rubyXL/objects/storage.rb +6 -1
- data/lib/rubyXL/objects/stylesheet.rb +2 -3
- data/lib/rubyXL/objects/text.rb +3 -3
- data/lib/rubyXL/objects/theme.rb +15 -17
- data/lib/rubyXL/objects/workbook.rb +17 -9
- data/lib/rubyXL/objects/worksheet.rb +2 -2
- data/lib/rubyXL/worksheet.rb +11 -3
- data/rdoc/README_rdoc.html +536 -147
- data/rdoc/RubyXL/AExtension.html +605 -85
- data/rdoc/RubyXL/AExtensionStorageArea.html +493 -47
- data/rdoc/RubyXL/ActiveX.html +574 -74
- data/rdoc/RubyXL/ActiveXBinary.html +503 -49
- data/rdoc/RubyXL/AdjustHandleList.html +487 -47
- data/rdoc/RubyXL/Alignment.html +487 -47
- data/rdoc/RubyXL/AlternateContent.html +493 -47
- data/rdoc/RubyXL/AlternateUrls.html +539 -0
- data/rdoc/RubyXL/Authors.html +487 -47
- data/rdoc/RubyXL/AutoFilter.html +487 -47
- data/rdoc/RubyXL/AutoFilterColumn.html +487 -47
- data/rdoc/RubyXL/BinaryImageFile.html +510 -50
- data/rdoc/RubyXL/BodyProperties.html +487 -47
- data/rdoc/RubyXL/BooleanNode.html +493 -47
- data/rdoc/RubyXL/BooleanValue.html +493 -47
- data/rdoc/RubyXL/Border.html +640 -97
- data/rdoc/RubyXL/BorderEdge.html +578 -78
- data/rdoc/RubyXL/Borders.html +540 -68
- data/rdoc/RubyXL/Break.html +487 -47
- data/rdoc/RubyXL/BreakList.html +487 -47
- data/rdoc/RubyXL/CT_AdjPoint2D.html +487 -47
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +487 -47
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +487 -47
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +487 -47
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +487 -47
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +487 -47
- data/rdoc/RubyXL/CT_Backdrop.html +487 -47
- data/rdoc/RubyXL/CT_Bevel.html +487 -47
- data/rdoc/RubyXL/CT_BiLevelEffect.html +487 -47
- data/rdoc/RubyXL/CT_BlendEffect.html +487 -47
- data/rdoc/RubyXL/CT_Blip.html +487 -47
- data/rdoc/RubyXL/CT_BlipFillProperties.html +487 -47
- data/rdoc/RubyXL/CT_BlurEffect.html +487 -47
- data/rdoc/RubyXL/CT_Camera.html +487 -47
- data/rdoc/RubyXL/CT_Color.html +487 -47
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +487 -47
- data/rdoc/RubyXL/CT_ColorMapping.html +487 -47
- data/rdoc/RubyXL/CT_ColorScheme.html +487 -47
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +487 -47
- data/rdoc/RubyXL/CT_ConnectionSite.html +487 -47
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +487 -47
- data/rdoc/RubyXL/CT_DashStop.html +487 -47
- data/rdoc/RubyXL/CT_DashStopList.html +487 -47
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +487 -47
- data/rdoc/RubyXL/CT_DuotoneEffect.html +487 -47
- data/rdoc/RubyXL/CT_EffectContainer.html +487 -47
- data/rdoc/RubyXL/CT_EffectList.html +487 -47
- data/rdoc/RubyXL/CT_EffectReference.html +487 -47
- data/rdoc/RubyXL/CT_EffectStyleItem.html +487 -47
- data/rdoc/RubyXL/CT_EffectStyleList.html +487 -47
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +487 -47
- data/rdoc/RubyXL/CT_FillEffect.html +487 -47
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +487 -47
- data/rdoc/RubyXL/CT_FillStyleList.html +487 -47
- data/rdoc/RubyXL/CT_FlatText.html +487 -47
- data/rdoc/RubyXL/CT_FontCollection.html +487 -47
- data/rdoc/RubyXL/CT_FontReference.html +487 -47
- data/rdoc/RubyXL/CT_GeomGuideList.html +487 -47
- data/rdoc/RubyXL/CT_GlowEffect.html +487 -47
- data/rdoc/RubyXL/CT_GradientFillProperties.html +487 -47
- data/rdoc/RubyXL/CT_GradientStop.html +487 -47
- data/rdoc/RubyXL/CT_GradientStopList.html +487 -47
- data/rdoc/RubyXL/CT_HSLEffect.html +487 -47
- data/rdoc/RubyXL/CT_HslColor.html +487 -47
- data/rdoc/RubyXL/CT_Hyperlink.html +487 -47
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +487 -47
- data/rdoc/RubyXL/CT_LightRig.html +487 -47
- data/rdoc/RubyXL/CT_LineEndProperties.html +487 -47
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +487 -47
- data/rdoc/RubyXL/CT_LineProperties.html +487 -47
- data/rdoc/RubyXL/CT_LineStyleList.html +487 -47
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +487 -47
- data/rdoc/RubyXL/CT_LuminanceEffect.html +487 -47
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +487 -47
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +487 -47
- data/rdoc/RubyXL/CT_Path2D.html +487 -47
- data/rdoc/RubyXL/CT_Path2DArcTo.html +487 -47
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +487 -47
- data/rdoc/RubyXL/CT_Path2DList.html +487 -47
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +487 -47
- data/rdoc/RubyXL/CT_Path2DTo.html +487 -47
- data/rdoc/RubyXL/CT_PathShadeProperties.html +487 -47
- data/rdoc/RubyXL/CT_PatternFillProperties.html +487 -47
- data/rdoc/RubyXL/CT_Point3D.html +487 -47
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +487 -47
- data/rdoc/RubyXL/CT_PresetColor.html +487 -47
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +487 -47
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +487 -47
- data/rdoc/RubyXL/CT_PresetTextShape.html +487 -47
- data/rdoc/RubyXL/CT_ReflectionEffect.html +487 -47
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +487 -47
- data/rdoc/RubyXL/CT_RelativeRect.html +487 -47
- data/rdoc/RubyXL/CT_SRgbColor.html +487 -47
- data/rdoc/RubyXL/CT_ScRgbColor.html +487 -47
- data/rdoc/RubyXL/CT_Scene3D.html +487 -47
- data/rdoc/RubyXL/CT_SchemeColor.html +487 -47
- data/rdoc/RubyXL/CT_Shape3D.html +487 -47
- data/rdoc/RubyXL/CT_ShapeStyle.html +487 -47
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +487 -47
- data/rdoc/RubyXL/CT_SphereCoords.html +487 -47
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +487 -47
- data/rdoc/RubyXL/CT_StyleMatrix.html +487 -47
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +487 -47
- data/rdoc/RubyXL/CT_SupplementalFont.html +487 -47
- data/rdoc/RubyXL/CT_SystemColor.html +487 -47
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +487 -47
- data/rdoc/RubyXL/CT_TextBlipBullet.html +487 -47
- data/rdoc/RubyXL/CT_TextCharBullet.html +487 -47
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +487 -47
- data/rdoc/RubyXL/CT_TextFont.html +487 -47
- data/rdoc/RubyXL/CT_TextListStyle.html +487 -47
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +487 -47
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +487 -47
- data/rdoc/RubyXL/CT_TextSpacing.html +487 -47
- data/rdoc/RubyXL/CT_TextTabStop.html +487 -47
- data/rdoc/RubyXL/CT_TextTabStopList.html +487 -47
- data/rdoc/RubyXL/CT_TileInfoProperties.html +487 -47
- data/rdoc/RubyXL/CT_TintEffect.html +487 -47
- data/rdoc/RubyXL/CT_Transform2D.html +487 -47
- data/rdoc/RubyXL/CT_TransformEffect.html +487 -47
- data/rdoc/RubyXL/CT_Vector3D.html +487 -47
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +487 -47
- data/rdoc/RubyXL/CalculationChain.html +557 -71
- data/rdoc/RubyXL/CalculationChainCell.html +487 -47
- data/rdoc/RubyXL/CalculationProperties.html +487 -47
- data/rdoc/RubyXL/Cell.html +1033 -200
- data/rdoc/RubyXL/CellConvenienceMethods.html +1667 -382
- data/rdoc/RubyXL/CellExt.html +487 -47
- data/rdoc/RubyXL/CellSmartTag.html +487 -47
- data/rdoc/RubyXL/CellSmartTagProperty.html +487 -47
- data/rdoc/RubyXL/CellSmartTags.html +487 -47
- data/rdoc/RubyXL/CellStyle.html +487 -47
- data/rdoc/RubyXL/CellStyleXFs.html +540 -68
- data/rdoc/RubyXL/CellStyles.html +540 -68
- data/rdoc/RubyXL/CellValue.html +540 -68
- data/rdoc/RubyXL/CellWatch.html +487 -47
- data/rdoc/RubyXL/CellWatches.html +487 -47
- data/rdoc/RubyXL/CellXFs.html +542 -71
- data/rdoc/RubyXL/ChartColorsFile.html +510 -50
- data/rdoc/RubyXL/ChartFile.html +581 -75
- data/rdoc/RubyXL/ChartStyleFile.html +510 -50
- data/rdoc/RubyXL/ChartUserShapesFile.html +510 -50
- data/rdoc/RubyXL/Chartsheet.html +624 -92
- data/rdoc/RubyXL/ChartsheetPageSetup.html +487 -47
- data/rdoc/RubyXL/ChartsheetProperties.html +487 -47
- data/rdoc/RubyXL/ChartsheetProtection.html +487 -47
- data/rdoc/RubyXL/ChartsheetView.html +487 -47
- data/rdoc/RubyXL/ChartsheetViews.html +487 -47
- data/rdoc/RubyXL/Color.html +550 -70
- data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +626 -94
- data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +671 -105
- data/rdoc/RubyXL/ColorConvenienceClasses.html +482 -45
- data/rdoc/RubyXL/ColorConvenienceMethods.html +534 -65
- data/rdoc/RubyXL/ColorFilter.html +487 -47
- data/rdoc/RubyXL/ColorScale.html +487 -47
- data/rdoc/RubyXL/ColorSet.html +487 -47
- data/rdoc/RubyXL/Colors.html +487 -47
- data/rdoc/RubyXL/ColumnRange.html +685 -92
- data/rdoc/RubyXL/ColumnRanges.html +646 -102
- data/rdoc/RubyXL/Comment.html +487 -47
- data/rdoc/RubyXL/CommentList.html +487 -47
- data/rdoc/RubyXL/CommentsFile.html +570 -76
- data/rdoc/RubyXL/ConditionalFormatValue.html +487 -47
- data/rdoc/RubyXL/ConditionalFormatting.html +487 -47
- data/rdoc/RubyXL/ConditionalFormattingRule.html +487 -47
- data/rdoc/RubyXL/Connection.html +487 -47
- data/rdoc/RubyXL/ConnectionTable.html +487 -47
- data/rdoc/RubyXL/ConnectionTables.html +487 -47
- data/rdoc/RubyXL/ConnectionTextField.html +487 -47
- data/rdoc/RubyXL/ConnectionTextFields.html +487 -47
- data/rdoc/RubyXL/Connections.html +557 -71
- data/rdoc/RubyXL/ContentTypeDefault.html +493 -47
- data/rdoc/RubyXL/ContentTypeOverride.html +493 -47
- data/rdoc/RubyXL/ContentTypes.html +595 -81
- data/rdoc/RubyXL/ControlPropertiesFile.html +510 -50
- data/rdoc/RubyXL/CorePropertiesFile.html +825 -149
- data/rdoc/RubyXL/CustomColor.html +487 -47
- data/rdoc/RubyXL/CustomColorList.html +487 -47
- data/rdoc/RubyXL/CustomFilter.html +487 -47
- data/rdoc/RubyXL/CustomFilters.html +487 -47
- data/rdoc/RubyXL/CustomGeometry.html +487 -47
- data/rdoc/RubyXL/CustomProperties.html +487 -47
- data/rdoc/RubyXL/CustomPropertiesFile.html +510 -50
- data/rdoc/RubyXL/CustomProperty.html +487 -47
- data/rdoc/RubyXL/CustomPropertyFile.html +510 -50
- data/rdoc/RubyXL/CustomSheetView.html +487 -47
- data/rdoc/RubyXL/CustomSheetViews.html +487 -47
- data/rdoc/RubyXL/CustomWorkbookView.html +487 -47
- data/rdoc/RubyXL/CustomWorkbookViews.html +487 -47
- data/rdoc/RubyXL/CustomXMLFile.html +503 -49
- data/rdoc/RubyXL/DXF.html +487 -47
- data/rdoc/RubyXL/DXFs.html +487 -47
- data/rdoc/RubyXL/DataBar.html +487 -47
- data/rdoc/RubyXL/DataConsolidate.html +487 -47
- data/rdoc/RubyXL/DataConsolidationReference.html +487 -47
- data/rdoc/RubyXL/DataConsolidationReferences.html +487 -47
- data/rdoc/RubyXL/DataType.html +528 -53
- data/rdoc/RubyXL/DataValidation.html +487 -47
- data/rdoc/RubyXL/DataValidations.html +487 -47
- data/rdoc/RubyXL/DateGroupItem.html +487 -47
- data/rdoc/RubyXL/DefinedName.html +487 -47
- data/rdoc/RubyXL/DefinedNameExt.html +487 -47
- data/rdoc/RubyXL/DefinedNames.html +564 -47
- data/rdoc/RubyXL/DefinedNamesExt.html +487 -47
- data/rdoc/RubyXL/DocumentPropertiesFile.html +603 -86
- data/rdoc/RubyXL/DrawingFile.html +581 -75
- data/rdoc/RubyXL/DynamicFilter.html +487 -47
- data/rdoc/RubyXL/EmbeddedControl.html +487 -47
- data/rdoc/RubyXL/EmbeddedControls.html +487 -47
- data/rdoc/RubyXL/Extension.html +487 -47
- data/rdoc/RubyXL/ExtensionStorageArea.html +487 -47
- data/rdoc/RubyXL/Extents.html +487 -47
- data/rdoc/RubyXL/ExternalBook.html +487 -47
- data/rdoc/RubyXL/ExternalLinksFile.html +581 -75
- data/rdoc/RubyXL/ExternalReference.html +487 -47
- data/rdoc/RubyXL/ExternalReferences.html +487 -47
- data/rdoc/RubyXL/ExtraColorSchemeList.html +487 -47
- data/rdoc/RubyXL/FieldItem.html +487 -47
- data/rdoc/RubyXL/FileRecoveryProperties.html +487 -47
- data/rdoc/RubyXL/FileSharing.html +487 -47
- data/rdoc/RubyXL/FileVersion.html +487 -47
- data/rdoc/RubyXL/Fill.html +540 -68
- data/rdoc/RubyXL/Fills.html +540 -68
- data/rdoc/RubyXL/FilterContainer.html +487 -47
- data/rdoc/RubyXL/FloatNode.html +493 -47
- data/rdoc/RubyXL/FloatValue.html +493 -47
- data/rdoc/RubyXL/Font.html +551 -71
- data/rdoc/RubyXL/FontConvenienceMethods.html +938 -183
- data/rdoc/RubyXL/FontScheme.html +487 -47
- data/rdoc/RubyXL/Fonts.html +540 -68
- data/rdoc/RubyXL/Formula.html +487 -47
- data/rdoc/RubyXL/FunctionGroup.html +487 -47
- data/rdoc/RubyXL/FunctionGroups.html +487 -47
- data/rdoc/RubyXL/GenericStorageObject.html +671 -103
- data/rdoc/RubyXL/GradientFill.html +487 -47
- data/rdoc/RubyXL/HeaderFooterSettings.html +487 -47
- data/rdoc/RubyXL/Hyperlink.html +487 -47
- data/rdoc/RubyXL/HyperlinkRelFile.html +503 -49
- data/rdoc/RubyXL/Hyperlinks.html +487 -47
- data/rdoc/RubyXL/IconFilter.html +487 -47
- data/rdoc/RubyXL/IconSet.html +487 -47
- data/rdoc/RubyXL/IgnoredError.html +487 -47
- data/rdoc/RubyXL/IgnoredErrors.html +487 -47
- data/rdoc/RubyXL/IndexedColors.html +487 -47
- data/rdoc/RubyXL/InputCells.html +487 -47
- data/rdoc/RubyXL/IntegerNode.html +493 -47
- data/rdoc/RubyXL/IntegerValue.html +493 -47
- data/rdoc/RubyXL/LegacyCell.html +534 -65
- data/rdoc/RubyXL/LegacyWorksheet.html +727 -114
- data/rdoc/RubyXL/MRUColors.html +487 -47
- data/rdoc/RubyXL/MacrosFile.html +510 -50
- data/rdoc/RubyXL/MergedCell.html +487 -47
- data/rdoc/RubyXL/MergedCells.html +487 -47
- data/rdoc/RubyXL/NumFmt.html +487 -47
- data/rdoc/RubyXL/NumberFormat.html +540 -68
- data/rdoc/RubyXL/NumberFormats.html +551 -71
- data/rdoc/RubyXL/OLEObject.html +487 -47
- data/rdoc/RubyXL/OLEObjectFile.html +510 -50
- data/rdoc/RubyXL/OLEObjects.html +487 -47
- data/rdoc/RubyXL/OLESize.html +487 -47
- data/rdoc/RubyXL/OOXMLContainerObject.html +756 -137
- data/rdoc/RubyXL/OOXMLIgnored.html +598 -80
- data/rdoc/RubyXL/OOXMLObject.html +506 -52
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +741 -151
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +834 -169
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +894 -170
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +735 -131
- data/rdoc/RubyXL/OdbcOleDbProperties.html +487 -47
- data/rdoc/RubyXL/Offset.html +487 -47
- data/rdoc/RubyXL/OlapProperties.html +487 -47
- data/rdoc/RubyXL/OleItem.html +487 -47
- data/rdoc/RubyXL/OleItems.html +487 -47
- data/rdoc/RubyXL/OleLink.html +487 -47
- data/rdoc/RubyXL/OutlineProperties.html +487 -47
- data/rdoc/RubyXL/PageMargins.html +487 -47
- data/rdoc/RubyXL/PageSetup.html +487 -47
- data/rdoc/RubyXL/PageSetupProperties.html +487 -47
- data/rdoc/RubyXL/Pane.html +487 -47
- data/rdoc/RubyXL/Parser.html +578 -78
- data/rdoc/RubyXL/PatternFill.html +487 -47
- data/rdoc/RubyXL/PersonMetadata.html +568 -0
- data/rdoc/RubyXL/PhoneticProperties.html +487 -47
- data/rdoc/RubyXL/PhoneticRun.html +487 -47
- data/rdoc/RubyXL/PivotArea.html +487 -47
- data/rdoc/RubyXL/PivotCache.html +487 -47
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +529 -55
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +510 -50
- data/rdoc/RubyXL/PivotCaches.html +487 -47
- data/rdoc/RubyXL/PivotReference.html +487 -47
- data/rdoc/RubyXL/PivotReferences.html +487 -47
- data/rdoc/RubyXL/PivotTableFile.html +529 -55
- data/rdoc/RubyXL/PivotTableSelection.html +487 -47
- data/rdoc/RubyXL/PresetGeometry.html +487 -47
- data/rdoc/RubyXL/PrintOptions.html +487 -47
- data/rdoc/RubyXL/PrinterSettingsFile.html +510 -50
- data/rdoc/RubyXL/ProtectedRange.html +487 -47
- data/rdoc/RubyXL/ProtectedRanges.html +487 -47
- data/rdoc/RubyXL/Protection.html +487 -47
- data/rdoc/RubyXL/QueryParameter.html +487 -47
- data/rdoc/RubyXL/QueryParameters.html +487 -47
- data/rdoc/RubyXL/QueryTable.html +575 -75
- data/rdoc/RubyXL/QueryTableDeletedField.html +487 -47
- data/rdoc/RubyXL/QueryTableDeletedFields.html +487 -47
- data/rdoc/RubyXL/QueryTableField.html +487 -47
- data/rdoc/RubyXL/QueryTableFields.html +487 -47
- data/rdoc/RubyXL/QueryTableRefresh.html +487 -47
- data/rdoc/RubyXL/RID.html +493 -47
- data/rdoc/RubyXL/RawOOXML.html +605 -85
- data/rdoc/RubyXL/Reference.html +1109 -207
- data/rdoc/RubyXL/Relationship.html +493 -47
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +540 -65
- data/rdoc/RubyXL/RelationshipSupport.html +745 -126
- data/rdoc/RubyXL/RevisionPointer.html +487 -47
- data/rdoc/RubyXL/RichText.html +542 -70
- data/rdoc/RubyXL/RichTextRun.html +540 -68
- data/rdoc/RubyXL/Row.html +812 -148
- data/rdoc/RubyXL/RowExt.html +487 -47
- data/rdoc/RubyXL/RunProperties.html +487 -47
- data/rdoc/RubyXL/Scenario.html +487 -47
- data/rdoc/RubyXL/Scenarios.html +487 -47
- data/rdoc/RubyXL/Selection.html +540 -68
- data/rdoc/RubyXL/ShapeGuide.html +487 -47
- data/rdoc/RubyXL/ShapeTextRectangle.html +487 -47
- data/rdoc/RubyXL/SharedStringsTable.html +775 -137
- data/rdoc/RubyXL/Sheet.html +487 -47
- data/rdoc/RubyXL/SheetCalculationProperties.html +487 -47
- data/rdoc/RubyXL/SheetData.html +572 -78
- data/rdoc/RubyXL/SheetDataExt.html +487 -47
- data/rdoc/RubyXL/SheetDataSet.html +487 -47
- data/rdoc/RubyXL/SheetMetadata.html +510 -50
- data/rdoc/RubyXL/SheetName.html +487 -47
- data/rdoc/RubyXL/SheetNames.html +487 -47
- data/rdoc/RubyXL/Sheets.html +487 -47
- data/rdoc/RubyXL/SlicerCacheFile.html +510 -50
- data/rdoc/RubyXL/SlicerFile.html +510 -50
- data/rdoc/RubyXL/SmartTagProperties.html +487 -47
- data/rdoc/RubyXL/SmartTagType.html +487 -47
- data/rdoc/RubyXL/SmartTagTypes.html +487 -47
- data/rdoc/RubyXL/SmartTags.html +487 -47
- data/rdoc/RubyXL/SortCondition.html +487 -47
- data/rdoc/RubyXL/SortState.html +487 -47
- data/rdoc/RubyXL/Sqref.html +599 -81
- data/rdoc/RubyXL/Stop.html +487 -47
- data/rdoc/RubyXL/StringNode.html +493 -47
- data/rdoc/RubyXL/StringNodeW3C.html +598 -80
- data/rdoc/RubyXL/StringValue.html +493 -47
- data/rdoc/RubyXL/Stylesheet.html +707 -114
- data/rdoc/RubyXL/TableFile.html +510 -50
- data/rdoc/RubyXL/TableParts.html +493 -47
- data/rdoc/RubyXL/TableStyle.html +487 -47
- data/rdoc/RubyXL/TableStyles.html +487 -47
- data/rdoc/RubyXL/Text.html +591 -83
- data/rdoc/RubyXL/TextImportSettings.html +487 -47
- data/rdoc/RubyXL/Theme.html +651 -103
- data/rdoc/RubyXL/ThemeElements.html +487 -47
- data/rdoc/RubyXL/ThumbnailFile.html +510 -50
- data/rdoc/RubyXL/Top10.html +487 -47
- data/rdoc/RubyXL/VMLDrawingFile.html +530 -56
- data/rdoc/RubyXL/Variant.html +487 -47
- data/rdoc/RubyXL/Vector.html +540 -68
- data/rdoc/RubyXL/VectorValue.html +493 -47
- data/rdoc/RubyXL/VisualProperties.html +487 -47
- data/rdoc/RubyXL/WebPublishObject.html +487 -47
- data/rdoc/RubyXL/WebPublishObjects.html +487 -47
- data/rdoc/RubyXL/WebPublishingItem.html +487 -47
- data/rdoc/RubyXL/WebPublishingItems.html +487 -47
- data/rdoc/RubyXL/WebPublishingProperties.html +487 -47
- data/rdoc/RubyXL/WebQueryProperties.html +487 -47
- data/rdoc/RubyXL/Workbook.html +1560 -367
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +1069 -226
- data/rdoc/RubyXL/WorkbookProperties.html +487 -47
- data/rdoc/RubyXL/WorkbookProtection.html +487 -47
- data/rdoc/RubyXL/WorkbookRoot.html +741 -123
- data/rdoc/RubyXL/WorkbookView.html +487 -47
- data/rdoc/RubyXL/WorkbookViews.html +487 -47
- data/rdoc/RubyXL/Worksheet.html +840 -154
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +2725 -699
- data/rdoc/RubyXL/WorksheetDimensions.html +487 -47
- data/rdoc/RubyXL/WorksheetFormatProperties.html +493 -47
- data/rdoc/RubyXL/WorksheetProperties.html +487 -47
- data/rdoc/RubyXL/WorksheetProtection.html +487 -47
- data/rdoc/RubyXL/WorksheetView.html +487 -47
- data/rdoc/RubyXL/WorksheetViews.html +487 -47
- data/rdoc/RubyXL/XF.html +487 -47
- data/rdoc/RubyXL.html +1200 -163
- data/rdoc/created.rid +38 -38
- data/rdoc/css/rdoc.css +1670 -354
- data/rdoc/index.html +418 -433
- data/rdoc/js/aliki.js +511 -0
- data/rdoc/js/bash_highlighter.js +167 -0
- data/rdoc/js/c_highlighter.js +299 -0
- data/rdoc/js/{search.js → search_controller.js} +31 -12
- data/rdoc/js/search_data.js +1 -0
- data/rdoc/js/{navigation.js → search_navigation.js} +10 -10
- data/rdoc/js/search_ranker.js +239 -0
- data/rdoc/js/theme-toggle.js +112 -0
- data/rubyXL.gemspec +27 -70
- data/spec/lib/cell_spec.rb +56 -4
- data/spec/lib/color_spec.rb +7 -0
- data/spec/lib/parser_spec.rb +8 -5
- data/spec/lib/reference_spec.rb +69 -6
- data/spec/lib/rgb_color_spec.rb +2 -0
- data/spec/lib/stylesheet_spec.rb +2 -0
- data/spec/lib/text_spec.rb +3 -1
- data/spec/lib/workbook_spec.rb +6 -4
- data/spec/lib/worksheet_spec.rb +29 -17
- metadata +31 -47
- data/Gemfile.lock +0 -124
- data/rdoc/css/fonts.css +0 -167
- data/rdoc/fonts/Lato-Light.ttf +0 -0
- data/rdoc/fonts/Lato-LightItalic.ttf +0 -0
- data/rdoc/fonts/Lato-Regular.ttf +0 -0
- data/rdoc/fonts/Lato-RegularItalic.ttf +0 -0
- data/rdoc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/rdoc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/rdoc/images/add.png +0 -0
- data/rdoc/images/arrow_up.png +0 -0
- data/rdoc/images/brick.png +0 -0
- data/rdoc/images/brick_link.png +0 -0
- data/rdoc/images/bug.png +0 -0
- data/rdoc/images/bullet_black.png +0 -0
- data/rdoc/images/bullet_toggle_minus.png +0 -0
- data/rdoc/images/bullet_toggle_plus.png +0 -0
- data/rdoc/images/date.png +0 -0
- data/rdoc/images/delete.png +0 -0
- data/rdoc/images/find.png +0 -0
- data/rdoc/images/loadingAnimation.gif +0 -0
- data/rdoc/images/macFFBgHack.png +0 -0
- data/rdoc/images/package.png +0 -0
- data/rdoc/images/page_green.png +0 -0
- data/rdoc/images/page_white_text.png +0 -0
- data/rdoc/images/page_white_width.png +0 -0
- data/rdoc/images/plugin.png +0 -0
- data/rdoc/images/ruby.png +0 -0
- data/rdoc/images/tag_blue.png +0 -0
- data/rdoc/images/tag_green.png +0 -0
- data/rdoc/images/transparent.png +0 -0
- data/rdoc/images/wrench.png +0 -0
- data/rdoc/images/wrench_orange.png +0 -0
- data/rdoc/images/zoom.png +0 -0
- data/rdoc/js/darkfish.js +0 -84
- data/rdoc/js/navigation.js.gz +0 -0
- data/rdoc/js/search_index.js +0 -1
- data/rdoc/js/search_index.js.gz +0 -0
- data/rdoc/js/searcher.js +0 -229
- data/rdoc/js/searcher.js.gz +0 -0
- data/rdoc/table_of_contents.html +0 -3010
data/rdoc/RubyXL/Reference.html
CHANGED
|
@@ -1,98 +1,548 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
|
|
3
|
-
<html>
|
|
3
|
+
<html lang="en">
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
7
|
|
|
7
|
-
<title>class RubyXL::Reference - rubyXL 3.4.
|
|
8
|
+
<title>class RubyXL::Reference - rubyXL 3.4.38</title>
|
|
8
9
|
|
|
9
|
-
<script type="text/javascript">
|
|
10
|
-
var rdoc_rel_prefix = "../";
|
|
11
|
-
var index_rel_prefix = "../";
|
|
12
|
-
</script>
|
|
13
10
|
|
|
14
|
-
<
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
<script src="../js/darkfish.js" defer></script>
|
|
11
|
+
<meta
|
|
12
|
+
name="keywords"
|
|
13
|
+
content="ruby,class,RubyXL::Reference"
|
|
14
|
+
>
|
|
19
15
|
|
|
20
|
-
<
|
|
21
|
-
|
|
16
|
+
<meta
|
|
17
|
+
name="description"
|
|
18
|
+
content="Documentation for the RubyXL::Reference class"
|
|
19
|
+
>
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
<!-- Open Graph / Facebook -->
|
|
26
|
+
<meta property="og:type" content="website">
|
|
27
|
+
<meta property="og:title" content="class RubyXL::Reference - rubyXL 3.4.38">
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
<meta
|
|
32
|
+
property="og:description"
|
|
33
|
+
content="Documentation for RubyXL::Reference class - API reference and code examples"
|
|
34
|
+
>
|
|
22
35
|
|
|
23
36
|
|
|
24
|
-
<body id="top" role="document" class="class">
|
|
25
|
-
<nav role="navigation">
|
|
26
|
-
<div id="project-navigation">
|
|
27
|
-
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
|
28
|
-
<h2>
|
|
29
|
-
<a href="../index.html" rel="home">Home</a>
|
|
30
|
-
</h2>
|
|
31
37
|
|
|
32
|
-
<div id="table-of-contents-navigation">
|
|
33
|
-
<a href="../table_of_contents.html#pages">Pages</a>
|
|
34
|
-
<a href="../table_of_contents.html#classes">Classes</a>
|
|
35
|
-
<a href="../table_of_contents.html#methods">Methods</a>
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
|
|
40
|
+
<!-- Twitter -->
|
|
41
|
+
<meta name="twitter:card" content="summary">
|
|
42
|
+
<meta name="twitter:title" content="class RubyXL::Reference - rubyXL 3.4.38">
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
<meta
|
|
47
|
+
name="twitter:description"
|
|
48
|
+
content="Documentation for RubyXL::Reference class - API reference and code examples"
|
|
49
|
+
>
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
<script type="text/javascript">
|
|
54
|
+
var rdoc_rel_prefix = "../";
|
|
55
|
+
var index_rel_prefix = "../";
|
|
56
|
+
</script>
|
|
57
|
+
|
|
58
|
+
<script
|
|
59
|
+
src="../js/theme-toggle.js?v=7.2.0"
|
|
60
|
+
></script>
|
|
61
|
+
|
|
62
|
+
<script
|
|
63
|
+
src="../js/search_navigation.js?v=7.2.0"
|
|
64
|
+
defer
|
|
65
|
+
></script>
|
|
66
|
+
|
|
67
|
+
<script
|
|
68
|
+
src="../js/search_data.js?v=7.2.0"
|
|
69
|
+
defer
|
|
70
|
+
></script>
|
|
71
|
+
|
|
72
|
+
<script
|
|
73
|
+
src="../js/search_ranker.js?v=7.2.0"
|
|
74
|
+
defer
|
|
75
|
+
></script>
|
|
76
|
+
|
|
77
|
+
<script
|
|
78
|
+
src="../js/search_controller.js?v=7.2.0"
|
|
79
|
+
defer
|
|
80
|
+
></script>
|
|
81
|
+
|
|
82
|
+
<script
|
|
83
|
+
src="../js/c_highlighter.js?v=7.2.0"
|
|
84
|
+
defer
|
|
85
|
+
></script>
|
|
86
|
+
|
|
87
|
+
<script
|
|
88
|
+
src="../js/bash_highlighter.js?v=7.2.0"
|
|
89
|
+
defer
|
|
90
|
+
></script>
|
|
91
|
+
|
|
92
|
+
<script
|
|
93
|
+
src="../js/aliki.js?v=7.2.0"
|
|
94
|
+
defer
|
|
95
|
+
></script>
|
|
96
|
+
|
|
97
|
+
<link
|
|
98
|
+
href="../css/rdoc.css?v=7.2.0"
|
|
99
|
+
rel="stylesheet"
|
|
100
|
+
>
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
<body role="document" class="class has-toc">
|
|
106
|
+
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
|
107
|
+
<!-- Chevron (right arrow) - used for expand/collapse -->
|
|
108
|
+
<symbol
|
|
109
|
+
id="icon-chevron"
|
|
110
|
+
viewBox="0 0 24 24"
|
|
111
|
+
fill="none"
|
|
112
|
+
stroke="currentColor"
|
|
113
|
+
stroke-width="2"
|
|
114
|
+
stroke-linecap="round"
|
|
115
|
+
stroke-linejoin="round"
|
|
116
|
+
>
|
|
117
|
+
<polyline points="9 18 15 12 9 6"></polyline>
|
|
118
|
+
</symbol>
|
|
119
|
+
|
|
120
|
+
<!-- File/Document - Pages section -->
|
|
121
|
+
<symbol
|
|
122
|
+
id="icon-file"
|
|
123
|
+
viewBox="0 0 24 24"
|
|
124
|
+
fill="none"
|
|
125
|
+
stroke="currentColor"
|
|
126
|
+
stroke-width="2"
|
|
127
|
+
stroke-linecap="round"
|
|
128
|
+
stroke-linejoin="round"
|
|
129
|
+
>
|
|
130
|
+
<path
|
|
131
|
+
d="M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z"
|
|
132
|
+
></path>
|
|
133
|
+
|
|
134
|
+
<polyline points="14 2 14 8 20 8"></polyline>
|
|
135
|
+
</symbol>
|
|
136
|
+
|
|
137
|
+
<!-- Layers/Stack - Classes and Modules section -->
|
|
138
|
+
<symbol
|
|
139
|
+
id="icon-layers"
|
|
140
|
+
viewBox="0 0 24 24"
|
|
141
|
+
fill="none"
|
|
142
|
+
stroke="currentColor"
|
|
143
|
+
stroke-width="2"
|
|
144
|
+
stroke-linecap="round"
|
|
145
|
+
stroke-linejoin="round"
|
|
146
|
+
>
|
|
147
|
+
<polygon points="12 2 2 7 12 12 22 7 12 2"></polygon>
|
|
148
|
+
<polyline points="2 17 12 22 22 17"></polyline>
|
|
149
|
+
<polyline points="2 12 12 17 22 12"></polyline>
|
|
150
|
+
</symbol>
|
|
151
|
+
|
|
152
|
+
<!-- Curly braces with C - Class Methods section -->
|
|
153
|
+
<symbol
|
|
154
|
+
id="icon-class-methods"
|
|
155
|
+
viewBox="0 0 24 24"
|
|
156
|
+
fill="none"
|
|
157
|
+
stroke="currentColor"
|
|
158
|
+
stroke-width="2"
|
|
159
|
+
stroke-linecap="round"
|
|
160
|
+
stroke-linejoin="round"
|
|
161
|
+
>
|
|
162
|
+
<path d="M6 3C3.5 3 2 4.5 2 7v3c0 1.5-1 2-1 2s1 .5 1 2v5c0 2.5 1.5 4 4 4"></path>
|
|
163
|
+
<path d="M18 3c2.5 0 4 1.5 4 4v3c0 1.5 1 2 1 2s-1 .5-1 2v5c0 2.5-1.5 4-4 4"></path>
|
|
164
|
+
|
|
165
|
+
<text
|
|
166
|
+
x="12"
|
|
167
|
+
y="17"
|
|
168
|
+
text-anchor="middle"
|
|
169
|
+
font-size="13"
|
|
170
|
+
font-weight="bold"
|
|
171
|
+
fill="currentColor"
|
|
172
|
+
stroke="none"
|
|
173
|
+
>
|
|
174
|
+
C
|
|
175
|
+
</text>
|
|
176
|
+
</symbol>
|
|
177
|
+
|
|
178
|
+
<!-- Curly braces with I - Instance Methods section -->
|
|
179
|
+
<symbol
|
|
180
|
+
id="icon-instance-methods"
|
|
181
|
+
viewBox="0 0 24 24"
|
|
182
|
+
fill="none"
|
|
183
|
+
stroke="currentColor"
|
|
184
|
+
stroke-width="2"
|
|
185
|
+
stroke-linecap="round"
|
|
186
|
+
stroke-linejoin="round"
|
|
187
|
+
>
|
|
188
|
+
<path d="M6 3C3.5 3 2 4.5 2 7v3c0 1.5-1 2-1 2s1 .5 1 2v5c0 2.5 1.5 4 4 4"></path>
|
|
189
|
+
<path d="M18 3c2.5 0 4 1.5 4 4v3c0 1.5 1 2 1 2s-1 .5-1 2v5c0 2.5-1.5 4-4 4"></path>
|
|
190
|
+
|
|
191
|
+
<text
|
|
192
|
+
x="12"
|
|
193
|
+
y="17"
|
|
194
|
+
text-anchor="middle"
|
|
195
|
+
font-size="13"
|
|
196
|
+
font-weight="bold"
|
|
197
|
+
fill="currentColor"
|
|
198
|
+
stroke="none"
|
|
199
|
+
>
|
|
200
|
+
I
|
|
201
|
+
</text>
|
|
202
|
+
</symbol>
|
|
203
|
+
|
|
204
|
+
<!-- Double chevrons up - Ancestors section -->
|
|
205
|
+
<symbol
|
|
206
|
+
id="icon-ancestors"
|
|
207
|
+
viewBox="0 0 24 24"
|
|
208
|
+
fill="none"
|
|
209
|
+
stroke="currentColor"
|
|
210
|
+
stroke-width="2"
|
|
211
|
+
stroke-linecap="round"
|
|
212
|
+
stroke-linejoin="round"
|
|
213
|
+
>
|
|
214
|
+
<polyline points="17 11 12 6 7 11"></polyline>
|
|
215
|
+
<polyline points="17 18 12 13 7 18"></polyline>
|
|
216
|
+
</symbol>
|
|
217
|
+
|
|
218
|
+
<!-- User with plus - Included Modules section -->
|
|
219
|
+
<symbol
|
|
220
|
+
id="icon-includes"
|
|
221
|
+
viewBox="0 0 24 24"
|
|
222
|
+
fill="none"
|
|
223
|
+
stroke="currentColor"
|
|
224
|
+
stroke-width="2"
|
|
225
|
+
stroke-linecap="round"
|
|
226
|
+
stroke-linejoin="round"
|
|
227
|
+
>
|
|
228
|
+
<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>
|
|
229
|
+
<circle cx="8.5" cy="7" r="4"></circle>
|
|
230
|
+
|
|
231
|
+
<line
|
|
232
|
+
x1="20"
|
|
233
|
+
y1="8"
|
|
234
|
+
x2="20"
|
|
235
|
+
y2="14"
|
|
236
|
+
></line>
|
|
237
|
+
|
|
238
|
+
<line
|
|
239
|
+
x1="23"
|
|
240
|
+
y1="11"
|
|
241
|
+
x2="17"
|
|
242
|
+
y2="11"
|
|
243
|
+
></line>
|
|
244
|
+
</symbol>
|
|
245
|
+
|
|
246
|
+
<!-- User with check - Extended Modules section -->
|
|
247
|
+
<symbol
|
|
248
|
+
id="icon-extends"
|
|
249
|
+
viewBox="0 0 24 24"
|
|
250
|
+
fill="none"
|
|
251
|
+
stroke="currentColor"
|
|
252
|
+
stroke-width="2"
|
|
253
|
+
stroke-linecap="round"
|
|
254
|
+
stroke-linejoin="round"
|
|
255
|
+
>
|
|
256
|
+
<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>
|
|
257
|
+
<circle cx="8.5" cy="7" r="4"></circle>
|
|
258
|
+
<polyline points="17 11 19 13 23 9"></polyline>
|
|
259
|
+
</symbol>
|
|
260
|
+
|
|
261
|
+
<!-- List - Sections section -->
|
|
262
|
+
<symbol
|
|
263
|
+
id="icon-list"
|
|
264
|
+
viewBox="0 0 24 24"
|
|
265
|
+
fill="none"
|
|
266
|
+
stroke="currentColor"
|
|
267
|
+
stroke-width="2"
|
|
268
|
+
stroke-linecap="round"
|
|
269
|
+
stroke-linejoin="round"
|
|
270
|
+
>
|
|
271
|
+
<line
|
|
272
|
+
x1="8"
|
|
273
|
+
y1="6"
|
|
274
|
+
x2="21"
|
|
275
|
+
y2="6"
|
|
276
|
+
></line>
|
|
277
|
+
|
|
278
|
+
<line
|
|
279
|
+
x1="8"
|
|
280
|
+
y1="12"
|
|
281
|
+
x2="21"
|
|
282
|
+
y2="12"
|
|
283
|
+
></line>
|
|
284
|
+
|
|
285
|
+
<line
|
|
286
|
+
x1="8"
|
|
287
|
+
y1="18"
|
|
288
|
+
x2="21"
|
|
289
|
+
y2="18"
|
|
290
|
+
></line>
|
|
291
|
+
|
|
292
|
+
<line
|
|
293
|
+
x1="3"
|
|
294
|
+
y1="6"
|
|
295
|
+
x2="3.01"
|
|
296
|
+
y2="6"
|
|
297
|
+
></line>
|
|
298
|
+
|
|
299
|
+
<line
|
|
300
|
+
x1="3"
|
|
301
|
+
y1="12"
|
|
302
|
+
x2="3.01"
|
|
303
|
+
y2="12"
|
|
304
|
+
></line>
|
|
305
|
+
|
|
306
|
+
<line
|
|
307
|
+
x1="3"
|
|
308
|
+
y1="18"
|
|
309
|
+
x2="3.01"
|
|
310
|
+
y2="18"
|
|
311
|
+
></line>
|
|
312
|
+
</symbol>
|
|
313
|
+
</svg>
|
|
314
|
+
|
|
315
|
+
<header class="top-navbar">
|
|
316
|
+
<a href="../index.html" class="navbar-brand">
|
|
317
|
+
rubyXL 3.4.38
|
|
318
|
+
</a>
|
|
319
|
+
|
|
320
|
+
<!-- Desktop search bar -->
|
|
321
|
+
<div class="navbar-search navbar-search-desktop" role="search">
|
|
322
|
+
<form action="#" method="get" accept-charset="utf-8">
|
|
42
323
|
<input id="search-field" role="combobox" aria-label="Search"
|
|
43
|
-
aria-autocomplete="list" aria-controls="search-results"
|
|
44
|
-
type="text" name="search" placeholder="Search
|
|
324
|
+
aria-autocomplete="list" aria-controls="search-results-desktop"
|
|
325
|
+
type="text" name="search" placeholder="Search (/) for a class, method..."
|
|
326
|
+
spellcheck="false" autocomplete="off"
|
|
45
327
|
title="Type to search, Up and Down to navigate, Enter to load">
|
|
328
|
+
<ul id="search-results-desktop" aria-label="Search Results"
|
|
329
|
+
aria-busy="false" aria-expanded="false"
|
|
330
|
+
aria-atomic="false" class="initially-hidden search-results"></ul>
|
|
331
|
+
</form>
|
|
332
|
+
</div>
|
|
333
|
+
|
|
334
|
+
<!-- Mobile search icon button -->
|
|
335
|
+
<button id="search-toggle" class="navbar-search-mobile" aria-label="Open search" type="button">
|
|
336
|
+
<span aria-hidden="true">🔍</span>
|
|
337
|
+
</button>
|
|
338
|
+
|
|
339
|
+
<!-- Theme toggle button -->
|
|
340
|
+
<button id="theme-toggle" class="theme-toggle" aria-label="Switch to dark mode" type="button">
|
|
341
|
+
<span class="theme-toggle-icon" aria-hidden="true">🌙</span>
|
|
342
|
+
</button>
|
|
343
|
+
</header>
|
|
344
|
+
|
|
345
|
+
<!-- Search Modal (Mobile) -->
|
|
346
|
+
<div id="search-modal" class="search-modal" hidden aria-modal="true" role="dialog" aria-label="Search">
|
|
347
|
+
<div class="search-modal-backdrop"></div>
|
|
348
|
+
<div class="search-modal-content">
|
|
349
|
+
<div class="search-modal-header">
|
|
350
|
+
<form class="search-modal-form" action="#" method="get" accept-charset="utf-8">
|
|
351
|
+
<span class="search-modal-icon" aria-hidden="true">🔍</span>
|
|
352
|
+
<input id="search-field-mobile" role="combobox" aria-label="Search"
|
|
353
|
+
aria-autocomplete="list" aria-controls="search-results-mobile"
|
|
354
|
+
type="text" name="search" placeholder="Search documentation"
|
|
355
|
+
spellcheck="false" autocomplete="off">
|
|
356
|
+
<button type="button" class="search-modal-close" aria-label="Close search" id="search-modal-close">
|
|
357
|
+
<span aria-hidden="true">esc</span>
|
|
358
|
+
</button>
|
|
359
|
+
</form>
|
|
360
|
+
</div>
|
|
361
|
+
<div class="search-modal-body">
|
|
362
|
+
<ul id="search-results-mobile" aria-label="Search Results"
|
|
363
|
+
aria-busy="false" aria-expanded="false"
|
|
364
|
+
aria-atomic="false" class="search-results search-modal-results initially-hidden"></ul>
|
|
365
|
+
<div class="search-modal-empty">
|
|
366
|
+
<p>No recent searches</p>
|
|
367
|
+
</div>
|
|
46
368
|
</div>
|
|
369
|
+
</div>
|
|
370
|
+
</div>
|
|
47
371
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
aria-atomic="false" class="initially-hidden"></ul>
|
|
51
|
-
</form>
|
|
372
|
+
<div id="navigation-toggle" role="button" tabindex="0" aria-label="Toggle sidebar" aria-expanded="true" aria-controls="navigation">
|
|
373
|
+
<span aria-hidden="true">☰</span>
|
|
52
374
|
</div>
|
|
53
375
|
|
|
376
|
+
|
|
377
|
+
<nav id="navigation" role="navigation" hidden>
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
<div id="fileindex-section" class="nav-section">
|
|
384
|
+
<details class="nav-section-collapsible" >
|
|
385
|
+
<summary class="nav-section-header">
|
|
386
|
+
<span class="nav-section-icon">
|
|
387
|
+
<svg>
|
|
388
|
+
<use href="#icon-file"></use>
|
|
389
|
+
</svg>
|
|
390
|
+
</span>
|
|
391
|
+
|
|
392
|
+
<span class="nav-section-title">Pages</span>
|
|
393
|
+
|
|
394
|
+
<span class="nav-section-chevron">
|
|
395
|
+
<svg>
|
|
396
|
+
<use href="#icon-chevron"></use>
|
|
397
|
+
</svg>
|
|
398
|
+
</span>
|
|
399
|
+
</summary>
|
|
400
|
+
|
|
401
|
+
<ul class="nav-list">
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
<li>
|
|
409
|
+
<a href="../README_rdoc.html">
|
|
410
|
+
README
|
|
411
|
+
</a>
|
|
412
|
+
</li>
|
|
413
|
+
|
|
414
|
+
</ul>
|
|
415
|
+
</details>
|
|
54
416
|
</div>
|
|
55
417
|
|
|
418
|
+
|
|
56
419
|
|
|
57
420
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
421
|
+
|
|
61
422
|
<div id="parent-class-section" class="nav-section">
|
|
62
|
-
<
|
|
63
|
-
|
|
64
|
-
|
|
423
|
+
<details class="nav-section-collapsible" open>
|
|
424
|
+
<summary class="nav-section-header">
|
|
425
|
+
<span class="nav-section-icon">
|
|
426
|
+
<svg><use href="#icon-ancestors"></use></svg>
|
|
427
|
+
</span>
|
|
428
|
+
<span class="nav-section-title">Ancestors</span>
|
|
429
|
+
<span class="nav-section-chevron">
|
|
430
|
+
<svg><use href="#icon-chevron"></use></svg>
|
|
431
|
+
</span>
|
|
432
|
+
</summary>
|
|
433
|
+
<ul><li>Object</li></ul>
|
|
434
|
+
</details>
|
|
65
435
|
</div>
|
|
66
436
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
<!-- Method Quickref -->
|
|
71
|
-
<div id="method-list-section" class="nav-section">
|
|
72
|
-
<h3>Methods</h3>
|
|
73
|
-
|
|
74
|
-
<ul class="link-list" role="directory">
|
|
75
|
-
<li ><a href="#method-c-ind2ref">::ind2ref</a>
|
|
76
|
-
<li ><a href="#method-c-new">::new</a>
|
|
77
|
-
<li ><a href="#method-c-ref2ind">::ref2ind</a>
|
|
78
|
-
<li ><a href="#method-i-3D-3D">#==</a>
|
|
79
|
-
<li ><a href="#method-i-cover-3F">#cover?</a>
|
|
80
|
-
<li ><a href="#method-i-first_col">#first_col</a>
|
|
81
|
-
<li ><a href="#method-i-first_row">#first_row</a>
|
|
82
|
-
<li ><a href="#method-i-inspect">#inspect</a>
|
|
83
|
-
<li ><a href="#method-i-last_col">#last_col</a>
|
|
84
|
-
<li ><a href="#method-i-last_row">#last_row</a>
|
|
85
|
-
<li ><a href="#method-i-single_cell-3F">#single_cell?</a>
|
|
86
|
-
<li ><a href="#method-i-to_s">#to_s</a>
|
|
87
|
-
<li ><a href="#method-i-valid-3F">#valid?</a>
|
|
88
|
-
</ul>
|
|
89
|
-
</div>
|
|
90
437
|
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
<div class="nav-section">
|
|
444
|
+
<details class="nav-section-collapsible" open>
|
|
445
|
+
<summary class="nav-section-header">
|
|
446
|
+
<span class="nav-section-icon">
|
|
447
|
+
<svg><use href="#icon-class-methods"></use></svg>
|
|
448
|
+
</span>
|
|
449
|
+
<span class="nav-section-title">Class Methods</span>
|
|
450
|
+
<span class="nav-section-chevron">
|
|
451
|
+
<svg><use href="#icon-chevron"></use></svg>
|
|
452
|
+
</span>
|
|
453
|
+
</summary>
|
|
454
|
+
<ul class="nav-list" role="directory">
|
|
455
|
+
|
|
456
|
+
<li ><a href="#method-c-ind2ref">ind2ref</a></li>
|
|
457
|
+
|
|
458
|
+
<li ><a href="#method-c-new">new</a></li>
|
|
459
|
+
|
|
460
|
+
<li ><a href="#method-c-ref2ind">ref2ind</a></li>
|
|
461
|
+
|
|
462
|
+
</ul>
|
|
463
|
+
</details>
|
|
91
464
|
</div>
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
<div class="nav-section">
|
|
469
|
+
<details class="nav-section-collapsible" open>
|
|
470
|
+
<summary class="nav-section-header">
|
|
471
|
+
<span class="nav-section-icon">
|
|
472
|
+
<svg><use href="#icon-instance-methods"></use></svg>
|
|
473
|
+
</span>
|
|
474
|
+
<span class="nav-section-title">Instance Methods</span>
|
|
475
|
+
<span class="nav-section-chevron">
|
|
476
|
+
<svg><use href="#icon-chevron"></use></svg>
|
|
477
|
+
</span>
|
|
478
|
+
</summary>
|
|
479
|
+
<ul class="nav-list" role="directory">
|
|
480
|
+
|
|
481
|
+
<li ><a href="#method-i-3D-3D">==</a></li>
|
|
482
|
+
|
|
483
|
+
<li ><a href="#method-i-cover-3F">cover?</a></li>
|
|
484
|
+
|
|
485
|
+
<li ><a href="#method-i-first_col">first_col</a></li>
|
|
486
|
+
|
|
487
|
+
<li ><a href="#method-i-first_row">first_row</a></li>
|
|
488
|
+
|
|
489
|
+
<li ><a href="#method-i-inspect">inspect</a></li>
|
|
490
|
+
|
|
491
|
+
<li ><a href="#method-i-last_col">last_col</a></li>
|
|
492
|
+
|
|
493
|
+
<li ><a href="#method-i-last_row">last_row</a></li>
|
|
494
|
+
|
|
495
|
+
<li ><a href="#method-i-single_cell-3F">single_cell?</a></li>
|
|
496
|
+
|
|
497
|
+
<li ><a href="#method-i-to_s">to_s</a></li>
|
|
498
|
+
|
|
499
|
+
<li ><a href="#method-i-valid-3F">valid?</a></li>
|
|
500
|
+
|
|
501
|
+
</ul>
|
|
502
|
+
</details>
|
|
503
|
+
</div>
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
<div id="classindex-section" class="nav-section">
|
|
507
|
+
<details class="nav-section-collapsible" open>
|
|
508
|
+
<summary class="nav-section-header">
|
|
509
|
+
<span class="nav-section-icon">
|
|
510
|
+
<svg><use href="#icon-layers"></use></svg>
|
|
511
|
+
</span>
|
|
512
|
+
<span class="nav-section-title">Classes and Modules</span>
|
|
513
|
+
<span class="nav-section-chevron">
|
|
514
|
+
<svg><use href="#icon-chevron"></use></svg>
|
|
515
|
+
</span>
|
|
516
|
+
</summary>
|
|
517
|
+
|
|
518
|
+
<ul class="link-list nav-list"><li><details open><summary><code><a href="../RubyXL.html">RubyXL</a></code></summary><ul class="link-list nav-list"><li><code><a href="../RubyXL/AExtension.html">AExtension</a></code></li><li><code><a href="../RubyXL/AExtensionStorageArea.html">AExtensionStorageArea</a></code></li><li><code><a href="../RubyXL/ActiveX.html">ActiveX</a></code></li><li><code><a href="../RubyXL/ActiveXBinary.html">ActiveXBinary</a></code></li><li><code><a href="../RubyXL/AdjustHandleList.html">AdjustHandleList</a></code></li><li><code><a href="../RubyXL/Alignment.html">Alignment</a></code></li><li><code><a href="../RubyXL/AlternateContent.html">AlternateContent</a></code></li><li><code><a href="../RubyXL/AlternateUrls.html">AlternateUrls</a></code></li><li><code><a href="../RubyXL/Authors.html">Authors</a></code></li><li><code><a href="../RubyXL/AutoFilter.html">AutoFilter</a></code></li><li><code><a href="../RubyXL/AutoFilterColumn.html">AutoFilterColumn</a></code></li><li><code><a href="../RubyXL/BinaryImageFile.html">BinaryImageFile</a></code></li><li><code><a href="../RubyXL/BodyProperties.html">BodyProperties</a></code></li><li><code><a href="../RubyXL/BooleanNode.html">BooleanNode</a></code></li><li><code><a href="../RubyXL/BooleanValue.html">BooleanValue</a></code></li><li><code><a href="../RubyXL/Border.html">Border</a></code></li><li><code><a href="../RubyXL/BorderEdge.html">BorderEdge</a></code></li><li><code><a href="../RubyXL/Borders.html">Borders</a></code></li><li><code><a href="../RubyXL/Break.html">Break</a></code></li><li><code><a href="../RubyXL/BreakList.html">BreakList</a></code></li><li><code><a href="../RubyXL/CT_AdjPoint2D.html">CT_AdjPoint2D</a></code></li><li><code><a href="../RubyXL/CT_AlphaBiLevelEffect.html">CT_AlphaBiLevelEffect</a></code></li><li><code><a href="../RubyXL/CT_AlphaModulateEffect.html">CT_AlphaModulateEffect</a></code></li><li><code><a href="../RubyXL/CT_AlphaModulateFixedEffect.html">CT_AlphaModulateFixedEffect</a></code></li><li><code><a href="../RubyXL/CT_AlphaOutsetEffect.html">CT_AlphaOutsetEffect</a></code></li><li><code><a href="../RubyXL/CT_AlphaReplaceEffect.html">CT_AlphaReplaceEffect</a></code></li><li><code><a href="../RubyXL/CT_Backdrop.html">CT_Backdrop</a></code></li><li><code><a href="../RubyXL/CT_Bevel.html">CT_Bevel</a></code></li><li><code><a href="../RubyXL/CT_BiLevelEffect.html">CT_BiLevelEffect</a></code></li><li><code><a href="../RubyXL/CT_BlendEffect.html">CT_BlendEffect</a></code></li><li><code><a href="../RubyXL/CT_Blip.html">CT_Blip</a></code></li><li><code><a href="../RubyXL/CT_BlipFillProperties.html">CT_BlipFillProperties</a></code></li><li><code><a href="../RubyXL/CT_BlurEffect.html">CT_BlurEffect</a></code></li><li><code><a href="../RubyXL/CT_Camera.html">CT_Camera</a></code></li><li><code><a href="../RubyXL/CT_Color.html">CT_Color</a></code></li><li><code><a href="../RubyXL/CT_ColorChangeEffect.html">CT_ColorChangeEffect</a></code></li><li><code><a href="../RubyXL/CT_ColorMapping.html">CT_ColorMapping</a></code></li><li><code><a href="../RubyXL/CT_ColorScheme.html">CT_ColorScheme</a></code></li><li><code><a href="../RubyXL/CT_ColorSchemeAndMapping.html">CT_ColorSchemeAndMapping</a></code></li><li><code><a href="../RubyXL/CT_ConnectionSite.html">CT_ConnectionSite</a></code></li><li><code><a href="../RubyXL/CT_ConnectionSiteList.html">CT_ConnectionSiteList</a></code></li><li><code><a href="../RubyXL/CT_DashStop.html">CT_DashStop</a></code></li><li><code><a href="../RubyXL/CT_DashStopList.html">CT_DashStopList</a></code></li><li><code><a href="../RubyXL/CT_DefaultShapeDefinition.html">CT_DefaultShapeDefinition</a></code></li><li><code><a href="../RubyXL/CT_DuotoneEffect.html">CT_DuotoneEffect</a></code></li><li><code><a href="../RubyXL/CT_EffectContainer.html">CT_EffectContainer</a></code></li><li><code><a href="../RubyXL/CT_EffectList.html">CT_EffectList</a></code></li><li><code><a href="../RubyXL/CT_EffectReference.html">CT_EffectReference</a></code></li><li><code><a href="../RubyXL/CT_EffectStyleItem.html">CT_EffectStyleItem</a></code></li><li><code><a href="../RubyXL/CT_EffectStyleList.html">CT_EffectStyleList</a></code></li><li><code><a href="../RubyXL/CT_EmbeddedWAVAudioFile.html">CT_EmbeddedWAVAudioFile</a></code></li><li><code><a href="../RubyXL/CT_FillEffect.html">CT_FillEffect</a></code></li><li><code><a href="../RubyXL/CT_FillOverlayEffect.html">CT_FillOverlayEffect</a></code></li><li><code><a href="../RubyXL/CT_FillStyleList.html">CT_FillStyleList</a></code></li><li><code><a href="../RubyXL/CT_FlatText.html">CT_FlatText</a></code></li><li><code><a href="../RubyXL/CT_FontCollection.html">CT_FontCollection</a></code></li><li><code><a href="../RubyXL/CT_FontReference.html">CT_FontReference</a></code></li><li><code><a href="../RubyXL/CT_GeomGuideList.html">CT_GeomGuideList</a></code></li><li><code><a href="../RubyXL/CT_GlowEffect.html">CT_GlowEffect</a></code></li><li><code><a href="../RubyXL/CT_GradientFillProperties.html">CT_GradientFillProperties</a></code></li><li><code><a href="../RubyXL/CT_GradientStop.html">CT_GradientStop</a></code></li><li><code><a href="../RubyXL/CT_GradientStopList.html">CT_GradientStopList</a></code></li><li><code><a href="../RubyXL/CT_HSLEffect.html">CT_HSLEffect</a></code></li><li><code><a href="../RubyXL/CT_HslColor.html">CT_HslColor</a></code></li><li><code><a href="../RubyXL/CT_Hyperlink.html">CT_Hyperlink</a></code></li><li><code><a href="../RubyXL/CT_InnerShadowEffect.html">CT_InnerShadowEffect</a></code></li><li><code><a href="../RubyXL/CT_LightRig.html">CT_LightRig</a></code></li><li><code><a href="../RubyXL/CT_LineEndProperties.html">CT_LineEndProperties</a></code></li><li><code><a href="../RubyXL/CT_LineJoinMiterProperties.html">CT_LineJoinMiterProperties</a></code></li><li><code><a href="../RubyXL/CT_LineProperties.html">CT_LineProperties</a></code></li><li><code><a href="../RubyXL/CT_LineStyleList.html">CT_LineStyleList</a></code></li><li><code><a href="../RubyXL/CT_LinearShadeProperties.html">CT_LinearShadeProperties</a></code></li><li><code><a href="../RubyXL/CT_LuminanceEffect.html">CT_LuminanceEffect</a></code></li><li><code><a href="../RubyXL/CT_ObjectStyleDefaults.html">CT_ObjectStyleDefaults</a></code></li><li><code><a href="../RubyXL/CT_OuterShadowEffect.html">CT_OuterShadowEffect</a></code></li><li><code><a href="../RubyXL/CT_Path2D.html">CT_Path2D</a></code></li><li><code><a href="../RubyXL/CT_Path2DArcTo.html">CT_Path2DArcTo</a></code></li><li><code><a href="../RubyXL/CT_Path2DCubicBezierTo.html">CT_Path2DCubicBezierTo</a></code></li><li><code><a href="../RubyXL/CT_Path2DList.html">CT_Path2DList</a></code></li><li><code><a href="../RubyXL/CT_Path2DQuadBezierTo.html">CT_Path2DQuadBezierTo</a></code></li><li><code><a href="../RubyXL/CT_Path2DTo.html">CT_Path2DTo</a></code></li><li><code><a href="../RubyXL/CT_PathShadeProperties.html">CT_PathShadeProperties</a></code></li><li><code><a href="../RubyXL/CT_PatternFillProperties.html">CT_PatternFillProperties</a></code></li><li><code><a href="../RubyXL/CT_Point3D.html">CT_Point3D</a></code></li><li><code><a href="../RubyXL/CT_PolarAdjustHandle.html">CT_PolarAdjustHandle</a></code></li><li><code><a href="../RubyXL/CT_PresetColor.html">CT_PresetColor</a></code></li><li><code><a href="../RubyXL/CT_PresetLineDashProperties.html">CT_PresetLineDashProperties</a></code></li><li><code><a href="../RubyXL/CT_PresetShadowEffect.html">CT_PresetShadowEffect</a></code></li><li><code><a href="../RubyXL/CT_PresetTextShape.html">CT_PresetTextShape</a></code></li><li><code><a href="../RubyXL/CT_ReflectionEffect.html">CT_ReflectionEffect</a></code></li><li><code><a href="../RubyXL/CT_RelativeOffsetEffect.html">CT_RelativeOffsetEffect</a></code></li><li><code><a href="../RubyXL/CT_RelativeRect.html">CT_RelativeRect</a></code></li><li><code><a href="../RubyXL/CT_SRgbColor.html">CT_SRgbColor</a></code></li><li><code><a href="../RubyXL/CT_ScRgbColor.html">CT_ScRgbColor</a></code></li><li><code><a href="../RubyXL/CT_Scene3D.html">CT_Scene3D</a></code></li><li><code><a href="../RubyXL/CT_SchemeColor.html">CT_SchemeColor</a></code></li><li><code><a href="../RubyXL/CT_Shape3D.html">CT_Shape3D</a></code></li><li><code><a href="../RubyXL/CT_ShapeStyle.html">CT_ShapeStyle</a></code></li><li><code><a href="../RubyXL/CT_SoftEdgesEffect.html">CT_SoftEdgesEffect</a></code></li><li><code><a href="../RubyXL/CT_SphereCoords.html">CT_SphereCoords</a></code></li><li><code><a href="../RubyXL/CT_StretchInfoProperties.html">CT_StretchInfoProperties</a></code></li><li><code><a href="../RubyXL/CT_StyleMatrix.html">CT_StyleMatrix</a></code></li><li><code><a href="../RubyXL/CT_StyleMatrixReference.html">CT_StyleMatrixReference</a></code></li><li><code><a href="../RubyXL/CT_SupplementalFont.html">CT_SupplementalFont</a></code></li><li><code><a href="../RubyXL/CT_SystemColor.html">CT_SystemColor</a></code></li><li><code><a href="../RubyXL/CT_TextAutonumberBullet.html">CT_TextAutonumberBullet</a></code></li><li><code><a href="../RubyXL/CT_TextBlipBullet.html">CT_TextBlipBullet</a></code></li><li><code><a href="../RubyXL/CT_TextCharBullet.html">CT_TextCharBullet</a></code></li><li><code><a href="../RubyXL/CT_TextCharacterProperties.html">CT_TextCharacterProperties</a></code></li><li><code><a href="../RubyXL/CT_TextFont.html">CT_TextFont</a></code></li><li><code><a href="../RubyXL/CT_TextListStyle.html">CT_TextListStyle</a></code></li><li><code><a href="../RubyXL/CT_TextNormalAutofit.html">CT_TextNormalAutofit</a></code></li><li><code><a href="../RubyXL/CT_TextParagraphProperties.html">CT_TextParagraphProperties</a></code></li><li><code><a href="../RubyXL/CT_TextSpacing.html">CT_TextSpacing</a></code></li><li><code><a href="../RubyXL/CT_TextTabStop.html">CT_TextTabStop</a></code></li><li><code><a href="../RubyXL/CT_TextTabStopList.html">CT_TextTabStopList</a></code></li><li><code><a href="../RubyXL/CT_TileInfoProperties.html">CT_TileInfoProperties</a></code></li><li><code><a href="../RubyXL/CT_TintEffect.html">CT_TintEffect</a></code></li><li><code><a href="../RubyXL/CT_Transform2D.html">CT_Transform2D</a></code></li><li><code><a href="../RubyXL/CT_TransformEffect.html">CT_TransformEffect</a></code></li><li><code><a href="../RubyXL/CT_Vector3D.html">CT_Vector3D</a></code></li><li><code><a href="../RubyXL/CT_XYAdjustHandle.html">CT_XYAdjustHandle</a></code></li><li><code><a href="../RubyXL/CalculationChain.html">CalculationChain</a></code></li><li><code><a href="../RubyXL/CalculationChainCell.html">CalculationChainCell</a></code></li><li><code><a href="../RubyXL/CalculationProperties.html">CalculationProperties</a></code></li><li><code><a href="../RubyXL/Cell.html">Cell</a></code></li><li><code><a href="../RubyXL/CellConvenienceMethods.html">CellConvenienceMethods</a></code></li><li><code><a href="../RubyXL/CellExt.html">CellExt</a></code></li><li><code><a href="../RubyXL/CellSmartTag.html">CellSmartTag</a></code></li><li><code><a href="../RubyXL/CellSmartTagProperty.html">CellSmartTagProperty</a></code></li><li><code><a href="../RubyXL/CellSmartTags.html">CellSmartTags</a></code></li><li><code><a href="../RubyXL/CellStyle.html">CellStyle</a></code></li><li><code><a href="../RubyXL/CellStyleXFs.html">CellStyleXFs</a></code></li><li><code><a href="../RubyXL/CellStyles.html">CellStyles</a></code></li><li><code><a href="../RubyXL/CellValue.html">CellValue</a></code></li><li><code><a href="../RubyXL/CellWatch.html">CellWatch</a></code></li><li><code><a href="../RubyXL/CellWatches.html">CellWatches</a></code></li><li><code><a href="../RubyXL/CellXFs.html">CellXFs</a></code></li><li><code><a href="../RubyXL/ChartColorsFile.html">ChartColorsFile</a></code></li><li><code><a href="../RubyXL/ChartFile.html">ChartFile</a></code></li><li><code><a href="../RubyXL/ChartStyleFile.html">ChartStyleFile</a></code></li><li><code><a href="../RubyXL/ChartUserShapesFile.html">ChartUserShapesFile</a></code></li><li><code><a href="../RubyXL/Chartsheet.html">Chartsheet</a></code></li><li><code><a href="../RubyXL/ChartsheetPageSetup.html">ChartsheetPageSetup</a></code></li><li><code><a href="../RubyXL/ChartsheetProperties.html">ChartsheetProperties</a></code></li><li><code><a href="../RubyXL/ChartsheetProtection.html">ChartsheetProtection</a></code></li><li><code><a href="../RubyXL/ChartsheetView.html">ChartsheetView</a></code></li><li><code><a href="../RubyXL/ChartsheetViews.html">ChartsheetViews</a></code></li><li><code><a href="../RubyXL/Color.html">Color</a></code></li><li><details><summary><code><a href="../RubyXL/ColorConvenienceClasses.html">ColorConvenienceClasses</a></code></summary><ul class="link-list nav-list"><li><code><a href="../RubyXL/ColorConvenienceClasses/HlsColor.html">HlsColor</a></code></li><li><code><a href="../RubyXL/ColorConvenienceClasses/RgbColor.html">RgbColor</a></code></li></ul></details></li><li><code><a href="../RubyXL/ColorConvenienceMethods.html">ColorConvenienceMethods</a></code></li><li><code><a href="../RubyXL/ColorFilter.html">ColorFilter</a></code></li><li><code><a href="../RubyXL/ColorScale.html">ColorScale</a></code></li><li><code><a href="../RubyXL/ColorSet.html">ColorSet</a></code></li><li><code><a href="../RubyXL/Colors.html">Colors</a></code></li><li><code><a href="../RubyXL/ColumnRange.html">ColumnRange</a></code></li><li><code><a href="../RubyXL/ColumnRanges.html">ColumnRanges</a></code></li><li><code><a href="../RubyXL/Comment.html">Comment</a></code></li><li><code><a href="../RubyXL/CommentList.html">CommentList</a></code></li><li><code><a href="../RubyXL/CommentsFile.html">CommentsFile</a></code></li><li><code><a href="../RubyXL/ConditionalFormatValue.html">ConditionalFormatValue</a></code></li><li><code><a href="../RubyXL/ConditionalFormatting.html">ConditionalFormatting</a></code></li><li><code><a href="../RubyXL/ConditionalFormattingRule.html">ConditionalFormattingRule</a></code></li><li><code><a href="../RubyXL/Connection.html">Connection</a></code></li><li><code><a href="../RubyXL/ConnectionTable.html">ConnectionTable</a></code></li><li><code><a href="../RubyXL/ConnectionTables.html">ConnectionTables</a></code></li><li><code><a href="../RubyXL/ConnectionTextField.html">ConnectionTextField</a></code></li><li><code><a href="../RubyXL/ConnectionTextFields.html">ConnectionTextFields</a></code></li><li><code><a href="../RubyXL/Connections.html">Connections</a></code></li><li><code><a href="../RubyXL/ContentTypeDefault.html">ContentTypeDefault</a></code></li><li><code><a href="../RubyXL/ContentTypeOverride.html">ContentTypeOverride</a></code></li><li><code><a href="../RubyXL/ContentTypes.html">ContentTypes</a></code></li><li><code><a href="../RubyXL/ControlPropertiesFile.html">ControlPropertiesFile</a></code></li><li><code><a href="../RubyXL/CorePropertiesFile.html">CorePropertiesFile</a></code></li><li><code><a href="../RubyXL/CustomColor.html">CustomColor</a></code></li><li><code><a href="../RubyXL/CustomColorList.html">CustomColorList</a></code></li><li><code><a href="../RubyXL/CustomFilter.html">CustomFilter</a></code></li><li><code><a href="../RubyXL/CustomFilters.html">CustomFilters</a></code></li><li><code><a href="../RubyXL/CustomGeometry.html">CustomGeometry</a></code></li><li><code><a href="../RubyXL/CustomProperties.html">CustomProperties</a></code></li><li><code><a href="../RubyXL/CustomPropertiesFile.html">CustomPropertiesFile</a></code></li><li><code><a href="../RubyXL/CustomProperty.html">CustomProperty</a></code></li><li><code><a href="../RubyXL/CustomPropertyFile.html">CustomPropertyFile</a></code></li><li><code><a href="../RubyXL/CustomSheetView.html">CustomSheetView</a></code></li><li><code><a href="../RubyXL/CustomSheetViews.html">CustomSheetViews</a></code></li><li><code><a href="../RubyXL/CustomWorkbookView.html">CustomWorkbookView</a></code></li><li><code><a href="../RubyXL/CustomWorkbookViews.html">CustomWorkbookViews</a></code></li><li><code><a href="../RubyXL/CustomXMLFile.html">CustomXMLFile</a></code></li><li><code><a href="../RubyXL/DXF.html">DXF</a></code></li><li><code><a href="../RubyXL/DXFs.html">DXFs</a></code></li><li><code><a href="../RubyXL/DataBar.html">DataBar</a></code></li><li><code><a href="../RubyXL/DataConsolidate.html">DataConsolidate</a></code></li><li><code><a href="../RubyXL/DataConsolidationReference.html">DataConsolidationReference</a></code></li><li><code><a href="../RubyXL/DataConsolidationReferences.html">DataConsolidationReferences</a></code></li><li><code><a href="../RubyXL/DataType.html">DataType</a></code></li><li><code><a href="../RubyXL/DataValidation.html">DataValidation</a></code></li><li><code><a href="../RubyXL/DataValidations.html">DataValidations</a></code></li><li><code><a href="../RubyXL/DateGroupItem.html">DateGroupItem</a></code></li><li><code><a href="../RubyXL/DefinedName.html">DefinedName</a></code></li><li><code><a href="../RubyXL/DefinedNameExt.html">DefinedNameExt</a></code></li><li><code><a href="../RubyXL/DefinedNames.html">DefinedNames</a></code></li><li><code><a href="../RubyXL/DefinedNamesExt.html">DefinedNamesExt</a></code></li><li><code><a href="../RubyXL/DocumentPropertiesFile.html">DocumentPropertiesFile</a></code></li><li><code><a href="../RubyXL/DrawingFile.html">DrawingFile</a></code></li><li><code><a href="../RubyXL/DynamicFilter.html">DynamicFilter</a></code></li><li><code><a href="../RubyXL/EmbeddedControl.html">EmbeddedControl</a></code></li><li><code><a href="../RubyXL/EmbeddedControls.html">EmbeddedControls</a></code></li><li><code><a href="../RubyXL/Extension.html">Extension</a></code></li><li><code><a href="../RubyXL/ExtensionStorageArea.html">ExtensionStorageArea</a></code></li><li><code><a href="../RubyXL/Extents.html">Extents</a></code></li><li><code><a href="../RubyXL/ExternalBook.html">ExternalBook</a></code></li><li><code><a href="../RubyXL/ExternalLinksFile.html">ExternalLinksFile</a></code></li><li><code><a href="../RubyXL/ExternalReference.html">ExternalReference</a></code></li><li><code><a href="../RubyXL/ExternalReferences.html">ExternalReferences</a></code></li><li><code><a href="../RubyXL/ExtraColorSchemeList.html">ExtraColorSchemeList</a></code></li><li><code><a href="../RubyXL/FieldItem.html">FieldItem</a></code></li><li><code><a href="../RubyXL/FileRecoveryProperties.html">FileRecoveryProperties</a></code></li><li><code><a href="../RubyXL/FileSharing.html">FileSharing</a></code></li><li><code><a href="../RubyXL/FileVersion.html">FileVersion</a></code></li><li><code><a href="../RubyXL/Fill.html">Fill</a></code></li><li><code><a href="../RubyXL/Fills.html">Fills</a></code></li><li><code><a href="../RubyXL/FilterContainer.html">FilterContainer</a></code></li><li><code><a href="../RubyXL/FloatNode.html">FloatNode</a></code></li><li><code><a href="../RubyXL/FloatValue.html">FloatValue</a></code></li><li><code><a href="../RubyXL/Font.html">Font</a></code></li><li><code><a href="../RubyXL/FontConvenienceMethods.html">FontConvenienceMethods</a></code></li><li><code><a href="../RubyXL/FontScheme.html">FontScheme</a></code></li><li><code><a href="../RubyXL/Fonts.html">Fonts</a></code></li><li><code><a href="../RubyXL/Formula.html">Formula</a></code></li><li><code><a href="../RubyXL/FunctionGroup.html">FunctionGroup</a></code></li><li><code><a href="../RubyXL/FunctionGroups.html">FunctionGroups</a></code></li><li><code><a href="../RubyXL/GenericStorageObject.html">GenericStorageObject</a></code></li><li><code><a href="../RubyXL/GradientFill.html">GradientFill</a></code></li><li><code><a href="../RubyXL/HeaderFooterSettings.html">HeaderFooterSettings</a></code></li><li><code><a href="../RubyXL/Hyperlink.html">Hyperlink</a></code></li><li><code><a href="../RubyXL/HyperlinkRelFile.html">HyperlinkRelFile</a></code></li><li><code><a href="../RubyXL/Hyperlinks.html">Hyperlinks</a></code></li><li><code><a href="../RubyXL/IconFilter.html">IconFilter</a></code></li><li><code><a href="../RubyXL/IconSet.html">IconSet</a></code></li><li><code><a href="../RubyXL/IgnoredError.html">IgnoredError</a></code></li><li><code><a href="../RubyXL/IgnoredErrors.html">IgnoredErrors</a></code></li><li><code><a href="../RubyXL/IndexedColors.html">IndexedColors</a></code></li><li><code><a href="../RubyXL/InputCells.html">InputCells</a></code></li><li><code><a href="../RubyXL/IntegerNode.html">IntegerNode</a></code></li><li><code><a href="../RubyXL/IntegerValue.html">IntegerValue</a></code></li><li><code><a href="../RubyXL/LegacyCell.html">LegacyCell</a></code></li><li><code><a href="../RubyXL/LegacyWorksheet.html">LegacyWorksheet</a></code></li><li><code><a href="../RubyXL/MRUColors.html">MRUColors</a></code></li><li><code><a href="../RubyXL/MacrosFile.html">MacrosFile</a></code></li><li><code><a href="../RubyXL/MergedCell.html">MergedCell</a></code></li><li><code><a href="../RubyXL/MergedCells.html">MergedCells</a></code></li><li><code><a href="../RubyXL/NumFmt.html">NumFmt</a></code></li><li><code><a href="../RubyXL/NumberFormat.html">NumberFormat</a></code></li><li><code><a href="../RubyXL/NumberFormats.html">NumberFormats</a></code></li><li><code><a href="../RubyXL/OLEObject.html">OLEObject</a></code></li><li><code><a href="../RubyXL/OLEObjectFile.html">OLEObjectFile</a></code></li><li><code><a href="../RubyXL/OLEObjects.html">OLEObjects</a></code></li><li><code><a href="../RubyXL/OLESize.html">OLESize</a></code></li><li><code><a href="../RubyXL/OOXMLContainerObject.html">OOXMLContainerObject</a></code></li><li><code><a href="../RubyXL/OOXMLIgnored.html">OOXMLIgnored</a></code></li><li><code><a href="../RubyXL/OOXMLObject.html">OOXMLObject</a></code></li><li><code><a href="../RubyXL/OOXMLObjectClassMethods.html">OOXMLObjectClassMethods</a></code></li><li><code><a href="../RubyXL/OOXMLObjectInstanceMethods.html">OOXMLObjectInstanceMethods</a></code></li><li><code><a href="../RubyXL/OOXMLRelationshipsFile.html">OOXMLRelationshipsFile</a></code></li><li><code><a href="../RubyXL/OOXMLTopLevelObject.html">OOXMLTopLevelObject</a></code></li><li><code><a href="../RubyXL/OdbcOleDbProperties.html">OdbcOleDbProperties</a></code></li><li><code><a href="../RubyXL/Offset.html">Offset</a></code></li><li><code><a href="../RubyXL/OlapProperties.html">OlapProperties</a></code></li><li><code><a href="../RubyXL/OleItem.html">OleItem</a></code></li><li><code><a href="../RubyXL/OleItems.html">OleItems</a></code></li><li><code><a href="../RubyXL/OleLink.html">OleLink</a></code></li><li><code><a href="../RubyXL/OutlineProperties.html">OutlineProperties</a></code></li><li><code><a href="../RubyXL/PageMargins.html">PageMargins</a></code></li><li><code><a href="../RubyXL/PageSetup.html">PageSetup</a></code></li><li><code><a href="../RubyXL/PageSetupProperties.html">PageSetupProperties</a></code></li><li><code><a href="../RubyXL/Pane.html">Pane</a></code></li><li><code><a href="../RubyXL/Parser.html">Parser</a></code></li><li><code><a href="../RubyXL/PatternFill.html">PatternFill</a></code></li><li><code><a href="../RubyXL/PersonMetadata.html">PersonMetadata</a></code></li><li><code><a href="../RubyXL/PhoneticProperties.html">PhoneticProperties</a></code></li><li><code><a href="../RubyXL/PhoneticRun.html">PhoneticRun</a></code></li><li><code><a href="../RubyXL/PivotArea.html">PivotArea</a></code></li><li><code><a href="../RubyXL/PivotCache.html">PivotCache</a></code></li><li><code><a href="../RubyXL/PivotCacheDefinitionFile.html">PivotCacheDefinitionFile</a></code></li><li><code><a href="../RubyXL/PivotCacheRecordsFile.html">PivotCacheRecordsFile</a></code></li><li><code><a href="../RubyXL/PivotCaches.html">PivotCaches</a></code></li><li><code><a href="../RubyXL/PivotReference.html">PivotReference</a></code></li><li><code><a href="../RubyXL/PivotReferences.html">PivotReferences</a></code></li><li><code><a href="../RubyXL/PivotTableFile.html">PivotTableFile</a></code></li><li><code><a href="../RubyXL/PivotTableSelection.html">PivotTableSelection</a></code></li><li><code><a href="../RubyXL/PresetGeometry.html">PresetGeometry</a></code></li><li><code><a href="../RubyXL/PrintOptions.html">PrintOptions</a></code></li><li><code><a href="../RubyXL/PrinterSettingsFile.html">PrinterSettingsFile</a></code></li><li><code><a href="../RubyXL/ProtectedRange.html">ProtectedRange</a></code></li><li><code><a href="../RubyXL/ProtectedRanges.html">ProtectedRanges</a></code></li><li><code><a href="../RubyXL/Protection.html">Protection</a></code></li><li><code><a href="../RubyXL/QueryParameter.html">QueryParameter</a></code></li><li><code><a href="../RubyXL/QueryParameters.html">QueryParameters</a></code></li><li><code><a href="../RubyXL/QueryTable.html">QueryTable</a></code></li><li><code><a href="../RubyXL/QueryTableDeletedField.html">QueryTableDeletedField</a></code></li><li><code><a href="../RubyXL/QueryTableDeletedFields.html">QueryTableDeletedFields</a></code></li><li><code><a href="../RubyXL/QueryTableField.html">QueryTableField</a></code></li><li><code><a href="../RubyXL/QueryTableFields.html">QueryTableFields</a></code></li><li><code><a href="../RubyXL/QueryTableRefresh.html">QueryTableRefresh</a></code></li><li><code><a href="../RubyXL/RID.html">RID</a></code></li><li><code><a href="../RubyXL/RawOOXML.html">RawOOXML</a></code></li><li><code><a href="../RubyXL/Reference.html">Reference</a></code></li><li><code><a href="../RubyXL/Relationship.html">Relationship</a></code></li><li><details><summary><code><a href="../RubyXL/RelationshipSupport.html">RelationshipSupport</a></code></summary><ul class="link-list nav-list"><li><code><a href="../RubyXL/RelationshipSupport/ClassMehods.html">ClassMehods</a></code></li></ul></details></li><li><code><a href="../RubyXL/RevisionPointer.html">RevisionPointer</a></code></li><li><code><a href="../RubyXL/RichText.html">RichText</a></code></li><li><code><a href="../RubyXL/RichTextRun.html">RichTextRun</a></code></li><li><code><a href="../RubyXL/Row.html">Row</a></code></li><li><code><a href="../RubyXL/RowExt.html">RowExt</a></code></li><li><code><a href="../RubyXL/RunProperties.html">RunProperties</a></code></li><li><code><a href="../RubyXL/Scenario.html">Scenario</a></code></li><li><code><a href="../RubyXL/Scenarios.html">Scenarios</a></code></li><li><code><a href="../RubyXL/Selection.html">Selection</a></code></li><li><code><a href="../RubyXL/ShapeGuide.html">ShapeGuide</a></code></li><li><code><a href="../RubyXL/ShapeTextRectangle.html">ShapeTextRectangle</a></code></li><li><code><a href="../RubyXL/SharedStringsTable.html">SharedStringsTable</a></code></li><li><code><a href="../RubyXL/Sheet.html">Sheet</a></code></li><li><code><a href="../RubyXL/SheetCalculationProperties.html">SheetCalculationProperties</a></code></li><li><code><a href="../RubyXL/SheetData.html">SheetData</a></code></li><li><code><a href="../RubyXL/SheetDataExt.html">SheetDataExt</a></code></li><li><code><a href="../RubyXL/SheetDataSet.html">SheetDataSet</a></code></li><li><code><a href="../RubyXL/SheetMetadata.html">SheetMetadata</a></code></li><li><code><a href="../RubyXL/SheetName.html">SheetName</a></code></li><li><code><a href="../RubyXL/SheetNames.html">SheetNames</a></code></li><li><code><a href="../RubyXL/Sheets.html">Sheets</a></code></li><li><code><a href="../RubyXL/SlicerCacheFile.html">SlicerCacheFile</a></code></li><li><code><a href="../RubyXL/SlicerFile.html">SlicerFile</a></code></li><li><code><a href="../RubyXL/SmartTagProperties.html">SmartTagProperties</a></code></li><li><code><a href="../RubyXL/SmartTagType.html">SmartTagType</a></code></li><li><code><a href="../RubyXL/SmartTagTypes.html">SmartTagTypes</a></code></li><li><code><a href="../RubyXL/SmartTags.html">SmartTags</a></code></li><li><code><a href="../RubyXL/SortCondition.html">SortCondition</a></code></li><li><code><a href="../RubyXL/SortState.html">SortState</a></code></li><li><code><a href="../RubyXL/Sqref.html">Sqref</a></code></li><li><code><a href="../RubyXL/Stop.html">Stop</a></code></li><li><code><a href="../RubyXL/StringNode.html">StringNode</a></code></li><li><code><a href="../RubyXL/StringNodeW3C.html">StringNodeW3C</a></code></li><li><code><a href="../RubyXL/StringValue.html">StringValue</a></code></li><li><code><a href="../RubyXL/Stylesheet.html">Stylesheet</a></code></li><li><code><a href="../RubyXL/TableFile.html">TableFile</a></code></li><li><code><a href="../RubyXL/TableParts.html">TableParts</a></code></li><li><code><a href="../RubyXL/TableStyle.html">TableStyle</a></code></li><li><code><a href="../RubyXL/TableStyles.html">TableStyles</a></code></li><li><code><a href="../RubyXL/Text.html">Text</a></code></li><li><code><a href="../RubyXL/TextImportSettings.html">TextImportSettings</a></code></li><li><code><a href="../RubyXL/Theme.html">Theme</a></code></li><li><code><a href="../RubyXL/ThemeElements.html">ThemeElements</a></code></li><li><code><a href="../RubyXL/ThumbnailFile.html">ThumbnailFile</a></code></li><li><code><a href="../RubyXL/Top10.html">Top10</a></code></li><li><code><a href="../RubyXL/VMLDrawingFile.html">VMLDrawingFile</a></code></li><li><code><a href="../RubyXL/Variant.html">Variant</a></code></li><li><code><a href="../RubyXL/Vector.html">Vector</a></code></li><li><code><a href="../RubyXL/VectorValue.html">VectorValue</a></code></li><li><code><a href="../RubyXL/VisualProperties.html">VisualProperties</a></code></li><li><code><a href="../RubyXL/WebPublishObject.html">WebPublishObject</a></code></li><li><code><a href="../RubyXL/WebPublishObjects.html">WebPublishObjects</a></code></li><li><code><a href="../RubyXL/WebPublishingItem.html">WebPublishingItem</a></code></li><li><code><a href="../RubyXL/WebPublishingItems.html">WebPublishingItems</a></code></li><li><code><a href="../RubyXL/WebPublishingProperties.html">WebPublishingProperties</a></code></li><li><code><a href="../RubyXL/WebQueryProperties.html">WebQueryProperties</a></code></li><li><code><a href="../RubyXL/Workbook.html">Workbook</a></code></li><li><code><a href="../RubyXL/WorkbookConvenienceMethods.html">WorkbookConvenienceMethods</a></code></li><li><code><a href="../RubyXL/WorkbookProperties.html">WorkbookProperties</a></code></li><li><code><a href="../RubyXL/WorkbookProtection.html">WorkbookProtection</a></code></li><li><code><a href="../RubyXL/WorkbookRoot.html">WorkbookRoot</a></code></li><li><code><a href="../RubyXL/WorkbookView.html">WorkbookView</a></code></li><li><code><a href="../RubyXL/WorkbookViews.html">WorkbookViews</a></code></li><li><code><a href="../RubyXL/Worksheet.html">Worksheet</a></code></li><li><code><a href="../RubyXL/WorksheetConvenienceMethods.html">WorksheetConvenienceMethods</a></code></li><li><code><a href="../RubyXL/WorksheetDimensions.html">WorksheetDimensions</a></code></li><li><code><a href="../RubyXL/WorksheetFormatProperties.html">WorksheetFormatProperties</a></code></li><li><code><a href="../RubyXL/WorksheetProperties.html">WorksheetProperties</a></code></li><li><code><a href="../RubyXL/WorksheetProtection.html">WorksheetProtection</a></code></li><li><code><a href="../RubyXL/WorksheetView.html">WorksheetView</a></code></li><li><code><a href="../RubyXL/WorksheetViews.html">WorksheetViews</a></code></li><li><code><a href="../RubyXL/XF.html">XF</a></code></li></ul></details></li></ul>
|
|
519
|
+
</details>
|
|
520
|
+
</div>
|
|
521
|
+
|
|
92
522
|
</nav>
|
|
93
523
|
|
|
94
|
-
<main role="main" aria-labelledby="class-
|
|
95
|
-
|
|
524
|
+
<main role="main" aria-labelledby="class-rubyxl-reference">
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
<ol role="navigation" aria-label="Breadcrumb navigation" class="breadcrumb">
|
|
528
|
+
|
|
529
|
+
<li>
|
|
530
|
+
|
|
531
|
+
<a href="../RubyXL.html">RubyXL</a><span>::</span>
|
|
532
|
+
|
|
533
|
+
</li>
|
|
534
|
+
|
|
535
|
+
<li>
|
|
536
|
+
|
|
537
|
+
<span>Reference</span>
|
|
538
|
+
|
|
539
|
+
</li>
|
|
540
|
+
|
|
541
|
+
</ol>
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
<span id="class-RubyXL::Reference" class="legacy-anchor"></span>
|
|
545
|
+
<h1 id="class-rubyxl-reference" class="anchor-link class">
|
|
96
546
|
class RubyXL::Reference
|
|
97
547
|
</h1>
|
|
98
548
|
|
|
@@ -100,375 +550,827 @@
|
|
|
100
550
|
|
|
101
551
|
</section>
|
|
102
552
|
|
|
103
|
-
|
|
553
|
+
|
|
554
|
+
<span id="5Buntitled-5D" class="legacy-anchor"></span>
|
|
555
|
+
<section class="documentation-section anchor-link">
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
|
|
104
559
|
|
|
105
560
|
|
|
106
561
|
<section class="constants-list">
|
|
107
562
|
<header>
|
|
108
|
-
<h3>Constants</h3>
|
|
563
|
+
<h3 id="untitled-constants"><a href="#untitled-constants">Constants</a></h3>
|
|
109
564
|
</header>
|
|
110
565
|
<dl>
|
|
111
|
-
|
|
566
|
+
|
|
567
|
+
<dt id="COL_MAX">COL_MAX</dt>
|
|
568
|
+
|
|
112
569
|
<dd>
|
|
113
|
-
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
</dd>
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
<dt id="ROW_MAX">ROW_MAX</dt>
|
|
576
|
+
|
|
114
577
|
<dd>
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
</dd>
|
|
581
|
+
|
|
582
|
+
|
|
115
583
|
</dl>
|
|
116
584
|
</section>
|
|
117
585
|
|
|
118
|
-
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
<section class="attribute-method-details method-section">
|
|
119
589
|
<header>
|
|
120
|
-
<h3>Attributes</h3>
|
|
590
|
+
<h3 id="untitled-attributes"><a href="#untitled-attributes">Attributes</a></h3>
|
|
121
591
|
</header>
|
|
122
592
|
|
|
123
|
-
|
|
593
|
+
|
|
594
|
+
<div id="attribute-i-col_from_absolute" class="method-detail anchor-link">
|
|
124
595
|
<div class="method-heading attribute-method-heading">
|
|
125
|
-
<
|
|
126
|
-
class="
|
|
596
|
+
<a href="#attribute-i-col_from_absolute" title="Link to this attribute">
|
|
597
|
+
<span class="method-name">col_from_absolute</span>
|
|
598
|
+
<span class="attribute-access-type">[R]</span>
|
|
599
|
+
</a>
|
|
127
600
|
</div>
|
|
128
601
|
|
|
129
602
|
<div class="method-description">
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
</div>
|
|
608
|
+
</div>
|
|
609
|
+
|
|
610
|
+
<div id="attribute-i-col_range" class="method-detail anchor-link">
|
|
611
|
+
<div class="method-heading attribute-method-heading">
|
|
612
|
+
<a href="#attribute-i-col_range" title="Link to this attribute">
|
|
613
|
+
<span class="method-name">col_range</span>
|
|
614
|
+
<span class="attribute-access-type">[R]</span>
|
|
615
|
+
</a>
|
|
616
|
+
</div>
|
|
617
|
+
|
|
618
|
+
<div class="method-description">
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
</div>
|
|
624
|
+
</div>
|
|
625
|
+
|
|
626
|
+
<div id="attribute-i-col_to_absolute" class="method-detail anchor-link">
|
|
627
|
+
<div class="method-heading attribute-method-heading">
|
|
628
|
+
<a href="#attribute-i-col_to_absolute" title="Link to this attribute">
|
|
629
|
+
<span class="method-name">col_to_absolute</span>
|
|
630
|
+
<span class="attribute-access-type">[R]</span>
|
|
631
|
+
</a>
|
|
632
|
+
</div>
|
|
633
|
+
|
|
634
|
+
<div class="method-description">
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
</div>
|
|
640
|
+
</div>
|
|
641
|
+
|
|
642
|
+
<div id="attribute-i-row_from_absolute" class="method-detail anchor-link">
|
|
643
|
+
<div class="method-heading attribute-method-heading">
|
|
644
|
+
<a href="#attribute-i-row_from_absolute" title="Link to this attribute">
|
|
645
|
+
<span class="method-name">row_from_absolute</span>
|
|
646
|
+
<span class="attribute-access-type">[R]</span>
|
|
647
|
+
</a>
|
|
648
|
+
</div>
|
|
649
|
+
|
|
650
|
+
<div class="method-description">
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
</div>
|
|
656
|
+
</div>
|
|
657
|
+
|
|
658
|
+
<div id="attribute-i-row_range" class="method-detail anchor-link">
|
|
659
|
+
<div class="method-heading attribute-method-heading">
|
|
660
|
+
<a href="#attribute-i-row_range" title="Link to this attribute">
|
|
661
|
+
<span class="method-name">row_range</span>
|
|
662
|
+
<span class="attribute-access-type">[R]</span>
|
|
663
|
+
</a>
|
|
664
|
+
</div>
|
|
665
|
+
|
|
666
|
+
<div class="method-description">
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
|
|
671
|
+
</div>
|
|
672
|
+
</div>
|
|
673
|
+
|
|
674
|
+
<div id="attribute-i-row_to_absolute" class="method-detail anchor-link">
|
|
675
|
+
<div class="method-heading attribute-method-heading">
|
|
676
|
+
<a href="#attribute-i-row_to_absolute" title="Link to this attribute">
|
|
677
|
+
<span class="method-name">row_to_absolute</span>
|
|
678
|
+
<span class="attribute-access-type">[R]</span>
|
|
679
|
+
</a>
|
|
680
|
+
</div>
|
|
681
|
+
|
|
682
|
+
<div class="method-description">
|
|
683
|
+
|
|
684
|
+
|
|
130
685
|
|
|
686
|
+
|
|
131
687
|
</div>
|
|
132
688
|
</div>
|
|
133
|
-
|
|
689
|
+
|
|
690
|
+
<div id="attribute-i-sheet_name" class="method-detail anchor-link">
|
|
134
691
|
<div class="method-heading attribute-method-heading">
|
|
135
|
-
<
|
|
136
|
-
class="
|
|
692
|
+
<a href="#attribute-i-sheet_name" title="Link to this attribute">
|
|
693
|
+
<span class="method-name">sheet_name</span>
|
|
694
|
+
<span class="attribute-access-type">[R]</span>
|
|
695
|
+
</a>
|
|
137
696
|
</div>
|
|
138
697
|
|
|
139
698
|
<div class="method-description">
|
|
699
|
+
|
|
700
|
+
|
|
140
701
|
|
|
702
|
+
|
|
141
703
|
</div>
|
|
142
704
|
</div>
|
|
705
|
+
|
|
143
706
|
</section>
|
|
144
707
|
|
|
145
708
|
|
|
146
|
-
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
<section id="public-class-untitled-method-details" class="method-section anchor-link">
|
|
147
714
|
<header>
|
|
148
|
-
<h3>Public Class Methods</h3>
|
|
715
|
+
<h3 id="public-class-untitled-methods"><a href="#public-class-untitled-methods">Public Class Methods</a></h3>
|
|
149
716
|
</header>
|
|
150
717
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
718
|
+
|
|
719
|
+
<div id="method-c-ind2ref" class="method-detail anchor-link ">
|
|
720
|
+
<div class="method-header">
|
|
721
|
+
|
|
722
|
+
<div class="method-heading">
|
|
723
|
+
<a href="#method-c-ind2ref" title="Link to this method">
|
|
724
|
+
<span class="method-name">ind2ref</span>
|
|
725
|
+
<span class="method-args">(row = 0, col = 0, row_abs = false, col_abs = false)</span>
|
|
726
|
+
</a>
|
|
727
|
+
</div>
|
|
728
|
+
|
|
156
729
|
</div>
|
|
157
730
|
|
|
158
|
-
<div class="method-description">
|
|
159
|
-
<p>Converts <code>row</code> and <code>col</code> zero-based indices to Excel-style cell reference <0> A…Z, AA…AZ, BA… …ZZ, AAA… …AZZ, BAA… …XFD <16383></p>
|
|
160
731
|
|
|
732
|
+
<div class="method-controls">
|
|
733
|
+
<details class="method-source-toggle">
|
|
734
|
+
<summary>Source</summary>
|
|
735
|
+
</details>
|
|
736
|
+
</div>
|
|
161
737
|
<div class="method-source-code" id="ind2ref-source">
|
|
162
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line
|
|
163
|
-
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">ind2ref</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
|
|
164
|
-
<span class="ruby-identifier">
|
|
738
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 111</span>
|
|
739
|
+
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">ind2ref</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">row_abs</span> = <span class="ruby-keyword">false</span>, <span class="ruby-identifier">col_abs</span> = <span class="ruby-keyword">false</span>)
|
|
740
|
+
<span class="ruby-identifier">col_ref</span> = <span class="ruby-string">''</span>
|
|
165
741
|
|
|
166
742
|
<span class="ruby-identifier">loop</span> <span class="ruby-keyword">do</span>
|
|
167
743
|
<span class="ruby-identifier">x</span> = <span class="ruby-identifier">col</span> <span class="ruby-operator">%</span> <span class="ruby-value">26</span>
|
|
168
|
-
<span class="ruby-identifier">
|
|
744
|
+
<span class="ruby-identifier">col_ref</span> = (<span class="ruby-string">'A'</span>.<span class="ruby-identifier">ord</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">x</span>).<span class="ruby-identifier">chr</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">col_ref</span>
|
|
169
745
|
<span class="ruby-identifier">col</span> = (<span class="ruby-identifier">col</span> <span class="ruby-operator">/</span> <span class="ruby-value">26</span>).<span class="ruby-identifier">floor</span> <span class="ruby-operator">-</span> <span class="ruby-value">1</span>
|
|
170
746
|
<span class="ruby-keyword">break</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">col</span> <span class="ruby-operator"><</span> <span class="ruby-value">0</span>
|
|
171
747
|
<span class="ruby-keyword">end</span>
|
|
172
748
|
|
|
173
|
-
<span class="ruby-
|
|
749
|
+
<span class="ruby-node">"#{col_abs ? '$' : ''}#{col_ref}#{row_abs ? '$' : ''}#{row + 1}"</span>
|
|
174
750
|
<span class="ruby-keyword">end</span></pre>
|
|
175
751
|
</div>
|
|
752
|
+
|
|
753
|
+
|
|
754
|
+
|
|
755
|
+
<div class="method-description">
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
<p>Converts <code>row</code> and <code>col</code> zero-based indices to Excel-style cell reference <0> A…Z, AA…AZ, BA… …ZZ, AAA… …AZZ, BAA… …XFD <16383></p>
|
|
759
|
+
|
|
760
|
+
|
|
176
761
|
</div>
|
|
177
762
|
|
|
178
763
|
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
|
|
179
767
|
</div>
|
|
180
768
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
769
|
+
|
|
770
|
+
<div id="method-c-new" class="method-detail anchor-link ">
|
|
771
|
+
<div class="method-header">
|
|
772
|
+
|
|
773
|
+
<div class="method-heading">
|
|
774
|
+
<a href="#method-c-new" title="Link to this method">
|
|
775
|
+
<span class="method-name">new</span>
|
|
776
|
+
<span class="method-args">(*params)</span>
|
|
777
|
+
</a>
|
|
778
|
+
</div>
|
|
779
|
+
|
|
186
780
|
</div>
|
|
187
781
|
|
|
188
|
-
<div class="method-description">
|
|
189
|
-
<p><a href="Reference.html#method-c-new"><code>RubyXL::Reference.new</code></a>(row, col) <a href="Reference.html#method-c-new"><code>RubyXL::Reference.new</code></a>(row_from, row_to, col_from, col_to) <a href="Reference.html#method-c-new"><code>RubyXL::Reference.new(reference_string)</code></a></p>
|
|
190
782
|
|
|
783
|
+
<div class="method-controls">
|
|
784
|
+
<details class="method-source-toggle">
|
|
785
|
+
<summary>Source</summary>
|
|
786
|
+
</details>
|
|
787
|
+
</div>
|
|
191
788
|
<div class="method-source-code" id="new-source">
|
|
192
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line
|
|
789
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 13</span>
|
|
193
790
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">params</span>)
|
|
194
791
|
<span class="ruby-identifier">row_from</span> = <span class="ruby-identifier">row_to</span> = <span class="ruby-identifier">col_from</span> = <span class="ruby-identifier">col_to</span> = <span class="ruby-keyword">nil</span>
|
|
792
|
+
<span class="ruby-ivar">@row_from_absolute</span> = <span class="ruby-ivar">@row_to_absolute</span> = <span class="ruby-ivar">@col_from_absolute</span> = <span class="ruby-ivar">@col_to_absolute</span> = <span class="ruby-keyword">false</span>
|
|
195
793
|
|
|
196
794
|
<span class="ruby-keyword">case</span> <span class="ruby-identifier">params</span>.<span class="ruby-identifier">size</span>
|
|
197
795
|
<span class="ruby-keyword">when</span> <span class="ruby-value">4</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">row_from</span>, <span class="ruby-identifier">row_to</span>, <span class="ruby-identifier">col_from</span>, <span class="ruby-identifier">col_to</span> = <span class="ruby-identifier">params</span>
|
|
198
796
|
<span class="ruby-keyword">when</span> <span class="ruby-value">2</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">row_from</span>, <span class="ruby-identifier">col_from</span> = <span class="ruby-identifier">params</span>
|
|
199
797
|
<span class="ruby-keyword">when</span> <span class="ruby-value">1</span> <span class="ruby-keyword">then</span>
|
|
200
|
-
<span class="ruby-
|
|
201
|
-
<span class="ruby-
|
|
202
|
-
|
|
203
|
-
<span class="ruby-
|
|
798
|
+
<span class="ruby-keyword">case</span> <span class="ruby-identifier">params</span>.<span class="ruby-identifier">first</span>
|
|
799
|
+
<span class="ruby-keyword">when</span> <span class="ruby-constant">Hash</span> <span class="ruby-keyword">then</span>
|
|
800
|
+
<span class="ruby-identifier">row_from</span>, <span class="ruby-identifier">row_to</span>, <span class="ruby-identifier">col_from</span>, <span class="ruby-identifier">col_to</span> = <span class="ruby-identifier">params</span>.<span class="ruby-identifier">first</span>.<span class="ruby-identifier">fetch_values</span>(<span class="ruby-value">:row_from</span>, <span class="ruby-value">:row_to</span>, <span class="ruby-value">:col_from</span>, <span class="ruby-value">:col_to</span>)
|
|
801
|
+
<span class="ruby-keyword">when</span> <span class="ruby-constant">String</span> <span class="ruby-keyword">then</span>
|
|
802
|
+
<span class="ruby-identifier">str</span> = <span class="ruby-identifier">params</span>.<span class="ruby-identifier">first</span>
|
|
803
|
+
<span class="ruby-identifier">match_data</span> = <span class="ruby-identifier">str</span>.<span class="ruby-identifier">match</span>(<span class="ruby-regexp">/^('(?<sheet_name1>[^']+)'|(?<sheet_name2>[^']+))!/</span>)
|
|
804
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">match_data</span> <span class="ruby-keyword">then</span>
|
|
805
|
+
<span class="ruby-ivar">@sheet_name</span> = <span class="ruby-identifier">match_data</span>[<span class="ruby-string">'sheet_name1'</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">match_data</span>[<span class="ruby-string">'sheet_name2'</span>]
|
|
806
|
+
<span class="ruby-identifier">str</span> = <span class="ruby-identifier">str</span>[<span class="ruby-identifier">match_data</span>[<span class="ruby-value">0</span>].<span class="ruby-identifier">size</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>]
|
|
807
|
+
<span class="ruby-keyword">end</span>
|
|
808
|
+
|
|
809
|
+
<span class="ruby-identifier">from</span>, <span class="ruby-identifier">to</span> = <span class="ruby-identifier">str</span>.<span class="ruby-identifier">split</span>(<span class="ruby-string">':'</span>)
|
|
810
|
+
<span class="ruby-identifier">row_from</span>, <span class="ruby-identifier">col_from</span>, <span class="ruby-ivar">@row_from_absolute</span>, <span class="ruby-ivar">@col_from_absolute</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">ref2ind</span>(<span class="ruby-identifier">from</span>)
|
|
811
|
+
<span class="ruby-identifier">row_to</span>, <span class="ruby-identifier">col_to</span>, <span class="ruby-ivar">@row_to_absolute</span>, <span class="ruby-ivar">@col_to_absolute</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">ref2ind</span>(<span class="ruby-identifier">to</span>) <span class="ruby-keyword">unless</span> <span class="ruby-identifier">to</span>.<span class="ruby-identifier">nil?</span>
|
|
812
|
+
<span class="ruby-keyword">else</span>
|
|
813
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>.<span class="ruby-identifier">new</span>(<span class="ruby-node">"invalid value for #{self.class}: #{params[0].inspect}"</span>) <span class="ruby-keyword">unless</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">0</span>].<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">String</span>)
|
|
814
|
+
<span class="ruby-keyword">end</span>
|
|
204
815
|
<span class="ruby-keyword">end</span>
|
|
205
816
|
|
|
206
817
|
<span class="ruby-ivar">@row_range</span> = <span class="ruby-constant">Range</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">row_from</span> <span class="ruby-operator">||</span> <span class="ruby-value">0</span>, <span class="ruby-identifier">row_to</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">row_from</span> <span class="ruby-operator">||</span> <span class="ruby-constant">ROW_MAX</span>)
|
|
207
818
|
<span class="ruby-ivar">@col_range</span> = <span class="ruby-constant">Range</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">col_from</span> <span class="ruby-operator">||</span> <span class="ruby-value">0</span>, <span class="ruby-identifier">col_to</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">col_from</span> <span class="ruby-operator">||</span> <span class="ruby-constant">COL_MAX</span>)
|
|
208
819
|
<span class="ruby-keyword">end</span></pre>
|
|
209
820
|
</div>
|
|
821
|
+
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
<div class="method-description">
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
<p><a href="Reference.html#method-c-new"><code>RubyXL::Reference.new(row, col)</code></a> <a href="Reference.html#method-c-new"><code>RubyXL::Reference.new(row_from, row_to, col_from, col_to)</code></a> <a href="Reference.html#method-c-new"><code>RubyXL::Reference.new(reference_string)</code></a> <a href="Reference.html#method-c-new"><code>RubyXL::Reference.new</code></a>(row_from:, row_to:, col_from:, col_to:)</p>
|
|
828
|
+
|
|
829
|
+
|
|
210
830
|
</div>
|
|
211
831
|
|
|
212
832
|
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
|
|
213
836
|
</div>
|
|
214
837
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
838
|
+
|
|
839
|
+
<div id="method-c-ref2ind" class="method-detail anchor-link ">
|
|
840
|
+
<div class="method-header">
|
|
841
|
+
|
|
842
|
+
<div class="method-heading">
|
|
843
|
+
<a href="#method-c-ref2ind" title="Link to this method">
|
|
844
|
+
<span class="method-name">ref2ind</span>
|
|
845
|
+
<span class="method-args">(str)</span>
|
|
846
|
+
</a>
|
|
847
|
+
</div>
|
|
848
|
+
|
|
220
849
|
</div>
|
|
221
850
|
|
|
222
|
-
<div class="method-description">
|
|
223
|
-
<p>Converts Excel-style cell reference to <code>row</code> and <code>col</code> zero-based indices.</p>
|
|
224
851
|
|
|
852
|
+
<div class="method-controls">
|
|
853
|
+
<details class="method-source-toggle">
|
|
854
|
+
<summary>Source</summary>
|
|
855
|
+
</details>
|
|
856
|
+
</div>
|
|
225
857
|
<div class="method-source-code" id="ref2ind-source">
|
|
226
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line
|
|
858
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 125</span>
|
|
227
859
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">ref2ind</span>(<span class="ruby-identifier">str</span>)
|
|
228
|
-
<span class="ruby-
|
|
229
|
-
|
|
860
|
+
<span class="ruby-identifier">matchdata</span> = <span class="ruby-identifier">str</span>.<span class="ruby-identifier">match</span>(<span class="ruby-regexp">/\A(?<cabs>\$?)(?<col>[A-Z]+)(?<rabs>\$?)(?<row>\d+)\Z/</span>)
|
|
861
|
+
<span class="ruby-keyword">return</span> [ <span class="ruby-value">-1</span>, <span class="ruby-value">-1</span> ] <span class="ruby-keyword">unless</span> <span class="ruby-identifier">matchdata</span>
|
|
862
|
+
[ <span class="ruby-identifier">matchdata</span>[<span class="ruby-string">'row'</span>].<span class="ruby-identifier">to_i</span> <span class="ruby-operator">-</span> <span class="ruby-value">1</span>,
|
|
863
|
+
<span class="ruby-identifier">matchdata</span>[<span class="ruby-string">'col'</span>].<span class="ruby-identifier">each_byte</span>.<span class="ruby-identifier">inject</span>(<span class="ruby-value">0</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">col</span>, <span class="ruby-identifier">chr</span><span class="ruby-operator">|</span> (<span class="ruby-identifier">col</span> <span class="ruby-operator">*</span> <span class="ruby-value">26</span>) <span class="ruby-operator">+</span> (<span class="ruby-identifier">chr</span> <span class="ruby-operator">-</span> <span class="ruby-value">64</span>) } <span class="ruby-operator">-</span> <span class="ruby-value">1</span>,
|
|
864
|
+
<span class="ruby-operator">!</span><span class="ruby-identifier">matchdata</span>[<span class="ruby-string">'rabs'</span>].<span class="ruby-identifier">empty?</span>,
|
|
865
|
+
<span class="ruby-operator">!</span><span class="ruby-identifier">matchdata</span>[<span class="ruby-string">'cabs'</span>].<span class="ruby-identifier">empty?</span> ]
|
|
230
866
|
<span class="ruby-keyword">end</span></pre>
|
|
231
867
|
</div>
|
|
868
|
+
|
|
869
|
+
|
|
870
|
+
|
|
871
|
+
<div class="method-description">
|
|
872
|
+
|
|
873
|
+
|
|
874
|
+
<p>Converts Excel-style cell reference to <code>row</code> and <code>col</code> zero-based indices.</p>
|
|
875
|
+
|
|
876
|
+
|
|
232
877
|
</div>
|
|
233
878
|
|
|
234
879
|
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
|
|
235
883
|
</div>
|
|
236
884
|
|
|
885
|
+
|
|
237
886
|
</section>
|
|
238
887
|
|
|
239
|
-
|
|
888
|
+
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
|
|
894
|
+
<section id="public-instance-untitled-method-details" class="method-section anchor-link">
|
|
240
895
|
<header>
|
|
241
|
-
<h3>Public Instance Methods</h3>
|
|
896
|
+
<h3 id="public-instance-untitled-methods"><a href="#public-instance-untitled-methods">Public Instance Methods</a></h3>
|
|
242
897
|
</header>
|
|
243
898
|
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
899
|
+
|
|
900
|
+
<div id="method-i-3D-3D" class="method-detail anchor-link ">
|
|
901
|
+
<div class="method-header">
|
|
902
|
+
|
|
903
|
+
<div class="method-heading">
|
|
904
|
+
<a href="#method-i-3D-3D" title="Link to this method">
|
|
905
|
+
<span class="method-name">==</span>
|
|
906
|
+
<span class="method-args">(other)</span>
|
|
907
|
+
</a>
|
|
908
|
+
</div>
|
|
909
|
+
|
|
249
910
|
</div>
|
|
250
911
|
|
|
251
|
-
<div class="method-description">
|
|
252
|
-
|
|
253
912
|
|
|
913
|
+
<div class="method-controls">
|
|
914
|
+
<details class="method-source-toggle">
|
|
915
|
+
<summary>Source</summary>
|
|
916
|
+
</details>
|
|
917
|
+
</div>
|
|
254
918
|
<div class="method-source-code" id="3D-3D-source">
|
|
255
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line
|
|
919
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 68</span>
|
|
256
920
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">==</span>(<span class="ruby-identifier">other</span>)
|
|
257
|
-
<span class="ruby-operator">!</span><span class="ruby-identifier">other</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">&&</span> (<span class="ruby-ivar">@
|
|
921
|
+
<span class="ruby-operator">!</span><span class="ruby-identifier">other</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">&&</span> (<span class="ruby-ivar">@sheet_name</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">sheet_name</span>) <span class="ruby-operator">&&</span>
|
|
922
|
+
(<span class="ruby-ivar">@row_range</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">row_range</span>) <span class="ruby-operator">&&</span> (<span class="ruby-ivar">@col_range</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">col_range</span>)
|
|
258
923
|
<span class="ruby-keyword">end</span></pre>
|
|
259
924
|
</div>
|
|
925
|
+
|
|
926
|
+
|
|
927
|
+
|
|
928
|
+
<div class="method-description">
|
|
929
|
+
|
|
930
|
+
|
|
931
|
+
|
|
932
|
+
|
|
933
|
+
|
|
260
934
|
</div>
|
|
261
935
|
|
|
262
936
|
|
|
937
|
+
|
|
938
|
+
|
|
939
|
+
|
|
263
940
|
</div>
|
|
264
941
|
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
942
|
+
|
|
943
|
+
<div id="method-i-cover-3F" class="method-detail anchor-link ">
|
|
944
|
+
<div class="method-header">
|
|
945
|
+
|
|
946
|
+
<div class="method-heading">
|
|
947
|
+
<a href="#method-i-cover-3F" title="Link to this method">
|
|
948
|
+
<span class="method-name">cover?</span>
|
|
949
|
+
<span class="method-args">(other)</span>
|
|
950
|
+
</a>
|
|
951
|
+
</div>
|
|
952
|
+
|
|
270
953
|
</div>
|
|
271
954
|
|
|
272
|
-
<div class="method-description">
|
|
273
|
-
|
|
274
955
|
|
|
956
|
+
<div class="method-controls">
|
|
957
|
+
<details class="method-source-toggle">
|
|
958
|
+
<summary>Source</summary>
|
|
959
|
+
</details>
|
|
960
|
+
</div>
|
|
275
961
|
<div class="method-source-code" id="cover-3F-source">
|
|
276
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line
|
|
962
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 73</span>
|
|
277
963
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">cover?</span>(<span class="ruby-identifier">other</span>)
|
|
278
|
-
<span class="ruby-operator">!</span><span class="ruby-identifier">other</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">&&</span> (<span class="ruby-ivar">@row_range</span>.<span class="ruby-identifier">cover?</span>(<span class="ruby-identifier">other</span>.<span class="ruby-identifier">row_range</span>.<span class="ruby-identifier">begin</span>) <span class="ruby-operator">&&</span>
|
|
279
|
-
<span class="ruby-ivar">@
|
|
964
|
+
<span class="ruby-operator">!</span><span class="ruby-identifier">other</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">&&</span> (<span class="ruby-ivar">@row_range</span>.<span class="ruby-identifier">cover?</span>(<span class="ruby-identifier">other</span>.<span class="ruby-identifier">row_range</span>.<span class="ruby-identifier">begin</span>) <span class="ruby-operator">&&</span>
|
|
965
|
+
<span class="ruby-ivar">@row_range</span>.<span class="ruby-identifier">cover?</span>(<span class="ruby-identifier">other</span>.<span class="ruby-identifier">row_range</span>.<span class="ruby-identifier">end</span>) <span class="ruby-operator">&&</span>
|
|
966
|
+
<span class="ruby-ivar">@col_range</span>.<span class="ruby-identifier">cover?</span>(<span class="ruby-identifier">other</span>.<span class="ruby-identifier">col_range</span>.<span class="ruby-identifier">begin</span>) <span class="ruby-operator">&&</span>
|
|
967
|
+
<span class="ruby-ivar">@col_range</span>.<span class="ruby-identifier">cover?</span>(<span class="ruby-identifier">other</span>.<span class="ruby-identifier">col_range</span>.<span class="ruby-identifier">end</span>))
|
|
280
968
|
<span class="ruby-keyword">end</span></pre>
|
|
281
969
|
</div>
|
|
970
|
+
|
|
971
|
+
|
|
972
|
+
|
|
973
|
+
<div class="method-description">
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
|
|
977
|
+
|
|
978
|
+
|
|
282
979
|
</div>
|
|
283
980
|
|
|
284
981
|
|
|
982
|
+
|
|
983
|
+
|
|
984
|
+
|
|
285
985
|
</div>
|
|
286
986
|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
987
|
+
|
|
988
|
+
<div id="method-i-first_col" class="method-detail anchor-link ">
|
|
989
|
+
<div class="method-header">
|
|
990
|
+
|
|
991
|
+
<div class="method-heading">
|
|
992
|
+
<a href="#method-i-first_col" title="Link to this method">
|
|
993
|
+
<span class="method-name">first_col</span>
|
|
994
|
+
<span class="method-args">()</span>
|
|
995
|
+
</a>
|
|
996
|
+
</div>
|
|
997
|
+
|
|
292
998
|
</div>
|
|
293
999
|
|
|
294
|
-
<div class="method-description">
|
|
295
|
-
|
|
296
1000
|
|
|
1001
|
+
<div class="method-controls">
|
|
1002
|
+
<details class="method-source-toggle">
|
|
1003
|
+
<summary>Source</summary>
|
|
1004
|
+
</details>
|
|
1005
|
+
</div>
|
|
297
1006
|
<div class="method-source-code" id="first_col-source">
|
|
298
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line
|
|
1007
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 60</span>
|
|
299
1008
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">first_col</span>
|
|
300
1009
|
<span class="ruby-ivar">@col_range</span>.<span class="ruby-identifier">begin</span>
|
|
301
1010
|
<span class="ruby-keyword">end</span></pre>
|
|
302
1011
|
</div>
|
|
1012
|
+
|
|
1013
|
+
|
|
1014
|
+
|
|
1015
|
+
<div class="method-description">
|
|
1016
|
+
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
|
|
1020
|
+
|
|
303
1021
|
</div>
|
|
304
1022
|
|
|
305
1023
|
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
|
|
306
1027
|
</div>
|
|
307
1028
|
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
1029
|
+
|
|
1030
|
+
<div id="method-i-first_row" class="method-detail anchor-link ">
|
|
1031
|
+
<div class="method-header">
|
|
1032
|
+
|
|
1033
|
+
<div class="method-heading">
|
|
1034
|
+
<a href="#method-i-first_row" title="Link to this method">
|
|
1035
|
+
<span class="method-name">first_row</span>
|
|
1036
|
+
<span class="method-args">()</span>
|
|
1037
|
+
</a>
|
|
1038
|
+
</div>
|
|
1039
|
+
|
|
313
1040
|
</div>
|
|
314
1041
|
|
|
315
|
-
<div class="method-description">
|
|
316
|
-
|
|
317
1042
|
|
|
1043
|
+
<div class="method-controls">
|
|
1044
|
+
<details class="method-source-toggle">
|
|
1045
|
+
<summary>Source</summary>
|
|
1046
|
+
</details>
|
|
1047
|
+
</div>
|
|
318
1048
|
<div class="method-source-code" id="first_row-source">
|
|
319
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line
|
|
1049
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 52</span>
|
|
320
1050
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">first_row</span>
|
|
321
1051
|
<span class="ruby-ivar">@row_range</span>.<span class="ruby-identifier">begin</span>
|
|
322
1052
|
<span class="ruby-keyword">end</span></pre>
|
|
323
1053
|
</div>
|
|
1054
|
+
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
|
+
<div class="method-description">
|
|
1058
|
+
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
|
|
324
1063
|
</div>
|
|
325
1064
|
|
|
326
1065
|
|
|
1066
|
+
|
|
1067
|
+
|
|
1068
|
+
|
|
327
1069
|
</div>
|
|
328
1070
|
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
1071
|
+
|
|
1072
|
+
<div id="method-i-inspect" class="method-detail anchor-link ">
|
|
1073
|
+
<div class="method-header">
|
|
1074
|
+
|
|
1075
|
+
<div class="method-heading">
|
|
1076
|
+
<a href="#method-i-inspect" title="Link to this method">
|
|
1077
|
+
<span class="method-name">inspect</span>
|
|
1078
|
+
<span class="method-args">()</span>
|
|
1079
|
+
</a>
|
|
1080
|
+
</div>
|
|
1081
|
+
|
|
334
1082
|
</div>
|
|
335
1083
|
|
|
336
|
-
<div class="method-description">
|
|
337
|
-
|
|
338
1084
|
|
|
1085
|
+
<div class="method-controls">
|
|
1086
|
+
<details class="method-source-toggle">
|
|
1087
|
+
<summary>Source</summary>
|
|
1088
|
+
</details>
|
|
1089
|
+
</div>
|
|
339
1090
|
<div class="method-source-code" id="inspect-source">
|
|
340
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line
|
|
1091
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 101</span>
|
|
341
1092
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">inspect</span>
|
|
342
1093
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">single_cell?</span> <span class="ruby-keyword">then</span>
|
|
343
|
-
<span class="ruby-node">"#<#{self.class} @row=#{@row_range.begin} @col=#{@col_range.begin}>"</span>
|
|
1094
|
+
<span class="ruby-node">"#<#{self.class} @sheet_name=#{@sheet_name} @row=#{@row_range.begin} @col=#{@col_range.begin}>"</span>
|
|
344
1095
|
<span class="ruby-keyword">else</span>
|
|
345
|
-
<span class="ruby-node">"#<#{self.class} @row_range=#{@row_range} @col_range=#{@col_range}>"</span>
|
|
1096
|
+
<span class="ruby-node">"#<#{self.class} @sheet_name=#{@sheet_name} @row_range=#{@row_range} @col_range=#{@col_range}>"</span>
|
|
346
1097
|
<span class="ruby-keyword">end</span>
|
|
347
1098
|
<span class="ruby-keyword">end</span></pre>
|
|
348
1099
|
</div>
|
|
1100
|
+
|
|
1101
|
+
|
|
1102
|
+
|
|
1103
|
+
<div class="method-description">
|
|
1104
|
+
|
|
1105
|
+
|
|
1106
|
+
|
|
1107
|
+
|
|
1108
|
+
|
|
349
1109
|
</div>
|
|
350
1110
|
|
|
351
1111
|
|
|
1112
|
+
|
|
1113
|
+
|
|
1114
|
+
|
|
352
1115
|
</div>
|
|
353
1116
|
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
1117
|
+
|
|
1118
|
+
<div id="method-i-last_col" class="method-detail anchor-link ">
|
|
1119
|
+
<div class="method-header">
|
|
1120
|
+
|
|
1121
|
+
<div class="method-heading">
|
|
1122
|
+
<a href="#method-i-last_col" title="Link to this method">
|
|
1123
|
+
<span class="method-name">last_col</span>
|
|
1124
|
+
<span class="method-args">()</span>
|
|
1125
|
+
</a>
|
|
1126
|
+
</div>
|
|
1127
|
+
|
|
359
1128
|
</div>
|
|
360
1129
|
|
|
361
|
-
<div class="method-description">
|
|
362
|
-
|
|
363
1130
|
|
|
1131
|
+
<div class="method-controls">
|
|
1132
|
+
<details class="method-source-toggle">
|
|
1133
|
+
<summary>Source</summary>
|
|
1134
|
+
</details>
|
|
1135
|
+
</div>
|
|
364
1136
|
<div class="method-source-code" id="last_col-source">
|
|
365
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line
|
|
1137
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 64</span>
|
|
366
1138
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">last_col</span>
|
|
367
1139
|
<span class="ruby-ivar">@col_range</span>.<span class="ruby-identifier">end</span>
|
|
368
1140
|
<span class="ruby-keyword">end</span></pre>
|
|
369
1141
|
</div>
|
|
1142
|
+
|
|
1143
|
+
|
|
1144
|
+
|
|
1145
|
+
<div class="method-description">
|
|
1146
|
+
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
|
|
1150
|
+
|
|
370
1151
|
</div>
|
|
371
1152
|
|
|
372
1153
|
|
|
1154
|
+
|
|
1155
|
+
|
|
1156
|
+
|
|
373
1157
|
</div>
|
|
374
1158
|
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
1159
|
+
|
|
1160
|
+
<div id="method-i-last_row" class="method-detail anchor-link ">
|
|
1161
|
+
<div class="method-header">
|
|
1162
|
+
|
|
1163
|
+
<div class="method-heading">
|
|
1164
|
+
<a href="#method-i-last_row" title="Link to this method">
|
|
1165
|
+
<span class="method-name">last_row</span>
|
|
1166
|
+
<span class="method-args">()</span>
|
|
1167
|
+
</a>
|
|
1168
|
+
</div>
|
|
1169
|
+
|
|
380
1170
|
</div>
|
|
381
1171
|
|
|
382
|
-
<div class="method-description">
|
|
383
|
-
|
|
384
1172
|
|
|
1173
|
+
<div class="method-controls">
|
|
1174
|
+
<details class="method-source-toggle">
|
|
1175
|
+
<summary>Source</summary>
|
|
1176
|
+
</details>
|
|
1177
|
+
</div>
|
|
385
1178
|
<div class="method-source-code" id="last_row-source">
|
|
386
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line
|
|
1179
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 56</span>
|
|
387
1180
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">last_row</span>
|
|
388
1181
|
<span class="ruby-ivar">@row_range</span>.<span class="ruby-identifier">end</span>
|
|
389
1182
|
<span class="ruby-keyword">end</span></pre>
|
|
390
1183
|
</div>
|
|
1184
|
+
|
|
1185
|
+
|
|
1186
|
+
|
|
1187
|
+
<div class="method-description">
|
|
1188
|
+
|
|
1189
|
+
|
|
1190
|
+
|
|
1191
|
+
|
|
1192
|
+
|
|
391
1193
|
</div>
|
|
392
1194
|
|
|
393
1195
|
|
|
1196
|
+
|
|
1197
|
+
|
|
1198
|
+
|
|
394
1199
|
</div>
|
|
395
1200
|
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
1201
|
+
|
|
1202
|
+
<div id="method-i-single_cell-3F" class="method-detail anchor-link ">
|
|
1203
|
+
<div class="method-header">
|
|
1204
|
+
|
|
1205
|
+
<div class="method-heading">
|
|
1206
|
+
<a href="#method-i-single_cell-3F" title="Link to this method">
|
|
1207
|
+
<span class="method-name">single_cell?</span>
|
|
1208
|
+
<span class="method-args">()</span>
|
|
1209
|
+
</a>
|
|
1210
|
+
</div>
|
|
1211
|
+
|
|
401
1212
|
</div>
|
|
402
1213
|
|
|
403
|
-
<div class="method-description">
|
|
404
|
-
|
|
405
1214
|
|
|
1215
|
+
<div class="method-controls">
|
|
1216
|
+
<details class="method-source-toggle">
|
|
1217
|
+
<summary>Source</summary>
|
|
1218
|
+
</details>
|
|
1219
|
+
</div>
|
|
406
1220
|
<div class="method-source-code" id="single_cell-3F-source">
|
|
407
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line
|
|
1221
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 44</span>
|
|
408
1222
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">single_cell?</span>
|
|
409
1223
|
(<span class="ruby-ivar">@row_range</span>.<span class="ruby-identifier">begin</span> <span class="ruby-operator">==</span> <span class="ruby-ivar">@row_range</span>.<span class="ruby-identifier">end</span>) <span class="ruby-operator">&&</span> (<span class="ruby-ivar">@col_range</span>.<span class="ruby-identifier">begin</span> <span class="ruby-operator">==</span> <span class="ruby-ivar">@col_range</span>.<span class="ruby-identifier">end</span>)
|
|
410
1224
|
<span class="ruby-keyword">end</span></pre>
|
|
411
1225
|
</div>
|
|
1226
|
+
|
|
1227
|
+
|
|
1228
|
+
|
|
1229
|
+
<div class="method-description">
|
|
1230
|
+
|
|
1231
|
+
|
|
1232
|
+
|
|
1233
|
+
|
|
1234
|
+
|
|
412
1235
|
</div>
|
|
413
1236
|
|
|
414
1237
|
|
|
1238
|
+
|
|
1239
|
+
|
|
1240
|
+
|
|
415
1241
|
</div>
|
|
416
1242
|
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
1243
|
+
|
|
1244
|
+
<div id="method-i-to_s" class="method-detail anchor-link ">
|
|
1245
|
+
<div class="method-header">
|
|
1246
|
+
|
|
1247
|
+
<div class="method-heading">
|
|
1248
|
+
<a href="#method-i-to_s" title="Link to this method">
|
|
1249
|
+
<span class="method-name">to_s</span>
|
|
1250
|
+
<span class="method-args">()</span>
|
|
1251
|
+
</a>
|
|
1252
|
+
</div>
|
|
1253
|
+
|
|
422
1254
|
</div>
|
|
423
1255
|
|
|
424
|
-
<div class="method-description">
|
|
425
|
-
|
|
426
1256
|
|
|
1257
|
+
<div class="method-controls">
|
|
1258
|
+
<details class="method-source-toggle">
|
|
1259
|
+
<summary>Source</summary>
|
|
1260
|
+
</details>
|
|
1261
|
+
</div>
|
|
427
1262
|
<div class="method-source-code" id="to_s-source">
|
|
428
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line
|
|
1263
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 80</span>
|
|
429
1264
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_s</span>
|
|
1265
|
+
<span class="ruby-identifier">result</span> = <span class="ruby-string">+''</span>
|
|
1266
|
+
|
|
1267
|
+
<span class="ruby-keyword">if</span> <span class="ruby-ivar">@sheet_name</span> <span class="ruby-keyword">then</span>
|
|
1268
|
+
<span class="ruby-keyword">if</span> <span class="ruby-ivar">@sheet_name</span>.<span class="ruby-identifier">index</span>(<span class="ruby-string">' '</span>) <span class="ruby-keyword">then</span>
|
|
1269
|
+
<span class="ruby-identifier">result</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"'#{@sheet_name}'"</span>
|
|
1270
|
+
<span class="ruby-keyword">else</span>
|
|
1271
|
+
<span class="ruby-identifier">result</span> <span class="ruby-operator"><<</span> <span class="ruby-ivar">@sheet_name</span>
|
|
1272
|
+
<span class="ruby-keyword">end</span>
|
|
1273
|
+
<span class="ruby-identifier">result</span> <span class="ruby-operator"><<</span> <span class="ruby-string">'!'</span>
|
|
1274
|
+
<span class="ruby-keyword">end</span>
|
|
1275
|
+
|
|
430
1276
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">single_cell?</span> <span class="ruby-keyword">then</span>
|
|
431
|
-
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">ind2ref</span>(<span class="ruby-ivar">@row_range</span>.<span class="ruby-identifier">begin</span>, <span class="ruby-ivar">@col_range</span>.<span class="ruby-identifier">begin</span>)
|
|
1277
|
+
<span class="ruby-identifier">result</span> <span class="ruby-operator"><<</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">ind2ref</span>(<span class="ruby-ivar">@row_range</span>.<span class="ruby-identifier">begin</span>, <span class="ruby-ivar">@col_range</span>.<span class="ruby-identifier">begin</span>, <span class="ruby-ivar">@row_from_absolute</span>, <span class="ruby-ivar">@col_from_absolute</span>)
|
|
432
1278
|
<span class="ruby-keyword">else</span>
|
|
433
|
-
<span class="ruby-
|
|
1279
|
+
<span class="ruby-identifier">result</span> <span class="ruby-operator"><<</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">ind2ref</span>(<span class="ruby-ivar">@row_range</span>.<span class="ruby-identifier">begin</span>, <span class="ruby-ivar">@col_range</span>.<span class="ruby-identifier">begin</span>, <span class="ruby-ivar">@row_from_absolute</span>, <span class="ruby-ivar">@col_from_absolute</span>)
|
|
1280
|
+
<span class="ruby-identifier">result</span> <span class="ruby-operator"><<</span> <span class="ruby-string">':'</span>
|
|
1281
|
+
<span class="ruby-identifier">result</span> <span class="ruby-operator"><<</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">ind2ref</span>(<span class="ruby-ivar">@row_range</span>.<span class="ruby-identifier">end</span>, <span class="ruby-ivar">@col_range</span>.<span class="ruby-identifier">end</span>, <span class="ruby-ivar">@row_to_absolute</span>, <span class="ruby-ivar">@col_to_absolute</span>)
|
|
434
1282
|
<span class="ruby-keyword">end</span>
|
|
435
1283
|
<span class="ruby-keyword">end</span></pre>
|
|
436
1284
|
</div>
|
|
1285
|
+
|
|
1286
|
+
|
|
1287
|
+
|
|
1288
|
+
<div class="method-description">
|
|
1289
|
+
|
|
1290
|
+
|
|
1291
|
+
|
|
1292
|
+
|
|
1293
|
+
|
|
437
1294
|
</div>
|
|
438
1295
|
|
|
439
1296
|
|
|
1297
|
+
|
|
1298
|
+
|
|
1299
|
+
|
|
440
1300
|
</div>
|
|
441
1301
|
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
1302
|
+
|
|
1303
|
+
<div id="method-i-valid-3F" class="method-detail anchor-link ">
|
|
1304
|
+
<div class="method-header">
|
|
1305
|
+
|
|
1306
|
+
<div class="method-heading">
|
|
1307
|
+
<a href="#method-i-valid-3F" title="Link to this method">
|
|
1308
|
+
<span class="method-name">valid?</span>
|
|
1309
|
+
<span class="method-args">()</span>
|
|
1310
|
+
</a>
|
|
1311
|
+
</div>
|
|
1312
|
+
|
|
447
1313
|
</div>
|
|
448
1314
|
|
|
449
|
-
<div class="method-description">
|
|
450
|
-
|
|
451
1315
|
|
|
1316
|
+
<div class="method-controls">
|
|
1317
|
+
<details class="method-source-toggle">
|
|
1318
|
+
<summary>Source</summary>
|
|
1319
|
+
</details>
|
|
1320
|
+
</div>
|
|
452
1321
|
<div class="method-source-code" id="valid-3F-source">
|
|
453
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line
|
|
1322
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 48</span>
|
|
454
1323
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">valid?</span>
|
|
455
1324
|
<span class="ruby-operator">!</span>(<span class="ruby-identifier">row_range</span>.<span class="ruby-identifier">begin</span>.<span class="ruby-identifier">negative?</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">col_range</span>.<span class="ruby-identifier">begin</span>.<span class="ruby-identifier">negative?</span>)
|
|
456
1325
|
<span class="ruby-keyword">end</span></pre>
|
|
457
1326
|
</div>
|
|
1327
|
+
|
|
1328
|
+
|
|
1329
|
+
|
|
1330
|
+
<div class="method-description">
|
|
1331
|
+
|
|
1332
|
+
|
|
1333
|
+
|
|
1334
|
+
|
|
1335
|
+
|
|
458
1336
|
</div>
|
|
459
1337
|
|
|
460
1338
|
|
|
1339
|
+
|
|
1340
|
+
|
|
1341
|
+
|
|
461
1342
|
</div>
|
|
462
1343
|
|
|
1344
|
+
|
|
463
1345
|
</section>
|
|
464
1346
|
|
|
1347
|
+
|
|
1348
|
+
|
|
1349
|
+
|
|
465
1350
|
</section>
|
|
1351
|
+
|
|
466
1352
|
</main>
|
|
467
1353
|
|
|
1354
|
+
<aside class="table-of-contents" role="complementary" aria-label="Table of Contents">
|
|
1355
|
+
<div class="toc-sticky">
|
|
1356
|
+
<h3 class="toc-heading">On This Page</h3>
|
|
1357
|
+
<nav class="toc-nav" id="toc-nav" aria-label="Page sections">
|
|
1358
|
+
<!-- Generated by JavaScript based on page headings -->
|
|
1359
|
+
</nav>
|
|
1360
|
+
</div>
|
|
1361
|
+
</aside>
|
|
1362
|
+
|
|
1363
|
+
|
|
1364
|
+
<footer class="site-footer">
|
|
1365
|
+
|
|
468
1366
|
|
|
469
|
-
<
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
1367
|
+
<div class="footer-bottom">
|
|
1368
|
+
<p>
|
|
1369
|
+
Generated by <a href="https://ruby.github.io/rdoc/">RDoc 7.2.0</a>
|
|
1370
|
+
using the Aliki theme by <a href="http://st0012.dev">Stan Lo</a>
|
|
1371
|
+
</p>
|
|
1372
|
+
</div>
|
|
473
1373
|
</footer>
|
|
474
1374
|
|
|
1375
|
+
</body>
|
|
1376
|
+
|