rubyXL 3.3.9 → 3.3.10
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/README.rdoc +5 -1
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/lib/rubyXL/cell.rb +1 -1
- data/lib/rubyXL/convenience_methods.rb +11 -4
- data/lib/rubyXL/objects/external_links.rb +85 -0
- data/lib/rubyXL/objects/storage.rb +0 -6
- data/lib/rubyXL/objects/stylesheet.rb +17 -0
- data/lib/rubyXL/objects/workbook.rb +1 -0
- data/lib/rubyXL/worksheet.rb +2 -2
- data/rdoc/README_rdoc.html +9 -2
- data/rdoc/RubyXL/AExtension.html +1 -1
- data/rdoc/RubyXL/AExtensionStorageArea.html +1 -1
- data/rdoc/RubyXL/AdjustHandleList.html +1 -1
- data/rdoc/RubyXL/Alignment.html +1 -1
- data/rdoc/RubyXL/AlternateContent.html +1 -1
- data/rdoc/RubyXL/Authors.html +1 -1
- data/rdoc/RubyXL/AutoFilter.html +1 -1
- data/rdoc/RubyXL/AutoFilterColumn.html +1 -1
- data/rdoc/RubyXL/BinaryImageFile.html +1 -1
- data/rdoc/RubyXL/BodyProperties.html +1 -1
- data/rdoc/RubyXL/BooleanNode.html +1 -1
- data/rdoc/RubyXL/BooleanValue.html +1 -1
- data/rdoc/RubyXL/Border.html +1 -1
- data/rdoc/RubyXL/BorderEdge.html +1 -1
- data/rdoc/RubyXL/Borders.html +1 -1
- data/rdoc/RubyXL/Break.html +1 -1
- data/rdoc/RubyXL/BreakList.html +1 -1
- data/rdoc/RubyXL/CT_AdjPoint2D.html +1 -1
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +1 -1
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +1 -1
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +1 -1
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +1 -1
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +1 -1
- data/rdoc/RubyXL/CT_Backdrop.html +1 -1
- data/rdoc/RubyXL/CT_Bevel.html +1 -1
- data/rdoc/RubyXL/CT_BiLevelEffect.html +1 -1
- data/rdoc/RubyXL/CT_BlendEffect.html +1 -1
- data/rdoc/RubyXL/CT_Blip.html +1 -1
- data/rdoc/RubyXL/CT_BlipFillProperties.html +1 -1
- data/rdoc/RubyXL/CT_BlurEffect.html +1 -1
- data/rdoc/RubyXL/CT_Camera.html +1 -1
- data/rdoc/RubyXL/CT_Color.html +1 -1
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +1 -1
- data/rdoc/RubyXL/CT_ColorMapping.html +1 -1
- data/rdoc/RubyXL/CT_ColorScheme.html +1 -1
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +1 -1
- data/rdoc/RubyXL/CT_ConnectionSite.html +1 -1
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +1 -1
- data/rdoc/RubyXL/CT_DashStop.html +1 -1
- data/rdoc/RubyXL/CT_DashStopList.html +1 -1
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +1 -1
- data/rdoc/RubyXL/CT_DuotoneEffect.html +1 -1
- data/rdoc/RubyXL/CT_EffectContainer.html +1 -1
- data/rdoc/RubyXL/CT_EffectList.html +1 -1
- data/rdoc/RubyXL/CT_EffectReference.html +1 -1
- data/rdoc/RubyXL/CT_EffectStyleItem.html +1 -1
- data/rdoc/RubyXL/CT_EffectStyleList.html +1 -1
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +1 -1
- data/rdoc/RubyXL/CT_FillEffect.html +1 -1
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +1 -1
- data/rdoc/RubyXL/CT_FillStyleList.html +1 -1
- data/rdoc/RubyXL/CT_FlatText.html +1 -1
- data/rdoc/RubyXL/CT_FontCollection.html +1 -1
- data/rdoc/RubyXL/CT_FontReference.html +1 -1
- data/rdoc/RubyXL/CT_GeomGuideList.html +1 -1
- data/rdoc/RubyXL/CT_GlowEffect.html +1 -1
- data/rdoc/RubyXL/CT_GradientFillProperties.html +1 -1
- data/rdoc/RubyXL/CT_GradientStop.html +1 -1
- data/rdoc/RubyXL/CT_GradientStopList.html +1 -1
- data/rdoc/RubyXL/CT_HSLEffect.html +1 -1
- data/rdoc/RubyXL/CT_HslColor.html +1 -1
- data/rdoc/RubyXL/CT_Hyperlink.html +1 -1
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +1 -1
- data/rdoc/RubyXL/CT_LightRig.html +1 -1
- data/rdoc/RubyXL/CT_LineEndProperties.html +1 -1
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +1 -1
- data/rdoc/RubyXL/CT_LineProperties.html +1 -1
- data/rdoc/RubyXL/CT_LineStyleList.html +1 -1
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +1 -1
- data/rdoc/RubyXL/CT_LuminanceEffect.html +1 -1
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +1 -1
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +1 -1
- data/rdoc/RubyXL/CT_Path2D.html +1 -1
- data/rdoc/RubyXL/CT_Path2DArcTo.html +1 -1
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +1 -1
- data/rdoc/RubyXL/CT_Path2DList.html +1 -1
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +1 -1
- data/rdoc/RubyXL/CT_Path2DTo.html +1 -1
- data/rdoc/RubyXL/CT_PathShadeProperties.html +1 -1
- data/rdoc/RubyXL/CT_PatternFillProperties.html +1 -1
- data/rdoc/RubyXL/CT_Point3D.html +1 -1
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +1 -1
- data/rdoc/RubyXL/CT_PresetColor.html +1 -1
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +1 -1
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +1 -1
- data/rdoc/RubyXL/CT_PresetTextShape.html +1 -1
- data/rdoc/RubyXL/CT_ReflectionEffect.html +1 -1
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +1 -1
- data/rdoc/RubyXL/CT_RelativeRect.html +1 -1
- data/rdoc/RubyXL/CT_SRgbColor.html +1 -1
- data/rdoc/RubyXL/CT_ScRgbColor.html +1 -1
- data/rdoc/RubyXL/CT_Scene3D.html +1 -1
- data/rdoc/RubyXL/CT_SchemeColor.html +1 -1
- data/rdoc/RubyXL/CT_Shape3D.html +1 -1
- data/rdoc/RubyXL/CT_ShapeStyle.html +1 -1
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +1 -1
- data/rdoc/RubyXL/CT_SphereCoords.html +1 -1
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +1 -1
- data/rdoc/RubyXL/CT_StyleMatrix.html +1 -1
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +1 -1
- data/rdoc/RubyXL/CT_SupplementalFont.html +1 -1
- data/rdoc/RubyXL/CT_SystemColor.html +1 -1
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +1 -1
- data/rdoc/RubyXL/CT_TextBlipBullet.html +1 -1
- data/rdoc/RubyXL/CT_TextCharBullet.html +1 -1
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +1 -1
- data/rdoc/RubyXL/CT_TextFont.html +1 -1
- data/rdoc/RubyXL/CT_TextListStyle.html +1 -1
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +1 -1
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +1 -1
- data/rdoc/RubyXL/CT_TextSpacing.html +1 -1
- data/rdoc/RubyXL/CT_TextTabStop.html +1 -1
- data/rdoc/RubyXL/CT_TextTabStopList.html +1 -1
- data/rdoc/RubyXL/CT_TileInfoProperties.html +1 -1
- data/rdoc/RubyXL/CT_TintEffect.html +1 -1
- data/rdoc/RubyXL/CT_Transform2D.html +1 -1
- data/rdoc/RubyXL/CT_TransformEffect.html +1 -1
- data/rdoc/RubyXL/CT_Vector3D.html +1 -1
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +1 -1
- data/rdoc/RubyXL/CalculationChain.html +1 -1
- data/rdoc/RubyXL/CalculationChainCell.html +1 -1
- data/rdoc/RubyXL/CalculationProperties.html +1 -1
- data/rdoc/RubyXL/Cell.html +1 -1
- data/rdoc/RubyXL/CellConvenienceMethods.html +39 -1
- data/rdoc/RubyXL/CellExt.html +105 -0
- data/rdoc/RubyXL/CellSmartTag.html +1 -1
- data/rdoc/RubyXL/CellSmartTagProperty.html +1 -1
- data/rdoc/RubyXL/CellSmartTags.html +1 -1
- data/rdoc/RubyXL/CellStyle.html +1 -1
- data/rdoc/RubyXL/CellStyleXFs.html +2 -2
- data/rdoc/RubyXL/CellStyles.html +2 -2
- data/rdoc/RubyXL/CellValue.html +1 -1
- data/rdoc/RubyXL/CellWatch.html +1 -1
- data/rdoc/RubyXL/CellWatches.html +1 -1
- data/rdoc/RubyXL/CellXFs.html +2 -2
- data/rdoc/RubyXL/ChartColorsFile.html +1 -1
- data/rdoc/RubyXL/ChartFile.html +1 -1
- data/rdoc/RubyXL/ChartStyleFile.html +1 -1
- data/rdoc/RubyXL/ChartUserShapesFile.html +1 -1
- data/rdoc/RubyXL/Chartsheet.html +1 -1
- data/rdoc/RubyXL/ChartsheetPageSetup.html +1 -1
- data/rdoc/RubyXL/ChartsheetProperties.html +1 -1
- data/rdoc/RubyXL/ChartsheetProtection.html +1 -1
- data/rdoc/RubyXL/ChartsheetView.html +1 -1
- data/rdoc/RubyXL/ChartsheetViews.html +1 -1
- data/rdoc/RubyXL/Color.html +1 -1
- data/rdoc/RubyXL/ColorFilter.html +1 -1
- data/rdoc/RubyXL/ColorScale.html +1 -1
- data/rdoc/RubyXL/ColorSet.html +1 -1
- data/rdoc/RubyXL/Colors.html +1 -1
- data/rdoc/RubyXL/ColumnRange.html +1 -1
- data/rdoc/RubyXL/ColumnRanges.html +1 -1
- data/rdoc/RubyXL/Comment.html +1 -1
- data/rdoc/RubyXL/CommentList.html +1 -1
- data/rdoc/RubyXL/CommentsFile.html +1 -1
- data/rdoc/RubyXL/ConditionalFormatValue.html +1 -1
- data/rdoc/RubyXL/ConditionalFormatting.html +1 -1
- data/rdoc/RubyXL/ConditionalFormattingRule.html +1 -1
- data/rdoc/RubyXL/ContentTypeDefault.html +1 -1
- data/rdoc/RubyXL/ContentTypeOverride.html +1 -1
- data/rdoc/RubyXL/ContentTypes.html +1 -1
- data/rdoc/RubyXL/ControlPropertiesFile.html +1 -1
- data/rdoc/RubyXL/CorePropertiesFile.html +1 -1
- data/rdoc/RubyXL/CustomColor.html +1 -1
- data/rdoc/RubyXL/CustomColorList.html +1 -1
- data/rdoc/RubyXL/CustomFilter.html +1 -1
- data/rdoc/RubyXL/CustomFilters.html +1 -1
- data/rdoc/RubyXL/CustomGeometry.html +1 -1
- data/rdoc/RubyXL/CustomProperties.html +1 -1
- data/rdoc/RubyXL/CustomPropertiesFile.html +1 -1
- data/rdoc/RubyXL/CustomProperty.html +1 -1
- data/rdoc/RubyXL/CustomSheetView.html +1 -1
- data/rdoc/RubyXL/CustomSheetViews.html +1 -1
- data/rdoc/RubyXL/CustomWorkbookView.html +1 -1
- data/rdoc/RubyXL/CustomWorkbookViews.html +1 -1
- data/rdoc/RubyXL/CustomXMLFile.html +1 -1
- data/rdoc/RubyXL/DXF.html +1 -1
- data/rdoc/RubyXL/DXFs.html +1 -1
- data/rdoc/RubyXL/DataBar.html +1 -1
- data/rdoc/RubyXL/DataConsolidate.html +1 -1
- data/rdoc/RubyXL/DataConsolidationReference.html +1 -1
- data/rdoc/RubyXL/DataConsolidationReferences.html +1 -1
- data/rdoc/RubyXL/DataType.html +1 -1
- data/rdoc/RubyXL/DataValidation.html +1 -1
- data/rdoc/RubyXL/DataValidations.html +1 -1
- data/rdoc/RubyXL/DateGroupItem.html +1 -1
- data/rdoc/RubyXL/DefinedName.html +1 -1
- data/rdoc/RubyXL/DefinedNameExt.html +105 -0
- data/rdoc/RubyXL/DefinedNames.html +1 -1
- data/rdoc/RubyXL/DefinedNamesExt.html +105 -0
- data/rdoc/RubyXL/DocumentPropertiesFile.html +1 -1
- data/rdoc/RubyXL/DrawingFile.html +1 -1
- data/rdoc/RubyXL/DynamicFilter.html +1 -1
- data/rdoc/RubyXL/EmbeddedControl.html +1 -1
- data/rdoc/RubyXL/EmbeddedControls.html +1 -1
- data/rdoc/RubyXL/Extension.html +1 -1
- data/rdoc/RubyXL/ExtensionStorageArea.html +1 -1
- data/rdoc/RubyXL/Extents.html +1 -1
- data/rdoc/RubyXL/ExternalBook.html +105 -0
- data/rdoc/RubyXL/ExternalLinksFile.html +64 -2
- data/rdoc/RubyXL/ExternalReference.html +1 -1
- data/rdoc/RubyXL/ExternalReferences.html +1 -1
- data/rdoc/RubyXL/ExtraColorSchemeList.html +1 -1
- data/rdoc/RubyXL/FieldItem.html +1 -1
- data/rdoc/RubyXL/FileRecoveryProperties.html +1 -1
- data/rdoc/RubyXL/FileSharing.html +1 -1
- data/rdoc/RubyXL/FileVersion.html +1 -1
- data/rdoc/RubyXL/Fill.html +1 -1
- data/rdoc/RubyXL/Fills.html +1 -1
- data/rdoc/RubyXL/FilterContainer.html +1 -1
- data/rdoc/RubyXL/FloatNode.html +1 -1
- data/rdoc/RubyXL/FloatValue.html +1 -1
- data/rdoc/RubyXL/Font.html +1 -1
- data/rdoc/RubyXL/FontScheme.html +1 -1
- data/rdoc/RubyXL/Fonts.html +1 -1
- data/rdoc/RubyXL/Formula.html +1 -1
- data/rdoc/RubyXL/FunctionGroup.html +1 -1
- data/rdoc/RubyXL/FunctionGroups.html +1 -1
- data/rdoc/RubyXL/GenericStorageObject.html +1 -1
- data/rdoc/RubyXL/GradientFill.html +1 -1
- data/rdoc/RubyXL/HeaderFooterSettings.html +1 -1
- data/rdoc/RubyXL/Hyperlink.html +1 -1
- data/rdoc/RubyXL/HyperlinkRelFile.html +1 -1
- data/rdoc/RubyXL/Hyperlinks.html +1 -1
- data/rdoc/RubyXL/IconFilter.html +1 -1
- data/rdoc/RubyXL/IconSet.html +1 -1
- data/rdoc/RubyXL/IgnoredError.html +1 -1
- data/rdoc/RubyXL/IgnoredErrors.html +1 -1
- data/rdoc/RubyXL/IndexedColors.html +1 -1
- data/rdoc/RubyXL/InputCells.html +1 -1
- data/rdoc/RubyXL/IntegerNode.html +1 -1
- data/rdoc/RubyXL/IntegerValue.html +1 -1
- data/rdoc/RubyXL/LegacyCell.html +1 -1
- data/rdoc/RubyXL/LegacyWorksheet.html +1 -1
- data/rdoc/RubyXL/MRUColors.html +1 -1
- data/rdoc/RubyXL/MacrosFile.html +1 -1
- data/rdoc/RubyXL/MergedCell.html +1 -1
- data/rdoc/RubyXL/MergedCells.html +1 -1
- data/rdoc/RubyXL/NumFmt.html +1 -1
- data/rdoc/RubyXL/NumberFormat.html +1 -1
- data/rdoc/RubyXL/NumberFormats.html +4 -3
- data/rdoc/RubyXL/OLEObject.html +1 -1
- data/rdoc/RubyXL/OLEObjectFile.html +1 -1
- data/rdoc/RubyXL/OLEObjects.html +1 -1
- data/rdoc/RubyXL/OLESize.html +1 -1
- data/rdoc/RubyXL/OOXMLContainerObject.html +1 -1
- data/rdoc/RubyXL/OOXMLObject.html +1 -1
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +1 -1
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +1 -1
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +1 -1
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +1 -1
- data/rdoc/RubyXL/Offset.html +1 -1
- data/rdoc/RubyXL/OutlineProperties.html +1 -1
- data/rdoc/RubyXL/PageMargins.html +1 -1
- data/rdoc/RubyXL/PageSetup.html +1 -1
- data/rdoc/RubyXL/PageSetupProperties.html +1 -1
- data/rdoc/RubyXL/Pane.html +1 -1
- data/rdoc/RubyXL/Parser.html +1 -1
- data/rdoc/RubyXL/PatternFill.html +1 -1
- data/rdoc/RubyXL/PhoneticProperties.html +1 -1
- data/rdoc/RubyXL/PhoneticRun.html +1 -1
- data/rdoc/RubyXL/PivotArea.html +1 -1
- data/rdoc/RubyXL/PivotCache.html +1 -1
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +1 -1
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +1 -1
- data/rdoc/RubyXL/PivotCaches.html +1 -1
- data/rdoc/RubyXL/PivotReference.html +1 -1
- data/rdoc/RubyXL/PivotReferences.html +1 -1
- data/rdoc/RubyXL/PivotTableFile.html +1 -1
- data/rdoc/RubyXL/PivotTableSelection.html +1 -1
- data/rdoc/RubyXL/PresetGeometry.html +1 -1
- data/rdoc/RubyXL/PrintOptions.html +1 -1
- data/rdoc/RubyXL/PrinterSettingsFile.html +1 -1
- data/rdoc/RubyXL/ProtectedRange.html +1 -1
- data/rdoc/RubyXL/ProtectedRanges.html +1 -1
- data/rdoc/RubyXL/Protection.html +1 -1
- data/rdoc/RubyXL/RID.html +1 -1
- data/rdoc/RubyXL/RawOOXML.html +1 -1
- data/rdoc/RubyXL/Reference.html +1 -1
- data/rdoc/RubyXL/Relationship.html +1 -1
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +1 -1
- data/rdoc/RubyXL/RelationshipSupport.html +1 -1
- data/rdoc/RubyXL/RichText.html +1 -1
- data/rdoc/RubyXL/RichTextRun.html +1 -1
- data/rdoc/RubyXL/Row.html +1 -1
- data/rdoc/RubyXL/RowExt.html +105 -0
- data/rdoc/RubyXL/RunProperties.html +1 -1
- data/rdoc/RubyXL/Scenario.html +1 -1
- data/rdoc/RubyXL/Scenarios.html +1 -1
- data/rdoc/RubyXL/Selection.html +1 -1
- data/rdoc/RubyXL/ShapeGuide.html +1 -1
- data/rdoc/RubyXL/ShapeTextRectangle.html +1 -1
- data/rdoc/RubyXL/SharedStringsTable.html +1 -1
- data/rdoc/RubyXL/Sheet.html +1 -1
- data/rdoc/RubyXL/SheetCalculationProperties.html +1 -1
- data/rdoc/RubyXL/SheetData.html +1 -1
- data/rdoc/RubyXL/SheetDataExt.html +105 -0
- data/rdoc/RubyXL/SheetDataSet.html +105 -0
- data/rdoc/RubyXL/SheetName.html +105 -0
- data/rdoc/RubyXL/SheetNames.html +105 -0
- data/rdoc/RubyXL/Sheets.html +1 -1
- data/rdoc/RubyXL/SlicerCacheFile.html +1 -1
- data/rdoc/RubyXL/SlicerFile.html +1 -1
- data/rdoc/RubyXL/SmartTagProperties.html +1 -1
- data/rdoc/RubyXL/SmartTagType.html +1 -1
- data/rdoc/RubyXL/SmartTagTypes.html +1 -1
- data/rdoc/RubyXL/SmartTags.html +1 -1
- data/rdoc/RubyXL/SortCondition.html +1 -1
- data/rdoc/RubyXL/SortState.html +1 -1
- data/rdoc/RubyXL/Sqref.html +1 -1
- data/rdoc/RubyXL/Stop.html +1 -1
- data/rdoc/RubyXL/StringNode.html +1 -1
- data/rdoc/RubyXL/StringNodeW3C.html +1 -1
- data/rdoc/RubyXL/StringValue.html +1 -1
- data/rdoc/RubyXL/Stylesheet.html +52 -5
- data/rdoc/RubyXL/TableFile.html +1 -1
- data/rdoc/RubyXL/TableParts.html +1 -1
- data/rdoc/RubyXL/TableStyle.html +1 -1
- data/rdoc/RubyXL/TableStyles.html +1 -1
- data/rdoc/RubyXL/Text.html +1 -1
- data/rdoc/RubyXL/Theme.html +1 -1
- data/rdoc/RubyXL/ThemeElements.html +1 -1
- data/rdoc/RubyXL/ThumbnailFile.html +1 -1
- data/rdoc/RubyXL/Top10.html +1 -1
- data/rdoc/RubyXL/VMLDrawingFile.html +1 -1
- data/rdoc/RubyXL/Variant.html +1 -1
- data/rdoc/RubyXL/Vector.html +1 -1
- data/rdoc/RubyXL/VectorValue.html +1 -1
- data/rdoc/RubyXL/VisualProperties.html +1 -1
- data/rdoc/RubyXL/WebPublishObject.html +1 -1
- data/rdoc/RubyXL/WebPublishObjects.html +1 -1
- data/rdoc/RubyXL/WebPublishingItem.html +1 -1
- data/rdoc/RubyXL/WebPublishingItems.html +1 -1
- data/rdoc/RubyXL/WebPublishingProperties.html +1 -1
- data/rdoc/RubyXL/Workbook.html +10 -10
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +6 -6
- data/rdoc/RubyXL/WorkbookProperties.html +1 -1
- data/rdoc/RubyXL/WorkbookProtection.html +1 -1
- data/rdoc/RubyXL/WorkbookRoot.html +1 -1
- data/rdoc/RubyXL/WorkbookView.html +1 -1
- data/rdoc/RubyXL/WorkbookViews.html +1 -1
- data/rdoc/RubyXL/Worksheet.html +1 -1
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +1 -1
- data/rdoc/RubyXL/WorksheetDimensions.html +1 -1
- data/rdoc/RubyXL/WorksheetFormatProperties.html +1 -1
- data/rdoc/RubyXL/WorksheetProperties.html +1 -1
- data/rdoc/RubyXL/WorksheetProtection.html +1 -1
- data/rdoc/RubyXL/WorksheetView.html +1 -1
- data/rdoc/RubyXL/WorksheetViews.html +1 -1
- data/rdoc/RubyXL/XF.html +1 -1
- data/rdoc/RubyXL.html +1 -1
- data/rdoc/created.rid +10 -9
- data/rdoc/index.html +20 -2
- 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 +184 -141
- data/rubyXL.gemspec +14 -4
- metadata +13 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94159159548b151ffb1113f14f2fea84e3e9546a
|
4
|
+
data.tar.gz: 4229e304ccd9cb397c5032d589296c159c1bd850
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6958a0783b28afda96c5b52d22d5212b17a88ec86fc883ab209bea42cdcfe6b571de1798f65e4e26878bca6e8d2a3198d77444c69e8c00906bf20987726f0144
|
7
|
+
data.tar.gz: c68dade5a9cd9f357ce0b4b6183ceb51ce594ebafaf495fe2f5094b2564c9f39955684174f8e4c001debdfc49b7887891440fa0c93be2f7337f2ebc310d14a19
|
data/README.rdoc
CHANGED
@@ -188,6 +188,10 @@ WARNING: Use of this method WILL break formulas referencing cells which have bee
|
|
188
188
|
worksheet.delete_cell(0, 0, :up) # Deletes A1, shifts contents of first column up
|
189
189
|
worksheet.delete_cell(0, 0) # Deletes A1, does not shift cells
|
190
190
|
|
191
|
+
==== Modifying Cell Format
|
192
|
+
cell = worksheet[0][0]
|
193
|
+
cell.set_number_format '0.0000%' # For formats, see https://support.office.com/en-us/article/5026bbd6-04bc-48cd-bf33-80f18b4eae68
|
194
|
+
|
191
195
|
== I/O
|
192
196
|
|
193
197
|
=== Writing
|
@@ -217,5 +221,5 @@ Take a look at the files in spec/lib/ for rspecs on most methods
|
|
217
221
|
|
218
222
|
== Copyright
|
219
223
|
|
220
|
-
Copyright (c) 2011 Vivek Bhagwat, 2013-
|
224
|
+
Copyright (c) 2011 Vivek Bhagwat, 2013-2015 Wesha.
|
221
225
|
See LICENSE.txt for further details.
|
data/Rakefile
CHANGED
@@ -20,7 +20,7 @@ Jeweler::Tasks.new do |gem|
|
|
20
20
|
gem.summary = %Q{rubyXL is a gem which allows the parsing, creation, and manipulation of Microsoft Excel (.xlsx/.xlsm) Documents}
|
21
21
|
gem.description = %Q{rubyXL is a gem which allows the parsing, creation, and manipulation of Microsoft Excel (.xlsx/.xlsm) Documents}
|
22
22
|
gem.email = "bhagwat.vivek@gmail.com"
|
23
|
-
gem.authors = ["Vivek Bhagwat"]
|
23
|
+
gem.authors = ["Vivek Bhagwat", 'Wesha']
|
24
24
|
# dependencies defined in Gemfile
|
25
25
|
end
|
26
26
|
Jeweler::RubygemsDotOrgTasks.new
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.3.
|
1
|
+
3.3.10
|
data/lib/rubyXL/cell.rb
CHANGED
@@ -92,7 +92,7 @@ module RubyXL
|
|
92
92
|
# Helper method to update the font array and xf array
|
93
93
|
def update_font_references(modified_font)
|
94
94
|
xf = workbook.register_new_font(modified_font, get_cell_xf)
|
95
|
-
self.style_index = workbook.register_new_xf(xf
|
95
|
+
self.style_index = workbook.register_new_xf(xf)
|
96
96
|
end
|
97
97
|
private :update_font_references
|
98
98
|
|
@@ -140,7 +140,7 @@ module RubyXL
|
|
140
140
|
new_xf
|
141
141
|
end
|
142
142
|
|
143
|
-
def register_new_xf(new_xf
|
143
|
+
def register_new_xf(new_xf)
|
144
144
|
new_xf_id = cell_xfs.find_index { |xf| xf == new_xf } # Use existing XF, if it exists
|
145
145
|
new_xf_id ||= cell_xfs.size # If this XF has never existed before, add it to collection.
|
146
146
|
cell_xfs[new_xf_id] = new_xf
|
@@ -152,7 +152,7 @@ module RubyXL
|
|
152
152
|
xf.alignment ||= RubyXL::Alignment.new
|
153
153
|
xf.apply_alignment = true
|
154
154
|
yield(xf.alignment)
|
155
|
-
register_new_xf(xf
|
155
|
+
register_new_xf(xf)
|
156
156
|
end
|
157
157
|
|
158
158
|
def modify_fill(style_index, rgb)
|
@@ -161,7 +161,7 @@ module RubyXL
|
|
161
161
|
RubyXL::PatternFill.new(:pattern_type => 'solid',
|
162
162
|
:fg_color => RubyXL::Color.new(:rgb => rgb)))
|
163
163
|
new_xf = register_new_fill(new_fill, xf)
|
164
|
-
register_new_xf(new_xf
|
164
|
+
register_new_xf(new_xf)
|
165
165
|
end
|
166
166
|
|
167
167
|
def modify_border(style_index, direction, weight)
|
@@ -176,7 +176,7 @@ module RubyXL
|
|
176
176
|
new_xf.border_id ||= borders.size # If this border has never existed before, add it to collection.
|
177
177
|
borders[new_xf.border_id] = new_border
|
178
178
|
|
179
|
-
register_new_xf(new_xf
|
179
|
+
register_new_xf(new_xf)
|
180
180
|
end
|
181
181
|
|
182
182
|
end
|
@@ -678,6 +678,13 @@ module RubyXL
|
|
678
678
|
xf_obj.alignment.wrap_text
|
679
679
|
end
|
680
680
|
|
681
|
+
def set_number_format(format_code)
|
682
|
+
new_xf = get_cell_xf.dup
|
683
|
+
new_xf.num_fmt_id = workbook.stylesheet.register_number_format(format_code)
|
684
|
+
new_xf.apply_number_format = true
|
685
|
+
self.style_index = workbook.register_new_xf(new_xf)
|
686
|
+
end
|
687
|
+
|
681
688
|
end
|
682
689
|
|
683
690
|
end
|
@@ -0,0 +1,85 @@
|
|
1
|
+
module RubyXL
|
2
|
+
|
3
|
+
# http://www.datypic.com/sc/ooxml/e-ssml_sheetName-1.html
|
4
|
+
class SheetName < OOXMLObject
|
5
|
+
define_attribute(:val, :string)
|
6
|
+
define_element_name 'sheetName'
|
7
|
+
end
|
8
|
+
|
9
|
+
# http://www.datypic.com/sc/ooxml/e-ssml_sheetNames-1.html
|
10
|
+
class SheetNames < OOXMLContainerObject
|
11
|
+
define_child_node(RubyXL::SheetName, :collection => true)
|
12
|
+
define_element_name 'sheetNames'
|
13
|
+
end
|
14
|
+
|
15
|
+
# http://www.datypic.com/sc/ooxml/e-ssml_definedName-1.html
|
16
|
+
class DefinedNameExt < OOXMLObject
|
17
|
+
define_attribute(:name, :string, :required => true)
|
18
|
+
define_attribute(:refersTo, :string)
|
19
|
+
define_attribute(:sheetId, :uint)
|
20
|
+
define_element_name 'definedName'
|
21
|
+
end
|
22
|
+
|
23
|
+
# http://www.datypic.com/sc/ooxml/e-ssml_definedNames-1.html
|
24
|
+
class DefinedNamesExt < OOXMLContainerObject
|
25
|
+
define_child_node(RubyXL::DefinedNameExt, :collection => true)
|
26
|
+
define_element_name 'definedNames'
|
27
|
+
end
|
28
|
+
|
29
|
+
# http://www.datypic.com/sc/ooxml/e-ssml_cell-1.html
|
30
|
+
class CellExt < OOXMLObject
|
31
|
+
define_child_node(RubyXL::StringNode, :node_name => :v)
|
32
|
+
define_attribute(:r, :sqref)
|
33
|
+
define_attribute(:t, :string, :default => 'n')
|
34
|
+
define_attribute(:vm, :uint, :default => 0)
|
35
|
+
define_element_name 'cell'
|
36
|
+
end
|
37
|
+
|
38
|
+
# http://www.datypic.com/sc/ooxml/e-ssml_row-2.html
|
39
|
+
class RowExt < OOXMLObject
|
40
|
+
define_child_node(RubyXL::CellExt, :collection => true)
|
41
|
+
define_attribute(:r, :uint, :required => true)
|
42
|
+
define_element_name 'row'
|
43
|
+
end
|
44
|
+
|
45
|
+
# http://www.datypic.com/sc/ooxml/e-ssml_sheetData-3.html
|
46
|
+
class SheetDataExt < OOXMLObject
|
47
|
+
define_child_node(RubyXL::RowExt, :collection => true)
|
48
|
+
define_attribute(:sheetId, :uint, :required => true)
|
49
|
+
define_attribute(:refreshError, :bool)
|
50
|
+
define_element_name 'sheetData'
|
51
|
+
end
|
52
|
+
|
53
|
+
# http://www.datypic.com/sc/ooxml/e-ssml_sheetDataSet-1.html
|
54
|
+
class SheetDataSet < OOXMLContainerObject
|
55
|
+
define_child_node(RubyXL::SheetDataExt, :collection => true)
|
56
|
+
define_element_name 'sheetDataSet'
|
57
|
+
end
|
58
|
+
|
59
|
+
# http://www.datypic.com/sc/ooxml/e-ssml_externalBook-1.html
|
60
|
+
class ExternalBook < OOXMLObject
|
61
|
+
define_child_node(RubyXL::SheetNames)
|
62
|
+
define_child_node(RubyXL::DefinedNamesExt)
|
63
|
+
define_child_node(RubyXL::SheetDataSet)
|
64
|
+
define_attribute(:'r:id', :string, :required => true)
|
65
|
+
define_element_name 'externalBook'
|
66
|
+
end
|
67
|
+
|
68
|
+
class ExternalLinksFile < OOXMLTopLevelObject
|
69
|
+
CONTENT_TYPE = 'application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml'
|
70
|
+
REL_TYPE = 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink'
|
71
|
+
|
72
|
+
include RubyXL::RelationshipSupport
|
73
|
+
define_child_node(RubyXL::ExternalBook)
|
74
|
+
|
75
|
+
define_element_name 'externalLink'
|
76
|
+
set_namespaces('http://schemas.openxmlformats.org/spreadsheetml/2006/main' => '',
|
77
|
+
'http://schemas.openxmlformats.org/markup-compatibility/2006' => 'mc',
|
78
|
+
'http://schemas.openxmlformats.org/officeDocument/2006/relationships' => 'r')
|
79
|
+
|
80
|
+
def xlsx_path
|
81
|
+
ROOT.join('xl', 'externalLinks', "externalLink#{file_index}.xml")
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
end
|
@@ -141,11 +141,6 @@ module RubyXL
|
|
141
141
|
REL_TYPE = 'http://schemas.microsoft.com/office/2006/relationships/vbaProject'
|
142
142
|
end
|
143
143
|
|
144
|
-
class ExternalLinksFile < GenericStorageObject
|
145
|
-
CONTENT_TYPE = 'application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml'
|
146
|
-
REL_TYPE = 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink'
|
147
|
-
end
|
148
|
-
|
149
144
|
class CustomXMLFile < GenericStorageObject
|
150
145
|
REL_TYPE = 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml'
|
151
146
|
end
|
@@ -166,4 +161,3 @@ module RubyXL
|
|
166
161
|
end
|
167
162
|
|
168
163
|
end
|
169
|
-
|
@@ -25,6 +25,7 @@ module RubyXL
|
|
25
25
|
define_child_node(RubyXL::NumberFormat, :collection => :with_count)
|
26
26
|
define_element_name 'numFmts'
|
27
27
|
|
28
|
+
# https://support.office.com/en-us/article/5026bbd6-04bc-48cd-bf33-80f18b4eae68
|
28
29
|
DEFAULT_NUMBER_FORMATS = self.new(:_ => [
|
29
30
|
RubyXL::NumberFormat.new(:num_fmt_id => 1, :format_code => '0'),
|
30
31
|
RubyXL::NumberFormat.new(:num_fmt_id => 2, :format_code => '0.00'),
|
@@ -210,6 +211,22 @@ module RubyXL
|
|
210
211
|
@format_hash[format_id]
|
211
212
|
end
|
212
213
|
|
214
|
+
def register_number_format(format_code)
|
215
|
+
self.number_formats ||= RubyXL::NumberFormats.new
|
216
|
+
|
217
|
+
max_fmt_id = 163
|
218
|
+
|
219
|
+
(NumberFormats::DEFAULT_NUMBER_FORMATS + number_formats).each { |fmt|
|
220
|
+
return fmt.num_fmt_id if fmt.format_code == format_code
|
221
|
+
max_fmt_id = fmt.num_fmt_id if fmt.num_fmt_id > max_fmt_id
|
222
|
+
}
|
223
|
+
|
224
|
+
max_fmt_id += 1
|
225
|
+
number_formats << RubyXL::NumberFormat.new(:num_fmt_id => max_fmt_id, :format_code => format_code)
|
226
|
+
|
227
|
+
return max_fmt_id
|
228
|
+
end
|
229
|
+
|
213
230
|
end
|
214
231
|
|
215
232
|
end
|
data/lib/rubyXL/worksheet.rb
CHANGED
@@ -307,7 +307,7 @@ module LegacyWorksheet
|
|
307
307
|
|
308
308
|
xf = workbook.register_new_font(font, get_row_xf(row_index))
|
309
309
|
row = sheet_data[row_index]
|
310
|
-
row.style_index = workbook.register_new_xf(xf
|
310
|
+
row.style_index = workbook.register_new_xf(xf)
|
311
311
|
row.cells.each { |c| c.font_switch(change_type, arg) unless c.nil? }
|
312
312
|
end
|
313
313
|
|
@@ -318,7 +318,7 @@ module LegacyWorksheet
|
|
318
318
|
ensure_cell_exists(0, column_index)
|
319
319
|
|
320
320
|
xf = workbook.register_new_font(font, xf)
|
321
|
-
cols.get_range(column_index).style_index = workbook.register_new_xf(xf
|
321
|
+
cols.get_range(column_index).style_index = workbook.register_new_xf(xf)
|
322
322
|
|
323
323
|
sheet_data.rows.each { |row|
|
324
324
|
c = row && row[column_index]
|
data/rdoc/README_rdoc.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>README - rubyXL 3.3.
|
7
|
+
<title>README - rubyXL 3.3.10</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "./";
|
@@ -89,6 +89,7 @@
|
|
89
89
|
<li><a href="#label-Delete+Column">Delete Column</a>
|
90
90
|
<li><a href="#label-Insert+Cell">Insert Cell</a>
|
91
91
|
<li><a href="#label-Delete+Cell">Delete Cell</a>
|
92
|
+
<li><a href="#label-Modifying+Cell+Format">Modifying Cell Format</a>
|
92
93
|
<li><a href="#label-I-2FO">I/O</a>
|
93
94
|
<li><a href="#label-Writing">Writing</a>
|
94
95
|
<li><a href="#label-Streaming">Streaming</a>
|
@@ -399,6 +400,12 @@ have been moved, as the formulas do not adapt to the shifted cells</p>
|
|
399
400
|
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">delete_cell</span>(<span class="ruby-value">0</span>, <span class="ruby-value">0</span>) <span class="ruby-comment"># Deletes A1, does not shift cells</span>
|
400
401
|
</pre>
|
401
402
|
|
403
|
+
<h4 id="label-Modifying+Cell+Format">Modifying Cell Format<span><a href="#label-Modifying+Cell+Format">¶</a> <a href="#top">↑</a></span></h4>
|
404
|
+
|
405
|
+
<pre class="ruby"><span class="ruby-identifier">cell</span> = <span class="ruby-identifier">worksheet</span>[<span class="ruby-value">0</span>][<span class="ruby-value">0</span>]
|
406
|
+
<span class="ruby-identifier">cell</span>.<span class="ruby-identifier">set_number_format</span> <span class="ruby-string">'0.0000%'</span> <span class="ruby-comment"># For formats, see https://support.office.com/en-us/article/5026bbd6-04bc-48cd-bf33-80f18b4eae68</span>
|
407
|
+
</pre>
|
408
|
+
|
402
409
|
<h2 id="label-I-2FO">I/O<span><a href="#label-I-2FO">¶</a> <a href="#top">↑</a></span></h2>
|
403
410
|
|
404
411
|
<h3 id="label-Writing">Writing<span><a href="#label-Writing">¶</a> <a href="#top">↑</a></span></h3>
|
@@ -449,7 +456,7 @@ please isolate to its own commit so I can cherry-pick around it.</p>
|
|
449
456
|
|
450
457
|
<h2 id="label-Copyright">Copyright<span><a href="#label-Copyright">¶</a> <a href="#top">↑</a></span></h2>
|
451
458
|
|
452
|
-
<p>Copyright © 2011 Vivek Bhagwat, 2013-
|
459
|
+
<p>Copyright © 2011 Vivek Bhagwat, 2013-2015 Wesha. See LICENSE.txt for
|
453
460
|
further details.</p>
|
454
461
|
</main>
|
455
462
|
|
data/rdoc/RubyXL/AExtension.html
CHANGED
data/rdoc/RubyXL/Alignment.html
CHANGED
data/rdoc/RubyXL/Authors.html
CHANGED
data/rdoc/RubyXL/AutoFilter.html
CHANGED
data/rdoc/RubyXL/Border.html
CHANGED
data/rdoc/RubyXL/BorderEdge.html
CHANGED
data/rdoc/RubyXL/Borders.html
CHANGED
data/rdoc/RubyXL/Break.html
CHANGED
data/rdoc/RubyXL/BreakList.html
CHANGED
data/rdoc/RubyXL/CT_Bevel.html
CHANGED
data/rdoc/RubyXL/CT_Blip.html
CHANGED
data/rdoc/RubyXL/CT_Camera.html
CHANGED
data/rdoc/RubyXL/CT_Color.html
CHANGED