rubyXL 3.4.3 → 3.4.4
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 +59 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +92 -0
- data/README.rdoc +6 -1
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/lib/rubyXL.rb +1 -0
- data/lib/rubyXL/objects/chartsheet.rb +2 -2
- data/lib/rubyXL/objects/color.rb +2 -1
- data/lib/rubyXL/objects/connection.rb +175 -0
- data/lib/rubyXL/objects/query_table.rb +104 -0
- data/lib/rubyXL/objects/relationships.rb +7 -2
- data/lib/rubyXL/objects/simple_types.rb +13 -0
- data/lib/rubyXL/objects/workbook.rb +2 -0
- data/lib/rubyXL/objects/worksheet.rb +3 -0
- data/rdoc/README_rdoc.html +55 -95
- data/rdoc/RubyXL.html +52 -23
- data/rdoc/RubyXL/AExtension.html +8 -11
- data/rdoc/RubyXL/AExtensionStorageArea.html +3 -5
- data/rdoc/RubyXL/ActiveX.html +4 -6
- data/rdoc/RubyXL/ActiveXBinary.html +3 -5
- data/rdoc/RubyXL/AdjustHandleList.html +4 -7
- data/rdoc/RubyXL/Alignment.html +4 -7
- data/rdoc/RubyXL/AlternateContent.html +3 -5
- data/rdoc/RubyXL/Authors.html +4 -7
- data/rdoc/RubyXL/AutoFilter.html +4 -7
- data/rdoc/RubyXL/AutoFilterColumn.html +4 -7
- data/rdoc/RubyXL/BinaryImageFile.html +3 -5
- data/rdoc/RubyXL/BodyProperties.html +4 -7
- data/rdoc/RubyXL/BooleanNode.html +3 -5
- data/rdoc/RubyXL/BooleanValue.html +3 -5
- data/rdoc/RubyXL/Border.html +9 -12
- data/rdoc/RubyXL/BorderEdge.html +6 -8
- data/rdoc/RubyXL/Borders.html +6 -9
- data/rdoc/RubyXL/Break.html +4 -7
- data/rdoc/RubyXL/BreakList.html +4 -7
- data/rdoc/RubyXL/CT_AdjPoint2D.html +4 -7
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +4 -7
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +4 -7
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +4 -7
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +4 -7
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +4 -7
- data/rdoc/RubyXL/CT_Backdrop.html +4 -7
- data/rdoc/RubyXL/CT_Bevel.html +4 -7
- data/rdoc/RubyXL/CT_BiLevelEffect.html +4 -7
- data/rdoc/RubyXL/CT_BlendEffect.html +4 -7
- data/rdoc/RubyXL/CT_Blip.html +4 -7
- data/rdoc/RubyXL/CT_BlipFillProperties.html +4 -7
- data/rdoc/RubyXL/CT_BlurEffect.html +4 -7
- data/rdoc/RubyXL/CT_Camera.html +4 -7
- data/rdoc/RubyXL/CT_Color.html +4 -7
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +4 -7
- data/rdoc/RubyXL/CT_ColorMapping.html +4 -7
- data/rdoc/RubyXL/CT_ColorScheme.html +4 -7
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +4 -7
- data/rdoc/RubyXL/CT_ConnectionSite.html +4 -7
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +4 -7
- data/rdoc/RubyXL/CT_DashStop.html +4 -7
- data/rdoc/RubyXL/CT_DashStopList.html +4 -7
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +4 -7
- data/rdoc/RubyXL/CT_DuotoneEffect.html +4 -7
- data/rdoc/RubyXL/CT_EffectContainer.html +4 -7
- data/rdoc/RubyXL/CT_EffectList.html +4 -7
- data/rdoc/RubyXL/CT_EffectReference.html +4 -7
- data/rdoc/RubyXL/CT_EffectStyleItem.html +4 -7
- data/rdoc/RubyXL/CT_EffectStyleList.html +4 -7
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +4 -7
- data/rdoc/RubyXL/CT_FillEffect.html +4 -7
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +4 -7
- data/rdoc/RubyXL/CT_FillStyleList.html +4 -7
- data/rdoc/RubyXL/CT_FlatText.html +4 -7
- data/rdoc/RubyXL/CT_FontCollection.html +4 -7
- data/rdoc/RubyXL/CT_FontReference.html +4 -7
- data/rdoc/RubyXL/CT_GeomGuideList.html +4 -7
- data/rdoc/RubyXL/CT_GlowEffect.html +4 -7
- data/rdoc/RubyXL/CT_GradientFillProperties.html +4 -7
- data/rdoc/RubyXL/CT_GradientStop.html +4 -7
- data/rdoc/RubyXL/CT_GradientStopList.html +4 -7
- data/rdoc/RubyXL/CT_HSLEffect.html +4 -7
- data/rdoc/RubyXL/CT_HslColor.html +4 -7
- data/rdoc/RubyXL/CT_Hyperlink.html +4 -7
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +4 -7
- data/rdoc/RubyXL/CT_LightRig.html +4 -7
- data/rdoc/RubyXL/CT_LineEndProperties.html +4 -7
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +4 -7
- data/rdoc/RubyXL/CT_LineProperties.html +4 -7
- data/rdoc/RubyXL/CT_LineStyleList.html +4 -7
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +4 -7
- data/rdoc/RubyXL/CT_LuminanceEffect.html +4 -7
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +4 -7
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +4 -7
- data/rdoc/RubyXL/CT_Path2D.html +4 -7
- data/rdoc/RubyXL/CT_Path2DArcTo.html +4 -7
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +4 -7
- data/rdoc/RubyXL/CT_Path2DList.html +4 -7
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +4 -7
- data/rdoc/RubyXL/CT_Path2DTo.html +4 -7
- data/rdoc/RubyXL/CT_PathShadeProperties.html +4 -7
- data/rdoc/RubyXL/CT_PatternFillProperties.html +4 -7
- data/rdoc/RubyXL/CT_Point3D.html +4 -7
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +4 -7
- data/rdoc/RubyXL/CT_PresetColor.html +4 -7
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +4 -7
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +4 -7
- data/rdoc/RubyXL/CT_PresetTextShape.html +4 -7
- data/rdoc/RubyXL/CT_ReflectionEffect.html +4 -7
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +4 -7
- data/rdoc/RubyXL/CT_RelativeRect.html +4 -7
- data/rdoc/RubyXL/CT_SRgbColor.html +4 -7
- data/rdoc/RubyXL/CT_ScRgbColor.html +4 -7
- data/rdoc/RubyXL/CT_Scene3D.html +4 -7
- data/rdoc/RubyXL/CT_SchemeColor.html +4 -7
- data/rdoc/RubyXL/CT_Shape3D.html +4 -7
- data/rdoc/RubyXL/CT_ShapeStyle.html +4 -7
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +4 -7
- data/rdoc/RubyXL/CT_SphereCoords.html +4 -7
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +4 -7
- data/rdoc/RubyXL/CT_StyleMatrix.html +4 -7
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +4 -7
- data/rdoc/RubyXL/CT_SupplementalFont.html +4 -7
- data/rdoc/RubyXL/CT_SystemColor.html +4 -7
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +4 -7
- data/rdoc/RubyXL/CT_TextBlipBullet.html +4 -7
- data/rdoc/RubyXL/CT_TextCharBullet.html +4 -7
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +4 -7
- data/rdoc/RubyXL/CT_TextFont.html +4 -7
- data/rdoc/RubyXL/CT_TextListStyle.html +4 -7
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +4 -7
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +4 -7
- data/rdoc/RubyXL/CT_TextSpacing.html +4 -7
- data/rdoc/RubyXL/CT_TextTabStop.html +4 -7
- data/rdoc/RubyXL/CT_TextTabStopList.html +4 -7
- data/rdoc/RubyXL/CT_TileInfoProperties.html +4 -7
- data/rdoc/RubyXL/CT_TintEffect.html +4 -7
- data/rdoc/RubyXL/CT_Transform2D.html +4 -7
- data/rdoc/RubyXL/CT_TransformEffect.html +4 -7
- data/rdoc/RubyXL/CT_Vector3D.html +4 -7
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +4 -7
- data/rdoc/RubyXL/CalculationChain.html +5 -8
- data/rdoc/RubyXL/CalculationChainCell.html +4 -7
- data/rdoc/RubyXL/CalculationProperties.html +4 -7
- data/rdoc/RubyXL/Cell.html +19 -24
- data/rdoc/RubyXL/CellConvenienceMethods.html +43 -46
- data/rdoc/RubyXL/CellExt.html +4 -7
- data/rdoc/RubyXL/CellSmartTag.html +4 -7
- data/rdoc/RubyXL/CellSmartTagProperty.html +4 -7
- data/rdoc/RubyXL/CellSmartTags.html +4 -7
- data/rdoc/RubyXL/CellStyle.html +4 -7
- data/rdoc/RubyXL/CellStyleXFs.html +6 -9
- data/rdoc/RubyXL/CellStyles.html +6 -9
- data/rdoc/RubyXL/CellValue.html +5 -8
- data/rdoc/RubyXL/CellWatch.html +4 -7
- data/rdoc/RubyXL/CellWatches.html +4 -7
- data/rdoc/RubyXL/CellXFs.html +7 -10
- data/rdoc/RubyXL/ChartColorsFile.html +3 -5
- data/rdoc/RubyXL/ChartFile.html +4 -6
- data/rdoc/RubyXL/ChartStyleFile.html +3 -5
- data/rdoc/RubyXL/ChartUserShapesFile.html +3 -5
- data/rdoc/RubyXL/Chartsheet.html +5 -8
- data/rdoc/RubyXL/ChartsheetPageSetup.html +4 -7
- data/rdoc/RubyXL/ChartsheetProperties.html +4 -7
- data/rdoc/RubyXL/ChartsheetProtection.html +4 -7
- data/rdoc/RubyXL/ChartsheetView.html +4 -7
- data/rdoc/RubyXL/ChartsheetViews.html +4 -7
- data/rdoc/RubyXL/Color.html +6 -9
- data/rdoc/RubyXL/ColorConvenienceClasses.html +3 -5
- data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +5 -7
- data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +7 -10
- data/rdoc/RubyXL/ColorConvenienceMethods.html +4 -6
- data/rdoc/RubyXL/ColorFilter.html +4 -7
- data/rdoc/RubyXL/ColorScale.html +4 -7
- data/rdoc/RubyXL/ColorSet.html +4 -7
- data/rdoc/RubyXL/Colors.html +4 -7
- data/rdoc/RubyXL/ColumnRange.html +8 -11
- data/rdoc/RubyXL/ColumnRanges.html +8 -11
- data/rdoc/RubyXL/Comment.html +4 -7
- data/rdoc/RubyXL/CommentList.html +4 -7
- data/rdoc/RubyXL/CommentsFile.html +5 -8
- data/rdoc/RubyXL/ConditionalFormatValue.html +4 -7
- data/rdoc/RubyXL/ConditionalFormatting.html +4 -7
- data/rdoc/RubyXL/ConditionalFormattingRule.html +4 -7
- data/rdoc/RubyXL/Connection.html +103 -0
- data/rdoc/RubyXL/ConnectionTable.html +103 -0
- data/rdoc/RubyXL/ConnectionTables.html +103 -0
- data/rdoc/RubyXL/ConnectionTextField.html +103 -0
- data/rdoc/RubyXL/ConnectionTextFields.html +103 -0
- data/rdoc/RubyXL/Connections.html +173 -0
- data/rdoc/RubyXL/ContentTypeDefault.html +3 -5
- data/rdoc/RubyXL/ContentTypeOverride.html +3 -5
- data/rdoc/RubyXL/ContentTypes.html +9 -11
- data/rdoc/RubyXL/ControlPropertiesFile.html +3 -5
- data/rdoc/RubyXL/CorePropertiesFile.html +14 -16
- data/rdoc/RubyXL/CustomColor.html +4 -7
- data/rdoc/RubyXL/CustomColorList.html +4 -7
- data/rdoc/RubyXL/CustomFilter.html +4 -7
- data/rdoc/RubyXL/CustomFilters.html +4 -7
- data/rdoc/RubyXL/CustomGeometry.html +4 -7
- data/rdoc/RubyXL/CustomProperties.html +4 -7
- data/rdoc/RubyXL/CustomPropertiesFile.html +3 -5
- data/rdoc/RubyXL/CustomProperty.html +4 -7
- data/rdoc/RubyXL/CustomPropertyFile.html +3 -5
- data/rdoc/RubyXL/CustomSheetView.html +4 -7
- data/rdoc/RubyXL/CustomSheetViews.html +4 -7
- data/rdoc/RubyXL/CustomWorkbookView.html +4 -7
- data/rdoc/RubyXL/CustomWorkbookViews.html +4 -7
- data/rdoc/RubyXL/CustomXMLFile.html +3 -5
- data/rdoc/RubyXL/DXF.html +4 -7
- data/rdoc/RubyXL/DXFs.html +4 -7
- data/rdoc/RubyXL/DataBar.html +4 -7
- data/rdoc/RubyXL/DataConsolidate.html +4 -7
- data/rdoc/RubyXL/DataConsolidationReference.html +4 -7
- data/rdoc/RubyXL/DataConsolidationReferences.html +4 -7
- data/rdoc/RubyXL/DataType.html +4 -7
- data/rdoc/RubyXL/DataValidation.html +4 -7
- data/rdoc/RubyXL/DataValidations.html +4 -7
- data/rdoc/RubyXL/DateGroupItem.html +4 -7
- data/rdoc/RubyXL/DefinedName.html +4 -7
- data/rdoc/RubyXL/DefinedNameExt.html +4 -7
- data/rdoc/RubyXL/DefinedNames.html +4 -7
- data/rdoc/RubyXL/DefinedNamesExt.html +4 -7
- data/rdoc/RubyXL/DocumentPropertiesFile.html +8 -11
- data/rdoc/RubyXL/DrawingFile.html +4 -6
- data/rdoc/RubyXL/DynamicFilter.html +4 -7
- data/rdoc/RubyXL/EmbeddedControl.html +4 -7
- data/rdoc/RubyXL/EmbeddedControls.html +4 -7
- data/rdoc/RubyXL/Extension.html +4 -7
- data/rdoc/RubyXL/ExtensionStorageArea.html +4 -7
- data/rdoc/RubyXL/Extents.html +4 -7
- data/rdoc/RubyXL/ExternalBook.html +4 -7
- data/rdoc/RubyXL/ExternalLinksFile.html +4 -6
- data/rdoc/RubyXL/ExternalReference.html +4 -7
- data/rdoc/RubyXL/ExternalReferences.html +4 -7
- data/rdoc/RubyXL/ExtraColorSchemeList.html +4 -7
- data/rdoc/RubyXL/FieldItem.html +4 -7
- data/rdoc/RubyXL/FileRecoveryProperties.html +4 -7
- data/rdoc/RubyXL/FileSharing.html +4 -7
- data/rdoc/RubyXL/FileVersion.html +4 -7
- data/rdoc/RubyXL/Fill.html +6 -9
- data/rdoc/RubyXL/Fills.html +6 -9
- data/rdoc/RubyXL/FilterContainer.html +4 -7
- data/rdoc/RubyXL/FloatNode.html +3 -5
- data/rdoc/RubyXL/FloatValue.html +3 -5
- data/rdoc/RubyXL/Font.html +8 -12
- data/rdoc/RubyXL/FontConvenienceMethods.html +25 -28
- data/rdoc/RubyXL/FontScheme.html +4 -7
- data/rdoc/RubyXL/Fonts.html +6 -9
- data/rdoc/RubyXL/Formula.html +4 -7
- data/rdoc/RubyXL/FunctionGroup.html +4 -7
- data/rdoc/RubyXL/FunctionGroups.html +4 -7
- data/rdoc/RubyXL/GenericStorageObject.html +6 -8
- data/rdoc/RubyXL/GradientFill.html +4 -7
- data/rdoc/RubyXL/HeaderFooterSettings.html +4 -7
- data/rdoc/RubyXL/Hyperlink.html +4 -7
- data/rdoc/RubyXL/HyperlinkRelFile.html +3 -5
- data/rdoc/RubyXL/Hyperlinks.html +4 -7
- data/rdoc/RubyXL/IconFilter.html +4 -7
- data/rdoc/RubyXL/IconSet.html +4 -7
- data/rdoc/RubyXL/IgnoredError.html +4 -7
- data/rdoc/RubyXL/IgnoredErrors.html +4 -7
- data/rdoc/RubyXL/IndexedColors.html +4 -7
- data/rdoc/RubyXL/InputCells.html +4 -7
- data/rdoc/RubyXL/IntegerNode.html +3 -5
- data/rdoc/RubyXL/IntegerValue.html +3 -5
- data/rdoc/RubyXL/LegacyCell.html +4 -6
- data/rdoc/RubyXL/LegacyWorksheet.html +10 -12
- data/rdoc/RubyXL/MRUColors.html +4 -7
- data/rdoc/RubyXL/MacrosFile.html +3 -5
- data/rdoc/RubyXL/MergedCell.html +4 -7
- data/rdoc/RubyXL/MergedCells.html +4 -7
- data/rdoc/RubyXL/NumFmt.html +4 -7
- data/rdoc/RubyXL/NumberFormat.html +6 -9
- data/rdoc/RubyXL/NumberFormats.html +6 -10
- data/rdoc/RubyXL/OLEObject.html +4 -7
- data/rdoc/RubyXL/OLEObjectFile.html +3 -5
- data/rdoc/RubyXL/OLEObjects.html +4 -7
- data/rdoc/RubyXL/OLESize.html +4 -7
- data/rdoc/RubyXL/OOXMLContainerObject.html +13 -18
- data/rdoc/RubyXL/OOXMLIgnored.html +5 -7
- data/rdoc/RubyXL/OOXMLObject.html +4 -8
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +49 -96
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +20 -44
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +28 -27
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +19 -32
- data/rdoc/RubyXL/OdbcOleDbProperties.html +103 -0
- data/rdoc/RubyXL/Offset.html +4 -7
- data/rdoc/RubyXL/OlapProperties.html +103 -0
- data/rdoc/RubyXL/OutlineProperties.html +4 -7
- data/rdoc/RubyXL/PageMargins.html +4 -7
- data/rdoc/RubyXL/PageSetup.html +4 -7
- data/rdoc/RubyXL/PageSetupProperties.html +4 -7
- data/rdoc/RubyXL/Pane.html +4 -7
- data/rdoc/RubyXL/Parser.html +8 -11
- data/rdoc/RubyXL/PatternFill.html +4 -7
- data/rdoc/RubyXL/PhoneticProperties.html +4 -7
- data/rdoc/RubyXL/PhoneticRun.html +4 -7
- data/rdoc/RubyXL/PivotArea.html +4 -7
- data/rdoc/RubyXL/PivotCache.html +4 -7
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +3 -5
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +3 -5
- data/rdoc/RubyXL/PivotCaches.html +4 -7
- data/rdoc/RubyXL/PivotReference.html +4 -7
- data/rdoc/RubyXL/PivotReferences.html +4 -7
- data/rdoc/RubyXL/PivotTableFile.html +3 -5
- data/rdoc/RubyXL/PivotTableSelection.html +4 -7
- data/rdoc/RubyXL/PresetGeometry.html +4 -7
- data/rdoc/RubyXL/PrintOptions.html +4 -7
- data/rdoc/RubyXL/PrinterSettingsFile.html +3 -5
- data/rdoc/RubyXL/ProtectedRange.html +4 -7
- data/rdoc/RubyXL/ProtectedRanges.html +4 -7
- data/rdoc/RubyXL/Protection.html +4 -7
- data/rdoc/RubyXL/QueryParameter.html +103 -0
- data/rdoc/RubyXL/QueryParameters.html +103 -0
- data/rdoc/RubyXL/QueryTable.html +184 -0
- data/rdoc/RubyXL/QueryTableDeletedField.html +103 -0
- data/rdoc/RubyXL/QueryTableDeletedFields.html +103 -0
- data/rdoc/RubyXL/QueryTableField.html +103 -0
- data/rdoc/RubyXL/QueryTableFields.html +103 -0
- data/rdoc/RubyXL/QueryTableRefresh.html +103 -0
- data/rdoc/RubyXL/RID.html +3 -5
- data/rdoc/RubyXL/RawOOXML.html +6 -9
- data/rdoc/RubyXL/Reference.html +18 -25
- data/rdoc/RubyXL/Relationship.html +3 -5
- data/rdoc/RubyXL/RelationshipSupport.html +19 -20
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +5 -7
- data/rdoc/RubyXL/RevisionPointer.html +4 -10
- data/rdoc/RubyXL/RichText.html +5 -8
- data/rdoc/RubyXL/RichTextRun.html +5 -8
- data/rdoc/RubyXL/Row.html +13 -16
- data/rdoc/RubyXL/RowExt.html +4 -7
- data/rdoc/RubyXL/RunProperties.html +4 -7
- data/rdoc/RubyXL/Scenario.html +4 -7
- data/rdoc/RubyXL/Scenarios.html +4 -7
- data/rdoc/RubyXL/Selection.html +6 -9
- data/rdoc/RubyXL/ShapeGuide.html +4 -7
- data/rdoc/RubyXL/ShapeTextRectangle.html +4 -7
- data/rdoc/RubyXL/SharedStringsTable.html +18 -21
- data/rdoc/RubyXL/Sheet.html +4 -7
- data/rdoc/RubyXL/SheetCalculationProperties.html +4 -7
- data/rdoc/RubyXL/SheetData.html +6 -9
- data/rdoc/RubyXL/SheetDataExt.html +4 -7
- data/rdoc/RubyXL/SheetDataSet.html +4 -7
- data/rdoc/RubyXL/SheetName.html +4 -7
- data/rdoc/RubyXL/SheetNames.html +4 -7
- data/rdoc/RubyXL/Sheets.html +4 -7
- data/rdoc/RubyXL/SlicerCacheFile.html +3 -5
- data/rdoc/RubyXL/SlicerFile.html +3 -5
- data/rdoc/RubyXL/SmartTagProperties.html +4 -7
- data/rdoc/RubyXL/SmartTagType.html +4 -7
- data/rdoc/RubyXL/SmartTagTypes.html +4 -7
- data/rdoc/RubyXL/SmartTags.html +4 -7
- data/rdoc/RubyXL/SortCondition.html +4 -7
- data/rdoc/RubyXL/SortState.html +4 -7
- data/rdoc/RubyXL/Sqref.html +5 -7
- data/rdoc/RubyXL/Stop.html +4 -7
- data/rdoc/RubyXL/StringNode.html +3 -5
- data/rdoc/RubyXL/StringNodeW3C.html +6 -8
- data/rdoc/RubyXL/StringValue.html +3 -5
- data/rdoc/RubyXL/Stylesheet.html +17 -20
- data/rdoc/RubyXL/TableFile.html +3 -5
- data/rdoc/RubyXL/TableParts.html +3 -5
- data/rdoc/RubyXL/TableStyle.html +4 -7
- data/rdoc/RubyXL/TableStyles.html +4 -7
- data/rdoc/RubyXL/Text.html +7 -13
- data/rdoc/RubyXL/TextImportSettings.html +103 -0
- data/rdoc/RubyXL/Theme.html +10 -13
- data/rdoc/RubyXL/ThemeElements.html +4 -7
- data/rdoc/RubyXL/ThumbnailFile.html +3 -5
- data/rdoc/RubyXL/Top10.html +4 -7
- data/rdoc/RubyXL/VMLDrawingFile.html +4 -7
- data/rdoc/RubyXL/Variant.html +4 -7
- data/rdoc/RubyXL/Vector.html +5 -8
- data/rdoc/RubyXL/VectorValue.html +3 -5
- data/rdoc/RubyXL/VisualProperties.html +4 -7
- data/rdoc/RubyXL/WebPublishObject.html +4 -7
- data/rdoc/RubyXL/WebPublishObjects.html +4 -7
- data/rdoc/RubyXL/WebPublishingItem.html +4 -7
- data/rdoc/RubyXL/WebPublishingItems.html +4 -7
- data/rdoc/RubyXL/WebPublishingProperties.html +4 -7
- data/rdoc/RubyXL/WebQueryProperties.html +103 -0
- data/rdoc/RubyXL/Workbook.html +67 -72
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +24 -28
- data/rdoc/RubyXL/WorkbookProperties.html +4 -7
- data/rdoc/RubyXL/WorkbookProtection.html +4 -7
- data/rdoc/RubyXL/WorkbookRoot.html +8 -10
- data/rdoc/RubyXL/WorkbookView.html +4 -7
- data/rdoc/RubyXL/WorkbookViews.html +4 -7
- data/rdoc/RubyXL/Worksheet.html +16 -19
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +98 -113
- data/rdoc/RubyXL/WorksheetDimensions.html +4 -7
- data/rdoc/RubyXL/WorksheetFormatProperties.html +3 -5
- data/rdoc/RubyXL/WorksheetProperties.html +4 -7
- data/rdoc/RubyXL/WorksheetProtection.html +4 -7
- data/rdoc/RubyXL/WorksheetView.html +4 -7
- data/rdoc/RubyXL/WorksheetViews.html +4 -7
- data/rdoc/RubyXL/XF.html +4 -7
- data/rdoc/created.rid +13 -11
- data/rdoc/index.html +40 -4
- data/rdoc/js/navigation.js +3 -4
- 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 +69 -4
- data/rubyXL.gemspec +29 -4
- data/test/test_parse_write.rb +15 -15
- metadata +39 -3
|
@@ -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.4</title>
|
|
8
8
|
|
|
9
9
|
<script type="text/javascript">
|
|
10
10
|
var rdoc_rel_prefix = "../";
|
|
@@ -107,8 +107,6 @@
|
|
|
107
107
|
</section>
|
|
108
108
|
|
|
109
109
|
|
|
110
|
-
|
|
111
|
-
|
|
112
110
|
<section id="5Buntitled-5D" class="documentation-section">
|
|
113
111
|
|
|
114
112
|
|
|
@@ -198,7 +196,7 @@
|
|
|
198
196
|
|
|
199
197
|
<div class="method-source-code" id="get_class_by_rel_type-source">
|
|
200
198
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 56</span>
|
|
201
|
-
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">get_class_by_rel_type</span>(<span class="ruby-identifier">rel_type</span>)
|
|
199
|
+
<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>)
|
|
202
200
|
<span class="ruby-keyword">unless</span> <span class="ruby-keyword">defined?</span>(<span class="ruby-identifier">@@rel_hash</span>)
|
|
203
201
|
<span class="ruby-identifier">@@rel_hash</span> = {}
|
|
204
202
|
<span class="ruby-constant">RubyXL</span>.<span class="ruby-identifier">constants</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span>
|
|
@@ -241,8 +239,8 @@
|
|
|
241
239
|
|
|
242
240
|
|
|
243
241
|
<div class="method-source-code" id="load_relationship_file-source">
|
|
244
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line
|
|
245
|
-
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">load_relationship_file</span>(<span class="ruby-identifier">zipdir_path</span>, <span class="ruby-identifier">base_file_path</span>)
|
|
242
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 104</span>
|
|
243
|
+
<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>)
|
|
246
244
|
<span class="ruby-identifier">rel_file_path</span> = <span class="ruby-identifier">rel_file_path</span>(<span class="ruby-identifier">base_file_path</span>)
|
|
247
245
|
|
|
248
246
|
<span class="ruby-identifier">puts</span> <span class="ruby-node">"--> DEBUG: #{' ' * @@debug_indent}Loading .rel file: #{rel_file_path}"</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">@@debug_indent</span>
|
|
@@ -278,8 +276,8 @@
|
|
|
278
276
|
|
|
279
277
|
|
|
280
278
|
<div class="method-source-code" id="rel_file_path-source">
|
|
281
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line
|
|
282
|
-
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">rel_file_path</span>(<span class="ruby-identifier">base_file_path</span>)
|
|
279
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 130</span>
|
|
280
|
+
<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>)
|
|
283
281
|
<span class="ruby-identifier">basename</span> = <span class="ruby-identifier">base_file_path</span>.<span class="ruby-identifier">root?</span> <span class="ruby-operator">?</span> <span class="ruby-string">''</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">base_file_path</span>.<span class="ruby-identifier">basename</span>
|
|
284
282
|
<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>
|
|
285
283
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -319,14 +317,14 @@
|
|
|
319
317
|
|
|
320
318
|
<div class="method-calls-super">
|
|
321
319
|
Calls superclass method
|
|
322
|
-
<a href="OOXMLObjectInstanceMethods.html#method-i-before_write_xml">RubyXL::OOXMLObjectInstanceMethods#before_write_xml</a>
|
|
320
|
+
<a href="OOXMLObjectInstanceMethods.html#method-i-before_write_xml"><code>RubyXL::OOXMLObjectInstanceMethods#before_write_xml</code></a>
|
|
323
321
|
</div>
|
|
324
322
|
|
|
325
323
|
|
|
326
324
|
|
|
327
325
|
<div class="method-source-code" id="before_write_xml-source">
|
|
328
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line
|
|
329
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">before_write_xml</span>
|
|
326
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 116</span>
|
|
327
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">before_write_xml</span>
|
|
330
328
|
<span class="ruby-keyword">case</span> <span class="ruby-identifier">owner</span>
|
|
331
329
|
<span class="ruby-keyword">when</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">WorkbookRoot</span>, <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Workbook</span> <span class="ruby-keyword">then</span>
|
|
332
330
|
<span class="ruby-comment"># Fully implemented objects with no generic (unhandled) relationships -</span>
|
|
@@ -369,7 +367,7 @@
|
|
|
369
367
|
|
|
370
368
|
<div class="method-source-code" id="find_by_rid-source">
|
|
371
369
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 46</span>
|
|
372
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">find_by_rid</span>(<span class="ruby-identifier">r_id</span>)
|
|
370
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">find_by_rid</span>(<span class="ruby-identifier">r_id</span>)
|
|
373
371
|
<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> }
|
|
374
372
|
<span class="ruby-keyword">end</span></pre>
|
|
375
373
|
</div>
|
|
@@ -402,7 +400,7 @@
|
|
|
402
400
|
|
|
403
401
|
<div class="method-source-code" id="find_by_target-source">
|
|
404
402
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 50</span>
|
|
405
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">find_by_target</span>(<span class="ruby-identifier">target</span>)
|
|
403
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">find_by_target</span>(<span class="ruby-identifier">target</span>)
|
|
406
404
|
<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>
|
|
407
405
|
(<span class="ruby-identifier">r</span>.<span class="ruby-identifier">target</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">target</span>) <span class="ruby-operator">||</span> (<span class="ruby-identifier">r</span>.<span class="ruby-identifier">target</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">target</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>))
|
|
408
406
|
}
|
|
@@ -437,7 +435,7 @@
|
|
|
437
435
|
|
|
438
436
|
<div class="method-source-code" id="load_related_files-source">
|
|
439
437
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 71</span>
|
|
440
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">load_related_files</span>(<span class="ruby-identifier">zipdir_path</span>, <span class="ruby-identifier">base_file_name</span>)
|
|
438
|
+
<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>)
|
|
441
439
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">related_files</span> = {}
|
|
442
440
|
|
|
443
441
|
<span class="ruby-identifier">@@debug_indent</span> <span class="ruby-operator">+=</span> <span class="ruby-value">2</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">@@debug_indent</span>
|
|
@@ -451,7 +449,10 @@
|
|
|
451
449
|
<span class="ruby-identifier">klass</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">OOXMLRelationshipsFile</span>.<span class="ruby-identifier">get_class_by_rel_type</span>(<span class="ruby-identifier">rel</span>.<span class="ruby-identifier">type</span>)
|
|
452
450
|
|
|
453
451
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">klass</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-keyword">then</span>
|
|
454
|
-
<span class="ruby-
|
|
452
|
+
<span class="ruby-keyword">if</span> <span class="ruby-operator">!</span><span class="ruby-constant">RubyXL</span>.<span class="ruby-identifier">class_variable_get</span>(<span class="ruby-value">:@@suppress_warnings</span>) <span class="ruby-keyword">then</span>
|
|
453
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-node">"*** WARNING: storage class not found for #{rel.target} (#{rel.type})"</span>
|
|
454
|
+
<span class="ruby-keyword">end</span>
|
|
455
|
+
|
|
455
456
|
<span class="ruby-identifier">klass</span> = <span class="ruby-constant">GenericStorageObject</span>
|
|
456
457
|
<span class="ruby-keyword">end</span>
|
|
457
458
|
|
|
@@ -495,8 +496,8 @@
|
|
|
495
496
|
|
|
496
497
|
|
|
497
498
|
<div class="method-source-code" id="xlsx_path-source">
|
|
498
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line
|
|
499
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">xlsx_path</span>
|
|
499
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 112</span>
|
|
500
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">xlsx_path</span>
|
|
500
501
|
<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>)
|
|
501
502
|
<span class="ruby-keyword">end</span></pre>
|
|
502
503
|
</div>
|
|
@@ -537,12 +538,12 @@
|
|
|
537
538
|
|
|
538
539
|
<div class="method-source-code" id="add_relationship-source">
|
|
539
540
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 37</span>
|
|
540
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">add_relationship</span>(<span class="ruby-identifier">obj</span>)
|
|
541
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">add_relationship</span>(<span class="ruby-identifier">obj</span>)
|
|
541
542
|
<span class="ruby-keyword">return</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">obj</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">||</span> <span class="ruby-operator">!</span><span class="ruby-keyword">defined?</span>(<span class="ruby-identifier">obj</span>.<span class="ruby-identifier">class</span><span class="ruby-operator">::</span><span class="ruby-constant">REL_TYPE</span>) <span class="ruby-operator">||</span> (<span class="ruby-identifier">obj</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-value">:empty?</span>) <span class="ruby-operator">&&</span> <span class="ruby-identifier">obj</span>.<span class="ruby-identifier">empty?</span>)
|
|
542
543
|
|
|
543
|
-
<span class="ruby-identifier">relationships</span> <span class="ruby-operator"><<</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Relationship</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:id</span>
|
|
544
|
-
<span class="ruby-value">:type</span>
|
|
545
|
-
<span class="ruby-value">:target</span>
|
|
544
|
+
<span class="ruby-identifier">relationships</span> <span class="ruby-operator"><<</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Relationship</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:id</span> <span class="ruby-operator">=></span> <span class="ruby-node">"rId#{relationships.size + 1}"</span>,
|
|
545
|
+
<span class="ruby-value">:type</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">obj</span>.<span class="ruby-identifier">class</span><span class="ruby-operator">::</span><span class="ruby-constant">REL_TYPE</span>,
|
|
546
|
+
<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>))
|
|
546
547
|
<span class="ruby-keyword">end</span></pre>
|
|
547
548
|
</div>
|
|
548
549
|
|
|
@@ -574,10 +575,10 @@
|
|
|
574
575
|
|
|
575
576
|
<div class="method-source-code" id="new_relationship-source">
|
|
576
577
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/relationships.rb, line 30</span>
|
|
577
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">new_relationship</span>(<span class="ruby-identifier">target</span>, <span class="ruby-identifier">type</span>)
|
|
578
|
-
<span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Relationship</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:id</span>
|
|
579
|
-
<span class="ruby-value">:type</span>
|
|
580
|
-
<span class="ruby-value">:target</span>
|
|
578
|
+
<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>)
|
|
579
|
+
<span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Relationship</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:id</span> <span class="ruby-operator">=></span> <span class="ruby-node">"rId#{relationships.size + 1}"</span>,
|
|
580
|
+
<span class="ruby-value">:type</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">type</span>,
|
|
581
|
+
<span class="ruby-value">:target</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">target</span>)
|
|
581
582
|
<span class="ruby-keyword">end</span></pre>
|
|
582
583
|
</div>
|
|
583
584
|
|
|
@@ -596,8 +597,8 @@
|
|
|
596
597
|
|
|
597
598
|
|
|
598
599
|
<footer id="validator-badges" role="contentinfo">
|
|
599
|
-
<p><a href="
|
|
600
|
-
<p>Generated by <a href="https://
|
|
600
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
601
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.1.
|
|
601
602
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
602
603
|
</footer>
|
|
603
604
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>class RubyXL::OOXMLTopLevelObject - rubyXL 3.4.
|
|
7
|
+
<title>class RubyXL::OOXMLTopLevelObject - rubyXL 3.4.4</title>
|
|
8
8
|
|
|
9
9
|
<script type="text/javascript">
|
|
10
10
|
var rdoc_rel_prefix = "../";
|
|
@@ -94,15 +94,11 @@
|
|
|
94
94
|
|
|
95
95
|
<section class="description">
|
|
96
96
|
|
|
97
|
-
<p><a href="Extension.html">Extension</a> class providing functionality for
|
|
98
|
-
top-level OOXML objects that are represented by their own <code>.xml</code>
|
|
99
|
-
files in <code>.xslx</code> zip container.</p>
|
|
97
|
+
<p><a href="Extension.html"><code>Extension</code></a> class providing functionality for top-level OOXML objects that are represented by their own <code>.xml</code> files in <code>.xslx</code> zip container.</p>
|
|
100
98
|
|
|
101
99
|
</section>
|
|
102
100
|
|
|
103
101
|
|
|
104
|
-
|
|
105
|
-
|
|
106
102
|
<section id="5Buntitled-5D" class="documentation-section">
|
|
107
103
|
|
|
108
104
|
|
|
@@ -172,16 +168,13 @@ files in <code>.xslx</code> zip container.</p>
|
|
|
172
168
|
|
|
173
169
|
<div class="method-description">
|
|
174
170
|
|
|
175
|
-
<p>Generates the top-level OOXML object by parsing its XML file from the
|
|
176
|
-
contents of the <code>.xslx</code> container.</p>
|
|
171
|
+
<p>Generates the top-level OOXML object by parsing its XML file from the contents of the <code>.xslx</code> container.</p>
|
|
177
172
|
|
|
178
173
|
<h3 id="method-c-parse_file-label-Parameters">Parameters<span><a href="#method-c-parse_file-label-Parameters">¶</a> <a href="#top">↑</a></span></h3>
|
|
179
174
|
<ul><li>
|
|
180
|
-
<p><code>zip_file</code> - <code>.xslx</code> file as <code>Zip::File</code>
|
|
181
|
-
object</p>
|
|
175
|
+
<p><code>zip_file</code> - <code>.xslx</code> file as <code>Zip::File</code> object</p>
|
|
182
176
|
</li><li>
|
|
183
|
-
<p><code>file_path</code> - path to the subject file inside the
|
|
184
|
-
<code>.xslx</code> zip archive</p>
|
|
177
|
+
<p><code>file_path</code> - path to the subject file inside the <code>.xslx</code> zip archive</p>
|
|
185
178
|
</li></ul>
|
|
186
179
|
|
|
187
180
|
|
|
@@ -189,7 +182,7 @@ object</p>
|
|
|
189
182
|
|
|
190
183
|
<div class="method-source-code" id="parse_file-source">
|
|
191
184
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 437</span>
|
|
192
|
-
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">parse_file</span>(<span class="ruby-identifier">zip_file</span>, <span class="ruby-identifier">file_path</span>)
|
|
185
|
+
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">parse_file</span>(<span class="ruby-identifier">zip_file</span>, <span class="ruby-identifier">file_path</span>)
|
|
193
186
|
<span class="ruby-identifier">entry</span> = <span class="ruby-identifier">zip_file</span>.<span class="ruby-identifier">find_entry</span>(<span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-identifier">from_root</span>(<span class="ruby-identifier">file_path</span>))
|
|
194
187
|
<span class="ruby-comment"># Accomodate for Nokogiri Java implementation which is incapable of reading from a stream</span>
|
|
195
188
|
<span class="ruby-identifier">entry</span> <span class="ruby-operator">&&</span> (<span class="ruby-identifier">entry</span>.<span class="ruby-identifier">get_input_stream</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">parse</span>(<span class="ruby-keyword">defined?</span>(<span class="ruby-constant">JRUBY_VERSION</span>) <span class="ruby-operator">?</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">read</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">f</span>) })
|
|
@@ -217,19 +210,17 @@ object</p>
|
|
|
217
210
|
|
|
218
211
|
<div class="method-description">
|
|
219
212
|
|
|
220
|
-
<p>Sets the list of namespaces on this object to be added when writing out
|
|
221
|
-
XML. Valid only on top-level objects.</p>
|
|
213
|
+
<p>Sets the list of namespaces on this object to be added when writing out XML. Valid only on top-level objects.</p>
|
|
222
214
|
|
|
223
215
|
<h3 id="method-c-set_namespaces-label-Parameters">Parameters<span><a href="#method-c-set_namespaces-label-Parameters">¶</a> <a href="#top">↑</a></span></h3>
|
|
224
216
|
<ul><li>
|
|
225
|
-
<p><code>namespace_hash</code> - Hash of namespaces in the form of
|
|
226
|
-
<code>"url" => "prefix"</code></p>
|
|
217
|
+
<p><code>namespace_hash</code> - Hash of namespaces in the form of <code>"url" => "prefix"</code></p>
|
|
227
218
|
</li></ul>
|
|
228
219
|
|
|
229
220
|
<h4 id="method-c-set_namespaces-label-Examples">Examples<span><a href="#method-c-set_namespaces-label-Examples">¶</a> <a href="#top">↑</a></span></h4>
|
|
230
221
|
|
|
231
|
-
<pre class="ruby"><span class="ruby-identifier">set_namespaces</span>(<span class="ruby-string">'http://schemas.openxmlformats.org/spreadsheetml/2006/main'</span>
|
|
232
|
-
<span class="ruby-string">'http://schemas.openxmlformats.org/officeDocument/2006/relationships'</span>
|
|
222
|
+
<pre class="ruby"><span class="ruby-identifier">set_namespaces</span>(<span class="ruby-string">'http://schemas.openxmlformats.org/spreadsheetml/2006/main'</span> <span class="ruby-operator">=></span> <span class="ruby-keyword">nil</span>,
|
|
223
|
+
<span class="ruby-string">'http://schemas.openxmlformats.org/officeDocument/2006/relationships'</span> <span class="ruby-operator">=></span> <span class="ruby-string">'r'</span>)
|
|
233
224
|
</pre>
|
|
234
225
|
|
|
235
226
|
|
|
@@ -237,7 +228,7 @@ XML. Valid only on top-level objects.</p>
|
|
|
237
228
|
|
|
238
229
|
<div class="method-source-code" id="set_namespaces-source">
|
|
239
230
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 429</span>
|
|
240
|
-
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">set_namespaces</span>(<span class="ruby-identifier">namespace_hash</span>)
|
|
231
|
+
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">set_namespaces</span>(<span class="ruby-identifier">namespace_hash</span>)
|
|
241
232
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">class_variable_set</span>(<span class="ruby-value">:@@ooxml_namespaces</span>, <span class="ruby-identifier">namespace_hash</span>)
|
|
242
233
|
<span class="ruby-keyword">end</span></pre>
|
|
243
234
|
</div>
|
|
@@ -271,13 +262,11 @@ XML. Valid only on top-level objects.</p>
|
|
|
271
262
|
|
|
272
263
|
<div class="method-description">
|
|
273
264
|
|
|
274
|
-
<p>Saves the contents of the object as XML to respective location in
|
|
275
|
-
<code>.xslx</code> zip container.</p>
|
|
265
|
+
<p>Saves the contents of the object as XML to respective location in <code>.xslx</code> zip container.</p>
|
|
276
266
|
|
|
277
267
|
<h3 id="method-i-add_to_zip-label-Parameters">Parameters<span><a href="#method-i-add_to_zip-label-Parameters">¶</a> <a href="#top">↑</a></span></h3>
|
|
278
268
|
<ul><li>
|
|
279
|
-
<p><code>zipfile</code> - ::Zip::File to which the resulting XNMML should be
|
|
280
|
-
added.</p>
|
|
269
|
+
<p><code>zipfile</code> - ::Zip::File to which the resulting XNMML should be added.</p>
|
|
281
270
|
</li></ul>
|
|
282
271
|
|
|
283
272
|
|
|
@@ -285,7 +274,7 @@ added.</p>
|
|
|
285
274
|
|
|
286
275
|
<div class="method-source-code" id="add_to_zip-source">
|
|
287
276
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 446</span>
|
|
288
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">add_to_zip</span>(<span class="ruby-identifier">zip_stream</span>)
|
|
277
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">add_to_zip</span>(<span class="ruby-identifier">zip_stream</span>)
|
|
289
278
|
<span class="ruby-identifier">xml_string</span> = <span class="ruby-identifier">write_xml</span>
|
|
290
279
|
<span class="ruby-keyword">return</span> <span class="ruby-keyword">false</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">xml_string</span>.<span class="ruby-identifier">empty?</span>
|
|
291
280
|
<span class="ruby-identifier">zip_stream</span>.<span class="ruby-identifier">put_next_entry</span>(<span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-identifier">from_root</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">xlsx_path</span>))
|
|
@@ -322,7 +311,7 @@ added.</p>
|
|
|
322
311
|
|
|
323
312
|
<div class="method-source-code" id="file_index-source">
|
|
324
313
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 454</span>
|
|
325
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">file_index</span>
|
|
314
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">file_index</span>
|
|
326
315
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">rels_hash</span>[<span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>].<span class="ruby-identifier">index</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">equal?</span>(<span class="ruby-keyword">self</span>) }.<span class="ruby-identifier">to_i</span> <span class="ruby-operator">+</span> <span class="ruby-value">1</span>
|
|
327
316
|
<span class="ruby-keyword">end</span></pre>
|
|
328
317
|
</div>
|
|
@@ -348,16 +337,14 @@ added.</p>
|
|
|
348
337
|
|
|
349
338
|
<div class="method-description">
|
|
350
339
|
|
|
351
|
-
<p>Prototype method. For top-level OOXML object, returns the path at which the
|
|
352
|
-
current object's XML file is located within the <code>.xlsx</code> zip
|
|
353
|
-
container.</p>
|
|
340
|
+
<p>Prototype method. For top-level OOXML object, returns the path at which the current object's XML file is located within the <code>.xlsx</code> zip container.</p>
|
|
354
341
|
|
|
355
342
|
|
|
356
343
|
|
|
357
344
|
|
|
358
345
|
<div class="method-source-code" id="xlsx_path-source">
|
|
359
346
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 419</span>
|
|
360
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">xlsx_path</span>
|
|
347
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">xlsx_path</span>
|
|
361
348
|
<span class="ruby-identifier">raise</span> <span class="ruby-string">'Subclass responsebility'</span>
|
|
362
349
|
<span class="ruby-keyword">end</span></pre>
|
|
363
350
|
</div>
|
|
@@ -377,8 +364,8 @@ container.</p>
|
|
|
377
364
|
|
|
378
365
|
|
|
379
366
|
<footer id="validator-badges" role="contentinfo">
|
|
380
|
-
<p><a href="
|
|
381
|
-
<p>Generated by <a href="https://
|
|
367
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
368
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.1.
|
|
382
369
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
383
370
|
</footer>
|
|
384
371
|
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
|
|
3
|
+
<html>
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
|
|
7
|
+
<title>class RubyXL::OdbcOleDbProperties - rubyXL 3.4.4</title>
|
|
8
|
+
|
|
9
|
+
<script type="text/javascript">
|
|
10
|
+
var rdoc_rel_prefix = "../";
|
|
11
|
+
var index_rel_prefix = "../";
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<script src="../js/jquery.js"></script>
|
|
15
|
+
<script src="../js/darkfish.js"></script>
|
|
16
|
+
|
|
17
|
+
<link href="../css/fonts.css" rel="stylesheet">
|
|
18
|
+
<link href="../css/rdoc.css" rel="stylesheet">
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
<body id="top" role="document" class="class">
|
|
23
|
+
<nav role="navigation">
|
|
24
|
+
<div id="project-navigation">
|
|
25
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
|
26
|
+
<h2>
|
|
27
|
+
<a href="../index.html" rel="home">Home</a>
|
|
28
|
+
</h2>
|
|
29
|
+
|
|
30
|
+
<div id="table-of-contents-navigation">
|
|
31
|
+
<a href="../table_of_contents.html#pages">Pages</a>
|
|
32
|
+
<a href="../table_of_contents.html#classes">Classes</a>
|
|
33
|
+
<a href="../table_of_contents.html#methods">Methods</a>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
|
|
37
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
|
38
|
+
<form action="#" method="get" accept-charset="utf-8">
|
|
39
|
+
<div id="search-field-wrapper">
|
|
40
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
|
41
|
+
aria-autocomplete="list" aria-controls="search-results"
|
|
42
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
|
43
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
<ul id="search-results" aria-label="Search Results"
|
|
47
|
+
aria-busy="false" aria-expanded="false"
|
|
48
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
|
49
|
+
</form>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
</div>
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
<div id="class-metadata">
|
|
57
|
+
|
|
58
|
+
<div id="parent-class-section" class="nav-section">
|
|
59
|
+
<h3>Parent</h3>
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
<p class="link">OOXMLObject
|
|
63
|
+
|
|
64
|
+
</div>
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
</div>
|
|
70
|
+
</nav>
|
|
71
|
+
|
|
72
|
+
<main role="main" aria-labelledby="class-RubyXL::OdbcOleDbProperties">
|
|
73
|
+
<h1 id="class-RubyXL::OdbcOleDbProperties" class="class">
|
|
74
|
+
class RubyXL::OdbcOleDbProperties
|
|
75
|
+
</h1>
|
|
76
|
+
|
|
77
|
+
<section class="description">
|
|
78
|
+
|
|
79
|
+
<p><a href="http://www.datypic.com/sc/ooxml/e-ssml_dbPr-1.html">www.datypic.com/sc/ooxml/e-ssml_dbPr-1.html</a></p>
|
|
80
|
+
|
|
81
|
+
</section>
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
</section>
|
|
95
|
+
</main>
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
<footer id="validator-badges" role="contentinfo">
|
|
99
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
100
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.1.
|
|
101
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
102
|
+
</footer>
|
|
103
|
+
|
data/rdoc/RubyXL/Offset.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>class RubyXL::Offset - rubyXL 3.4.
|
|
7
|
+
<title>class RubyXL::Offset - rubyXL 3.4.4</title>
|
|
8
8
|
|
|
9
9
|
<script type="text/javascript">
|
|
10
10
|
var rdoc_rel_prefix = "../";
|
|
@@ -76,14 +76,11 @@
|
|
|
76
76
|
|
|
77
77
|
<section class="description">
|
|
78
78
|
|
|
79
|
-
<p><a
|
|
80
|
-
href="http://www.datypic.com/sc/ooxml/e-a_off-1.html">www.datypic.com/sc/ooxml/e-a_off-1.html</a></p>
|
|
79
|
+
<p><a href="http://www.datypic.com/sc/ooxml/e-a_off-1.html">www.datypic.com/sc/ooxml/e-a_off-1.html</a></p>
|
|
81
80
|
|
|
82
81
|
</section>
|
|
83
82
|
|
|
84
83
|
|
|
85
|
-
|
|
86
|
-
|
|
87
84
|
<section id="5Buntitled-5D" class="documentation-section">
|
|
88
85
|
|
|
89
86
|
|
|
@@ -99,8 +96,8 @@ href="http://www.datypic.com/sc/ooxml/e-a_off-1.html">www.datypic.com/sc/ooxml/e
|
|
|
99
96
|
|
|
100
97
|
|
|
101
98
|
<footer id="validator-badges" role="contentinfo">
|
|
102
|
-
<p><a href="
|
|
103
|
-
<p>Generated by <a href="https://
|
|
99
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
100
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.1.
|
|
104
101
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
105
102
|
</footer>
|
|
106
103
|
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
|
|
3
|
+
<html>
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
|
|
7
|
+
<title>class RubyXL::OlapProperties - rubyXL 3.4.4</title>
|
|
8
|
+
|
|
9
|
+
<script type="text/javascript">
|
|
10
|
+
var rdoc_rel_prefix = "../";
|
|
11
|
+
var index_rel_prefix = "../";
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<script src="../js/jquery.js"></script>
|
|
15
|
+
<script src="../js/darkfish.js"></script>
|
|
16
|
+
|
|
17
|
+
<link href="../css/fonts.css" rel="stylesheet">
|
|
18
|
+
<link href="../css/rdoc.css" rel="stylesheet">
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
<body id="top" role="document" class="class">
|
|
23
|
+
<nav role="navigation">
|
|
24
|
+
<div id="project-navigation">
|
|
25
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
|
26
|
+
<h2>
|
|
27
|
+
<a href="../index.html" rel="home">Home</a>
|
|
28
|
+
</h2>
|
|
29
|
+
|
|
30
|
+
<div id="table-of-contents-navigation">
|
|
31
|
+
<a href="../table_of_contents.html#pages">Pages</a>
|
|
32
|
+
<a href="../table_of_contents.html#classes">Classes</a>
|
|
33
|
+
<a href="../table_of_contents.html#methods">Methods</a>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
|
|
37
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
|
38
|
+
<form action="#" method="get" accept-charset="utf-8">
|
|
39
|
+
<div id="search-field-wrapper">
|
|
40
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
|
41
|
+
aria-autocomplete="list" aria-controls="search-results"
|
|
42
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
|
43
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
<ul id="search-results" aria-label="Search Results"
|
|
47
|
+
aria-busy="false" aria-expanded="false"
|
|
48
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
|
49
|
+
</form>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
</div>
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
<div id="class-metadata">
|
|
57
|
+
|
|
58
|
+
<div id="parent-class-section" class="nav-section">
|
|
59
|
+
<h3>Parent</h3>
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
<p class="link">OOXMLObject
|
|
63
|
+
|
|
64
|
+
</div>
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
</div>
|
|
70
|
+
</nav>
|
|
71
|
+
|
|
72
|
+
<main role="main" aria-labelledby="class-RubyXL::OlapProperties">
|
|
73
|
+
<h1 id="class-RubyXL::OlapProperties" class="class">
|
|
74
|
+
class RubyXL::OlapProperties
|
|
75
|
+
</h1>
|
|
76
|
+
|
|
77
|
+
<section class="description">
|
|
78
|
+
|
|
79
|
+
<p><a href="http://www.datypic.com/sc/ooxml/e-ssml_olapPr-1.html">www.datypic.com/sc/ooxml/e-ssml_olapPr-1.html</a></p>
|
|
80
|
+
|
|
81
|
+
</section>
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
</section>
|
|
95
|
+
</main>
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
<footer id="validator-badges" role="contentinfo">
|
|
99
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
100
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.1.
|
|
101
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
102
|
+
</footer>
|
|
103
|
+
|