rubyXL 3.3.1 → 3.3.2
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/VERSION +1 -1
- data/lib/rubyXL/objects/content_types.rb +8 -3
- data/lib/rubyXL/objects/ooxml_object.rb +0 -1
- data/lib/rubyXL/objects/relationships.rb +1 -1
- data/lib/rubyXL/objects/storage.rb +28 -5
- data/lib/rubyXL/objects/text.rb +8 -1
- data/lib/rubyXL/objects/workbook.rb +9 -2
- data/rdoc/README_rdoc.html +179 -152
- data/rdoc/RubyXL.html +7 -10
- data/rdoc/RubyXL/AExtension.html +7 -10
- data/rdoc/RubyXL/AExtensionStorageArea.html +7 -10
- data/rdoc/RubyXL/AdjustHandleList.html +10 -10
- data/rdoc/RubyXL/Alignment.html +7 -10
- data/rdoc/RubyXL/AlternateContent.html +7 -10
- data/rdoc/RubyXL/Authors.html +10 -10
- data/rdoc/RubyXL/AutoFilter.html +10 -10
- data/rdoc/RubyXL/AutoFilterColumn.html +10 -10
- data/rdoc/RubyXL/BinaryImageFile.html +26 -10
- data/rdoc/RubyXL/BodyProperties.html +10 -10
- data/rdoc/RubyXL/BooleanNode.html +7 -10
- data/rdoc/RubyXL/BooleanValue.html +7 -10
- data/rdoc/RubyXL/Border.html +97 -10
- data/rdoc/RubyXL/BorderEdge.html +7 -10
- data/rdoc/RubyXL/Borders.html +61 -10
- data/rdoc/RubyXL/Break.html +10 -10
- data/rdoc/RubyXL/BreakList.html +10 -10
- data/rdoc/RubyXL/CT_AdjPoint2D.html +10 -10
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +10 -10
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +10 -10
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +10 -10
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +10 -10
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +10 -10
- data/rdoc/RubyXL/CT_Backdrop.html +10 -10
- data/rdoc/RubyXL/CT_Bevel.html +10 -10
- data/rdoc/RubyXL/CT_BiLevelEffect.html +10 -10
- data/rdoc/RubyXL/CT_BlendEffect.html +10 -10
- data/rdoc/RubyXL/CT_Blip.html +10 -10
- data/rdoc/RubyXL/CT_BlipFillProperties.html +10 -10
- data/rdoc/RubyXL/CT_BlurEffect.html +10 -10
- data/rdoc/RubyXL/CT_Camera.html +10 -10
- data/rdoc/RubyXL/CT_Color.html +10 -10
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +10 -10
- data/rdoc/RubyXL/CT_ColorMapping.html +10 -10
- data/rdoc/RubyXL/CT_ColorScheme.html +10 -10
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +10 -10
- data/rdoc/RubyXL/CT_ConnectionSite.html +10 -10
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +10 -10
- data/rdoc/RubyXL/CT_DashStop.html +10 -10
- data/rdoc/RubyXL/CT_DashStopList.html +10 -10
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +10 -10
- data/rdoc/RubyXL/CT_DuotoneEffect.html +10 -10
- data/rdoc/RubyXL/CT_EffectContainer.html +10 -10
- data/rdoc/RubyXL/CT_EffectList.html +10 -10
- data/rdoc/RubyXL/CT_EffectReference.html +10 -10
- data/rdoc/RubyXL/CT_EffectStyleItem.html +10 -10
- data/rdoc/RubyXL/CT_EffectStyleList.html +10 -10
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +10 -10
- data/rdoc/RubyXL/CT_FillEffect.html +10 -10
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +10 -10
- data/rdoc/RubyXL/CT_FillStyleList.html +10 -10
- data/rdoc/RubyXL/CT_FlatText.html +10 -10
- data/rdoc/RubyXL/CT_FontCollection.html +10 -10
- data/rdoc/RubyXL/CT_FontReference.html +10 -10
- data/rdoc/RubyXL/CT_GeomGuideList.html +10 -10
- data/rdoc/RubyXL/CT_GlowEffect.html +10 -10
- data/rdoc/RubyXL/CT_GradientFillProperties.html +10 -10
- data/rdoc/RubyXL/CT_GradientStop.html +10 -10
- data/rdoc/RubyXL/CT_GradientStopList.html +10 -10
- data/rdoc/RubyXL/CT_HSLEffect.html +10 -10
- data/rdoc/RubyXL/CT_HslColor.html +10 -10
- data/rdoc/RubyXL/CT_Hyperlink.html +10 -10
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +10 -10
- data/rdoc/RubyXL/CT_LightRig.html +10 -10
- data/rdoc/RubyXL/CT_LineEndProperties.html +10 -10
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +10 -10
- data/rdoc/RubyXL/CT_LineProperties.html +10 -10
- data/rdoc/RubyXL/CT_LineStyleList.html +10 -10
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +10 -10
- data/rdoc/RubyXL/CT_LuminanceEffect.html +10 -10
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +10 -10
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +10 -10
- data/rdoc/RubyXL/CT_Path2D.html +10 -10
- data/rdoc/RubyXL/CT_Path2DArcTo.html +10 -10
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +10 -10
- data/rdoc/RubyXL/CT_Path2DList.html +10 -10
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +10 -10
- data/rdoc/RubyXL/CT_Path2DTo.html +10 -10
- data/rdoc/RubyXL/CT_PathShadeProperties.html +10 -10
- data/rdoc/RubyXL/CT_PatternFillProperties.html +10 -10
- data/rdoc/RubyXL/CT_Point3D.html +10 -10
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +10 -10
- data/rdoc/RubyXL/CT_PresetColor.html +10 -10
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +10 -10
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +10 -10
- data/rdoc/RubyXL/CT_PresetTextShape.html +10 -10
- data/rdoc/RubyXL/CT_ReflectionEffect.html +10 -10
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +10 -10
- data/rdoc/RubyXL/CT_RelativeRect.html +10 -10
- data/rdoc/RubyXL/CT_SRgbColor.html +10 -10
- data/rdoc/RubyXL/CT_ScRgbColor.html +10 -10
- data/rdoc/RubyXL/CT_Scene3D.html +10 -10
- data/rdoc/RubyXL/CT_SchemeColor.html +10 -10
- data/rdoc/RubyXL/CT_Shape3D.html +10 -10
- data/rdoc/RubyXL/CT_ShapeStyle.html +10 -10
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +10 -10
- data/rdoc/RubyXL/CT_SphereCoords.html +10 -10
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +10 -10
- data/rdoc/RubyXL/CT_StyleMatrix.html +10 -10
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +10 -10
- data/rdoc/RubyXL/CT_SupplementalFont.html +10 -10
- data/rdoc/RubyXL/CT_SystemColor.html +10 -10
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +10 -10
- data/rdoc/RubyXL/CT_TextBlipBullet.html +10 -10
- data/rdoc/RubyXL/CT_TextCharBullet.html +10 -10
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +10 -10
- data/rdoc/RubyXL/CT_TextFont.html +10 -10
- data/rdoc/RubyXL/CT_TextListStyle.html +10 -10
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +10 -10
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +10 -10
- data/rdoc/RubyXL/CT_TextSpacing.html +10 -10
- data/rdoc/RubyXL/CT_TextTabStop.html +10 -10
- data/rdoc/RubyXL/CT_TextTabStopList.html +10 -10
- data/rdoc/RubyXL/CT_TileInfoProperties.html +10 -10
- data/rdoc/RubyXL/CT_TintEffect.html +10 -10
- data/rdoc/RubyXL/CT_Transform2D.html +10 -10
- data/rdoc/RubyXL/CT_TransformEffect.html +10 -10
- data/rdoc/RubyXL/CT_Vector3D.html +10 -10
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +10 -10
- data/rdoc/RubyXL/CalculationChain.html +7 -10
- data/rdoc/RubyXL/CalculationChainCell.html +7 -10
- data/rdoc/RubyXL/CalculationProperties.html +10 -10
- data/rdoc/RubyXL/Cell.html +9 -11
- data/rdoc/RubyXL/CellConvenienceMethods.html +203 -10
- data/rdoc/RubyXL/CellSmartTag.html +10 -10
- data/rdoc/RubyXL/CellSmartTagProperty.html +10 -10
- data/rdoc/RubyXL/CellSmartTags.html +10 -10
- data/rdoc/RubyXL/CellStyle.html +7 -10
- data/rdoc/RubyXL/CellStyleXFs.html +61 -10
- data/rdoc/RubyXL/CellStyles.html +61 -10
- data/rdoc/RubyXL/CellValue.html +7 -10
- data/rdoc/RubyXL/CellWatch.html +10 -10
- data/rdoc/RubyXL/CellWatches.html +10 -10
- data/rdoc/RubyXL/CellXFs.html +65 -10
- data/rdoc/RubyXL/ChartColorsFile.html +26 -10
- data/rdoc/RubyXL/ChartFile.html +93 -10
- data/rdoc/RubyXL/ChartStyleFile.html +26 -10
- data/rdoc/RubyXL/ChartUserShapesFile.html +26 -10
- data/rdoc/RubyXL/Chartsheet.html +164 -10
- data/rdoc/RubyXL/ChartsheetPageSetup.html +10 -10
- data/rdoc/RubyXL/ChartsheetProperties.html +7 -10
- data/rdoc/RubyXL/ChartsheetProtection.html +7 -10
- data/rdoc/RubyXL/ChartsheetView.html +10 -10
- data/rdoc/RubyXL/ChartsheetViews.html +10 -10
- data/rdoc/RubyXL/Color.html +7 -10
- data/rdoc/RubyXL/ColorFilter.html +10 -10
- data/rdoc/RubyXL/ColorScale.html +10 -10
- data/rdoc/RubyXL/ColorSet.html +10 -10
- data/rdoc/RubyXL/Colors.html +10 -10
- data/rdoc/RubyXL/ColumnRange.html +7 -10
- data/rdoc/RubyXL/ColumnRanges.html +7 -10
- data/rdoc/RubyXL/Comment.html +7 -10
- data/rdoc/RubyXL/CommentList.html +10 -10
- data/rdoc/RubyXL/CommentsFile.html +101 -10
- data/rdoc/RubyXL/ConditionalFormatValue.html +10 -10
- data/rdoc/RubyXL/ConditionalFormatting.html +10 -10
- data/rdoc/RubyXL/ConditionalFormattingRule.html +10 -10
- data/rdoc/RubyXL/ContentTypeDefault.html +7 -10
- data/rdoc/RubyXL/ContentTypeOverride.html +7 -10
- data/rdoc/RubyXL/ContentTypes.html +15 -13
- data/rdoc/RubyXL/ControlPropertiesFile.html +21 -10
- data/rdoc/RubyXL/CorePropertiesFile.html +378 -10
- data/rdoc/RubyXL/CustomColor.html +10 -10
- data/rdoc/RubyXL/CustomColorList.html +10 -10
- data/rdoc/RubyXL/CustomFilter.html +10 -10
- data/rdoc/RubyXL/CustomFilters.html +10 -10
- data/rdoc/RubyXL/CustomGeometry.html +10 -10
- data/rdoc/RubyXL/CustomProperties.html +10 -10
- data/rdoc/RubyXL/CustomPropertiesFile.html +26 -10
- data/rdoc/RubyXL/CustomProperty.html +10 -10
- data/rdoc/RubyXL/CustomSheetView.html +10 -10
- data/rdoc/RubyXL/CustomSheetViews.html +10 -10
- data/rdoc/RubyXL/CustomWorkbookView.html +10 -10
- data/rdoc/RubyXL/CustomWorkbookViews.html +10 -10
- data/rdoc/RubyXL/CustomXMLFile.html +21 -10
- data/rdoc/RubyXL/DXF.html +10 -10
- data/rdoc/RubyXL/DXFs.html +10 -10
- data/rdoc/RubyXL/DataBar.html +10 -10
- data/rdoc/RubyXL/DataConsolidate.html +10 -10
- data/rdoc/RubyXL/DataConsolidationReference.html +10 -10
- data/rdoc/RubyXL/DataConsolidationReferences.html +10 -10
- data/rdoc/RubyXL/DataType.html +7 -10
- data/rdoc/RubyXL/DataValidation.html +7 -10
- data/rdoc/RubyXL/DataValidations.html +10 -10
- data/rdoc/RubyXL/DateGroupItem.html +7 -10
- data/rdoc/RubyXL/DefinedName.html +10 -10
- data/rdoc/RubyXL/DefinedNames.html +10 -10
- data/rdoc/RubyXL/DocumentPropertiesFile.html +7 -10
- data/rdoc/RubyXL/DrawingFile.html +92 -10
- data/rdoc/RubyXL/DynamicFilter.html +10 -10
- data/rdoc/RubyXL/EmbeddedControl.html +10 -10
- data/rdoc/RubyXL/EmbeddedControls.html +10 -10
- data/rdoc/RubyXL/Extension.html +7 -10
- data/rdoc/RubyXL/ExtensionStorageArea.html +7 -10
- data/rdoc/RubyXL/Extents.html +10 -10
- data/rdoc/RubyXL/ExternalLinksFile.html +26 -10
- data/rdoc/RubyXL/ExternalReference.html +10 -10
- data/rdoc/RubyXL/ExternalReferences.html +10 -10
- data/rdoc/RubyXL/ExtraColorSchemeList.html +10 -10
- data/rdoc/RubyXL/FieldItem.html +10 -10
- data/rdoc/RubyXL/FileRecoveryProperties.html +10 -10
- data/rdoc/RubyXL/FileSharing.html +7 -10
- data/rdoc/RubyXL/FileVersion.html +7 -10
- data/rdoc/RubyXL/Fill.html +61 -10
- data/rdoc/RubyXL/Fills.html +61 -10
- data/rdoc/RubyXL/FilterContainer.html +10 -10
- data/rdoc/RubyXL/FloatNode.html +7 -10
- data/rdoc/RubyXL/FloatValue.html +7 -10
- data/rdoc/RubyXL/Font.html +7 -10
- data/rdoc/RubyXL/FontScheme.html +10 -10
- data/rdoc/RubyXL/Fonts.html +61 -10
- data/rdoc/RubyXL/Formula.html +7 -10
- data/rdoc/RubyXL/FunctionGroup.html +10 -10
- data/rdoc/RubyXL/FunctionGroups.html +10 -10
- data/rdoc/RubyXL/GenericStorageObject.html +7 -10
- data/rdoc/RubyXL/GradientFill.html +10 -10
- data/rdoc/RubyXL/HeaderFooterSettings.html +10 -10
- data/rdoc/RubyXL/Hyperlink.html +10 -10
- data/rdoc/RubyXL/HyperlinkRelFile.html +21 -10
- data/rdoc/RubyXL/Hyperlinks.html +10 -10
- data/rdoc/RubyXL/IconFilter.html +10 -10
- data/rdoc/RubyXL/IconSet.html +10 -10
- data/rdoc/RubyXL/IgnoredError.html +10 -10
- data/rdoc/RubyXL/IgnoredErrors.html +10 -10
- data/rdoc/RubyXL/IndexedColors.html +10 -10
- data/rdoc/RubyXL/InputCells.html +10 -10
- data/rdoc/RubyXL/IntegerNode.html +7 -10
- data/rdoc/RubyXL/IntegerValue.html +7 -10
- data/rdoc/RubyXL/LegacyCell.html +7 -10
- data/rdoc/RubyXL/LegacyWorksheet.html +7 -10
- data/rdoc/RubyXL/MRUColors.html +10 -10
- data/rdoc/RubyXL/MacrosFile.html +26 -10
- data/rdoc/RubyXL/MergedCell.html +10 -10
- data/rdoc/RubyXL/MergedCells.html +10 -10
- data/rdoc/RubyXL/NumFmt.html +10 -10
- data/rdoc/RubyXL/NumberFormat.html +7 -10
- data/rdoc/RubyXL/NumberFormats.html +7 -10
- data/rdoc/RubyXL/OLEObject.html +10 -10
- data/rdoc/RubyXL/OLEObjectFile.html +26 -10
- data/rdoc/RubyXL/OLEObjects.html +10 -10
- data/rdoc/RubyXL/OLESize.html +10 -10
- data/rdoc/RubyXL/OOXMLContainerObject.html +298 -10
- data/rdoc/RubyXL/OOXMLObject.html +23 -11
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +23 -22
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +447 -10
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +8 -11
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +284 -10
- data/rdoc/RubyXL/Offset.html +10 -10
- data/rdoc/RubyXL/OutlineProperties.html +7 -10
- data/rdoc/RubyXL/PageMargins.html +10 -10
- data/rdoc/RubyXL/PageSetup.html +10 -10
- data/rdoc/RubyXL/PageSetupProperties.html +7 -10
- data/rdoc/RubyXL/Pane.html +10 -10
- data/rdoc/RubyXL/Parser.html +7 -10
- data/rdoc/RubyXL/PatternFill.html +10 -10
- data/rdoc/RubyXL/PhoneticProperties.html +10 -10
- data/rdoc/RubyXL/PhoneticRun.html +10 -10
- data/rdoc/RubyXL/PivotArea.html +10 -10
- data/rdoc/RubyXL/PivotCache.html +10 -10
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +38 -11
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +121 -0
- data/rdoc/RubyXL/PivotCaches.html +10 -10
- data/rdoc/RubyXL/PivotReference.html +10 -10
- data/rdoc/RubyXL/PivotReferences.html +10 -10
- data/rdoc/RubyXL/PivotTableFile.html +38 -11
- data/rdoc/RubyXL/PivotTableSelection.html +10 -10
- data/rdoc/RubyXL/PresetGeometry.html +10 -10
- data/rdoc/RubyXL/PrintOptions.html +10 -10
- data/rdoc/RubyXL/PrinterSettingsFile.html +26 -10
- data/rdoc/RubyXL/ProtectedRange.html +10 -10
- data/rdoc/RubyXL/ProtectedRanges.html +10 -10
- data/rdoc/RubyXL/Protection.html +10 -10
- data/rdoc/RubyXL/RID.html +7 -10
- data/rdoc/RubyXL/RawOOXML.html +7 -10
- data/rdoc/RubyXL/Reference.html +7 -10
- data/rdoc/RubyXL/Relationship.html +7 -10
- data/rdoc/RubyXL/RelationshipSupport.html +324 -10
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +59 -10
- data/rdoc/RubyXL/RichText.html +63 -10
- data/rdoc/RubyXL/RichTextRun.html +61 -10
- data/rdoc/RubyXL/Row.html +329 -10
- data/rdoc/RubyXL/RunProperties.html +7 -10
- data/rdoc/RubyXL/Scenario.html +10 -10
- data/rdoc/RubyXL/Scenarios.html +10 -10
- data/rdoc/RubyXL/Selection.html +69 -10
- data/rdoc/RubyXL/ShapeGuide.html +10 -10
- data/rdoc/RubyXL/ShapeTextRectangle.html +10 -10
- data/rdoc/RubyXL/SharedStringsTable.html +9 -12
- data/rdoc/RubyXL/Sheet.html +10 -10
- data/rdoc/RubyXL/SheetCalculationProperties.html +10 -10
- data/rdoc/RubyXL/SheetData.html +96 -10
- data/rdoc/RubyXL/Sheets.html +10 -10
- data/rdoc/RubyXL/SlicerCacheFile.html +26 -10
- data/rdoc/RubyXL/SlicerFile.html +26 -10
- data/rdoc/RubyXL/SmartTagProperties.html +10 -10
- data/rdoc/RubyXL/SmartTagType.html +10 -10
- data/rdoc/RubyXL/SmartTagTypes.html +10 -10
- data/rdoc/RubyXL/SmartTags.html +10 -10
- data/rdoc/RubyXL/SortCondition.html +10 -10
- data/rdoc/RubyXL/SortState.html +10 -10
- data/rdoc/RubyXL/Sqref.html +7 -10
- data/rdoc/RubyXL/Stop.html +7 -10
- data/rdoc/RubyXL/StringNode.html +7 -10
- data/rdoc/RubyXL/StringNodeW3C.html +7 -10
- data/rdoc/RubyXL/StringValue.html +7 -10
- data/rdoc/RubyXL/Stylesheet.html +211 -10
- data/rdoc/RubyXL/TableFile.html +26 -10
- data/rdoc/RubyXL/TableParts.html +7 -10
- data/rdoc/RubyXL/TableStyle.html +10 -10
- data/rdoc/RubyXL/TableStyles.html +10 -10
- data/rdoc/RubyXL/Text.html +33 -13
- data/rdoc/RubyXL/Theme.html +439 -10
- data/rdoc/RubyXL/ThemeElements.html +10 -10
- data/rdoc/RubyXL/ThumbnailFile.html +26 -10
- data/rdoc/RubyXL/Top10.html +10 -10
- data/rdoc/RubyXL/VMLDrawingFile.html +39 -11
- data/rdoc/RubyXL/Variant.html +7 -10
- data/rdoc/RubyXL/Vector.html +65 -10
- data/rdoc/RubyXL/VectorValue.html +7 -10
- data/rdoc/RubyXL/VisualProperties.html +10 -10
- data/rdoc/RubyXL/WebPublishObject.html +10 -10
- data/rdoc/RubyXL/WebPublishObjects.html +10 -10
- data/rdoc/RubyXL/WebPublishingItem.html +7 -10
- data/rdoc/RubyXL/WebPublishingItems.html +10 -10
- data/rdoc/RubyXL/WebPublishingProperties.html +10 -10
- data/rdoc/RubyXL/Workbook.html +514 -10
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +7 -10
- data/rdoc/RubyXL/WorkbookProperties.html +7 -10
- data/rdoc/RubyXL/WorkbookProtection.html +10 -10
- data/rdoc/RubyXL/WorkbookRoot.html +7 -10
- data/rdoc/RubyXL/WorkbookView.html +10 -10
- data/rdoc/RubyXL/WorkbookViews.html +10 -10
- data/rdoc/RubyXL/Worksheet.html +337 -10
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +2624 -10
- data/rdoc/RubyXL/WorksheetDimensions.html +10 -10
- data/rdoc/RubyXL/WorksheetFormatProperties.html +7 -10
- data/rdoc/RubyXL/WorksheetProperties.html +7 -10
- data/rdoc/RubyXL/WorksheetProtection.html +10 -10
- data/rdoc/RubyXL/WorksheetView.html +10 -10
- data/rdoc/RubyXL/WorksheetViews.html +10 -10
- data/rdoc/RubyXL/XF.html +10 -10
- data/rdoc/created.rid +8 -8
- data/rdoc/{fonts.css → css/fonts.css} +0 -0
- data/rdoc/{rdoc.css → css/rdoc.css} +11 -1
- data/rdoc/index.html +570 -11
- data/rdoc/js/darkfish.js +32 -11
- 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 +1920 -295
- data/rubyXL.gemspec +9 -5
- metadata +8 -4
|
@@ -4,22 +4,19 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>module RubyXL::RelationshipSupport - rubyXL 3.3.
|
|
8
|
-
|
|
9
|
-
<link href="../fonts.css" rel="stylesheet">
|
|
10
|
-
<link href="../rdoc.css" rel="stylesheet">
|
|
7
|
+
<title>module RubyXL::RelationshipSupport - rubyXL 3.3.2</title>
|
|
11
8
|
|
|
12
9
|
<script type="text/javascript">
|
|
13
10
|
var rdoc_rel_prefix = "../";
|
|
14
11
|
</script>
|
|
15
12
|
|
|
16
13
|
<script src="../js/jquery.js"></script>
|
|
17
|
-
<script src="../js/navigation.js"></script>
|
|
18
|
-
<script src="../js/search_index.js"></script>
|
|
19
|
-
<script src="../js/search.js"></script>
|
|
20
|
-
<script src="../js/searcher.js"></script>
|
|
21
14
|
<script src="../js/darkfish.js"></script>
|
|
22
15
|
|
|
16
|
+
<link href="../css/fonts.css" rel="stylesheet">
|
|
17
|
+
<link href="../css/rdoc.css" rel="stylesheet">
|
|
18
|
+
|
|
19
|
+
|
|
23
20
|
|
|
24
21
|
<body id="top" role="document" class="module">
|
|
25
22
|
<nav role="navigation">
|
|
@@ -59,8 +56,39 @@
|
|
|
59
56
|
|
|
60
57
|
|
|
61
58
|
|
|
59
|
+
<div id="extends-section" class="nav-section">
|
|
60
|
+
<h3>Extended With Modules</h3>
|
|
61
|
+
|
|
62
|
+
<ul class="link-list">
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
<li><a class="extend" href="RelationshipSupport/ClassMehods.html">RubyXL::RelationshipSupport::ClassMehods</a>
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
</ul>
|
|
69
|
+
</div>
|
|
70
|
+
|
|
71
|
+
<!-- Method Quickref -->
|
|
72
|
+
<div id="method-list-section" class="nav-section">
|
|
73
|
+
<h3>Methods</h3>
|
|
74
|
+
|
|
75
|
+
<ul class="link-list" role="directory">
|
|
76
|
+
|
|
77
|
+
<li ><a href="#method-c-included">::included</a>
|
|
78
|
+
|
|
79
|
+
<li ><a href="#method-i-attach_relationship">#attach_relationship</a>
|
|
80
|
+
|
|
81
|
+
<li ><a href="#method-i-collect_related_objects">#collect_related_objects</a>
|
|
62
82
|
|
|
83
|
+
<li ><a href="#method-i-load_relationships">#load_relationships</a>
|
|
63
84
|
|
|
85
|
+
<li ><a href="#method-i-related_objects">#related_objects</a>
|
|
86
|
+
|
|
87
|
+
<li ><a href="#method-i-store_relationship">#store_relationship</a>
|
|
88
|
+
|
|
89
|
+
</ul>
|
|
90
|
+
</div>
|
|
91
|
+
|
|
64
92
|
</div>
|
|
65
93
|
</nav>
|
|
66
94
|
|
|
@@ -71,6 +99,9 @@
|
|
|
71
99
|
|
|
72
100
|
<section class="description">
|
|
73
101
|
|
|
102
|
+
<p><code>RelationshipSupport</code> module enables automatic loading and
|
|
103
|
+
saving of _rels for the respective file</p>
|
|
104
|
+
|
|
74
105
|
</section>
|
|
75
106
|
|
|
76
107
|
|
|
@@ -84,15 +115,298 @@
|
|
|
84
115
|
|
|
85
116
|
|
|
86
117
|
|
|
118
|
+
<section class="attribute-method-details" class="method-section">
|
|
119
|
+
<header>
|
|
120
|
+
<h3>Attributes</h3>
|
|
121
|
+
</header>
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
<div id="attribute-i-generic_storage" class="method-detail">
|
|
125
|
+
<div class="method-heading attribute-method-heading">
|
|
126
|
+
<span class="method-name">generic_storage</span><span
|
|
127
|
+
class="attribute-access-type">[RW]</span>
|
|
128
|
+
</div>
|
|
129
|
+
|
|
130
|
+
<div class="method-description">
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
|
|
137
|
+
<div id="attribute-i-relationship_container" class="method-detail">
|
|
138
|
+
<div class="method-heading attribute-method-heading">
|
|
139
|
+
<span class="method-name">relationship_container</span><span
|
|
140
|
+
class="attribute-access-type">[RW]</span>
|
|
141
|
+
</div>
|
|
142
|
+
|
|
143
|
+
<div class="method-description">
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
</div>
|
|
148
|
+
</div>
|
|
149
|
+
|
|
150
|
+
</section>
|
|
151
|
+
|
|
87
152
|
|
|
88
153
|
|
|
154
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
|
155
|
+
<header>
|
|
156
|
+
<h3>Public Class Methods</h3>
|
|
157
|
+
</header>
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
<div id="method-c-included" class="method-detail ">
|
|
161
|
+
|
|
162
|
+
<div class="method-heading">
|
|
163
|
+
<span class="method-name">included</span><span
|
|
164
|
+
class="method-args">(klass)</span>
|
|
165
|
+
|
|
166
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
167
|
+
|
|
168
|
+
</div>
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
<div class="method-description">
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
<div class="method-source-code" id="included-source">
|
|
179
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 143</span>
|
|
180
|
+
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">included</span>(<span class="ruby-identifier">klass</span>)
|
|
181
|
+
<span class="ruby-identifier">klass</span>.<span class="ruby-identifier">class_variable_set</span>(<span class="ruby-value">:@@ooxml_relationships</span>, {})
|
|
182
|
+
<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">RelationshipSupport</span><span class="ruby-operator">::</span><span class="ruby-constant">ClassMehods</span>
|
|
183
|
+
<span class="ruby-keyword">end</span></pre>
|
|
184
|
+
</div>
|
|
185
|
+
|
|
186
|
+
</div>
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
</div>
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
</section>
|
|
195
|
+
|
|
196
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
|
197
|
+
<header>
|
|
198
|
+
<h3>Public Instance Methods</h3>
|
|
199
|
+
</header>
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
<div id="method-i-attach_relationship" class="method-detail ">
|
|
203
|
+
|
|
204
|
+
<div class="method-heading">
|
|
205
|
+
<span class="method-name">attach_relationship</span><span
|
|
206
|
+
class="method-args">(rid, rf)</span>
|
|
207
|
+
|
|
208
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
209
|
+
|
|
210
|
+
</div>
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
<div class="method-description">
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
<div class="method-source-code" id="attach_relationship-source">
|
|
221
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 177</span>
|
|
222
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">attach_relationship</span>(<span class="ruby-identifier">rid</span>, <span class="ruby-identifier">rf</span>)
|
|
223
|
+
<span class="ruby-identifier">relationships</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">class_variable_get</span>(<span class="ruby-value">:@@ooxml_relationships</span>)
|
|
224
|
+
<span class="ruby-identifier">klass</span> = <span class="ruby-identifier">rf</span>.<span class="ruby-identifier">class</span>
|
|
225
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">relationships</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">klass</span>) <span class="ruby-keyword">then</span>
|
|
226
|
+
<span class="ruby-identifier">accessor</span> = <span class="ruby-identifier">relationships</span>[<span class="ruby-identifier">klass</span>]
|
|
227
|
+
<span class="ruby-keyword">case</span> <span class="ruby-identifier">accessor</span>
|
|
228
|
+
<span class="ruby-keyword">when</span> <span class="ruby-constant">NilClass</span> <span class="ruby-keyword">then</span>
|
|
229
|
+
<span class="ruby-comment"># Relationship is known, but we don't have a special accessor for it, store as generic</span>
|
|
230
|
+
<span class="ruby-identifier">store_relationship</span>(<span class="ruby-identifier">rf</span>)
|
|
231
|
+
<span class="ruby-keyword">when</span> <span class="ruby-keyword">false</span> <span class="ruby-keyword">then</span>
|
|
232
|
+
<span class="ruby-comment"># Do nothing, the code will perform attaching on its own</span>
|
|
233
|
+
<span class="ruby-keyword">else</span>
|
|
234
|
+
<span class="ruby-identifier">container</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">accessor</span>)
|
|
235
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">container</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Array</span>) <span class="ruby-keyword">then</span> <span class="ruby-identifier">container</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">rf</span>
|
|
236
|
+
<span class="ruby-keyword">else</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">send</span>(<span class="ruby-node">"#{accessor}="</span>, <span class="ruby-identifier">rf</span>)
|
|
237
|
+
<span class="ruby-keyword">end</span>
|
|
238
|
+
<span class="ruby-keyword">end</span>
|
|
239
|
+
<span class="ruby-keyword">else</span> <span class="ruby-identifier">store_relationship</span>(<span class="ruby-identifier">rf</span>, <span class="ruby-value">:unknown</span>)
|
|
240
|
+
<span class="ruby-keyword">end</span>
|
|
241
|
+
<span class="ruby-keyword">end</span></pre>
|
|
242
|
+
</div>
|
|
243
|
+
|
|
244
|
+
</div>
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
</div>
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
<div id="method-i-collect_related_objects" class="method-detail ">
|
|
253
|
+
|
|
254
|
+
<div class="method-heading">
|
|
255
|
+
<span class="method-name">collect_related_objects</span><span
|
|
256
|
+
class="method-args">()</span>
|
|
257
|
+
|
|
258
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
259
|
+
|
|
260
|
+
</div>
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
<div class="method-description">
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
<div class="method-source-code" id="collect_related_objects-source">
|
|
271
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 154</span>
|
|
272
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">collect_related_objects</span>
|
|
273
|
+
<span class="ruby-identifier">res</span> = <span class="ruby-identifier">related_objects</span>.<span class="ruby-identifier">compact</span> <span class="ruby-comment"># Avoid tainting +related_objects+ array</span>
|
|
274
|
+
<span class="ruby-identifier">res</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">generic_storage</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">generic_storage</span>
|
|
275
|
+
|
|
276
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">relationship_container</span> <span class="ruby-keyword">then</span>
|
|
277
|
+
<span class="ruby-identifier">relationship_container</span>.<span class="ruby-identifier">owner</span> = <span class="ruby-keyword">self</span>
|
|
278
|
+
<span class="ruby-identifier">res</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">relationship_container</span>
|
|
279
|
+
<span class="ruby-keyword">end</span>
|
|
280
|
+
|
|
281
|
+
<span class="ruby-identifier">res</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">o</span><span class="ruby-operator">|</span> <span class="ruby-identifier">res</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">o</span>.<span class="ruby-identifier">collect_related_objects</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">o</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-value">:collect_related_objects</span>) }
|
|
282
|
+
|
|
283
|
+
<span class="ruby-identifier">res</span>
|
|
284
|
+
<span class="ruby-keyword">end</span></pre>
|
|
285
|
+
</div>
|
|
286
|
+
|
|
287
|
+
</div>
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
</div>
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
<div id="method-i-load_relationships" class="method-detail ">
|
|
296
|
+
|
|
297
|
+
<div class="method-heading">
|
|
298
|
+
<span class="method-name">load_relationships</span><span
|
|
299
|
+
class="method-args">(dir_path, base_file_name)</span>
|
|
300
|
+
|
|
301
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
302
|
+
|
|
303
|
+
</div>
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
<div class="method-description">
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
<div class="method-source-code" id="load_relationships-source">
|
|
314
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 168</span>
|
|
315
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">load_relationships</span>(<span class="ruby-identifier">dir_path</span>, <span class="ruby-identifier">base_file_name</span>)
|
|
316
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">relationship_container</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">OOXMLRelationshipsFile</span>.<span class="ruby-identifier">load_relationship_file</span>(<span class="ruby-identifier">dir_path</span>, <span class="ruby-identifier">base_file_name</span>)
|
|
317
|
+
<span class="ruby-keyword">return</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">relationship_container</span>.<span class="ruby-identifier">nil?</span>
|
|
318
|
+
|
|
319
|
+
<span class="ruby-identifier">relationship_container</span>.<span class="ruby-identifier">load_related_files</span>(<span class="ruby-identifier">dir_path</span>, <span class="ruby-identifier">base_file_name</span>).<span class="ruby-identifier">each_pair</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">rid</span>, <span class="ruby-identifier">related_file</span><span class="ruby-operator">|</span>
|
|
320
|
+
<span class="ruby-identifier">attach_relationship</span>(<span class="ruby-identifier">rid</span>, <span class="ruby-identifier">related_file</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">related_file</span>
|
|
321
|
+
}
|
|
322
|
+
<span class="ruby-keyword">end</span></pre>
|
|
323
|
+
</div>
|
|
324
|
+
|
|
325
|
+
</div>
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
</div>
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
<div id="method-i-related_objects" class="method-detail ">
|
|
334
|
+
|
|
335
|
+
<div class="method-heading">
|
|
336
|
+
<span class="method-name">related_objects</span><span
|
|
337
|
+
class="method-args">()</span>
|
|
338
|
+
|
|
339
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
340
|
+
|
|
341
|
+
</div>
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
<div class="method-description">
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
<div class="method-source-code" id="related_objects-source">
|
|
352
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 150</span>
|
|
353
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">related_objects</span> <span class="ruby-comment"># Override this method</span>
|
|
354
|
+
[]
|
|
355
|
+
<span class="ruby-keyword">end</span></pre>
|
|
356
|
+
</div>
|
|
357
|
+
|
|
358
|
+
</div>
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
</div>
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
<div id="method-i-store_relationship" class="method-detail ">
|
|
367
|
+
|
|
368
|
+
<div class="method-heading">
|
|
369
|
+
<span class="method-name">store_relationship</span><span
|
|
370
|
+
class="method-args">(related_file, unknown = false)</span>
|
|
371
|
+
|
|
372
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
373
|
+
|
|
374
|
+
</div>
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
<div class="method-description">
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
<div class="method-source-code" id="store_relationship-source">
|
|
385
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 198</span>
|
|
386
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">store_relationship</span>(<span class="ruby-identifier">related_file</span>, <span class="ruby-identifier">unknown</span> = <span class="ruby-keyword">false</span>)
|
|
387
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">generic_storage</span> <span class="ruby-operator">||=</span> []
|
|
388
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-node">"WARNING: #{self.class} is not aware what to do with #{related_file.class}"</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">unknown</span>
|
|
389
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">generic_storage</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">related_file</span>
|
|
390
|
+
<span class="ruby-keyword">end</span></pre>
|
|
391
|
+
</div>
|
|
392
|
+
|
|
393
|
+
</div>
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
</div>
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
</section>
|
|
402
|
+
|
|
89
403
|
</section>
|
|
90
404
|
</main>
|
|
91
405
|
|
|
92
406
|
|
|
93
407
|
<footer id="validator-badges" role="contentinfo">
|
|
94
408
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
|
95
|
-
<p>Generated by <a href="http://
|
|
96
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-
|
|
409
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
|
410
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
97
411
|
</footer>
|
|
98
412
|
|
|
@@ -4,22 +4,19 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>module RubyXL::RelationshipSupport::ClassMehods - rubyXL 3.3.
|
|
8
|
-
|
|
9
|
-
<link href="../../fonts.css" rel="stylesheet">
|
|
10
|
-
<link href="../../rdoc.css" rel="stylesheet">
|
|
7
|
+
<title>module RubyXL::RelationshipSupport::ClassMehods - rubyXL 3.3.2</title>
|
|
11
8
|
|
|
12
9
|
<script type="text/javascript">
|
|
13
10
|
var rdoc_rel_prefix = "../../";
|
|
14
11
|
</script>
|
|
15
12
|
|
|
16
13
|
<script src="../../js/jquery.js"></script>
|
|
17
|
-
<script src="../../js/navigation.js"></script>
|
|
18
|
-
<script src="../../js/search_index.js"></script>
|
|
19
|
-
<script src="../../js/search.js"></script>
|
|
20
|
-
<script src="../../js/searcher.js"></script>
|
|
21
14
|
<script src="../../js/darkfish.js"></script>
|
|
22
15
|
|
|
16
|
+
<link href="../../css/fonts.css" rel="stylesheet">
|
|
17
|
+
<link href="../../css/rdoc.css" rel="stylesheet">
|
|
18
|
+
|
|
19
|
+
|
|
23
20
|
|
|
24
21
|
<body id="top" role="document" class="module">
|
|
25
22
|
<nav role="navigation">
|
|
@@ -60,7 +57,17 @@
|
|
|
60
57
|
|
|
61
58
|
|
|
62
59
|
|
|
60
|
+
<!-- Method Quickref -->
|
|
61
|
+
<div id="method-list-section" class="nav-section">
|
|
62
|
+
<h3>Methods</h3>
|
|
63
|
+
|
|
64
|
+
<ul class="link-list" role="directory">
|
|
65
|
+
|
|
66
|
+
<li ><a href="#method-i-define_relationship">#define_relationship</a>
|
|
63
67
|
|
|
68
|
+
</ul>
|
|
69
|
+
</div>
|
|
70
|
+
|
|
64
71
|
</div>
|
|
65
72
|
</nav>
|
|
66
73
|
|
|
@@ -86,13 +93,55 @@
|
|
|
86
93
|
|
|
87
94
|
|
|
88
95
|
|
|
96
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
|
97
|
+
<header>
|
|
98
|
+
<h3>Public Instance Methods</h3>
|
|
99
|
+
</header>
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
<div id="method-i-define_relationship" class="method-detail ">
|
|
103
|
+
|
|
104
|
+
<div class="method-heading">
|
|
105
|
+
<span class="method-name">define_relationship</span><span
|
|
106
|
+
class="method-args">(klass, accessor = nil)</span>
|
|
107
|
+
|
|
108
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
109
|
+
|
|
110
|
+
</div>
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
<div class="method-description">
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
<div class="method-source-code" id="define_relationship-source">
|
|
121
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 137</span>
|
|
122
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">define_relationship</span>(<span class="ruby-identifier">klass</span>, <span class="ruby-identifier">accessor</span> = <span class="ruby-keyword">nil</span>)
|
|
123
|
+
<span class="ruby-identifier">class_variable_get</span>(<span class="ruby-value">:@@ooxml_relationships</span>)[<span class="ruby-identifier">klass</span>] = <span class="ruby-identifier">accessor</span>
|
|
124
|
+
<span class="ruby-identifier">attr_accessor</span>(<span class="ruby-identifier">accessor</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">accessor</span>
|
|
125
|
+
<span class="ruby-keyword">end</span></pre>
|
|
126
|
+
</div>
|
|
127
|
+
|
|
128
|
+
</div>
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
</div>
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
</section>
|
|
137
|
+
|
|
89
138
|
</section>
|
|
90
139
|
</main>
|
|
91
140
|
|
|
92
141
|
|
|
93
142
|
<footer id="validator-badges" role="contentinfo">
|
|
94
143
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
|
95
|
-
<p>Generated by <a href="http://
|
|
96
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-
|
|
144
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
|
145
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
97
146
|
</footer>
|
|
98
147
|
|