rubyXL 2.5.7 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rubyXL.rb +4 -1
- data/lib/rubyXL/objects/calculation_chain.rb +4 -6
- data/lib/rubyXL/objects/chartsheet.rb +16 -13
- data/lib/rubyXL/objects/color.rb +1 -1
- data/lib/rubyXL/objects/comments.rb +46 -0
- data/lib/rubyXL/objects/content_types.rb +17 -55
- data/lib/rubyXL/objects/document_properties.rb +13 -15
- data/lib/rubyXL/objects/filters.rb +1 -1
- data/lib/rubyXL/objects/ooxml_object.rb +24 -11
- data/lib/rubyXL/objects/reference.rb +1 -1
- data/lib/rubyXL/objects/relationships.rb +147 -31
- data/lib/rubyXL/objects/root.rb +57 -0
- data/lib/rubyXL/objects/shared_strings.rb +4 -5
- data/lib/rubyXL/objects/sheet_data.rb +8 -2
- data/lib/rubyXL/objects/storage.rb +169 -0
- data/lib/rubyXL/objects/stylesheet.rb +4 -5
- data/lib/rubyXL/objects/text.rb +3 -3
- data/lib/rubyXL/objects/theme.rb +4 -6
- data/lib/rubyXL/objects/workbook.rb +50 -22
- data/lib/rubyXL/objects/worksheet.rb +36 -12
- data/lib/rubyXL/parser.rb +23 -97
- data/lib/rubyXL/workbook.rb +29 -41
- data/lib/rubyXL/worksheet.rb +3 -0
- data/rdoc/README_rdoc.html +1 -1
- data/rdoc/RubyXL.html +1 -1
- 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 +105 -0
- data/rdoc/RubyXL/AutoFilter.html +1 -1
- data/rdoc/RubyXL/AutoFilterColumn.html +1 -1
- data/rdoc/RubyXL/BinaryImageFile.html +105 -0
- 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 +26 -42
- data/rdoc/RubyXL/CalculationChainCell.html +1 -1
- data/rdoc/RubyXL/CalculationProperties.html +1 -1
- data/rdoc/RubyXL/Cell.html +13 -13
- 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 +1 -1
- data/rdoc/RubyXL/CellStyles.html +1 -1
- data/rdoc/RubyXL/CellValue.html +53 -1
- data/rdoc/RubyXL/CellWatch.html +1 -1
- data/rdoc/RubyXL/CellWatches.html +1 -1
- data/rdoc/RubyXL/CellXFs.html +1 -1
- data/rdoc/RubyXL/ChartColorsFile.html +105 -0
- data/rdoc/RubyXL/ChartFile.html +105 -0
- data/rdoc/RubyXL/ChartRelationshipsFile.html +105 -0
- data/rdoc/RubyXL/ChartStyleFile.html +105 -0
- data/rdoc/RubyXL/ChartUserShapesFile.html +105 -0
- 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 +2 -2
- 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 +108 -0
- data/rdoc/RubyXL/CommentList.html +105 -0
- data/rdoc/RubyXL/{CoreProperties.html → CommentsFile.html} +4 -4
- 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 +87 -63
- data/rdoc/RubyXL/ControlPropertiesFile.html +105 -0
- data/rdoc/RubyXL/CorePropertiesFile.html +105 -0
- 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 +105 -0
- 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 +105 -0
- 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/DefinedNames.html +1 -1
- data/rdoc/RubyXL/{DocumentProperties.html → DocumentPropertiesFile.html} +59 -83
- data/rdoc/RubyXL/DrawingFile.html +225 -0
- data/rdoc/RubyXL/DrawingRelationshipsFile.html +105 -0
- 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/ExternalLinksFile.html +105 -0
- 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 +352 -0
- 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 +105 -0
- 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/LegacyWorkbook.html +48 -343
- data/rdoc/RubyXL/LegacyWorksheet.html +83 -80
- data/rdoc/RubyXL/MRUColors.html +1 -1
- data/rdoc/RubyXL/MacrosFile.html +105 -0
- 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 +1 -1
- data/rdoc/RubyXL/OLEObject.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 +3 -3
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +1 -1
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +283 -20
- 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 +35 -139
- 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 +105 -0
- 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 +105 -0
- 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 +119 -0
- 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 +2 -2
- data/rdoc/RubyXL/Relationship.html +1 -1
- data/rdoc/RubyXL/RelationshipSupport.html +98 -0
- data/rdoc/RubyXL/RichText.html +1 -1
- data/rdoc/RubyXL/RichTextRun.html +1 -1
- data/rdoc/RubyXL/RootRelationships.html +1 -1
- data/rdoc/RubyXL/Row.html +1 -1
- 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 +61 -77
- data/rdoc/RubyXL/Sheet.html +1 -1
- data/rdoc/RubyXL/SheetCalculationProperties.html +1 -1
- data/rdoc/RubyXL/SheetData.html +1 -1
- data/rdoc/RubyXL/SheetRelationshipsFile.html +105 -0
- data/rdoc/RubyXL/Sheets.html +1 -1
- data/rdoc/RubyXL/SlicerCacheFile.html +105 -0
- data/rdoc/RubyXL/SlicerFile.html +105 -0
- 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 +1 -1
- data/rdoc/RubyXL/TableFile.html +105 -0
- 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 +2 -2
- data/rdoc/RubyXL/Theme.html +1 -1
- data/rdoc/RubyXL/ThemeElements.html +1 -1
- data/rdoc/RubyXL/ThumbnailFile.html +105 -0
- data/rdoc/RubyXL/Top10.html +1 -1
- data/rdoc/RubyXL/VMLDrawingFile.html +105 -0
- 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 +1 -1
- data/rdoc/RubyXL/WorkbookProperties.html +1 -1
- data/rdoc/RubyXL/WorkbookProtection.html +1 -1
- data/rdoc/RubyXL/WorkbookRelationships.html +1 -1
- data/rdoc/RubyXL/WorkbookRoot.html +449 -0
- data/rdoc/RubyXL/WorkbookView.html +1 -1
- data/rdoc/RubyXL/WorkbookViews.html +1 -1
- data/rdoc/RubyXL/Worksheet.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/created.rid +30 -28
- data/rdoc/index.html +12 -4
- data/rdoc/js/search_index.js +1 -1
- data/rdoc/table_of_contents.html +160 -98
- data/rubyXL.gemspec +38 -7
- data/test/test_parse_write.rb +4 -4
- metadata +37 -6
- data/lib/rubyXL/generic_storage.rb +0 -42
- data/rdoc/RubyXL/GenericStorage.html +0 -346
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
|
5
|
+
# stub: rubyXL 3.0.0 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "rubyXL"
|
9
|
-
s.version = "
|
9
|
+
s.version = "3.0.0"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Vivek Bhagwat"]
|
14
|
-
s.date = "2014-
|
14
|
+
s.date = "2014-06-07"
|
15
15
|
s.description = "rubyXL is a gem which allows the parsing, creation, and manipulation of Microsoft Excel (.xlsx/.xlsm) Documents"
|
16
16
|
s.email = "bhagwat.vivek@gmail.com"
|
17
17
|
s.extra_rdoc_files = [
|
@@ -26,13 +26,13 @@ Gem::Specification.new do |s|
|
|
26
26
|
"VERSION",
|
27
27
|
"lib/rubyXL.rb",
|
28
28
|
"lib/rubyXL/cell.rb",
|
29
|
-
"lib/rubyXL/generic_storage.rb",
|
30
29
|
"lib/rubyXL/objects/border.rb",
|
31
30
|
"lib/rubyXL/objects/calculation_chain.rb",
|
32
31
|
"lib/rubyXL/objects/cell_style.rb",
|
33
32
|
"lib/rubyXL/objects/chartsheet.rb",
|
34
33
|
"lib/rubyXL/objects/color.rb",
|
35
34
|
"lib/rubyXL/objects/column_range.rb",
|
35
|
+
"lib/rubyXL/objects/comments.rb",
|
36
36
|
"lib/rubyXL/objects/container_nodes.rb",
|
37
37
|
"lib/rubyXL/objects/content_types.rb",
|
38
38
|
"lib/rubyXL/objects/data_validation.rb",
|
@@ -45,10 +45,12 @@ Gem::Specification.new do |s|
|
|
45
45
|
"lib/rubyXL/objects/ooxml_object.rb",
|
46
46
|
"lib/rubyXL/objects/reference.rb",
|
47
47
|
"lib/rubyXL/objects/relationships.rb",
|
48
|
+
"lib/rubyXL/objects/root.rb",
|
48
49
|
"lib/rubyXL/objects/shared_strings.rb",
|
49
50
|
"lib/rubyXL/objects/sheet_common.rb",
|
50
51
|
"lib/rubyXL/objects/sheet_data.rb",
|
51
52
|
"lib/rubyXL/objects/simple_types.rb",
|
53
|
+
"lib/rubyXL/objects/storage.rb",
|
52
54
|
"lib/rubyXL/objects/stylesheet.rb",
|
53
55
|
"lib/rubyXL/objects/text.rb",
|
54
56
|
"lib/rubyXL/objects/theme.rb",
|
@@ -64,8 +66,10 @@ Gem::Specification.new do |s|
|
|
64
66
|
"rdoc/RubyXL/AdjustHandleList.html",
|
65
67
|
"rdoc/RubyXL/Alignment.html",
|
66
68
|
"rdoc/RubyXL/AlternateContent.html",
|
69
|
+
"rdoc/RubyXL/Authors.html",
|
67
70
|
"rdoc/RubyXL/AutoFilter.html",
|
68
71
|
"rdoc/RubyXL/AutoFilterColumn.html",
|
72
|
+
"rdoc/RubyXL/BinaryImageFile.html",
|
69
73
|
"rdoc/RubyXL/BodyProperties.html",
|
70
74
|
"rdoc/RubyXL/BooleanNode.html",
|
71
75
|
"rdoc/RubyXL/BooleanValue.html",
|
@@ -190,6 +194,11 @@ Gem::Specification.new do |s|
|
|
190
194
|
"rdoc/RubyXL/CellWatch.html",
|
191
195
|
"rdoc/RubyXL/CellWatches.html",
|
192
196
|
"rdoc/RubyXL/CellXFs.html",
|
197
|
+
"rdoc/RubyXL/ChartColorsFile.html",
|
198
|
+
"rdoc/RubyXL/ChartFile.html",
|
199
|
+
"rdoc/RubyXL/ChartRelationshipsFile.html",
|
200
|
+
"rdoc/RubyXL/ChartStyleFile.html",
|
201
|
+
"rdoc/RubyXL/ChartUserShapesFile.html",
|
193
202
|
"rdoc/RubyXL/Chartsheet.html",
|
194
203
|
"rdoc/RubyXL/ChartsheetPageSetup.html",
|
195
204
|
"rdoc/RubyXL/ChartsheetProperties.html",
|
@@ -203,24 +212,30 @@ Gem::Specification.new do |s|
|
|
203
212
|
"rdoc/RubyXL/Colors.html",
|
204
213
|
"rdoc/RubyXL/ColumnRange.html",
|
205
214
|
"rdoc/RubyXL/ColumnRanges.html",
|
215
|
+
"rdoc/RubyXL/Comment.html",
|
216
|
+
"rdoc/RubyXL/CommentList.html",
|
217
|
+
"rdoc/RubyXL/CommentsFile.html",
|
206
218
|
"rdoc/RubyXL/ConditionalFormatValue.html",
|
207
219
|
"rdoc/RubyXL/ConditionalFormatting.html",
|
208
220
|
"rdoc/RubyXL/ConditionalFormattingRule.html",
|
209
221
|
"rdoc/RubyXL/ContentTypeDefault.html",
|
210
222
|
"rdoc/RubyXL/ContentTypeOverride.html",
|
211
223
|
"rdoc/RubyXL/ContentTypes.html",
|
212
|
-
"rdoc/RubyXL/
|
224
|
+
"rdoc/RubyXL/ControlPropertiesFile.html",
|
225
|
+
"rdoc/RubyXL/CorePropertiesFile.html",
|
213
226
|
"rdoc/RubyXL/CustomColor.html",
|
214
227
|
"rdoc/RubyXL/CustomColorList.html",
|
215
228
|
"rdoc/RubyXL/CustomFilter.html",
|
216
229
|
"rdoc/RubyXL/CustomFilters.html",
|
217
230
|
"rdoc/RubyXL/CustomGeometry.html",
|
218
231
|
"rdoc/RubyXL/CustomProperties.html",
|
232
|
+
"rdoc/RubyXL/CustomPropertiesFile.html",
|
219
233
|
"rdoc/RubyXL/CustomProperty.html",
|
220
234
|
"rdoc/RubyXL/CustomSheetView.html",
|
221
235
|
"rdoc/RubyXL/CustomSheetViews.html",
|
222
236
|
"rdoc/RubyXL/CustomWorkbookView.html",
|
223
237
|
"rdoc/RubyXL/CustomWorkbookViews.html",
|
238
|
+
"rdoc/RubyXL/CustomXMLFile.html",
|
224
239
|
"rdoc/RubyXL/DXF.html",
|
225
240
|
"rdoc/RubyXL/DXFs.html",
|
226
241
|
"rdoc/RubyXL/DataBar.html",
|
@@ -233,13 +248,16 @@ Gem::Specification.new do |s|
|
|
233
248
|
"rdoc/RubyXL/DateGroupItem.html",
|
234
249
|
"rdoc/RubyXL/DefinedName.html",
|
235
250
|
"rdoc/RubyXL/DefinedNames.html",
|
236
|
-
"rdoc/RubyXL/
|
251
|
+
"rdoc/RubyXL/DocumentPropertiesFile.html",
|
252
|
+
"rdoc/RubyXL/DrawingFile.html",
|
253
|
+
"rdoc/RubyXL/DrawingRelationshipsFile.html",
|
237
254
|
"rdoc/RubyXL/DynamicFilter.html",
|
238
255
|
"rdoc/RubyXL/EmbeddedControl.html",
|
239
256
|
"rdoc/RubyXL/EmbeddedControls.html",
|
240
257
|
"rdoc/RubyXL/Extension.html",
|
241
258
|
"rdoc/RubyXL/ExtensionStorageArea.html",
|
242
259
|
"rdoc/RubyXL/Extents.html",
|
260
|
+
"rdoc/RubyXL/ExternalLinksFile.html",
|
243
261
|
"rdoc/RubyXL/ExternalReference.html",
|
244
262
|
"rdoc/RubyXL/ExternalReferences.html",
|
245
263
|
"rdoc/RubyXL/ExtraColorSchemeList.html",
|
@@ -258,10 +276,11 @@ Gem::Specification.new do |s|
|
|
258
276
|
"rdoc/RubyXL/Formula.html",
|
259
277
|
"rdoc/RubyXL/FunctionGroup.html",
|
260
278
|
"rdoc/RubyXL/FunctionGroups.html",
|
261
|
-
"rdoc/RubyXL/
|
279
|
+
"rdoc/RubyXL/GenericStorageObject.html",
|
262
280
|
"rdoc/RubyXL/GradientFill.html",
|
263
281
|
"rdoc/RubyXL/HeaderFooterSettings.html",
|
264
282
|
"rdoc/RubyXL/Hyperlink.html",
|
283
|
+
"rdoc/RubyXL/HyperlinkRelFile.html",
|
265
284
|
"rdoc/RubyXL/Hyperlinks.html",
|
266
285
|
"rdoc/RubyXL/IconFilter.html",
|
267
286
|
"rdoc/RubyXL/IconSet.html",
|
@@ -275,6 +294,7 @@ Gem::Specification.new do |s|
|
|
275
294
|
"rdoc/RubyXL/LegacyWorkbook.html",
|
276
295
|
"rdoc/RubyXL/LegacyWorksheet.html",
|
277
296
|
"rdoc/RubyXL/MRUColors.html",
|
297
|
+
"rdoc/RubyXL/MacrosFile.html",
|
278
298
|
"rdoc/RubyXL/MergedCell.html",
|
279
299
|
"rdoc/RubyXL/MergedCells.html",
|
280
300
|
"rdoc/RubyXL/NumFmt.html",
|
@@ -301,12 +321,15 @@ Gem::Specification.new do |s|
|
|
301
321
|
"rdoc/RubyXL/PhoneticRun.html",
|
302
322
|
"rdoc/RubyXL/PivotArea.html",
|
303
323
|
"rdoc/RubyXL/PivotCache.html",
|
324
|
+
"rdoc/RubyXL/PivotCacheDefinitionFile.html",
|
304
325
|
"rdoc/RubyXL/PivotCaches.html",
|
305
326
|
"rdoc/RubyXL/PivotReference.html",
|
306
327
|
"rdoc/RubyXL/PivotReferences.html",
|
328
|
+
"rdoc/RubyXL/PivotTableFile.html",
|
307
329
|
"rdoc/RubyXL/PivotTableSelection.html",
|
308
330
|
"rdoc/RubyXL/PresetGeometry.html",
|
309
331
|
"rdoc/RubyXL/PrintOptions.html",
|
332
|
+
"rdoc/RubyXL/PrinterSettingsFile.html",
|
310
333
|
"rdoc/RubyXL/ProtectedRange.html",
|
311
334
|
"rdoc/RubyXL/ProtectedRanges.html",
|
312
335
|
"rdoc/RubyXL/Protection.html",
|
@@ -314,6 +337,7 @@ Gem::Specification.new do |s|
|
|
314
337
|
"rdoc/RubyXL/RawOOXML.html",
|
315
338
|
"rdoc/RubyXL/Reference.html",
|
316
339
|
"rdoc/RubyXL/Relationship.html",
|
340
|
+
"rdoc/RubyXL/RelationshipSupport.html",
|
317
341
|
"rdoc/RubyXL/RichText.html",
|
318
342
|
"rdoc/RubyXL/RichTextRun.html",
|
319
343
|
"rdoc/RubyXL/RootRelationships.html",
|
@@ -328,7 +352,10 @@ Gem::Specification.new do |s|
|
|
328
352
|
"rdoc/RubyXL/Sheet.html",
|
329
353
|
"rdoc/RubyXL/SheetCalculationProperties.html",
|
330
354
|
"rdoc/RubyXL/SheetData.html",
|
355
|
+
"rdoc/RubyXL/SheetRelationshipsFile.html",
|
331
356
|
"rdoc/RubyXL/Sheets.html",
|
357
|
+
"rdoc/RubyXL/SlicerCacheFile.html",
|
358
|
+
"rdoc/RubyXL/SlicerFile.html",
|
332
359
|
"rdoc/RubyXL/SmartTagProperties.html",
|
333
360
|
"rdoc/RubyXL/SmartTagType.html",
|
334
361
|
"rdoc/RubyXL/SmartTagTypes.html",
|
@@ -341,13 +368,16 @@ Gem::Specification.new do |s|
|
|
341
368
|
"rdoc/RubyXL/StringNodeW3C.html",
|
342
369
|
"rdoc/RubyXL/StringValue.html",
|
343
370
|
"rdoc/RubyXL/Stylesheet.html",
|
371
|
+
"rdoc/RubyXL/TableFile.html",
|
344
372
|
"rdoc/RubyXL/TableParts.html",
|
345
373
|
"rdoc/RubyXL/TableStyle.html",
|
346
374
|
"rdoc/RubyXL/TableStyles.html",
|
347
375
|
"rdoc/RubyXL/Text.html",
|
348
376
|
"rdoc/RubyXL/Theme.html",
|
349
377
|
"rdoc/RubyXL/ThemeElements.html",
|
378
|
+
"rdoc/RubyXL/ThumbnailFile.html",
|
350
379
|
"rdoc/RubyXL/Top10.html",
|
380
|
+
"rdoc/RubyXL/VMLDrawingFile.html",
|
351
381
|
"rdoc/RubyXL/Variant.html",
|
352
382
|
"rdoc/RubyXL/Vector.html",
|
353
383
|
"rdoc/RubyXL/VectorValue.html",
|
@@ -361,6 +391,7 @@ Gem::Specification.new do |s|
|
|
361
391
|
"rdoc/RubyXL/WorkbookProperties.html",
|
362
392
|
"rdoc/RubyXL/WorkbookProtection.html",
|
363
393
|
"rdoc/RubyXL/WorkbookRelationships.html",
|
394
|
+
"rdoc/RubyXL/WorkbookRoot.html",
|
364
395
|
"rdoc/RubyXL/WorkbookView.html",
|
365
396
|
"rdoc/RubyXL/WorkbookViews.html",
|
366
397
|
"rdoc/RubyXL/Worksheet.html",
|
data/test/test_parse_write.rb
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
require 'rubyXL'
|
2
2
|
require 'benchmark'
|
3
3
|
|
4
|
-
spreadsheets = Dir.glob(File.join("test", "input", "*.
|
4
|
+
spreadsheets = Dir.glob(File.join("test", "input", "*.xls?")).sort!
|
5
5
|
|
6
6
|
spreadsheets.each { |input|
|
7
|
-
|
7
|
+
puts "<<<--- Parsing #{input}..."
|
8
8
|
doc = nil
|
9
|
-
tm = Benchmark.realtime { doc = RubyXL::Parser.parse(input
|
9
|
+
tm = Benchmark.realtime { doc = RubyXL::Parser.parse(input) }
|
10
10
|
puts "Elapsed: #{tm} sec"
|
11
11
|
output = File.join("test", "output", File.basename(input))
|
12
|
-
|
12
|
+
puts "--->>> Writing #{output}..."
|
13
13
|
tm = Benchmark.realtime { doc.write(output) }
|
14
14
|
puts "Elapsed: #{tm} sec"
|
15
15
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubyXL
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vivek Bhagwat
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -124,13 +124,13 @@ files:
|
|
124
124
|
- VERSION
|
125
125
|
- lib/rubyXL.rb
|
126
126
|
- lib/rubyXL/cell.rb
|
127
|
-
- lib/rubyXL/generic_storage.rb
|
128
127
|
- lib/rubyXL/objects/border.rb
|
129
128
|
- lib/rubyXL/objects/calculation_chain.rb
|
130
129
|
- lib/rubyXL/objects/cell_style.rb
|
131
130
|
- lib/rubyXL/objects/chartsheet.rb
|
132
131
|
- lib/rubyXL/objects/color.rb
|
133
132
|
- lib/rubyXL/objects/column_range.rb
|
133
|
+
- lib/rubyXL/objects/comments.rb
|
134
134
|
- lib/rubyXL/objects/container_nodes.rb
|
135
135
|
- lib/rubyXL/objects/content_types.rb
|
136
136
|
- lib/rubyXL/objects/data_validation.rb
|
@@ -143,10 +143,12 @@ files:
|
|
143
143
|
- lib/rubyXL/objects/ooxml_object.rb
|
144
144
|
- lib/rubyXL/objects/reference.rb
|
145
145
|
- lib/rubyXL/objects/relationships.rb
|
146
|
+
- lib/rubyXL/objects/root.rb
|
146
147
|
- lib/rubyXL/objects/shared_strings.rb
|
147
148
|
- lib/rubyXL/objects/sheet_common.rb
|
148
149
|
- lib/rubyXL/objects/sheet_data.rb
|
149
150
|
- lib/rubyXL/objects/simple_types.rb
|
151
|
+
- lib/rubyXL/objects/storage.rb
|
150
152
|
- lib/rubyXL/objects/stylesheet.rb
|
151
153
|
- lib/rubyXL/objects/text.rb
|
152
154
|
- lib/rubyXL/objects/theme.rb
|
@@ -162,8 +164,10 @@ files:
|
|
162
164
|
- rdoc/RubyXL/AdjustHandleList.html
|
163
165
|
- rdoc/RubyXL/Alignment.html
|
164
166
|
- rdoc/RubyXL/AlternateContent.html
|
167
|
+
- rdoc/RubyXL/Authors.html
|
165
168
|
- rdoc/RubyXL/AutoFilter.html
|
166
169
|
- rdoc/RubyXL/AutoFilterColumn.html
|
170
|
+
- rdoc/RubyXL/BinaryImageFile.html
|
167
171
|
- rdoc/RubyXL/BodyProperties.html
|
168
172
|
- rdoc/RubyXL/BooleanNode.html
|
169
173
|
- rdoc/RubyXL/BooleanValue.html
|
@@ -288,6 +292,11 @@ files:
|
|
288
292
|
- rdoc/RubyXL/CellWatch.html
|
289
293
|
- rdoc/RubyXL/CellWatches.html
|
290
294
|
- rdoc/RubyXL/CellXFs.html
|
295
|
+
- rdoc/RubyXL/ChartColorsFile.html
|
296
|
+
- rdoc/RubyXL/ChartFile.html
|
297
|
+
- rdoc/RubyXL/ChartRelationshipsFile.html
|
298
|
+
- rdoc/RubyXL/ChartStyleFile.html
|
299
|
+
- rdoc/RubyXL/ChartUserShapesFile.html
|
291
300
|
- rdoc/RubyXL/Chartsheet.html
|
292
301
|
- rdoc/RubyXL/ChartsheetPageSetup.html
|
293
302
|
- rdoc/RubyXL/ChartsheetProperties.html
|
@@ -301,24 +310,30 @@ files:
|
|
301
310
|
- rdoc/RubyXL/Colors.html
|
302
311
|
- rdoc/RubyXL/ColumnRange.html
|
303
312
|
- rdoc/RubyXL/ColumnRanges.html
|
313
|
+
- rdoc/RubyXL/Comment.html
|
314
|
+
- rdoc/RubyXL/CommentList.html
|
315
|
+
- rdoc/RubyXL/CommentsFile.html
|
304
316
|
- rdoc/RubyXL/ConditionalFormatValue.html
|
305
317
|
- rdoc/RubyXL/ConditionalFormatting.html
|
306
318
|
- rdoc/RubyXL/ConditionalFormattingRule.html
|
307
319
|
- rdoc/RubyXL/ContentTypeDefault.html
|
308
320
|
- rdoc/RubyXL/ContentTypeOverride.html
|
309
321
|
- rdoc/RubyXL/ContentTypes.html
|
310
|
-
- rdoc/RubyXL/
|
322
|
+
- rdoc/RubyXL/ControlPropertiesFile.html
|
323
|
+
- rdoc/RubyXL/CorePropertiesFile.html
|
311
324
|
- rdoc/RubyXL/CustomColor.html
|
312
325
|
- rdoc/RubyXL/CustomColorList.html
|
313
326
|
- rdoc/RubyXL/CustomFilter.html
|
314
327
|
- rdoc/RubyXL/CustomFilters.html
|
315
328
|
- rdoc/RubyXL/CustomGeometry.html
|
316
329
|
- rdoc/RubyXL/CustomProperties.html
|
330
|
+
- rdoc/RubyXL/CustomPropertiesFile.html
|
317
331
|
- rdoc/RubyXL/CustomProperty.html
|
318
332
|
- rdoc/RubyXL/CustomSheetView.html
|
319
333
|
- rdoc/RubyXL/CustomSheetViews.html
|
320
334
|
- rdoc/RubyXL/CustomWorkbookView.html
|
321
335
|
- rdoc/RubyXL/CustomWorkbookViews.html
|
336
|
+
- rdoc/RubyXL/CustomXMLFile.html
|
322
337
|
- rdoc/RubyXL/DXF.html
|
323
338
|
- rdoc/RubyXL/DXFs.html
|
324
339
|
- rdoc/RubyXL/DataBar.html
|
@@ -331,13 +346,16 @@ files:
|
|
331
346
|
- rdoc/RubyXL/DateGroupItem.html
|
332
347
|
- rdoc/RubyXL/DefinedName.html
|
333
348
|
- rdoc/RubyXL/DefinedNames.html
|
334
|
-
- rdoc/RubyXL/
|
349
|
+
- rdoc/RubyXL/DocumentPropertiesFile.html
|
350
|
+
- rdoc/RubyXL/DrawingFile.html
|
351
|
+
- rdoc/RubyXL/DrawingRelationshipsFile.html
|
335
352
|
- rdoc/RubyXL/DynamicFilter.html
|
336
353
|
- rdoc/RubyXL/EmbeddedControl.html
|
337
354
|
- rdoc/RubyXL/EmbeddedControls.html
|
338
355
|
- rdoc/RubyXL/Extension.html
|
339
356
|
- rdoc/RubyXL/ExtensionStorageArea.html
|
340
357
|
- rdoc/RubyXL/Extents.html
|
358
|
+
- rdoc/RubyXL/ExternalLinksFile.html
|
341
359
|
- rdoc/RubyXL/ExternalReference.html
|
342
360
|
- rdoc/RubyXL/ExternalReferences.html
|
343
361
|
- rdoc/RubyXL/ExtraColorSchemeList.html
|
@@ -356,10 +374,11 @@ files:
|
|
356
374
|
- rdoc/RubyXL/Formula.html
|
357
375
|
- rdoc/RubyXL/FunctionGroup.html
|
358
376
|
- rdoc/RubyXL/FunctionGroups.html
|
359
|
-
- rdoc/RubyXL/
|
377
|
+
- rdoc/RubyXL/GenericStorageObject.html
|
360
378
|
- rdoc/RubyXL/GradientFill.html
|
361
379
|
- rdoc/RubyXL/HeaderFooterSettings.html
|
362
380
|
- rdoc/RubyXL/Hyperlink.html
|
381
|
+
- rdoc/RubyXL/HyperlinkRelFile.html
|
363
382
|
- rdoc/RubyXL/Hyperlinks.html
|
364
383
|
- rdoc/RubyXL/IconFilter.html
|
365
384
|
- rdoc/RubyXL/IconSet.html
|
@@ -373,6 +392,7 @@ files:
|
|
373
392
|
- rdoc/RubyXL/LegacyWorkbook.html
|
374
393
|
- rdoc/RubyXL/LegacyWorksheet.html
|
375
394
|
- rdoc/RubyXL/MRUColors.html
|
395
|
+
- rdoc/RubyXL/MacrosFile.html
|
376
396
|
- rdoc/RubyXL/MergedCell.html
|
377
397
|
- rdoc/RubyXL/MergedCells.html
|
378
398
|
- rdoc/RubyXL/NumFmt.html
|
@@ -399,12 +419,15 @@ files:
|
|
399
419
|
- rdoc/RubyXL/PhoneticRun.html
|
400
420
|
- rdoc/RubyXL/PivotArea.html
|
401
421
|
- rdoc/RubyXL/PivotCache.html
|
422
|
+
- rdoc/RubyXL/PivotCacheDefinitionFile.html
|
402
423
|
- rdoc/RubyXL/PivotCaches.html
|
403
424
|
- rdoc/RubyXL/PivotReference.html
|
404
425
|
- rdoc/RubyXL/PivotReferences.html
|
426
|
+
- rdoc/RubyXL/PivotTableFile.html
|
405
427
|
- rdoc/RubyXL/PivotTableSelection.html
|
406
428
|
- rdoc/RubyXL/PresetGeometry.html
|
407
429
|
- rdoc/RubyXL/PrintOptions.html
|
430
|
+
- rdoc/RubyXL/PrinterSettingsFile.html
|
408
431
|
- rdoc/RubyXL/ProtectedRange.html
|
409
432
|
- rdoc/RubyXL/ProtectedRanges.html
|
410
433
|
- rdoc/RubyXL/Protection.html
|
@@ -412,6 +435,7 @@ files:
|
|
412
435
|
- rdoc/RubyXL/RawOOXML.html
|
413
436
|
- rdoc/RubyXL/Reference.html
|
414
437
|
- rdoc/RubyXL/Relationship.html
|
438
|
+
- rdoc/RubyXL/RelationshipSupport.html
|
415
439
|
- rdoc/RubyXL/RichText.html
|
416
440
|
- rdoc/RubyXL/RichTextRun.html
|
417
441
|
- rdoc/RubyXL/RootRelationships.html
|
@@ -426,7 +450,10 @@ files:
|
|
426
450
|
- rdoc/RubyXL/Sheet.html
|
427
451
|
- rdoc/RubyXL/SheetCalculationProperties.html
|
428
452
|
- rdoc/RubyXL/SheetData.html
|
453
|
+
- rdoc/RubyXL/SheetRelationshipsFile.html
|
429
454
|
- rdoc/RubyXL/Sheets.html
|
455
|
+
- rdoc/RubyXL/SlicerCacheFile.html
|
456
|
+
- rdoc/RubyXL/SlicerFile.html
|
430
457
|
- rdoc/RubyXL/SmartTagProperties.html
|
431
458
|
- rdoc/RubyXL/SmartTagType.html
|
432
459
|
- rdoc/RubyXL/SmartTagTypes.html
|
@@ -439,13 +466,16 @@ files:
|
|
439
466
|
- rdoc/RubyXL/StringNodeW3C.html
|
440
467
|
- rdoc/RubyXL/StringValue.html
|
441
468
|
- rdoc/RubyXL/Stylesheet.html
|
469
|
+
- rdoc/RubyXL/TableFile.html
|
442
470
|
- rdoc/RubyXL/TableParts.html
|
443
471
|
- rdoc/RubyXL/TableStyle.html
|
444
472
|
- rdoc/RubyXL/TableStyles.html
|
445
473
|
- rdoc/RubyXL/Text.html
|
446
474
|
- rdoc/RubyXL/Theme.html
|
447
475
|
- rdoc/RubyXL/ThemeElements.html
|
476
|
+
- rdoc/RubyXL/ThumbnailFile.html
|
448
477
|
- rdoc/RubyXL/Top10.html
|
478
|
+
- rdoc/RubyXL/VMLDrawingFile.html
|
449
479
|
- rdoc/RubyXL/Variant.html
|
450
480
|
- rdoc/RubyXL/Vector.html
|
451
481
|
- rdoc/RubyXL/VectorValue.html
|
@@ -459,6 +489,7 @@ files:
|
|
459
489
|
- rdoc/RubyXL/WorkbookProperties.html
|
460
490
|
- rdoc/RubyXL/WorkbookProtection.html
|
461
491
|
- rdoc/RubyXL/WorkbookRelationships.html
|
492
|
+
- rdoc/RubyXL/WorkbookRoot.html
|
462
493
|
- rdoc/RubyXL/WorkbookView.html
|
463
494
|
- rdoc/RubyXL/WorkbookViews.html
|
464
495
|
- rdoc/RubyXL/Worksheet.html
|
@@ -1,42 +0,0 @@
|
|
1
|
-
module RubyXL
|
2
|
-
class GenericStorage < Hash
|
3
|
-
attr_reader :local_dir_path
|
4
|
-
|
5
|
-
def initialize(local_dir_path)
|
6
|
-
@local_dir_path = local_dir_path
|
7
|
-
@mode = 'r'
|
8
|
-
super
|
9
|
-
end
|
10
|
-
|
11
|
-
def binary
|
12
|
-
@mode = 'rb'
|
13
|
-
self
|
14
|
-
end
|
15
|
-
|
16
|
-
def load_dir(root_dir)
|
17
|
-
dirpath = File.join(root_dir, @local_dir_path)
|
18
|
-
if File.directory?(dirpath) then
|
19
|
-
(Dir.new(dirpath).entries - ['.', '..', '.DS_Store', '_rels']).each { |filename|
|
20
|
-
# Making sure that the file will be automatically closed immediately after it has been read
|
21
|
-
self[filename] = File.open(File.join(dirpath, filename), @mode) { |f| f.read }
|
22
|
-
}
|
23
|
-
end
|
24
|
-
|
25
|
-
self
|
26
|
-
end
|
27
|
-
|
28
|
-
def load_file(root_dir, filename)
|
29
|
-
filepath = File.join(root_dir, @local_dir_path, filename)
|
30
|
-
# Making sure that the file will be automatically closed immediately after it has been read
|
31
|
-
self[filename] = (File.open(filepath, @mode) { |f| f.read }) if File.readable?(filepath)
|
32
|
-
self
|
33
|
-
end
|
34
|
-
|
35
|
-
def add_to_zip(zipfile)
|
36
|
-
each_pair { |filename, data|
|
37
|
-
zipfile.get_output_stream(File.join(@local_dir_path, filename)) { |f| f << data }
|
38
|
-
}
|
39
|
-
end
|
40
|
-
|
41
|
-
end
|
42
|
-
end
|