rubyXL 3.4.24 → 3.4.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +96 -0
- data/CHANGELOG.md +12 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +66 -37
- data/README.rdoc +7 -3
- data/Rakefile +6 -8
- data/VERSION +1 -1
- data/lib/rubyXL/cell.rb +2 -2
- data/lib/rubyXL/convenience_methods/cell.rb +16 -18
- data/lib/rubyXL/convenience_methods/worksheet.rb +1 -1
- data/lib/rubyXL/objects/chartsheet.rb +1 -2
- data/lib/rubyXL/objects/external_links.rb +8 -0
- data/lib/rubyXL/objects/reference.rb +11 -4
- data/lib/rubyXL/objects/storage.rb +5 -0
- data/lib/rubyXL/objects/workbook.rb +4 -4
- data/lib/rubyXL/worksheet.rb +1 -1
- data/rdoc/README_rdoc.html +103 -47
- data/rdoc/RubyXL/AExtension.html +15 -11
- data/rdoc/RubyXL/AExtensionStorageArea.html +3 -3
- data/rdoc/RubyXL/ActiveX.html +10 -8
- data/rdoc/RubyXL/ActiveXBinary.html +3 -3
- data/rdoc/RubyXL/AdjustHandleList.html +3 -3
- data/rdoc/RubyXL/Alignment.html +3 -3
- data/rdoc/RubyXL/AlternateContent.html +3 -3
- data/rdoc/RubyXL/AlternateUrls.html +99 -0
- data/rdoc/RubyXL/Authors.html +3 -3
- data/rdoc/RubyXL/AutoFilter.html +3 -3
- data/rdoc/RubyXL/AutoFilterColumn.html +3 -3
- data/rdoc/RubyXL/BinaryImageFile.html +3 -3
- data/rdoc/RubyXL/BodyProperties.html +3 -3
- data/rdoc/RubyXL/BooleanNode.html +3 -3
- data/rdoc/RubyXL/BooleanValue.html +3 -3
- data/rdoc/RubyXL/Border.html +27 -19
- data/rdoc/RubyXL/BorderEdge.html +15 -11
- data/rdoc/RubyXL/Borders.html +9 -7
- data/rdoc/RubyXL/Break.html +3 -3
- data/rdoc/RubyXL/BreakList.html +3 -3
- data/rdoc/RubyXL/CT_AdjPoint2D.html +3 -3
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +3 -3
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +3 -3
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +3 -3
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +3 -3
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +3 -3
- data/rdoc/RubyXL/CT_Backdrop.html +3 -3
- data/rdoc/RubyXL/CT_Bevel.html +3 -3
- data/rdoc/RubyXL/CT_BiLevelEffect.html +3 -3
- data/rdoc/RubyXL/CT_BlendEffect.html +3 -3
- data/rdoc/RubyXL/CT_Blip.html +3 -3
- data/rdoc/RubyXL/CT_BlipFillProperties.html +3 -3
- data/rdoc/RubyXL/CT_BlurEffect.html +3 -3
- data/rdoc/RubyXL/CT_Camera.html +3 -3
- data/rdoc/RubyXL/CT_Color.html +3 -3
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +3 -3
- data/rdoc/RubyXL/CT_ColorMapping.html +3 -3
- data/rdoc/RubyXL/CT_ColorScheme.html +3 -3
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +3 -3
- data/rdoc/RubyXL/CT_ConnectionSite.html +3 -3
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +3 -3
- data/rdoc/RubyXL/CT_DashStop.html +3 -3
- data/rdoc/RubyXL/CT_DashStopList.html +3 -3
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +3 -3
- data/rdoc/RubyXL/CT_DuotoneEffect.html +3 -3
- data/rdoc/RubyXL/CT_EffectContainer.html +3 -3
- data/rdoc/RubyXL/CT_EffectList.html +3 -3
- data/rdoc/RubyXL/CT_EffectReference.html +3 -3
- data/rdoc/RubyXL/CT_EffectStyleItem.html +3 -3
- data/rdoc/RubyXL/CT_EffectStyleList.html +3 -3
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +3 -3
- data/rdoc/RubyXL/CT_FillEffect.html +3 -3
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +3 -3
- data/rdoc/RubyXL/CT_FillStyleList.html +3 -3
- data/rdoc/RubyXL/CT_FlatText.html +3 -3
- data/rdoc/RubyXL/CT_FontCollection.html +3 -3
- data/rdoc/RubyXL/CT_FontReference.html +3 -3
- data/rdoc/RubyXL/CT_GeomGuideList.html +3 -3
- data/rdoc/RubyXL/CT_GlowEffect.html +3 -3
- data/rdoc/RubyXL/CT_GradientFillProperties.html +3 -3
- data/rdoc/RubyXL/CT_GradientStop.html +3 -3
- data/rdoc/RubyXL/CT_GradientStopList.html +3 -3
- data/rdoc/RubyXL/CT_HSLEffect.html +3 -3
- data/rdoc/RubyXL/CT_HslColor.html +3 -3
- data/rdoc/RubyXL/CT_Hyperlink.html +3 -3
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +3 -3
- data/rdoc/RubyXL/CT_LightRig.html +3 -3
- data/rdoc/RubyXL/CT_LineEndProperties.html +3 -3
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +3 -3
- data/rdoc/RubyXL/CT_LineProperties.html +3 -3
- data/rdoc/RubyXL/CT_LineStyleList.html +3 -3
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +3 -3
- data/rdoc/RubyXL/CT_LuminanceEffect.html +3 -3
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +3 -3
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +3 -3
- data/rdoc/RubyXL/CT_Path2D.html +3 -3
- data/rdoc/RubyXL/CT_Path2DArcTo.html +3 -3
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +3 -3
- data/rdoc/RubyXL/CT_Path2DList.html +3 -3
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +3 -3
- data/rdoc/RubyXL/CT_Path2DTo.html +3 -3
- data/rdoc/RubyXL/CT_PathShadeProperties.html +3 -3
- data/rdoc/RubyXL/CT_PatternFillProperties.html +3 -3
- data/rdoc/RubyXL/CT_Point3D.html +3 -3
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +3 -3
- data/rdoc/RubyXL/CT_PresetColor.html +3 -3
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +3 -3
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +3 -3
- data/rdoc/RubyXL/CT_PresetTextShape.html +3 -3
- data/rdoc/RubyXL/CT_ReflectionEffect.html +3 -3
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +3 -3
- data/rdoc/RubyXL/CT_RelativeRect.html +3 -3
- data/rdoc/RubyXL/CT_SRgbColor.html +3 -3
- data/rdoc/RubyXL/CT_ScRgbColor.html +3 -3
- data/rdoc/RubyXL/CT_Scene3D.html +3 -3
- data/rdoc/RubyXL/CT_SchemeColor.html +3 -3
- data/rdoc/RubyXL/CT_Shape3D.html +3 -3
- data/rdoc/RubyXL/CT_ShapeStyle.html +3 -3
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +3 -3
- data/rdoc/RubyXL/CT_SphereCoords.html +3 -3
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +3 -3
- data/rdoc/RubyXL/CT_StyleMatrix.html +3 -3
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +3 -3
- data/rdoc/RubyXL/CT_SupplementalFont.html +3 -3
- data/rdoc/RubyXL/CT_SystemColor.html +3 -3
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +3 -3
- data/rdoc/RubyXL/CT_TextBlipBullet.html +3 -3
- data/rdoc/RubyXL/CT_TextCharBullet.html +3 -3
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +3 -3
- data/rdoc/RubyXL/CT_TextFont.html +3 -3
- data/rdoc/RubyXL/CT_TextListStyle.html +3 -3
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +3 -3
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +3 -3
- data/rdoc/RubyXL/CT_TextSpacing.html +3 -3
- data/rdoc/RubyXL/CT_TextTabStop.html +3 -3
- data/rdoc/RubyXL/CT_TextTabStopList.html +3 -3
- data/rdoc/RubyXL/CT_TileInfoProperties.html +3 -3
- data/rdoc/RubyXL/CT_TintEffect.html +3 -3
- data/rdoc/RubyXL/CT_Transform2D.html +3 -3
- data/rdoc/RubyXL/CT_TransformEffect.html +3 -3
- data/rdoc/RubyXL/CT_Vector3D.html +3 -3
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +3 -3
- data/rdoc/RubyXL/CalculationChain.html +9 -7
- data/rdoc/RubyXL/CalculationChainCell.html +3 -3
- data/rdoc/RubyXL/CalculationProperties.html +3 -3
- data/rdoc/RubyXL/Cell.html +87 -59
- data/rdoc/RubyXL/CellConvenienceMethods.html +231 -159
- data/rdoc/RubyXL/CellExt.html +3 -3
- data/rdoc/RubyXL/CellSmartTag.html +3 -3
- data/rdoc/RubyXL/CellSmartTagProperty.html +3 -3
- data/rdoc/RubyXL/CellSmartTags.html +3 -3
- data/rdoc/RubyXL/CellStyle.html +3 -3
- data/rdoc/RubyXL/CellStyleXFs.html +9 -7
- data/rdoc/RubyXL/CellStyles.html +9 -7
- data/rdoc/RubyXL/CellValue.html +9 -7
- data/rdoc/RubyXL/CellWatch.html +3 -3
- data/rdoc/RubyXL/CellWatches.html +3 -3
- data/rdoc/RubyXL/CellXFs.html +9 -7
- data/rdoc/RubyXL/ChartColorsFile.html +3 -3
- data/rdoc/RubyXL/ChartFile.html +9 -7
- data/rdoc/RubyXL/ChartStyleFile.html +3 -3
- data/rdoc/RubyXL/ChartUserShapesFile.html +3 -3
- data/rdoc/RubyXL/Chartsheet.html +10 -8
- data/rdoc/RubyXL/ChartsheetPageSetup.html +3 -3
- data/rdoc/RubyXL/ChartsheetProperties.html +3 -3
- data/rdoc/RubyXL/ChartsheetProtection.html +3 -3
- data/rdoc/RubyXL/ChartsheetView.html +3 -3
- data/rdoc/RubyXL/ChartsheetViews.html +3 -3
- data/rdoc/RubyXL/Color.html +9 -7
- data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +15 -11
- data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +21 -15
- data/rdoc/RubyXL/ColorConvenienceClasses.html +3 -3
- data/rdoc/RubyXL/ColorConvenienceMethods.html +9 -7
- data/rdoc/RubyXL/ColorFilter.html +3 -3
- data/rdoc/RubyXL/ColorScale.html +3 -3
- data/rdoc/RubyXL/ColorSet.html +3 -3
- data/rdoc/RubyXL/Colors.html +3 -3
- data/rdoc/RubyXL/ColumnRange.html +21 -15
- data/rdoc/RubyXL/ColumnRanges.html +27 -19
- data/rdoc/RubyXL/Comment.html +3 -3
- data/rdoc/RubyXL/CommentList.html +3 -3
- data/rdoc/RubyXL/CommentsFile.html +9 -7
- data/rdoc/RubyXL/ConditionalFormatValue.html +3 -3
- data/rdoc/RubyXL/ConditionalFormatting.html +3 -3
- data/rdoc/RubyXL/ConditionalFormattingRule.html +3 -3
- data/rdoc/RubyXL/Connection.html +3 -3
- data/rdoc/RubyXL/ConnectionTable.html +3 -3
- data/rdoc/RubyXL/ConnectionTables.html +3 -3
- data/rdoc/RubyXL/ConnectionTextField.html +3 -3
- data/rdoc/RubyXL/ConnectionTextFields.html +3 -3
- data/rdoc/RubyXL/Connections.html +9 -7
- data/rdoc/RubyXL/ContentTypeDefault.html +3 -3
- data/rdoc/RubyXL/ContentTypeOverride.html +3 -3
- data/rdoc/RubyXL/ContentTypes.html +15 -11
- data/rdoc/RubyXL/ControlPropertiesFile.html +3 -3
- data/rdoc/RubyXL/CorePropertiesFile.html +57 -39
- data/rdoc/RubyXL/CustomColor.html +3 -3
- data/rdoc/RubyXL/CustomColorList.html +3 -3
- data/rdoc/RubyXL/CustomFilter.html +3 -3
- data/rdoc/RubyXL/CustomFilters.html +3 -3
- data/rdoc/RubyXL/CustomGeometry.html +3 -3
- data/rdoc/RubyXL/CustomProperties.html +3 -3
- data/rdoc/RubyXL/CustomPropertiesFile.html +3 -3
- data/rdoc/RubyXL/CustomProperty.html +3 -3
- data/rdoc/RubyXL/CustomPropertyFile.html +3 -3
- data/rdoc/RubyXL/CustomSheetView.html +3 -3
- data/rdoc/RubyXL/CustomSheetViews.html +3 -3
- data/rdoc/RubyXL/CustomWorkbookView.html +3 -3
- data/rdoc/RubyXL/CustomWorkbookViews.html +3 -3
- data/rdoc/RubyXL/CustomXMLFile.html +3 -3
- data/rdoc/RubyXL/DXF.html +3 -3
- data/rdoc/RubyXL/DXFs.html +3 -3
- data/rdoc/RubyXL/DataBar.html +3 -3
- data/rdoc/RubyXL/DataConsolidate.html +3 -3
- data/rdoc/RubyXL/DataConsolidationReference.html +3 -3
- data/rdoc/RubyXL/DataConsolidationReferences.html +3 -3
- data/rdoc/RubyXL/DataType.html +3 -3
- data/rdoc/RubyXL/DataValidation.html +3 -3
- data/rdoc/RubyXL/DataValidations.html +3 -3
- data/rdoc/RubyXL/DateGroupItem.html +3 -3
- data/rdoc/RubyXL/DefinedName.html +3 -3
- data/rdoc/RubyXL/DefinedNameExt.html +3 -3
- data/rdoc/RubyXL/DefinedNames.html +3 -3
- data/rdoc/RubyXL/DefinedNamesExt.html +3 -3
- data/rdoc/RubyXL/DocumentPropertiesFile.html +15 -11
- data/rdoc/RubyXL/DrawingFile.html +9 -7
- data/rdoc/RubyXL/DynamicFilter.html +3 -3
- data/rdoc/RubyXL/EmbeddedControl.html +3 -3
- data/rdoc/RubyXL/EmbeddedControls.html +3 -3
- data/rdoc/RubyXL/Extension.html +3 -3
- data/rdoc/RubyXL/ExtensionStorageArea.html +3 -3
- data/rdoc/RubyXL/Extents.html +3 -3
- data/rdoc/RubyXL/ExternalBook.html +3 -3
- data/rdoc/RubyXL/ExternalLinksFile.html +10 -8
- data/rdoc/RubyXL/ExternalReference.html +3 -3
- data/rdoc/RubyXL/ExternalReferences.html +3 -3
- data/rdoc/RubyXL/ExtraColorSchemeList.html +3 -3
- data/rdoc/RubyXL/FieldItem.html +3 -3
- data/rdoc/RubyXL/FileRecoveryProperties.html +3 -3
- data/rdoc/RubyXL/FileSharing.html +3 -3
- data/rdoc/RubyXL/FileVersion.html +3 -3
- data/rdoc/RubyXL/Fill.html +9 -7
- data/rdoc/RubyXL/Fills.html +9 -7
- data/rdoc/RubyXL/FilterContainer.html +3 -3
- data/rdoc/RubyXL/FloatNode.html +3 -3
- data/rdoc/RubyXL/FloatValue.html +3 -3
- data/rdoc/RubyXL/Font.html +9 -7
- data/rdoc/RubyXL/FontConvenienceMethods.html +87 -59
- data/rdoc/RubyXL/FontScheme.html +3 -3
- data/rdoc/RubyXL/Fonts.html +9 -7
- data/rdoc/RubyXL/Formula.html +3 -3
- data/rdoc/RubyXL/FunctionGroup.html +3 -3
- data/rdoc/RubyXL/FunctionGroups.html +3 -3
- data/rdoc/RubyXL/GenericStorageObject.html +21 -15
- data/rdoc/RubyXL/GradientFill.html +3 -3
- data/rdoc/RubyXL/HeaderFooterSettings.html +3 -3
- data/rdoc/RubyXL/Hyperlink.html +3 -3
- data/rdoc/RubyXL/HyperlinkRelFile.html +3 -3
- data/rdoc/RubyXL/Hyperlinks.html +3 -3
- data/rdoc/RubyXL/IconFilter.html +3 -3
- data/rdoc/RubyXL/IconSet.html +3 -3
- data/rdoc/RubyXL/IgnoredError.html +3 -3
- data/rdoc/RubyXL/IgnoredErrors.html +3 -3
- data/rdoc/RubyXL/IndexedColors.html +3 -3
- data/rdoc/RubyXL/InputCells.html +3 -3
- data/rdoc/RubyXL/IntegerNode.html +3 -3
- data/rdoc/RubyXL/IntegerValue.html +3 -3
- data/rdoc/RubyXL/LegacyCell.html +9 -7
- data/rdoc/RubyXL/LegacyWorksheet.html +33 -23
- data/rdoc/RubyXL/MRUColors.html +3 -3
- data/rdoc/RubyXL/MacrosFile.html +3 -3
- data/rdoc/RubyXL/MergedCell.html +3 -3
- data/rdoc/RubyXL/MergedCells.html +3 -3
- data/rdoc/RubyXL/NumFmt.html +3 -3
- data/rdoc/RubyXL/NumberFormat.html +9 -7
- data/rdoc/RubyXL/NumberFormats.html +9 -7
- data/rdoc/RubyXL/OLEObject.html +3 -3
- data/rdoc/RubyXL/OLEObjectFile.html +3 -3
- data/rdoc/RubyXL/OLEObjects.html +3 -3
- data/rdoc/RubyXL/OLESize.html +3 -3
- data/rdoc/RubyXL/OOXMLContainerObject.html +39 -27
- data/rdoc/RubyXL/OOXMLIgnored.html +15 -11
- data/rdoc/RubyXL/OOXMLObject.html +3 -3
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +39 -27
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +51 -35
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +63 -43
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +33 -23
- data/rdoc/RubyXL/OdbcOleDbProperties.html +3 -3
- data/rdoc/RubyXL/Offset.html +3 -3
- data/rdoc/RubyXL/OlapProperties.html +3 -3
- data/rdoc/RubyXL/OleItem.html +3 -3
- data/rdoc/RubyXL/OleItems.html +3 -3
- data/rdoc/RubyXL/OleLink.html +3 -3
- data/rdoc/RubyXL/OutlineProperties.html +3 -3
- data/rdoc/RubyXL/PageMargins.html +3 -3
- data/rdoc/RubyXL/PageSetup.html +3 -3
- data/rdoc/RubyXL/PageSetupProperties.html +3 -3
- data/rdoc/RubyXL/Pane.html +3 -3
- data/rdoc/RubyXL/Parser.html +15 -11
- data/rdoc/RubyXL/PatternFill.html +3 -3
- data/rdoc/RubyXL/PersonMetadata.html +108 -0
- data/rdoc/RubyXL/PhoneticProperties.html +3 -3
- data/rdoc/RubyXL/PhoneticRun.html +3 -3
- data/rdoc/RubyXL/PivotArea.html +3 -3
- data/rdoc/RubyXL/PivotCache.html +3 -3
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +3 -3
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +3 -3
- data/rdoc/RubyXL/PivotCaches.html +3 -3
- data/rdoc/RubyXL/PivotReference.html +3 -3
- data/rdoc/RubyXL/PivotReferences.html +3 -3
- data/rdoc/RubyXL/PivotTableFile.html +3 -3
- data/rdoc/RubyXL/PivotTableSelection.html +3 -3
- data/rdoc/RubyXL/PresetGeometry.html +3 -3
- data/rdoc/RubyXL/PrintOptions.html +3 -3
- data/rdoc/RubyXL/PrinterSettingsFile.html +3 -3
- data/rdoc/RubyXL/ProtectedRange.html +3 -3
- data/rdoc/RubyXL/ProtectedRanges.html +3 -3
- data/rdoc/RubyXL/Protection.html +3 -3
- data/rdoc/RubyXL/QueryParameter.html +3 -3
- data/rdoc/RubyXL/QueryParameters.html +3 -3
- data/rdoc/RubyXL/QueryTable.html +9 -7
- data/rdoc/RubyXL/QueryTableDeletedField.html +3 -3
- data/rdoc/RubyXL/QueryTableDeletedFields.html +3 -3
- data/rdoc/RubyXL/QueryTableField.html +3 -3
- data/rdoc/RubyXL/QueryTableFields.html +3 -3
- data/rdoc/RubyXL/QueryTableRefresh.html +3 -3
- data/rdoc/RubyXL/RID.html +3 -3
- data/rdoc/RubyXL/RawOOXML.html +15 -11
- data/rdoc/RubyXL/Reference.html +105 -73
- data/rdoc/RubyXL/Relationship.html +3 -3
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +9 -7
- data/rdoc/RubyXL/RelationshipSupport.html +39 -27
- data/rdoc/RubyXL/RevisionPointer.html +3 -3
- data/rdoc/RubyXL/RichText.html +9 -7
- data/rdoc/RubyXL/RichTextRun.html +9 -7
- data/rdoc/RubyXL/Row.html +57 -39
- data/rdoc/RubyXL/RowExt.html +3 -3
- data/rdoc/RubyXL/RunProperties.html +3 -3
- data/rdoc/RubyXL/Scenario.html +3 -3
- data/rdoc/RubyXL/Scenarios.html +3 -3
- data/rdoc/RubyXL/Selection.html +9 -7
- data/rdoc/RubyXL/ShapeGuide.html +3 -3
- data/rdoc/RubyXL/ShapeTextRectangle.html +3 -3
- data/rdoc/RubyXL/SharedStringsTable.html +45 -31
- data/rdoc/RubyXL/Sheet.html +3 -3
- data/rdoc/RubyXL/SheetCalculationProperties.html +3 -3
- data/rdoc/RubyXL/SheetData.html +15 -11
- data/rdoc/RubyXL/SheetDataExt.html +3 -3
- data/rdoc/RubyXL/SheetDataSet.html +3 -3
- data/rdoc/RubyXL/SheetMetadata.html +3 -3
- data/rdoc/RubyXL/SheetName.html +3 -3
- data/rdoc/RubyXL/SheetNames.html +3 -3
- data/rdoc/RubyXL/Sheets.html +3 -3
- data/rdoc/RubyXL/SlicerCacheFile.html +3 -3
- data/rdoc/RubyXL/SlicerFile.html +3 -3
- data/rdoc/RubyXL/SmartTagProperties.html +3 -3
- data/rdoc/RubyXL/SmartTagType.html +3 -3
- data/rdoc/RubyXL/SmartTagTypes.html +3 -3
- data/rdoc/RubyXL/SmartTags.html +3 -3
- data/rdoc/RubyXL/SortCondition.html +3 -3
- data/rdoc/RubyXL/SortState.html +3 -3
- data/rdoc/RubyXL/Sqref.html +17 -13
- data/rdoc/RubyXL/Stop.html +3 -3
- data/rdoc/RubyXL/StringNode.html +3 -3
- data/rdoc/RubyXL/StringNodeW3C.html +15 -11
- data/rdoc/RubyXL/StringValue.html +3 -3
- data/rdoc/RubyXL/Stylesheet.html +33 -23
- data/rdoc/RubyXL/TableFile.html +3 -3
- data/rdoc/RubyXL/TableParts.html +3 -3
- data/rdoc/RubyXL/TableStyle.html +3 -3
- data/rdoc/RubyXL/TableStyles.html +3 -3
- data/rdoc/RubyXL/Text.html +15 -11
- data/rdoc/RubyXL/TextImportSettings.html +3 -3
- data/rdoc/RubyXL/Theme.html +21 -15
- data/rdoc/RubyXL/ThemeElements.html +3 -3
- data/rdoc/RubyXL/ThumbnailFile.html +3 -3
- data/rdoc/RubyXL/Top10.html +3 -3
- data/rdoc/RubyXL/VMLDrawingFile.html +3 -3
- data/rdoc/RubyXL/Variant.html +3 -3
- data/rdoc/RubyXL/Vector.html +9 -7
- data/rdoc/RubyXL/VectorValue.html +3 -3
- data/rdoc/RubyXL/VisualProperties.html +3 -3
- data/rdoc/RubyXL/WebPublishObject.html +3 -3
- data/rdoc/RubyXL/WebPublishObjects.html +3 -3
- data/rdoc/RubyXL/WebPublishingItem.html +3 -3
- data/rdoc/RubyXL/WebPublishingItems.html +3 -3
- data/rdoc/RubyXL/WebPublishingProperties.html +3 -3
- data/rdoc/RubyXL/WebQueryProperties.html +3 -3
- data/rdoc/RubyXL/Workbook.html +172 -116
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +111 -75
- data/rdoc/RubyXL/WorkbookProperties.html +3 -3
- data/rdoc/RubyXL/WorkbookProtection.html +3 -3
- data/rdoc/RubyXL/WorkbookRoot.html +33 -23
- data/rdoc/RubyXL/WorkbookView.html +3 -3
- data/rdoc/RubyXL/WorkbookViews.html +3 -3
- data/rdoc/RubyXL/Worksheet.html +45 -31
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +418 -280
- data/rdoc/RubyXL/WorksheetDimensions.html +3 -3
- data/rdoc/RubyXL/WorksheetFormatProperties.html +3 -3
- data/rdoc/RubyXL/WorksheetProperties.html +3 -3
- data/rdoc/RubyXL/WorksheetProtection.html +3 -3
- data/rdoc/RubyXL/WorksheetView.html +3 -3
- data/rdoc/RubyXL/WorksheetViews.html +3 -3
- data/rdoc/RubyXL/XF.html +3 -3
- data/rdoc/RubyXL.html +9 -7
- data/rdoc/created.rid +35 -35
- data/rdoc/css/rdoc.css +55 -7
- data/rdoc/index.html +395 -388
- data/rdoc/js/darkfish.js +14 -1
- data/rdoc/js/navigation.js +8 -8
- data/rdoc/js/navigation.js.gz +0 -0
- data/rdoc/js/search.js +4 -4
- data/rdoc/js/search_index.js +1 -1
- data/rdoc/js/search_index.js.gz +0 -0
- data/rdoc/js/searcher.js.gz +0 -0
- data/rdoc/table_of_contents.html +9 -3
- data/rubyXL.gemspec +10 -4
- data/spec/lib/cell_spec.rb +2 -2
- data/spec/lib/color_spec.rb +1 -1
- data/spec/lib/parser_spec.rb +3 -2
- data/spec/lib/reference_spec.rb +35 -6
- data/spec/lib/rgb_color_spec.rb +1 -1
- data/spec/lib/stylesheet_spec.rb +7 -5
- data/spec/lib/workbook_spec.rb +4 -4
- data/spec/lib/worksheet_spec.rb +2 -2
- metadata +21 -3
data/rdoc/RubyXL/Reference.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::Reference - rubyXL 3.4.
|
7
|
+
<title>class RubyXL::Reference - rubyXL 3.4.26</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -41,7 +41,7 @@
|
|
41
41
|
<div id="search-field-wrapper">
|
42
42
|
<input id="search-field" role="combobox" aria-label="Search"
|
43
43
|
aria-autocomplete="list" aria-controls="search-results"
|
44
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
44
|
+
type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
|
45
45
|
title="Type to search, Up and Down to navigate, Enter to load">
|
46
46
|
</div>
|
47
47
|
|
@@ -149,17 +149,19 @@
|
|
149
149
|
</header>
|
150
150
|
|
151
151
|
<div id="method-c-ind2ref" class="method-detail ">
|
152
|
-
<div class="method-
|
153
|
-
<
|
154
|
-
class="method-
|
155
|
-
|
152
|
+
<div class="method-header">
|
153
|
+
<div class="method-heading">
|
154
|
+
<span class="method-name">ind2ref</span><span
|
155
|
+
class="method-args">(row = 0, col = 0)</span>
|
156
|
+
<span class="method-click-advice">click to toggle source</span>
|
157
|
+
</div>
|
156
158
|
</div>
|
157
159
|
|
158
160
|
<div class="method-description">
|
159
161
|
<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
162
|
|
161
163
|
<div class="method-source-code" id="ind2ref-source">
|
162
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line
|
164
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 86</span>
|
163
165
|
<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
166
|
<span class="ruby-identifier">str</span> = <span class="ruby-string">''</span>
|
165
167
|
|
@@ -179,17 +181,19 @@
|
|
179
181
|
</div>
|
180
182
|
|
181
183
|
<div id="method-c-new" class="method-detail ">
|
182
|
-
<div class="method-
|
183
|
-
<
|
184
|
-
class="method-
|
185
|
-
|
184
|
+
<div class="method-header">
|
185
|
+
<div class="method-heading">
|
186
|
+
<span class="method-name">new</span><span
|
187
|
+
class="method-args">(*params)</span>
|
188
|
+
<span class="method-click-advice">click to toggle source</span>
|
189
|
+
</div>
|
186
190
|
</div>
|
187
191
|
|
188
192
|
<div class="method-description">
|
189
|
-
<p><a href="Reference.html#method-c-new"><code>RubyXL::Reference.new
|
193
|
+
<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>
|
190
194
|
|
191
195
|
<div class="method-source-code" id="new-source">
|
192
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line
|
196
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 12</span>
|
193
197
|
<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
198
|
<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>
|
195
199
|
|
@@ -197,10 +201,16 @@
|
|
197
201
|
<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
202
|
<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
203
|
<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-
|
204
|
+
<span class="ruby-keyword">case</span> <span class="ruby-identifier">params</span>.<span class="ruby-identifier">first</span>
|
205
|
+
<span class="ruby-keyword">when</span> <span class="ruby-constant">Hash</span> <span class="ruby-keyword">then</span>
|
206
|
+
<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>)
|
207
|
+
<span class="ruby-keyword">when</span> <span class="ruby-constant">String</span> <span class="ruby-keyword">then</span>
|
208
|
+
<span class="ruby-identifier">from</span>, <span class="ruby-identifier">to</span> = <span class="ruby-identifier">params</span>[<span class="ruby-value">0</span>].<span class="ruby-identifier">split</span>(<span class="ruby-string">':'</span>)
|
209
|
+
<span class="ruby-identifier">row_from</span>, <span class="ruby-identifier">col_from</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>)
|
210
|
+
<span class="ruby-identifier">row_to</span>, <span class="ruby-identifier">col_to</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>
|
211
|
+
<span class="ruby-keyword">else</span>
|
212
|
+
<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>)
|
213
|
+
<span class="ruby-keyword">end</span>
|
204
214
|
<span class="ruby-keyword">end</span>
|
205
215
|
|
206
216
|
<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>)
|
@@ -213,17 +223,19 @@
|
|
213
223
|
</div>
|
214
224
|
|
215
225
|
<div id="method-c-ref2ind" class="method-detail ">
|
216
|
-
<div class="method-
|
217
|
-
<
|
218
|
-
class="method-
|
219
|
-
|
226
|
+
<div class="method-header">
|
227
|
+
<div class="method-heading">
|
228
|
+
<span class="method-name">ref2ind</span><span
|
229
|
+
class="method-args">(str)</span>
|
230
|
+
<span class="method-click-advice">click to toggle source</span>
|
231
|
+
</div>
|
220
232
|
</div>
|
221
233
|
|
222
234
|
<div class="method-description">
|
223
235
|
<p>Converts Excel-style cell reference to <code>row</code> and <code>col</code> zero-based indices.</p>
|
224
236
|
|
225
237
|
<div class="method-source-code" id="ref2ind-source">
|
226
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line
|
238
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 100</span>
|
227
239
|
<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
240
|
<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">str</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">/\A([A-Z]+)(\d+)\Z/</span>
|
229
241
|
[ <span class="ruby-constant">Regexp</span>.<span class="ruby-identifier">last_match</span>(<span class="ruby-value">2</span>).<span class="ruby-identifier">to_i</span> <span class="ruby-operator">-</span> <span class="ruby-value">1</span>, <span class="ruby-constant">Regexp</span>.<span class="ruby-identifier">last_match</span>(<span class="ruby-value">1</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> ]
|
@@ -242,17 +254,19 @@
|
|
242
254
|
</header>
|
243
255
|
|
244
256
|
<div id="method-i-3D-3D" class="method-detail ">
|
245
|
-
<div class="method-
|
246
|
-
<
|
247
|
-
class="method-
|
248
|
-
|
257
|
+
<div class="method-header">
|
258
|
+
<div class="method-heading">
|
259
|
+
<span class="method-name">==</span><span
|
260
|
+
class="method-args">(other)</span>
|
261
|
+
<span class="method-click-advice">click to toggle source</span>
|
262
|
+
</div>
|
249
263
|
</div>
|
250
264
|
|
251
265
|
<div class="method-description">
|
252
266
|
|
253
267
|
|
254
268
|
<div class="method-source-code" id="3D-3D-source">
|
255
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line
|
269
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 59</span>
|
256
270
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">==</span>(<span class="ruby-identifier">other</span>)
|
257
271
|
<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-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
272
|
<span class="ruby-keyword">end</span></pre>
|
@@ -263,17 +277,19 @@
|
|
263
277
|
</div>
|
264
278
|
|
265
279
|
<div id="method-i-cover-3F" class="method-detail ">
|
266
|
-
<div class="method-
|
267
|
-
<
|
268
|
-
class="method-
|
269
|
-
|
280
|
+
<div class="method-header">
|
281
|
+
<div class="method-heading">
|
282
|
+
<span class="method-name">cover?</span><span
|
283
|
+
class="method-args">(other)</span>
|
284
|
+
<span class="method-click-advice">click to toggle source</span>
|
285
|
+
</div>
|
270
286
|
</div>
|
271
287
|
|
272
288
|
<div class="method-description">
|
273
289
|
|
274
290
|
|
275
291
|
<div class="method-source-code" id="cover-3F-source">
|
276
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line
|
292
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 63</span>
|
277
293
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">cover?</span>(<span class="ruby-identifier">other</span>)
|
278
294
|
<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> <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>
|
279
295
|
<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> <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>))
|
@@ -285,17 +301,19 @@
|
|
285
301
|
</div>
|
286
302
|
|
287
303
|
<div id="method-i-first_col" class="method-detail ">
|
288
|
-
<div class="method-
|
289
|
-
<
|
290
|
-
class="method-
|
291
|
-
|
304
|
+
<div class="method-header">
|
305
|
+
<div class="method-heading">
|
306
|
+
<span class="method-name">first_col</span><span
|
307
|
+
class="method-args">()</span>
|
308
|
+
<span class="method-click-advice">click to toggle source</span>
|
309
|
+
</div>
|
292
310
|
</div>
|
293
311
|
|
294
312
|
<div class="method-description">
|
295
313
|
|
296
314
|
|
297
315
|
<div class="method-source-code" id="first_col-source">
|
298
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line
|
316
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 51</span>
|
299
317
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">first_col</span>
|
300
318
|
<span class="ruby-ivar">@col_range</span>.<span class="ruby-identifier">begin</span>
|
301
319
|
<span class="ruby-keyword">end</span></pre>
|
@@ -306,17 +324,19 @@
|
|
306
324
|
</div>
|
307
325
|
|
308
326
|
<div id="method-i-first_row" class="method-detail ">
|
309
|
-
<div class="method-
|
310
|
-
<
|
311
|
-
class="method-
|
312
|
-
|
327
|
+
<div class="method-header">
|
328
|
+
<div class="method-heading">
|
329
|
+
<span class="method-name">first_row</span><span
|
330
|
+
class="method-args">()</span>
|
331
|
+
<span class="method-click-advice">click to toggle source</span>
|
332
|
+
</div>
|
313
333
|
</div>
|
314
334
|
|
315
335
|
<div class="method-description">
|
316
336
|
|
317
337
|
|
318
338
|
<div class="method-source-code" id="first_row-source">
|
319
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line
|
339
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 43</span>
|
320
340
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">first_row</span>
|
321
341
|
<span class="ruby-ivar">@row_range</span>.<span class="ruby-identifier">begin</span>
|
322
342
|
<span class="ruby-keyword">end</span></pre>
|
@@ -327,17 +347,19 @@
|
|
327
347
|
</div>
|
328
348
|
|
329
349
|
<div id="method-i-inspect" class="method-detail ">
|
330
|
-
<div class="method-
|
331
|
-
<
|
332
|
-
class="method-
|
333
|
-
|
350
|
+
<div class="method-header">
|
351
|
+
<div class="method-heading">
|
352
|
+
<span class="method-name">inspect</span><span
|
353
|
+
class="method-args">()</span>
|
354
|
+
<span class="method-click-advice">click to toggle source</span>
|
355
|
+
</div>
|
334
356
|
</div>
|
335
357
|
|
336
358
|
<div class="method-description">
|
337
359
|
|
338
360
|
|
339
361
|
<div class="method-source-code" id="inspect-source">
|
340
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line
|
362
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 76</span>
|
341
363
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">inspect</span>
|
342
364
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">single_cell?</span> <span class="ruby-keyword">then</span>
|
343
365
|
<span class="ruby-node">"#<#{self.class} @row=#{@row_range.begin} @col=#{@col_range.begin}>"</span>
|
@@ -352,17 +374,19 @@
|
|
352
374
|
</div>
|
353
375
|
|
354
376
|
<div id="method-i-last_col" class="method-detail ">
|
355
|
-
<div class="method-
|
356
|
-
<
|
357
|
-
class="method-
|
358
|
-
|
377
|
+
<div class="method-header">
|
378
|
+
<div class="method-heading">
|
379
|
+
<span class="method-name">last_col</span><span
|
380
|
+
class="method-args">()</span>
|
381
|
+
<span class="method-click-advice">click to toggle source</span>
|
382
|
+
</div>
|
359
383
|
</div>
|
360
384
|
|
361
385
|
<div class="method-description">
|
362
386
|
|
363
387
|
|
364
388
|
<div class="method-source-code" id="last_col-source">
|
365
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line
|
389
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 55</span>
|
366
390
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">last_col</span>
|
367
391
|
<span class="ruby-ivar">@col_range</span>.<span class="ruby-identifier">end</span>
|
368
392
|
<span class="ruby-keyword">end</span></pre>
|
@@ -373,17 +397,19 @@
|
|
373
397
|
</div>
|
374
398
|
|
375
399
|
<div id="method-i-last_row" class="method-detail ">
|
376
|
-
<div class="method-
|
377
|
-
<
|
378
|
-
class="method-
|
379
|
-
|
400
|
+
<div class="method-header">
|
401
|
+
<div class="method-heading">
|
402
|
+
<span class="method-name">last_row</span><span
|
403
|
+
class="method-args">()</span>
|
404
|
+
<span class="method-click-advice">click to toggle source</span>
|
405
|
+
</div>
|
380
406
|
</div>
|
381
407
|
|
382
408
|
<div class="method-description">
|
383
409
|
|
384
410
|
|
385
411
|
<div class="method-source-code" id="last_row-source">
|
386
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line
|
412
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 47</span>
|
387
413
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">last_row</span>
|
388
414
|
<span class="ruby-ivar">@row_range</span>.<span class="ruby-identifier">end</span>
|
389
415
|
<span class="ruby-keyword">end</span></pre>
|
@@ -394,17 +420,19 @@
|
|
394
420
|
</div>
|
395
421
|
|
396
422
|
<div id="method-i-single_cell-3F" class="method-detail ">
|
397
|
-
<div class="method-
|
398
|
-
<
|
399
|
-
class="method-
|
400
|
-
|
423
|
+
<div class="method-header">
|
424
|
+
<div class="method-heading">
|
425
|
+
<span class="method-name">single_cell?</span><span
|
426
|
+
class="method-args">()</span>
|
427
|
+
<span class="method-click-advice">click to toggle source</span>
|
428
|
+
</div>
|
401
429
|
</div>
|
402
430
|
|
403
431
|
<div class="method-description">
|
404
432
|
|
405
433
|
|
406
434
|
<div class="method-source-code" id="single_cell-3F-source">
|
407
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line
|
435
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 35</span>
|
408
436
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">single_cell?</span>
|
409
437
|
(<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
438
|
<span class="ruby-keyword">end</span></pre>
|
@@ -415,17 +443,19 @@
|
|
415
443
|
</div>
|
416
444
|
|
417
445
|
<div id="method-i-to_s" class="method-detail ">
|
418
|
-
<div class="method-
|
419
|
-
<
|
420
|
-
class="method-
|
421
|
-
|
446
|
+
<div class="method-header">
|
447
|
+
<div class="method-heading">
|
448
|
+
<span class="method-name">to_s</span><span
|
449
|
+
class="method-args">()</span>
|
450
|
+
<span class="method-click-advice">click to toggle source</span>
|
451
|
+
</div>
|
422
452
|
</div>
|
423
453
|
|
424
454
|
<div class="method-description">
|
425
455
|
|
426
456
|
|
427
457
|
<div class="method-source-code" id="to_s-source">
|
428
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line
|
458
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 68</span>
|
429
459
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_s</span>
|
430
460
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">single_cell?</span> <span class="ruby-keyword">then</span>
|
431
461
|
<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>)
|
@@ -440,17 +470,19 @@
|
|
440
470
|
</div>
|
441
471
|
|
442
472
|
<div id="method-i-valid-3F" class="method-detail ">
|
443
|
-
<div class="method-
|
444
|
-
<
|
445
|
-
class="method-
|
446
|
-
|
473
|
+
<div class="method-header">
|
474
|
+
<div class="method-heading">
|
475
|
+
<span class="method-name">valid?</span><span
|
476
|
+
class="method-args">()</span>
|
477
|
+
<span class="method-click-advice">click to toggle source</span>
|
478
|
+
</div>
|
447
479
|
</div>
|
448
480
|
|
449
481
|
<div class="method-description">
|
450
482
|
|
451
483
|
|
452
484
|
<div class="method-source-code" id="valid-3F-source">
|
453
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line
|
485
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/reference.rb, line 39</span>
|
454
486
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">valid?</span>
|
455
487
|
<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
488
|
<span class="ruby-keyword">end</span></pre>
|
@@ -468,7 +500,7 @@
|
|
468
500
|
|
469
501
|
<footer id="validator-badges" role="contentinfo">
|
470
502
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
471
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
503
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.6.3.1.
|
472
504
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
473
505
|
</footer>
|
474
506
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::Relationship - rubyXL 3.4.
|
7
|
+
<title>class RubyXL::Relationship - rubyXL 3.4.26</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -41,7 +41,7 @@
|
|
41
41
|
<div id="search-field-wrapper">
|
42
42
|
<input id="search-field" role="combobox" aria-label="Search"
|
43
43
|
aria-autocomplete="list" aria-controls="search-results"
|
44
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
44
|
+
type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
|
45
45
|
title="Type to search, Up and Down to navigate, Enter to load">
|
46
46
|
</div>
|
47
47
|
|
@@ -91,7 +91,7 @@
|
|
91
91
|
|
92
92
|
<footer id="validator-badges" role="contentinfo">
|
93
93
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
94
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
94
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.6.3.1.
|
95
95
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
96
96
|
</footer>
|
97
97
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>module RubyXL::RelationshipSupport::ClassMehods - rubyXL 3.4.
|
7
|
+
<title>module RubyXL::RelationshipSupport::ClassMehods - rubyXL 3.4.26</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../../";
|
@@ -41,7 +41,7 @@
|
|
41
41
|
<div id="search-field-wrapper">
|
42
42
|
<input id="search-field" role="combobox" aria-label="Search"
|
43
43
|
aria-autocomplete="list" aria-controls="search-results"
|
44
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
44
|
+
type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
|
45
45
|
title="Type to search, Up and Down to navigate, Enter to load">
|
46
46
|
</div>
|
47
47
|
|
@@ -94,10 +94,12 @@
|
|
94
94
|
</header>
|
95
95
|
|
96
96
|
<div id="method-i-define_relationship" class="method-detail ">
|
97
|
-
<div class="method-
|
98
|
-
<
|
99
|
-
class="method-
|
100
|
-
|
97
|
+
<div class="method-header">
|
98
|
+
<div class="method-heading">
|
99
|
+
<span class="method-name">define_relationship</span><span
|
100
|
+
class="method-args">(klass, accessor = nil)</span>
|
101
|
+
<span class="method-click-advice">click to toggle source</span>
|
102
|
+
</div>
|
101
103
|
</div>
|
102
104
|
|
103
105
|
<div class="method-description">
|
@@ -123,7 +125,7 @@
|
|
123
125
|
|
124
126
|
<footer id="validator-badges" role="contentinfo">
|
125
127
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
126
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
128
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.6.3.1.
|
127
129
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
128
130
|
</footer>
|
129
131
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>module RubyXL::RelationshipSupport - rubyXL 3.4.
|
7
|
+
<title>module RubyXL::RelationshipSupport - rubyXL 3.4.26</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -41,7 +41,7 @@
|
|
41
41
|
<div id="search-field-wrapper">
|
42
42
|
<input id="search-field" role="combobox" aria-label="Search"
|
43
43
|
aria-autocomplete="list" aria-controls="search-results"
|
44
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
44
|
+
type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
|
45
45
|
title="Type to search, Up and Down to navigate, Enter to load">
|
46
46
|
</div>
|
47
47
|
|
@@ -135,10 +135,12 @@
|
|
135
135
|
</header>
|
136
136
|
|
137
137
|
<div id="method-c-included" class="method-detail ">
|
138
|
-
<div class="method-
|
139
|
-
<
|
140
|
-
class="method-
|
141
|
-
|
138
|
+
<div class="method-header">
|
139
|
+
<div class="method-heading">
|
140
|
+
<span class="method-name">included</span><span
|
141
|
+
class="method-args">(klass)</span>
|
142
|
+
<span class="method-click-advice">click to toggle source</span>
|
143
|
+
</div>
|
142
144
|
</div>
|
143
145
|
|
144
146
|
<div class="method-description">
|
@@ -164,10 +166,12 @@
|
|
164
166
|
</header>
|
165
167
|
|
166
168
|
<div id="method-i-attach_relationship" class="method-detail ">
|
167
|
-
<div class="method-
|
168
|
-
<
|
169
|
-
class="method-
|
170
|
-
|
169
|
+
<div class="method-header">
|
170
|
+
<div class="method-heading">
|
171
|
+
<span class="method-name">attach_relationship</span><span
|
172
|
+
class="method-args">(rid, rf)</span>
|
173
|
+
<span class="method-click-advice">click to toggle source</span>
|
174
|
+
</div>
|
171
175
|
</div>
|
172
176
|
|
173
177
|
<div class="method-description">
|
@@ -202,10 +206,12 @@
|
|
202
206
|
</div>
|
203
207
|
|
204
208
|
<div id="method-i-collect_related_objects" class="method-detail ">
|
205
|
-
<div class="method-
|
206
|
-
<
|
207
|
-
class="method-
|
208
|
-
|
209
|
+
<div class="method-header">
|
210
|
+
<div class="method-heading">
|
211
|
+
<span class="method-name">collect_related_objects</span><span
|
212
|
+
class="method-args">()</span>
|
213
|
+
<span class="method-click-advice">click to toggle source</span>
|
214
|
+
</div>
|
209
215
|
</div>
|
210
216
|
|
211
217
|
<div class="method-description">
|
@@ -239,10 +245,12 @@
|
|
239
245
|
</div>
|
240
246
|
|
241
247
|
<div id="method-i-load_relationships" class="method-detail ">
|
242
|
-
<div class="method-
|
243
|
-
<
|
244
|
-
class="method-
|
245
|
-
|
248
|
+
<div class="method-header">
|
249
|
+
<div class="method-heading">
|
250
|
+
<span class="method-name">load_relationships</span><span
|
251
|
+
class="method-args">(dir_path, base_file_name)</span>
|
252
|
+
<span class="method-click-advice">click to toggle source</span>
|
253
|
+
</div>
|
246
254
|
</div>
|
247
255
|
|
248
256
|
<div class="method-description">
|
@@ -265,10 +273,12 @@
|
|
265
273
|
</div>
|
266
274
|
|
267
275
|
<div id="method-i-related_objects" class="method-detail ">
|
268
|
-
<div class="method-
|
269
|
-
<
|
270
|
-
class="method-
|
271
|
-
|
276
|
+
<div class="method-header">
|
277
|
+
<div class="method-heading">
|
278
|
+
<span class="method-name">related_objects</span><span
|
279
|
+
class="method-args">()</span>
|
280
|
+
<span class="method-click-advice">click to toggle source</span>
|
281
|
+
</div>
|
272
282
|
</div>
|
273
283
|
|
274
284
|
<div class="method-description">
|
@@ -286,10 +296,12 @@
|
|
286
296
|
</div>
|
287
297
|
|
288
298
|
<div id="method-i-store_relationship" class="method-detail ">
|
289
|
-
<div class="method-
|
290
|
-
<
|
291
|
-
class="method-
|
292
|
-
|
299
|
+
<div class="method-header">
|
300
|
+
<div class="method-heading">
|
301
|
+
<span class="method-name">store_relationship</span><span
|
302
|
+
class="method-args">(related_file, unknown = false)</span>
|
303
|
+
<span class="method-click-advice">click to toggle source</span>
|
304
|
+
</div>
|
293
305
|
</div>
|
294
306
|
|
295
307
|
<div class="method-description">
|
@@ -318,7 +330,7 @@
|
|
318
330
|
|
319
331
|
<footer id="validator-badges" role="contentinfo">
|
320
332
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
321
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
333
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.6.3.1.
|
322
334
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
323
335
|
</footer>
|
324
336
|
|