rubyXL 3.4.10 → 3.4.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +2 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +23 -23
- data/LICENSE.txt +1 -1
- data/README.rdoc +6 -1
- data/VERSION +1 -1
- data/lib/rubyXL/convenience_methods/cell.rb +1 -1
- data/lib/rubyXL/convenience_methods/color.rb +5 -3
- data/lib/rubyXL/convenience_methods/worksheet.rb +12 -0
- data/lib/rubyXL/objects/chartsheet.rb +1 -1
- data/lib/rubyXL/objects/data_validation.rb +2 -0
- data/lib/rubyXL/objects/document_properties.rb +2 -2
- data/lib/rubyXL/objects/external_links.rb +25 -1
- data/lib/rubyXL/objects/ooxml_object.rb +10 -0
- data/lib/rubyXL/objects/relationships.rb +1 -1
- data/lib/rubyXL/objects/sheet_data.rb +2 -2
- data/lib/rubyXL/objects/storage.rb +1 -0
- data/lib/rubyXL/objects/text.rb +1 -1
- data/lib/rubyXL/objects/theme.rb +1 -1
- data/lib/rubyXL/objects/workbook.rb +12 -6
- data/lib/rubyXL/objects/worksheet.rb +7 -7
- data/lib/rubyXL/worksheet.rb +1 -1
- data/rdoc/README_rdoc.html +11 -3
- data/rdoc/RubyXL.html +4 -2
- data/rdoc/RubyXL/AExtension.html +4 -2
- data/rdoc/RubyXL/AExtensionStorageArea.html +4 -2
- data/rdoc/RubyXL/ActiveX.html +5 -3
- data/rdoc/RubyXL/ActiveXBinary.html +4 -2
- data/rdoc/RubyXL/AdjustHandleList.html +4 -2
- data/rdoc/RubyXL/Alignment.html +4 -2
- data/rdoc/RubyXL/AlternateContent.html +4 -2
- data/rdoc/RubyXL/Authors.html +4 -2
- data/rdoc/RubyXL/AutoFilter.html +4 -2
- data/rdoc/RubyXL/AutoFilterColumn.html +4 -2
- data/rdoc/RubyXL/BinaryImageFile.html +4 -2
- data/rdoc/RubyXL/BodyProperties.html +4 -2
- data/rdoc/RubyXL/BooleanNode.html +4 -2
- data/rdoc/RubyXL/BooleanValue.html +4 -2
- data/rdoc/RubyXL/Border.html +4 -2
- data/rdoc/RubyXL/BorderEdge.html +4 -2
- data/rdoc/RubyXL/Borders.html +4 -2
- data/rdoc/RubyXL/Break.html +4 -2
- data/rdoc/RubyXL/BreakList.html +4 -2
- data/rdoc/RubyXL/CT_AdjPoint2D.html +4 -2
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +4 -2
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +4 -2
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +4 -2
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +4 -2
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +4 -2
- data/rdoc/RubyXL/CT_Backdrop.html +4 -2
- data/rdoc/RubyXL/CT_Bevel.html +4 -2
- data/rdoc/RubyXL/CT_BiLevelEffect.html +4 -2
- data/rdoc/RubyXL/CT_BlendEffect.html +4 -2
- data/rdoc/RubyXL/CT_Blip.html +4 -2
- data/rdoc/RubyXL/CT_BlipFillProperties.html +4 -2
- data/rdoc/RubyXL/CT_BlurEffect.html +4 -2
- data/rdoc/RubyXL/CT_Camera.html +4 -2
- data/rdoc/RubyXL/CT_Color.html +4 -2
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +4 -2
- data/rdoc/RubyXL/CT_ColorMapping.html +4 -2
- data/rdoc/RubyXL/CT_ColorScheme.html +4 -2
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +4 -2
- data/rdoc/RubyXL/CT_ConnectionSite.html +4 -2
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +4 -2
- data/rdoc/RubyXL/CT_DashStop.html +4 -2
- data/rdoc/RubyXL/CT_DashStopList.html +4 -2
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +4 -2
- data/rdoc/RubyXL/CT_DuotoneEffect.html +4 -2
- data/rdoc/RubyXL/CT_EffectContainer.html +4 -2
- data/rdoc/RubyXL/CT_EffectList.html +4 -2
- data/rdoc/RubyXL/CT_EffectReference.html +4 -2
- data/rdoc/RubyXL/CT_EffectStyleItem.html +4 -2
- data/rdoc/RubyXL/CT_EffectStyleList.html +4 -2
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +4 -2
- data/rdoc/RubyXL/CT_FillEffect.html +4 -2
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +4 -2
- data/rdoc/RubyXL/CT_FillStyleList.html +4 -2
- data/rdoc/RubyXL/CT_FlatText.html +4 -2
- data/rdoc/RubyXL/CT_FontCollection.html +4 -2
- data/rdoc/RubyXL/CT_FontReference.html +4 -2
- data/rdoc/RubyXL/CT_GeomGuideList.html +4 -2
- data/rdoc/RubyXL/CT_GlowEffect.html +4 -2
- data/rdoc/RubyXL/CT_GradientFillProperties.html +4 -2
- data/rdoc/RubyXL/CT_GradientStop.html +4 -2
- data/rdoc/RubyXL/CT_GradientStopList.html +4 -2
- data/rdoc/RubyXL/CT_HSLEffect.html +4 -2
- data/rdoc/RubyXL/CT_HslColor.html +4 -2
- data/rdoc/RubyXL/CT_Hyperlink.html +4 -2
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +4 -2
- data/rdoc/RubyXL/CT_LightRig.html +4 -2
- data/rdoc/RubyXL/CT_LineEndProperties.html +4 -2
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +4 -2
- data/rdoc/RubyXL/CT_LineProperties.html +4 -2
- data/rdoc/RubyXL/CT_LineStyleList.html +4 -2
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +4 -2
- data/rdoc/RubyXL/CT_LuminanceEffect.html +4 -2
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +4 -2
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +4 -2
- data/rdoc/RubyXL/CT_Path2D.html +4 -2
- data/rdoc/RubyXL/CT_Path2DArcTo.html +4 -2
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +4 -2
- data/rdoc/RubyXL/CT_Path2DList.html +4 -2
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +4 -2
- data/rdoc/RubyXL/CT_Path2DTo.html +4 -2
- data/rdoc/RubyXL/CT_PathShadeProperties.html +4 -2
- data/rdoc/RubyXL/CT_PatternFillProperties.html +4 -2
- data/rdoc/RubyXL/CT_Point3D.html +4 -2
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +4 -2
- data/rdoc/RubyXL/CT_PresetColor.html +4 -2
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +4 -2
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +4 -2
- data/rdoc/RubyXL/CT_PresetTextShape.html +4 -2
- data/rdoc/RubyXL/CT_ReflectionEffect.html +4 -2
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +4 -2
- data/rdoc/RubyXL/CT_RelativeRect.html +4 -2
- data/rdoc/RubyXL/CT_SRgbColor.html +4 -2
- data/rdoc/RubyXL/CT_ScRgbColor.html +4 -2
- data/rdoc/RubyXL/CT_Scene3D.html +4 -2
- data/rdoc/RubyXL/CT_SchemeColor.html +4 -2
- data/rdoc/RubyXL/CT_Shape3D.html +4 -2
- data/rdoc/RubyXL/CT_ShapeStyle.html +4 -2
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +4 -2
- data/rdoc/RubyXL/CT_SphereCoords.html +4 -2
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +4 -2
- data/rdoc/RubyXL/CT_StyleMatrix.html +4 -2
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +4 -2
- data/rdoc/RubyXL/CT_SupplementalFont.html +4 -2
- data/rdoc/RubyXL/CT_SystemColor.html +4 -2
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +4 -2
- data/rdoc/RubyXL/CT_TextBlipBullet.html +4 -2
- data/rdoc/RubyXL/CT_TextCharBullet.html +4 -2
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +4 -2
- data/rdoc/RubyXL/CT_TextFont.html +4 -2
- data/rdoc/RubyXL/CT_TextListStyle.html +4 -2
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +4 -2
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +4 -2
- data/rdoc/RubyXL/CT_TextSpacing.html +4 -2
- data/rdoc/RubyXL/CT_TextTabStop.html +4 -2
- data/rdoc/RubyXL/CT_TextTabStopList.html +4 -2
- data/rdoc/RubyXL/CT_TileInfoProperties.html +4 -2
- data/rdoc/RubyXL/CT_TintEffect.html +4 -2
- data/rdoc/RubyXL/CT_Transform2D.html +4 -2
- data/rdoc/RubyXL/CT_TransformEffect.html +4 -2
- data/rdoc/RubyXL/CT_Vector3D.html +4 -2
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +4 -2
- data/rdoc/RubyXL/CalculationChain.html +4 -2
- data/rdoc/RubyXL/CalculationChainCell.html +4 -2
- data/rdoc/RubyXL/CalculationProperties.html +4 -2
- data/rdoc/RubyXL/Cell.html +6 -4
- data/rdoc/RubyXL/CellConvenienceMethods.html +4 -2
- data/rdoc/RubyXL/CellExt.html +4 -2
- data/rdoc/RubyXL/CellSmartTag.html +4 -2
- data/rdoc/RubyXL/CellSmartTagProperty.html +4 -2
- data/rdoc/RubyXL/CellSmartTags.html +4 -2
- data/rdoc/RubyXL/CellStyle.html +4 -2
- data/rdoc/RubyXL/CellStyleXFs.html +4 -2
- data/rdoc/RubyXL/CellStyles.html +4 -2
- data/rdoc/RubyXL/CellValue.html +4 -2
- data/rdoc/RubyXL/CellWatch.html +4 -2
- data/rdoc/RubyXL/CellWatches.html +4 -2
- data/rdoc/RubyXL/CellXFs.html +4 -2
- data/rdoc/RubyXL/ChartColorsFile.html +4 -2
- data/rdoc/RubyXL/ChartFile.html +4 -2
- data/rdoc/RubyXL/ChartStyleFile.html +4 -2
- data/rdoc/RubyXL/ChartUserShapesFile.html +4 -2
- data/rdoc/RubyXL/Chartsheet.html +4 -2
- data/rdoc/RubyXL/ChartsheetPageSetup.html +4 -2
- data/rdoc/RubyXL/ChartsheetProperties.html +4 -2
- data/rdoc/RubyXL/ChartsheetProtection.html +4 -2
- data/rdoc/RubyXL/ChartsheetView.html +4 -2
- data/rdoc/RubyXL/ChartsheetViews.html +4 -2
- data/rdoc/RubyXL/Color.html +4 -2
- data/rdoc/RubyXL/ColorConvenienceClasses.html +4 -2
- data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +6 -4
- data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +9 -5
- data/rdoc/RubyXL/ColorConvenienceMethods.html +4 -2
- data/rdoc/RubyXL/ColorFilter.html +4 -2
- data/rdoc/RubyXL/ColorScale.html +4 -2
- data/rdoc/RubyXL/ColorSet.html +4 -2
- data/rdoc/RubyXL/Colors.html +4 -2
- data/rdoc/RubyXL/ColumnRange.html +4 -2
- data/rdoc/RubyXL/ColumnRanges.html +4 -2
- data/rdoc/RubyXL/Comment.html +4 -2
- data/rdoc/RubyXL/CommentList.html +4 -2
- data/rdoc/RubyXL/CommentsFile.html +4 -2
- data/rdoc/RubyXL/ConditionalFormatValue.html +4 -2
- data/rdoc/RubyXL/ConditionalFormatting.html +4 -2
- data/rdoc/RubyXL/ConditionalFormattingRule.html +4 -2
- data/rdoc/RubyXL/Connection.html +4 -2
- data/rdoc/RubyXL/ConnectionTable.html +4 -2
- data/rdoc/RubyXL/ConnectionTables.html +4 -2
- data/rdoc/RubyXL/ConnectionTextField.html +4 -2
- data/rdoc/RubyXL/ConnectionTextFields.html +4 -2
- data/rdoc/RubyXL/Connections.html +4 -2
- data/rdoc/RubyXL/ContentTypeDefault.html +4 -2
- data/rdoc/RubyXL/ContentTypeOverride.html +4 -2
- data/rdoc/RubyXL/ContentTypes.html +4 -2
- data/rdoc/RubyXL/ControlPropertiesFile.html +9 -2
- data/rdoc/RubyXL/CorePropertiesFile.html +6 -4
- data/rdoc/RubyXL/CustomColor.html +4 -2
- data/rdoc/RubyXL/CustomColorList.html +4 -2
- data/rdoc/RubyXL/CustomFilter.html +4 -2
- data/rdoc/RubyXL/CustomFilters.html +4 -2
- data/rdoc/RubyXL/CustomGeometry.html +4 -2
- data/rdoc/RubyXL/CustomProperties.html +4 -2
- data/rdoc/RubyXL/CustomPropertiesFile.html +4 -2
- data/rdoc/RubyXL/CustomProperty.html +4 -2
- data/rdoc/RubyXL/CustomPropertyFile.html +4 -2
- data/rdoc/RubyXL/CustomSheetView.html +4 -2
- data/rdoc/RubyXL/CustomSheetViews.html +4 -2
- data/rdoc/RubyXL/CustomWorkbookView.html +4 -2
- data/rdoc/RubyXL/CustomWorkbookViews.html +4 -2
- data/rdoc/RubyXL/CustomXMLFile.html +4 -2
- data/rdoc/RubyXL/DXF.html +4 -2
- data/rdoc/RubyXL/DXFs.html +4 -2
- data/rdoc/RubyXL/DataBar.html +4 -2
- data/rdoc/RubyXL/DataConsolidate.html +4 -2
- data/rdoc/RubyXL/DataConsolidationReference.html +4 -2
- data/rdoc/RubyXL/DataConsolidationReferences.html +4 -2
- data/rdoc/RubyXL/DataType.html +4 -2
- data/rdoc/RubyXL/DataValidation.html +4 -2
- data/rdoc/RubyXL/DataValidations.html +4 -2
- data/rdoc/RubyXL/DateGroupItem.html +4 -2
- data/rdoc/RubyXL/DefinedName.html +4 -2
- data/rdoc/RubyXL/DefinedNameExt.html +4 -2
- data/rdoc/RubyXL/DefinedNames.html +4 -2
- data/rdoc/RubyXL/DefinedNamesExt.html +4 -2
- data/rdoc/RubyXL/DocumentPropertiesFile.html +4 -2
- data/rdoc/RubyXL/DrawingFile.html +4 -2
- data/rdoc/RubyXL/DynamicFilter.html +4 -2
- data/rdoc/RubyXL/EmbeddedControl.html +4 -2
- data/rdoc/RubyXL/EmbeddedControls.html +4 -2
- data/rdoc/RubyXL/Extension.html +4 -2
- data/rdoc/RubyXL/ExtensionStorageArea.html +4 -2
- data/rdoc/RubyXL/Extents.html +4 -2
- data/rdoc/RubyXL/ExternalBook.html +4 -2
- data/rdoc/RubyXL/ExternalLinksFile.html +5 -3
- data/rdoc/RubyXL/ExternalReference.html +4 -2
- data/rdoc/RubyXL/ExternalReferences.html +4 -2
- data/rdoc/RubyXL/ExtraColorSchemeList.html +4 -2
- data/rdoc/RubyXL/FieldItem.html +4 -2
- data/rdoc/RubyXL/FileRecoveryProperties.html +4 -2
- data/rdoc/RubyXL/FileSharing.html +4 -2
- data/rdoc/RubyXL/FileVersion.html +4 -2
- data/rdoc/RubyXL/Fill.html +4 -2
- data/rdoc/RubyXL/Fills.html +4 -2
- data/rdoc/RubyXL/FilterContainer.html +4 -2
- data/rdoc/RubyXL/FloatNode.html +4 -2
- data/rdoc/RubyXL/FloatValue.html +4 -2
- data/rdoc/RubyXL/Font.html +4 -2
- data/rdoc/RubyXL/FontConvenienceMethods.html +4 -2
- data/rdoc/RubyXL/FontScheme.html +4 -2
- data/rdoc/RubyXL/Fonts.html +4 -2
- data/rdoc/RubyXL/Formula.html +4 -2
- data/rdoc/RubyXL/FunctionGroup.html +4 -2
- data/rdoc/RubyXL/FunctionGroups.html +4 -2
- data/rdoc/RubyXL/GenericStorageObject.html +4 -2
- data/rdoc/RubyXL/GradientFill.html +4 -2
- data/rdoc/RubyXL/HeaderFooterSettings.html +4 -2
- data/rdoc/RubyXL/Hyperlink.html +4 -2
- data/rdoc/RubyXL/HyperlinkRelFile.html +4 -2
- data/rdoc/RubyXL/Hyperlinks.html +4 -2
- data/rdoc/RubyXL/IconFilter.html +4 -2
- data/rdoc/RubyXL/IconSet.html +4 -2
- data/rdoc/RubyXL/IgnoredError.html +4 -2
- data/rdoc/RubyXL/IgnoredErrors.html +4 -2
- data/rdoc/RubyXL/IndexedColors.html +4 -2
- data/rdoc/RubyXL/InputCells.html +4 -2
- data/rdoc/RubyXL/IntegerNode.html +4 -2
- data/rdoc/RubyXL/IntegerValue.html +4 -2
- data/rdoc/RubyXL/LegacyCell.html +4 -2
- data/rdoc/RubyXL/LegacyWorksheet.html +5 -3
- data/rdoc/RubyXL/MRUColors.html +4 -2
- data/rdoc/RubyXL/MacrosFile.html +4 -2
- data/rdoc/RubyXL/MergedCell.html +4 -2
- data/rdoc/RubyXL/MergedCells.html +4 -2
- data/rdoc/RubyXL/NumFmt.html +4 -2
- data/rdoc/RubyXL/NumberFormat.html +4 -2
- data/rdoc/RubyXL/NumberFormats.html +4 -2
- data/rdoc/RubyXL/OLEObject.html +4 -2
- data/rdoc/RubyXL/OLEObjectFile.html +4 -2
- data/rdoc/RubyXL/OLEObjects.html +4 -2
- data/rdoc/RubyXL/OLESize.html +4 -2
- data/rdoc/RubyXL/OOXMLContainerObject.html +10 -8
- data/rdoc/RubyXL/OOXMLIgnored.html +4 -2
- data/rdoc/RubyXL/OOXMLObject.html +4 -2
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +42 -5
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +17 -10
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +4 -2
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +9 -7
- data/rdoc/RubyXL/OdbcOleDbProperties.html +4 -2
- data/rdoc/RubyXL/Offset.html +4 -2
- data/rdoc/RubyXL/OlapProperties.html +4 -2
- data/rdoc/RubyXL/OleItem.html +108 -0
- data/rdoc/RubyXL/OleItems.html +108 -0
- data/rdoc/RubyXL/OleLink.html +108 -0
- data/rdoc/RubyXL/OutlineProperties.html +4 -2
- data/rdoc/RubyXL/PageMargins.html +4 -2
- data/rdoc/RubyXL/PageSetup.html +4 -2
- data/rdoc/RubyXL/PageSetupProperties.html +4 -2
- data/rdoc/RubyXL/Pane.html +4 -2
- data/rdoc/RubyXL/Parser.html +4 -2
- data/rdoc/RubyXL/PatternFill.html +4 -2
- data/rdoc/RubyXL/PhoneticProperties.html +4 -2
- data/rdoc/RubyXL/PhoneticRun.html +4 -2
- data/rdoc/RubyXL/PivotArea.html +4 -2
- data/rdoc/RubyXL/PivotCache.html +4 -2
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +4 -2
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +4 -2
- data/rdoc/RubyXL/PivotCaches.html +4 -2
- data/rdoc/RubyXL/PivotReference.html +4 -2
- data/rdoc/RubyXL/PivotReferences.html +4 -2
- data/rdoc/RubyXL/PivotTableFile.html +4 -2
- data/rdoc/RubyXL/PivotTableSelection.html +4 -2
- data/rdoc/RubyXL/PresetGeometry.html +4 -2
- data/rdoc/RubyXL/PrintOptions.html +4 -2
- data/rdoc/RubyXL/PrinterSettingsFile.html +4 -2
- data/rdoc/RubyXL/ProtectedRange.html +4 -2
- data/rdoc/RubyXL/ProtectedRanges.html +4 -2
- data/rdoc/RubyXL/Protection.html +4 -2
- data/rdoc/RubyXL/QueryParameter.html +4 -2
- data/rdoc/RubyXL/QueryParameters.html +4 -2
- data/rdoc/RubyXL/QueryTable.html +4 -2
- data/rdoc/RubyXL/QueryTableDeletedField.html +4 -2
- data/rdoc/RubyXL/QueryTableDeletedFields.html +4 -2
- data/rdoc/RubyXL/QueryTableField.html +4 -2
- data/rdoc/RubyXL/QueryTableFields.html +4 -2
- data/rdoc/RubyXL/QueryTableRefresh.html +4 -2
- data/rdoc/RubyXL/RID.html +4 -2
- data/rdoc/RubyXL/RawOOXML.html +4 -2
- data/rdoc/RubyXL/Reference.html +4 -2
- data/rdoc/RubyXL/Relationship.html +4 -2
- data/rdoc/RubyXL/RelationshipSupport.html +4 -2
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +4 -2
- data/rdoc/RubyXL/RevisionPointer.html +4 -2
- data/rdoc/RubyXL/RichText.html +5 -3
- data/rdoc/RubyXL/RichTextRun.html +4 -2
- data/rdoc/RubyXL/Row.html +4 -2
- data/rdoc/RubyXL/RowExt.html +4 -2
- data/rdoc/RubyXL/RunProperties.html +4 -2
- data/rdoc/RubyXL/Scenario.html +4 -2
- data/rdoc/RubyXL/Scenarios.html +4 -2
- data/rdoc/RubyXL/Selection.html +4 -2
- data/rdoc/RubyXL/ShapeGuide.html +4 -2
- data/rdoc/RubyXL/ShapeTextRectangle.html +4 -2
- data/rdoc/RubyXL/SharedStringsTable.html +4 -2
- data/rdoc/RubyXL/Sheet.html +4 -2
- data/rdoc/RubyXL/SheetCalculationProperties.html +4 -2
- data/rdoc/RubyXL/SheetData.html +4 -2
- data/rdoc/RubyXL/SheetDataExt.html +4 -2
- data/rdoc/RubyXL/SheetDataSet.html +4 -2
- data/rdoc/RubyXL/SheetName.html +4 -2
- data/rdoc/RubyXL/SheetNames.html +4 -2
- data/rdoc/RubyXL/Sheets.html +4 -2
- data/rdoc/RubyXL/SlicerCacheFile.html +4 -2
- data/rdoc/RubyXL/SlicerFile.html +4 -2
- data/rdoc/RubyXL/SmartTagProperties.html +4 -2
- data/rdoc/RubyXL/SmartTagType.html +4 -2
- data/rdoc/RubyXL/SmartTagTypes.html +4 -2
- data/rdoc/RubyXL/SmartTags.html +4 -2
- data/rdoc/RubyXL/SortCondition.html +4 -2
- data/rdoc/RubyXL/SortState.html +4 -2
- data/rdoc/RubyXL/Sqref.html +4 -2
- data/rdoc/RubyXL/Stop.html +4 -2
- data/rdoc/RubyXL/StringNode.html +4 -2
- data/rdoc/RubyXL/StringNodeW3C.html +4 -2
- data/rdoc/RubyXL/StringValue.html +4 -2
- data/rdoc/RubyXL/Stylesheet.html +4 -2
- data/rdoc/RubyXL/TableFile.html +4 -2
- data/rdoc/RubyXL/TableParts.html +4 -2
- data/rdoc/RubyXL/TableStyle.html +4 -2
- data/rdoc/RubyXL/TableStyles.html +4 -2
- data/rdoc/RubyXL/Text.html +4 -2
- data/rdoc/RubyXL/TextImportSettings.html +4 -2
- data/rdoc/RubyXL/Theme.html +4 -2
- data/rdoc/RubyXL/ThemeElements.html +4 -2
- data/rdoc/RubyXL/ThumbnailFile.html +4 -2
- data/rdoc/RubyXL/Top10.html +4 -2
- data/rdoc/RubyXL/VMLDrawingFile.html +4 -2
- data/rdoc/RubyXL/Variant.html +4 -2
- data/rdoc/RubyXL/Vector.html +4 -2
- data/rdoc/RubyXL/VectorValue.html +4 -2
- data/rdoc/RubyXL/VisualProperties.html +4 -2
- data/rdoc/RubyXL/WebPublishObject.html +4 -2
- data/rdoc/RubyXL/WebPublishObjects.html +4 -2
- data/rdoc/RubyXL/WebPublishingItem.html +4 -2
- data/rdoc/RubyXL/WebPublishingItems.html +4 -2
- data/rdoc/RubyXL/WebPublishingProperties.html +4 -2
- data/rdoc/RubyXL/WebQueryProperties.html +4 -2
- data/rdoc/RubyXL/Workbook.html +33 -25
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +4 -2
- data/rdoc/RubyXL/WorkbookProperties.html +4 -2
- data/rdoc/RubyXL/WorkbookProtection.html +4 -2
- data/rdoc/RubyXL/WorkbookRoot.html +4 -2
- data/rdoc/RubyXL/WorkbookView.html +4 -2
- data/rdoc/RubyXL/WorkbookViews.html +4 -2
- data/rdoc/RubyXL/Worksheet.html +4 -2
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +47 -2
- data/rdoc/RubyXL/WorksheetDimensions.html +4 -2
- data/rdoc/RubyXL/WorksheetFormatProperties.html +4 -2
- data/rdoc/RubyXL/WorksheetProperties.html +4 -2
- data/rdoc/RubyXL/WorksheetProtection.html +4 -2
- data/rdoc/RubyXL/WorksheetView.html +4 -2
- data/rdoc/RubyXL/WorksheetViews.html +4 -2
- data/rdoc/RubyXL/XF.html +4 -2
- data/rdoc/created.rid +20 -20
- data/rdoc/index.html +12 -3
- 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 +838 -3
- data/rubyXL.gemspec +20 -27
- data/spec/lib/cell_spec.rb +22 -3
- data/spec/lib/rgb_color_spec.rb +16 -0
- metadata +9 -7
- data/test/output/test.xlsx +0 -0
data/rubyXL.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: rubyXL 3.4.
|
5
|
+
# stub: rubyXL 3.4.16 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "rubyXL".freeze
|
9
|
-
s.version = "3.4.
|
9
|
+
s.version = "3.4.16"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|
13
13
|
s.authors = ["Vivek Bhagwat".freeze, "Wesha".freeze]
|
14
|
-
s.date = "
|
14
|
+
s.date = "2020-10-29"
|
15
15
|
s.description = "rubyXL is a gem which allows the parsing, creation, and manipulation of Microsoft Excel (.xlsx/.xlsm) Documents".freeze
|
16
16
|
s.email = "bhagwat.vivek@gmail.com".freeze
|
17
17
|
s.extra_rdoc_files = [
|
@@ -341,6 +341,9 @@ Gem::Specification.new do |s|
|
|
341
341
|
"rdoc/RubyXL/OdbcOleDbProperties.html",
|
342
342
|
"rdoc/RubyXL/Offset.html",
|
343
343
|
"rdoc/RubyXL/OlapProperties.html",
|
344
|
+
"rdoc/RubyXL/OleItem.html",
|
345
|
+
"rdoc/RubyXL/OleItems.html",
|
346
|
+
"rdoc/RubyXL/OleLink.html",
|
344
347
|
"rdoc/RubyXL/OutlineProperties.html",
|
345
348
|
"rdoc/RubyXL/PageMargins.html",
|
346
349
|
"rdoc/RubyXL/PageSetup.html",
|
@@ -499,6 +502,7 @@ Gem::Specification.new do |s|
|
|
499
502
|
"spec/lib/color_spec.rb",
|
500
503
|
"spec/lib/parser_spec.rb",
|
501
504
|
"spec/lib/reference_spec.rb",
|
505
|
+
"spec/lib/rgb_color_spec.rb",
|
502
506
|
"spec/lib/stylesheet_spec.rb",
|
503
507
|
"spec/lib/text_spec.rb",
|
504
508
|
"spec/lib/workbook_spec.rb",
|
@@ -506,41 +510,30 @@ Gem::Specification.new do |s|
|
|
506
510
|
"spec/spec_helper.rb",
|
507
511
|
"test/input/.gitkeep",
|
508
512
|
"test/output/.gitkeep",
|
509
|
-
"test/output/test.xlsx",
|
510
513
|
"test/test_parse_write.rb",
|
511
514
|
"tmp/.gitignore"
|
512
515
|
]
|
513
516
|
s.homepage = "http://github.com/gilt/rubyXL".freeze
|
514
517
|
s.licenses = ["MIT".freeze]
|
515
|
-
s.rubygems_version = "
|
518
|
+
s.rubygems_version = "3.1.2".freeze
|
516
519
|
s.summary = "rubyXL is a gem which allows the parsing, creation, and manipulation of Microsoft Excel (.xlsx/.xlsm) Documents".freeze
|
517
520
|
|
518
521
|
if s.respond_to? :specification_version then
|
519
522
|
s.specification_version = 4
|
523
|
+
end
|
520
524
|
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
else
|
532
|
-
s.add_dependency(%q<nokogiri>.freeze, [">= 1.4.4"])
|
533
|
-
s.add_dependency(%q<rubyzip>.freeze, [">= 1.3.0"])
|
534
|
-
s.add_dependency(%q<bundler>.freeze, [">= 0"])
|
535
|
-
s.add_dependency(%q<rake>.freeze, [">= 0"])
|
536
|
-
s.add_dependency(%q<jeweler>.freeze, [">= 0"])
|
537
|
-
s.add_dependency(%q<rspec>.freeze, [">= 0"])
|
538
|
-
s.add_dependency(%q<simplecov>.freeze, [">= 0"])
|
539
|
-
s.add_dependency(%q<ruby-prof>.freeze, [">= 0"])
|
540
|
-
s.add_dependency(%q<rspec_junit_formatter>.freeze, [">= 0"])
|
541
|
-
end
|
525
|
+
if s.respond_to? :add_runtime_dependency then
|
526
|
+
s.add_runtime_dependency(%q<nokogiri>.freeze, [">= 1.10.8"])
|
527
|
+
s.add_runtime_dependency(%q<rubyzip>.freeze, [">= 1.3.0"])
|
528
|
+
s.add_development_dependency(%q<bundler>.freeze, [">= 0"])
|
529
|
+
s.add_development_dependency(%q<rake>.freeze, [">= 0"])
|
530
|
+
s.add_development_dependency(%q<jeweler>.freeze, [">= 0"])
|
531
|
+
s.add_development_dependency(%q<rspec>.freeze, [">= 0"])
|
532
|
+
s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
|
533
|
+
s.add_development_dependency(%q<ruby-prof>.freeze, [">= 0"])
|
534
|
+
s.add_development_dependency(%q<rspec_junit_formatter>.freeze, [">= 0"])
|
542
535
|
else
|
543
|
-
s.add_dependency(%q<nokogiri>.freeze, [">= 1.
|
536
|
+
s.add_dependency(%q<nokogiri>.freeze, [">= 1.10.8"])
|
544
537
|
s.add_dependency(%q<rubyzip>.freeze, [">= 1.3.0"])
|
545
538
|
s.add_dependency(%q<bundler>.freeze, [">= 0"])
|
546
539
|
s.add_dependency(%q<rake>.freeze, [">= 0"])
|
data/spec/lib/cell_spec.rb
CHANGED
@@ -46,7 +46,26 @@ describe RubyXL::Cell do
|
|
46
46
|
cell.set_number_format('ddd mmm dd, yyyy HH:MM:SS')
|
47
47
|
|
48
48
|
# Due to rounding errors, we allow microsecond precision on DateTime.
|
49
|
-
expect((cell.value - tm).to_f).to be_within(
|
49
|
+
expect((cell.value - tm).to_f).to be_within(1.0/86400e6).of(0)
|
50
|
+
|
51
|
+
tm = Time.now
|
52
|
+
cell = @worksheet.add_cell(r, c, tm)
|
53
|
+
cell.set_number_format('ddd mmm dd, yyyy HH:MM:SS')
|
54
|
+
|
55
|
+
# Due to rounding errors, we allow microsecond precision on Time.
|
56
|
+
expect(cell.value - tm.to_datetime).to be_within(1.0/86400e6).of(0)
|
57
|
+
|
58
|
+
expected_date = "2020-10-15T14:00:00Z"
|
59
|
+
expected_datetime = Time.parse(expected_date).utc
|
60
|
+
raw_value = "44119.583333333328" # Obtained from parsing a xlsx file with the expected date
|
61
|
+
cell = @worksheet.add_cell(r, c, Time.now) # Force a date cell type
|
62
|
+
cell.set_number_format('ddd mmm dd, yyyy HH:MM:SS')
|
63
|
+
cell.raw_value = raw_value
|
64
|
+
expect(cell.raw_value).to eq(raw_value), "Wrong raw value"
|
65
|
+
cell.set_number_format('ddd mmm dd, yyyy HH:MM:SS')
|
66
|
+
|
67
|
+
# We expect exactly the same date
|
68
|
+
expect(cell.value.to_time.utc.iso8601).to eq(expected_datetime.iso8601)
|
50
69
|
end
|
51
70
|
end
|
52
71
|
|
@@ -391,8 +410,8 @@ describe RubyXL::Cell do
|
|
391
410
|
expect(@cell.formula).to be_nil
|
392
411
|
end
|
393
412
|
|
394
|
-
it 'should
|
395
|
-
number = BigDecimal
|
413
|
+
it 'should cause cell value to match a BigDecimal that is passed in' do
|
414
|
+
number = BigDecimal('1234.5678')
|
396
415
|
@cell.change_contents(number)
|
397
416
|
expect(@cell.value).to eq(number)
|
398
417
|
expect(@cell.datatype).to be_nil
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'rubyXL/convenience_methods/color'
|
3
|
+
|
4
|
+
describe RubyXL::RgbColor do
|
5
|
+
describe '.to_s' do
|
6
|
+
it 'should properly translate the color to string' do
|
7
|
+
rgb_color = RubyXL::RgbColor.new
|
8
|
+
|
9
|
+
rgb_color.r = 1
|
10
|
+
rgb_color.g = 2
|
11
|
+
rgb_color.b = 255
|
12
|
+
|
13
|
+
expect(rgb_color.to_s).to eq("0102ff")
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubyXL
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vivek Bhagwat
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-10-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 1.
|
20
|
+
version: 1.10.8
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 1.
|
27
|
+
version: 1.10.8
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: rubyzip
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -468,6 +468,9 @@ files:
|
|
468
468
|
- rdoc/RubyXL/OdbcOleDbProperties.html
|
469
469
|
- rdoc/RubyXL/Offset.html
|
470
470
|
- rdoc/RubyXL/OlapProperties.html
|
471
|
+
- rdoc/RubyXL/OleItem.html
|
472
|
+
- rdoc/RubyXL/OleItems.html
|
473
|
+
- rdoc/RubyXL/OleLink.html
|
471
474
|
- rdoc/RubyXL/OutlineProperties.html
|
472
475
|
- rdoc/RubyXL/PageMargins.html
|
473
476
|
- rdoc/RubyXL/PageSetup.html
|
@@ -626,6 +629,7 @@ files:
|
|
626
629
|
- spec/lib/color_spec.rb
|
627
630
|
- spec/lib/parser_spec.rb
|
628
631
|
- spec/lib/reference_spec.rb
|
632
|
+
- spec/lib/rgb_color_spec.rb
|
629
633
|
- spec/lib/stylesheet_spec.rb
|
630
634
|
- spec/lib/text_spec.rb
|
631
635
|
- spec/lib/workbook_spec.rb
|
@@ -633,7 +637,6 @@ files:
|
|
633
637
|
- spec/spec_helper.rb
|
634
638
|
- test/input/.gitkeep
|
635
639
|
- test/output/.gitkeep
|
636
|
-
- test/output/test.xlsx
|
637
640
|
- test/test_parse_write.rb
|
638
641
|
- tmp/.gitignore
|
639
642
|
homepage: http://github.com/gilt/rubyXL
|
@@ -655,8 +658,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
655
658
|
- !ruby/object:Gem::Version
|
656
659
|
version: '0'
|
657
660
|
requirements: []
|
658
|
-
|
659
|
-
rubygems_version: 2.7.9
|
661
|
+
rubygems_version: 3.1.2
|
660
662
|
signing_key:
|
661
663
|
specification_version: 4
|
662
664
|
summary: rubyXL is a gem which allows the parsing, creation, and manipulation of Microsoft
|
data/test/output/test.xlsx
DELETED
Binary file
|