rubyXL 3.3.1 → 3.3.2
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/objects/content_types.rb +8 -3
- data/lib/rubyXL/objects/ooxml_object.rb +0 -1
- data/lib/rubyXL/objects/relationships.rb +1 -1
- data/lib/rubyXL/objects/storage.rb +28 -5
- data/lib/rubyXL/objects/text.rb +8 -1
- data/lib/rubyXL/objects/workbook.rb +9 -2
- data/rdoc/README_rdoc.html +179 -152
- data/rdoc/RubyXL.html +7 -10
- data/rdoc/RubyXL/AExtension.html +7 -10
- data/rdoc/RubyXL/AExtensionStorageArea.html +7 -10
- data/rdoc/RubyXL/AdjustHandleList.html +10 -10
- data/rdoc/RubyXL/Alignment.html +7 -10
- data/rdoc/RubyXL/AlternateContent.html +7 -10
- data/rdoc/RubyXL/Authors.html +10 -10
- data/rdoc/RubyXL/AutoFilter.html +10 -10
- data/rdoc/RubyXL/AutoFilterColumn.html +10 -10
- data/rdoc/RubyXL/BinaryImageFile.html +26 -10
- data/rdoc/RubyXL/BodyProperties.html +10 -10
- data/rdoc/RubyXL/BooleanNode.html +7 -10
- data/rdoc/RubyXL/BooleanValue.html +7 -10
- data/rdoc/RubyXL/Border.html +97 -10
- data/rdoc/RubyXL/BorderEdge.html +7 -10
- data/rdoc/RubyXL/Borders.html +61 -10
- data/rdoc/RubyXL/Break.html +10 -10
- data/rdoc/RubyXL/BreakList.html +10 -10
- data/rdoc/RubyXL/CT_AdjPoint2D.html +10 -10
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +10 -10
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +10 -10
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +10 -10
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +10 -10
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +10 -10
- data/rdoc/RubyXL/CT_Backdrop.html +10 -10
- data/rdoc/RubyXL/CT_Bevel.html +10 -10
- data/rdoc/RubyXL/CT_BiLevelEffect.html +10 -10
- data/rdoc/RubyXL/CT_BlendEffect.html +10 -10
- data/rdoc/RubyXL/CT_Blip.html +10 -10
- data/rdoc/RubyXL/CT_BlipFillProperties.html +10 -10
- data/rdoc/RubyXL/CT_BlurEffect.html +10 -10
- data/rdoc/RubyXL/CT_Camera.html +10 -10
- data/rdoc/RubyXL/CT_Color.html +10 -10
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +10 -10
- data/rdoc/RubyXL/CT_ColorMapping.html +10 -10
- data/rdoc/RubyXL/CT_ColorScheme.html +10 -10
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +10 -10
- data/rdoc/RubyXL/CT_ConnectionSite.html +10 -10
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +10 -10
- data/rdoc/RubyXL/CT_DashStop.html +10 -10
- data/rdoc/RubyXL/CT_DashStopList.html +10 -10
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +10 -10
- data/rdoc/RubyXL/CT_DuotoneEffect.html +10 -10
- data/rdoc/RubyXL/CT_EffectContainer.html +10 -10
- data/rdoc/RubyXL/CT_EffectList.html +10 -10
- data/rdoc/RubyXL/CT_EffectReference.html +10 -10
- data/rdoc/RubyXL/CT_EffectStyleItem.html +10 -10
- data/rdoc/RubyXL/CT_EffectStyleList.html +10 -10
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +10 -10
- data/rdoc/RubyXL/CT_FillEffect.html +10 -10
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +10 -10
- data/rdoc/RubyXL/CT_FillStyleList.html +10 -10
- data/rdoc/RubyXL/CT_FlatText.html +10 -10
- data/rdoc/RubyXL/CT_FontCollection.html +10 -10
- data/rdoc/RubyXL/CT_FontReference.html +10 -10
- data/rdoc/RubyXL/CT_GeomGuideList.html +10 -10
- data/rdoc/RubyXL/CT_GlowEffect.html +10 -10
- data/rdoc/RubyXL/CT_GradientFillProperties.html +10 -10
- data/rdoc/RubyXL/CT_GradientStop.html +10 -10
- data/rdoc/RubyXL/CT_GradientStopList.html +10 -10
- data/rdoc/RubyXL/CT_HSLEffect.html +10 -10
- data/rdoc/RubyXL/CT_HslColor.html +10 -10
- data/rdoc/RubyXL/CT_Hyperlink.html +10 -10
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +10 -10
- data/rdoc/RubyXL/CT_LightRig.html +10 -10
- data/rdoc/RubyXL/CT_LineEndProperties.html +10 -10
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +10 -10
- data/rdoc/RubyXL/CT_LineProperties.html +10 -10
- data/rdoc/RubyXL/CT_LineStyleList.html +10 -10
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +10 -10
- data/rdoc/RubyXL/CT_LuminanceEffect.html +10 -10
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +10 -10
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +10 -10
- data/rdoc/RubyXL/CT_Path2D.html +10 -10
- data/rdoc/RubyXL/CT_Path2DArcTo.html +10 -10
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +10 -10
- data/rdoc/RubyXL/CT_Path2DList.html +10 -10
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +10 -10
- data/rdoc/RubyXL/CT_Path2DTo.html +10 -10
- data/rdoc/RubyXL/CT_PathShadeProperties.html +10 -10
- data/rdoc/RubyXL/CT_PatternFillProperties.html +10 -10
- data/rdoc/RubyXL/CT_Point3D.html +10 -10
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +10 -10
- data/rdoc/RubyXL/CT_PresetColor.html +10 -10
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +10 -10
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +10 -10
- data/rdoc/RubyXL/CT_PresetTextShape.html +10 -10
- data/rdoc/RubyXL/CT_ReflectionEffect.html +10 -10
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +10 -10
- data/rdoc/RubyXL/CT_RelativeRect.html +10 -10
- data/rdoc/RubyXL/CT_SRgbColor.html +10 -10
- data/rdoc/RubyXL/CT_ScRgbColor.html +10 -10
- data/rdoc/RubyXL/CT_Scene3D.html +10 -10
- data/rdoc/RubyXL/CT_SchemeColor.html +10 -10
- data/rdoc/RubyXL/CT_Shape3D.html +10 -10
- data/rdoc/RubyXL/CT_ShapeStyle.html +10 -10
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +10 -10
- data/rdoc/RubyXL/CT_SphereCoords.html +10 -10
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +10 -10
- data/rdoc/RubyXL/CT_StyleMatrix.html +10 -10
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +10 -10
- data/rdoc/RubyXL/CT_SupplementalFont.html +10 -10
- data/rdoc/RubyXL/CT_SystemColor.html +10 -10
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +10 -10
- data/rdoc/RubyXL/CT_TextBlipBullet.html +10 -10
- data/rdoc/RubyXL/CT_TextCharBullet.html +10 -10
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +10 -10
- data/rdoc/RubyXL/CT_TextFont.html +10 -10
- data/rdoc/RubyXL/CT_TextListStyle.html +10 -10
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +10 -10
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +10 -10
- data/rdoc/RubyXL/CT_TextSpacing.html +10 -10
- data/rdoc/RubyXL/CT_TextTabStop.html +10 -10
- data/rdoc/RubyXL/CT_TextTabStopList.html +10 -10
- data/rdoc/RubyXL/CT_TileInfoProperties.html +10 -10
- data/rdoc/RubyXL/CT_TintEffect.html +10 -10
- data/rdoc/RubyXL/CT_Transform2D.html +10 -10
- data/rdoc/RubyXL/CT_TransformEffect.html +10 -10
- data/rdoc/RubyXL/CT_Vector3D.html +10 -10
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +10 -10
- data/rdoc/RubyXL/CalculationChain.html +7 -10
- data/rdoc/RubyXL/CalculationChainCell.html +7 -10
- data/rdoc/RubyXL/CalculationProperties.html +10 -10
- data/rdoc/RubyXL/Cell.html +9 -11
- data/rdoc/RubyXL/CellConvenienceMethods.html +203 -10
- data/rdoc/RubyXL/CellSmartTag.html +10 -10
- data/rdoc/RubyXL/CellSmartTagProperty.html +10 -10
- data/rdoc/RubyXL/CellSmartTags.html +10 -10
- data/rdoc/RubyXL/CellStyle.html +7 -10
- data/rdoc/RubyXL/CellStyleXFs.html +61 -10
- data/rdoc/RubyXL/CellStyles.html +61 -10
- data/rdoc/RubyXL/CellValue.html +7 -10
- data/rdoc/RubyXL/CellWatch.html +10 -10
- data/rdoc/RubyXL/CellWatches.html +10 -10
- data/rdoc/RubyXL/CellXFs.html +65 -10
- data/rdoc/RubyXL/ChartColorsFile.html +26 -10
- data/rdoc/RubyXL/ChartFile.html +93 -10
- data/rdoc/RubyXL/ChartStyleFile.html +26 -10
- data/rdoc/RubyXL/ChartUserShapesFile.html +26 -10
- data/rdoc/RubyXL/Chartsheet.html +164 -10
- data/rdoc/RubyXL/ChartsheetPageSetup.html +10 -10
- data/rdoc/RubyXL/ChartsheetProperties.html +7 -10
- data/rdoc/RubyXL/ChartsheetProtection.html +7 -10
- data/rdoc/RubyXL/ChartsheetView.html +10 -10
- data/rdoc/RubyXL/ChartsheetViews.html +10 -10
- data/rdoc/RubyXL/Color.html +7 -10
- data/rdoc/RubyXL/ColorFilter.html +10 -10
- data/rdoc/RubyXL/ColorScale.html +10 -10
- data/rdoc/RubyXL/ColorSet.html +10 -10
- data/rdoc/RubyXL/Colors.html +10 -10
- data/rdoc/RubyXL/ColumnRange.html +7 -10
- data/rdoc/RubyXL/ColumnRanges.html +7 -10
- data/rdoc/RubyXL/Comment.html +7 -10
- data/rdoc/RubyXL/CommentList.html +10 -10
- data/rdoc/RubyXL/CommentsFile.html +101 -10
- data/rdoc/RubyXL/ConditionalFormatValue.html +10 -10
- data/rdoc/RubyXL/ConditionalFormatting.html +10 -10
- data/rdoc/RubyXL/ConditionalFormattingRule.html +10 -10
- data/rdoc/RubyXL/ContentTypeDefault.html +7 -10
- data/rdoc/RubyXL/ContentTypeOverride.html +7 -10
- data/rdoc/RubyXL/ContentTypes.html +15 -13
- data/rdoc/RubyXL/ControlPropertiesFile.html +21 -10
- data/rdoc/RubyXL/CorePropertiesFile.html +378 -10
- data/rdoc/RubyXL/CustomColor.html +10 -10
- data/rdoc/RubyXL/CustomColorList.html +10 -10
- data/rdoc/RubyXL/CustomFilter.html +10 -10
- data/rdoc/RubyXL/CustomFilters.html +10 -10
- data/rdoc/RubyXL/CustomGeometry.html +10 -10
- data/rdoc/RubyXL/CustomProperties.html +10 -10
- data/rdoc/RubyXL/CustomPropertiesFile.html +26 -10
- data/rdoc/RubyXL/CustomProperty.html +10 -10
- data/rdoc/RubyXL/CustomSheetView.html +10 -10
- data/rdoc/RubyXL/CustomSheetViews.html +10 -10
- data/rdoc/RubyXL/CustomWorkbookView.html +10 -10
- data/rdoc/RubyXL/CustomWorkbookViews.html +10 -10
- data/rdoc/RubyXL/CustomXMLFile.html +21 -10
- data/rdoc/RubyXL/DXF.html +10 -10
- data/rdoc/RubyXL/DXFs.html +10 -10
- data/rdoc/RubyXL/DataBar.html +10 -10
- data/rdoc/RubyXL/DataConsolidate.html +10 -10
- data/rdoc/RubyXL/DataConsolidationReference.html +10 -10
- data/rdoc/RubyXL/DataConsolidationReferences.html +10 -10
- data/rdoc/RubyXL/DataType.html +7 -10
- data/rdoc/RubyXL/DataValidation.html +7 -10
- data/rdoc/RubyXL/DataValidations.html +10 -10
- data/rdoc/RubyXL/DateGroupItem.html +7 -10
- data/rdoc/RubyXL/DefinedName.html +10 -10
- data/rdoc/RubyXL/DefinedNames.html +10 -10
- data/rdoc/RubyXL/DocumentPropertiesFile.html +7 -10
- data/rdoc/RubyXL/DrawingFile.html +92 -10
- data/rdoc/RubyXL/DynamicFilter.html +10 -10
- data/rdoc/RubyXL/EmbeddedControl.html +10 -10
- data/rdoc/RubyXL/EmbeddedControls.html +10 -10
- data/rdoc/RubyXL/Extension.html +7 -10
- data/rdoc/RubyXL/ExtensionStorageArea.html +7 -10
- data/rdoc/RubyXL/Extents.html +10 -10
- data/rdoc/RubyXL/ExternalLinksFile.html +26 -10
- data/rdoc/RubyXL/ExternalReference.html +10 -10
- data/rdoc/RubyXL/ExternalReferences.html +10 -10
- data/rdoc/RubyXL/ExtraColorSchemeList.html +10 -10
- data/rdoc/RubyXL/FieldItem.html +10 -10
- data/rdoc/RubyXL/FileRecoveryProperties.html +10 -10
- data/rdoc/RubyXL/FileSharing.html +7 -10
- data/rdoc/RubyXL/FileVersion.html +7 -10
- data/rdoc/RubyXL/Fill.html +61 -10
- data/rdoc/RubyXL/Fills.html +61 -10
- data/rdoc/RubyXL/FilterContainer.html +10 -10
- data/rdoc/RubyXL/FloatNode.html +7 -10
- data/rdoc/RubyXL/FloatValue.html +7 -10
- data/rdoc/RubyXL/Font.html +7 -10
- data/rdoc/RubyXL/FontScheme.html +10 -10
- data/rdoc/RubyXL/Fonts.html +61 -10
- data/rdoc/RubyXL/Formula.html +7 -10
- data/rdoc/RubyXL/FunctionGroup.html +10 -10
- data/rdoc/RubyXL/FunctionGroups.html +10 -10
- data/rdoc/RubyXL/GenericStorageObject.html +7 -10
- data/rdoc/RubyXL/GradientFill.html +10 -10
- data/rdoc/RubyXL/HeaderFooterSettings.html +10 -10
- data/rdoc/RubyXL/Hyperlink.html +10 -10
- data/rdoc/RubyXL/HyperlinkRelFile.html +21 -10
- data/rdoc/RubyXL/Hyperlinks.html +10 -10
- data/rdoc/RubyXL/IconFilter.html +10 -10
- data/rdoc/RubyXL/IconSet.html +10 -10
- data/rdoc/RubyXL/IgnoredError.html +10 -10
- data/rdoc/RubyXL/IgnoredErrors.html +10 -10
- data/rdoc/RubyXL/IndexedColors.html +10 -10
- data/rdoc/RubyXL/InputCells.html +10 -10
- data/rdoc/RubyXL/IntegerNode.html +7 -10
- data/rdoc/RubyXL/IntegerValue.html +7 -10
- data/rdoc/RubyXL/LegacyCell.html +7 -10
- data/rdoc/RubyXL/LegacyWorksheet.html +7 -10
- data/rdoc/RubyXL/MRUColors.html +10 -10
- data/rdoc/RubyXL/MacrosFile.html +26 -10
- data/rdoc/RubyXL/MergedCell.html +10 -10
- data/rdoc/RubyXL/MergedCells.html +10 -10
- data/rdoc/RubyXL/NumFmt.html +10 -10
- data/rdoc/RubyXL/NumberFormat.html +7 -10
- data/rdoc/RubyXL/NumberFormats.html +7 -10
- data/rdoc/RubyXL/OLEObject.html +10 -10
- data/rdoc/RubyXL/OLEObjectFile.html +26 -10
- data/rdoc/RubyXL/OLEObjects.html +10 -10
- data/rdoc/RubyXL/OLESize.html +10 -10
- data/rdoc/RubyXL/OOXMLContainerObject.html +298 -10
- data/rdoc/RubyXL/OOXMLObject.html +23 -11
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +23 -22
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +447 -10
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +8 -11
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +284 -10
- data/rdoc/RubyXL/Offset.html +10 -10
- data/rdoc/RubyXL/OutlineProperties.html +7 -10
- data/rdoc/RubyXL/PageMargins.html +10 -10
- data/rdoc/RubyXL/PageSetup.html +10 -10
- data/rdoc/RubyXL/PageSetupProperties.html +7 -10
- data/rdoc/RubyXL/Pane.html +10 -10
- data/rdoc/RubyXL/Parser.html +7 -10
- data/rdoc/RubyXL/PatternFill.html +10 -10
- data/rdoc/RubyXL/PhoneticProperties.html +10 -10
- data/rdoc/RubyXL/PhoneticRun.html +10 -10
- data/rdoc/RubyXL/PivotArea.html +10 -10
- data/rdoc/RubyXL/PivotCache.html +10 -10
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +38 -11
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +121 -0
- data/rdoc/RubyXL/PivotCaches.html +10 -10
- data/rdoc/RubyXL/PivotReference.html +10 -10
- data/rdoc/RubyXL/PivotReferences.html +10 -10
- data/rdoc/RubyXL/PivotTableFile.html +38 -11
- data/rdoc/RubyXL/PivotTableSelection.html +10 -10
- data/rdoc/RubyXL/PresetGeometry.html +10 -10
- data/rdoc/RubyXL/PrintOptions.html +10 -10
- data/rdoc/RubyXL/PrinterSettingsFile.html +26 -10
- data/rdoc/RubyXL/ProtectedRange.html +10 -10
- data/rdoc/RubyXL/ProtectedRanges.html +10 -10
- data/rdoc/RubyXL/Protection.html +10 -10
- data/rdoc/RubyXL/RID.html +7 -10
- data/rdoc/RubyXL/RawOOXML.html +7 -10
- data/rdoc/RubyXL/Reference.html +7 -10
- data/rdoc/RubyXL/Relationship.html +7 -10
- data/rdoc/RubyXL/RelationshipSupport.html +324 -10
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +59 -10
- data/rdoc/RubyXL/RichText.html +63 -10
- data/rdoc/RubyXL/RichTextRun.html +61 -10
- data/rdoc/RubyXL/Row.html +329 -10
- data/rdoc/RubyXL/RunProperties.html +7 -10
- data/rdoc/RubyXL/Scenario.html +10 -10
- data/rdoc/RubyXL/Scenarios.html +10 -10
- data/rdoc/RubyXL/Selection.html +69 -10
- data/rdoc/RubyXL/ShapeGuide.html +10 -10
- data/rdoc/RubyXL/ShapeTextRectangle.html +10 -10
- data/rdoc/RubyXL/SharedStringsTable.html +9 -12
- data/rdoc/RubyXL/Sheet.html +10 -10
- data/rdoc/RubyXL/SheetCalculationProperties.html +10 -10
- data/rdoc/RubyXL/SheetData.html +96 -10
- data/rdoc/RubyXL/Sheets.html +10 -10
- data/rdoc/RubyXL/SlicerCacheFile.html +26 -10
- data/rdoc/RubyXL/SlicerFile.html +26 -10
- data/rdoc/RubyXL/SmartTagProperties.html +10 -10
- data/rdoc/RubyXL/SmartTagType.html +10 -10
- data/rdoc/RubyXL/SmartTagTypes.html +10 -10
- data/rdoc/RubyXL/SmartTags.html +10 -10
- data/rdoc/RubyXL/SortCondition.html +10 -10
- data/rdoc/RubyXL/SortState.html +10 -10
- data/rdoc/RubyXL/Sqref.html +7 -10
- data/rdoc/RubyXL/Stop.html +7 -10
- data/rdoc/RubyXL/StringNode.html +7 -10
- data/rdoc/RubyXL/StringNodeW3C.html +7 -10
- data/rdoc/RubyXL/StringValue.html +7 -10
- data/rdoc/RubyXL/Stylesheet.html +211 -10
- data/rdoc/RubyXL/TableFile.html +26 -10
- data/rdoc/RubyXL/TableParts.html +7 -10
- data/rdoc/RubyXL/TableStyle.html +10 -10
- data/rdoc/RubyXL/TableStyles.html +10 -10
- data/rdoc/RubyXL/Text.html +33 -13
- data/rdoc/RubyXL/Theme.html +439 -10
- data/rdoc/RubyXL/ThemeElements.html +10 -10
- data/rdoc/RubyXL/ThumbnailFile.html +26 -10
- data/rdoc/RubyXL/Top10.html +10 -10
- data/rdoc/RubyXL/VMLDrawingFile.html +39 -11
- data/rdoc/RubyXL/Variant.html +7 -10
- data/rdoc/RubyXL/Vector.html +65 -10
- data/rdoc/RubyXL/VectorValue.html +7 -10
- data/rdoc/RubyXL/VisualProperties.html +10 -10
- data/rdoc/RubyXL/WebPublishObject.html +10 -10
- data/rdoc/RubyXL/WebPublishObjects.html +10 -10
- data/rdoc/RubyXL/WebPublishingItem.html +7 -10
- data/rdoc/RubyXL/WebPublishingItems.html +10 -10
- data/rdoc/RubyXL/WebPublishingProperties.html +10 -10
- data/rdoc/RubyXL/Workbook.html +514 -10
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +7 -10
- data/rdoc/RubyXL/WorkbookProperties.html +7 -10
- data/rdoc/RubyXL/WorkbookProtection.html +10 -10
- data/rdoc/RubyXL/WorkbookRoot.html +7 -10
- data/rdoc/RubyXL/WorkbookView.html +10 -10
- data/rdoc/RubyXL/WorkbookViews.html +10 -10
- data/rdoc/RubyXL/Worksheet.html +337 -10
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +2624 -10
- data/rdoc/RubyXL/WorksheetDimensions.html +10 -10
- data/rdoc/RubyXL/WorksheetFormatProperties.html +7 -10
- data/rdoc/RubyXL/WorksheetProperties.html +7 -10
- data/rdoc/RubyXL/WorksheetProtection.html +10 -10
- data/rdoc/RubyXL/WorksheetView.html +10 -10
- data/rdoc/RubyXL/WorksheetViews.html +10 -10
- data/rdoc/RubyXL/XF.html +10 -10
- data/rdoc/created.rid +8 -8
- data/rdoc/{fonts.css → css/fonts.css} +0 -0
- data/rdoc/{rdoc.css → css/rdoc.css} +11 -1
- data/rdoc/index.html +570 -11
- data/rdoc/js/darkfish.js +32 -11
- 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 +1920 -295
- data/rubyXL.gemspec +9 -5
- metadata +8 -4
|
@@ -4,22 +4,19 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>class RubyXL::WebPublishObject - rubyXL 3.3.
|
|
8
|
-
|
|
9
|
-
<link href="../fonts.css" rel="stylesheet">
|
|
10
|
-
<link href="../rdoc.css" rel="stylesheet">
|
|
7
|
+
<title>class RubyXL::WebPublishObject - rubyXL 3.3.2</title>
|
|
11
8
|
|
|
12
9
|
<script type="text/javascript">
|
|
13
10
|
var rdoc_rel_prefix = "../";
|
|
14
11
|
</script>
|
|
15
12
|
|
|
16
13
|
<script src="../js/jquery.js"></script>
|
|
17
|
-
<script src="../js/navigation.js"></script>
|
|
18
|
-
<script src="../js/search_index.js"></script>
|
|
19
|
-
<script src="../js/search.js"></script>
|
|
20
|
-
<script src="../js/searcher.js"></script>
|
|
21
14
|
<script src="../js/darkfish.js"></script>
|
|
22
15
|
|
|
16
|
+
<link href="../css/fonts.css" rel="stylesheet">
|
|
17
|
+
<link href="../css/rdoc.css" rel="stylesheet">
|
|
18
|
+
|
|
19
|
+
|
|
23
20
|
|
|
24
21
|
<body id="top" role="document" class="class">
|
|
25
22
|
<nav role="navigation">
|
|
@@ -78,6 +75,9 @@
|
|
|
78
75
|
|
|
79
76
|
<section class="description">
|
|
80
77
|
|
|
78
|
+
<p><a
|
|
79
|
+
href="http://www.schemacentral.com/sc/ooxml/e-ssml_webPublishObject-1.html">www.schemacentral.com/sc/ooxml/e-ssml_webPublishObject-1.html</a></p>
|
|
80
|
+
|
|
81
81
|
</section>
|
|
82
82
|
|
|
83
83
|
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
|
|
100
100
|
<footer id="validator-badges" role="contentinfo">
|
|
101
101
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
|
102
|
-
<p>Generated by <a href="http://
|
|
103
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-
|
|
102
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
|
103
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
104
104
|
</footer>
|
|
105
105
|
|
|
@@ -4,22 +4,19 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>class RubyXL::WebPublishObjects - rubyXL 3.3.
|
|
8
|
-
|
|
9
|
-
<link href="../fonts.css" rel="stylesheet">
|
|
10
|
-
<link href="../rdoc.css" rel="stylesheet">
|
|
7
|
+
<title>class RubyXL::WebPublishObjects - rubyXL 3.3.2</title>
|
|
11
8
|
|
|
12
9
|
<script type="text/javascript">
|
|
13
10
|
var rdoc_rel_prefix = "../";
|
|
14
11
|
</script>
|
|
15
12
|
|
|
16
13
|
<script src="../js/jquery.js"></script>
|
|
17
|
-
<script src="../js/navigation.js"></script>
|
|
18
|
-
<script src="../js/search_index.js"></script>
|
|
19
|
-
<script src="../js/search.js"></script>
|
|
20
|
-
<script src="../js/searcher.js"></script>
|
|
21
14
|
<script src="../js/darkfish.js"></script>
|
|
22
15
|
|
|
16
|
+
<link href="../css/fonts.css" rel="stylesheet">
|
|
17
|
+
<link href="../css/rdoc.css" rel="stylesheet">
|
|
18
|
+
|
|
19
|
+
|
|
23
20
|
|
|
24
21
|
<body id="top" role="document" class="class">
|
|
25
22
|
<nav role="navigation">
|
|
@@ -78,6 +75,9 @@
|
|
|
78
75
|
|
|
79
76
|
<section class="description">
|
|
80
77
|
|
|
78
|
+
<p><a
|
|
79
|
+
href="http://www.schemacentral.com/sc/ooxml/e-ssml_webPublishObjects-1.html">www.schemacentral.com/sc/ooxml/e-ssml_webPublishObjects-1.html</a></p>
|
|
80
|
+
|
|
81
81
|
</section>
|
|
82
82
|
|
|
83
83
|
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
|
|
100
100
|
<footer id="validator-badges" role="contentinfo">
|
|
101
101
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
|
102
|
-
<p>Generated by <a href="http://
|
|
103
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-
|
|
102
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
|
103
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
104
104
|
</footer>
|
|
105
105
|
|
|
@@ -4,22 +4,19 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>class RubyXL::WebPublishingItem - rubyXL 3.3.
|
|
8
|
-
|
|
9
|
-
<link href="../fonts.css" rel="stylesheet">
|
|
10
|
-
<link href="../rdoc.css" rel="stylesheet">
|
|
7
|
+
<title>class RubyXL::WebPublishingItem - rubyXL 3.3.2</title>
|
|
11
8
|
|
|
12
9
|
<script type="text/javascript">
|
|
13
10
|
var rdoc_rel_prefix = "../";
|
|
14
11
|
</script>
|
|
15
12
|
|
|
16
13
|
<script src="../js/jquery.js"></script>
|
|
17
|
-
<script src="../js/navigation.js"></script>
|
|
18
|
-
<script src="../js/search_index.js"></script>
|
|
19
|
-
<script src="../js/search.js"></script>
|
|
20
|
-
<script src="../js/searcher.js"></script>
|
|
21
14
|
<script src="../js/darkfish.js"></script>
|
|
22
15
|
|
|
16
|
+
<link href="../css/fonts.css" rel="stylesheet">
|
|
17
|
+
<link href="../css/rdoc.css" rel="stylesheet">
|
|
18
|
+
|
|
19
|
+
|
|
23
20
|
|
|
24
21
|
<body id="top" role="document" class="class">
|
|
25
22
|
<nav role="navigation">
|
|
@@ -102,7 +99,7 @@ href="http://www.schemacentral.com/sc/ooxml/e-ssml_webPublishItem-1.html">www.sc
|
|
|
102
99
|
|
|
103
100
|
<footer id="validator-badges" role="contentinfo">
|
|
104
101
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
|
105
|
-
<p>Generated by <a href="http://
|
|
106
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-
|
|
102
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
|
103
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
107
104
|
</footer>
|
|
108
105
|
|
|
@@ -4,22 +4,19 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>class RubyXL::WebPublishingItems - rubyXL 3.3.
|
|
8
|
-
|
|
9
|
-
<link href="../fonts.css" rel="stylesheet">
|
|
10
|
-
<link href="../rdoc.css" rel="stylesheet">
|
|
7
|
+
<title>class RubyXL::WebPublishingItems - rubyXL 3.3.2</title>
|
|
11
8
|
|
|
12
9
|
<script type="text/javascript">
|
|
13
10
|
var rdoc_rel_prefix = "../";
|
|
14
11
|
</script>
|
|
15
12
|
|
|
16
13
|
<script src="../js/jquery.js"></script>
|
|
17
|
-
<script src="../js/navigation.js"></script>
|
|
18
|
-
<script src="../js/search_index.js"></script>
|
|
19
|
-
<script src="../js/search.js"></script>
|
|
20
|
-
<script src="../js/searcher.js"></script>
|
|
21
14
|
<script src="../js/darkfish.js"></script>
|
|
22
15
|
|
|
16
|
+
<link href="../css/fonts.css" rel="stylesheet">
|
|
17
|
+
<link href="../css/rdoc.css" rel="stylesheet">
|
|
18
|
+
|
|
19
|
+
|
|
23
20
|
|
|
24
21
|
<body id="top" role="document" class="class">
|
|
25
22
|
<nav role="navigation">
|
|
@@ -78,6 +75,9 @@
|
|
|
78
75
|
|
|
79
76
|
<section class="description">
|
|
80
77
|
|
|
78
|
+
<p><a
|
|
79
|
+
href="http://www.schemacentral.com/sc/ooxml/e-ssml_webPublishItems-1.html">www.schemacentral.com/sc/ooxml/e-ssml_webPublishItems-1.html</a></p>
|
|
80
|
+
|
|
81
81
|
</section>
|
|
82
82
|
|
|
83
83
|
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
|
|
100
100
|
<footer id="validator-badges" role="contentinfo">
|
|
101
101
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
|
102
|
-
<p>Generated by <a href="http://
|
|
103
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-
|
|
102
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
|
103
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
104
104
|
</footer>
|
|
105
105
|
|
|
@@ -4,22 +4,19 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>class RubyXL::WebPublishingProperties - rubyXL 3.3.
|
|
8
|
-
|
|
9
|
-
<link href="../fonts.css" rel="stylesheet">
|
|
10
|
-
<link href="../rdoc.css" rel="stylesheet">
|
|
7
|
+
<title>class RubyXL::WebPublishingProperties - rubyXL 3.3.2</title>
|
|
11
8
|
|
|
12
9
|
<script type="text/javascript">
|
|
13
10
|
var rdoc_rel_prefix = "../";
|
|
14
11
|
</script>
|
|
15
12
|
|
|
16
13
|
<script src="../js/jquery.js"></script>
|
|
17
|
-
<script src="../js/navigation.js"></script>
|
|
18
|
-
<script src="../js/search_index.js"></script>
|
|
19
|
-
<script src="../js/search.js"></script>
|
|
20
|
-
<script src="../js/searcher.js"></script>
|
|
21
14
|
<script src="../js/darkfish.js"></script>
|
|
22
15
|
|
|
16
|
+
<link href="../css/fonts.css" rel="stylesheet">
|
|
17
|
+
<link href="../css/rdoc.css" rel="stylesheet">
|
|
18
|
+
|
|
19
|
+
|
|
23
20
|
|
|
24
21
|
<body id="top" role="document" class="class">
|
|
25
22
|
<nav role="navigation">
|
|
@@ -78,6 +75,9 @@
|
|
|
78
75
|
|
|
79
76
|
<section class="description">
|
|
80
77
|
|
|
78
|
+
<p><a
|
|
79
|
+
href="http://www.schemacentral.com/sc/ooxml/e-ssml_webPublishing-1.html">www.schemacentral.com/sc/ooxml/e-ssml_webPublishing-1.html</a></p>
|
|
80
|
+
|
|
81
81
|
</section>
|
|
82
82
|
|
|
83
83
|
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
|
|
100
100
|
<footer id="validator-badges" role="contentinfo">
|
|
101
101
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
|
102
|
-
<p>Generated by <a href="http://
|
|
103
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-
|
|
102
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
|
103
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
104
104
|
</footer>
|
|
105
105
|
|
data/rdoc/RubyXL/Workbook.html
CHANGED
|
@@ -4,22 +4,19 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>class RubyXL::Workbook - rubyXL 3.3.
|
|
8
|
-
|
|
9
|
-
<link href="../fonts.css" rel="stylesheet">
|
|
10
|
-
<link href="../rdoc.css" rel="stylesheet">
|
|
7
|
+
<title>class RubyXL::Workbook - rubyXL 3.3.2</title>
|
|
11
8
|
|
|
12
9
|
<script type="text/javascript">
|
|
13
10
|
var rdoc_rel_prefix = "../";
|
|
14
11
|
</script>
|
|
15
12
|
|
|
16
13
|
<script src="../js/jquery.js"></script>
|
|
17
|
-
<script src="../js/navigation.js"></script>
|
|
18
|
-
<script src="../js/search_index.js"></script>
|
|
19
|
-
<script src="../js/search.js"></script>
|
|
20
|
-
<script src="../js/searcher.js"></script>
|
|
21
14
|
<script src="../js/darkfish.js"></script>
|
|
22
15
|
|
|
16
|
+
<link href="../css/fonts.css" rel="stylesheet">
|
|
17
|
+
<link href="../css/rdoc.css" rel="stylesheet">
|
|
18
|
+
|
|
19
|
+
|
|
23
20
|
|
|
24
21
|
<body id="top" role="document" class="class">
|
|
25
22
|
<nav role="navigation">
|
|
@@ -65,9 +62,56 @@
|
|
|
65
62
|
|
|
66
63
|
</div>
|
|
67
64
|
|
|
65
|
+
<div id="includes-section" class="nav-section">
|
|
66
|
+
<h3>Included Modules</h3>
|
|
67
|
+
|
|
68
|
+
<ul class="link-list">
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
<li><a class="include" href="RelationshipSupport.html">RubyXL::RelationshipSupport</a>
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
<li><span class="include">Enumerable</span>
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
<li><a class="include" href="WorkbookConvenienceMethods.html">RubyXL::WorkbookConvenienceMethods</a>
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
</ul>
|
|
83
|
+
</div>
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
<!-- Method Quickref -->
|
|
87
|
+
<div id="method-list-section" class="nav-section">
|
|
88
|
+
<h3>Methods</h3>
|
|
89
|
+
|
|
90
|
+
<ul class="link-list" role="directory">
|
|
91
|
+
|
|
92
|
+
<li class="calls-super" ><a href="#method-c-new">::new</a>
|
|
93
|
+
|
|
94
|
+
<li ><a href="#method-i-before_write_xml">#before_write_xml</a>
|
|
95
|
+
|
|
96
|
+
<li ><a href="#method-i-content_type">#content_type</a>
|
|
68
97
|
|
|
98
|
+
<li ><a href="#method-i-date_to_num">#date_to_num</a>
|
|
69
99
|
|
|
100
|
+
<li ><a href="#method-i-num_to_date">#num_to_date</a>
|
|
70
101
|
|
|
102
|
+
<li ><a href="#method-i-related_objects">#related_objects</a>
|
|
103
|
+
|
|
104
|
+
<li ><a href="#method-i-save">#save</a>
|
|
105
|
+
|
|
106
|
+
<li ><a href="#method-i-stream">#stream</a>
|
|
107
|
+
|
|
108
|
+
<li ><a href="#method-i-write">#write</a>
|
|
109
|
+
|
|
110
|
+
<li ><a href="#method-i-xlsx_path">#xlsx_path</a>
|
|
111
|
+
|
|
112
|
+
</ul>
|
|
113
|
+
</div>
|
|
114
|
+
|
|
71
115
|
</div>
|
|
72
116
|
</nav>
|
|
73
117
|
|
|
@@ -78,6 +122,9 @@
|
|
|
78
122
|
|
|
79
123
|
<section class="description">
|
|
80
124
|
|
|
125
|
+
<p><a
|
|
126
|
+
href="http://www.schemacentral.com/sc/ooxml/e-ssml_workbook.html">www.schemacentral.com/sc/ooxml/e-ssml_workbook.html</a></p>
|
|
127
|
+
|
|
81
128
|
</section>
|
|
82
129
|
|
|
83
130
|
|
|
@@ -89,17 +136,474 @@
|
|
|
89
136
|
|
|
90
137
|
|
|
91
138
|
|
|
139
|
+
<section class="constants-list">
|
|
140
|
+
<header>
|
|
141
|
+
<h3>Constants</h3>
|
|
142
|
+
</header>
|
|
143
|
+
<dl>
|
|
144
|
+
|
|
145
|
+
<dt id="APPLICATION">APPLICATION
|
|
146
|
+
|
|
147
|
+
<dd>
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
<dt id="APPVERSION">APPVERSION
|
|
151
|
+
|
|
152
|
+
<dd>
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
<dt id="CONTENT_TYPE">CONTENT_TYPE
|
|
156
|
+
|
|
157
|
+
<dd>
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
<dt id="CONTENT_TYPE_MACRO">CONTENT_TYPE_MACRO
|
|
161
|
+
|
|
162
|
+
<dd>
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
<dt id="DATE1899">DATE1899
|
|
166
|
+
|
|
167
|
+
<dd><p>Subtracting one day to accomodate for erroneous 1900 leap year
|
|
168
|
+
compatibility only for 1900 based dates</p>
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
<dt id="DATE1904">DATE1904
|
|
172
|
+
|
|
173
|
+
<dd>
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
<dt id="REL_TYPE">REL_TYPE
|
|
177
|
+
|
|
178
|
+
<dd>
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
</dl>
|
|
182
|
+
</section>
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
<section class="attribute-method-details" class="method-section">
|
|
187
|
+
<header>
|
|
188
|
+
<h3>Attributes</h3>
|
|
189
|
+
</header>
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
<div id="attribute-i-worksheets" class="method-detail">
|
|
193
|
+
<div class="method-heading attribute-method-heading">
|
|
194
|
+
<span class="method-name">worksheets</span><span
|
|
195
|
+
class="attribute-access-type">[RW]</span>
|
|
196
|
+
</div>
|
|
197
|
+
|
|
198
|
+
<div class="method-description">
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
</div>
|
|
203
|
+
</div>
|
|
204
|
+
|
|
205
|
+
</section>
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
|
210
|
+
<header>
|
|
211
|
+
<h3>Public Class Methods</h3>
|
|
212
|
+
</header>
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
<div id="method-c-new" class="method-detail ">
|
|
216
|
+
|
|
217
|
+
<div class="method-heading">
|
|
218
|
+
<span class="method-name">new</span><span
|
|
219
|
+
class="method-args">(worksheets = [], filepath = nil, creator = nil, modifier = nil, created_at = nil, company = '', application = APPLICATION, appversion = APPVERSION, date1904 = 0)</span>
|
|
220
|
+
|
|
221
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
222
|
+
|
|
223
|
+
</div>
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
<div class="method-description">
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
<div class="method-calls-super">
|
|
232
|
+
Calls superclass method
|
|
233
|
+
<a href="OOXMLObjectInstanceMethods.html#method-c-new">RubyXL::OOXMLObjectInstanceMethods.new</a>
|
|
234
|
+
</div>
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
<div class="method-source-code" id="new-source">
|
|
239
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 417</span>
|
|
240
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">worksheets</span> = [], <span class="ruby-identifier">filepath</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">creator</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">modifier</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">created_at</span> = <span class="ruby-keyword">nil</span>,
|
|
241
|
+
<span class="ruby-identifier">company</span> = <span class="ruby-string">''</span>, <span class="ruby-identifier">application</span> = <span class="ruby-constant">APPLICATION</span>, <span class="ruby-identifier">appversion</span> = <span class="ruby-constant">APPVERSION</span>, <span class="ruby-identifier">date1904</span> = <span class="ruby-value">0</span>)
|
|
242
|
+
<span class="ruby-keyword">super</span>()
|
|
243
|
+
|
|
244
|
+
<span class="ruby-comment"># Order of sheets in the +worksheets+ array corresponds to the order of pages in Excel UI.</span>
|
|
245
|
+
<span class="ruby-comment"># SheetId's, rId's, etc. are completely unrelated to ordering.</span>
|
|
246
|
+
<span class="ruby-ivar">@worksheets</span> = <span class="ruby-identifier">worksheets</span>
|
|
247
|
+
<span class="ruby-identifier">add_worksheet</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@worksheets</span>.<span class="ruby-identifier">empty?</span>
|
|
248
|
+
|
|
249
|
+
<span class="ruby-ivar">@theme</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Theme</span>.<span class="ruby-identifier">default</span>
|
|
250
|
+
<span class="ruby-ivar">@shared_strings_container</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">SharedStringsTable</span>.<span class="ruby-identifier">new</span>
|
|
251
|
+
<span class="ruby-ivar">@stylesheet</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Stylesheet</span>.<span class="ruby-identifier">default</span>
|
|
252
|
+
<span class="ruby-ivar">@relationship_container</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">OOXMLRelationshipsFile</span>.<span class="ruby-identifier">new</span>
|
|
253
|
+
<span class="ruby-ivar">@root</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">WorkbookRoot</span>.<span class="ruby-identifier">default</span>
|
|
254
|
+
<span class="ruby-ivar">@root</span>.<span class="ruby-identifier">workbook</span> = <span class="ruby-keyword">self</span>
|
|
255
|
+
<span class="ruby-ivar">@root</span>.<span class="ruby-identifier">filepath</span> = <span class="ruby-identifier">filepath</span>
|
|
256
|
+
|
|
257
|
+
<span class="ruby-identifier">creation_time</span> = <span class="ruby-constant">DateTime</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">created_at</span>) <span class="ruby-keyword">rescue</span> <span class="ruby-constant">DateTime</span>.<span class="ruby-identifier">now</span>
|
|
258
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">created_at</span> = <span class="ruby-identifier">creation_time</span>
|
|
259
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">modified_at</span> = <span class="ruby-identifier">creation_time</span>
|
|
260
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">company</span> = <span class="ruby-identifier">company</span>
|
|
261
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">application</span> = <span class="ruby-identifier">application</span>
|
|
262
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">appversion</span> = <span class="ruby-identifier">appversion</span>
|
|
263
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">creator</span> = <span class="ruby-identifier">creator</span>
|
|
264
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">modifier</span> = <span class="ruby-identifier">modifier</span>
|
|
265
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">date1904</span> = <span class="ruby-identifier">date1904</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span>
|
|
266
|
+
<span class="ruby-keyword">end</span></pre>
|
|
267
|
+
</div>
|
|
268
|
+
|
|
269
|
+
</div>
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
</div>
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
</section>
|
|
278
|
+
|
|
279
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
|
280
|
+
<header>
|
|
281
|
+
<h3>Public Instance Methods</h3>
|
|
282
|
+
</header>
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
<div id="method-i-before_write_xml" class="method-detail ">
|
|
286
|
+
|
|
287
|
+
<div class="method-heading">
|
|
288
|
+
<span class="method-name">before_write_xml</span><span
|
|
289
|
+
class="method-args">()</span>
|
|
290
|
+
|
|
291
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
292
|
+
|
|
293
|
+
</div>
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
<div class="method-description">
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
<div class="method-source-code" id="before_write_xml-source">
|
|
304
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 357</span>
|
|
305
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">before_write_xml</span>
|
|
306
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">sheets</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Sheets</span>.<span class="ruby-identifier">new</span>
|
|
307
|
+
|
|
308
|
+
<span class="ruby-identifier">worksheets</span>.<span class="ruby-identifier">each_with_index</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">sheet</span>, <span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
|
|
309
|
+
<span class="ruby-identifier">rel</span> = <span class="ruby-identifier">relationship_container</span>.<span class="ruby-identifier">find_by_target</span>(<span class="ruby-identifier">sheet</span>.<span class="ruby-identifier">xlsx_path</span>)
|
|
310
|
+
<span class="ruby-identifier">sheets</span> <span class="ruby-operator"><<</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Sheet</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:name</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">sheet</span>.<span class="ruby-identifier">sheet_name</span>[<span class="ruby-value">0</span><span class="ruby-operator">..</span><span class="ruby-value">30</span>], <span class="ruby-comment"># Max sheet name length is 31 char</span>
|
|
311
|
+
<span class="ruby-value">:sheet_id</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">sheet</span>.<span class="ruby-identifier">sheet_id</span> <span class="ruby-operator">||</span> (<span class="ruby-identifier">i</span> <span class="ruby-operator">+</span> <span class="ruby-value">1</span>),
|
|
312
|
+
<span class="ruby-value">:state</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">sheet</span>.<span class="ruby-identifier">state</span>, <span class="ruby-value">:r_id</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">rel</span>.<span class="ruby-identifier">id</span>)
|
|
313
|
+
}
|
|
314
|
+
<span class="ruby-keyword">true</span>
|
|
315
|
+
<span class="ruby-keyword">end</span></pre>
|
|
316
|
+
</div>
|
|
317
|
+
|
|
318
|
+
</div>
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
</div>
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
<div id="method-i-content_type" class="method-detail ">
|
|
327
|
+
|
|
328
|
+
<div class="method-heading">
|
|
329
|
+
<span class="method-name">content_type</span><span
|
|
330
|
+
class="method-args">()</span>
|
|
331
|
+
|
|
332
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
333
|
+
|
|
334
|
+
</div>
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
<div class="method-description">
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
<div class="method-source-code" id="content_type-source">
|
|
345
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 306</span>
|
|
346
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">content_type</span>
|
|
347
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">macros</span> <span class="ruby-keyword">then</span> <span class="ruby-constant">CONTENT_TYPE_MACRO</span> <span class="ruby-keyword">else</span> <span class="ruby-constant">CONTENT_TYPE</span> <span class="ruby-keyword">end</span>
|
|
348
|
+
<span class="ruby-keyword">end</span></pre>
|
|
349
|
+
</div>
|
|
350
|
+
|
|
351
|
+
</div>
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
</div>
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
<div id="method-i-date_to_num" class="method-detail ">
|
|
360
|
+
|
|
361
|
+
<div class="method-heading">
|
|
362
|
+
<span class="method-name">date_to_num</span><span
|
|
363
|
+
class="method-args">(date)</span>
|
|
364
|
+
|
|
365
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
366
|
+
|
|
367
|
+
</div>
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
<div class="method-description">
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
<div class="method-source-code" id="date_to_num-source">
|
|
378
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 402</span>
|
|
379
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">date_to_num</span>(<span class="ruby-identifier">date</span>)
|
|
380
|
+
<span class="ruby-identifier">date</span> <span class="ruby-operator">&&</span> (<span class="ruby-identifier">date</span>.<span class="ruby-identifier">ajd</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">base_date</span>().<span class="ruby-identifier">ajd</span>).<span class="ruby-identifier">to_f</span>
|
|
381
|
+
<span class="ruby-keyword">end</span></pre>
|
|
382
|
+
</div>
|
|
383
|
+
|
|
384
|
+
</div>
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
</div>
|
|
92
390
|
|
|
93
391
|
|
|
392
|
+
<div id="method-i-num_to_date" class="method-detail ">
|
|
393
|
+
|
|
394
|
+
<div class="method-heading">
|
|
395
|
+
<span class="method-name">num_to_date</span><span
|
|
396
|
+
class="method-args">(num)</span>
|
|
397
|
+
|
|
398
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
399
|
+
|
|
400
|
+
</div>
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
<div class="method-description">
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
<div class="method-source-code" id="num_to_date-source">
|
|
411
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 406</span>
|
|
412
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">num_to_date</span>(<span class="ruby-identifier">num</span>)
|
|
413
|
+
<span class="ruby-identifier">num</span> <span class="ruby-operator">&&</span> (<span class="ruby-identifier">base_date</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">num</span>)
|
|
414
|
+
<span class="ruby-keyword">end</span></pre>
|
|
415
|
+
</div>
|
|
416
|
+
|
|
417
|
+
</div>
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
</div>
|
|
94
423
|
|
|
95
424
|
|
|
425
|
+
<div id="method-i-related_objects" class="method-detail ">
|
|
426
|
+
|
|
427
|
+
<div class="method-heading">
|
|
428
|
+
<span class="method-name">related_objects</span><span
|
|
429
|
+
class="method-args">()</span>
|
|
430
|
+
|
|
431
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
432
|
+
|
|
433
|
+
</div>
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
<div class="method-description">
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
<div class="method-source-code" id="related_objects-source">
|
|
444
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 311</span>
|
|
445
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">related_objects</span>
|
|
446
|
+
[ <span class="ruby-identifier">calculation_chain</span>, <span class="ruby-identifier">stylesheet</span>, <span class="ruby-identifier">theme</span>, <span class="ruby-identifier">shared_strings_container</span>, <span class="ruby-identifier">macros</span> ] <span class="ruby-operator">+</span> <span class="ruby-ivar">@worksheets</span>
|
|
447
|
+
<span class="ruby-keyword">end</span></pre>
|
|
448
|
+
</div>
|
|
449
|
+
|
|
450
|
+
</div>
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
</div>
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
<div id="method-i-save" class="method-detail ">
|
|
459
|
+
|
|
460
|
+
<div class="method-heading">
|
|
461
|
+
<span class="method-name">save</span><span
|
|
462
|
+
class="method-args">(filepath = nil)</span>
|
|
463
|
+
|
|
464
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
465
|
+
|
|
466
|
+
</div>
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
<div class="method-description">
|
|
470
|
+
|
|
471
|
+
<p>Save the resulting XLSX file to the specified location</p>
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
<div class="method-source-code" id="save-source">
|
|
477
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 379</span>
|
|
478
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">save</span>(<span class="ruby-identifier">filepath</span> = <span class="ruby-keyword">nil</span>)
|
|
479
|
+
<span class="ruby-identifier">filepath</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">root</span>.<span class="ruby-identifier">filepath</span>
|
|
480
|
+
|
|
481
|
+
<span class="ruby-identifier">extension</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">extname</span>(<span class="ruby-identifier">filepath</span>)
|
|
482
|
+
<span class="ruby-keyword">unless</span> <span class="ruby-node">%w{.xlsx .xlsm}</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">extension</span>.<span class="ruby-identifier">downcase</span>)
|
|
483
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-node">"Unsupported extension: #{extension} (only .xlsx and .xlsm files are supported)."</span>
|
|
484
|
+
<span class="ruby-keyword">end</span>
|
|
485
|
+
|
|
486
|
+
<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">filepath</span>, <span class="ruby-string">"wb"</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">output_file</span><span class="ruby-operator">|</span> <span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">copy_stream</span>(<span class="ruby-identifier">root</span>.<span class="ruby-identifier">stream</span>, <span class="ruby-identifier">output_file</span>) }
|
|
487
|
+
|
|
488
|
+
<span class="ruby-keyword">return</span> <span class="ruby-identifier">filepath</span>
|
|
489
|
+
<span class="ruby-keyword">end</span></pre>
|
|
490
|
+
</div>
|
|
491
|
+
|
|
492
|
+
</div>
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
<div class="aliases">
|
|
496
|
+
Also aliased as: <a href="Workbook.html#method-i-write">write</a>
|
|
497
|
+
</div>
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
</div>
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
<div id="method-i-stream" class="method-detail ">
|
|
505
|
+
|
|
506
|
+
<div class="method-heading">
|
|
507
|
+
<span class="method-name">stream</span><span
|
|
508
|
+
class="method-args">()</span>
|
|
509
|
+
|
|
510
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
511
|
+
|
|
512
|
+
</div>
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
<div class="method-description">
|
|
516
|
+
|
|
517
|
+
<p>Return the resulting XLSX file in a stream (useful for sending over HTTP)</p>
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
<div class="method-source-code" id="stream-source">
|
|
523
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 374</span>
|
|
524
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">stream</span>
|
|
525
|
+
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">stream</span>
|
|
526
|
+
<span class="ruby-keyword">end</span></pre>
|
|
527
|
+
</div>
|
|
528
|
+
|
|
529
|
+
</div>
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
</div>
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
<div id="method-i-write" class="method-detail method-alias">
|
|
538
|
+
|
|
539
|
+
<div class="method-heading">
|
|
540
|
+
<span class="method-name">write</span><span
|
|
541
|
+
class="method-args">(filepath = nil)</span>
|
|
542
|
+
|
|
543
|
+
</div>
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
<div class="method-description">
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
</div>
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
<div class="aliases">
|
|
559
|
+
Alias for: <a href="Workbook.html#method-i-save">save</a>
|
|
560
|
+
</div>
|
|
561
|
+
|
|
562
|
+
</div>
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
<div id="method-i-xlsx_path" class="method-detail ">
|
|
566
|
+
|
|
567
|
+
<div class="method-heading">
|
|
568
|
+
<span class="method-name">xlsx_path</span><span
|
|
569
|
+
class="method-args">()</span>
|
|
570
|
+
|
|
571
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
572
|
+
|
|
573
|
+
</div>
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
<div class="method-description">
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
<div class="method-source-code" id="xlsx_path-source">
|
|
584
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 369</span>
|
|
585
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">xlsx_path</span>
|
|
586
|
+
<span class="ruby-constant">ROOT</span>.<span class="ruby-identifier">join</span>(<span class="ruby-string">'xl'</span>, <span class="ruby-string">'workbook.xml'</span>)
|
|
587
|
+
<span class="ruby-keyword">end</span></pre>
|
|
588
|
+
</div>
|
|
589
|
+
|
|
590
|
+
</div>
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
|
|
595
|
+
</div>
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
</section>
|
|
599
|
+
|
|
96
600
|
</section>
|
|
97
601
|
</main>
|
|
98
602
|
|
|
99
603
|
|
|
100
604
|
<footer id="validator-badges" role="contentinfo">
|
|
101
605
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
|
102
|
-
<p>Generated by <a href="http://
|
|
103
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-
|
|
606
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
|
607
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
104
608
|
</footer>
|
|
105
609
|
|