rubyXL 3.4.25 → 3.4.33
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 +1 -1
- data/.rubocop.yml +124 -0
- data/CHANGELOG.md +12 -0
- data/Gemfile +2 -0
- data/README.rdoc +6 -4
- data/VERSION +1 -1
- data/lib/rubyXL/convenience_methods/cell.rb +1 -1
- data/lib/rubyXL/convenience_methods/color.rb +6 -6
- data/lib/rubyXL/convenience_methods/workbook.rb +1 -5
- data/lib/rubyXL/convenience_methods/worksheet.rb +26 -6
- data/lib/rubyXL/objects/color.rb +1 -1
- data/lib/rubyXL/objects/column_range.rb +16 -12
- data/lib/rubyXL/objects/document_properties.rb +1 -0
- data/lib/rubyXL/objects/external_links.rb +8 -0
- data/lib/rubyXL/objects/ooxml_object.rb +16 -14
- data/lib/rubyXL/objects/query_table.rb +4 -2
- data/lib/rubyXL/objects/reference.rb +21 -10
- data/lib/rubyXL/objects/relationships.rb +1 -1
- data/lib/rubyXL/objects/shared_strings.rb +1 -1
- data/lib/rubyXL/objects/sheet_data.rb +6 -6
- data/lib/rubyXL/objects/storage.rb +6 -1
- data/lib/rubyXL/objects/stylesheet.rb +2 -3
- data/lib/rubyXL/objects/text.rb +3 -3
- data/lib/rubyXL/objects/theme.rb +15 -17
- data/lib/rubyXL/objects/workbook.rb +10 -9
- data/lib/rubyXL/objects/worksheet.rb +2 -2
- data/lib/rubyXL/worksheet.rb +11 -3
- data/rdoc/README_rdoc.html +101 -49
- data/rdoc/RubyXL/AExtension.html +17 -13
- data/rdoc/RubyXL/AExtensionStorageArea.html +3 -3
- data/rdoc/RubyXL/ActiveX.html +10 -8
- data/rdoc/RubyXL/ActiveXBinary.html +3 -3
- data/rdoc/RubyXL/AdjustHandleList.html +3 -3
- data/rdoc/RubyXL/Alignment.html +3 -3
- data/rdoc/RubyXL/AlternateContent.html +3 -3
- data/rdoc/RubyXL/AlternateUrls.html +99 -0
- data/rdoc/RubyXL/Authors.html +3 -3
- data/rdoc/RubyXL/AutoFilter.html +3 -3
- data/rdoc/RubyXL/AutoFilterColumn.html +3 -3
- data/rdoc/RubyXL/BinaryImageFile.html +3 -3
- data/rdoc/RubyXL/BodyProperties.html +3 -3
- data/rdoc/RubyXL/BooleanNode.html +3 -3
- data/rdoc/RubyXL/BooleanValue.html +3 -3
- data/rdoc/RubyXL/Border.html +27 -19
- data/rdoc/RubyXL/BorderEdge.html +15 -11
- data/rdoc/RubyXL/Borders.html +9 -7
- data/rdoc/RubyXL/Break.html +3 -3
- data/rdoc/RubyXL/BreakList.html +3 -3
- data/rdoc/RubyXL/CT_AdjPoint2D.html +3 -3
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +3 -3
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +3 -3
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +3 -3
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +3 -3
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +3 -3
- data/rdoc/RubyXL/CT_Backdrop.html +3 -3
- data/rdoc/RubyXL/CT_Bevel.html +3 -3
- data/rdoc/RubyXL/CT_BiLevelEffect.html +3 -3
- data/rdoc/RubyXL/CT_BlendEffect.html +3 -3
- data/rdoc/RubyXL/CT_Blip.html +3 -3
- data/rdoc/RubyXL/CT_BlipFillProperties.html +3 -3
- data/rdoc/RubyXL/CT_BlurEffect.html +3 -3
- data/rdoc/RubyXL/CT_Camera.html +3 -3
- data/rdoc/RubyXL/CT_Color.html +3 -3
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +3 -3
- data/rdoc/RubyXL/CT_ColorMapping.html +3 -3
- data/rdoc/RubyXL/CT_ColorScheme.html +3 -3
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +3 -3
- data/rdoc/RubyXL/CT_ConnectionSite.html +3 -3
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +3 -3
- data/rdoc/RubyXL/CT_DashStop.html +3 -3
- data/rdoc/RubyXL/CT_DashStopList.html +3 -3
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +3 -3
- data/rdoc/RubyXL/CT_DuotoneEffect.html +3 -3
- data/rdoc/RubyXL/CT_EffectContainer.html +3 -3
- data/rdoc/RubyXL/CT_EffectList.html +3 -3
- data/rdoc/RubyXL/CT_EffectReference.html +3 -3
- data/rdoc/RubyXL/CT_EffectStyleItem.html +3 -3
- data/rdoc/RubyXL/CT_EffectStyleList.html +3 -3
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +3 -3
- data/rdoc/RubyXL/CT_FillEffect.html +3 -3
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +3 -3
- data/rdoc/RubyXL/CT_FillStyleList.html +3 -3
- data/rdoc/RubyXL/CT_FlatText.html +3 -3
- data/rdoc/RubyXL/CT_FontCollection.html +3 -3
- data/rdoc/RubyXL/CT_FontReference.html +3 -3
- data/rdoc/RubyXL/CT_GeomGuideList.html +3 -3
- data/rdoc/RubyXL/CT_GlowEffect.html +3 -3
- data/rdoc/RubyXL/CT_GradientFillProperties.html +3 -3
- data/rdoc/RubyXL/CT_GradientStop.html +3 -3
- data/rdoc/RubyXL/CT_GradientStopList.html +3 -3
- data/rdoc/RubyXL/CT_HSLEffect.html +3 -3
- data/rdoc/RubyXL/CT_HslColor.html +3 -3
- data/rdoc/RubyXL/CT_Hyperlink.html +3 -3
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +3 -3
- data/rdoc/RubyXL/CT_LightRig.html +3 -3
- data/rdoc/RubyXL/CT_LineEndProperties.html +3 -3
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +3 -3
- data/rdoc/RubyXL/CT_LineProperties.html +3 -3
- data/rdoc/RubyXL/CT_LineStyleList.html +3 -3
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +3 -3
- data/rdoc/RubyXL/CT_LuminanceEffect.html +3 -3
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +3 -3
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +3 -3
- data/rdoc/RubyXL/CT_Path2D.html +3 -3
- data/rdoc/RubyXL/CT_Path2DArcTo.html +3 -3
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +3 -3
- data/rdoc/RubyXL/CT_Path2DList.html +3 -3
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +3 -3
- data/rdoc/RubyXL/CT_Path2DTo.html +3 -3
- data/rdoc/RubyXL/CT_PathShadeProperties.html +3 -3
- data/rdoc/RubyXL/CT_PatternFillProperties.html +3 -3
- data/rdoc/RubyXL/CT_Point3D.html +3 -3
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +3 -3
- data/rdoc/RubyXL/CT_PresetColor.html +3 -3
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +3 -3
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +3 -3
- data/rdoc/RubyXL/CT_PresetTextShape.html +3 -3
- data/rdoc/RubyXL/CT_ReflectionEffect.html +3 -3
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +3 -3
- data/rdoc/RubyXL/CT_RelativeRect.html +3 -3
- data/rdoc/RubyXL/CT_SRgbColor.html +3 -3
- data/rdoc/RubyXL/CT_ScRgbColor.html +3 -3
- data/rdoc/RubyXL/CT_Scene3D.html +3 -3
- data/rdoc/RubyXL/CT_SchemeColor.html +3 -3
- data/rdoc/RubyXL/CT_Shape3D.html +3 -3
- data/rdoc/RubyXL/CT_ShapeStyle.html +3 -3
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +3 -3
- data/rdoc/RubyXL/CT_SphereCoords.html +3 -3
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +3 -3
- data/rdoc/RubyXL/CT_StyleMatrix.html +3 -3
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +3 -3
- data/rdoc/RubyXL/CT_SupplementalFont.html +3 -3
- data/rdoc/RubyXL/CT_SystemColor.html +3 -3
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +3 -3
- data/rdoc/RubyXL/CT_TextBlipBullet.html +3 -3
- data/rdoc/RubyXL/CT_TextCharBullet.html +3 -3
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +3 -3
- data/rdoc/RubyXL/CT_TextFont.html +3 -3
- data/rdoc/RubyXL/CT_TextListStyle.html +3 -3
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +3 -3
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +3 -3
- data/rdoc/RubyXL/CT_TextSpacing.html +3 -3
- data/rdoc/RubyXL/CT_TextTabStop.html +3 -3
- data/rdoc/RubyXL/CT_TextTabStopList.html +3 -3
- data/rdoc/RubyXL/CT_TileInfoProperties.html +3 -3
- data/rdoc/RubyXL/CT_TintEffect.html +3 -3
- data/rdoc/RubyXL/CT_Transform2D.html +3 -3
- data/rdoc/RubyXL/CT_TransformEffect.html +3 -3
- data/rdoc/RubyXL/CT_Vector3D.html +3 -3
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +3 -3
- data/rdoc/RubyXL/CalculationChain.html +9 -7
- data/rdoc/RubyXL/CalculationChainCell.html +3 -3
- data/rdoc/RubyXL/CalculationProperties.html +3 -3
- data/rdoc/RubyXL/Cell.html +93 -65
- data/rdoc/RubyXL/CellConvenienceMethods.html +220 -148
- data/rdoc/RubyXL/CellExt.html +3 -3
- data/rdoc/RubyXL/CellSmartTag.html +3 -3
- data/rdoc/RubyXL/CellSmartTagProperty.html +3 -3
- data/rdoc/RubyXL/CellSmartTags.html +3 -3
- data/rdoc/RubyXL/CellStyle.html +3 -3
- data/rdoc/RubyXL/CellStyleXFs.html +9 -7
- data/rdoc/RubyXL/CellStyles.html +10 -8
- data/rdoc/RubyXL/CellValue.html +9 -7
- data/rdoc/RubyXL/CellWatch.html +3 -3
- data/rdoc/RubyXL/CellWatches.html +3 -3
- data/rdoc/RubyXL/CellXFs.html +11 -10
- data/rdoc/RubyXL/ChartColorsFile.html +3 -3
- data/rdoc/RubyXL/ChartFile.html +9 -7
- data/rdoc/RubyXL/ChartStyleFile.html +3 -3
- data/rdoc/RubyXL/ChartUserShapesFile.html +3 -3
- data/rdoc/RubyXL/Chartsheet.html +9 -7
- data/rdoc/RubyXL/ChartsheetPageSetup.html +3 -3
- data/rdoc/RubyXL/ChartsheetProperties.html +3 -3
- data/rdoc/RubyXL/ChartsheetProtection.html +3 -3
- data/rdoc/RubyXL/ChartsheetView.html +3 -3
- data/rdoc/RubyXL/ChartsheetViews.html +3 -3
- data/rdoc/RubyXL/Color.html +9 -7
- data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +17 -13
- data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +23 -17
- data/rdoc/RubyXL/ColorConvenienceClasses.html +3 -3
- data/rdoc/RubyXL/ColorConvenienceMethods.html +9 -7
- data/rdoc/RubyXL/ColorFilter.html +3 -3
- data/rdoc/RubyXL/ColorScale.html +3 -3
- data/rdoc/RubyXL/ColorSet.html +3 -3
- data/rdoc/RubyXL/Colors.html +3 -3
- data/rdoc/RubyXL/ColumnRange.html +57 -20
- data/rdoc/RubyXL/ColumnRanges.html +37 -29
- data/rdoc/RubyXL/Comment.html +3 -3
- data/rdoc/RubyXL/CommentList.html +3 -3
- data/rdoc/RubyXL/CommentsFile.html +9 -7
- data/rdoc/RubyXL/ConditionalFormatValue.html +3 -3
- data/rdoc/RubyXL/ConditionalFormatting.html +3 -3
- data/rdoc/RubyXL/ConditionalFormattingRule.html +3 -3
- data/rdoc/RubyXL/Connection.html +3 -3
- data/rdoc/RubyXL/ConnectionTable.html +3 -3
- data/rdoc/RubyXL/ConnectionTables.html +3 -3
- data/rdoc/RubyXL/ConnectionTextField.html +3 -3
- data/rdoc/RubyXL/ConnectionTextFields.html +3 -3
- data/rdoc/RubyXL/Connections.html +9 -7
- data/rdoc/RubyXL/ContentTypeDefault.html +3 -3
- data/rdoc/RubyXL/ContentTypeOverride.html +3 -3
- data/rdoc/RubyXL/ContentTypes.html +15 -11
- data/rdoc/RubyXL/ControlPropertiesFile.html +3 -3
- data/rdoc/RubyXL/CorePropertiesFile.html +66 -48
- data/rdoc/RubyXL/CustomColor.html +3 -3
- data/rdoc/RubyXL/CustomColorList.html +3 -3
- data/rdoc/RubyXL/CustomFilter.html +3 -3
- data/rdoc/RubyXL/CustomFilters.html +3 -3
- data/rdoc/RubyXL/CustomGeometry.html +3 -3
- data/rdoc/RubyXL/CustomProperties.html +3 -3
- data/rdoc/RubyXL/CustomPropertiesFile.html +3 -3
- data/rdoc/RubyXL/CustomProperty.html +3 -3
- data/rdoc/RubyXL/CustomPropertyFile.html +3 -3
- data/rdoc/RubyXL/CustomSheetView.html +3 -3
- data/rdoc/RubyXL/CustomSheetViews.html +3 -3
- data/rdoc/RubyXL/CustomWorkbookView.html +3 -3
- data/rdoc/RubyXL/CustomWorkbookViews.html +3 -3
- data/rdoc/RubyXL/CustomXMLFile.html +3 -3
- data/rdoc/RubyXL/DXF.html +3 -3
- data/rdoc/RubyXL/DXFs.html +3 -3
- data/rdoc/RubyXL/DataBar.html +3 -3
- data/rdoc/RubyXL/DataConsolidate.html +3 -3
- data/rdoc/RubyXL/DataConsolidationReference.html +3 -3
- data/rdoc/RubyXL/DataConsolidationReferences.html +3 -3
- data/rdoc/RubyXL/DataType.html +3 -3
- data/rdoc/RubyXL/DataValidation.html +3 -3
- data/rdoc/RubyXL/DataValidations.html +3 -3
- data/rdoc/RubyXL/DateGroupItem.html +3 -3
- data/rdoc/RubyXL/DefinedName.html +3 -3
- data/rdoc/RubyXL/DefinedNameExt.html +3 -3
- data/rdoc/RubyXL/DefinedNames.html +3 -3
- data/rdoc/RubyXL/DefinedNamesExt.html +3 -3
- data/rdoc/RubyXL/DocumentPropertiesFile.html +17 -12
- data/rdoc/RubyXL/DrawingFile.html +9 -7
- data/rdoc/RubyXL/DynamicFilter.html +3 -3
- data/rdoc/RubyXL/EmbeddedControl.html +3 -3
- data/rdoc/RubyXL/EmbeddedControls.html +3 -3
- data/rdoc/RubyXL/Extension.html +3 -3
- data/rdoc/RubyXL/ExtensionStorageArea.html +3 -3
- data/rdoc/RubyXL/Extents.html +3 -3
- data/rdoc/RubyXL/ExternalBook.html +3 -3
- data/rdoc/RubyXL/ExternalLinksFile.html +10 -8
- data/rdoc/RubyXL/ExternalReference.html +3 -3
- data/rdoc/RubyXL/ExternalReferences.html +3 -3
- data/rdoc/RubyXL/ExtraColorSchemeList.html +3 -3
- data/rdoc/RubyXL/FieldItem.html +3 -3
- data/rdoc/RubyXL/FileRecoveryProperties.html +3 -3
- data/rdoc/RubyXL/FileSharing.html +3 -3
- data/rdoc/RubyXL/FileVersion.html +3 -3
- data/rdoc/RubyXL/Fill.html +9 -7
- data/rdoc/RubyXL/Fills.html +9 -7
- data/rdoc/RubyXL/FilterContainer.html +3 -3
- data/rdoc/RubyXL/FloatNode.html +3 -3
- data/rdoc/RubyXL/FloatValue.html +3 -3
- data/rdoc/RubyXL/Font.html +9 -7
- data/rdoc/RubyXL/FontConvenienceMethods.html +87 -59
- data/rdoc/RubyXL/FontScheme.html +3 -3
- data/rdoc/RubyXL/Fonts.html +9 -7
- data/rdoc/RubyXL/Formula.html +3 -3
- data/rdoc/RubyXL/FunctionGroup.html +3 -3
- data/rdoc/RubyXL/FunctionGroups.html +3 -3
- data/rdoc/RubyXL/GenericStorageObject.html +22 -16
- data/rdoc/RubyXL/GradientFill.html +3 -3
- data/rdoc/RubyXL/HeaderFooterSettings.html +3 -3
- data/rdoc/RubyXL/Hyperlink.html +3 -3
- data/rdoc/RubyXL/HyperlinkRelFile.html +3 -3
- data/rdoc/RubyXL/Hyperlinks.html +3 -3
- data/rdoc/RubyXL/IconFilter.html +3 -3
- data/rdoc/RubyXL/IconSet.html +3 -3
- data/rdoc/RubyXL/IgnoredError.html +3 -3
- data/rdoc/RubyXL/IgnoredErrors.html +3 -3
- data/rdoc/RubyXL/IndexedColors.html +3 -3
- data/rdoc/RubyXL/InputCells.html +3 -3
- data/rdoc/RubyXL/IntegerNode.html +3 -3
- data/rdoc/RubyXL/IntegerValue.html +3 -3
- data/rdoc/RubyXL/LegacyCell.html +9 -7
- data/rdoc/RubyXL/LegacyWorksheet.html +55 -30
- data/rdoc/RubyXL/MRUColors.html +3 -3
- data/rdoc/RubyXL/MacrosFile.html +3 -3
- data/rdoc/RubyXL/MergedCell.html +3 -3
- data/rdoc/RubyXL/MergedCells.html +3 -3
- data/rdoc/RubyXL/NumFmt.html +3 -3
- data/rdoc/RubyXL/NumberFormat.html +9 -7
- data/rdoc/RubyXL/NumberFormats.html +9 -7
- data/rdoc/RubyXL/OLEObject.html +3 -3
- data/rdoc/RubyXL/OLEObjectFile.html +3 -3
- data/rdoc/RubyXL/OLEObjects.html +3 -3
- data/rdoc/RubyXL/OLESize.html +3 -3
- data/rdoc/RubyXL/OOXMLContainerObject.html +46 -34
- data/rdoc/RubyXL/OOXMLIgnored.html +15 -11
- data/rdoc/RubyXL/OOXMLObject.html +3 -3
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +46 -31
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +67 -52
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +64 -44
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +38 -28
- data/rdoc/RubyXL/OdbcOleDbProperties.html +3 -3
- data/rdoc/RubyXL/Offset.html +3 -3
- data/rdoc/RubyXL/OlapProperties.html +3 -3
- data/rdoc/RubyXL/OleItem.html +3 -3
- data/rdoc/RubyXL/OleItems.html +3 -3
- data/rdoc/RubyXL/OleLink.html +3 -3
- data/rdoc/RubyXL/OutlineProperties.html +3 -3
- data/rdoc/RubyXL/PageMargins.html +3 -3
- data/rdoc/RubyXL/PageSetup.html +3 -3
- data/rdoc/RubyXL/PageSetupProperties.html +3 -3
- data/rdoc/RubyXL/Pane.html +3 -3
- data/rdoc/RubyXL/Parser.html +15 -11
- data/rdoc/RubyXL/PatternFill.html +3 -3
- data/rdoc/RubyXL/PersonMetadata.html +108 -0
- data/rdoc/RubyXL/PhoneticProperties.html +3 -3
- data/rdoc/RubyXL/PhoneticRun.html +3 -3
- data/rdoc/RubyXL/PivotArea.html +3 -3
- data/rdoc/RubyXL/PivotCache.html +3 -3
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +3 -3
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +3 -3
- data/rdoc/RubyXL/PivotCaches.html +3 -3
- data/rdoc/RubyXL/PivotReference.html +3 -3
- data/rdoc/RubyXL/PivotReferences.html +3 -3
- data/rdoc/RubyXL/PivotTableFile.html +3 -3
- data/rdoc/RubyXL/PivotTableSelection.html +3 -3
- data/rdoc/RubyXL/PresetGeometry.html +3 -3
- data/rdoc/RubyXL/PrintOptions.html +3 -3
- data/rdoc/RubyXL/PrinterSettingsFile.html +3 -3
- data/rdoc/RubyXL/ProtectedRange.html +3 -3
- data/rdoc/RubyXL/ProtectedRanges.html +3 -3
- data/rdoc/RubyXL/Protection.html +3 -3
- data/rdoc/RubyXL/QueryParameter.html +3 -3
- data/rdoc/RubyXL/QueryParameters.html +3 -3
- data/rdoc/RubyXL/QueryTable.html +10 -8
- data/rdoc/RubyXL/QueryTableDeletedField.html +3 -3
- data/rdoc/RubyXL/QueryTableDeletedFields.html +3 -3
- data/rdoc/RubyXL/QueryTableField.html +3 -3
- data/rdoc/RubyXL/QueryTableFields.html +3 -3
- data/rdoc/RubyXL/QueryTableRefresh.html +3 -3
- data/rdoc/RubyXL/RID.html +3 -3
- data/rdoc/RubyXL/RawOOXML.html +15 -11
- data/rdoc/RubyXL/Reference.html +113 -77
- data/rdoc/RubyXL/Relationship.html +3 -3
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +9 -7
- data/rdoc/RubyXL/RelationshipSupport.html +39 -27
- data/rdoc/RubyXL/RevisionPointer.html +3 -3
- data/rdoc/RubyXL/RichText.html +11 -9
- data/rdoc/RubyXL/RichTextRun.html +9 -7
- data/rdoc/RubyXL/Row.html +57 -39
- data/rdoc/RubyXL/RowExt.html +3 -3
- data/rdoc/RubyXL/RunProperties.html +3 -3
- data/rdoc/RubyXL/Scenario.html +3 -3
- data/rdoc/RubyXL/Scenarios.html +3 -3
- data/rdoc/RubyXL/Selection.html +9 -7
- data/rdoc/RubyXL/ShapeGuide.html +3 -3
- data/rdoc/RubyXL/ShapeTextRectangle.html +3 -3
- data/rdoc/RubyXL/SharedStringsTable.html +46 -32
- data/rdoc/RubyXL/Sheet.html +3 -3
- data/rdoc/RubyXL/SheetCalculationProperties.html +3 -3
- data/rdoc/RubyXL/SheetData.html +15 -11
- data/rdoc/RubyXL/SheetDataExt.html +3 -3
- data/rdoc/RubyXL/SheetDataSet.html +3 -3
- data/rdoc/RubyXL/SheetMetadata.html +3 -3
- data/rdoc/RubyXL/SheetName.html +3 -3
- data/rdoc/RubyXL/SheetNames.html +3 -3
- data/rdoc/RubyXL/Sheets.html +3 -3
- data/rdoc/RubyXL/SlicerCacheFile.html +3 -3
- data/rdoc/RubyXL/SlicerFile.html +3 -3
- data/rdoc/RubyXL/SmartTagProperties.html +3 -3
- data/rdoc/RubyXL/SmartTagType.html +3 -3
- data/rdoc/RubyXL/SmartTagTypes.html +3 -3
- data/rdoc/RubyXL/SmartTags.html +3 -3
- data/rdoc/RubyXL/SortCondition.html +3 -3
- data/rdoc/RubyXL/SortState.html +3 -3
- data/rdoc/RubyXL/Sqref.html +18 -14
- data/rdoc/RubyXL/Stop.html +3 -3
- data/rdoc/RubyXL/StringNode.html +3 -3
- data/rdoc/RubyXL/StringNodeW3C.html +15 -11
- data/rdoc/RubyXL/StringValue.html +3 -3
- data/rdoc/RubyXL/Stylesheet.html +38 -28
- data/rdoc/RubyXL/TableFile.html +3 -3
- data/rdoc/RubyXL/TableParts.html +3 -3
- data/rdoc/RubyXL/TableStyle.html +3 -3
- data/rdoc/RubyXL/TableStyles.html +3 -3
- data/rdoc/RubyXL/Text.html +16 -12
- data/rdoc/RubyXL/TextImportSettings.html +3 -3
- data/rdoc/RubyXL/Theme.html +39 -33
- data/rdoc/RubyXL/ThemeElements.html +3 -3
- data/rdoc/RubyXL/ThumbnailFile.html +3 -3
- data/rdoc/RubyXL/Top10.html +3 -3
- data/rdoc/RubyXL/VMLDrawingFile.html +3 -3
- data/rdoc/RubyXL/Variant.html +3 -3
- data/rdoc/RubyXL/Vector.html +9 -7
- data/rdoc/RubyXL/VectorValue.html +3 -3
- data/rdoc/RubyXL/VisualProperties.html +3 -3
- data/rdoc/RubyXL/WebPublishObject.html +3 -3
- data/rdoc/RubyXL/WebPublishObjects.html +3 -3
- data/rdoc/RubyXL/WebPublishingItem.html +3 -3
- data/rdoc/RubyXL/WebPublishingItems.html +3 -3
- data/rdoc/RubyXL/WebPublishingProperties.html +3 -3
- data/rdoc/RubyXL/WebQueryProperties.html +3 -3
- data/rdoc/RubyXL/Workbook.html +202 -146
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +124 -92
- data/rdoc/RubyXL/WorkbookProperties.html +3 -3
- data/rdoc/RubyXL/WorkbookProtection.html +3 -3
- data/rdoc/RubyXL/WorkbookRoot.html +33 -23
- data/rdoc/RubyXL/WorkbookView.html +3 -3
- data/rdoc/RubyXL/WorkbookViews.html +3 -3
- data/rdoc/RubyXL/Worksheet.html +45 -31
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +443 -288
- data/rdoc/RubyXL/WorksheetDimensions.html +3 -3
- data/rdoc/RubyXL/WorksheetFormatProperties.html +3 -3
- data/rdoc/RubyXL/WorksheetProperties.html +3 -3
- data/rdoc/RubyXL/WorksheetProtection.html +3 -3
- data/rdoc/RubyXL/WorksheetView.html +3 -3
- data/rdoc/RubyXL/WorksheetViews.html +3 -3
- data/rdoc/RubyXL/XF.html +3 -3
- data/rdoc/RubyXL.html +9 -7
- data/rdoc/created.rid +35 -35
- data/rdoc/css/rdoc.css +55 -7
- data/rdoc/index.html +395 -388
- data/rdoc/js/darkfish.js +14 -1
- data/rdoc/js/navigation.js +8 -8
- data/rdoc/js/navigation.js.gz +0 -0
- data/rdoc/js/search.js +4 -4
- data/rdoc/js/search_index.js +1 -1
- data/rdoc/js/search_index.js.gz +0 -0
- data/rdoc/js/searcher.js.gz +0 -0
- data/rdoc/table_of_contents.html +14 -3
- data/rubyXL.gemspec +10 -5
- data/spec/lib/cell_spec.rb +30 -4
- data/spec/lib/color_spec.rb +7 -0
- data/spec/lib/parser_spec.rb +8 -5
- data/spec/lib/reference_spec.rb +35 -5
- data/spec/lib/rgb_color_spec.rb +2 -0
- data/spec/lib/stylesheet_spec.rb +2 -0
- data/spec/lib/text_spec.rb +3 -1
- data/spec/lib/workbook_spec.rb +6 -4
- data/spec/lib/worksheet_spec.rb +29 -17
- metadata +21 -4
- data/Gemfile.lock +0 -124
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::OOXMLContainerObject - rubyXL 3.4.
|
7
|
+
<title>class RubyXL::OOXMLContainerObject - rubyXL 3.4.33</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -41,7 +41,7 @@
|
|
41
41
|
<div id="search-field-wrapper">
|
42
42
|
<input id="search-field" role="combobox" aria-label="Search"
|
43
43
|
aria-autocomplete="list" aria-controls="search-results"
|
44
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
44
|
+
type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
|
45
45
|
title="Type to search, Up and Down to navigate, Enter to load">
|
46
46
|
</div>
|
47
47
|
|
@@ -99,7 +99,7 @@
|
|
99
99
|
|
100
100
|
<section class="description">
|
101
101
|
|
102
|
-
<p>Parent class for OOXML
|
102
|
+
<p>Parent class for OOXML container objects (for example, <code>&lt;fonts&gt;&lt;font&gt;...&lt;/font&gt;&lt;font&gt;...&lt;/font&gt;&lt;/fonts&gt;</code> that obscures the top-level container, allowing direct access to the contents as <code>Array</code>.</p>
|
103
103
|
|
104
104
|
</section>
|
105
105
|
|
@@ -115,10 +115,12 @@
|
|
115
115
|
</header>
|
116
116
|
|
117
117
|
<div id="method-c-new" class="method-detail ">
|
118
|
-
<div class="method-
|
119
|
-
<
|
120
|
-
class="method-
|
121
|
-
|
118
|
+
<div class="method-header">
|
119
|
+
<div class="method-heading">
|
120
|
+
<span class="method-name">new</span><span
|
121
|
+
class="method-args">(params = {})</span>
|
122
|
+
<span class="method-click-advice">click to toggle source</span>
|
123
|
+
</div>
|
122
124
|
</div>
|
123
125
|
|
124
126
|
<div class="method-description">
|
@@ -129,7 +131,7 @@
|
|
129
131
|
</div>
|
130
132
|
|
131
133
|
<div class="method-source-code" id="new-source">
|
132
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line
|
134
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 380</span>
|
133
135
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">params</span> = {})
|
134
136
|
<span class="ruby-identifier">array_content</span> = <span class="ruby-identifier">params</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value">:_</span>)
|
135
137
|
<span class="ruby-keyword">super</span>
|
@@ -149,17 +151,19 @@
|
|
149
151
|
</header>
|
150
152
|
|
151
153
|
<div id="method-c-define_count_attribute" class="method-detail ">
|
152
|
-
<div class="method-
|
153
|
-
<
|
154
|
-
class="method-
|
155
|
-
|
154
|
+
<div class="method-header">
|
155
|
+
<div class="method-heading">
|
156
|
+
<span class="method-name">define_count_attribute</span><span
|
157
|
+
class="method-args">()</span>
|
158
|
+
<span class="method-click-advice">click to toggle source</span>
|
159
|
+
</div>
|
156
160
|
</div>
|
157
161
|
|
158
162
|
<div class="method-description">
|
159
163
|
|
160
164
|
|
161
165
|
<div class="method-source-code" id="define_count_attribute-source">
|
162
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line
|
166
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 412</span>
|
163
167
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">define_count_attribute</span>
|
164
168
|
<span class="ruby-comment"># Count will be inherited from Array. so no need to define it explicitly.</span>
|
165
169
|
<span class="ruby-identifier">define_attribute</span>(<span class="ruby-value">:count</span>, <span class="ruby-value">:uint</span>, <span class="ruby-value">:required</span> <span class="ruby-operator">=></span> <span class="ruby-keyword">true</span>, <span class="ruby-value">:computed</span> <span class="ruby-operator">=></span> <span class="ruby-keyword">true</span>)
|
@@ -178,17 +182,19 @@
|
|
178
182
|
</header>
|
179
183
|
|
180
184
|
<div id="method-i-before_write_xml" class="method-detail ">
|
181
|
-
<div class="method-
|
182
|
-
<
|
183
|
-
class="method-
|
184
|
-
|
185
|
+
<div class="method-header">
|
186
|
+
<div class="method-heading">
|
187
|
+
<span class="method-name">before_write_xml</span><span
|
188
|
+
class="method-args">()</span>
|
189
|
+
<span class="method-click-advice">click to toggle source</span>
|
190
|
+
</div>
|
185
191
|
</div>
|
186
192
|
|
187
193
|
<div class="method-description">
|
188
194
|
|
189
195
|
|
190
196
|
<div class="method-source-code" id="before_write_xml-source">
|
191
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line
|
197
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 401</span>
|
192
198
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">before_write_xml</span>
|
193
199
|
<span class="ruby-keyword">true</span>
|
194
200
|
<span class="ruby-keyword">end</span></pre>
|
@@ -199,10 +205,12 @@
|
|
199
205
|
</div>
|
200
206
|
|
201
207
|
<div id="method-i-inspect" class="method-detail ">
|
202
|
-
<div class="method-
|
203
|
-
<
|
204
|
-
class="method-
|
205
|
-
|
208
|
+
<div class="method-header">
|
209
|
+
<div class="method-heading">
|
210
|
+
<span class="method-name">inspect</span><span
|
211
|
+
class="method-args">()</span>
|
212
|
+
<span class="method-click-advice">click to toggle source</span>
|
213
|
+
</div>
|
206
214
|
</div>
|
207
215
|
|
208
216
|
<div class="method-description">
|
@@ -213,7 +221,7 @@
|
|
213
221
|
</div>
|
214
222
|
|
215
223
|
<div class="method-source-code" id="inspect-source">
|
216
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line
|
224
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 405</span>
|
217
225
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">inspect</span>
|
218
226
|
<span class="ruby-identifier">vars</span> = [ <span class="ruby-keyword">super</span> ]
|
219
227
|
<span class="ruby-identifier">vars</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">vars</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"#{v}=#{instance_variable_get(v).inspect}"</span> }
|
@@ -233,10 +241,12 @@
|
|
233
241
|
</header>
|
234
242
|
|
235
243
|
<div id="method-i-get_node_object" class="method-detail ">
|
236
|
-
<div class="method-
|
237
|
-
<
|
238
|
-
class="method-
|
239
|
-
|
244
|
+
<div class="method-header">
|
245
|
+
<div class="method-heading">
|
246
|
+
<span class="method-name">get_node_object</span><span
|
247
|
+
class="method-args">(child_node_params)</span>
|
248
|
+
<span class="method-click-advice">click to toggle source</span>
|
249
|
+
</div>
|
240
250
|
</div>
|
241
251
|
|
242
252
|
<div class="method-description">
|
@@ -247,7 +257,7 @@
|
|
247
257
|
</div>
|
248
258
|
|
249
259
|
<div class="method-source-code" id="get_node_object-source">
|
250
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line
|
260
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 386</span>
|
251
261
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_node_object</span>(<span class="ruby-identifier">child_node_params</span>)
|
252
262
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">child_node_params</span>[<span class="ruby-value">:is_array</span>] <span class="ruby-keyword">then</span> <span class="ruby-keyword">self</span>
|
253
263
|
<span class="ruby-keyword">else</span> <span class="ruby-keyword">super</span>
|
@@ -260,17 +270,19 @@
|
|
260
270
|
</div>
|
261
271
|
|
262
272
|
<div id="method-i-init_child_nodes" class="method-detail ">
|
263
|
-
<div class="method-
|
264
|
-
<
|
265
|
-
class="method-
|
266
|
-
|
273
|
+
<div class="method-header">
|
274
|
+
<div class="method-heading">
|
275
|
+
<span class="method-name">init_child_nodes</span><span
|
276
|
+
class="method-args">(params)</span>
|
277
|
+
<span class="method-click-advice">click to toggle source</span>
|
278
|
+
</div>
|
267
279
|
</div>
|
268
280
|
|
269
281
|
<div class="method-description">
|
270
282
|
|
271
283
|
|
272
284
|
<div class="method-source-code" id="init_child_nodes-source">
|
273
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line
|
285
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 393</span>
|
274
286
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">init_child_nodes</span>(<span class="ruby-identifier">params</span>)
|
275
287
|
<span class="ruby-identifier">obtain_class_variable</span>(<span class="ruby-value">:@@ooxml_child_nodes</span>).<span class="ruby-identifier">each_value</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
|
276
288
|
<span class="ruby-keyword">next</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">v</span>[<span class="ruby-value">:is_array</span>] <span class="ruby-comment"># Only one collection node allowed per OOXMLContainerObject, and it is contained in itself.</span>
|
@@ -291,7 +303,7 @@
|
|
291
303
|
|
292
304
|
<footer id="validator-badges" role="contentinfo">
|
293
305
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
294
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
306
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.6.3.1.
|
295
307
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
296
308
|
</footer>
|
297
309
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::OOXMLIgnored - rubyXL 3.4.
|
7
|
+
<title>class RubyXL::OOXMLIgnored - rubyXL 3.4.33</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -41,7 +41,7 @@
|
|
41
41
|
<div id="search-field-wrapper">
|
42
42
|
<input id="search-field" role="combobox" aria-label="Search"
|
43
43
|
aria-autocomplete="list" aria-controls="search-results"
|
44
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
44
|
+
type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
|
45
45
|
title="Type to search, Up and Down to navigate, Enter to load">
|
46
46
|
</div>
|
47
47
|
|
@@ -101,10 +101,12 @@
|
|
101
101
|
</header>
|
102
102
|
|
103
103
|
<div id="method-c-parse" class="method-detail ">
|
104
|
-
<div class="method-
|
105
|
-
<
|
106
|
-
class="method-
|
107
|
-
|
104
|
+
<div class="method-header">
|
105
|
+
<div class="method-heading">
|
106
|
+
<span class="method-name">parse</span><span
|
107
|
+
class="method-args">(node, ignore)</span>
|
108
|
+
<span class="method-click-advice">click to toggle source</span>
|
109
|
+
</div>
|
108
110
|
</div>
|
109
111
|
|
110
112
|
<div class="method-description">
|
@@ -129,10 +131,12 @@
|
|
129
131
|
</header>
|
130
132
|
|
131
133
|
<div id="method-i-write_xml" class="method-detail ">
|
132
|
-
<div class="method-
|
133
|
-
<
|
134
|
-
class="method-
|
135
|
-
|
134
|
+
<div class="method-header">
|
135
|
+
<div class="method-heading">
|
136
|
+
<span class="method-name">write_xml</span><span
|
137
|
+
class="method-args">(xml, node_name_override = nil)</span>
|
138
|
+
<span class="method-click-advice">click to toggle source</span>
|
139
|
+
</div>
|
136
140
|
</div>
|
137
141
|
|
138
142
|
<div class="method-description">
|
@@ -157,7 +161,7 @@
|
|
157
161
|
|
158
162
|
<footer id="validator-badges" role="contentinfo">
|
159
163
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
160
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
164
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.6.3.1.
|
161
165
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
162
166
|
</footer>
|
163
167
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::OOXMLObject - rubyXL 3.4.
|
7
|
+
<title>class RubyXL::OOXMLObject - rubyXL 3.4.33</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -41,7 +41,7 @@
|
|
41
41
|
<div id="search-field-wrapper">
|
42
42
|
<input id="search-field" role="combobox" aria-label="Search"
|
43
43
|
aria-autocomplete="list" aria-controls="search-results"
|
44
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
44
|
+
type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
|
45
45
|
title="Type to search, Up and Down to navigate, Enter to load">
|
46
46
|
</div>
|
47
47
|
|
@@ -101,7 +101,7 @@
|
|
101
101
|
|
102
102
|
<footer id="validator-badges" role="contentinfo">
|
103
103
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
104
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
104
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.6.3.1.
|
105
105
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
106
106
|
</footer>
|
107
107
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>module RubyXL::OOXMLObjectClassMethods - rubyXL 3.4.
|
7
|
+
<title>module RubyXL::OOXMLObjectClassMethods - rubyXL 3.4.33</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -41,7 +41,7 @@
|
|
41
41
|
<div id="search-field-wrapper">
|
42
42
|
<input id="search-field" role="combobox" aria-label="Search"
|
43
43
|
aria-autocomplete="list" aria-controls="search-results"
|
44
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
44
|
+
type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
|
45
45
|
title="Type to search, Up and Down to navigate, Enter to load">
|
46
46
|
</div>
|
47
47
|
|
@@ -99,10 +99,12 @@
|
|
99
99
|
</header>
|
100
100
|
|
101
101
|
<div id="method-i-define_attribute" class="method-detail ">
|
102
|
-
<div class="method-
|
103
|
-
<
|
104
|
-
class="method-
|
105
|
-
|
102
|
+
<div class="method-header">
|
103
|
+
<div class="method-heading">
|
104
|
+
<span class="method-name">define_attribute</span><span
|
105
|
+
class="method-args">(attr_name, attr_type, extra_params = nil)</span>
|
106
|
+
<span class="method-click-advice">click to toggle source</span>
|
107
|
+
</div>
|
106
108
|
</div>
|
107
109
|
|
108
110
|
<div class="method-description">
|
@@ -112,7 +114,7 @@
|
|
112
114
|
<ul><li>
|
113
115
|
<p><code>attribute_name</code> - Name of the element attribute as seen in the source XML. Can be either <code>"String"</code> or <code>:Symbol</code></p>
|
114
116
|
<ul><li>
|
115
|
-
<p>Special
|
117
|
+
<p>Special attribute name <code>'_'</code> (underscore) denotes the value of the element rather than attribute.</p>
|
116
118
|
</li></ul>
|
117
119
|
</li><li>
|
118
120
|
<p><code>attribute_type</code> - Specifies the conversion type for the attribute when parsing. Available options are:</p>
|
@@ -185,10 +187,12 @@
|
|
185
187
|
</div>
|
186
188
|
|
187
189
|
<div id="method-i-define_child_node" class="method-detail ">
|
188
|
-
<div class="method-
|
189
|
-
<
|
190
|
-
class="method-
|
191
|
-
|
190
|
+
<div class="method-header">
|
191
|
+
<div class="method-heading">
|
192
|
+
<span class="method-name">define_child_node</span><span
|
193
|
+
class="method-args">(klass, extra_params = {})</span>
|
194
|
+
<span class="method-click-advice">click to toggle source</span>
|
195
|
+
</div>
|
192
196
|
</div>
|
193
197
|
|
194
198
|
<div class="method-description">
|
@@ -262,10 +266,12 @@
|
|
262
266
|
</div>
|
263
267
|
|
264
268
|
<div id="method-i-define_element_name" class="method-detail ">
|
265
|
-
<div class="method-
|
266
|
-
<
|
267
|
-
class="method-
|
268
|
-
|
269
|
+
<div class="method-header">
|
270
|
+
<div class="method-heading">
|
271
|
+
<span class="method-name">define_element_name</span><span
|
272
|
+
class="method-args">(element_name)</span>
|
273
|
+
<span class="method-click-advice">click to toggle source</span>
|
274
|
+
</div>
|
269
275
|
</div>
|
270
276
|
|
271
277
|
<div class="method-description">
|
@@ -293,10 +299,12 @@
|
|
293
299
|
</div>
|
294
300
|
|
295
301
|
<div id="method-i-define_relationship" class="method-detail ">
|
296
|
-
<div class="method-
|
297
|
-
<
|
298
|
-
class="method-
|
299
|
-
|
302
|
+
<div class="method-header">
|
303
|
+
<div class="method-heading">
|
304
|
+
<span class="method-name">define_relationship</span><span
|
305
|
+
class="method-args">(extra_params = {})</span>
|
306
|
+
<span class="method-click-advice">click to toggle source</span>
|
307
|
+
</div>
|
300
308
|
</div>
|
301
309
|
|
302
310
|
<div class="method-description">
|
@@ -314,10 +322,12 @@
|
|
314
322
|
</div>
|
315
323
|
|
316
324
|
<div id="method-i-obtain_class_variable" class="method-detail ">
|
317
|
-
<div class="method-
|
318
|
-
<
|
319
|
-
class="method-
|
320
|
-
|
325
|
+
<div class="method-header">
|
326
|
+
<div class="method-heading">
|
327
|
+
<span class="method-name">obtain_class_variable</span><span
|
328
|
+
class="method-args">(var_name, default = nil)</span>
|
329
|
+
<span class="method-click-advice">click to toggle source</span>
|
330
|
+
</div>
|
321
331
|
</div>
|
322
332
|
|
323
333
|
<div class="method-description">
|
@@ -339,10 +349,12 @@
|
|
339
349
|
</div>
|
340
350
|
|
341
351
|
<div id="method-i-parse" class="method-detail ">
|
342
|
-
<div class="method-
|
343
|
-
<
|
344
|
-
class="method-
|
345
|
-
|
352
|
+
<div class="method-header">
|
353
|
+
<div class="method-heading">
|
354
|
+
<span class="method-name">parse</span><span
|
355
|
+
class="method-args">(node, known_namespaces = nil)</span>
|
356
|
+
<span class="method-click-advice">click to toggle source</span>
|
357
|
+
</div>
|
346
358
|
</div>
|
347
359
|
|
348
360
|
<div class="method-description">
|
@@ -362,7 +374,9 @@
|
|
362
374
|
<span class="ruby-keyword">end</span>
|
363
375
|
|
364
376
|
<span class="ruby-identifier">obj</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">new</span>
|
365
|
-
<span class="ruby-identifier">
|
377
|
+
<span class="ruby-identifier">hsh</span> = {}
|
378
|
+
<span class="ruby-identifier">node</span>.<span class="ruby-identifier">namespace_definitions</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">ns</span><span class="ruby-operator">|</span> <span class="ruby-identifier">hsh</span>[<span class="ruby-identifier">ns</span>.<span class="ruby-identifier">href</span>] = <span class="ruby-identifier">ns</span>.<span class="ruby-identifier">prefix</span> }
|
379
|
+
<span class="ruby-identifier">obj</span>.<span class="ruby-identifier">local_namespaces</span> = <span class="ruby-identifier">hsh</span>
|
366
380
|
|
367
381
|
<span class="ruby-identifier">known_attributes</span> = <span class="ruby-identifier">obtain_class_variable</span>(<span class="ruby-value">:@@ooxml_attributes</span>)
|
368
382
|
|
@@ -388,8 +402,9 @@
|
|
388
402
|
|
389
403
|
<span class="ruby-identifier">node</span>.<span class="ruby-identifier">element_children</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">child_node</span><span class="ruby-operator">|</span>
|
390
404
|
<span class="ruby-identifier">ns</span> = <span class="ruby-identifier">child_node</span>.<span class="ruby-identifier">namespace</span>
|
391
|
-
|
392
|
-
|
405
|
+
|
406
|
+
<span class="ruby-identifier">prefix</span> = <span class="ruby-keyword">if</span> <span class="ruby-identifier">known_namespaces</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">ns</span>&.<span class="ruby-identifier">href</span>) <span class="ruby-keyword">then</span> <span class="ruby-identifier">known_namespaces</span>[<span class="ruby-identifier">ns</span>&.<span class="ruby-identifier">href</span>]
|
407
|
+
<span class="ruby-keyword">else</span> <span class="ruby-identifier">ns</span>&.<span class="ruby-identifier">prefix</span>
|
393
408
|
<span class="ruby-keyword">end</span>
|
394
409
|
|
395
410
|
<span class="ruby-identifier">child_node_name</span> = <span class="ruby-keyword">case</span> <span class="ruby-identifier">prefix</span>
|
@@ -434,7 +449,7 @@
|
|
434
449
|
|
435
450
|
<footer id="validator-badges" role="contentinfo">
|
436
451
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
437
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
452
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.6.3.1.
|
438
453
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
439
454
|
</footer>
|
440
455
|
|