rubyXL 3.4.38 → 3.4.39
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/Gemfile +4 -1
- data/README.rdoc +3 -4
- data/Rakefile +18 -13
- data/VERSION +1 -1
- data/lib/rubyXL/cell.rb +2 -2
- data/lib/rubyXL/convenience_methods/cell.rb +13 -6
- data/lib/rubyXL/convenience_methods/worksheet.rb +41 -30
- data/lib/rubyXL/objects/border.rb +9 -6
- data/lib/rubyXL/objects/cell_style.rb +2 -0
- data/lib/rubyXL/objects/color.rb +3 -1
- data/lib/rubyXL/objects/container_nodes.rb +2 -0
- data/lib/rubyXL/objects/fill.rb +2 -0
- data/lib/rubyXL/objects/font.rb +2 -0
- data/lib/rubyXL/objects/ooxml_object.rb +16 -16
- data/lib/rubyXL/objects/reference.rb +38 -33
- data/lib/rubyXL/objects/root.rb +8 -1
- data/lib/rubyXL/objects/sheet_data.rb +7 -2
- data/lib/rubyXL/objects/simple_types.rb +101 -98
- data/lib/rubyXL/objects/workbook.rb +5 -5
- data/lib/rubyXL/objects/worksheet.rb +23 -4
- data/lib/rubyXL/worksheet.rb +5 -17
- data/rdoc/README_rdoc.html +8 -8
- data/rdoc/RubyXL/AExtension.html +5 -5
- data/rdoc/RubyXL/AExtensionStorageArea.html +5 -5
- data/rdoc/RubyXL/ActiveX.html +5 -5
- data/rdoc/RubyXL/ActiveXBinary.html +5 -5
- data/rdoc/RubyXL/AdjustHandleList.html +5 -5
- data/rdoc/RubyXL/Alignment.html +5 -5
- data/rdoc/RubyXL/AlternateContent.html +5 -5
- data/rdoc/RubyXL/AlternateUrls.html +5 -5
- data/rdoc/RubyXL/Authors.html +5 -5
- data/rdoc/RubyXL/AutoFilter.html +5 -5
- data/rdoc/RubyXL/AutoFilterColumn.html +5 -5
- data/rdoc/RubyXL/BinaryImageFile.html +5 -5
- data/rdoc/RubyXL/BodyProperties.html +5 -5
- data/rdoc/RubyXL/BooleanNode.html +5 -5
- data/rdoc/RubyXL/BooleanValue.html +5 -5
- data/rdoc/RubyXL/Border.html +14 -13
- data/rdoc/RubyXL/BorderEdge.html +10 -10
- data/rdoc/RubyXL/Borders.html +6 -6
- data/rdoc/RubyXL/Break.html +5 -5
- data/rdoc/RubyXL/BreakList.html +5 -5
- data/rdoc/RubyXL/CT_AdjPoint2D.html +5 -5
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +5 -5
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +5 -5
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +5 -5
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +5 -5
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +5 -5
- data/rdoc/RubyXL/CT_Backdrop.html +5 -5
- data/rdoc/RubyXL/CT_Bevel.html +5 -5
- data/rdoc/RubyXL/CT_BiLevelEffect.html +5 -5
- data/rdoc/RubyXL/CT_BlendEffect.html +5 -5
- data/rdoc/RubyXL/CT_Blip.html +5 -5
- data/rdoc/RubyXL/CT_BlipFillProperties.html +5 -5
- data/rdoc/RubyXL/CT_BlurEffect.html +5 -5
- data/rdoc/RubyXL/CT_Camera.html +5 -5
- data/rdoc/RubyXL/CT_Color.html +5 -5
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +5 -5
- data/rdoc/RubyXL/CT_ColorMapping.html +5 -5
- data/rdoc/RubyXL/CT_ColorScheme.html +5 -5
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +5 -5
- data/rdoc/RubyXL/CT_ConnectionSite.html +5 -5
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +5 -5
- data/rdoc/RubyXL/CT_DashStop.html +5 -5
- data/rdoc/RubyXL/CT_DashStopList.html +5 -5
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +5 -5
- data/rdoc/RubyXL/CT_DuotoneEffect.html +5 -5
- data/rdoc/RubyXL/CT_EffectContainer.html +5 -5
- data/rdoc/RubyXL/CT_EffectList.html +5 -5
- data/rdoc/RubyXL/CT_EffectReference.html +5 -5
- data/rdoc/RubyXL/CT_EffectStyleItem.html +5 -5
- data/rdoc/RubyXL/CT_EffectStyleList.html +5 -5
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +5 -5
- data/rdoc/RubyXL/CT_FillEffect.html +5 -5
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +5 -5
- data/rdoc/RubyXL/CT_FillStyleList.html +5 -5
- data/rdoc/RubyXL/CT_FlatText.html +5 -5
- data/rdoc/RubyXL/CT_FontCollection.html +5 -5
- data/rdoc/RubyXL/CT_FontReference.html +5 -5
- data/rdoc/RubyXL/CT_GeomGuideList.html +5 -5
- data/rdoc/RubyXL/CT_GlowEffect.html +5 -5
- data/rdoc/RubyXL/CT_GradientFillProperties.html +5 -5
- data/rdoc/RubyXL/CT_GradientStop.html +5 -5
- data/rdoc/RubyXL/CT_GradientStopList.html +5 -5
- data/rdoc/RubyXL/CT_HSLEffect.html +5 -5
- data/rdoc/RubyXL/CT_HslColor.html +5 -5
- data/rdoc/RubyXL/CT_Hyperlink.html +5 -5
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +5 -5
- data/rdoc/RubyXL/CT_LightRig.html +5 -5
- data/rdoc/RubyXL/CT_LineEndProperties.html +5 -5
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +5 -5
- data/rdoc/RubyXL/CT_LineProperties.html +5 -5
- data/rdoc/RubyXL/CT_LineStyleList.html +5 -5
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +5 -5
- data/rdoc/RubyXL/CT_LuminanceEffect.html +5 -5
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +5 -5
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +5 -5
- data/rdoc/RubyXL/CT_Path2D.html +5 -5
- data/rdoc/RubyXL/CT_Path2DArcTo.html +5 -5
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +5 -5
- data/rdoc/RubyXL/CT_Path2DList.html +5 -5
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +5 -5
- data/rdoc/RubyXL/CT_Path2DTo.html +5 -5
- data/rdoc/RubyXL/CT_PathShadeProperties.html +5 -5
- data/rdoc/RubyXL/CT_PatternFillProperties.html +5 -5
- data/rdoc/RubyXL/CT_Point3D.html +5 -5
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +5 -5
- data/rdoc/RubyXL/CT_PresetColor.html +5 -5
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +5 -5
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +5 -5
- data/rdoc/RubyXL/CT_PresetTextShape.html +5 -5
- data/rdoc/RubyXL/CT_ReflectionEffect.html +5 -5
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +5 -5
- data/rdoc/RubyXL/CT_RelativeRect.html +5 -5
- data/rdoc/RubyXL/CT_SRgbColor.html +5 -5
- data/rdoc/RubyXL/CT_ScRgbColor.html +5 -5
- data/rdoc/RubyXL/CT_Scene3D.html +5 -5
- data/rdoc/RubyXL/CT_SchemeColor.html +5 -5
- data/rdoc/RubyXL/CT_Shape3D.html +5 -5
- data/rdoc/RubyXL/CT_ShapeStyle.html +5 -5
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +5 -5
- data/rdoc/RubyXL/CT_SphereCoords.html +5 -5
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +5 -5
- data/rdoc/RubyXL/CT_StyleMatrix.html +5 -5
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +5 -5
- data/rdoc/RubyXL/CT_SupplementalFont.html +5 -5
- data/rdoc/RubyXL/CT_SystemColor.html +5 -5
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +5 -5
- data/rdoc/RubyXL/CT_TextBlipBullet.html +5 -5
- data/rdoc/RubyXL/CT_TextCharBullet.html +5 -5
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +5 -5
- data/rdoc/RubyXL/CT_TextFont.html +5 -5
- data/rdoc/RubyXL/CT_TextListStyle.html +5 -5
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +5 -5
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +5 -5
- data/rdoc/RubyXL/CT_TextSpacing.html +5 -5
- data/rdoc/RubyXL/CT_TextTabStop.html +5 -5
- data/rdoc/RubyXL/CT_TextTabStopList.html +5 -5
- data/rdoc/RubyXL/CT_TileInfoProperties.html +5 -5
- data/rdoc/RubyXL/CT_TintEffect.html +5 -5
- data/rdoc/RubyXL/CT_Transform2D.html +5 -5
- data/rdoc/RubyXL/CT_TransformEffect.html +5 -5
- data/rdoc/RubyXL/CT_Vector3D.html +5 -5
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +5 -5
- data/rdoc/RubyXL/CalculationChain.html +5 -5
- data/rdoc/RubyXL/CalculationChainCell.html +5 -5
- data/rdoc/RubyXL/CalculationProperties.html +5 -5
- data/rdoc/RubyXL/Cell.html +6 -6
- data/rdoc/RubyXL/CellConvenienceMethods.html +69 -48
- data/rdoc/RubyXL/CellExt.html +5 -5
- data/rdoc/RubyXL/CellSmartTag.html +5 -5
- data/rdoc/RubyXL/CellSmartTagProperty.html +5 -5
- data/rdoc/RubyXL/CellSmartTags.html +5 -5
- data/rdoc/RubyXL/CellStyle.html +5 -5
- data/rdoc/RubyXL/CellStyleXFs.html +5 -5
- data/rdoc/RubyXL/CellStyles.html +5 -5
- data/rdoc/RubyXL/CellValue.html +5 -5
- data/rdoc/RubyXL/CellWatch.html +5 -5
- data/rdoc/RubyXL/CellWatches.html +5 -5
- data/rdoc/RubyXL/CellXFs.html +5 -5
- data/rdoc/RubyXL/ChartColorsFile.html +5 -5
- data/rdoc/RubyXL/ChartFile.html +5 -5
- data/rdoc/RubyXL/ChartStyleFile.html +5 -5
- data/rdoc/RubyXL/ChartUserShapesFile.html +5 -5
- data/rdoc/RubyXL/Chartsheet.html +5 -5
- data/rdoc/RubyXL/ChartsheetPageSetup.html +5 -5
- data/rdoc/RubyXL/ChartsheetProperties.html +5 -5
- data/rdoc/RubyXL/ChartsheetProtection.html +5 -5
- data/rdoc/RubyXL/ChartsheetView.html +5 -5
- data/rdoc/RubyXL/ChartsheetViews.html +5 -5
- data/rdoc/RubyXL/Color.html +7 -7
- data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +5 -5
- data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +5 -5
- data/rdoc/RubyXL/ColorConvenienceClasses.html +5 -5
- data/rdoc/RubyXL/ColorConvenienceMethods.html +5 -5
- data/rdoc/RubyXL/ColorFilter.html +5 -5
- data/rdoc/RubyXL/ColorScale.html +5 -5
- data/rdoc/RubyXL/ColorSet.html +5 -5
- data/rdoc/RubyXL/Colors.html +5 -5
- data/rdoc/RubyXL/ColumnRange.html +5 -5
- data/rdoc/RubyXL/ColumnRanges.html +5 -5
- data/rdoc/RubyXL/Comment.html +5 -5
- data/rdoc/RubyXL/CommentList.html +5 -5
- data/rdoc/RubyXL/CommentsFile.html +5 -5
- data/rdoc/RubyXL/ConditionalFormatValue.html +5 -5
- data/rdoc/RubyXL/ConditionalFormatting.html +5 -5
- data/rdoc/RubyXL/ConditionalFormattingRule.html +5 -5
- data/rdoc/RubyXL/Connection.html +5 -5
- data/rdoc/RubyXL/ConnectionTable.html +5 -5
- data/rdoc/RubyXL/ConnectionTables.html +5 -5
- data/rdoc/RubyXL/ConnectionTextField.html +5 -5
- data/rdoc/RubyXL/ConnectionTextFields.html +5 -5
- data/rdoc/RubyXL/Connections.html +5 -5
- data/rdoc/RubyXL/ContentTypeDefault.html +5 -5
- data/rdoc/RubyXL/ContentTypeOverride.html +5 -5
- data/rdoc/RubyXL/ContentTypes.html +5 -5
- data/rdoc/RubyXL/ControlPropertiesFile.html +5 -5
- data/rdoc/RubyXL/CorePropertiesFile.html +5 -5
- data/rdoc/RubyXL/CustomColor.html +5 -5
- data/rdoc/RubyXL/CustomColorList.html +5 -5
- data/rdoc/RubyXL/CustomFilter.html +5 -5
- data/rdoc/RubyXL/CustomFilters.html +5 -5
- data/rdoc/RubyXL/CustomGeometry.html +5 -5
- data/rdoc/RubyXL/CustomProperties.html +5 -5
- data/rdoc/RubyXL/CustomPropertiesFile.html +5 -5
- data/rdoc/RubyXL/CustomProperty.html +5 -5
- data/rdoc/RubyXL/CustomPropertyFile.html +5 -5
- data/rdoc/RubyXL/CustomSheetView.html +5 -5
- data/rdoc/RubyXL/CustomSheetViews.html +5 -5
- data/rdoc/RubyXL/CustomWorkbookView.html +5 -5
- data/rdoc/RubyXL/CustomWorkbookViews.html +5 -5
- data/rdoc/RubyXL/CustomXMLFile.html +5 -5
- data/rdoc/RubyXL/DXF.html +5 -5
- data/rdoc/RubyXL/DXFs.html +5 -5
- data/rdoc/RubyXL/DataBar.html +5 -5
- data/rdoc/RubyXL/DataConsolidate.html +5 -5
- data/rdoc/RubyXL/DataConsolidationReference.html +5 -5
- data/rdoc/RubyXL/DataConsolidationReferences.html +5 -5
- data/rdoc/RubyXL/DataType.html +5 -5
- data/rdoc/RubyXL/DataValidation.html +5 -5
- data/rdoc/RubyXL/DataValidations.html +5 -5
- data/rdoc/RubyXL/DateGroupItem.html +5 -5
- data/rdoc/RubyXL/DefinedName.html +5 -5
- data/rdoc/RubyXL/DefinedNameExt.html +5 -5
- data/rdoc/RubyXL/DefinedNames.html +5 -5
- data/rdoc/RubyXL/DefinedNamesExt.html +5 -5
- data/rdoc/RubyXL/DocumentPropertiesFile.html +5 -5
- data/rdoc/RubyXL/DrawingFile.html +5 -5
- data/rdoc/RubyXL/DynamicFilter.html +5 -5
- data/rdoc/RubyXL/EmbeddedControl.html +5 -5
- data/rdoc/RubyXL/EmbeddedControls.html +5 -5
- data/rdoc/RubyXL/Extension.html +5 -5
- data/rdoc/RubyXL/ExtensionStorageArea.html +5 -5
- data/rdoc/RubyXL/Extents.html +5 -5
- data/rdoc/RubyXL/ExternalBook.html +5 -5
- data/rdoc/RubyXL/ExternalLinksFile.html +5 -5
- data/rdoc/RubyXL/ExternalReference.html +5 -5
- data/rdoc/RubyXL/ExternalReferences.html +5 -5
- data/rdoc/RubyXL/ExtraColorSchemeList.html +5 -5
- data/rdoc/RubyXL/FieldItem.html +5 -5
- data/rdoc/RubyXL/FileRecoveryProperties.html +5 -5
- data/rdoc/RubyXL/FileSharing.html +5 -5
- data/rdoc/RubyXL/FileVersion.html +5 -5
- data/rdoc/RubyXL/Fill.html +6 -6
- data/rdoc/RubyXL/Fills.html +6 -6
- data/rdoc/RubyXL/FilterContainer.html +5 -5
- data/rdoc/RubyXL/FloatNode.html +5 -5
- data/rdoc/RubyXL/FloatValue.html +5 -5
- data/rdoc/RubyXL/Font.html +6 -6
- data/rdoc/RubyXL/FontConvenienceMethods.html +5 -5
- data/rdoc/RubyXL/FontScheme.html +5 -5
- data/rdoc/RubyXL/Fonts.html +6 -6
- data/rdoc/RubyXL/Formula.html +5 -5
- data/rdoc/RubyXL/FunctionGroup.html +5 -5
- data/rdoc/RubyXL/FunctionGroups.html +5 -5
- data/rdoc/RubyXL/GenericStorageObject.html +5 -5
- data/rdoc/RubyXL/GradientFill.html +5 -5
- data/rdoc/RubyXL/HeaderFooterSettings.html +5 -5
- data/rdoc/RubyXL/Hyperlink.html +5 -5
- data/rdoc/RubyXL/HyperlinkRelFile.html +5 -5
- data/rdoc/RubyXL/Hyperlinks.html +5 -5
- data/rdoc/RubyXL/IconFilter.html +5 -5
- data/rdoc/RubyXL/IconSet.html +5 -5
- data/rdoc/RubyXL/IgnoredError.html +5 -5
- data/rdoc/RubyXL/IgnoredErrors.html +5 -5
- data/rdoc/RubyXL/IndexedColors.html +5 -5
- data/rdoc/RubyXL/InputCells.html +5 -5
- data/rdoc/RubyXL/IntegerNode.html +5 -5
- data/rdoc/RubyXL/IntegerValue.html +5 -5
- data/rdoc/RubyXL/LegacyCell.html +5 -5
- data/rdoc/RubyXL/LegacyWorksheet.html +6 -140
- data/rdoc/RubyXL/MRUColors.html +5 -5
- data/rdoc/RubyXL/MacrosFile.html +5 -5
- data/rdoc/RubyXL/MergedCell.html +5 -5
- data/rdoc/RubyXL/MergedCells.html +5 -5
- data/rdoc/RubyXL/NumFmt.html +5 -5
- data/rdoc/RubyXL/NumberFormat.html +5 -5
- data/rdoc/RubyXL/NumberFormats.html +5 -5
- data/rdoc/RubyXL/OLEObject.html +5 -5
- data/rdoc/RubyXL/OLEObjectFile.html +5 -5
- data/rdoc/RubyXL/OLEObjects.html +5 -5
- data/rdoc/RubyXL/OLESize.html +5 -5
- data/rdoc/RubyXL/OOXMLContainerObject.html +13 -20
- data/rdoc/RubyXL/OOXMLIgnored.html +5 -5
- data/rdoc/RubyXL/OOXMLObject.html +5 -5
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +17 -13
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +16 -17
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +5 -5
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +6 -6
- data/rdoc/RubyXL/OdbcOleDbProperties.html +5 -5
- data/rdoc/RubyXL/Offset.html +5 -5
- data/rdoc/RubyXL/OlapProperties.html +5 -5
- data/rdoc/RubyXL/OleItem.html +5 -5
- data/rdoc/RubyXL/OleItems.html +5 -5
- data/rdoc/RubyXL/OleLink.html +5 -5
- data/rdoc/RubyXL/OutlineProperties.html +5 -5
- data/rdoc/RubyXL/PageMargins.html +5 -5
- data/rdoc/RubyXL/PageSetup.html +5 -5
- data/rdoc/RubyXL/PageSetupProperties.html +5 -5
- data/rdoc/RubyXL/Pane.html +5 -5
- data/rdoc/RubyXL/Parser.html +5 -5
- data/rdoc/RubyXL/PatternFill.html +5 -5
- data/rdoc/RubyXL/PersonMetadata.html +5 -5
- data/rdoc/RubyXL/PhoneticProperties.html +5 -5
- data/rdoc/RubyXL/PhoneticRun.html +5 -5
- data/rdoc/RubyXL/PivotArea.html +5 -5
- data/rdoc/RubyXL/PivotCache.html +5 -5
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +5 -5
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +5 -5
- data/rdoc/RubyXL/PivotCaches.html +5 -5
- data/rdoc/RubyXL/PivotReference.html +5 -5
- data/rdoc/RubyXL/PivotReferences.html +5 -5
- data/rdoc/RubyXL/{PivotTableSelection.html → PivotSelection.html} +12 -12
- data/rdoc/RubyXL/PivotTableFile.html +5 -5
- data/rdoc/RubyXL/PresetGeometry.html +5 -5
- data/rdoc/RubyXL/PrintOptions.html +5 -5
- data/rdoc/RubyXL/PrinterSettingsFile.html +5 -5
- data/rdoc/RubyXL/ProtectedRange.html +5 -5
- data/rdoc/RubyXL/ProtectedRanges.html +5 -5
- data/rdoc/RubyXL/Protection.html +5 -5
- data/rdoc/RubyXL/QueryParameter.html +5 -5
- data/rdoc/RubyXL/QueryParameters.html +5 -5
- data/rdoc/RubyXL/QueryTable.html +5 -5
- data/rdoc/RubyXL/QueryTableDeletedField.html +5 -5
- data/rdoc/RubyXL/QueryTableDeletedFields.html +5 -5
- data/rdoc/RubyXL/QueryTableField.html +5 -5
- data/rdoc/RubyXL/QueryTableFields.html +5 -5
- data/rdoc/RubyXL/QueryTableRefresh.html +5 -5
- data/rdoc/RubyXL/RID.html +5 -5
- data/rdoc/RubyXL/RawOOXML.html +5 -5
- data/rdoc/RubyXL/Reference.html +110 -154
- data/rdoc/RubyXL/Relationship.html +5 -5
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +5 -5
- data/rdoc/RubyXL/RelationshipSupport.html +5 -5
- data/rdoc/RubyXL/RevisionPointer.html +5 -5
- data/rdoc/RubyXL/RichText.html +5 -5
- data/rdoc/RubyXL/RichTextRun.html +5 -5
- data/rdoc/RubyXL/Row.html +14 -14
- data/rdoc/RubyXL/RowExt.html +5 -5
- data/rdoc/RubyXL/RunProperties.html +5 -5
- data/rdoc/RubyXL/Scenario.html +5 -5
- data/rdoc/RubyXL/Scenarios.html +5 -5
- data/rdoc/RubyXL/Selection.html +6 -6
- data/rdoc/RubyXL/ShapeGuide.html +5 -5
- data/rdoc/RubyXL/ShapeTextRectangle.html +5 -5
- data/rdoc/RubyXL/SharedStringsTable.html +5 -5
- data/rdoc/RubyXL/Sheet.html +5 -5
- data/rdoc/RubyXL/SheetCalculationProperties.html +5 -5
- data/rdoc/RubyXL/SheetData.html +7 -7
- data/rdoc/RubyXL/SheetDataExt.html +5 -5
- data/rdoc/RubyXL/SheetDataSet.html +5 -5
- data/rdoc/RubyXL/SheetMetadata.html +5 -5
- data/rdoc/RubyXL/SheetName.html +5 -5
- data/rdoc/RubyXL/SheetNames.html +5 -5
- data/rdoc/RubyXL/Sheets.html +5 -5
- data/rdoc/RubyXL/SlicerCacheFile.html +5 -5
- data/rdoc/RubyXL/SlicerFile.html +5 -5
- data/rdoc/RubyXL/SmartTagProperties.html +5 -5
- data/rdoc/RubyXL/SmartTagType.html +5 -5
- data/rdoc/RubyXL/SmartTagTypes.html +5 -5
- data/rdoc/RubyXL/SmartTags.html +5 -5
- data/rdoc/RubyXL/SortCondition.html +5 -5
- data/rdoc/RubyXL/SortState.html +5 -5
- data/rdoc/RubyXL/Sqref.html +7 -7
- data/rdoc/RubyXL/Stop.html +5 -5
- data/rdoc/RubyXL/StringNode.html +5 -5
- data/rdoc/RubyXL/StringNodeW3C.html +7 -7
- data/rdoc/RubyXL/StringValue.html +5 -5
- data/rdoc/RubyXL/Stylesheet.html +5 -5
- data/rdoc/RubyXL/TableFile.html +5 -5
- data/rdoc/RubyXL/TableParts.html +5 -5
- data/rdoc/RubyXL/TableStyle.html +5 -5
- data/rdoc/RubyXL/TableStyles.html +5 -5
- data/rdoc/RubyXL/Text.html +5 -5
- data/rdoc/RubyXL/TextImportSettings.html +5 -5
- data/rdoc/RubyXL/Theme.html +5 -5
- data/rdoc/RubyXL/ThemeElements.html +5 -5
- data/rdoc/RubyXL/ThumbnailFile.html +5 -5
- data/rdoc/RubyXL/Top10.html +5 -5
- data/rdoc/RubyXL/VMLDrawingFile.html +5 -5
- data/rdoc/RubyXL/Variant.html +5 -5
- data/rdoc/RubyXL/Vector.html +6 -6
- data/rdoc/RubyXL/VectorValue.html +5 -5
- data/rdoc/RubyXL/VisualProperties.html +5 -5
- data/rdoc/RubyXL/WebPublishObject.html +5 -5
- data/rdoc/RubyXL/WebPublishObjects.html +5 -5
- data/rdoc/RubyXL/WebPublishingItem.html +5 -5
- data/rdoc/RubyXL/WebPublishingItems.html +5 -5
- data/rdoc/RubyXL/WebPublishingProperties.html +5 -5
- data/rdoc/RubyXL/WebQueryProperties.html +5 -5
- data/rdoc/RubyXL/Workbook.html +8 -8
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +5 -5
- data/rdoc/RubyXL/WorkbookProperties.html +5 -5
- data/rdoc/RubyXL/WorkbookProtection.html +5 -5
- data/rdoc/RubyXL/WorkbookRoot.html +15 -8
- data/rdoc/RubyXL/WorkbookView.html +5 -5
- data/rdoc/RubyXL/WorkbookViews.html +5 -5
- data/rdoc/RubyXL/Worksheet.html +147 -13
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +111 -100
- data/rdoc/RubyXL/WorksheetDimensions.html +6 -6
- data/rdoc/RubyXL/WorksheetFormatProperties.html +5 -5
- data/rdoc/RubyXL/WorksheetProperties.html +5 -5
- data/rdoc/RubyXL/WorksheetProtection.html +5 -5
- data/rdoc/RubyXL/WorksheetView.html +5 -5
- data/rdoc/RubyXL/WorksheetViews.html +5 -5
- data/rdoc/RubyXL/XF.html +5 -5
- data/rdoc/RubyXL.html +13 -5
- data/rdoc/created.rid +20 -20
- data/rdoc/index.html +10 -10
- data/rdoc/js/search_data.js +1 -1
- data/rubyXL.gemspec +7 -4
- data/spec/lib/cell_spec.rb +45 -5
- data/spec/lib/color_spec.rb +2 -2
- data/spec/lib/reference_spec.rb +25 -0
- data/spec/lib/workbook_root_spec.rb +43 -0
- data/spec/lib/worksheet_spec.rb +65 -57
- metadata +32 -3
data/spec/lib/worksheet_spec.rb
CHANGED
|
@@ -34,13 +34,13 @@ describe RubyXL::Worksheet do
|
|
|
34
34
|
it 'should raise error if hex color code not passed' do
|
|
35
35
|
expect {
|
|
36
36
|
subject.change_row_fill(0, 'G')
|
|
37
|
-
}.to raise_error(
|
|
37
|
+
}.to raise_error(ArgumentError)
|
|
38
38
|
end
|
|
39
39
|
|
|
40
40
|
it 'should raise error if hex color code includes # character' do
|
|
41
41
|
expect {
|
|
42
42
|
subject.change_row_fill(3, '#FFF000')
|
|
43
|
-
}.to raise_error(
|
|
43
|
+
}.to raise_error(ArgumentError)
|
|
44
44
|
end
|
|
45
45
|
|
|
46
46
|
it 'should make row and cell fill colors equal hex color code passed' do
|
|
@@ -52,7 +52,7 @@ describe RubyXL::Worksheet do
|
|
|
52
52
|
it 'should cause error if a negative argument is passed in' do
|
|
53
53
|
expect {
|
|
54
54
|
subject.change_row_fill(-1, '111111')
|
|
55
|
-
}.to raise_error(
|
|
55
|
+
}.to raise_error(ArgumentError)
|
|
56
56
|
end
|
|
57
57
|
|
|
58
58
|
it 'should create a new row if it did not exist before' do
|
|
@@ -73,7 +73,7 @@ describe RubyXL::Worksheet do
|
|
|
73
73
|
it 'should cause error if a negative argument is passed in' do
|
|
74
74
|
expect {
|
|
75
75
|
subject.change_row_font_name(-1, 'Arial')
|
|
76
|
-
}.to raise_error(
|
|
76
|
+
}.to raise_error(ArgumentError)
|
|
77
77
|
end
|
|
78
78
|
|
|
79
79
|
it 'should create a new row if it did not exist before' do
|
|
@@ -94,13 +94,13 @@ describe RubyXL::Worksheet do
|
|
|
94
94
|
it 'should cause an error if a string passed' do
|
|
95
95
|
expect {
|
|
96
96
|
subject.change_row_font_size(0, '20')
|
|
97
|
-
}.to raise_error(
|
|
97
|
+
}.to raise_error(ArgumentError)
|
|
98
98
|
end
|
|
99
99
|
|
|
100
100
|
it 'should cause error if a negative argument is passed in' do
|
|
101
101
|
expect {
|
|
102
102
|
subject.change_row_font_size(-1, 20)
|
|
103
|
-
}.to raise_error(
|
|
103
|
+
}.to raise_error(ArgumentError)
|
|
104
104
|
end
|
|
105
105
|
|
|
106
106
|
it 'should create a new row if it did not exist before' do
|
|
@@ -121,19 +121,19 @@ describe RubyXL::Worksheet do
|
|
|
121
121
|
it 'should raise error if hex color code not passed' do
|
|
122
122
|
expect {
|
|
123
123
|
subject.change_row_font_color(0, 'G')
|
|
124
|
-
}.to raise_error(
|
|
124
|
+
}.to raise_error(ArgumentError)
|
|
125
125
|
end
|
|
126
126
|
|
|
127
127
|
it 'should raise error if hex color code includes # character' do
|
|
128
128
|
expect {
|
|
129
129
|
subject.change_row_font_color(3, '#FFF000')
|
|
130
|
-
}.to raise_error(
|
|
130
|
+
}.to raise_error(ArgumentError)
|
|
131
131
|
end
|
|
132
132
|
|
|
133
133
|
it 'should cause error if a negative argument is passed in' do
|
|
134
134
|
expect {
|
|
135
135
|
subject.change_row_font_color(-1, '0f0f0f')
|
|
136
|
-
}.to raise_error(
|
|
136
|
+
}.to raise_error(ArgumentError)
|
|
137
137
|
end
|
|
138
138
|
|
|
139
139
|
it 'should create a new row if it did not exist before' do
|
|
@@ -154,7 +154,7 @@ describe RubyXL::Worksheet do
|
|
|
154
154
|
it 'should cause error if a negative argument is passed in' do
|
|
155
155
|
expect {
|
|
156
156
|
subject.change_row_italics(-1, false)
|
|
157
|
-
}.to raise_error(
|
|
157
|
+
}.to raise_error(ArgumentError)
|
|
158
158
|
end
|
|
159
159
|
|
|
160
160
|
it 'should create a new row if it did not exist before' do
|
|
@@ -175,7 +175,7 @@ describe RubyXL::Worksheet do
|
|
|
175
175
|
it 'should cause error if a negative argument is passed in' do
|
|
176
176
|
expect {
|
|
177
177
|
subject.change_row_bold(-1, false)
|
|
178
|
-
}.to raise_error(
|
|
178
|
+
}.to raise_error(ArgumentError)
|
|
179
179
|
end
|
|
180
180
|
|
|
181
181
|
it 'should create a new row if it did not exist before' do
|
|
@@ -196,7 +196,7 @@ describe RubyXL::Worksheet do
|
|
|
196
196
|
it 'should cause error if a negative argument is passed in' do
|
|
197
197
|
expect {
|
|
198
198
|
subject.change_row_underline(-1, false)
|
|
199
|
-
}.to raise_error(
|
|
199
|
+
}.to raise_error(ArgumentError)
|
|
200
200
|
end
|
|
201
201
|
|
|
202
202
|
it 'should create a new row if it did not exist before' do
|
|
@@ -217,7 +217,7 @@ describe RubyXL::Worksheet do
|
|
|
217
217
|
it 'should cause error if a negative argument is passed in' do
|
|
218
218
|
expect {
|
|
219
219
|
subject.change_row_strikethrough(-1, false)
|
|
220
|
-
}.to raise_error(
|
|
220
|
+
}.to raise_error(ArgumentError)
|
|
221
221
|
end
|
|
222
222
|
|
|
223
223
|
it 'should create a new row if it did not exist before' do
|
|
@@ -242,7 +242,7 @@ describe RubyXL::Worksheet do
|
|
|
242
242
|
it 'should cause error if a negative argument is passed in' do
|
|
243
243
|
expect {
|
|
244
244
|
subject.change_row_height(-1, 30)
|
|
245
|
-
}.to raise_error(
|
|
245
|
+
}.to raise_error(ArgumentError)
|
|
246
246
|
end
|
|
247
247
|
|
|
248
248
|
it 'should create a new row if it did not exist before' do
|
|
@@ -263,7 +263,7 @@ describe RubyXL::Worksheet do
|
|
|
263
263
|
it 'should cause error if a negative argument is passed in' do
|
|
264
264
|
expect {
|
|
265
265
|
subject.change_row_horizontal_alignment(-1, 'center')
|
|
266
|
-
}.to raise_error(
|
|
266
|
+
}.to raise_error(ArgumentError)
|
|
267
267
|
end
|
|
268
268
|
|
|
269
269
|
it 'should create a new row if it did not exist before' do
|
|
@@ -284,7 +284,7 @@ describe RubyXL::Worksheet do
|
|
|
284
284
|
it 'should cause error if a negative argument is passed in' do
|
|
285
285
|
expect {
|
|
286
286
|
subject.change_row_vertical_alignment(-1, 'center')
|
|
287
|
-
}.to raise_error(
|
|
287
|
+
}.to raise_error(ArgumentError)
|
|
288
288
|
end
|
|
289
289
|
|
|
290
290
|
it 'should create a new row if it did not exist before' do
|
|
@@ -299,7 +299,7 @@ describe RubyXL::Worksheet do
|
|
|
299
299
|
it 'should cause error if a negative argument is passed in' do
|
|
300
300
|
expect {
|
|
301
301
|
subject.change_row_border(-1, :left, 'thin')
|
|
302
|
-
}.to raise_error(
|
|
302
|
+
}.to raise_error(ArgumentError)
|
|
303
303
|
end
|
|
304
304
|
|
|
305
305
|
it 'should create a new row if it did not exist before' do
|
|
@@ -350,7 +350,7 @@ describe RubyXL::Worksheet do
|
|
|
350
350
|
it 'should cause error if a negative argument is passed in' do
|
|
351
351
|
expect {
|
|
352
352
|
subject.change_column_font_name(-1, 'Arial')
|
|
353
|
-
}.to raise_error(
|
|
353
|
+
}.to raise_error(ArgumentError)
|
|
354
354
|
end
|
|
355
355
|
end
|
|
356
356
|
|
|
@@ -364,13 +364,13 @@ describe RubyXL::Worksheet do
|
|
|
364
364
|
it 'should cause an error if a string passed' do
|
|
365
365
|
expect {
|
|
366
366
|
subject.change_column_font_size(0, '20')
|
|
367
|
-
}.to raise_error(
|
|
367
|
+
}.to raise_error(ArgumentError)
|
|
368
368
|
end
|
|
369
369
|
|
|
370
370
|
it 'should cause error if a negative argument is passed in' do
|
|
371
371
|
expect {
|
|
372
372
|
subject.change_column_font_size(-1, 20)
|
|
373
|
-
}.to raise_error(
|
|
373
|
+
}.to raise_error(ArgumentError)
|
|
374
374
|
end
|
|
375
375
|
end
|
|
376
376
|
|
|
@@ -384,19 +384,19 @@ describe RubyXL::Worksheet do
|
|
|
384
384
|
it 'should raise error if hex color code not passed' do
|
|
385
385
|
expect {
|
|
386
386
|
subject.change_column_font_color(0, 'G')
|
|
387
|
-
}.to raise_error(
|
|
387
|
+
}.to raise_error(ArgumentError)
|
|
388
388
|
end
|
|
389
389
|
|
|
390
390
|
it 'should raise error if hex color code includes # character' do
|
|
391
391
|
expect {
|
|
392
392
|
subject.change_column_font_color(0, '#FFF000')
|
|
393
|
-
}.to raise_error(
|
|
393
|
+
}.to raise_error(ArgumentError)
|
|
394
394
|
end
|
|
395
395
|
|
|
396
396
|
it 'should cause error if a negative argument is passed in' do
|
|
397
397
|
expect {
|
|
398
398
|
subject.change_column_font_color(-1, '0f0f0f')
|
|
399
|
-
}.to raise_error(
|
|
399
|
+
}.to raise_error(ArgumentError)
|
|
400
400
|
end
|
|
401
401
|
end
|
|
402
402
|
|
|
@@ -410,7 +410,7 @@ describe RubyXL::Worksheet do
|
|
|
410
410
|
it 'should cause error if a negative argument is passed in' do
|
|
411
411
|
expect {
|
|
412
412
|
subject.change_column_italics(-1, false)
|
|
413
|
-
}.to raise_error(
|
|
413
|
+
}.to raise_error(ArgumentError)
|
|
414
414
|
end
|
|
415
415
|
end
|
|
416
416
|
|
|
@@ -424,7 +424,7 @@ describe RubyXL::Worksheet do
|
|
|
424
424
|
it 'should cause error if a negative argument is passed in' do
|
|
425
425
|
expect {
|
|
426
426
|
subject.change_column_bold(-1, false)
|
|
427
|
-
}.to raise_error(
|
|
427
|
+
}.to raise_error(ArgumentError)
|
|
428
428
|
end
|
|
429
429
|
end
|
|
430
430
|
|
|
@@ -438,7 +438,7 @@ describe RubyXL::Worksheet do
|
|
|
438
438
|
it 'should cause error if a negative argument is passed in' do
|
|
439
439
|
expect {
|
|
440
440
|
subject.change_column_underline(-1, false)
|
|
441
|
-
}.to raise_error(
|
|
441
|
+
}.to raise_error(ArgumentError)
|
|
442
442
|
end
|
|
443
443
|
end
|
|
444
444
|
|
|
@@ -452,7 +452,7 @@ describe RubyXL::Worksheet do
|
|
|
452
452
|
it 'should cause error if a negative argument is passed in' do
|
|
453
453
|
expect {
|
|
454
454
|
subject.change_column_strikethrough(-1, false)
|
|
455
|
-
}.to raise_error(
|
|
455
|
+
}.to raise_error(ArgumentError)
|
|
456
456
|
end
|
|
457
457
|
end
|
|
458
458
|
|
|
@@ -465,7 +465,7 @@ describe RubyXL::Worksheet do
|
|
|
465
465
|
it 'should cause error if a negative argument is passed in' do
|
|
466
466
|
expect {
|
|
467
467
|
subject.change_column_width_raw(-1, 10)
|
|
468
|
-
}.to raise_error(
|
|
468
|
+
}.to raise_error(ArgumentError)
|
|
469
469
|
end
|
|
470
470
|
end
|
|
471
471
|
|
|
@@ -473,13 +473,13 @@ describe RubyXL::Worksheet do
|
|
|
473
473
|
it 'should raise error if hex color code not passed' do
|
|
474
474
|
expect {
|
|
475
475
|
subject.change_column_fill(0, 'G')
|
|
476
|
-
}.to raise_error(
|
|
476
|
+
}.to raise_error(ArgumentError)
|
|
477
477
|
end
|
|
478
478
|
|
|
479
479
|
it 'should raise error if hex color code includes # character' do
|
|
480
480
|
expect {
|
|
481
481
|
subject.change_column_fill(3, '#FFF000')
|
|
482
|
-
}.to raise_error(
|
|
482
|
+
}.to raise_error(ArgumentError)
|
|
483
483
|
end
|
|
484
484
|
|
|
485
485
|
it 'should make column and cell fill colors equal hex color code passed' do
|
|
@@ -491,7 +491,7 @@ describe RubyXL::Worksheet do
|
|
|
491
491
|
it 'should cause error if a negative argument is passed in' do
|
|
492
492
|
expect {
|
|
493
493
|
subject.change_column_fill(-1, '111111')
|
|
494
|
-
}.to raise_error(
|
|
494
|
+
}.to raise_error(ArgumentError)
|
|
495
495
|
end
|
|
496
496
|
end
|
|
497
497
|
|
|
@@ -505,7 +505,7 @@ describe RubyXL::Worksheet do
|
|
|
505
505
|
it 'should cause error if a negative argument is passed in' do
|
|
506
506
|
expect {
|
|
507
507
|
subject.change_column_horizontal_alignment(-1, 'center')
|
|
508
|
-
}.to raise_error(
|
|
508
|
+
}.to raise_error(ArgumentError)
|
|
509
509
|
end
|
|
510
510
|
end
|
|
511
511
|
|
|
@@ -519,7 +519,7 @@ describe RubyXL::Worksheet do
|
|
|
519
519
|
it 'should cause error if a negative argument is passed in' do
|
|
520
520
|
expect {
|
|
521
521
|
subject.change_column_vertical_alignment(-1, 'center')
|
|
522
|
-
}.to raise_error(
|
|
522
|
+
}.to raise_error(ArgumentError)
|
|
523
523
|
end
|
|
524
524
|
|
|
525
525
|
it 'should set column width if column alignment is changed' do
|
|
@@ -538,7 +538,7 @@ describe RubyXL::Worksheet do
|
|
|
538
538
|
it 'should cause error if a negative argument is passed in' do
|
|
539
539
|
expect {
|
|
540
540
|
subject.change_column_border(-1, :top, 'thin')
|
|
541
|
-
}.to raise_error(
|
|
541
|
+
}.to raise_error(ArgumentError)
|
|
542
542
|
end
|
|
543
543
|
|
|
544
544
|
it 'should cause column and cells within to have border at top of specified weight' do
|
|
@@ -633,10 +633,18 @@ describe RubyXL::Worksheet do
|
|
|
633
633
|
expect(subject[11][11].formula.expression).to eq('B2')
|
|
634
634
|
end
|
|
635
635
|
|
|
636
|
+
it 'should add boolean cells' do
|
|
637
|
+
subject.add_cell(0, 0, true)
|
|
638
|
+
subject.add_cell(1, 0, false)
|
|
639
|
+
expect(subject[0][0].datatype).to eq(RubyXL::DataType::BOOLEAN)
|
|
640
|
+
expect(subject[0][0].value).to eq(1)
|
|
641
|
+
expect(subject[1][0].value).to eq(0)
|
|
642
|
+
end
|
|
643
|
+
|
|
636
644
|
it 'should cause error if a negative argument is passed in' do
|
|
637
645
|
expect {
|
|
638
646
|
subject.add_cell(-1, -1, '')
|
|
639
|
-
}.to raise_error(
|
|
647
|
+
}.to raise_error(ArgumentError)
|
|
640
648
|
end
|
|
641
649
|
end
|
|
642
650
|
|
|
@@ -664,7 +672,7 @@ describe RubyXL::Worksheet do
|
|
|
664
672
|
it 'should cause error if a negative argument is passed in' do
|
|
665
673
|
expect {
|
|
666
674
|
subject.delete_row(-1)
|
|
667
|
-
}.to raise_error(
|
|
675
|
+
}.to raise_error(ArgumentError)
|
|
668
676
|
end
|
|
669
677
|
|
|
670
678
|
it 'should properly reindex the cells' do
|
|
@@ -823,7 +831,7 @@ describe RubyXL::Worksheet do
|
|
|
823
831
|
it 'should cause error if a negative argument is passed in' do
|
|
824
832
|
expect {
|
|
825
833
|
subject.insert_row(-1)
|
|
826
|
-
}.to raise_error(
|
|
834
|
+
}.to raise_error(ArgumentError)
|
|
827
835
|
end
|
|
828
836
|
|
|
829
837
|
it 'should expand matrix to fit argument if nonnegative' do
|
|
@@ -943,7 +951,7 @@ describe RubyXL::Worksheet do
|
|
|
943
951
|
it 'should cause error if negative argument is passed in' do
|
|
944
952
|
expect {
|
|
945
953
|
subject.delete_column(-1)
|
|
946
|
-
}.to raise_error(
|
|
954
|
+
}.to raise_error(ArgumentError)
|
|
947
955
|
end
|
|
948
956
|
|
|
949
957
|
it 'should properly reindex the cells' do
|
|
@@ -1106,7 +1114,7 @@ describe RubyXL::Worksheet do
|
|
|
1106
1114
|
it 'should cause error if a negative argument is passed in' do
|
|
1107
1115
|
expect {
|
|
1108
1116
|
subject.insert_column(-1)
|
|
1109
|
-
}.to raise_error(
|
|
1117
|
+
}.to raise_error(ArgumentError)
|
|
1110
1118
|
end
|
|
1111
1119
|
|
|
1112
1120
|
it 'should properly reindex the cells' do
|
|
@@ -1218,13 +1226,13 @@ describe RubyXL::Worksheet do
|
|
|
1218
1226
|
it 'should cause error if shift argument is specified which is not :right or :down' do
|
|
1219
1227
|
expect {
|
|
1220
1228
|
subject.insert_cell(0, 0, 'test', nil, :up)
|
|
1221
|
-
}.to raise_error(
|
|
1229
|
+
}.to raise_error(ArgumentError)
|
|
1222
1230
|
end
|
|
1223
1231
|
|
|
1224
1232
|
it 'should cause error if a negative argument is passed in' do
|
|
1225
1233
|
expect {
|
|
1226
1234
|
subject.insert_cell(-1, -1)
|
|
1227
|
-
}.to raise_error(
|
|
1235
|
+
}.to raise_error(ArgumentError)
|
|
1228
1236
|
end
|
|
1229
1237
|
end
|
|
1230
1238
|
|
|
@@ -1244,7 +1252,7 @@ describe RubyXL::Worksheet do
|
|
|
1244
1252
|
it 'should cause error if a negative argument is passed in' do
|
|
1245
1253
|
expect {
|
|
1246
1254
|
subject.delete_cell(-1, -1)
|
|
1247
|
-
}.to raise_error(
|
|
1255
|
+
}.to raise_error(ArgumentError)
|
|
1248
1256
|
end
|
|
1249
1257
|
|
|
1250
1258
|
it 'should shift cells to the right of the deleted cell left if :left is specified' do
|
|
@@ -1271,7 +1279,7 @@ describe RubyXL::Worksheet do
|
|
|
1271
1279
|
it 'should cause en error if an argument other than :left, :up, or nil is specified for shift' do
|
|
1272
1280
|
expect {
|
|
1273
1281
|
subject.delete_cell(0, 0, :down)
|
|
1274
|
-
}.to raise_error(
|
|
1282
|
+
}.to raise_error(ArgumentError)
|
|
1275
1283
|
end
|
|
1276
1284
|
end
|
|
1277
1285
|
|
|
@@ -1384,7 +1392,7 @@ describe RubyXL::Worksheet do
|
|
|
1384
1392
|
it 'should cause error if a negative argument is passed in' do
|
|
1385
1393
|
expect {
|
|
1386
1394
|
subject.get_row_height(-1)
|
|
1387
|
-
}.to raise_error(
|
|
1395
|
+
}.to raise_error(ArgumentError)
|
|
1388
1396
|
end
|
|
1389
1397
|
end
|
|
1390
1398
|
|
|
@@ -1440,7 +1448,7 @@ describe RubyXL::Worksheet do
|
|
|
1440
1448
|
it 'should cause error if a negative argument is passed in' do
|
|
1441
1449
|
expect {
|
|
1442
1450
|
subject.get_column_font_name(-1)
|
|
1443
|
-
}.to raise_error(
|
|
1451
|
+
}.to raise_error(ArgumentError)
|
|
1444
1452
|
end
|
|
1445
1453
|
|
|
1446
1454
|
it 'should return default font if a (nonnegative) column which does not exist is passed in' do
|
|
@@ -1457,7 +1465,7 @@ describe RubyXL::Worksheet do
|
|
|
1457
1465
|
it 'should cause error if a negative argument is passed in' do
|
|
1458
1466
|
expect {
|
|
1459
1467
|
subject.get_column_font_size(-1)
|
|
1460
|
-
}.to raise_error(
|
|
1468
|
+
}.to raise_error(ArgumentError)
|
|
1461
1469
|
end
|
|
1462
1470
|
|
|
1463
1471
|
it 'should return default font size if a column which does not exist is passed in' do
|
|
@@ -1474,7 +1482,7 @@ describe RubyXL::Worksheet do
|
|
|
1474
1482
|
it 'should cause error if a negative argument is passed in' do
|
|
1475
1483
|
expect {
|
|
1476
1484
|
subject.get_column_font_color(-1)
|
|
1477
|
-
}.to raise_error(
|
|
1485
|
+
}.to raise_error(ArgumentError)
|
|
1478
1486
|
end
|
|
1479
1487
|
|
|
1480
1488
|
it 'should return default color (000000) if a (nonnegative) column which does not exist is passed in' do
|
|
@@ -1495,7 +1503,7 @@ describe RubyXL::Worksheet do
|
|
|
1495
1503
|
it 'should cause error if a negative argument is passed in' do
|
|
1496
1504
|
expect {
|
|
1497
1505
|
subject.is_column_italicized(-1)
|
|
1498
|
-
}.to raise_error(
|
|
1506
|
+
}.to raise_error(ArgumentError)
|
|
1499
1507
|
end
|
|
1500
1508
|
|
|
1501
1509
|
it 'should return nil if a (nonnegative) column which does not exist is passed in' do
|
|
@@ -1512,7 +1520,7 @@ describe RubyXL::Worksheet do
|
|
|
1512
1520
|
it 'should cause error if a negative argument is passed in' do
|
|
1513
1521
|
expect {
|
|
1514
1522
|
subject.is_column_bolded(-1)
|
|
1515
|
-
}.to raise_error(
|
|
1523
|
+
}.to raise_error(ArgumentError)
|
|
1516
1524
|
end
|
|
1517
1525
|
|
|
1518
1526
|
it 'should return nil if a (nonnegative) column which does not exist is passed in' do
|
|
@@ -1529,7 +1537,7 @@ describe RubyXL::Worksheet do
|
|
|
1529
1537
|
it 'should cause error if a negative argument is passed in' do
|
|
1530
1538
|
expect {
|
|
1531
1539
|
subject.is_column_underlined(-1)
|
|
1532
|
-
}.to raise_error(
|
|
1540
|
+
}.to raise_error(ArgumentError)
|
|
1533
1541
|
end
|
|
1534
1542
|
|
|
1535
1543
|
it 'should return nil if a (nonnegative) column which does not exist is passed in' do
|
|
@@ -1546,7 +1554,7 @@ describe RubyXL::Worksheet do
|
|
|
1546
1554
|
it 'should cause error if a negative argument is passed in' do
|
|
1547
1555
|
expect {
|
|
1548
1556
|
subject.is_column_struckthrough(-1)
|
|
1549
|
-
}.to raise_error(
|
|
1557
|
+
}.to raise_error(ArgumentError)
|
|
1550
1558
|
end
|
|
1551
1559
|
|
|
1552
1560
|
it 'should return nil if a (nonnegative) column which does not exist is passed in' do
|
|
@@ -1571,7 +1579,7 @@ describe RubyXL::Worksheet do
|
|
|
1571
1579
|
it 'should cause error if a negative argument is passed in' do
|
|
1572
1580
|
expect {
|
|
1573
1581
|
subject.get_column_width_raw(-1)
|
|
1574
|
-
}.to raise_error(
|
|
1582
|
+
}.to raise_error(ArgumentError)
|
|
1575
1583
|
end
|
|
1576
1584
|
end
|
|
1577
1585
|
|
|
@@ -1592,7 +1600,7 @@ describe RubyXL::Worksheet do
|
|
|
1592
1600
|
it 'should cause error if a negative argument is passed in' do
|
|
1593
1601
|
expect {
|
|
1594
1602
|
subject.get_column_width(-1)
|
|
1595
|
-
}.to raise_error(
|
|
1603
|
+
}.to raise_error(ArgumentError)
|
|
1596
1604
|
end
|
|
1597
1605
|
end
|
|
1598
1606
|
|
|
@@ -1613,7 +1621,7 @@ describe RubyXL::Worksheet do
|
|
|
1613
1621
|
it 'should cause error if a negative argument is passed in' do
|
|
1614
1622
|
expect {
|
|
1615
1623
|
subject.get_column_fill(-1)
|
|
1616
|
-
}.to raise_error(
|
|
1624
|
+
}.to raise_error(ArgumentError)
|
|
1617
1625
|
end
|
|
1618
1626
|
end
|
|
1619
1627
|
|
|
@@ -1629,7 +1637,7 @@ describe RubyXL::Worksheet do
|
|
|
1629
1637
|
it 'should cause error if a negative argument is passed in' do
|
|
1630
1638
|
expect {
|
|
1631
1639
|
subject.get_column_alignment(-1, :horizontal)
|
|
1632
|
-
}.to raise_error(
|
|
1640
|
+
}.to raise_error(ArgumentError)
|
|
1633
1641
|
end
|
|
1634
1642
|
|
|
1635
1643
|
it 'should return correct horizontal alignment if it is set for that column' do
|
|
@@ -1650,7 +1658,7 @@ describe RubyXL::Worksheet do
|
|
|
1650
1658
|
it 'should cause error if a negative argument is passed in' do
|
|
1651
1659
|
expect {
|
|
1652
1660
|
subject.get_column_alignment(-1, :vertical)
|
|
1653
|
-
}.to raise_error(
|
|
1661
|
+
}.to raise_error(ArgumentError)
|
|
1654
1662
|
end
|
|
1655
1663
|
|
|
1656
1664
|
it 'should return correct vertical alignment if it is set for that column' do
|
|
@@ -1672,7 +1680,7 @@ describe RubyXL::Worksheet do
|
|
|
1672
1680
|
it 'should cause error if a negative argument is passed in' do
|
|
1673
1681
|
expect {
|
|
1674
1682
|
subject.get_column_border(-1, :diagonal)
|
|
1675
|
-
}.to raise_error(
|
|
1683
|
+
}.to raise_error(ArgumentError)
|
|
1676
1684
|
end
|
|
1677
1685
|
|
|
1678
1686
|
it 'should return nil if a column which does not exist is passed in' do
|
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.39
|
|
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: 2026-
|
|
12
|
+
date: 2026-11-19 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: nokogiri
|
|
@@ -81,6 +81,20 @@ dependencies:
|
|
|
81
81
|
- - ">="
|
|
82
82
|
- !ruby/object:Gem::Version
|
|
83
83
|
version: '0'
|
|
84
|
+
- !ruby/object:Gem::Dependency
|
|
85
|
+
name: git
|
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
|
87
|
+
requirements:
|
|
88
|
+
- - "~>"
|
|
89
|
+
- !ruby/object:Gem::Version
|
|
90
|
+
version: '4.1'
|
|
91
|
+
type: :development
|
|
92
|
+
prerelease: false
|
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
94
|
+
requirements:
|
|
95
|
+
- - "~>"
|
|
96
|
+
- !ruby/object:Gem::Version
|
|
97
|
+
version: '4.1'
|
|
84
98
|
- !ruby/object:Gem::Dependency
|
|
85
99
|
name: rspec
|
|
86
100
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -109,6 +123,20 @@ dependencies:
|
|
|
109
123
|
- - ">="
|
|
110
124
|
- !ruby/object:Gem::Version
|
|
111
125
|
version: '0'
|
|
126
|
+
- !ruby/object:Gem::Dependency
|
|
127
|
+
name: stackprof
|
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
|
129
|
+
requirements:
|
|
130
|
+
- - ">="
|
|
131
|
+
- !ruby/object:Gem::Version
|
|
132
|
+
version: '0'
|
|
133
|
+
type: :development
|
|
134
|
+
prerelease: false
|
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
136
|
+
requirements:
|
|
137
|
+
- - ">="
|
|
138
|
+
- !ruby/object:Gem::Version
|
|
139
|
+
version: '0'
|
|
112
140
|
- !ruby/object:Gem::Dependency
|
|
113
141
|
name: ruby-prof
|
|
114
142
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -504,8 +532,8 @@ files:
|
|
|
504
532
|
- rdoc/RubyXL/PivotCaches.html
|
|
505
533
|
- rdoc/RubyXL/PivotReference.html
|
|
506
534
|
- rdoc/RubyXL/PivotReferences.html
|
|
535
|
+
- rdoc/RubyXL/PivotSelection.html
|
|
507
536
|
- rdoc/RubyXL/PivotTableFile.html
|
|
508
|
-
- rdoc/RubyXL/PivotTableSelection.html
|
|
509
537
|
- rdoc/RubyXL/PresetGeometry.html
|
|
510
538
|
- rdoc/RubyXL/PrintOptions.html
|
|
511
539
|
- rdoc/RubyXL/PrinterSettingsFile.html
|
|
@@ -617,6 +645,7 @@ files:
|
|
|
617
645
|
- spec/lib/rgb_color_spec.rb
|
|
618
646
|
- spec/lib/stylesheet_spec.rb
|
|
619
647
|
- spec/lib/text_spec.rb
|
|
648
|
+
- spec/lib/workbook_root_spec.rb
|
|
620
649
|
- spec/lib/workbook_spec.rb
|
|
621
650
|
- spec/lib/worksheet_spec.rb
|
|
622
651
|
- spec/spec_helper.rb
|