rubyXL 3.4.16 → 3.4.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +27 -23
- data/VERSION +1 -1
- data/lib/rubyXL/convenience_methods/worksheet.rb +60 -0
- data/lib/rubyXL/objects/sheet_data.rb +2 -1
- data/rdoc/README_rdoc.html +4 -7
- data/rdoc/RubyXL.html +6 -321
- data/rdoc/RubyXL/AExtension.html +9 -51
- data/rdoc/RubyXL/AExtensionStorageArea.html +5 -14
- data/rdoc/RubyXL/ActiveX.html +10 -41
- data/rdoc/RubyXL/ActiveXBinary.html +5 -19
- data/rdoc/RubyXL/AdjustHandleList.html +5 -14
- data/rdoc/RubyXL/Alignment.html +5 -14
- data/rdoc/RubyXL/AlternateContent.html +5 -14
- data/rdoc/RubyXL/Authors.html +5 -14
- data/rdoc/RubyXL/AutoFilter.html +5 -14
- data/rdoc/RubyXL/AutoFilterColumn.html +5 -14
- data/rdoc/RubyXL/BinaryImageFile.html +5 -22
- data/rdoc/RubyXL/BodyProperties.html +5 -14
- data/rdoc/RubyXL/BooleanNode.html +5 -14
- data/rdoc/RubyXL/BooleanValue.html +5 -14
- data/rdoc/RubyXL/Border.html +8 -70
- data/rdoc/RubyXL/BorderEdge.html +8 -44
- data/rdoc/RubyXL/Borders.html +8 -31
- data/rdoc/RubyXL/Break.html +5 -14
- data/rdoc/RubyXL/BreakList.html +5 -14
- data/rdoc/RubyXL/CT_AdjPoint2D.html +5 -14
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +5 -14
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +5 -14
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +5 -14
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +5 -14
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +5 -14
- data/rdoc/RubyXL/CT_Backdrop.html +5 -14
- data/rdoc/RubyXL/CT_Bevel.html +5 -14
- data/rdoc/RubyXL/CT_BiLevelEffect.html +5 -14
- data/rdoc/RubyXL/CT_BlendEffect.html +5 -14
- data/rdoc/RubyXL/CT_Blip.html +5 -14
- data/rdoc/RubyXL/CT_BlipFillProperties.html +5 -14
- data/rdoc/RubyXL/CT_BlurEffect.html +5 -14
- data/rdoc/RubyXL/CT_Camera.html +5 -14
- data/rdoc/RubyXL/CT_Color.html +5 -14
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +5 -14
- data/rdoc/RubyXL/CT_ColorMapping.html +5 -14
- data/rdoc/RubyXL/CT_ColorScheme.html +5 -14
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +5 -14
- data/rdoc/RubyXL/CT_ConnectionSite.html +5 -14
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +5 -14
- data/rdoc/RubyXL/CT_DashStop.html +5 -14
- data/rdoc/RubyXL/CT_DashStopList.html +5 -14
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +5 -14
- data/rdoc/RubyXL/CT_DuotoneEffect.html +5 -14
- data/rdoc/RubyXL/CT_EffectContainer.html +5 -14
- data/rdoc/RubyXL/CT_EffectList.html +5 -14
- data/rdoc/RubyXL/CT_EffectReference.html +5 -14
- data/rdoc/RubyXL/CT_EffectStyleItem.html +5 -14
- data/rdoc/RubyXL/CT_EffectStyleList.html +5 -14
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +5 -14
- data/rdoc/RubyXL/CT_FillEffect.html +5 -14
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +5 -14
- data/rdoc/RubyXL/CT_FillStyleList.html +5 -14
- data/rdoc/RubyXL/CT_FlatText.html +5 -14
- data/rdoc/RubyXL/CT_FontCollection.html +5 -14
- data/rdoc/RubyXL/CT_FontReference.html +5 -14
- data/rdoc/RubyXL/CT_GeomGuideList.html +5 -14
- data/rdoc/RubyXL/CT_GlowEffect.html +5 -14
- data/rdoc/RubyXL/CT_GradientFillProperties.html +5 -14
- data/rdoc/RubyXL/CT_GradientStop.html +5 -14
- data/rdoc/RubyXL/CT_GradientStopList.html +5 -14
- data/rdoc/RubyXL/CT_HSLEffect.html +5 -14
- data/rdoc/RubyXL/CT_HslColor.html +5 -14
- data/rdoc/RubyXL/CT_Hyperlink.html +5 -14
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +5 -14
- data/rdoc/RubyXL/CT_LightRig.html +5 -14
- data/rdoc/RubyXL/CT_LineEndProperties.html +5 -14
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +5 -14
- data/rdoc/RubyXL/CT_LineProperties.html +5 -14
- data/rdoc/RubyXL/CT_LineStyleList.html +5 -14
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +5 -14
- data/rdoc/RubyXL/CT_LuminanceEffect.html +5 -14
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +5 -14
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +5 -14
- data/rdoc/RubyXL/CT_Path2D.html +5 -14
- data/rdoc/RubyXL/CT_Path2DArcTo.html +5 -14
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +5 -14
- data/rdoc/RubyXL/CT_Path2DList.html +5 -14
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +5 -14
- data/rdoc/RubyXL/CT_Path2DTo.html +5 -14
- data/rdoc/RubyXL/CT_PathShadeProperties.html +5 -14
- data/rdoc/RubyXL/CT_PatternFillProperties.html +5 -14
- data/rdoc/RubyXL/CT_Point3D.html +5 -14
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +5 -14
- data/rdoc/RubyXL/CT_PresetColor.html +5 -14
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +5 -14
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +5 -14
- data/rdoc/RubyXL/CT_PresetTextShape.html +5 -14
- data/rdoc/RubyXL/CT_ReflectionEffect.html +5 -14
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +5 -14
- data/rdoc/RubyXL/CT_RelativeRect.html +5 -14
- data/rdoc/RubyXL/CT_SRgbColor.html +5 -14
- data/rdoc/RubyXL/CT_ScRgbColor.html +5 -14
- data/rdoc/RubyXL/CT_Scene3D.html +5 -14
- data/rdoc/RubyXL/CT_SchemeColor.html +5 -14
- data/rdoc/RubyXL/CT_Shape3D.html +5 -14
- data/rdoc/RubyXL/CT_ShapeStyle.html +5 -14
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +5 -14
- data/rdoc/RubyXL/CT_SphereCoords.html +5 -14
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +5 -14
- data/rdoc/RubyXL/CT_StyleMatrix.html +5 -14
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +5 -14
- data/rdoc/RubyXL/CT_SupplementalFont.html +5 -14
- data/rdoc/RubyXL/CT_SystemColor.html +5 -14
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +5 -14
- data/rdoc/RubyXL/CT_TextBlipBullet.html +5 -14
- data/rdoc/RubyXL/CT_TextCharBullet.html +5 -14
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +5 -14
- data/rdoc/RubyXL/CT_TextFont.html +5 -14
- data/rdoc/RubyXL/CT_TextListStyle.html +5 -14
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +5 -14
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +5 -14
- data/rdoc/RubyXL/CT_TextSpacing.html +5 -14
- data/rdoc/RubyXL/CT_TextTabStop.html +5 -14
- data/rdoc/RubyXL/CT_TextTabStopList.html +5 -14
- data/rdoc/RubyXL/CT_TileInfoProperties.html +5 -14
- data/rdoc/RubyXL/CT_TintEffect.html +5 -14
- data/rdoc/RubyXL/CT_Transform2D.html +5 -14
- data/rdoc/RubyXL/CT_TransformEffect.html +5 -14
- data/rdoc/RubyXL/CT_Vector3D.html +5 -14
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +5 -14
- data/rdoc/RubyXL/CalculationChain.html +8 -39
- data/rdoc/RubyXL/CalculationChainCell.html +5 -14
- data/rdoc/RubyXL/CalculationProperties.html +5 -14
- data/rdoc/RubyXL/Cell.html +13 -217
- data/rdoc/RubyXL/CellConvenienceMethods.html +6 -457
- data/rdoc/RubyXL/CellExt.html +5 -14
- data/rdoc/RubyXL/CellSmartTag.html +5 -14
- data/rdoc/RubyXL/CellSmartTagProperty.html +5 -14
- data/rdoc/RubyXL/CellSmartTags.html +5 -14
- data/rdoc/RubyXL/CellStyle.html +5 -14
- data/rdoc/RubyXL/CellStyleXFs.html +8 -31
- data/rdoc/RubyXL/CellStyles.html +8 -31
- data/rdoc/RubyXL/CellValue.html +8 -31
- data/rdoc/RubyXL/CellWatch.html +5 -14
- data/rdoc/RubyXL/CellWatches.html +5 -14
- data/rdoc/RubyXL/CellXFs.html +8 -31
- data/rdoc/RubyXL/ChartColorsFile.html +5 -22
- data/rdoc/RubyXL/ChartFile.html +10 -44
- data/rdoc/RubyXL/ChartStyleFile.html +5 -22
- data/rdoc/RubyXL/ChartUserShapesFile.html +5 -22
- data/rdoc/RubyXL/Chartsheet.html +10 -61
- data/rdoc/RubyXL/ChartsheetPageSetup.html +5 -14
- data/rdoc/RubyXL/ChartsheetProperties.html +5 -14
- data/rdoc/RubyXL/ChartsheetProtection.html +5 -14
- data/rdoc/RubyXL/ChartsheetView.html +5 -14
- data/rdoc/RubyXL/ChartsheetViews.html +5 -14
- data/rdoc/RubyXL/Color.html +8 -36
- data/rdoc/RubyXL/ColorConvenienceClasses.html +3 -11
- data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +8 -58
- data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +9 -73
- data/rdoc/RubyXL/ColorConvenienceMethods.html +6 -28
- data/rdoc/RubyXL/ColorFilter.html +5 -14
- data/rdoc/RubyXL/ColorScale.html +5 -14
- data/rdoc/RubyXL/ColorSet.html +5 -14
- data/rdoc/RubyXL/Colors.html +5 -14
- data/rdoc/RubyXL/ColumnRange.html +8 -62
- data/rdoc/RubyXL/ColumnRanges.html +8 -70
- data/rdoc/RubyXL/Comment.html +5 -14
- data/rdoc/RubyXL/CommentList.html +5 -14
- data/rdoc/RubyXL/CommentsFile.html +8 -44
- data/rdoc/RubyXL/ConditionalFormatValue.html +5 -14
- data/rdoc/RubyXL/ConditionalFormatting.html +5 -14
- data/rdoc/RubyXL/ConditionalFormattingRule.html +5 -14
- data/rdoc/RubyXL/Connection.html +5 -14
- data/rdoc/RubyXL/ConnectionTable.html +5 -14
- data/rdoc/RubyXL/ConnectionTables.html +5 -14
- data/rdoc/RubyXL/ConnectionTextField.html +5 -14
- data/rdoc/RubyXL/ConnectionTextFields.html +5 -14
- data/rdoc/RubyXL/Connections.html +8 -39
- data/rdoc/RubyXL/ContentTypeDefault.html +5 -14
- data/rdoc/RubyXL/ContentTypeOverride.html +5 -14
- data/rdoc/RubyXL/ContentTypes.html +8 -52
- data/rdoc/RubyXL/ControlPropertiesFile.html +5 -22
- data/rdoc/RubyXL/CorePropertiesFile.html +8 -148
- data/rdoc/RubyXL/CustomColor.html +5 -14
- data/rdoc/RubyXL/CustomColorList.html +5 -14
- data/rdoc/RubyXL/CustomFilter.html +5 -14
- data/rdoc/RubyXL/CustomFilters.html +5 -14
- data/rdoc/RubyXL/CustomGeometry.html +5 -14
- data/rdoc/RubyXL/CustomProperties.html +5 -14
- data/rdoc/RubyXL/CustomPropertiesFile.html +5 -22
- data/rdoc/RubyXL/CustomProperty.html +5 -14
- data/rdoc/RubyXL/CustomPropertyFile.html +5 -22
- data/rdoc/RubyXL/CustomSheetView.html +5 -14
- data/rdoc/RubyXL/CustomSheetViews.html +5 -14
- data/rdoc/RubyXL/CustomWorkbookView.html +5 -14
- data/rdoc/RubyXL/CustomWorkbookViews.html +5 -14
- data/rdoc/RubyXL/CustomXMLFile.html +5 -19
- data/rdoc/RubyXL/DXF.html +5 -14
- data/rdoc/RubyXL/DXFs.html +5 -14
- data/rdoc/RubyXL/DataBar.html +5 -14
- data/rdoc/RubyXL/DataConsolidate.html +5 -14
- data/rdoc/RubyXL/DataConsolidationReference.html +5 -14
- data/rdoc/RubyXL/DataConsolidationReferences.html +5 -14
- data/rdoc/RubyXL/DataType.html +3 -34
- data/rdoc/RubyXL/DataValidation.html +5 -14
- data/rdoc/RubyXL/DataValidations.html +5 -14
- data/rdoc/RubyXL/DateGroupItem.html +5 -14
- data/rdoc/RubyXL/DefinedName.html +5 -14
- data/rdoc/RubyXL/DefinedNameExt.html +5 -14
- data/rdoc/RubyXL/DefinedNames.html +5 -14
- data/rdoc/RubyXL/DefinedNamesExt.html +5 -14
- data/rdoc/RubyXL/DocumentPropertiesFile.html +8 -57
- data/rdoc/RubyXL/DrawingFile.html +10 -44
- data/rdoc/RubyXL/DynamicFilter.html +5 -14
- data/rdoc/RubyXL/EmbeddedControl.html +5 -14
- data/rdoc/RubyXL/EmbeddedControls.html +5 -14
- data/rdoc/RubyXL/Extension.html +5 -14
- data/rdoc/RubyXL/ExtensionStorageArea.html +5 -14
- data/rdoc/RubyXL/Extents.html +5 -14
- data/rdoc/RubyXL/ExternalBook.html +5 -14
- data/rdoc/RubyXL/ExternalLinksFile.html +10 -44
- data/rdoc/RubyXL/ExternalReference.html +5 -14
- data/rdoc/RubyXL/ExternalReferences.html +5 -14
- data/rdoc/RubyXL/ExtraColorSchemeList.html +5 -14
- data/rdoc/RubyXL/FieldItem.html +5 -14
- data/rdoc/RubyXL/FileRecoveryProperties.html +5 -14
- data/rdoc/RubyXL/FileSharing.html +5 -14
- data/rdoc/RubyXL/FileVersion.html +5 -14
- data/rdoc/RubyXL/Fill.html +8 -31
- data/rdoc/RubyXL/Fills.html +8 -31
- data/rdoc/RubyXL/FilterContainer.html +5 -14
- data/rdoc/RubyXL/FloatNode.html +5 -14
- data/rdoc/RubyXL/FloatValue.html +5 -14
- data/rdoc/RubyXL/Font.html +8 -36
- data/rdoc/RubyXL/FontConvenienceMethods.html +6 -197
- data/rdoc/RubyXL/FontScheme.html +5 -14
- data/rdoc/RubyXL/Fonts.html +8 -31
- data/rdoc/RubyXL/Formula.html +5 -14
- data/rdoc/RubyXL/FunctionGroup.html +5 -14
- data/rdoc/RubyXL/FunctionGroups.html +5 -14
- data/rdoc/RubyXL/GenericStorageObject.html +9 -75
- data/rdoc/RubyXL/GradientFill.html +5 -14
- data/rdoc/RubyXL/HeaderFooterSettings.html +5 -14
- data/rdoc/RubyXL/Hyperlink.html +5 -14
- data/rdoc/RubyXL/HyperlinkRelFile.html +5 -19
- data/rdoc/RubyXL/Hyperlinks.html +5 -14
- data/rdoc/RubyXL/IconFilter.html +5 -14
- data/rdoc/RubyXL/IconSet.html +5 -14
- data/rdoc/RubyXL/IgnoredError.html +5 -14
- data/rdoc/RubyXL/IgnoredErrors.html +5 -14
- data/rdoc/RubyXL/IndexedColors.html +5 -14
- data/rdoc/RubyXL/InputCells.html +5 -14
- data/rdoc/RubyXL/IntegerNode.html +5 -14
- data/rdoc/RubyXL/IntegerValue.html +5 -14
- data/rdoc/RubyXL/LegacyCell.html +6 -28
- data/rdoc/RubyXL/LegacyWorksheet.html +9 -88
- data/rdoc/RubyXL/MRUColors.html +5 -14
- data/rdoc/RubyXL/MacrosFile.html +5 -22
- data/rdoc/RubyXL/MergedCell.html +5 -14
- data/rdoc/RubyXL/MergedCells.html +5 -14
- data/rdoc/RubyXL/NumFmt.html +5 -14
- data/rdoc/RubyXL/NumberFormat.html +8 -31
- data/rdoc/RubyXL/NumberFormats.html +8 -36
- data/rdoc/RubyXL/OLEObject.html +5 -14
- data/rdoc/RubyXL/OLEObjectFile.html +5 -22
- data/rdoc/RubyXL/OLEObjects.html +5 -14
- data/rdoc/RubyXL/OLESize.html +5 -14
- data/rdoc/RubyXL/OOXMLContainerObject.html +13 -110
- data/rdoc/RubyXL/OOXMLIgnored.html +9 -46
- data/rdoc/RubyXL/OOXMLObject.html +7 -19
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +6 -93
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +10 -133
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +10 -169
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +9 -98
- data/rdoc/RubyXL/OdbcOleDbProperties.html +5 -14
- data/rdoc/RubyXL/Offset.html +5 -14
- data/rdoc/RubyXL/OlapProperties.html +5 -14
- data/rdoc/RubyXL/OleItem.html +5 -14
- data/rdoc/RubyXL/OleItems.html +5 -14
- data/rdoc/RubyXL/OleLink.html +5 -14
- data/rdoc/RubyXL/OutlineProperties.html +5 -14
- data/rdoc/RubyXL/PageMargins.html +5 -14
- data/rdoc/RubyXL/PageSetup.html +5 -14
- data/rdoc/RubyXL/PageSetupProperties.html +5 -14
- data/rdoc/RubyXL/Pane.html +5 -14
- data/rdoc/RubyXL/Parser.html +8 -44
- data/rdoc/RubyXL/PatternFill.html +5 -14
- data/rdoc/RubyXL/PhoneticProperties.html +5 -14
- data/rdoc/RubyXL/PhoneticRun.html +5 -14
- data/rdoc/RubyXL/PivotArea.html +5 -14
- data/rdoc/RubyXL/PivotCache.html +5 -14
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +7 -27
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +5 -22
- data/rdoc/RubyXL/PivotCaches.html +5 -14
- data/rdoc/RubyXL/PivotReference.html +5 -14
- data/rdoc/RubyXL/PivotReferences.html +5 -14
- data/rdoc/RubyXL/PivotTableFile.html +7 -27
- data/rdoc/RubyXL/PivotTableSelection.html +5 -14
- data/rdoc/RubyXL/PresetGeometry.html +5 -14
- data/rdoc/RubyXL/PrintOptions.html +5 -14
- data/rdoc/RubyXL/PrinterSettingsFile.html +5 -22
- data/rdoc/RubyXL/ProtectedRange.html +5 -14
- data/rdoc/RubyXL/ProtectedRanges.html +5 -14
- data/rdoc/RubyXL/Protection.html +5 -14
- data/rdoc/RubyXL/QueryParameter.html +5 -14
- data/rdoc/RubyXL/QueryParameters.html +5 -14
- data/rdoc/RubyXL/QueryTable.html +10 -44
- data/rdoc/RubyXL/QueryTableDeletedField.html +5 -14
- data/rdoc/RubyXL/QueryTableDeletedFields.html +5 -14
- data/rdoc/RubyXL/QueryTableField.html +5 -14
- data/rdoc/RubyXL/QueryTableFields.html +5 -14
- data/rdoc/RubyXL/QueryTableRefresh.html +5 -14
- data/rdoc/RubyXL/RID.html +5 -14
- data/rdoc/RubyXL/RawOOXML.html +9 -51
- data/rdoc/RubyXL/Reference.html +9 -192
- data/rdoc/RubyXL/Relationship.html +5 -14
- data/rdoc/RubyXL/RelationshipSupport.html +9 -108
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +6 -28
- data/rdoc/RubyXL/RevisionPointer.html +5 -14
- data/rdoc/RubyXL/RichText.html +8 -31
- data/rdoc/RubyXL/RichTextRun.html +8 -31
- data/rdoc/RubyXL/Row.html +17 -154
- data/rdoc/RubyXL/RowExt.html +5 -14
- data/rdoc/RubyXL/RunProperties.html +5 -14
- data/rdoc/RubyXL/Scenario.html +5 -14
- data/rdoc/RubyXL/Scenarios.html +5 -14
- data/rdoc/RubyXL/Selection.html +8 -31
- data/rdoc/RubyXL/ShapeGuide.html +5 -14
- data/rdoc/RubyXL/ShapeTextRectangle.html +5 -14
- data/rdoc/RubyXL/SharedStringsTable.html +9 -121
- data/rdoc/RubyXL/Sheet.html +5 -14
- data/rdoc/RubyXL/SheetCalculationProperties.html +5 -14
- data/rdoc/RubyXL/SheetData.html +10 -46
- data/rdoc/RubyXL/SheetDataExt.html +5 -14
- data/rdoc/RubyXL/SheetDataSet.html +5 -14
- data/rdoc/RubyXL/SheetName.html +5 -14
- data/rdoc/RubyXL/SheetNames.html +5 -14
- data/rdoc/RubyXL/Sheets.html +5 -14
- data/rdoc/RubyXL/SlicerCacheFile.html +5 -22
- data/rdoc/RubyXL/SlicerFile.html +5 -22
- data/rdoc/RubyXL/SmartTagProperties.html +5 -14
- data/rdoc/RubyXL/SmartTagType.html +5 -14
- data/rdoc/RubyXL/SmartTagTypes.html +5 -14
- data/rdoc/RubyXL/SmartTags.html +5 -14
- data/rdoc/RubyXL/SortCondition.html +5 -14
- data/rdoc/RubyXL/SortState.html +5 -14
- data/rdoc/RubyXL/Sqref.html +9 -46
- data/rdoc/RubyXL/Stop.html +5 -14
- data/rdoc/RubyXL/StringNode.html +5 -14
- data/rdoc/RubyXL/StringNodeW3C.html +9 -46
- data/rdoc/RubyXL/StringValue.html +5 -14
- data/rdoc/RubyXL/Stylesheet.html +9 -94
- data/rdoc/RubyXL/TableFile.html +5 -22
- data/rdoc/RubyXL/TableParts.html +5 -14
- data/rdoc/RubyXL/TableStyle.html +5 -14
- data/rdoc/RubyXL/TableStyles.html +5 -14
- data/rdoc/RubyXL/Text.html +8 -52
- data/rdoc/RubyXL/TextImportSettings.html +5 -14
- data/rdoc/RubyXL/Theme.html +9 -67
- data/rdoc/RubyXL/ThemeElements.html +5 -14
- data/rdoc/RubyXL/ThumbnailFile.html +5 -22
- data/rdoc/RubyXL/Top10.html +5 -14
- data/rdoc/RubyXL/VMLDrawingFile.html +7 -27
- data/rdoc/RubyXL/Variant.html +5 -14
- data/rdoc/RubyXL/Vector.html +8 -31
- data/rdoc/RubyXL/VectorValue.html +5 -14
- data/rdoc/RubyXL/VisualProperties.html +5 -14
- data/rdoc/RubyXL/WebPublishObject.html +5 -14
- data/rdoc/RubyXL/WebPublishObjects.html +5 -14
- data/rdoc/RubyXL/WebPublishingItem.html +5 -14
- data/rdoc/RubyXL/WebPublishingItems.html +5 -14
- data/rdoc/RubyXL/WebPublishingProperties.html +5 -14
- data/rdoc/RubyXL/WebQueryProperties.html +5 -14
- data/rdoc/RubyXL/Workbook.html +11 -439
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +6 -223
- data/rdoc/RubyXL/WorkbookProperties.html +5 -14
- data/rdoc/RubyXL/WorkbookProtection.html +5 -14
- data/rdoc/RubyXL/WorkbookRoot.html +11 -101
- data/rdoc/RubyXL/WorkbookView.html +5 -14
- data/rdoc/RubyXL/WorkbookViews.html +5 -14
- data/rdoc/RubyXL/Worksheet.html +11 -132
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +132 -1001
- data/rdoc/RubyXL/WorksheetDimensions.html +5 -14
- data/rdoc/RubyXL/WorksheetFormatProperties.html +5 -14
- data/rdoc/RubyXL/WorksheetProperties.html +5 -14
- data/rdoc/RubyXL/WorksheetProtection.html +5 -14
- data/rdoc/RubyXL/WorksheetView.html +5 -14
- data/rdoc/RubyXL/WorksheetViews.html +5 -14
- data/rdoc/RubyXL/XF.html +5 -14
- data/rdoc/created.rid +5 -5
- data/rdoc/css/rdoc.css +1 -1
- data/rdoc/index.html +5 -394
- data/rdoc/js/navigation.js.gz +0 -0
- data/rdoc/js/search_index.js.gz +0 -0
- data/rdoc/js/searcher.js.gz +0 -0
- data/rdoc/table_of_contents.html +3 -820
- data/rubyXL.gemspec +3 -3
- data/spec/lib/cell_spec.rb +6 -0
- data/spec/lib/worksheet_spec.rb +265 -0
- metadata +2 -2
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.17 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.17"
|
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 = "2021-02-10"
|
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 = [
|
data/spec/lib/cell_spec.rb
CHANGED
@@ -376,6 +376,12 @@ describe RubyXL::Cell do
|
|
376
376
|
end
|
377
377
|
end
|
378
378
|
|
379
|
+
context 'with RichText' do
|
380
|
+
it 'returns the value of the RichText' do
|
381
|
+
cell = RubyXL::Cell.new(is: RubyXL::RichText.new(t: RubyXL::Text.new(value: 'test')))
|
382
|
+
expect(cell.value).to eq('test')
|
383
|
+
end
|
384
|
+
end
|
379
385
|
end
|
380
386
|
|
381
387
|
describe '.change_contents' do
|
data/spec/lib/worksheet_spec.rb
CHANGED
@@ -653,6 +653,95 @@ describe RubyXL::Worksheet do
|
|
653
653
|
end
|
654
654
|
}
|
655
655
|
end
|
656
|
+
|
657
|
+
describe 'merged_cells updating' do
|
658
|
+
context 'merged cells in the row' do
|
659
|
+
# | A1 | B1 | C1 | D1 | E1 |
|
660
|
+
# | A2 | MERGED | E2 |
|
661
|
+
# | A3 | B3 | C3 | D3 | E3 |
|
662
|
+
before do
|
663
|
+
@worksheet.merge_cells(1, 1, 1, 3)
|
664
|
+
expect(@worksheet.merged_cells.size).to eq 1
|
665
|
+
expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:D2"
|
666
|
+
end
|
667
|
+
it 'should delete merged cell' do
|
668
|
+
@worksheet.delete_row(1)
|
669
|
+
expect(@worksheet.merged_cells.size).to eq 0
|
670
|
+
end
|
671
|
+
end
|
672
|
+
context 'merged vertical two cells' do
|
673
|
+
# | A1 | B1 | C1 |
|
674
|
+
# | A2 | MERGED | C2 |
|
675
|
+
# | A3 | | C3 |
|
676
|
+
# | A4 | B4 | C4 |
|
677
|
+
before do
|
678
|
+
@worksheet.merge_cells(1, 1, 2, 1)
|
679
|
+
expect(@worksheet.merged_cells.size).to eq 1
|
680
|
+
expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:B3"
|
681
|
+
end
|
682
|
+
it 'should delete merged cell' do
|
683
|
+
@worksheet.delete_row(1)
|
684
|
+
expect(@worksheet.merged_cells.size).to eq 0
|
685
|
+
end
|
686
|
+
end
|
687
|
+
context 'merged three or more rows' do
|
688
|
+
# | A1 | B1 | C1 | D1 | E1 |
|
689
|
+
# | A2 | | E2 |
|
690
|
+
# | A3 | MERGED | E3 |
|
691
|
+
# | A4 | | E4 |
|
692
|
+
# | A5 | B5 | C5 | D5 | E5 |
|
693
|
+
before do
|
694
|
+
@worksheet.merge_cells(1, 1, 3, 3)
|
695
|
+
expect(@worksheet.merged_cells.size).to eq 1
|
696
|
+
expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:D4"
|
697
|
+
end
|
698
|
+
# | A2 | | E2 |
|
699
|
+
# | A3 | MERGED | E3 |
|
700
|
+
# | A4 | | E4 |
|
701
|
+
# | A5 | B5 | C5 | D5 | E5 |
|
702
|
+
it 'should updates merged cell when delete above the cell' do
|
703
|
+
@worksheet.delete_row(0)
|
704
|
+
expect(@worksheet.merged_cells.size).to eq 1
|
705
|
+
expect(@worksheet.merged_cells.first.ref.to_s).to eq "B1:D3"
|
706
|
+
end
|
707
|
+
# | A1 | B1 | C1 | D1 | E1 |
|
708
|
+
# | A3 | MERGED | E3 |
|
709
|
+
# | A4 | | E4 |
|
710
|
+
# | A5 | B5 | C5 | D5 | E5 |
|
711
|
+
it 'should updates merged cell when delete top of the cell' do
|
712
|
+
@worksheet.delete_row(1)
|
713
|
+
expect(@worksheet.merged_cells.size).to eq 1
|
714
|
+
expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:D3"
|
715
|
+
end
|
716
|
+
# | A1 | B1 | C1 | D1 | E1 |
|
717
|
+
# | A2 | MERGED | E2 |
|
718
|
+
# | A4 | | E4 |
|
719
|
+
# | A5 | B5 | C5 | D5 | E5 |
|
720
|
+
it 'should updates merged cell when delete middle of the cell' do
|
721
|
+
@worksheet.delete_row(2)
|
722
|
+
expect(@worksheet.merged_cells.size).to eq 1
|
723
|
+
expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:D3"
|
724
|
+
end
|
725
|
+
# | A1 | B1 | C1 | D1 | E1 |
|
726
|
+
# | A2 | MERGED | E2 |
|
727
|
+
# | A3 | | E3 |
|
728
|
+
# | A5 | B5 | C5 | D5 | E5 |
|
729
|
+
it 'should updates merged cell when delete bottom of the cell' do
|
730
|
+
@worksheet.delete_row(3)
|
731
|
+
expect(@worksheet.merged_cells.size).to eq 1
|
732
|
+
expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:D3"
|
733
|
+
end
|
734
|
+
# | A1 | B1 | C1 | D1 | E1 |
|
735
|
+
# | A2 | | E2 |
|
736
|
+
# | A3 | MERGED | E3 |
|
737
|
+
# | A4 | | E4 |
|
738
|
+
it 'should not updates merged cell when ldelete below the cell' do
|
739
|
+
@worksheet.delete_row(4)
|
740
|
+
expect(@worksheet.merged_cells.size).to eq 1
|
741
|
+
expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:D4"
|
742
|
+
end
|
743
|
+
end
|
744
|
+
end
|
656
745
|
end
|
657
746
|
|
658
747
|
describe '.insert_row' do
|
@@ -713,6 +802,48 @@ describe RubyXL::Worksheet do
|
|
713
802
|
end
|
714
803
|
}
|
715
804
|
end
|
805
|
+
|
806
|
+
describe 'merged_cells updating' do
|
807
|
+
# | A1 | B1 | C1 | D1 |
|
808
|
+
# | A2 | MERGED | D2 |
|
809
|
+
# | A3 | | D3 |
|
810
|
+
# | A4 | B4 | C4 | D4 |
|
811
|
+
before do
|
812
|
+
@worksheet.merge_cells(1, 1, 2, 2)
|
813
|
+
expect(@worksheet.merged_cells.size).to eq 1
|
814
|
+
expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:C3"
|
815
|
+
end
|
816
|
+
# | A1 | B1 | C1 | D1 |
|
817
|
+
# | | | | |
|
818
|
+
# | A2 | MERGED | D2 |
|
819
|
+
# | A3 | | D3 |
|
820
|
+
# | A4 | B4 | C4 | D4 |
|
821
|
+
it 'should updates merged cell when insert above the cell' do
|
822
|
+
@worksheet.insert_row(1)
|
823
|
+
expect(@worksheet.merged_cells.size).to eq 1
|
824
|
+
expect(@worksheet.merged_cells.first.ref.to_s).to eq "B3:C4"
|
825
|
+
end
|
826
|
+
# | A1 | B1 | C1 | D1 |
|
827
|
+
# | A2 | | D2 |
|
828
|
+
# | | MERGED | |
|
829
|
+
# | A3 | | D3 |
|
830
|
+
# | A4 | B4 | C4 | D4 |
|
831
|
+
it 'should updates merged cell when insert into the cell' do
|
832
|
+
@worksheet.insert_row(2)
|
833
|
+
expect(@worksheet.merged_cells.size).to eq 1
|
834
|
+
expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:C4"
|
835
|
+
end
|
836
|
+
# | A1 | B1 | C1 | D1 |
|
837
|
+
# | A2 | MERGED | D2 |
|
838
|
+
# | A3 | | D3 |
|
839
|
+
# | | | | |
|
840
|
+
# | A4 | B4 | C4 | D4 |
|
841
|
+
it 'should not updates merged cell when insert below the cell' do
|
842
|
+
@worksheet.insert_row(3)
|
843
|
+
expect(@worksheet.merged_cells.size).to eq 1
|
844
|
+
expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:C3"
|
845
|
+
end
|
846
|
+
end
|
716
847
|
end
|
717
848
|
|
718
849
|
describe '.delete_column' do
|
@@ -776,6 +907,101 @@ describe RubyXL::Worksheet do
|
|
776
907
|
end
|
777
908
|
}
|
778
909
|
end
|
910
|
+
|
911
|
+
describe 'merged_cells updating' do
|
912
|
+
context 'merged cells in the column' do
|
913
|
+
# | A1 | B1 | C1 |
|
914
|
+
# | A2 | | C2 |
|
915
|
+
# | A3 | MERGED | C3 |
|
916
|
+
# | A4 | | C4 |
|
917
|
+
# | A5 | B5 | C5 |
|
918
|
+
before do
|
919
|
+
@worksheet.merge_cells(1, 1, 3, 1)
|
920
|
+
expect(@worksheet.merged_cells.size).to eq 1
|
921
|
+
expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:B4"
|
922
|
+
end
|
923
|
+
it 'should delete merged cell' do
|
924
|
+
@worksheet.delete_column(1)
|
925
|
+
expect(@worksheet.merged_cells.size).to eq 0
|
926
|
+
end
|
927
|
+
end
|
928
|
+
context 'merged horizontal two cells' do
|
929
|
+
# | A1 | B1 | C1 | D1 |
|
930
|
+
# | A2 | MERGED | D2 |
|
931
|
+
# | A3 | B3 | C3 | D3 |
|
932
|
+
before do
|
933
|
+
@worksheet.merge_cells(1, 1, 1, 2)
|
934
|
+
expect(@worksheet.merged_cells.size).to eq 1
|
935
|
+
expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:C2"
|
936
|
+
end
|
937
|
+
it 'should delete merged cell' do
|
938
|
+
@worksheet.delete_column(1)
|
939
|
+
expect(@worksheet.merged_cells.size).to eq 0
|
940
|
+
end
|
941
|
+
end
|
942
|
+
context 'merged three or more columns' do
|
943
|
+
# | A1 | B1 | C1 | D1 | E1 |
|
944
|
+
# | A2 | | E2 |
|
945
|
+
# | A3 | MERGED | E3 |
|
946
|
+
# | A4 | | E4 |
|
947
|
+
# | A5 | B5 | C5 | D5 | E5 |
|
948
|
+
before do
|
949
|
+
@worksheet.merge_cells(1, 1, 3, 3)
|
950
|
+
expect(@worksheet.merged_cells.size).to eq 1
|
951
|
+
expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:D4"
|
952
|
+
end
|
953
|
+
# | B1 | C1 | D1 | E1 |
|
954
|
+
# | | E2 |
|
955
|
+
# | MERGED | E3 |
|
956
|
+
# | | E4 |
|
957
|
+
# | B5 | C5 | D5 | E5 |
|
958
|
+
it 'should updates merged cell when delete before the cell' do
|
959
|
+
@worksheet.delete_column(0)
|
960
|
+
expect(@worksheet.merged_cells.size).to eq 1
|
961
|
+
expect(@worksheet.merged_cells.first.ref.to_s).to eq "A2:C4"
|
962
|
+
end
|
963
|
+
# | A1 | C1 | D1 | E1 |
|
964
|
+
# | A2 | | E2 |
|
965
|
+
# | A3 | MERGED | E3 |
|
966
|
+
# | A4 | | E4 |
|
967
|
+
# | A5 | C5 | D5 | E5 |
|
968
|
+
it 'should updates merged cell when delete left of the cell' do
|
969
|
+
@worksheet.delete_column(1)
|
970
|
+
expect(@worksheet.merged_cells.size).to eq 1
|
971
|
+
expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:C4"
|
972
|
+
end
|
973
|
+
# | A1 | B1 | D1 | E1 |
|
974
|
+
# | A2 | | E2 |
|
975
|
+
# | A3 | MERGED | E3 |
|
976
|
+
# | A4 | | E4 |
|
977
|
+
# | A5 | B5 | D5 | E5 |
|
978
|
+
it 'should updates merged cell when delete center of the cell' do
|
979
|
+
@worksheet.delete_column(2)
|
980
|
+
expect(@worksheet.merged_cells.size).to eq 1
|
981
|
+
expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:C4"
|
982
|
+
end
|
983
|
+
# | A1 | B1 | C1 | E1 |
|
984
|
+
# | A2 | | E2 |
|
985
|
+
# | A3 | MERGED | E3 |
|
986
|
+
# | A4 | | E4 |
|
987
|
+
# | A5 | B5 | C5 | E5 |
|
988
|
+
it 'should updates merged cell when delete right of the cell' do
|
989
|
+
@worksheet.delete_column(3)
|
990
|
+
expect(@worksheet.merged_cells.size).to eq 1
|
991
|
+
expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:C4"
|
992
|
+
end
|
993
|
+
# | A1 | B1 | C1 | D1 |
|
994
|
+
# | A2 | |
|
995
|
+
# | A3 | MERGED |
|
996
|
+
# | A4 | |
|
997
|
+
# | A5 | B5 | C5 | D5 |
|
998
|
+
it 'should not updates merged cell when delete after the cell' do
|
999
|
+
@worksheet.delete_column(4)
|
1000
|
+
expect(@worksheet.merged_cells.size).to eq 1
|
1001
|
+
expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:D4"
|
1002
|
+
end
|
1003
|
+
end
|
1004
|
+
end
|
779
1005
|
end
|
780
1006
|
|
781
1007
|
describe '.insert_column' do
|
@@ -834,6 +1060,45 @@ describe RubyXL::Worksheet do
|
|
834
1060
|
end
|
835
1061
|
}
|
836
1062
|
end
|
1063
|
+
|
1064
|
+
describe 'merged_cells updating' do
|
1065
|
+
# | A1 | B1 | C1 | D1 |
|
1066
|
+
# | A2 | MERGED | D2 |
|
1067
|
+
# | A3 | | D3 |
|
1068
|
+
# | A4 | B4 | C4 | D4 |
|
1069
|
+
before do
|
1070
|
+
@worksheet.merge_cells(1, 1, 2, 2)
|
1071
|
+
expect(@worksheet.merged_cells.size).to eq 1
|
1072
|
+
expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:C3"
|
1073
|
+
end
|
1074
|
+
# | A1 | | B1 | C1 | D1 |
|
1075
|
+
# | A2 | | MERGED | D2 |
|
1076
|
+
# | A3 | | | D3 |
|
1077
|
+
# | A4 | | B4 | C4 | D4 |
|
1078
|
+
it 'should updates merged cell when insert before the cell' do
|
1079
|
+
@worksheet.insert_column(1)
|
1080
|
+
expect(@worksheet.merged_cells.size).to eq 1
|
1081
|
+
expect(@worksheet.merged_cells.first.ref.to_s).to eq "C2:D3"
|
1082
|
+
end
|
1083
|
+
# | A1 | B1 | | C1 | D1 |
|
1084
|
+
# | A2 | MERGED | D2 |
|
1085
|
+
# | A3 | | D3 |
|
1086
|
+
# | A4 | B4 | | C4 | D4 |
|
1087
|
+
it 'should updates merged cell when insert into the cell' do
|
1088
|
+
@worksheet.insert_column(2)
|
1089
|
+
expect(@worksheet.merged_cells.size).to eq 1
|
1090
|
+
expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:D3"
|
1091
|
+
end
|
1092
|
+
# | A1 | B1 | C1 | | D1 |
|
1093
|
+
# | A2 | MERGED | | D2 |
|
1094
|
+
# | A3 | | | D3 |
|
1095
|
+
# | A4 | B4 | C4 | | D4 |
|
1096
|
+
it 'should not updates merged cell when insert after the cell' do
|
1097
|
+
@worksheet.insert_column(3)
|
1098
|
+
expect(@worksheet.merged_cells.size).to eq 1
|
1099
|
+
expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:C3"
|
1100
|
+
end
|
1101
|
+
end
|
837
1102
|
end
|
838
1103
|
|
839
1104
|
describe '.insert_cell' 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.17
|
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: 2021-02-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|