rubyXL 3.4.14 → 3.4.18
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 +2 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +69 -44
- data/README.rdoc +9 -1
- data/Rakefile +3 -3
- data/VERSION +1 -1
- data/lib/rubyXL/convenience_methods/cell.rb +1 -1
- data/lib/rubyXL/convenience_methods/worksheet.rb +77 -0
- data/lib/rubyXL/objects/chartsheet.rb +1 -1
- data/lib/rubyXL/objects/data_validation.rb +2 -0
- data/lib/rubyXL/objects/external_links.rb +25 -1
- data/lib/rubyXL/objects/ooxml_object.rb +5 -0
- data/lib/rubyXL/objects/relationships.rb +1 -1
- data/lib/rubyXL/objects/sheet_data.rb +2 -1
- data/lib/rubyXL/objects/storage.rb +1 -0
- data/lib/rubyXL/objects/theme.rb +1 -1
- data/lib/rubyXL/objects/workbook.rb +12 -6
- data/lib/rubyXL/objects/worksheet.rb +7 -7
- data/lib/rubyXL/worksheet.rb +1 -1
- data/rdoc/README_rdoc.html +16 -7
- data/rdoc/RubyXL.html +6 -319
- data/rdoc/RubyXL/AExtension.html +9 -49
- data/rdoc/RubyXL/AExtensionStorageArea.html +5 -12
- data/rdoc/RubyXL/ActiveX.html +11 -40
- data/rdoc/RubyXL/ActiveXBinary.html +5 -17
- data/rdoc/RubyXL/AdjustHandleList.html +5 -12
- data/rdoc/RubyXL/Alignment.html +5 -12
- data/rdoc/RubyXL/AlternateContent.html +5 -12
- data/rdoc/RubyXL/Authors.html +5 -12
- data/rdoc/RubyXL/AutoFilter.html +5 -12
- data/rdoc/RubyXL/AutoFilterColumn.html +5 -12
- data/rdoc/RubyXL/BinaryImageFile.html +5 -20
- data/rdoc/RubyXL/BodyProperties.html +5 -12
- data/rdoc/RubyXL/BooleanNode.html +5 -12
- data/rdoc/RubyXL/BooleanValue.html +5 -12
- data/rdoc/RubyXL/Border.html +8 -68
- data/rdoc/RubyXL/BorderEdge.html +8 -42
- data/rdoc/RubyXL/Borders.html +8 -29
- data/rdoc/RubyXL/Break.html +5 -12
- data/rdoc/RubyXL/BreakList.html +5 -12
- data/rdoc/RubyXL/CT_AdjPoint2D.html +5 -12
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +5 -12
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +5 -12
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +5 -12
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +5 -12
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +5 -12
- data/rdoc/RubyXL/CT_Backdrop.html +5 -12
- data/rdoc/RubyXL/CT_Bevel.html +5 -12
- data/rdoc/RubyXL/CT_BiLevelEffect.html +5 -12
- data/rdoc/RubyXL/CT_BlendEffect.html +5 -12
- data/rdoc/RubyXL/CT_Blip.html +5 -12
- data/rdoc/RubyXL/CT_BlipFillProperties.html +5 -12
- data/rdoc/RubyXL/CT_BlurEffect.html +5 -12
- data/rdoc/RubyXL/CT_Camera.html +5 -12
- data/rdoc/RubyXL/CT_Color.html +5 -12
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +5 -12
- data/rdoc/RubyXL/CT_ColorMapping.html +5 -12
- data/rdoc/RubyXL/CT_ColorScheme.html +5 -12
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +5 -12
- data/rdoc/RubyXL/CT_ConnectionSite.html +5 -12
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +5 -12
- data/rdoc/RubyXL/CT_DashStop.html +5 -12
- data/rdoc/RubyXL/CT_DashStopList.html +5 -12
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +5 -12
- data/rdoc/RubyXL/CT_DuotoneEffect.html +5 -12
- data/rdoc/RubyXL/CT_EffectContainer.html +5 -12
- data/rdoc/RubyXL/CT_EffectList.html +5 -12
- data/rdoc/RubyXL/CT_EffectReference.html +5 -12
- data/rdoc/RubyXL/CT_EffectStyleItem.html +5 -12
- data/rdoc/RubyXL/CT_EffectStyleList.html +5 -12
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +5 -12
- data/rdoc/RubyXL/CT_FillEffect.html +5 -12
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +5 -12
- data/rdoc/RubyXL/CT_FillStyleList.html +5 -12
- data/rdoc/RubyXL/CT_FlatText.html +5 -12
- data/rdoc/RubyXL/CT_FontCollection.html +5 -12
- data/rdoc/RubyXL/CT_FontReference.html +5 -12
- data/rdoc/RubyXL/CT_GeomGuideList.html +5 -12
- data/rdoc/RubyXL/CT_GlowEffect.html +5 -12
- data/rdoc/RubyXL/CT_GradientFillProperties.html +5 -12
- data/rdoc/RubyXL/CT_GradientStop.html +5 -12
- data/rdoc/RubyXL/CT_GradientStopList.html +5 -12
- data/rdoc/RubyXL/CT_HSLEffect.html +5 -12
- data/rdoc/RubyXL/CT_HslColor.html +5 -12
- data/rdoc/RubyXL/CT_Hyperlink.html +5 -12
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +5 -12
- data/rdoc/RubyXL/CT_LightRig.html +5 -12
- data/rdoc/RubyXL/CT_LineEndProperties.html +5 -12
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +5 -12
- data/rdoc/RubyXL/CT_LineProperties.html +5 -12
- data/rdoc/RubyXL/CT_LineStyleList.html +5 -12
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +5 -12
- data/rdoc/RubyXL/CT_LuminanceEffect.html +5 -12
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +5 -12
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +5 -12
- data/rdoc/RubyXL/CT_Path2D.html +5 -12
- data/rdoc/RubyXL/CT_Path2DArcTo.html +5 -12
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +5 -12
- data/rdoc/RubyXL/CT_Path2DList.html +5 -12
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +5 -12
- data/rdoc/RubyXL/CT_Path2DTo.html +5 -12
- data/rdoc/RubyXL/CT_PathShadeProperties.html +5 -12
- data/rdoc/RubyXL/CT_PatternFillProperties.html +5 -12
- data/rdoc/RubyXL/CT_Point3D.html +5 -12
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +5 -12
- data/rdoc/RubyXL/CT_PresetColor.html +5 -12
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +5 -12
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +5 -12
- data/rdoc/RubyXL/CT_PresetTextShape.html +5 -12
- data/rdoc/RubyXL/CT_ReflectionEffect.html +5 -12
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +5 -12
- data/rdoc/RubyXL/CT_RelativeRect.html +5 -12
- data/rdoc/RubyXL/CT_SRgbColor.html +5 -12
- data/rdoc/RubyXL/CT_ScRgbColor.html +5 -12
- data/rdoc/RubyXL/CT_Scene3D.html +5 -12
- data/rdoc/RubyXL/CT_SchemeColor.html +5 -12
- data/rdoc/RubyXL/CT_Shape3D.html +5 -12
- data/rdoc/RubyXL/CT_ShapeStyle.html +5 -12
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +5 -12
- data/rdoc/RubyXL/CT_SphereCoords.html +5 -12
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +5 -12
- data/rdoc/RubyXL/CT_StyleMatrix.html +5 -12
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +5 -12
- data/rdoc/RubyXL/CT_SupplementalFont.html +5 -12
- data/rdoc/RubyXL/CT_SystemColor.html +5 -12
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +5 -12
- data/rdoc/RubyXL/CT_TextBlipBullet.html +5 -12
- data/rdoc/RubyXL/CT_TextCharBullet.html +5 -12
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +5 -12
- data/rdoc/RubyXL/CT_TextFont.html +5 -12
- data/rdoc/RubyXL/CT_TextListStyle.html +5 -12
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +5 -12
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +5 -12
- data/rdoc/RubyXL/CT_TextSpacing.html +5 -12
- data/rdoc/RubyXL/CT_TextTabStop.html +5 -12
- data/rdoc/RubyXL/CT_TextTabStopList.html +5 -12
- data/rdoc/RubyXL/CT_TileInfoProperties.html +5 -12
- data/rdoc/RubyXL/CT_TintEffect.html +5 -12
- data/rdoc/RubyXL/CT_Transform2D.html +5 -12
- data/rdoc/RubyXL/CT_TransformEffect.html +5 -12
- data/rdoc/RubyXL/CT_Vector3D.html +5 -12
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +5 -12
- data/rdoc/RubyXL/CalculationChain.html +8 -37
- data/rdoc/RubyXL/CalculationChainCell.html +5 -12
- data/rdoc/RubyXL/CalculationProperties.html +5 -12
- data/rdoc/RubyXL/Cell.html +13 -215
- data/rdoc/RubyXL/CellConvenienceMethods.html +6 -455
- data/rdoc/RubyXL/CellExt.html +5 -12
- data/rdoc/RubyXL/CellSmartTag.html +5 -12
- data/rdoc/RubyXL/CellSmartTagProperty.html +5 -12
- data/rdoc/RubyXL/CellSmartTags.html +5 -12
- data/rdoc/RubyXL/CellStyle.html +5 -12
- data/rdoc/RubyXL/CellStyleXFs.html +8 -29
- data/rdoc/RubyXL/CellStyles.html +8 -29
- data/rdoc/RubyXL/CellValue.html +8 -29
- data/rdoc/RubyXL/CellWatch.html +5 -12
- data/rdoc/RubyXL/CellWatches.html +5 -12
- data/rdoc/RubyXL/CellXFs.html +8 -29
- data/rdoc/RubyXL/ChartColorsFile.html +5 -20
- data/rdoc/RubyXL/ChartFile.html +10 -42
- data/rdoc/RubyXL/ChartStyleFile.html +5 -20
- data/rdoc/RubyXL/ChartUserShapesFile.html +5 -20
- data/rdoc/RubyXL/Chartsheet.html +10 -59
- data/rdoc/RubyXL/ChartsheetPageSetup.html +5 -12
- data/rdoc/RubyXL/ChartsheetProperties.html +5 -12
- data/rdoc/RubyXL/ChartsheetProtection.html +5 -12
- data/rdoc/RubyXL/ChartsheetView.html +5 -12
- data/rdoc/RubyXL/ChartsheetViews.html +5 -12
- data/rdoc/RubyXL/Color.html +8 -34
- data/rdoc/RubyXL/ColorConvenienceClasses.html +3 -9
- data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +8 -56
- data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +9 -71
- data/rdoc/RubyXL/ColorConvenienceMethods.html +6 -26
- data/rdoc/RubyXL/ColorFilter.html +5 -12
- data/rdoc/RubyXL/ColorScale.html +5 -12
- data/rdoc/RubyXL/ColorSet.html +5 -12
- data/rdoc/RubyXL/Colors.html +5 -12
- data/rdoc/RubyXL/ColumnRange.html +8 -60
- data/rdoc/RubyXL/ColumnRanges.html +8 -68
- data/rdoc/RubyXL/Comment.html +5 -12
- data/rdoc/RubyXL/CommentList.html +5 -12
- data/rdoc/RubyXL/CommentsFile.html +8 -42
- data/rdoc/RubyXL/ConditionalFormatValue.html +5 -12
- data/rdoc/RubyXL/ConditionalFormatting.html +5 -12
- data/rdoc/RubyXL/ConditionalFormattingRule.html +5 -12
- data/rdoc/RubyXL/Connection.html +5 -12
- data/rdoc/RubyXL/ConnectionTable.html +5 -12
- data/rdoc/RubyXL/ConnectionTables.html +5 -12
- data/rdoc/RubyXL/ConnectionTextField.html +5 -12
- data/rdoc/RubyXL/ConnectionTextFields.html +5 -12
- data/rdoc/RubyXL/Connections.html +8 -37
- data/rdoc/RubyXL/ContentTypeDefault.html +5 -12
- data/rdoc/RubyXL/ContentTypeOverride.html +5 -12
- data/rdoc/RubyXL/ContentTypes.html +8 -50
- data/rdoc/RubyXL/ControlPropertiesFile.html +7 -17
- data/rdoc/RubyXL/CorePropertiesFile.html +8 -146
- data/rdoc/RubyXL/CustomColor.html +5 -12
- data/rdoc/RubyXL/CustomColorList.html +5 -12
- data/rdoc/RubyXL/CustomFilter.html +5 -12
- data/rdoc/RubyXL/CustomFilters.html +5 -12
- data/rdoc/RubyXL/CustomGeometry.html +5 -12
- data/rdoc/RubyXL/CustomProperties.html +5 -12
- data/rdoc/RubyXL/CustomPropertiesFile.html +5 -20
- data/rdoc/RubyXL/CustomProperty.html +5 -12
- data/rdoc/RubyXL/CustomPropertyFile.html +5 -20
- data/rdoc/RubyXL/CustomSheetView.html +5 -12
- data/rdoc/RubyXL/CustomSheetViews.html +5 -12
- data/rdoc/RubyXL/CustomWorkbookView.html +5 -12
- data/rdoc/RubyXL/CustomWorkbookViews.html +5 -12
- data/rdoc/RubyXL/CustomXMLFile.html +5 -17
- data/rdoc/RubyXL/DXF.html +5 -12
- data/rdoc/RubyXL/DXFs.html +5 -12
- data/rdoc/RubyXL/DataBar.html +5 -12
- data/rdoc/RubyXL/DataConsolidate.html +5 -12
- data/rdoc/RubyXL/DataConsolidationReference.html +5 -12
- data/rdoc/RubyXL/DataConsolidationReferences.html +5 -12
- data/rdoc/RubyXL/DataType.html +3 -32
- data/rdoc/RubyXL/DataValidation.html +5 -12
- data/rdoc/RubyXL/DataValidations.html +5 -12
- data/rdoc/RubyXL/DateGroupItem.html +5 -12
- data/rdoc/RubyXL/DefinedName.html +5 -12
- data/rdoc/RubyXL/DefinedNameExt.html +5 -12
- data/rdoc/RubyXL/DefinedNames.html +5 -12
- data/rdoc/RubyXL/DefinedNamesExt.html +5 -12
- data/rdoc/RubyXL/DocumentPropertiesFile.html +8 -55
- data/rdoc/RubyXL/DrawingFile.html +10 -42
- data/rdoc/RubyXL/DynamicFilter.html +5 -12
- data/rdoc/RubyXL/EmbeddedControl.html +5 -12
- data/rdoc/RubyXL/EmbeddedControls.html +5 -12
- data/rdoc/RubyXL/Extension.html +5 -12
- data/rdoc/RubyXL/ExtensionStorageArea.html +5 -12
- data/rdoc/RubyXL/Extents.html +5 -12
- data/rdoc/RubyXL/ExternalBook.html +5 -12
- data/rdoc/RubyXL/ExternalLinksFile.html +11 -43
- data/rdoc/RubyXL/ExternalReference.html +5 -12
- data/rdoc/RubyXL/ExternalReferences.html +5 -12
- data/rdoc/RubyXL/ExtraColorSchemeList.html +5 -12
- data/rdoc/RubyXL/FieldItem.html +5 -12
- data/rdoc/RubyXL/FileRecoveryProperties.html +5 -12
- data/rdoc/RubyXL/FileSharing.html +5 -12
- data/rdoc/RubyXL/FileVersion.html +5 -12
- data/rdoc/RubyXL/Fill.html +8 -29
- data/rdoc/RubyXL/Fills.html +8 -29
- data/rdoc/RubyXL/FilterContainer.html +5 -12
- data/rdoc/RubyXL/FloatNode.html +5 -12
- data/rdoc/RubyXL/FloatValue.html +5 -12
- data/rdoc/RubyXL/Font.html +8 -34
- data/rdoc/RubyXL/FontConvenienceMethods.html +6 -195
- data/rdoc/RubyXL/FontScheme.html +5 -12
- data/rdoc/RubyXL/Fonts.html +8 -29
- data/rdoc/RubyXL/Formula.html +5 -12
- data/rdoc/RubyXL/FunctionGroup.html +5 -12
- data/rdoc/RubyXL/FunctionGroups.html +5 -12
- data/rdoc/RubyXL/GenericStorageObject.html +9 -73
- data/rdoc/RubyXL/GradientFill.html +5 -12
- data/rdoc/RubyXL/HeaderFooterSettings.html +5 -12
- data/rdoc/RubyXL/Hyperlink.html +5 -12
- data/rdoc/RubyXL/HyperlinkRelFile.html +5 -17
- data/rdoc/RubyXL/Hyperlinks.html +5 -12
- data/rdoc/RubyXL/IconFilter.html +5 -12
- data/rdoc/RubyXL/IconSet.html +5 -12
- data/rdoc/RubyXL/IgnoredError.html +5 -12
- data/rdoc/RubyXL/IgnoredErrors.html +5 -12
- data/rdoc/RubyXL/IndexedColors.html +5 -12
- data/rdoc/RubyXL/InputCells.html +5 -12
- data/rdoc/RubyXL/IntegerNode.html +5 -12
- data/rdoc/RubyXL/IntegerValue.html +5 -12
- data/rdoc/RubyXL/LegacyCell.html +6 -26
- data/rdoc/RubyXL/LegacyWorksheet.html +10 -87
- data/rdoc/RubyXL/MRUColors.html +5 -12
- data/rdoc/RubyXL/MacrosFile.html +5 -20
- data/rdoc/RubyXL/MergedCell.html +5 -12
- data/rdoc/RubyXL/MergedCells.html +5 -12
- data/rdoc/RubyXL/NumFmt.html +5 -12
- data/rdoc/RubyXL/NumberFormat.html +8 -29
- data/rdoc/RubyXL/NumberFormats.html +8 -34
- data/rdoc/RubyXL/OLEObject.html +5 -12
- data/rdoc/RubyXL/OLEObjectFile.html +5 -20
- data/rdoc/RubyXL/OLEObjects.html +5 -12
- data/rdoc/RubyXL/OLESize.html +5 -12
- data/rdoc/RubyXL/OOXMLContainerObject.html +19 -114
- data/rdoc/RubyXL/OOXMLIgnored.html +9 -44
- data/rdoc/RubyXL/OOXMLObject.html +7 -17
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +31 -81
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +18 -139
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +10 -167
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +14 -101
- data/rdoc/RubyXL/OdbcOleDbProperties.html +5 -12
- data/rdoc/RubyXL/Offset.html +5 -12
- data/rdoc/RubyXL/OlapProperties.html +5 -12
- data/rdoc/RubyXL/OleItem.html +99 -0
- data/rdoc/RubyXL/OleItems.html +99 -0
- data/rdoc/RubyXL/OleLink.html +99 -0
- data/rdoc/RubyXL/OutlineProperties.html +5 -12
- data/rdoc/RubyXL/PageMargins.html +5 -12
- data/rdoc/RubyXL/PageSetup.html +5 -12
- data/rdoc/RubyXL/PageSetupProperties.html +5 -12
- data/rdoc/RubyXL/Pane.html +5 -12
- data/rdoc/RubyXL/Parser.html +8 -42
- data/rdoc/RubyXL/PatternFill.html +5 -12
- data/rdoc/RubyXL/PhoneticProperties.html +5 -12
- data/rdoc/RubyXL/PhoneticRun.html +5 -12
- data/rdoc/RubyXL/PivotArea.html +5 -12
- data/rdoc/RubyXL/PivotCache.html +5 -12
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +7 -25
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +5 -20
- data/rdoc/RubyXL/PivotCaches.html +5 -12
- data/rdoc/RubyXL/PivotReference.html +5 -12
- data/rdoc/RubyXL/PivotReferences.html +5 -12
- data/rdoc/RubyXL/PivotTableFile.html +7 -25
- data/rdoc/RubyXL/PivotTableSelection.html +5 -12
- data/rdoc/RubyXL/PresetGeometry.html +5 -12
- data/rdoc/RubyXL/PrintOptions.html +5 -12
- data/rdoc/RubyXL/PrinterSettingsFile.html +5 -20
- data/rdoc/RubyXL/ProtectedRange.html +5 -12
- data/rdoc/RubyXL/ProtectedRanges.html +5 -12
- data/rdoc/RubyXL/Protection.html +5 -12
- data/rdoc/RubyXL/QueryParameter.html +5 -12
- data/rdoc/RubyXL/QueryParameters.html +5 -12
- data/rdoc/RubyXL/QueryTable.html +10 -42
- data/rdoc/RubyXL/QueryTableDeletedField.html +5 -12
- data/rdoc/RubyXL/QueryTableDeletedFields.html +5 -12
- data/rdoc/RubyXL/QueryTableField.html +5 -12
- data/rdoc/RubyXL/QueryTableFields.html +5 -12
- data/rdoc/RubyXL/QueryTableRefresh.html +5 -12
- data/rdoc/RubyXL/RID.html +5 -12
- data/rdoc/RubyXL/RawOOXML.html +9 -49
- data/rdoc/RubyXL/Reference.html +9 -190
- data/rdoc/RubyXL/Relationship.html +5 -12
- data/rdoc/RubyXL/RelationshipSupport.html +9 -106
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +6 -26
- data/rdoc/RubyXL/RevisionPointer.html +5 -12
- data/rdoc/RubyXL/RichText.html +8 -29
- data/rdoc/RubyXL/RichTextRun.html +8 -29
- data/rdoc/RubyXL/Row.html +17 -152
- data/rdoc/RubyXL/RowExt.html +5 -12
- data/rdoc/RubyXL/RunProperties.html +5 -12
- data/rdoc/RubyXL/Scenario.html +5 -12
- data/rdoc/RubyXL/Scenarios.html +5 -12
- data/rdoc/RubyXL/Selection.html +8 -29
- data/rdoc/RubyXL/ShapeGuide.html +5 -12
- data/rdoc/RubyXL/ShapeTextRectangle.html +5 -12
- data/rdoc/RubyXL/SharedStringsTable.html +9 -119
- data/rdoc/RubyXL/Sheet.html +5 -12
- data/rdoc/RubyXL/SheetCalculationProperties.html +5 -12
- data/rdoc/RubyXL/SheetData.html +10 -44
- data/rdoc/RubyXL/SheetDataExt.html +5 -12
- data/rdoc/RubyXL/SheetDataSet.html +5 -12
- data/rdoc/RubyXL/SheetName.html +5 -12
- data/rdoc/RubyXL/SheetNames.html +5 -12
- data/rdoc/RubyXL/Sheets.html +5 -12
- data/rdoc/RubyXL/SlicerCacheFile.html +5 -20
- data/rdoc/RubyXL/SlicerFile.html +5 -20
- data/rdoc/RubyXL/SmartTagProperties.html +5 -12
- data/rdoc/RubyXL/SmartTagType.html +5 -12
- data/rdoc/RubyXL/SmartTagTypes.html +5 -12
- data/rdoc/RubyXL/SmartTags.html +5 -12
- data/rdoc/RubyXL/SortCondition.html +5 -12
- data/rdoc/RubyXL/SortState.html +5 -12
- data/rdoc/RubyXL/Sqref.html +9 -44
- data/rdoc/RubyXL/Stop.html +5 -12
- data/rdoc/RubyXL/StringNode.html +5 -12
- data/rdoc/RubyXL/StringNodeW3C.html +9 -44
- data/rdoc/RubyXL/StringValue.html +5 -12
- data/rdoc/RubyXL/Stylesheet.html +9 -92
- data/rdoc/RubyXL/TableFile.html +5 -20
- data/rdoc/RubyXL/TableParts.html +5 -12
- data/rdoc/RubyXL/TableStyle.html +5 -12
- data/rdoc/RubyXL/TableStyles.html +5 -12
- data/rdoc/RubyXL/Text.html +8 -50
- data/rdoc/RubyXL/TextImportSettings.html +5 -12
- data/rdoc/RubyXL/Theme.html +9 -65
- data/rdoc/RubyXL/ThemeElements.html +5 -12
- data/rdoc/RubyXL/ThumbnailFile.html +5 -20
- data/rdoc/RubyXL/Top10.html +5 -12
- data/rdoc/RubyXL/VMLDrawingFile.html +7 -25
- data/rdoc/RubyXL/Variant.html +5 -12
- data/rdoc/RubyXL/Vector.html +8 -29
- data/rdoc/RubyXL/VectorValue.html +5 -12
- data/rdoc/RubyXL/VisualProperties.html +5 -12
- data/rdoc/RubyXL/WebPublishObject.html +5 -12
- data/rdoc/RubyXL/WebPublishObjects.html +5 -12
- data/rdoc/RubyXL/WebPublishingItem.html +5 -12
- data/rdoc/RubyXL/WebPublishingItems.html +5 -12
- data/rdoc/RubyXL/WebPublishingProperties.html +5 -12
- data/rdoc/RubyXL/WebQueryProperties.html +5 -12
- data/rdoc/RubyXL/Workbook.html +40 -460
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +6 -221
- data/rdoc/RubyXL/WorkbookProperties.html +5 -12
- data/rdoc/RubyXL/WorkbookProtection.html +5 -12
- data/rdoc/RubyXL/WorkbookRoot.html +11 -99
- data/rdoc/RubyXL/WorkbookView.html +5 -12
- data/rdoc/RubyXL/WorkbookViews.html +5 -12
- data/rdoc/RubyXL/Worksheet.html +11 -130
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +166 -985
- data/rdoc/RubyXL/WorksheetDimensions.html +5 -12
- data/rdoc/RubyXL/WorksheetFormatProperties.html +5 -12
- data/rdoc/RubyXL/WorksheetProperties.html +5 -12
- data/rdoc/RubyXL/WorksheetProtection.html +5 -12
- data/rdoc/RubyXL/WorksheetView.html +5 -12
- data/rdoc/RubyXL/WorksheetViews.html +5 -12
- data/rdoc/RubyXL/XF.html +5 -12
- data/rdoc/created.rid +19 -19
- data/rdoc/css/rdoc.css +21 -1
- data/rdoc/index.html +8 -388
- data/rdoc/js/navigation.js.gz +0 -0
- 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 +23 -5
- data/rubyXL.gemspec +21 -28
- data/spec/lib/cell_spec.rb +27 -2
- data/spec/lib/worksheet_spec.rb +301 -0
- metadata +7 -5
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>module RubyXL::OOXMLObjectInstanceMethods - rubyXL 3.4.
|
|
7
|
+
<title>module RubyXL::OOXMLObjectInstanceMethods - rubyXL 3.4.18</title>
|
|
8
8
|
|
|
9
9
|
<script type="text/javascript">
|
|
10
10
|
var rdoc_rel_prefix = "../";
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
<link href="../css/rdoc.css" rel="stylesheet">
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
|
|
25
24
|
<body id="top" role="document" class="module">
|
|
26
25
|
<nav role="navigation">
|
|
27
26
|
<div id="project-navigation">
|
|
@@ -60,40 +59,29 @@
|
|
|
60
59
|
|
|
61
60
|
|
|
62
61
|
|
|
63
|
-
|
|
62
|
+
|
|
63
|
+
<div id="extends-section" class="nav-section">
|
|
64
64
|
<h3>Extended With Modules</h3>
|
|
65
65
|
|
|
66
66
|
<ul class="link-list">
|
|
67
|
-
|
|
68
|
-
|
|
69
67
|
<li><a class="extend" href="OOXMLObjectClassMethods.html">RubyXL::OOXMLObjectClassMethods</a>
|
|
70
|
-
|
|
71
|
-
|
|
72
68
|
</ul>
|
|
73
69
|
</div>
|
|
74
70
|
|
|
75
|
-
|
|
71
|
+
|
|
72
|
+
<!-- Method Quickref -->
|
|
76
73
|
<div id="method-list-section" class="nav-section">
|
|
77
74
|
<h3>Methods</h3>
|
|
78
75
|
|
|
79
76
|
<ul class="link-list" role="directory">
|
|
80
|
-
|
|
81
77
|
<li ><a href="#method-c-included">::included</a>
|
|
82
|
-
|
|
83
78
|
<li ><a href="#method-c-new">::new</a>
|
|
84
|
-
|
|
85
79
|
<li ><a href="#method-i-3D-3D">#==</a>
|
|
86
|
-
|
|
87
80
|
<li ><a href="#method-i-before_write_xml">#before_write_xml</a>
|
|
88
|
-
|
|
89
81
|
<li ><a href="#method-i-get_node_object">#get_node_object</a>
|
|
90
|
-
|
|
91
82
|
<li ><a href="#method-i-index_in_collection">#index_in_collection</a>
|
|
92
|
-
|
|
93
83
|
<li ><a href="#method-i-init_child_nodes">#init_child_nodes</a>
|
|
94
|
-
|
|
95
84
|
<li ><a href="#method-i-write_xml">#write_xml</a>
|
|
96
|
-
|
|
97
85
|
</ul>
|
|
98
86
|
</div>
|
|
99
87
|
|
|
@@ -109,21 +97,15 @@
|
|
|
109
97
|
|
|
110
98
|
</section>
|
|
111
99
|
|
|
112
|
-
|
|
113
100
|
<section id="5Buntitled-5D" class="documentation-section">
|
|
114
|
-
|
|
115
101
|
|
|
116
|
-
|
|
117
102
|
|
|
118
|
-
|
|
119
103
|
|
|
120
|
-
|
|
121
104
|
<section class="attribute-method-details" class="method-section">
|
|
122
105
|
<header>
|
|
123
106
|
<h3>Attributes</h3>
|
|
124
107
|
</header>
|
|
125
108
|
|
|
126
|
-
|
|
127
109
|
<div id="attribute-i-local_namespaces" class="method-detail">
|
|
128
110
|
<div class="method-heading attribute-method-heading">
|
|
129
111
|
<span class="method-name">local_namespaces</span><span
|
|
@@ -132,74 +114,49 @@
|
|
|
132
114
|
|
|
133
115
|
<div class="method-description">
|
|
134
116
|
|
|
135
|
-
|
|
136
|
-
|
|
137
117
|
</div>
|
|
138
118
|
</div>
|
|
139
|
-
|
|
140
119
|
</section>
|
|
141
|
-
|
|
142
120
|
|
|
143
|
-
|
|
121
|
+
|
|
144
122
|
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
|
145
123
|
<header>
|
|
146
124
|
<h3>Public Class Methods</h3>
|
|
147
125
|
</header>
|
|
148
126
|
|
|
149
|
-
|
|
150
127
|
<div id="method-c-included" class="method-detail ">
|
|
151
|
-
|
|
152
128
|
<div class="method-heading">
|
|
153
129
|
<span class="method-name">included</span><span
|
|
154
130
|
class="method-args">(klass)</span>
|
|
155
|
-
|
|
156
131
|
<span class="method-click-advice">click to toggle source</span>
|
|
157
|
-
|
|
158
132
|
</div>
|
|
159
|
-
|
|
160
133
|
|
|
161
134
|
<div class="method-description">
|
|
162
135
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
136
|
|
|
167
|
-
|
|
168
137
|
<div class="method-source-code" id="included-source">
|
|
169
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line
|
|
138
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 218</span>
|
|
170
139
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">included</span>(<span class="ruby-identifier">klass</span>)
|
|
171
140
|
<span class="ruby-identifier">klass</span>.<span class="ruby-identifier">extend</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">OOXMLObjectClassMethods</span>
|
|
172
141
|
<span class="ruby-keyword">end</span></pre>
|
|
173
142
|
</div>
|
|
174
|
-
|
|
175
143
|
</div>
|
|
176
144
|
|
|
177
|
-
|
|
178
145
|
|
|
179
|
-
|
|
180
146
|
</div>
|
|
181
147
|
|
|
182
|
-
|
|
183
148
|
<div id="method-c-new" class="method-detail ">
|
|
184
|
-
|
|
185
149
|
<div class="method-heading">
|
|
186
150
|
<span class="method-name">new</span><span
|
|
187
151
|
class="method-args">(params = {})</span>
|
|
188
|
-
|
|
189
152
|
<span class="method-click-advice">click to toggle source</span>
|
|
190
|
-
|
|
191
153
|
</div>
|
|
192
|
-
|
|
193
154
|
|
|
194
155
|
<div class="method-description">
|
|
195
156
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
157
|
|
|
200
|
-
|
|
201
158
|
<div class="method-source-code" id="new-source">
|
|
202
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line
|
|
159
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 227</span>
|
|
203
160
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">params</span> = {})
|
|
204
161
|
<span class="ruby-ivar">@local_namespaces</span> = <span class="ruby-keyword">nil</span>
|
|
205
162
|
|
|
@@ -210,78 +167,53 @@
|
|
|
210
167
|
<span class="ruby-identifier">init_child_nodes</span>(<span class="ruby-identifier">params</span>)
|
|
211
168
|
<span class="ruby-keyword">end</span></pre>
|
|
212
169
|
</div>
|
|
213
|
-
|
|
214
170
|
</div>
|
|
215
171
|
|
|
216
|
-
|
|
217
172
|
|
|
218
|
-
|
|
219
173
|
</div>
|
|
220
174
|
|
|
221
|
-
|
|
222
175
|
</section>
|
|
223
|
-
|
|
176
|
+
|
|
224
177
|
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
|
225
178
|
<header>
|
|
226
179
|
<h3>Public Instance Methods</h3>
|
|
227
180
|
</header>
|
|
228
181
|
|
|
229
|
-
|
|
230
182
|
<div id="method-i-3D-3D" class="method-detail ">
|
|
231
|
-
|
|
232
183
|
<div class="method-heading">
|
|
233
184
|
<span class="method-name">==</span><span
|
|
234
185
|
class="method-args">(other)</span>
|
|
235
|
-
|
|
236
186
|
<span class="method-click-advice">click to toggle source</span>
|
|
237
|
-
|
|
238
187
|
</div>
|
|
239
|
-
|
|
240
188
|
|
|
241
189
|
<div class="method-description">
|
|
242
190
|
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
191
|
|
|
247
|
-
|
|
248
192
|
<div class="method-source-code" id="3D-3D-source">
|
|
249
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line
|
|
193
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 256</span>
|
|
250
194
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">==</span>(<span class="ruby-identifier">other</span>)
|
|
251
195
|
<span class="ruby-identifier">other</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>) <span class="ruby-operator">&&</span>
|
|
252
196
|
<span class="ruby-identifier">obtain_class_variable</span>(<span class="ruby-value">:@@ooxml_attributes</span>).<span class="ruby-identifier">all?</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>, <span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">v</span>[<span class="ruby-value">:accessor</span>]) <span class="ruby-operator">==</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">v</span>[<span class="ruby-value">:accessor</span>]) } <span class="ruby-operator">&&</span>
|
|
253
197
|
<span class="ruby-identifier">obtain_class_variable</span>(<span class="ruby-value">:@@ooxml_child_nodes</span>).<span class="ruby-identifier">all?</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>, <span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">v</span>[<span class="ruby-value">:accessor</span>]) <span class="ruby-operator">==</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">v</span>[<span class="ruby-value">:accessor</span>]) }
|
|
254
198
|
<span class="ruby-keyword">end</span></pre>
|
|
255
199
|
</div>
|
|
256
|
-
|
|
257
200
|
</div>
|
|
258
201
|
|
|
259
|
-
|
|
260
202
|
|
|
261
|
-
|
|
262
203
|
</div>
|
|
263
204
|
|
|
264
|
-
|
|
265
205
|
<div id="method-i-before_write_xml" class="method-detail ">
|
|
266
|
-
|
|
267
206
|
<div class="method-heading">
|
|
268
207
|
<span class="method-name">before_write_xml</span><span
|
|
269
208
|
class="method-args">()</span>
|
|
270
|
-
|
|
271
209
|
<span class="method-click-advice">click to toggle source</span>
|
|
272
|
-
|
|
273
210
|
</div>
|
|
274
|
-
|
|
275
211
|
|
|
276
212
|
<div class="method-description">
|
|
277
|
-
|
|
278
213
|
<p>Subclass provided filter to perform last-minute operations (cleanup, count, etc.) immediately prior to write, along with option to terminate the actual write if <code>false</code> is returned (for example, to avoid writing the collection's root node if the collection is empty).</p>
|
|
279
|
-
|
|
280
|
-
|
|
281
214
|
|
|
282
|
-
|
|
283
215
|
<div class="method-source-code" id="before_write_xml-source">
|
|
284
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line
|
|
216
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 356</span>
|
|
285
217
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">before_write_xml</span>
|
|
286
218
|
<span class="ruby-comment">#TODO# This will go away once containers are fully implemented.</span>
|
|
287
219
|
<span class="ruby-identifier">child_nodes</span> = <span class="ruby-identifier">obtain_class_variable</span>(<span class="ruby-value">:@@ooxml_child_nodes</span>)
|
|
@@ -291,61 +223,40 @@
|
|
|
291
223
|
<span class="ruby-keyword">true</span>
|
|
292
224
|
<span class="ruby-keyword">end</span></pre>
|
|
293
225
|
</div>
|
|
294
|
-
|
|
295
226
|
</div>
|
|
296
227
|
|
|
297
|
-
|
|
298
228
|
|
|
299
|
-
|
|
300
229
|
</div>
|
|
301
230
|
|
|
302
|
-
|
|
303
231
|
<div id="method-i-index_in_collection" class="method-detail ">
|
|
304
|
-
|
|
305
232
|
<div class="method-heading">
|
|
306
233
|
<span class="method-name">index_in_collection</span><span
|
|
307
234
|
class="method-args">()</span>
|
|
308
|
-
|
|
309
235
|
<span class="method-click-advice">click to toggle source</span>
|
|
310
|
-
|
|
311
236
|
</div>
|
|
312
|
-
|
|
313
237
|
|
|
314
238
|
<div class="method-description">
|
|
315
|
-
|
|
316
239
|
<p>Prototype method. For sparse collections (<code>Rows</code>, <code>Cells</code>, etc.) must return index at which this object is expected to reside in the collection. If <code>nil</code> is returned, then object is simply added to the end of the collection.</p>
|
|
317
|
-
|
|
318
|
-
|
|
319
240
|
|
|
320
|
-
|
|
321
241
|
<div class="method-source-code" id="index_in_collection-source">
|
|
322
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line
|
|
242
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 344</span>
|
|
323
243
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">index_in_collection</span>
|
|
324
244
|
<span class="ruby-keyword">nil</span>
|
|
325
245
|
<span class="ruby-keyword">end</span></pre>
|
|
326
246
|
</div>
|
|
327
|
-
|
|
328
247
|
</div>
|
|
329
248
|
|
|
330
|
-
|
|
331
249
|
|
|
332
|
-
|
|
333
250
|
</div>
|
|
334
251
|
|
|
335
|
-
|
|
336
252
|
<div id="method-i-write_xml" class="method-detail ">
|
|
337
|
-
|
|
338
253
|
<div class="method-heading">
|
|
339
254
|
<span class="method-name">write_xml</span><span
|
|
340
255
|
class="method-args">(xml = nil, node_name_override = nil)</span>
|
|
341
|
-
|
|
342
256
|
<span class="method-click-advice">click to toggle source</span>
|
|
343
|
-
|
|
344
257
|
</div>
|
|
345
|
-
|
|
346
258
|
|
|
347
259
|
<div class="method-description">
|
|
348
|
-
|
|
349
260
|
<p>Recursively write the OOXML object and all its children out as Nokogiri::XML. Immediately before the actual generation, +before_write_xml()+ is called to perform last-minute cleanup and validation operations; if it returns <code>false</code>, an empty string is returned (rather than <code>nil</code>, so Nokogiri::XML's <code>&lt;&lt;</code> operator can be used without additional <code>nil</code> checking)</p>
|
|
350
261
|
|
|
351
262
|
<h3 id="method-i-write_xml-label-Parameters">Parameters<span><a href="#method-i-write_xml-label-Parameters">¶</a> <a href="#top">↑</a></span></h3>
|
|
@@ -371,12 +282,9 @@
|
|
|
371
282
|
</pre>
|
|
372
283
|
|
|
373
284
|
<p>Same as above, but uses the passed-in <code>node_name_override</code> as the new element name, instead of its default name set by <code>define_element_name</code>.</p>
|
|
374
|
-
|
|
375
|
-
|
|
376
285
|
|
|
377
|
-
|
|
378
286
|
<div class="method-source-code" id="write_xml-source">
|
|
379
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line
|
|
287
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 276</span>
|
|
380
288
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">write_xml</span>(<span class="ruby-identifier">xml</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">node_name_override</span> = <span class="ruby-keyword">nil</span>)
|
|
381
289
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">xml</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-keyword">then</span>
|
|
382
290
|
<span class="ruby-identifier">seed_xml</span> = <span class="ruby-constant">Nokogiri</span><span class="ruby-operator">::</span><span class="ruby-constant">XML</span>(<span class="ruby-string">'<?xml version = "1.0" standalone ="yes"?>'</span>)
|
|
@@ -442,76 +350,51 @@
|
|
|
442
350
|
<span class="ruby-identifier">elem</span>
|
|
443
351
|
<span class="ruby-keyword">end</span></pre>
|
|
444
352
|
</div>
|
|
445
|
-
|
|
446
353
|
</div>
|
|
447
354
|
|
|
448
|
-
|
|
449
355
|
|
|
450
|
-
|
|
451
356
|
</div>
|
|
452
357
|
|
|
453
|
-
|
|
454
358
|
</section>
|
|
455
|
-
|
|
359
|
+
|
|
456
360
|
<section id="protected-instance-5Buntitled-5D-method-details" class="method-section">
|
|
457
361
|
<header>
|
|
458
362
|
<h3>Protected Instance Methods</h3>
|
|
459
363
|
</header>
|
|
460
364
|
|
|
461
|
-
|
|
462
365
|
<div id="method-i-get_node_object" class="method-detail ">
|
|
463
|
-
|
|
464
366
|
<div class="method-heading">
|
|
465
367
|
<span class="method-name">get_node_object</span><span
|
|
466
368
|
class="method-args">(child_node_params)</span>
|
|
467
|
-
|
|
468
369
|
<span class="method-click-advice">click to toggle source</span>
|
|
469
|
-
|
|
470
370
|
</div>
|
|
471
|
-
|
|
472
371
|
|
|
473
372
|
<div class="method-description">
|
|
474
373
|
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
374
|
|
|
479
|
-
|
|
480
375
|
<div class="method-source-code" id="get_node_object-source">
|
|
481
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line
|
|
376
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 348</span>
|
|
482
377
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_node_object</span>(<span class="ruby-identifier">child_node_params</span>)
|
|
483
378
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">child_node_params</span>[<span class="ruby-value">:accessor</span>])
|
|
484
379
|
<span class="ruby-keyword">end</span></pre>
|
|
485
380
|
</div>
|
|
486
|
-
|
|
487
381
|
</div>
|
|
488
382
|
|
|
489
|
-
|
|
490
383
|
|
|
491
|
-
|
|
492
384
|
</div>
|
|
493
385
|
|
|
494
|
-
|
|
495
386
|
<div id="method-i-init_child_nodes" class="method-detail ">
|
|
496
|
-
|
|
497
387
|
<div class="method-heading">
|
|
498
388
|
<span class="method-name">init_child_nodes</span><span
|
|
499
389
|
class="method-args">(params)</span>
|
|
500
|
-
|
|
501
390
|
<span class="method-click-advice">click to toggle source</span>
|
|
502
|
-
|
|
503
391
|
</div>
|
|
504
|
-
|
|
505
392
|
|
|
506
393
|
<div class="method-description">
|
|
507
394
|
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
395
|
|
|
512
|
-
|
|
513
396
|
<div class="method-source-code" id="init_child_nodes-source">
|
|
514
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line
|
|
397
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 237</span>
|
|
515
398
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">init_child_nodes</span>(<span class="ruby-identifier">params</span>)
|
|
516
399
|
<span class="ruby-identifier">obtain_class_variable</span>(<span class="ruby-value">:@@ooxml_child_nodes</span>).<span class="ruby-identifier">each_value</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
|
|
517
400
|
|
|
@@ -525,24 +408,20 @@
|
|
|
525
408
|
}
|
|
526
409
|
<span class="ruby-keyword">end</span></pre>
|
|
527
410
|
</div>
|
|
528
|
-
|
|
529
411
|
</div>
|
|
530
412
|
|
|
531
|
-
|
|
532
413
|
|
|
533
|
-
|
|
534
414
|
</div>
|
|
535
415
|
|
|
536
|
-
|
|
537
416
|
</section>
|
|
538
|
-
|
|
417
|
+
|
|
539
418
|
</section>
|
|
540
419
|
</main>
|
|
541
420
|
|
|
542
421
|
|
|
543
422
|
<footer id="validator-badges" role="contentinfo">
|
|
544
423
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
545
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.
|
|
424
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
|
|
546
425
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
547
426
|
</footer>
|
|
548
427
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>class RubyXL::OOXMLRelationshipsFile - rubyXL 3.4.
|
|
7
|
+
<title>class RubyXL::OOXMLRelationshipsFile - rubyXL 3.4.18</title>
|
|
8
8
|
|
|
9
9
|
<script type="text/javascript">
|
|
10
10
|
var rdoc_rel_prefix = "../";
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
<link href="../css/rdoc.css" rel="stylesheet">
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
|
|
25
24
|
<body id="top" role="document" class="class">
|
|
26
25
|
<nav role="navigation">
|
|
27
26
|
<div id="project-navigation">
|
|
@@ -58,42 +57,31 @@
|
|
|
58
57
|
|
|
59
58
|
<div id="class-metadata">
|
|
60
59
|
|
|
61
|
-
|
|
60
|
+
|
|
61
|
+
<div id="parent-class-section" class="nav-section">
|
|
62
62
|
<h3>Parent</h3>
|
|
63
63
|
|
|
64
|
-
|
|
65
64
|
<p class="link"><a href="OOXMLTopLevelObject.html">RubyXL::OOXMLTopLevelObject</a>
|
|
66
|
-
|
|
67
65
|
</div>
|
|
68
66
|
|
|
69
67
|
|
|
70
68
|
|
|
71
|
-
|
|
69
|
+
|
|
70
|
+
<!-- Method Quickref -->
|
|
72
71
|
<div id="method-list-section" class="nav-section">
|
|
73
72
|
<h3>Methods</h3>
|
|
74
73
|
|
|
75
74
|
<ul class="link-list" role="directory">
|
|
76
|
-
|
|
77
75
|
<li ><a href="#method-c-get_class_by_rel_type">::get_class_by_rel_type</a>
|
|
78
|
-
|
|
79
76
|
<li ><a href="#method-c-load_relationship_file">::load_relationship_file</a>
|
|
80
|
-
|
|
81
77
|
<li ><a href="#method-c-rel_file_path">::rel_file_path</a>
|
|
82
|
-
|
|
83
78
|
<li ><a href="#method-i-add_relationship">#add_relationship</a>
|
|
84
|
-
|
|
85
79
|
<li class="calls-super" ><a href="#method-i-before_write_xml">#before_write_xml</a>
|
|
86
|
-
|
|
87
80
|
<li ><a href="#method-i-find_by_rid">#find_by_rid</a>
|
|
88
|
-
|
|
89
81
|
<li ><a href="#method-i-find_by_target">#find_by_target</a>
|
|
90
|
-
|
|
91
82
|
<li ><a href="#method-i-load_related_files">#load_related_files</a>
|
|
92
|
-
|
|
93
83
|
<li ><a href="#method-i-new_relationship">#new_relationship</a>
|
|
94
|
-
|
|
95
84
|
<li ><a href="#method-i-xlsx_path">#xlsx_path</a>
|
|
96
|
-
|
|
97
85
|
</ul>
|
|
98
86
|
</div>
|
|
99
87
|
|
|
@@ -109,40 +97,26 @@
|
|
|
109
97
|
|
|
110
98
|
</section>
|
|
111
99
|
|
|
112
|
-
|
|
113
100
|
<section id="5Buntitled-5D" class="documentation-section">
|
|
114
|
-
|
|
115
101
|
|
|
116
|
-
|
|
117
102
|
|
|
118
|
-
|
|
119
103
|
<section class="constants-list">
|
|
120
104
|
<header>
|
|
121
105
|
<h3>Constants</h3>
|
|
122
106
|
</header>
|
|
123
107
|
<dl>
|
|
124
|
-
|
|
125
108
|
<dt id="CONTENT_TYPE">CONTENT_TYPE
|
|
126
|
-
|
|
127
109
|
<dd>
|
|
128
|
-
|
|
129
|
-
|
|
130
110
|
<dt id="SAVE_ORDER">SAVE_ORDER
|
|
131
|
-
|
|
132
111
|
<dd>
|
|
133
|
-
|
|
134
|
-
|
|
135
112
|
</dl>
|
|
136
113
|
</section>
|
|
137
|
-
|
|
138
114
|
|
|
139
|
-
|
|
140
115
|
<section class="attribute-method-details" class="method-section">
|
|
141
116
|
<header>
|
|
142
117
|
<h3>Attributes</h3>
|
|
143
118
|
</header>
|
|
144
119
|
|
|
145
|
-
|
|
146
120
|
<div id="attribute-i-owner" class="method-detail">
|
|
147
121
|
<div class="method-heading attribute-method-heading">
|
|
148
122
|
<span class="method-name">owner</span><span
|
|
@@ -151,11 +125,8 @@
|
|
|
151
125
|
|
|
152
126
|
<div class="method-description">
|
|
153
127
|
|
|
154
|
-
|
|
155
|
-
|
|
156
128
|
</div>
|
|
157
129
|
</div>
|
|
158
|
-
|
|
159
130
|
<div id="attribute-i-related_files" class="method-detail">
|
|
160
131
|
<div class="method-heading attribute-method-heading">
|
|
161
132
|
<span class="method-name">related_files</span><span
|
|
@@ -164,39 +135,26 @@
|
|
|
164
135
|
|
|
165
136
|
<div class="method-description">
|
|
166
137
|
|
|
167
|
-
|
|
168
|
-
|
|
169
138
|
</div>
|
|
170
139
|
</div>
|
|
171
|
-
|
|
172
140
|
</section>
|
|
173
|
-
|
|
174
141
|
|
|
175
|
-
|
|
142
|
+
|
|
176
143
|
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
|
177
144
|
<header>
|
|
178
145
|
<h3>Public Class Methods</h3>
|
|
179
146
|
</header>
|
|
180
147
|
|
|
181
|
-
|
|
182
148
|
<div id="method-c-get_class_by_rel_type" class="method-detail ">
|
|
183
|
-
|
|
184
149
|
<div class="method-heading">
|
|
185
150
|
<span class="method-name">get_class_by_rel_type</span><span
|
|
186
151
|
class="method-args">(rel_type)</span>
|
|
187
|
-
|
|
188
152
|
<span class="method-click-advice">click to toggle source</span>
|
|
189
|
-
|
|
190
153
|
</div>
|
|
191
|
-
|
|
192
154
|
|
|
193
155
|
<div class="method-description">
|
|
194
156
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
157
|
|
|
199
|
-
|
|
200
158
|
<div class="method-source-code" id="get_class_by_rel_type-source">
|
|
201
159
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 56</span>
|
|
202
160
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">get_class_by_rel_type</span>(<span class="ruby-identifier">rel_type</span>)
|
|
@@ -214,33 +172,21 @@
|
|
|
214
172
|
<span class="ruby-identifier">@@rel_hash</span>[<span class="ruby-identifier">rel_type</span>]
|
|
215
173
|
<span class="ruby-keyword">end</span></pre>
|
|
216
174
|
</div>
|
|
217
|
-
|
|
218
175
|
</div>
|
|
219
176
|
|
|
220
|
-
|
|
221
177
|
|
|
222
|
-
|
|
223
178
|
</div>
|
|
224
179
|
|
|
225
|
-
|
|
226
180
|
<div id="method-c-load_relationship_file" class="method-detail ">
|
|
227
|
-
|
|
228
181
|
<div class="method-heading">
|
|
229
182
|
<span class="method-name">load_relationship_file</span><span
|
|
230
183
|
class="method-args">(zipdir_path, base_file_path)</span>
|
|
231
|
-
|
|
232
184
|
<span class="method-click-advice">click to toggle source</span>
|
|
233
|
-
|
|
234
185
|
</div>
|
|
235
|
-
|
|
236
186
|
|
|
237
187
|
<div class="method-description">
|
|
238
188
|
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
189
|
|
|
243
|
-
|
|
244
190
|
<div class="method-source-code" id="load_relationship_file-source">
|
|
245
191
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 104</span>
|
|
246
192
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">load_relationship_file</span>(<span class="ruby-identifier">zipdir_path</span>, <span class="ruby-identifier">base_file_path</span>)
|
|
@@ -251,33 +197,21 @@
|
|
|
251
197
|
<span class="ruby-identifier">parse_file</span>(<span class="ruby-identifier">zipdir_path</span>, <span class="ruby-identifier">rel_file_path</span>)
|
|
252
198
|
<span class="ruby-keyword">end</span></pre>
|
|
253
199
|
</div>
|
|
254
|
-
|
|
255
200
|
</div>
|
|
256
201
|
|
|
257
|
-
|
|
258
202
|
|
|
259
|
-
|
|
260
203
|
</div>
|
|
261
204
|
|
|
262
|
-
|
|
263
205
|
<div id="method-c-rel_file_path" class="method-detail ">
|
|
264
|
-
|
|
265
206
|
<div class="method-heading">
|
|
266
207
|
<span class="method-name">rel_file_path</span><span
|
|
267
208
|
class="method-args">(base_file_path)</span>
|
|
268
|
-
|
|
269
209
|
<span class="method-click-advice">click to toggle source</span>
|
|
270
|
-
|
|
271
210
|
</div>
|
|
272
|
-
|
|
273
211
|
|
|
274
212
|
<div class="method-description">
|
|
275
213
|
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
214
|
|
|
280
|
-
|
|
281
215
|
<div class="method-source-code" id="rel_file_path-source">
|
|
282
216
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 130</span>
|
|
283
217
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">rel_file_path</span>(<span class="ruby-identifier">base_file_path</span>)
|
|
@@ -285,46 +219,32 @@
|
|
|
285
219
|
<span class="ruby-identifier">base_file_path</span>.<span class="ruby-identifier">dirname</span>.<span class="ruby-identifier">join</span>(<span class="ruby-string">'_rels'</span>, <span class="ruby-node">"#{basename}.rels"</span>).<span class="ruby-identifier">cleanpath</span>
|
|
286
220
|
<span class="ruby-keyword">end</span></pre>
|
|
287
221
|
</div>
|
|
288
|
-
|
|
289
222
|
</div>
|
|
290
223
|
|
|
291
|
-
|
|
292
224
|
|
|
293
|
-
|
|
294
225
|
</div>
|
|
295
226
|
|
|
296
|
-
|
|
297
227
|
</section>
|
|
298
|
-
|
|
228
|
+
|
|
299
229
|
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
|
300
230
|
<header>
|
|
301
231
|
<h3>Public Instance Methods</h3>
|
|
302
232
|
</header>
|
|
303
233
|
|
|
304
|
-
|
|
305
234
|
<div id="method-i-before_write_xml" class="method-detail ">
|
|
306
|
-
|
|
307
235
|
<div class="method-heading">
|
|
308
236
|
<span class="method-name">before_write_xml</span><span
|
|
309
237
|
class="method-args">()</span>
|
|
310
|
-
|
|
311
238
|
<span class="method-click-advice">click to toggle source</span>
|
|
312
|
-
|
|
313
239
|
</div>
|
|
314
|
-
|
|
315
240
|
|
|
316
241
|
<div class="method-description">
|
|
317
242
|
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
243
|
<div class="method-calls-super">
|
|
322
244
|
Calls superclass method
|
|
323
245
|
<a href="OOXMLObjectInstanceMethods.html#method-i-before_write_xml"><code>RubyXL::OOXMLObjectInstanceMethods#before_write_xml</code></a>
|
|
324
246
|
</div>
|
|
325
|
-
|
|
326
247
|
|
|
327
|
-
|
|
328
248
|
<div class="method-source-code" id="before_write_xml-source">
|
|
329
249
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 116</span>
|
|
330
250
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">before_write_xml</span>
|
|
@@ -341,66 +261,42 @@
|
|
|
341
261
|
<span class="ruby-keyword">super</span>
|
|
342
262
|
<span class="ruby-keyword">end</span></pre>
|
|
343
263
|
</div>
|
|
344
|
-
|
|
345
264
|
</div>
|
|
346
265
|
|
|
347
|
-
|
|
348
266
|
|
|
349
|
-
|
|
350
267
|
</div>
|
|
351
268
|
|
|
352
|
-
|
|
353
269
|
<div id="method-i-find_by_rid" class="method-detail ">
|
|
354
|
-
|
|
355
270
|
<div class="method-heading">
|
|
356
271
|
<span class="method-name">find_by_rid</span><span
|
|
357
272
|
class="method-args">(r_id)</span>
|
|
358
|
-
|
|
359
273
|
<span class="method-click-advice">click to toggle source</span>
|
|
360
|
-
|
|
361
274
|
</div>
|
|
362
|
-
|
|
363
275
|
|
|
364
276
|
<div class="method-description">
|
|
365
277
|
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
278
|
|
|
370
|
-
|
|
371
279
|
<div class="method-source-code" id="find_by_rid-source">
|
|
372
280
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 46</span>
|
|
373
281
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">find_by_rid</span>(<span class="ruby-identifier">r_id</span>)
|
|
374
282
|
<span class="ruby-identifier">relationships</span>.<span class="ruby-identifier">find</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">r</span><span class="ruby-operator">|</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">id</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">r_id</span> }
|
|
375
283
|
<span class="ruby-keyword">end</span></pre>
|
|
376
284
|
</div>
|
|
377
|
-
|
|
378
285
|
</div>
|
|
379
286
|
|
|
380
|
-
|
|
381
287
|
|
|
382
|
-
|
|
383
288
|
</div>
|
|
384
289
|
|
|
385
|
-
|
|
386
290
|
<div id="method-i-find_by_target" class="method-detail ">
|
|
387
|
-
|
|
388
291
|
<div class="method-heading">
|
|
389
292
|
<span class="method-name">find_by_target</span><span
|
|
390
293
|
class="method-args">(target)</span>
|
|
391
|
-
|
|
392
294
|
<span class="method-click-advice">click to toggle source</span>
|
|
393
|
-
|
|
394
295
|
</div>
|
|
395
|
-
|
|
396
296
|
|
|
397
297
|
<div class="method-description">
|
|
398
298
|
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
299
|
|
|
403
|
-
|
|
404
300
|
<div class="method-source-code" id="find_by_target-source">
|
|
405
301
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 50</span>
|
|
406
302
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">find_by_target</span>(<span class="ruby-identifier">target</span>)
|
|
@@ -409,33 +305,21 @@
|
|
|
409
305
|
}
|
|
410
306
|
<span class="ruby-keyword">end</span></pre>
|
|
411
307
|
</div>
|
|
412
|
-
|
|
413
308
|
</div>
|
|
414
309
|
|
|
415
|
-
|
|
416
310
|
|
|
417
|
-
|
|
418
311
|
</div>
|
|
419
312
|
|
|
420
|
-
|
|
421
313
|
<div id="method-i-load_related_files" class="method-detail ">
|
|
422
|
-
|
|
423
314
|
<div class="method-heading">
|
|
424
315
|
<span class="method-name">load_related_files</span><span
|
|
425
316
|
class="method-args">(zipdir_path, base_file_name)</span>
|
|
426
|
-
|
|
427
317
|
<span class="method-click-advice">click to toggle source</span>
|
|
428
|
-
|
|
429
318
|
</div>
|
|
430
|
-
|
|
431
319
|
|
|
432
320
|
<div class="method-description">
|
|
433
321
|
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
322
|
|
|
438
|
-
|
|
439
323
|
<div class="method-source-code" id="load_related_files-source">
|
|
440
324
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 71</span>
|
|
441
325
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">load_related_files</span>(<span class="ruby-identifier">zipdir_path</span>, <span class="ruby-identifier">base_file_name</span>)
|
|
@@ -471,74 +355,49 @@
|
|
|
471
355
|
<span class="ruby-identifier">related_files</span>
|
|
472
356
|
<span class="ruby-keyword">end</span></pre>
|
|
473
357
|
</div>
|
|
474
|
-
|
|
475
358
|
</div>
|
|
476
359
|
|
|
477
|
-
|
|
478
360
|
|
|
479
|
-
|
|
480
361
|
</div>
|
|
481
362
|
|
|
482
|
-
|
|
483
363
|
<div id="method-i-xlsx_path" class="method-detail ">
|
|
484
|
-
|
|
485
364
|
<div class="method-heading">
|
|
486
365
|
<span class="method-name">xlsx_path</span><span
|
|
487
366
|
class="method-args">()</span>
|
|
488
|
-
|
|
489
367
|
<span class="method-click-advice">click to toggle source</span>
|
|
490
|
-
|
|
491
368
|
</div>
|
|
492
|
-
|
|
493
369
|
|
|
494
370
|
<div class="method-description">
|
|
495
371
|
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
372
|
|
|
500
|
-
|
|
501
373
|
<div class="method-source-code" id="xlsx_path-source">
|
|
502
374
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 112</span>
|
|
503
375
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">xlsx_path</span>
|
|
504
376
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">rel_file_path</span>(<span class="ruby-identifier">owner</span>.<span class="ruby-identifier">xlsx_path</span>)
|
|
505
377
|
<span class="ruby-keyword">end</span></pre>
|
|
506
378
|
</div>
|
|
507
|
-
|
|
508
379
|
</div>
|
|
509
380
|
|
|
510
|
-
|
|
511
381
|
|
|
512
|
-
|
|
513
382
|
</div>
|
|
514
383
|
|
|
515
|
-
|
|
516
384
|
</section>
|
|
517
|
-
|
|
385
|
+
|
|
518
386
|
<section id="protected-instance-5Buntitled-5D-method-details" class="method-section">
|
|
519
387
|
<header>
|
|
520
388
|
<h3>Protected Instance Methods</h3>
|
|
521
389
|
</header>
|
|
522
390
|
|
|
523
|
-
|
|
524
391
|
<div id="method-i-add_relationship" class="method-detail ">
|
|
525
|
-
|
|
526
392
|
<div class="method-heading">
|
|
527
393
|
<span class="method-name">add_relationship</span><span
|
|
528
394
|
class="method-args">(obj)</span>
|
|
529
|
-
|
|
530
395
|
<span class="method-click-advice">click to toggle source</span>
|
|
531
|
-
|
|
532
396
|
</div>
|
|
533
|
-
|
|
534
397
|
|
|
535
398
|
<div class="method-description">
|
|
536
399
|
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
400
|
|
|
541
|
-
|
|
542
401
|
<div class="method-source-code" id="add_relationship-source">
|
|
543
402
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 37</span>
|
|
544
403
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">add_relationship</span>(<span class="ruby-identifier">obj</span>)
|
|
@@ -549,33 +408,21 @@
|
|
|
549
408
|
<span class="ruby-value">:target</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">obj</span>.<span class="ruby-identifier">xlsx_path</span>.<span class="ruby-identifier">relative_path_from</span>(<span class="ruby-identifier">owner</span>.<span class="ruby-identifier">xlsx_path</span>.<span class="ruby-identifier">dirname</span>))
|
|
550
409
|
<span class="ruby-keyword">end</span></pre>
|
|
551
410
|
</div>
|
|
552
|
-
|
|
553
411
|
</div>
|
|
554
412
|
|
|
555
|
-
|
|
556
413
|
|
|
557
|
-
|
|
558
414
|
</div>
|
|
559
415
|
|
|
560
|
-
|
|
561
416
|
<div id="method-i-new_relationship" class="method-detail ">
|
|
562
|
-
|
|
563
417
|
<div class="method-heading">
|
|
564
418
|
<span class="method-name">new_relationship</span><span
|
|
565
419
|
class="method-args">(target, type)</span>
|
|
566
|
-
|
|
567
420
|
<span class="method-click-advice">click to toggle source</span>
|
|
568
|
-
|
|
569
421
|
</div>
|
|
570
|
-
|
|
571
422
|
|
|
572
423
|
<div class="method-description">
|
|
573
424
|
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
425
|
|
|
578
|
-
|
|
579
426
|
<div class="method-source-code" id="new_relationship-source">
|
|
580
427
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 30</span>
|
|
581
428
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">new_relationship</span>(<span class="ruby-identifier">target</span>, <span class="ruby-identifier">type</span>)
|
|
@@ -584,24 +431,20 @@
|
|
|
584
431
|
<span class="ruby-value">:target</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">target</span>)
|
|
585
432
|
<span class="ruby-keyword">end</span></pre>
|
|
586
433
|
</div>
|
|
587
|
-
|
|
588
434
|
</div>
|
|
589
435
|
|
|
590
|
-
|
|
591
436
|
|
|
592
|
-
|
|
593
437
|
</div>
|
|
594
438
|
|
|
595
|
-
|
|
596
439
|
</section>
|
|
597
|
-
|
|
440
|
+
|
|
598
441
|
</section>
|
|
599
442
|
</main>
|
|
600
443
|
|
|
601
444
|
|
|
602
445
|
<footer id="validator-badges" role="contentinfo">
|
|
603
446
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
604
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.
|
|
447
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
|
|
605
448
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
606
449
|
</footer>
|
|
607
450
|
|