rubyXL 3.0.2 → 3.1.0
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/VERSION +1 -1
- data/lib/rubyXL/cell.rb +1 -1
- data/lib/rubyXL/objects/border.rb +0 -1
- data/lib/rubyXL/objects/cell_style.rb +0 -1
- data/lib/rubyXL/objects/chartsheet.rb +2 -11
- data/lib/rubyXL/objects/fill.rb +0 -1
- data/lib/rubyXL/objects/font.rb +0 -1
- data/lib/rubyXL/objects/ooxml_object.rb +31 -9
- data/lib/rubyXL/objects/relationships.rb +1 -1
- data/lib/rubyXL/objects/root.rb +48 -15
- data/lib/rubyXL/objects/sheet_common.rb +1 -0
- data/lib/rubyXL/objects/storage.rb +8 -15
- data/lib/rubyXL/objects/workbook.rb +19 -25
- data/lib/rubyXL/objects/worksheet.rb +21 -28
- data/lib/rubyXL/parser.rb +0 -15
- data/lib/rubyXL/workbook.rb +22 -71
- data/lib/rubyXL/worksheet.rb +0 -9
- 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 +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/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 +1 -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 +1 -1
- data/rdoc/RubyXL/ChartFile.html +1 -1
- data/rdoc/RubyXL/ChartRelationshipsFile.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/DefinedNames.html +1 -1
- data/rdoc/RubyXL/DocumentPropertiesFile.html +1 -1
- data/rdoc/RubyXL/DrawingFile.html +7 -37
- data/rdoc/RubyXL/DrawingRelationshipsFile.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/ExternalLinksFile.html +1 -1
- 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 +16 -16
- 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 +5 -6
- 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/LegacyWorkbook.html +109 -115
- data/rdoc/RubyXL/LegacyWorksheet.html +40 -42
- 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 +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 +2 -38
- 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 -16
- 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/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/REL_CLASS.html +105 -0
- 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.html +1 -1
- 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 +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/SheetRelationshipsFile.html +1 -1
- 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 +1 -1
- 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 +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 +66 -25
- 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 +22 -22
- data/rdoc/index.html +2 -2
- data/rdoc/js/search_index.js +1 -1
- data/rdoc/table_of_contents.html +80 -80
- data/rubyXL.gemspec +4 -3
- data/spec/lib/parser_spec.rb +0 -10
- metadata +3 -2
data/rdoc/RubyXL/Variant.html
CHANGED
data/rdoc/RubyXL/Vector.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>class RubyXL::WebPublishingProperties - rubyXL 3.0
|
|
7
|
+
<title>class RubyXL::WebPublishingProperties - rubyXL 3.1.0</title>
|
|
8
8
|
|
|
9
9
|
<link href="../fonts.css" rel="stylesheet">
|
|
10
10
|
<link href="../rdoc.css" rel="stylesheet">
|
data/rdoc/RubyXL/Workbook.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>class RubyXL::WorkbookRoot - rubyXL 3.0
|
|
7
|
+
<title>class RubyXL::WorkbookRoot - rubyXL 3.1.0</title>
|
|
8
8
|
|
|
9
9
|
<link href="../fonts.css" rel="stylesheet">
|
|
10
10
|
<link href="../rdoc.css" rel="stylesheet">
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
|
|
93
93
|
<li ><a href="#method-i-related_objects">#related_objects</a>
|
|
94
94
|
|
|
95
|
-
<li ><a href="#method-i-
|
|
95
|
+
<li ><a href="#method-i-stream">#stream</a>
|
|
96
96
|
|
|
97
97
|
</ul>
|
|
98
98
|
</div>
|
|
@@ -118,6 +118,20 @@
|
|
|
118
118
|
|
|
119
119
|
|
|
120
120
|
|
|
121
|
+
<section class="constants-list">
|
|
122
|
+
<header>
|
|
123
|
+
<h3>Constants</h3>
|
|
124
|
+
</header>
|
|
125
|
+
<dl>
|
|
126
|
+
|
|
127
|
+
<dt id="REL_CLASS">REL_CLASS
|
|
128
|
+
|
|
129
|
+
<dd>
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
</dl>
|
|
133
|
+
</section>
|
|
134
|
+
|
|
121
135
|
|
|
122
136
|
|
|
123
137
|
<section class="attribute-method-details" class="method-section">
|
|
@@ -259,7 +273,7 @@
|
|
|
259
273
|
|
|
260
274
|
|
|
261
275
|
<div class="method-source-code" id="default-source">
|
|
262
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/root.rb, line
|
|
276
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/root.rb, line 38</span>
|
|
263
277
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">default</span>
|
|
264
278
|
<span class="ruby-identifier">obj</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">new</span>
|
|
265
279
|
<span class="ruby-identifier">obj</span>.<span class="ruby-identifier">document_properties</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">DocumentPropertiesFile</span>.<span class="ruby-identifier">new</span>
|
|
@@ -297,19 +311,20 @@
|
|
|
297
311
|
|
|
298
312
|
|
|
299
313
|
<div class="method-source-code" id="parse_file-source">
|
|
300
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/root.rb, line
|
|
314
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/root.rb, line 73</span>
|
|
301
315
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">parse_file</span>(<span class="ruby-identifier">xl_file_path</span>, <span class="ruby-identifier">opts</span>)
|
|
302
|
-
<span class="ruby-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
316
|
+
<span class="ruby-keyword">begin</span>
|
|
317
|
+
<span class="ruby-operator">::</span><span class="ruby-constant">Zip</span><span class="ruby-operator">::</span><span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">xl_file_path</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">zip_file</span><span class="ruby-operator">|</span>
|
|
318
|
+
<span class="ruby-identifier">root</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">new</span>
|
|
319
|
+
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">filepath</span> = <span class="ruby-identifier">xl_file_path</span>
|
|
320
|
+
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">content_types</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">ContentTypes</span>.<span class="ruby-identifier">parse_file</span>(<span class="ruby-identifier">zip_file</span>)
|
|
321
|
+
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">load_relationships</span>(<span class="ruby-identifier">zip_file</span>)
|
|
322
|
+
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">root</span> = <span class="ruby-identifier">root</span>
|
|
323
|
+
<span class="ruby-identifier">root</span>
|
|
324
|
+
}
|
|
325
|
+
<span class="ruby-keyword">rescue</span> <span class="ruby-operator">::</span><span class="ruby-constant">Zip</span><span class="ruby-operator">::</span><span class="ruby-constant">Error</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">e</span>
|
|
326
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-identifier">e</span>, <span class="ruby-node">"XLSX file format error: #{e}"</span>, <span class="ruby-identifier">e</span>.<span class="ruby-identifier">backtrace</span>
|
|
327
|
+
<span class="ruby-keyword">end</span>
|
|
313
328
|
<span class="ruby-keyword">end</span></pre>
|
|
314
329
|
</div>
|
|
315
330
|
|
|
@@ -342,13 +357,17 @@
|
|
|
342
357
|
|
|
343
358
|
<div class="method-description">
|
|
344
359
|
|
|
345
|
-
|
|
360
|
+
<p>define_relationship(RubyXL::ThumbnailFile, :thumbnail)
|
|
361
|
+
define_relationship(RubyXL::CorePropertiesFile, :core_properties)
|
|
362
|
+
define_relationship(RubyXL::DocumentPropertiesFile, :document_properties)
|
|
363
|
+
define_relationship(RubyXL::CustomPropertiesFile, :custom_properties)
|
|
364
|
+
define_relationship(RubyXL::Workbook, :workbook)</p>
|
|
346
365
|
|
|
347
366
|
|
|
348
367
|
|
|
349
368
|
|
|
350
369
|
<div class="method-source-code" id="attach_relationship-source">
|
|
351
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/root.rb, line
|
|
370
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/root.rb, line 27</span>
|
|
352
371
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">attach_relationship</span>(<span class="ruby-identifier">rid</span>, <span class="ruby-identifier">rf</span>)
|
|
353
372
|
<span class="ruby-keyword">case</span> <span class="ruby-identifier">rf</span>
|
|
354
373
|
<span class="ruby-keyword">when</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">ThumbnailFile</span> <span class="ruby-keyword">then</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">thumbnail</span> = <span class="ruby-identifier">rf</span>
|
|
@@ -388,9 +407,9 @@
|
|
|
388
407
|
|
|
389
408
|
|
|
390
409
|
<div class="method-source-code" id="related_objects-source">
|
|
391
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/root.rb, line
|
|
410
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/root.rb, line 17</span>
|
|
392
411
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">related_objects</span>
|
|
393
|
-
[ <span class="ruby-identifier">content_types</span>, <span class="ruby-identifier">thumbnail</span>, <span class="ruby-identifier">core_properties</span>, <span class="ruby-identifier">document_properties</span>, <span class="ruby-identifier">workbook</span> ]
|
|
412
|
+
[ <span class="ruby-identifier">content_types</span>, <span class="ruby-identifier">thumbnail</span>, <span class="ruby-identifier">core_properties</span>, <span class="ruby-identifier">document_properties</span>, <span class="ruby-identifier">custom_properties</span>, <span class="ruby-identifier">workbook</span> ]
|
|
394
413
|
<span class="ruby-keyword">end</span></pre>
|
|
395
414
|
</div>
|
|
396
415
|
|
|
@@ -402,10 +421,10 @@
|
|
|
402
421
|
</div>
|
|
403
422
|
|
|
404
423
|
|
|
405
|
-
<div id="method-i-
|
|
424
|
+
<div id="method-i-stream" class="method-detail ">
|
|
406
425
|
|
|
407
426
|
<div class="method-heading">
|
|
408
|
-
<span class="method-name">
|
|
427
|
+
<span class="method-name">stream</span><span
|
|
409
428
|
class="method-args">()</span>
|
|
410
429
|
|
|
411
430
|
<span class="method-click-advice">click to toggle source</span>
|
|
@@ -420,10 +439,32 @@
|
|
|
420
439
|
|
|
421
440
|
|
|
422
441
|
|
|
423
|
-
<div class="method-source-code" id="
|
|
424
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/root.rb, line
|
|
425
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">
|
|
426
|
-
<span class="ruby-constant">
|
|
442
|
+
<div class="method-source-code" id="stream-source">
|
|
443
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/root.rb, line 47</span>
|
|
444
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">stream</span>
|
|
445
|
+
<span class="ruby-identifier">stream</span> = <span class="ruby-constant">Zip</span><span class="ruby-operator">::</span><span class="ruby-constant">OutputStream</span>.<span class="ruby-identifier">write_buffer</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">zipstream</span><span class="ruby-operator">|</span>
|
|
446
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">rels_hash</span> = {}
|
|
447
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">relationship_container</span>.<span class="ruby-identifier">owner</span> = <span class="ruby-keyword">self</span>
|
|
448
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">content_types</span>.<span class="ruby-identifier">overrides</span> = []
|
|
449
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">content_types</span>.<span class="ruby-identifier">owner</span> = <span class="ruby-keyword">self</span>
|
|
450
|
+
<span class="ruby-identifier">collect_related_objects</span>.<span class="ruby-identifier">compact</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">obj</span><span class="ruby-operator">|</span>
|
|
451
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-node">"<-- DEBUG: adding relationship to #{obj.class}"</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">@@debug</span>
|
|
452
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">rels_hash</span>[<span class="ruby-identifier">obj</span>.<span class="ruby-identifier">class</span>] <span class="ruby-operator">||=</span> []
|
|
453
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">rels_hash</span>[<span class="ruby-identifier">obj</span>.<span class="ruby-identifier">class</span>] <span class="ruby-operator"><<</span> <span class="ruby-identifier">obj</span>
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">rels_hash</span>.<span class="ruby-identifier">keys</span>.<span class="ruby-identifier">sort_by</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">save_order</span> }.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">klass</span><span class="ruby-operator">|</span>
|
|
457
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-node">"<-- DEBUG: saving related #{klass} files"</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">@@debug</span>
|
|
458
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">rels_hash</span>[<span class="ruby-identifier">klass</span>].<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">obj</span><span class="ruby-operator">|</span>
|
|
459
|
+
<span class="ruby-identifier">obj</span>.<span class="ruby-identifier">workbook</span> = <span class="ruby-identifier">workbook</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">obj</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-value">:workbook=</span>)
|
|
460
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-node">"<-- DEBUG: > #{obj.xlsx_path}"</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">@@debug</span>
|
|
461
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">content_types</span>.<span class="ruby-identifier">add_override</span>(<span class="ruby-identifier">obj</span>)
|
|
462
|
+
<span class="ruby-identifier">obj</span>.<span class="ruby-identifier">add_to_zip</span>(<span class="ruby-identifier">zipstream</span>)
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
<span class="ruby-identifier">stream</span>.<span class="ruby-identifier">rewind</span>
|
|
467
|
+
<span class="ruby-identifier">stream</span>
|
|
427
468
|
<span class="ruby-keyword">end</span></pre>
|
|
428
469
|
</div>
|
|
429
470
|
|
data/rdoc/RubyXL/Worksheet.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>class RubyXL::WorksheetFormatProperties - rubyXL 3.0
|
|
7
|
+
<title>class RubyXL::WorksheetFormatProperties - rubyXL 3.1.0</title>
|
|
8
8
|
|
|
9
9
|
<link href="../fonts.css" rel="stylesheet">
|
|
10
10
|
<link href="../rdoc.css" rel="stylesheet">
|
data/rdoc/RubyXL/XF.html
CHANGED
data/rdoc/created.rid
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
Mon,
|
|
1
|
+
Mon, 30 Jun 2014 20:59:22 +0000
|
|
2
2
|
README.rdoc Sat, 21 Jun 2014 00:13:12 +0000
|
|
3
3
|
lib/rubyXL.rb Sat, 07 Jun 2014 00:48:58 +0000
|
|
4
|
-
lib/rubyXL/cell.rb Mon,
|
|
5
|
-
lib/rubyXL/objects/border.rb Mon,
|
|
4
|
+
lib/rubyXL/cell.rb Mon, 30 Jun 2014 20:58:54 +0000
|
|
5
|
+
lib/rubyXL/objects/border.rb Mon, 30 Jun 2014 20:58:54 +0000
|
|
6
6
|
lib/rubyXL/objects/calculation_chain.rb Sat, 07 Jun 2014 00:48:58 +0000
|
|
7
|
-
lib/rubyXL/objects/cell_style.rb Mon,
|
|
8
|
-
lib/rubyXL/objects/chartsheet.rb Mon,
|
|
9
|
-
lib/rubyXL/objects/color.rb Mon,
|
|
10
|
-
lib/rubyXL/objects/column_range.rb Mon,
|
|
7
|
+
lib/rubyXL/objects/cell_style.rb Mon, 30 Jun 2014 20:58:54 +0000
|
|
8
|
+
lib/rubyXL/objects/chartsheet.rb Mon, 30 Jun 2014 20:58:54 +0000
|
|
9
|
+
lib/rubyXL/objects/color.rb Mon, 30 Jun 2014 20:54:40 +0000
|
|
10
|
+
lib/rubyXL/objects/column_range.rb Mon, 30 Jun 2014 20:54:40 +0000
|
|
11
11
|
lib/rubyXL/objects/comments.rb Sat, 07 Jun 2014 00:48:58 +0000
|
|
12
|
-
lib/rubyXL/objects/container_nodes.rb Mon,
|
|
12
|
+
lib/rubyXL/objects/container_nodes.rb Mon, 30 Jun 2014 20:54:40 +0000
|
|
13
13
|
lib/rubyXL/objects/content_types.rb Fri, 20 Jun 2014 21:47:35 +0000
|
|
14
14
|
lib/rubyXL/objects/data_validation.rb Tue, 27 May 2014 20:28:09 +0000
|
|
15
15
|
lib/rubyXL/objects/document_properties.rb Sat, 07 Jun 2014 00:48:58 +0000
|
|
16
16
|
lib/rubyXL/objects/extensions.rb Sat, 21 Jun 2014 00:45:28 +0000
|
|
17
|
-
lib/rubyXL/objects/fill.rb Mon,
|
|
18
|
-
lib/rubyXL/objects/filters.rb Mon,
|
|
19
|
-
lib/rubyXL/objects/font.rb Mon,
|
|
17
|
+
lib/rubyXL/objects/fill.rb Mon, 30 Jun 2014 20:58:54 +0000
|
|
18
|
+
lib/rubyXL/objects/filters.rb Mon, 30 Jun 2014 20:54:40 +0000
|
|
19
|
+
lib/rubyXL/objects/font.rb Mon, 30 Jun 2014 20:58:54 +0000
|
|
20
20
|
lib/rubyXL/objects/formula.rb Fri, 20 Jun 2014 21:47:16 +0000
|
|
21
|
-
lib/rubyXL/objects/ooxml_object.rb Mon,
|
|
21
|
+
lib/rubyXL/objects/ooxml_object.rb Mon, 30 Jun 2014 20:58:54 +0000
|
|
22
22
|
lib/rubyXL/objects/reference.rb Sat, 07 Jun 2014 00:48:58 +0000
|
|
23
|
-
lib/rubyXL/objects/relationships.rb Mon,
|
|
24
|
-
lib/rubyXL/objects/root.rb Mon,
|
|
23
|
+
lib/rubyXL/objects/relationships.rb Mon, 30 Jun 2014 20:58:54 +0000
|
|
24
|
+
lib/rubyXL/objects/root.rb Mon, 30 Jun 2014 20:58:54 +0000
|
|
25
25
|
lib/rubyXL/objects/shared_strings.rb Sat, 07 Jun 2014 00:48:58 +0000
|
|
26
|
-
lib/rubyXL/objects/sheet_common.rb Mon,
|
|
27
|
-
lib/rubyXL/objects/sheet_data.rb Mon,
|
|
26
|
+
lib/rubyXL/objects/sheet_common.rb Mon, 30 Jun 2014 20:58:54 +0000
|
|
27
|
+
lib/rubyXL/objects/sheet_data.rb Mon, 30 Jun 2014 20:54:40 +0000
|
|
28
28
|
lib/rubyXL/objects/simple_types.rb Fri, 28 Mar 2014 22:22:45 +0000
|
|
29
|
-
lib/rubyXL/objects/storage.rb Mon,
|
|
29
|
+
lib/rubyXL/objects/storage.rb Mon, 30 Jun 2014 20:58:54 +0000
|
|
30
30
|
lib/rubyXL/objects/stylesheet.rb Fri, 20 Jun 2014 21:47:40 +0000
|
|
31
31
|
lib/rubyXL/objects/text.rb Sat, 07 Jun 2014 00:48:58 +0000
|
|
32
32
|
lib/rubyXL/objects/theme.rb Sat, 21 Jun 2014 00:13:12 +0000
|
|
33
|
-
lib/rubyXL/objects/workbook.rb Mon,
|
|
34
|
-
lib/rubyXL/objects/worksheet.rb Mon,
|
|
35
|
-
lib/rubyXL/parser.rb Mon,
|
|
36
|
-
lib/rubyXL/workbook.rb Mon,
|
|
37
|
-
lib/rubyXL/worksheet.rb Mon,
|
|
33
|
+
lib/rubyXL/objects/workbook.rb Mon, 30 Jun 2014 20:58:54 +0000
|
|
34
|
+
lib/rubyXL/objects/worksheet.rb Mon, 30 Jun 2014 20:58:54 +0000
|
|
35
|
+
lib/rubyXL/parser.rb Mon, 30 Jun 2014 20:58:54 +0000
|
|
36
|
+
lib/rubyXL/workbook.rb Mon, 30 Jun 2014 20:58:54 +0000
|
|
37
|
+
lib/rubyXL/worksheet.rb Mon, 30 Jun 2014 20:58:54 +0000
|