rubyXL 3.4.14 → 3.4.18
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/.circleci/config.yml +2 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +69 -44
- data/README.rdoc +9 -1
- data/Rakefile +3 -3
- data/VERSION +1 -1
- data/lib/rubyXL/convenience_methods/cell.rb +1 -1
- data/lib/rubyXL/convenience_methods/worksheet.rb +77 -0
- data/lib/rubyXL/objects/chartsheet.rb +1 -1
- data/lib/rubyXL/objects/data_validation.rb +2 -0
- data/lib/rubyXL/objects/external_links.rb +25 -1
- data/lib/rubyXL/objects/ooxml_object.rb +5 -0
- data/lib/rubyXL/objects/relationships.rb +1 -1
- data/lib/rubyXL/objects/sheet_data.rb +2 -1
- data/lib/rubyXL/objects/storage.rb +1 -0
- data/lib/rubyXL/objects/theme.rb +1 -1
- data/lib/rubyXL/objects/workbook.rb +12 -6
- data/lib/rubyXL/objects/worksheet.rb +7 -7
- data/lib/rubyXL/worksheet.rb +1 -1
- data/rdoc/README_rdoc.html +16 -7
- data/rdoc/RubyXL.html +6 -319
- data/rdoc/RubyXL/AExtension.html +9 -49
- data/rdoc/RubyXL/AExtensionStorageArea.html +5 -12
- data/rdoc/RubyXL/ActiveX.html +11 -40
- data/rdoc/RubyXL/ActiveXBinary.html +5 -17
- data/rdoc/RubyXL/AdjustHandleList.html +5 -12
- data/rdoc/RubyXL/Alignment.html +5 -12
- data/rdoc/RubyXL/AlternateContent.html +5 -12
- data/rdoc/RubyXL/Authors.html +5 -12
- data/rdoc/RubyXL/AutoFilter.html +5 -12
- data/rdoc/RubyXL/AutoFilterColumn.html +5 -12
- data/rdoc/RubyXL/BinaryImageFile.html +5 -20
- data/rdoc/RubyXL/BodyProperties.html +5 -12
- data/rdoc/RubyXL/BooleanNode.html +5 -12
- data/rdoc/RubyXL/BooleanValue.html +5 -12
- data/rdoc/RubyXL/Border.html +8 -68
- data/rdoc/RubyXL/BorderEdge.html +8 -42
- data/rdoc/RubyXL/Borders.html +8 -29
- data/rdoc/RubyXL/Break.html +5 -12
- data/rdoc/RubyXL/BreakList.html +5 -12
- data/rdoc/RubyXL/CT_AdjPoint2D.html +5 -12
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +5 -12
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +5 -12
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +5 -12
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +5 -12
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +5 -12
- data/rdoc/RubyXL/CT_Backdrop.html +5 -12
- data/rdoc/RubyXL/CT_Bevel.html +5 -12
- data/rdoc/RubyXL/CT_BiLevelEffect.html +5 -12
- data/rdoc/RubyXL/CT_BlendEffect.html +5 -12
- data/rdoc/RubyXL/CT_Blip.html +5 -12
- data/rdoc/RubyXL/CT_BlipFillProperties.html +5 -12
- data/rdoc/RubyXL/CT_BlurEffect.html +5 -12
- data/rdoc/RubyXL/CT_Camera.html +5 -12
- data/rdoc/RubyXL/CT_Color.html +5 -12
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +5 -12
- data/rdoc/RubyXL/CT_ColorMapping.html +5 -12
- data/rdoc/RubyXL/CT_ColorScheme.html +5 -12
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +5 -12
- data/rdoc/RubyXL/CT_ConnectionSite.html +5 -12
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +5 -12
- data/rdoc/RubyXL/CT_DashStop.html +5 -12
- data/rdoc/RubyXL/CT_DashStopList.html +5 -12
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +5 -12
- data/rdoc/RubyXL/CT_DuotoneEffect.html +5 -12
- data/rdoc/RubyXL/CT_EffectContainer.html +5 -12
- data/rdoc/RubyXL/CT_EffectList.html +5 -12
- data/rdoc/RubyXL/CT_EffectReference.html +5 -12
- data/rdoc/RubyXL/CT_EffectStyleItem.html +5 -12
- data/rdoc/RubyXL/CT_EffectStyleList.html +5 -12
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +5 -12
- data/rdoc/RubyXL/CT_FillEffect.html +5 -12
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +5 -12
- data/rdoc/RubyXL/CT_FillStyleList.html +5 -12
- data/rdoc/RubyXL/CT_FlatText.html +5 -12
- data/rdoc/RubyXL/CT_FontCollection.html +5 -12
- data/rdoc/RubyXL/CT_FontReference.html +5 -12
- data/rdoc/RubyXL/CT_GeomGuideList.html +5 -12
- data/rdoc/RubyXL/CT_GlowEffect.html +5 -12
- data/rdoc/RubyXL/CT_GradientFillProperties.html +5 -12
- data/rdoc/RubyXL/CT_GradientStop.html +5 -12
- data/rdoc/RubyXL/CT_GradientStopList.html +5 -12
- data/rdoc/RubyXL/CT_HSLEffect.html +5 -12
- data/rdoc/RubyXL/CT_HslColor.html +5 -12
- data/rdoc/RubyXL/CT_Hyperlink.html +5 -12
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +5 -12
- data/rdoc/RubyXL/CT_LightRig.html +5 -12
- data/rdoc/RubyXL/CT_LineEndProperties.html +5 -12
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +5 -12
- data/rdoc/RubyXL/CT_LineProperties.html +5 -12
- data/rdoc/RubyXL/CT_LineStyleList.html +5 -12
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +5 -12
- data/rdoc/RubyXL/CT_LuminanceEffect.html +5 -12
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +5 -12
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +5 -12
- data/rdoc/RubyXL/CT_Path2D.html +5 -12
- data/rdoc/RubyXL/CT_Path2DArcTo.html +5 -12
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +5 -12
- data/rdoc/RubyXL/CT_Path2DList.html +5 -12
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +5 -12
- data/rdoc/RubyXL/CT_Path2DTo.html +5 -12
- data/rdoc/RubyXL/CT_PathShadeProperties.html +5 -12
- data/rdoc/RubyXL/CT_PatternFillProperties.html +5 -12
- data/rdoc/RubyXL/CT_Point3D.html +5 -12
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +5 -12
- data/rdoc/RubyXL/CT_PresetColor.html +5 -12
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +5 -12
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +5 -12
- data/rdoc/RubyXL/CT_PresetTextShape.html +5 -12
- data/rdoc/RubyXL/CT_ReflectionEffect.html +5 -12
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +5 -12
- data/rdoc/RubyXL/CT_RelativeRect.html +5 -12
- data/rdoc/RubyXL/CT_SRgbColor.html +5 -12
- data/rdoc/RubyXL/CT_ScRgbColor.html +5 -12
- data/rdoc/RubyXL/CT_Scene3D.html +5 -12
- data/rdoc/RubyXL/CT_SchemeColor.html +5 -12
- data/rdoc/RubyXL/CT_Shape3D.html +5 -12
- data/rdoc/RubyXL/CT_ShapeStyle.html +5 -12
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +5 -12
- data/rdoc/RubyXL/CT_SphereCoords.html +5 -12
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +5 -12
- data/rdoc/RubyXL/CT_StyleMatrix.html +5 -12
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +5 -12
- data/rdoc/RubyXL/CT_SupplementalFont.html +5 -12
- data/rdoc/RubyXL/CT_SystemColor.html +5 -12
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +5 -12
- data/rdoc/RubyXL/CT_TextBlipBullet.html +5 -12
- data/rdoc/RubyXL/CT_TextCharBullet.html +5 -12
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +5 -12
- data/rdoc/RubyXL/CT_TextFont.html +5 -12
- data/rdoc/RubyXL/CT_TextListStyle.html +5 -12
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +5 -12
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +5 -12
- data/rdoc/RubyXL/CT_TextSpacing.html +5 -12
- data/rdoc/RubyXL/CT_TextTabStop.html +5 -12
- data/rdoc/RubyXL/CT_TextTabStopList.html +5 -12
- data/rdoc/RubyXL/CT_TileInfoProperties.html +5 -12
- data/rdoc/RubyXL/CT_TintEffect.html +5 -12
- data/rdoc/RubyXL/CT_Transform2D.html +5 -12
- data/rdoc/RubyXL/CT_TransformEffect.html +5 -12
- data/rdoc/RubyXL/CT_Vector3D.html +5 -12
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +5 -12
- data/rdoc/RubyXL/CalculationChain.html +8 -37
- data/rdoc/RubyXL/CalculationChainCell.html +5 -12
- data/rdoc/RubyXL/CalculationProperties.html +5 -12
- data/rdoc/RubyXL/Cell.html +13 -215
- data/rdoc/RubyXL/CellConvenienceMethods.html +6 -455
- data/rdoc/RubyXL/CellExt.html +5 -12
- data/rdoc/RubyXL/CellSmartTag.html +5 -12
- data/rdoc/RubyXL/CellSmartTagProperty.html +5 -12
- data/rdoc/RubyXL/CellSmartTags.html +5 -12
- data/rdoc/RubyXL/CellStyle.html +5 -12
- data/rdoc/RubyXL/CellStyleXFs.html +8 -29
- data/rdoc/RubyXL/CellStyles.html +8 -29
- data/rdoc/RubyXL/CellValue.html +8 -29
- data/rdoc/RubyXL/CellWatch.html +5 -12
- data/rdoc/RubyXL/CellWatches.html +5 -12
- data/rdoc/RubyXL/CellXFs.html +8 -29
- data/rdoc/RubyXL/ChartColorsFile.html +5 -20
- data/rdoc/RubyXL/ChartFile.html +10 -42
- data/rdoc/RubyXL/ChartStyleFile.html +5 -20
- data/rdoc/RubyXL/ChartUserShapesFile.html +5 -20
- data/rdoc/RubyXL/Chartsheet.html +10 -59
- data/rdoc/RubyXL/ChartsheetPageSetup.html +5 -12
- data/rdoc/RubyXL/ChartsheetProperties.html +5 -12
- data/rdoc/RubyXL/ChartsheetProtection.html +5 -12
- data/rdoc/RubyXL/ChartsheetView.html +5 -12
- data/rdoc/RubyXL/ChartsheetViews.html +5 -12
- data/rdoc/RubyXL/Color.html +8 -34
- data/rdoc/RubyXL/ColorConvenienceClasses.html +3 -9
- data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +8 -56
- data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +9 -71
- data/rdoc/RubyXL/ColorConvenienceMethods.html +6 -26
- data/rdoc/RubyXL/ColorFilter.html +5 -12
- data/rdoc/RubyXL/ColorScale.html +5 -12
- data/rdoc/RubyXL/ColorSet.html +5 -12
- data/rdoc/RubyXL/Colors.html +5 -12
- data/rdoc/RubyXL/ColumnRange.html +8 -60
- data/rdoc/RubyXL/ColumnRanges.html +8 -68
- data/rdoc/RubyXL/Comment.html +5 -12
- data/rdoc/RubyXL/CommentList.html +5 -12
- data/rdoc/RubyXL/CommentsFile.html +8 -42
- data/rdoc/RubyXL/ConditionalFormatValue.html +5 -12
- data/rdoc/RubyXL/ConditionalFormatting.html +5 -12
- data/rdoc/RubyXL/ConditionalFormattingRule.html +5 -12
- data/rdoc/RubyXL/Connection.html +5 -12
- data/rdoc/RubyXL/ConnectionTable.html +5 -12
- data/rdoc/RubyXL/ConnectionTables.html +5 -12
- data/rdoc/RubyXL/ConnectionTextField.html +5 -12
- data/rdoc/RubyXL/ConnectionTextFields.html +5 -12
- data/rdoc/RubyXL/Connections.html +8 -37
- data/rdoc/RubyXL/ContentTypeDefault.html +5 -12
- data/rdoc/RubyXL/ContentTypeOverride.html +5 -12
- data/rdoc/RubyXL/ContentTypes.html +8 -50
- data/rdoc/RubyXL/ControlPropertiesFile.html +7 -17
- data/rdoc/RubyXL/CorePropertiesFile.html +8 -146
- data/rdoc/RubyXL/CustomColor.html +5 -12
- data/rdoc/RubyXL/CustomColorList.html +5 -12
- data/rdoc/RubyXL/CustomFilter.html +5 -12
- data/rdoc/RubyXL/CustomFilters.html +5 -12
- data/rdoc/RubyXL/CustomGeometry.html +5 -12
- data/rdoc/RubyXL/CustomProperties.html +5 -12
- data/rdoc/RubyXL/CustomPropertiesFile.html +5 -20
- data/rdoc/RubyXL/CustomProperty.html +5 -12
- data/rdoc/RubyXL/CustomPropertyFile.html +5 -20
- data/rdoc/RubyXL/CustomSheetView.html +5 -12
- data/rdoc/RubyXL/CustomSheetViews.html +5 -12
- data/rdoc/RubyXL/CustomWorkbookView.html +5 -12
- data/rdoc/RubyXL/CustomWorkbookViews.html +5 -12
- data/rdoc/RubyXL/CustomXMLFile.html +5 -17
- data/rdoc/RubyXL/DXF.html +5 -12
- data/rdoc/RubyXL/DXFs.html +5 -12
- data/rdoc/RubyXL/DataBar.html +5 -12
- data/rdoc/RubyXL/DataConsolidate.html +5 -12
- data/rdoc/RubyXL/DataConsolidationReference.html +5 -12
- data/rdoc/RubyXL/DataConsolidationReferences.html +5 -12
- data/rdoc/RubyXL/DataType.html +3 -32
- data/rdoc/RubyXL/DataValidation.html +5 -12
- data/rdoc/RubyXL/DataValidations.html +5 -12
- data/rdoc/RubyXL/DateGroupItem.html +5 -12
- data/rdoc/RubyXL/DefinedName.html +5 -12
- data/rdoc/RubyXL/DefinedNameExt.html +5 -12
- data/rdoc/RubyXL/DefinedNames.html +5 -12
- data/rdoc/RubyXL/DefinedNamesExt.html +5 -12
- data/rdoc/RubyXL/DocumentPropertiesFile.html +8 -55
- data/rdoc/RubyXL/DrawingFile.html +10 -42
- data/rdoc/RubyXL/DynamicFilter.html +5 -12
- data/rdoc/RubyXL/EmbeddedControl.html +5 -12
- data/rdoc/RubyXL/EmbeddedControls.html +5 -12
- data/rdoc/RubyXL/Extension.html +5 -12
- data/rdoc/RubyXL/ExtensionStorageArea.html +5 -12
- data/rdoc/RubyXL/Extents.html +5 -12
- data/rdoc/RubyXL/ExternalBook.html +5 -12
- data/rdoc/RubyXL/ExternalLinksFile.html +11 -43
- data/rdoc/RubyXL/ExternalReference.html +5 -12
- data/rdoc/RubyXL/ExternalReferences.html +5 -12
- data/rdoc/RubyXL/ExtraColorSchemeList.html +5 -12
- data/rdoc/RubyXL/FieldItem.html +5 -12
- data/rdoc/RubyXL/FileRecoveryProperties.html +5 -12
- data/rdoc/RubyXL/FileSharing.html +5 -12
- data/rdoc/RubyXL/FileVersion.html +5 -12
- data/rdoc/RubyXL/Fill.html +8 -29
- data/rdoc/RubyXL/Fills.html +8 -29
- data/rdoc/RubyXL/FilterContainer.html +5 -12
- data/rdoc/RubyXL/FloatNode.html +5 -12
- data/rdoc/RubyXL/FloatValue.html +5 -12
- data/rdoc/RubyXL/Font.html +8 -34
- data/rdoc/RubyXL/FontConvenienceMethods.html +6 -195
- data/rdoc/RubyXL/FontScheme.html +5 -12
- data/rdoc/RubyXL/Fonts.html +8 -29
- data/rdoc/RubyXL/Formula.html +5 -12
- data/rdoc/RubyXL/FunctionGroup.html +5 -12
- data/rdoc/RubyXL/FunctionGroups.html +5 -12
- data/rdoc/RubyXL/GenericStorageObject.html +9 -73
- data/rdoc/RubyXL/GradientFill.html +5 -12
- data/rdoc/RubyXL/HeaderFooterSettings.html +5 -12
- data/rdoc/RubyXL/Hyperlink.html +5 -12
- data/rdoc/RubyXL/HyperlinkRelFile.html +5 -17
- data/rdoc/RubyXL/Hyperlinks.html +5 -12
- data/rdoc/RubyXL/IconFilter.html +5 -12
- data/rdoc/RubyXL/IconSet.html +5 -12
- data/rdoc/RubyXL/IgnoredError.html +5 -12
- data/rdoc/RubyXL/IgnoredErrors.html +5 -12
- data/rdoc/RubyXL/IndexedColors.html +5 -12
- data/rdoc/RubyXL/InputCells.html +5 -12
- data/rdoc/RubyXL/IntegerNode.html +5 -12
- data/rdoc/RubyXL/IntegerValue.html +5 -12
- data/rdoc/RubyXL/LegacyCell.html +6 -26
- data/rdoc/RubyXL/LegacyWorksheet.html +10 -87
- data/rdoc/RubyXL/MRUColors.html +5 -12
- data/rdoc/RubyXL/MacrosFile.html +5 -20
- data/rdoc/RubyXL/MergedCell.html +5 -12
- data/rdoc/RubyXL/MergedCells.html +5 -12
- data/rdoc/RubyXL/NumFmt.html +5 -12
- data/rdoc/RubyXL/NumberFormat.html +8 -29
- data/rdoc/RubyXL/NumberFormats.html +8 -34
- data/rdoc/RubyXL/OLEObject.html +5 -12
- data/rdoc/RubyXL/OLEObjectFile.html +5 -20
- data/rdoc/RubyXL/OLEObjects.html +5 -12
- data/rdoc/RubyXL/OLESize.html +5 -12
- data/rdoc/RubyXL/OOXMLContainerObject.html +19 -114
- data/rdoc/RubyXL/OOXMLIgnored.html +9 -44
- data/rdoc/RubyXL/OOXMLObject.html +7 -17
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +31 -81
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +18 -139
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +10 -167
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +14 -101
- data/rdoc/RubyXL/OdbcOleDbProperties.html +5 -12
- data/rdoc/RubyXL/Offset.html +5 -12
- data/rdoc/RubyXL/OlapProperties.html +5 -12
- data/rdoc/RubyXL/OleItem.html +99 -0
- data/rdoc/RubyXL/OleItems.html +99 -0
- data/rdoc/RubyXL/OleLink.html +99 -0
- data/rdoc/RubyXL/OutlineProperties.html +5 -12
- data/rdoc/RubyXL/PageMargins.html +5 -12
- data/rdoc/RubyXL/PageSetup.html +5 -12
- data/rdoc/RubyXL/PageSetupProperties.html +5 -12
- data/rdoc/RubyXL/Pane.html +5 -12
- data/rdoc/RubyXL/Parser.html +8 -42
- data/rdoc/RubyXL/PatternFill.html +5 -12
- data/rdoc/RubyXL/PhoneticProperties.html +5 -12
- data/rdoc/RubyXL/PhoneticRun.html +5 -12
- data/rdoc/RubyXL/PivotArea.html +5 -12
- data/rdoc/RubyXL/PivotCache.html +5 -12
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +7 -25
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +5 -20
- data/rdoc/RubyXL/PivotCaches.html +5 -12
- data/rdoc/RubyXL/PivotReference.html +5 -12
- data/rdoc/RubyXL/PivotReferences.html +5 -12
- data/rdoc/RubyXL/PivotTableFile.html +7 -25
- data/rdoc/RubyXL/PivotTableSelection.html +5 -12
- data/rdoc/RubyXL/PresetGeometry.html +5 -12
- data/rdoc/RubyXL/PrintOptions.html +5 -12
- data/rdoc/RubyXL/PrinterSettingsFile.html +5 -20
- data/rdoc/RubyXL/ProtectedRange.html +5 -12
- data/rdoc/RubyXL/ProtectedRanges.html +5 -12
- data/rdoc/RubyXL/Protection.html +5 -12
- data/rdoc/RubyXL/QueryParameter.html +5 -12
- data/rdoc/RubyXL/QueryParameters.html +5 -12
- data/rdoc/RubyXL/QueryTable.html +10 -42
- data/rdoc/RubyXL/QueryTableDeletedField.html +5 -12
- data/rdoc/RubyXL/QueryTableDeletedFields.html +5 -12
- data/rdoc/RubyXL/QueryTableField.html +5 -12
- data/rdoc/RubyXL/QueryTableFields.html +5 -12
- data/rdoc/RubyXL/QueryTableRefresh.html +5 -12
- data/rdoc/RubyXL/RID.html +5 -12
- data/rdoc/RubyXL/RawOOXML.html +9 -49
- data/rdoc/RubyXL/Reference.html +9 -190
- data/rdoc/RubyXL/Relationship.html +5 -12
- data/rdoc/RubyXL/RelationshipSupport.html +9 -106
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +6 -26
- data/rdoc/RubyXL/RevisionPointer.html +5 -12
- data/rdoc/RubyXL/RichText.html +8 -29
- data/rdoc/RubyXL/RichTextRun.html +8 -29
- data/rdoc/RubyXL/Row.html +17 -152
- data/rdoc/RubyXL/RowExt.html +5 -12
- data/rdoc/RubyXL/RunProperties.html +5 -12
- data/rdoc/RubyXL/Scenario.html +5 -12
- data/rdoc/RubyXL/Scenarios.html +5 -12
- data/rdoc/RubyXL/Selection.html +8 -29
- data/rdoc/RubyXL/ShapeGuide.html +5 -12
- data/rdoc/RubyXL/ShapeTextRectangle.html +5 -12
- data/rdoc/RubyXL/SharedStringsTable.html +9 -119
- data/rdoc/RubyXL/Sheet.html +5 -12
- data/rdoc/RubyXL/SheetCalculationProperties.html +5 -12
- data/rdoc/RubyXL/SheetData.html +10 -44
- data/rdoc/RubyXL/SheetDataExt.html +5 -12
- data/rdoc/RubyXL/SheetDataSet.html +5 -12
- data/rdoc/RubyXL/SheetName.html +5 -12
- data/rdoc/RubyXL/SheetNames.html +5 -12
- data/rdoc/RubyXL/Sheets.html +5 -12
- data/rdoc/RubyXL/SlicerCacheFile.html +5 -20
- data/rdoc/RubyXL/SlicerFile.html +5 -20
- data/rdoc/RubyXL/SmartTagProperties.html +5 -12
- data/rdoc/RubyXL/SmartTagType.html +5 -12
- data/rdoc/RubyXL/SmartTagTypes.html +5 -12
- data/rdoc/RubyXL/SmartTags.html +5 -12
- data/rdoc/RubyXL/SortCondition.html +5 -12
- data/rdoc/RubyXL/SortState.html +5 -12
- data/rdoc/RubyXL/Sqref.html +9 -44
- data/rdoc/RubyXL/Stop.html +5 -12
- data/rdoc/RubyXL/StringNode.html +5 -12
- data/rdoc/RubyXL/StringNodeW3C.html +9 -44
- data/rdoc/RubyXL/StringValue.html +5 -12
- data/rdoc/RubyXL/Stylesheet.html +9 -92
- data/rdoc/RubyXL/TableFile.html +5 -20
- data/rdoc/RubyXL/TableParts.html +5 -12
- data/rdoc/RubyXL/TableStyle.html +5 -12
- data/rdoc/RubyXL/TableStyles.html +5 -12
- data/rdoc/RubyXL/Text.html +8 -50
- data/rdoc/RubyXL/TextImportSettings.html +5 -12
- data/rdoc/RubyXL/Theme.html +9 -65
- data/rdoc/RubyXL/ThemeElements.html +5 -12
- data/rdoc/RubyXL/ThumbnailFile.html +5 -20
- data/rdoc/RubyXL/Top10.html +5 -12
- data/rdoc/RubyXL/VMLDrawingFile.html +7 -25
- data/rdoc/RubyXL/Variant.html +5 -12
- data/rdoc/RubyXL/Vector.html +8 -29
- data/rdoc/RubyXL/VectorValue.html +5 -12
- data/rdoc/RubyXL/VisualProperties.html +5 -12
- data/rdoc/RubyXL/WebPublishObject.html +5 -12
- data/rdoc/RubyXL/WebPublishObjects.html +5 -12
- data/rdoc/RubyXL/WebPublishingItem.html +5 -12
- data/rdoc/RubyXL/WebPublishingItems.html +5 -12
- data/rdoc/RubyXL/WebPublishingProperties.html +5 -12
- data/rdoc/RubyXL/WebQueryProperties.html +5 -12
- data/rdoc/RubyXL/Workbook.html +40 -460
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +6 -221
- data/rdoc/RubyXL/WorkbookProperties.html +5 -12
- data/rdoc/RubyXL/WorkbookProtection.html +5 -12
- data/rdoc/RubyXL/WorkbookRoot.html +11 -99
- data/rdoc/RubyXL/WorkbookView.html +5 -12
- data/rdoc/RubyXL/WorkbookViews.html +5 -12
- data/rdoc/RubyXL/Worksheet.html +11 -130
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +166 -985
- data/rdoc/RubyXL/WorksheetDimensions.html +5 -12
- data/rdoc/RubyXL/WorksheetFormatProperties.html +5 -12
- data/rdoc/RubyXL/WorksheetProperties.html +5 -12
- data/rdoc/RubyXL/WorksheetProtection.html +5 -12
- data/rdoc/RubyXL/WorksheetView.html +5 -12
- data/rdoc/RubyXL/WorksheetViews.html +5 -12
- data/rdoc/RubyXL/XF.html +5 -12
- data/rdoc/created.rid +19 -19
- data/rdoc/css/rdoc.css +21 -1
- data/rdoc/index.html +8 -388
- 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 +23 -5
- data/rubyXL.gemspec +21 -28
- data/spec/lib/cell_spec.rb +27 -2
- data/spec/lib/worksheet_spec.rb +301 -0
- metadata +7 -5
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>class RubyXL::WebPublishingItems - rubyXL 3.4.
|
|
7
|
+
<title>class RubyXL::WebPublishingItems - rubyXL 3.4.18</title>
|
|
8
8
|
|
|
9
9
|
<script type="text/javascript">
|
|
10
10
|
var rdoc_rel_prefix = "../";
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
<link href="../css/rdoc.css" rel="stylesheet">
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
|
|
25
24
|
<body id="top" role="document" class="class">
|
|
26
25
|
<nav role="navigation">
|
|
27
26
|
<div id="project-navigation">
|
|
@@ -58,12 +57,11 @@
|
|
|
58
57
|
|
|
59
58
|
<div id="class-metadata">
|
|
60
59
|
|
|
61
|
-
|
|
60
|
+
|
|
61
|
+
<div id="parent-class-section" class="nav-section">
|
|
62
62
|
<h3>Parent</h3>
|
|
63
63
|
|
|
64
|
-
|
|
65
64
|
<p class="link"><a href="OOXMLContainerObject.html">RubyXL::OOXMLContainerObject</a>
|
|
66
|
-
|
|
67
65
|
</div>
|
|
68
66
|
|
|
69
67
|
|
|
@@ -83,24 +81,19 @@
|
|
|
83
81
|
|
|
84
82
|
</section>
|
|
85
83
|
|
|
86
|
-
|
|
87
84
|
<section id="5Buntitled-5D" class="documentation-section">
|
|
88
|
-
|
|
89
85
|
|
|
90
|
-
|
|
91
86
|
|
|
92
|
-
|
|
93
87
|
|
|
94
|
-
|
|
95
88
|
|
|
96
|
-
|
|
89
|
+
|
|
97
90
|
</section>
|
|
98
91
|
</main>
|
|
99
92
|
|
|
100
93
|
|
|
101
94
|
<footer id="validator-badges" role="contentinfo">
|
|
102
95
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
103
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.
|
|
96
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
|
|
104
97
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
105
98
|
</footer>
|
|
106
99
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>class RubyXL::WebPublishingProperties - rubyXL 3.4.
|
|
7
|
+
<title>class RubyXL::WebPublishingProperties - rubyXL 3.4.18</title>
|
|
8
8
|
|
|
9
9
|
<script type="text/javascript">
|
|
10
10
|
var rdoc_rel_prefix = "../";
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
<link href="../css/rdoc.css" rel="stylesheet">
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
|
|
25
24
|
<body id="top" role="document" class="class">
|
|
26
25
|
<nav role="navigation">
|
|
27
26
|
<div id="project-navigation">
|
|
@@ -58,12 +57,11 @@
|
|
|
58
57
|
|
|
59
58
|
<div id="class-metadata">
|
|
60
59
|
|
|
61
|
-
|
|
60
|
+
|
|
61
|
+
<div id="parent-class-section" class="nav-section">
|
|
62
62
|
<h3>Parent</h3>
|
|
63
63
|
|
|
64
|
-
|
|
65
64
|
<p class="link"><a href="OOXMLObject.html">RubyXL::OOXMLObject</a>
|
|
66
|
-
|
|
67
65
|
</div>
|
|
68
66
|
|
|
69
67
|
|
|
@@ -83,24 +81,19 @@
|
|
|
83
81
|
|
|
84
82
|
</section>
|
|
85
83
|
|
|
86
|
-
|
|
87
84
|
<section id="5Buntitled-5D" class="documentation-section">
|
|
88
|
-
|
|
89
85
|
|
|
90
|
-
|
|
91
86
|
|
|
92
|
-
|
|
93
87
|
|
|
94
|
-
|
|
95
88
|
|
|
96
|
-
|
|
89
|
+
|
|
97
90
|
</section>
|
|
98
91
|
</main>
|
|
99
92
|
|
|
100
93
|
|
|
101
94
|
<footer id="validator-badges" role="contentinfo">
|
|
102
95
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
103
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.
|
|
96
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
|
|
104
97
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
105
98
|
</footer>
|
|
106
99
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>class RubyXL::WebQueryProperties - rubyXL 3.4.
|
|
7
|
+
<title>class RubyXL::WebQueryProperties - rubyXL 3.4.18</title>
|
|
8
8
|
|
|
9
9
|
<script type="text/javascript">
|
|
10
10
|
var rdoc_rel_prefix = "../";
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
<link href="../css/rdoc.css" rel="stylesheet">
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
|
|
25
24
|
<body id="top" role="document" class="class">
|
|
26
25
|
<nav role="navigation">
|
|
27
26
|
<div id="project-navigation">
|
|
@@ -58,12 +57,11 @@
|
|
|
58
57
|
|
|
59
58
|
<div id="class-metadata">
|
|
60
59
|
|
|
61
|
-
|
|
60
|
+
|
|
61
|
+
<div id="parent-class-section" class="nav-section">
|
|
62
62
|
<h3>Parent</h3>
|
|
63
63
|
|
|
64
|
-
|
|
65
64
|
<p class="link">OOXMLObject
|
|
66
|
-
|
|
67
65
|
</div>
|
|
68
66
|
|
|
69
67
|
|
|
@@ -83,24 +81,19 @@
|
|
|
83
81
|
|
|
84
82
|
</section>
|
|
85
83
|
|
|
86
|
-
|
|
87
84
|
<section id="5Buntitled-5D" class="documentation-section">
|
|
88
|
-
|
|
89
85
|
|
|
90
|
-
|
|
91
86
|
|
|
92
|
-
|
|
93
87
|
|
|
94
|
-
|
|
95
88
|
|
|
96
|
-
|
|
89
|
+
|
|
97
90
|
</section>
|
|
98
91
|
</main>
|
|
99
92
|
|
|
100
93
|
|
|
101
94
|
<footer id="validator-badges" role="contentinfo">
|
|
102
95
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
103
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.
|
|
96
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
|
|
104
97
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
105
98
|
</footer>
|
|
106
99
|
|
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::Workbook - rubyXL 3.4.
|
|
7
|
+
<title>class RubyXL::Workbook - rubyXL 3.4.18</title>
|
|
8
8
|
|
|
9
9
|
<script type="text/javascript">
|
|
10
10
|
var rdoc_rel_prefix = "../";
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
<link href="../css/rdoc.css" rel="stylesheet">
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
|
|
25
24
|
<body id="top" role="document" class="class">
|
|
26
25
|
<nav role="navigation">
|
|
27
26
|
<div id="project-navigation">
|
|
@@ -58,93 +57,58 @@
|
|
|
58
57
|
|
|
59
58
|
<div id="class-metadata">
|
|
60
59
|
|
|
61
|
-
|
|
60
|
+
|
|
61
|
+
<div id="parent-class-section" class="nav-section">
|
|
62
62
|
<h3>Parent</h3>
|
|
63
63
|
|
|
64
|
-
|
|
65
64
|
<p class="link"><a href="OOXMLTopLevelObject.html">RubyXL::OOXMLTopLevelObject</a>
|
|
66
|
-
|
|
67
65
|
</div>
|
|
68
66
|
|
|
69
|
-
|
|
67
|
+
|
|
68
|
+
<div id="includes-section" class="nav-section">
|
|
70
69
|
<h3>Included Modules</h3>
|
|
71
70
|
|
|
72
71
|
<ul class="link-list">
|
|
73
|
-
|
|
74
|
-
|
|
75
72
|
<li><a class="include" href="RelationshipSupport.html">RubyXL::RelationshipSupport</a>
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
73
|
<li><span class="include">Enumerable</span>
|
|
80
|
-
|
|
81
|
-
|
|
82
74
|
</ul>
|
|
83
75
|
</div>
|
|
84
76
|
|
|
85
77
|
|
|
86
|
-
|
|
78
|
+
|
|
79
|
+
<!-- Method Quickref -->
|
|
87
80
|
<div id="method-list-section" class="nav-section">
|
|
88
81
|
<h3>Methods</h3>
|
|
89
82
|
|
|
90
83
|
<ul class="link-list" role="directory">
|
|
91
|
-
|
|
92
84
|
<li class="calls-super" ><a href="#method-c-new">::new</a>
|
|
93
|
-
|
|
94
85
|
<li ><a href="#method-i-5B-5D">#[]</a>
|
|
95
|
-
|
|
96
86
|
<li ><a href="#method-i-add_worksheet">#add_worksheet</a>
|
|
97
|
-
|
|
98
87
|
<li ><a href="#method-i-application">#application</a>
|
|
99
|
-
|
|
100
88
|
<li ><a href="#method-i-application-3D">#application=</a>
|
|
101
|
-
|
|
102
89
|
<li ><a href="#method-i-appversion">#appversion</a>
|
|
103
|
-
|
|
104
90
|
<li ><a href="#method-i-appversion-3D">#appversion=</a>
|
|
105
|
-
|
|
106
91
|
<li ><a href="#method-i-before_write_xml">#before_write_xml</a>
|
|
107
|
-
|
|
108
92
|
<li ><a href="#method-i-company">#company</a>
|
|
109
|
-
|
|
110
93
|
<li ><a href="#method-i-company-3D">#company=</a>
|
|
111
|
-
|
|
112
94
|
<li ><a href="#method-i-content_type">#content_type</a>
|
|
113
|
-
|
|
114
95
|
<li ><a href="#method-i-created_at">#created_at</a>
|
|
115
|
-
|
|
116
96
|
<li ><a href="#method-i-created_at-3D">#created_at=</a>
|
|
117
|
-
|
|
118
97
|
<li ><a href="#method-i-creator">#creator</a>
|
|
119
|
-
|
|
120
98
|
<li ><a href="#method-i-creator-3D">#creator=</a>
|
|
121
|
-
|
|
122
99
|
<li ><a href="#method-i-date1904">#date1904</a>
|
|
123
|
-
|
|
124
100
|
<li ><a href="#method-i-date1904-3D">#date1904=</a>
|
|
125
|
-
|
|
126
101
|
<li ><a href="#method-i-date_to_num">#date_to_num</a>
|
|
127
|
-
|
|
128
102
|
<li ><a href="#method-i-modified_at">#modified_at</a>
|
|
129
|
-
|
|
130
103
|
<li ><a href="#method-i-modified_at-3D">#modified_at=</a>
|
|
131
|
-
|
|
132
104
|
<li ><a href="#method-i-modifier">#modifier</a>
|
|
133
|
-
|
|
134
105
|
<li ><a href="#method-i-modifier-3D">#modifier=</a>
|
|
135
|
-
|
|
136
106
|
<li ><a href="#method-i-num_to_date">#num_to_date</a>
|
|
137
|
-
|
|
138
107
|
<li ><a href="#method-i-related_objects">#related_objects</a>
|
|
139
|
-
|
|
140
108
|
<li ><a href="#method-i-save">#save</a>
|
|
141
|
-
|
|
142
109
|
<li ><a href="#method-i-stream">#stream</a>
|
|
143
|
-
|
|
144
110
|
<li ><a href="#method-i-write">#write</a>
|
|
145
|
-
|
|
146
111
|
<li ><a href="#method-i-xlsx_path">#xlsx_path</a>
|
|
147
|
-
|
|
148
112
|
</ul>
|
|
149
113
|
</div>
|
|
150
114
|
|
|
@@ -162,90 +126,46 @@
|
|
|
162
126
|
|
|
163
127
|
</section>
|
|
164
128
|
|
|
165
|
-
|
|
166
129
|
<section id="5Buntitled-5D" class="documentation-section">
|
|
167
|
-
|
|
168
130
|
|
|
169
|
-
|
|
170
131
|
|
|
171
|
-
|
|
172
132
|
<section class="constants-list">
|
|
173
133
|
<header>
|
|
174
134
|
<h3>Constants</h3>
|
|
175
135
|
</header>
|
|
176
136
|
<dl>
|
|
177
|
-
|
|
178
137
|
<dt id="APPLICATION">APPLICATION
|
|
179
|
-
|
|
180
138
|
<dd>
|
|
181
|
-
|
|
182
|
-
|
|
183
139
|
<dt id="APPVERSION">APPVERSION
|
|
184
|
-
|
|
185
140
|
<dd>
|
|
186
|
-
|
|
187
|
-
|
|
188
141
|
<dt id="CONTENT_TYPE">CONTENT_TYPE
|
|
189
|
-
|
|
190
142
|
<dd>
|
|
191
|
-
|
|
192
|
-
|
|
193
143
|
<dt id="CONTENT_TYPE_TEMPLATE">CONTENT_TYPE_TEMPLATE
|
|
194
|
-
|
|
195
144
|
<dd>
|
|
196
|
-
|
|
197
|
-
|
|
198
145
|
<dt id="CONTENT_TYPE_TEMPLATE_WITH_MACROS">CONTENT_TYPE_TEMPLATE_WITH_MACROS
|
|
199
|
-
|
|
200
146
|
<dd>
|
|
201
|
-
|
|
202
|
-
|
|
203
147
|
<dt id="CONTENT_TYPE_WITH_MACROS">CONTENT_TYPE_WITH_MACROS
|
|
204
|
-
|
|
205
148
|
<dd>
|
|
206
|
-
|
|
207
|
-
|
|
208
149
|
<dt id="DATE1899">DATE1899
|
|
209
|
-
|
|
210
150
|
<dd><p>Subtracting one day to accomodate for erroneous 1900 leap year compatibility only for 1900 based dates</p>
|
|
211
|
-
|
|
212
|
-
|
|
213
151
|
<dt id="DATE1904">DATE1904
|
|
214
|
-
|
|
215
152
|
<dd>
|
|
216
|
-
|
|
217
|
-
|
|
218
153
|
<dt id="MARCH_1_1900">MARCH_1_1900
|
|
219
|
-
|
|
220
154
|
<dd>
|
|
221
|
-
|
|
222
|
-
|
|
223
155
|
<dt id="REL_TYPE">REL_TYPE
|
|
224
|
-
|
|
225
156
|
<dd>
|
|
226
|
-
|
|
227
|
-
|
|
228
157
|
<dt id="SHEET_NAME_FORBIDDEN_CHARS">SHEET_NAME_FORBIDDEN_CHARS
|
|
229
|
-
|
|
230
158
|
<dd><p><a href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-use-in-worksheet-names">www.accountingweb.com/technology/excel/seven-characters-you-cant-use-in-worksheet-names</a></p>
|
|
231
|
-
|
|
232
|
-
|
|
233
159
|
<dt id="SHEET_NAME_TEMPLATE">SHEET_NAME_TEMPLATE
|
|
234
|
-
|
|
235
160
|
<dd>
|
|
236
|
-
|
|
237
|
-
|
|
238
161
|
</dl>
|
|
239
162
|
</section>
|
|
240
|
-
|
|
241
163
|
|
|
242
|
-
|
|
243
164
|
<section class="attribute-method-details" class="method-section">
|
|
244
165
|
<header>
|
|
245
166
|
<h3>Attributes</h3>
|
|
246
167
|
</header>
|
|
247
168
|
|
|
248
|
-
|
|
249
169
|
<div id="attribute-i-is_template" class="method-detail">
|
|
250
170
|
<div class="method-heading attribute-method-heading">
|
|
251
171
|
<span class="method-name">is_template</span><span
|
|
@@ -254,11 +174,8 @@
|
|
|
254
174
|
|
|
255
175
|
<div class="method-description">
|
|
256
176
|
|
|
257
|
-
|
|
258
|
-
|
|
259
177
|
</div>
|
|
260
178
|
</div>
|
|
261
|
-
|
|
262
179
|
<div id="attribute-i-worksheets" class="method-detail">
|
|
263
180
|
<div class="method-heading attribute-method-heading">
|
|
264
181
|
<span class="method-name">worksheets</span><span
|
|
@@ -267,46 +184,32 @@
|
|
|
267
184
|
|
|
268
185
|
<div class="method-description">
|
|
269
186
|
|
|
270
|
-
|
|
271
|
-
|
|
272
187
|
</div>
|
|
273
188
|
</div>
|
|
274
|
-
|
|
275
189
|
</section>
|
|
276
|
-
|
|
277
190
|
|
|
278
|
-
|
|
191
|
+
|
|
279
192
|
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
|
280
193
|
<header>
|
|
281
194
|
<h3>Public Class Methods</h3>
|
|
282
195
|
</header>
|
|
283
196
|
|
|
284
|
-
|
|
285
197
|
<div id="method-c-new" class="method-detail ">
|
|
286
|
-
|
|
287
198
|
<div class="method-heading">
|
|
288
199
|
<span class="method-name">new</span><span
|
|
289
200
|
class="method-args">(worksheets = [], src_file_path = nil, creator = nil, modifier = nil, created_at = nil, company = '', application = APPLICATION, appversion = APPVERSION, date1904 = 0, is_template = false)</span>
|
|
290
|
-
|
|
291
201
|
<span class="method-click-advice">click to toggle source</span>
|
|
292
|
-
|
|
293
202
|
</div>
|
|
294
|
-
|
|
295
203
|
|
|
296
204
|
<div class="method-description">
|
|
297
205
|
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
206
|
<div class="method-calls-super">
|
|
302
207
|
Calls superclass method
|
|
303
208
|
<a href="OOXMLObjectInstanceMethods.html#method-c-new"><code>RubyXL::OOXMLObjectInstanceMethods::new</code></a>
|
|
304
209
|
</div>
|
|
305
|
-
|
|
306
210
|
|
|
307
|
-
|
|
308
211
|
<div class="method-source-code" id="new-source">
|
|
309
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
212
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 446</span>
|
|
310
213
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">worksheets</span> = [], <span class="ruby-identifier">src_file_path</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>,
|
|
311
214
|
<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>,
|
|
312
215
|
<span class="ruby-identifier">is_template</span> = <span class="ruby-keyword">false</span>)
|
|
@@ -337,43 +240,30 @@
|
|
|
337
240
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">is_template</span> = <span class="ruby-identifier">is_template</span>
|
|
338
241
|
<span class="ruby-keyword">end</span></pre>
|
|
339
242
|
</div>
|
|
340
|
-
|
|
341
243
|
</div>
|
|
342
244
|
|
|
343
|
-
|
|
344
245
|
|
|
345
|
-
|
|
346
246
|
</div>
|
|
347
247
|
|
|
348
|
-
|
|
349
248
|
</section>
|
|
350
|
-
|
|
249
|
+
|
|
351
250
|
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
|
352
251
|
<header>
|
|
353
252
|
<h3>Public Instance Methods</h3>
|
|
354
253
|
</header>
|
|
355
254
|
|
|
356
|
-
|
|
357
255
|
<div id="method-i-5B-5D" class="method-detail ">
|
|
358
|
-
|
|
359
256
|
<div class="method-heading">
|
|
360
257
|
<span class="method-name">[]</span><span
|
|
361
258
|
class="method-args">(ind)</span>
|
|
362
|
-
|
|
363
259
|
<span class="method-click-advice">click to toggle source</span>
|
|
364
|
-
|
|
365
260
|
</div>
|
|
366
|
-
|
|
367
261
|
|
|
368
262
|
<div class="method-description">
|
|
369
|
-
|
|
370
263
|
<p>Finds worksheet by its name or numerical index</p>
|
|
371
|
-
|
|
372
|
-
|
|
373
264
|
|
|
374
|
-
|
|
375
265
|
<div class="method-source-code" id="5B-5D-source">
|
|
376
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
266
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 479</span>
|
|
377
267
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">[]</span>(<span class="ruby-identifier">ind</span>)
|
|
378
268
|
<span class="ruby-keyword">case</span> <span class="ruby-identifier">ind</span>
|
|
379
269
|
<span class="ruby-keyword">when</span> <span class="ruby-constant">Integer</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">worksheets</span>[<span class="ruby-identifier">ind</span>]
|
|
@@ -381,37 +271,25 @@
|
|
|
381
271
|
<span class="ruby-keyword">end</span>
|
|
382
272
|
<span class="ruby-keyword">end</span></pre>
|
|
383
273
|
</div>
|
|
384
|
-
|
|
385
274
|
</div>
|
|
386
275
|
|
|
387
|
-
|
|
388
276
|
|
|
389
|
-
|
|
390
277
|
</div>
|
|
391
278
|
|
|
392
|
-
|
|
393
279
|
<div id="method-i-add_worksheet" class="method-detail ">
|
|
394
|
-
|
|
395
280
|
<div class="method-heading">
|
|
396
281
|
<span class="method-name">add_worksheet</span><span
|
|
397
282
|
class="method-args">(name = nil)</span>
|
|
398
|
-
|
|
399
283
|
<span class="method-click-advice">click to toggle source</span>
|
|
400
|
-
|
|
401
284
|
</div>
|
|
402
|
-
|
|
403
285
|
|
|
404
286
|
<div class="method-description">
|
|
405
|
-
|
|
406
287
|
<p>Create new simple worksheet and add it to the workbook worksheets</p>
|
|
407
288
|
|
|
408
289
|
<p>@param [String] The name for the new worksheet</p>
|
|
409
|
-
|
|
410
|
-
|
|
411
290
|
|
|
412
|
-
|
|
413
291
|
<div class="method-source-code" id="add_worksheet-source">
|
|
414
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
292
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 489</span>
|
|
415
293
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">add_worksheet</span>(<span class="ruby-identifier">name</span> = <span class="ruby-keyword">nil</span>)
|
|
416
294
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">name</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-keyword">then</span>
|
|
417
295
|
<span class="ruby-identifier">n</span> = <span class="ruby-value">0</span>
|
|
@@ -426,167 +304,107 @@
|
|
|
426
304
|
<span class="ruby-identifier">new_worksheet</span>
|
|
427
305
|
<span class="ruby-keyword">end</span></pre>
|
|
428
306
|
</div>
|
|
429
|
-
|
|
430
307
|
</div>
|
|
431
308
|
|
|
432
|
-
|
|
433
309
|
|
|
434
|
-
|
|
435
310
|
</div>
|
|
436
311
|
|
|
437
|
-
|
|
438
312
|
<div id="method-i-application" class="method-detail ">
|
|
439
|
-
|
|
440
313
|
<div class="method-heading">
|
|
441
314
|
<span class="method-name">application</span><span
|
|
442
315
|
class="method-args">()</span>
|
|
443
|
-
|
|
444
316
|
<span class="method-click-advice">click to toggle source</span>
|
|
445
|
-
|
|
446
317
|
</div>
|
|
447
|
-
|
|
448
318
|
|
|
449
319
|
<div class="method-description">
|
|
450
320
|
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
321
|
|
|
455
|
-
|
|
456
322
|
<div class="method-source-code" id="application-source">
|
|
457
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
323
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 528</span>
|
|
458
324
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">application</span>
|
|
459
325
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">application</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">application</span>.<span class="ruby-identifier">value</span>
|
|
460
326
|
<span class="ruby-keyword">end</span></pre>
|
|
461
327
|
</div>
|
|
462
|
-
|
|
463
328
|
</div>
|
|
464
329
|
|
|
465
|
-
|
|
466
330
|
|
|
467
|
-
|
|
468
331
|
</div>
|
|
469
332
|
|
|
470
|
-
|
|
471
333
|
<div id="method-i-application-3D" class="method-detail ">
|
|
472
|
-
|
|
473
334
|
<div class="method-heading">
|
|
474
335
|
<span class="method-name">application=</span><span
|
|
475
336
|
class="method-args">(v)</span>
|
|
476
|
-
|
|
477
337
|
<span class="method-click-advice">click to toggle source</span>
|
|
478
|
-
|
|
479
338
|
</div>
|
|
480
|
-
|
|
481
339
|
|
|
482
340
|
<div class="method-description">
|
|
483
341
|
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
342
|
|
|
488
|
-
|
|
489
343
|
<div class="method-source-code" id="application-3D-source">
|
|
490
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
344
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 532</span>
|
|
491
345
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">application=</span>(<span class="ruby-identifier">v</span>)
|
|
492
346
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">application</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">StringNode</span>.<span class="ruby-identifier">new</span>
|
|
493
347
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">application</span>.<span class="ruby-identifier">value</span> = <span class="ruby-identifier">v</span>
|
|
494
348
|
<span class="ruby-keyword">end</span></pre>
|
|
495
349
|
</div>
|
|
496
|
-
|
|
497
350
|
</div>
|
|
498
351
|
|
|
499
|
-
|
|
500
352
|
|
|
501
|
-
|
|
502
353
|
</div>
|
|
503
354
|
|
|
504
|
-
|
|
505
355
|
<div id="method-i-appversion" class="method-detail ">
|
|
506
|
-
|
|
507
356
|
<div class="method-heading">
|
|
508
357
|
<span class="method-name">appversion</span><span
|
|
509
358
|
class="method-args">()</span>
|
|
510
|
-
|
|
511
359
|
<span class="method-click-advice">click to toggle source</span>
|
|
512
|
-
|
|
513
360
|
</div>
|
|
514
|
-
|
|
515
361
|
|
|
516
362
|
<div class="method-description">
|
|
517
363
|
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
364
|
|
|
522
|
-
|
|
523
365
|
<div class="method-source-code" id="appversion-source">
|
|
524
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
366
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 537</span>
|
|
525
367
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">appversion</span>
|
|
526
368
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">app_version</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">app_version</span>.<span class="ruby-identifier">value</span>
|
|
527
369
|
<span class="ruby-keyword">end</span></pre>
|
|
528
370
|
</div>
|
|
529
|
-
|
|
530
371
|
</div>
|
|
531
372
|
|
|
532
|
-
|
|
533
373
|
|
|
534
|
-
|
|
535
374
|
</div>
|
|
536
375
|
|
|
537
|
-
|
|
538
376
|
<div id="method-i-appversion-3D" class="method-detail ">
|
|
539
|
-
|
|
540
377
|
<div class="method-heading">
|
|
541
378
|
<span class="method-name">appversion=</span><span
|
|
542
379
|
class="method-args">(v)</span>
|
|
543
|
-
|
|
544
380
|
<span class="method-click-advice">click to toggle source</span>
|
|
545
|
-
|
|
546
381
|
</div>
|
|
547
|
-
|
|
548
382
|
|
|
549
383
|
<div class="method-description">
|
|
550
384
|
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
385
|
|
|
555
|
-
|
|
556
386
|
<div class="method-source-code" id="appversion-3D-source">
|
|
557
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
387
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 541</span>
|
|
558
388
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">appversion=</span>(<span class="ruby-identifier">v</span>)
|
|
559
389
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">app_version</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">StringNode</span>.<span class="ruby-identifier">new</span>
|
|
560
390
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">app_version</span>.<span class="ruby-identifier">value</span> = <span class="ruby-identifier">v</span>
|
|
561
391
|
<span class="ruby-keyword">end</span></pre>
|
|
562
392
|
</div>
|
|
563
|
-
|
|
564
393
|
</div>
|
|
565
394
|
|
|
566
|
-
|
|
567
395
|
|
|
568
|
-
|
|
569
396
|
</div>
|
|
570
397
|
|
|
571
|
-
|
|
572
398
|
<div id="method-i-before_write_xml" class="method-detail ">
|
|
573
|
-
|
|
574
399
|
<div class="method-heading">
|
|
575
400
|
<span class="method-name">before_write_xml</span><span
|
|
576
401
|
class="method-args">()</span>
|
|
577
|
-
|
|
578
402
|
<span class="method-click-advice">click to toggle source</span>
|
|
579
|
-
|
|
580
403
|
</div>
|
|
581
|
-
|
|
582
404
|
|
|
583
405
|
<div class="method-description">
|
|
584
406
|
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
407
|
|
|
589
|
-
|
|
590
408
|
<div class="method-source-code" id="before_write_xml-source">
|
|
591
409
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 369</span>
|
|
592
410
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">before_write_xml</span>
|
|
@@ -608,100 +426,64 @@
|
|
|
608
426
|
<span class="ruby-keyword">true</span>
|
|
609
427
|
<span class="ruby-keyword">end</span></pre>
|
|
610
428
|
</div>
|
|
611
|
-
|
|
612
429
|
</div>
|
|
613
430
|
|
|
614
|
-
|
|
615
431
|
|
|
616
|
-
|
|
617
432
|
</div>
|
|
618
433
|
|
|
619
|
-
|
|
620
434
|
<div id="method-i-company" class="method-detail ">
|
|
621
|
-
|
|
622
435
|
<div class="method-heading">
|
|
623
436
|
<span class="method-name">company</span><span
|
|
624
437
|
class="method-args">()</span>
|
|
625
|
-
|
|
626
438
|
<span class="method-click-advice">click to toggle source</span>
|
|
627
|
-
|
|
628
439
|
</div>
|
|
629
|
-
|
|
630
440
|
|
|
631
441
|
<div class="method-description">
|
|
632
442
|
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
443
|
|
|
637
|
-
|
|
638
444
|
<div class="method-source-code" id="company-source">
|
|
639
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
445
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 519</span>
|
|
640
446
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">company</span>
|
|
641
447
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">company</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">company</span>.<span class="ruby-identifier">value</span>
|
|
642
448
|
<span class="ruby-keyword">end</span></pre>
|
|
643
449
|
</div>
|
|
644
|
-
|
|
645
450
|
</div>
|
|
646
451
|
|
|
647
|
-
|
|
648
452
|
|
|
649
|
-
|
|
650
453
|
</div>
|
|
651
454
|
|
|
652
|
-
|
|
653
455
|
<div id="method-i-company-3D" class="method-detail ">
|
|
654
|
-
|
|
655
456
|
<div class="method-heading">
|
|
656
457
|
<span class="method-name">company=</span><span
|
|
657
458
|
class="method-args">(v)</span>
|
|
658
|
-
|
|
659
459
|
<span class="method-click-advice">click to toggle source</span>
|
|
660
|
-
|
|
661
460
|
</div>
|
|
662
|
-
|
|
663
461
|
|
|
664
462
|
<div class="method-description">
|
|
665
463
|
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
464
|
|
|
670
|
-
|
|
671
465
|
<div class="method-source-code" id="company-3D-source">
|
|
672
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
466
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 523</span>
|
|
673
467
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">company=</span>(<span class="ruby-identifier">v</span>)
|
|
674
468
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">company</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">StringNode</span>.<span class="ruby-identifier">new</span>
|
|
675
469
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">company</span>.<span class="ruby-identifier">value</span> = <span class="ruby-identifier">v</span>
|
|
676
470
|
<span class="ruby-keyword">end</span></pre>
|
|
677
471
|
</div>
|
|
678
|
-
|
|
679
472
|
</div>
|
|
680
473
|
|
|
681
|
-
|
|
682
474
|
|
|
683
|
-
|
|
684
475
|
</div>
|
|
685
476
|
|
|
686
|
-
|
|
687
477
|
<div id="method-i-content_type" class="method-detail ">
|
|
688
|
-
|
|
689
478
|
<div class="method-heading">
|
|
690
479
|
<span class="method-name">content_type</span><span
|
|
691
480
|
class="method-args">()</span>
|
|
692
|
-
|
|
693
481
|
<span class="method-click-advice">click to toggle source</span>
|
|
694
|
-
|
|
695
482
|
</div>
|
|
696
|
-
|
|
697
483
|
|
|
698
484
|
<div class="method-description">
|
|
699
485
|
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
486
|
|
|
704
|
-
|
|
705
487
|
<div class="method-source-code" id="content_type-source">
|
|
706
488
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 313</span>
|
|
707
489
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">content_type</span>
|
|
@@ -711,468 +493,306 @@
|
|
|
711
493
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">const_get</span>(<span class="ruby-identifier">content_type_name</span>)
|
|
712
494
|
<span class="ruby-keyword">end</span></pre>
|
|
713
495
|
</div>
|
|
714
|
-
|
|
715
496
|
</div>
|
|
716
497
|
|
|
717
|
-
|
|
718
498
|
|
|
719
|
-
|
|
720
499
|
</div>
|
|
721
500
|
|
|
722
|
-
|
|
723
501
|
<div id="method-i-created_at" class="method-detail ">
|
|
724
|
-
|
|
725
502
|
<div class="method-heading">
|
|
726
503
|
<span class="method-name">created_at</span><span
|
|
727
504
|
class="method-args">()</span>
|
|
728
|
-
|
|
729
505
|
<span class="method-click-advice">click to toggle source</span>
|
|
730
|
-
|
|
731
506
|
</div>
|
|
732
|
-
|
|
733
507
|
|
|
734
508
|
<div class="method-description">
|
|
735
509
|
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
510
|
|
|
740
|
-
|
|
741
511
|
<div class="method-source-code" id="created_at-source">
|
|
742
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
512
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 503</span>
|
|
743
513
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">created_at</span>
|
|
744
514
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">created_at</span>
|
|
745
515
|
<span class="ruby-keyword">end</span></pre>
|
|
746
516
|
</div>
|
|
747
|
-
|
|
748
517
|
</div>
|
|
749
518
|
|
|
750
|
-
|
|
751
519
|
|
|
752
|
-
|
|
753
520
|
</div>
|
|
754
521
|
|
|
755
|
-
|
|
756
522
|
<div id="method-i-created_at-3D" class="method-detail ">
|
|
757
|
-
|
|
758
523
|
<div class="method-heading">
|
|
759
524
|
<span class="method-name">created_at=</span><span
|
|
760
525
|
class="method-args">(v)</span>
|
|
761
|
-
|
|
762
526
|
<span class="method-click-advice">click to toggle source</span>
|
|
763
|
-
|
|
764
527
|
</div>
|
|
765
|
-
|
|
766
528
|
|
|
767
529
|
<div class="method-description">
|
|
768
530
|
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
531
|
|
|
773
|
-
|
|
774
532
|
<div class="method-source-code" id="created_at-3D-source">
|
|
775
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
533
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 507</span>
|
|
776
534
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">created_at=</span>(<span class="ruby-identifier">v</span>)
|
|
777
535
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">created_at</span> = <span class="ruby-identifier">v</span>
|
|
778
536
|
<span class="ruby-keyword">end</span></pre>
|
|
779
537
|
</div>
|
|
780
|
-
|
|
781
538
|
</div>
|
|
782
539
|
|
|
783
|
-
|
|
784
540
|
|
|
785
|
-
|
|
786
541
|
</div>
|
|
787
542
|
|
|
788
|
-
|
|
789
543
|
<div id="method-i-creator" class="method-detail ">
|
|
790
|
-
|
|
791
544
|
<div class="method-heading">
|
|
792
545
|
<span class="method-name">creator</span><span
|
|
793
546
|
class="method-args">()</span>
|
|
794
|
-
|
|
795
547
|
<span class="method-click-advice">click to toggle source</span>
|
|
796
|
-
|
|
797
548
|
</div>
|
|
798
|
-
|
|
799
549
|
|
|
800
550
|
<div class="method-description">
|
|
801
551
|
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
552
|
|
|
806
|
-
|
|
807
553
|
<div class="method-source-code" id="creator-source">
|
|
808
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
554
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 546</span>
|
|
809
555
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">creator</span>
|
|
810
556
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">creator</span>
|
|
811
557
|
<span class="ruby-keyword">end</span></pre>
|
|
812
558
|
</div>
|
|
813
|
-
|
|
814
559
|
</div>
|
|
815
560
|
|
|
816
|
-
|
|
817
561
|
|
|
818
|
-
|
|
819
562
|
</div>
|
|
820
563
|
|
|
821
|
-
|
|
822
564
|
<div id="method-i-creator-3D" class="method-detail ">
|
|
823
|
-
|
|
824
565
|
<div class="method-heading">
|
|
825
566
|
<span class="method-name">creator=</span><span
|
|
826
567
|
class="method-args">(v)</span>
|
|
827
|
-
|
|
828
568
|
<span class="method-click-advice">click to toggle source</span>
|
|
829
|
-
|
|
830
569
|
</div>
|
|
831
|
-
|
|
832
570
|
|
|
833
571
|
<div class="method-description">
|
|
834
572
|
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
573
|
|
|
839
|
-
|
|
840
574
|
<div class="method-source-code" id="creator-3D-source">
|
|
841
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
575
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 550</span>
|
|
842
576
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">creator=</span>(<span class="ruby-identifier">v</span>)
|
|
843
577
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">creator</span> = <span class="ruby-identifier">v</span>
|
|
844
578
|
<span class="ruby-keyword">end</span></pre>
|
|
845
579
|
</div>
|
|
846
|
-
|
|
847
580
|
</div>
|
|
848
581
|
|
|
849
|
-
|
|
850
582
|
|
|
851
|
-
|
|
852
583
|
</div>
|
|
853
584
|
|
|
854
|
-
|
|
855
585
|
<div id="method-i-date1904" class="method-detail ">
|
|
856
|
-
|
|
857
586
|
<div class="method-heading">
|
|
858
587
|
<span class="method-name">date1904</span><span
|
|
859
588
|
class="method-args">()</span>
|
|
860
|
-
|
|
861
589
|
<span class="method-click-advice">click to toggle source</span>
|
|
862
|
-
|
|
863
590
|
</div>
|
|
864
|
-
|
|
865
591
|
|
|
866
592
|
<div class="method-description">
|
|
867
593
|
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
594
|
|
|
872
|
-
|
|
873
595
|
<div class="method-source-code" id="date1904-source">
|
|
874
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
596
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 562</span>
|
|
875
597
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">date1904</span>
|
|
876
598
|
<span class="ruby-identifier">workbook_properties</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">workbook_properties</span>.<span class="ruby-identifier">date1904</span>
|
|
877
599
|
<span class="ruby-keyword">end</span></pre>
|
|
878
600
|
</div>
|
|
879
|
-
|
|
880
601
|
</div>
|
|
881
602
|
|
|
882
|
-
|
|
883
603
|
|
|
884
|
-
|
|
885
604
|
</div>
|
|
886
605
|
|
|
887
|
-
|
|
888
606
|
<div id="method-i-date1904-3D" class="method-detail ">
|
|
889
|
-
|
|
890
607
|
<div class="method-heading">
|
|
891
608
|
<span class="method-name">date1904=</span><span
|
|
892
609
|
class="method-args">(v)</span>
|
|
893
|
-
|
|
894
610
|
<span class="method-click-advice">click to toggle source</span>
|
|
895
|
-
|
|
896
611
|
</div>
|
|
897
|
-
|
|
898
612
|
|
|
899
613
|
<div class="method-description">
|
|
900
614
|
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
615
|
|
|
905
|
-
|
|
906
616
|
<div class="method-source-code" id="date1904-3D-source">
|
|
907
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
617
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 566</span>
|
|
908
618
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">date1904=</span>(<span class="ruby-identifier">v</span>)
|
|
909
619
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">workbook_properties</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">WorkbookProperties</span>.<span class="ruby-identifier">new</span>
|
|
910
620
|
<span class="ruby-identifier">workbook_properties</span>.<span class="ruby-identifier">date1904</span> = <span class="ruby-identifier">v</span>
|
|
911
621
|
<span class="ruby-keyword">end</span></pre>
|
|
912
622
|
</div>
|
|
913
|
-
|
|
914
623
|
</div>
|
|
915
624
|
|
|
916
|
-
|
|
917
625
|
|
|
918
|
-
|
|
919
626
|
</div>
|
|
920
627
|
|
|
921
|
-
|
|
922
628
|
<div id="method-i-date_to_num" class="method-detail ">
|
|
923
|
-
|
|
924
629
|
<div class="method-heading">
|
|
925
630
|
<span class="method-name">date_to_num</span><span
|
|
926
631
|
class="method-args">(date)</span>
|
|
927
|
-
|
|
928
632
|
<span class="method-click-advice">click to toggle source</span>
|
|
929
|
-
|
|
930
633
|
</div>
|
|
931
|
-
|
|
932
634
|
|
|
933
635
|
<div class="method-description">
|
|
934
636
|
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
637
|
|
|
939
|
-
|
|
940
638
|
<div class="method-source-code" id="date_to_num-source">
|
|
941
639
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 422</span>
|
|
942
640
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">date_to_num</span>(<span class="ruby-identifier">date</span>)
|
|
943
|
-
<span class="ruby-
|
|
641
|
+
<span class="ruby-keyword">case</span> <span class="ruby-identifier">date</span>
|
|
642
|
+
<span class="ruby-keyword">when</span> <span class="ruby-constant">Date</span>, <span class="ruby-constant">DateTime</span> <span class="ruby-keyword">then</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>
|
|
643
|
+
<span class="ruby-keyword">when</span> <span class="ruby-constant">Time</span> <span class="ruby-keyword">then</span> ((<span class="ruby-identifier">date</span>.<span class="ruby-identifier">to_r</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">base_date</span>().<span class="ruby-identifier">to_time</span>.<span class="ruby-identifier">to_r</span>) <span class="ruby-operator">/</span> <span class="ruby-value">86400</span>).<span class="ruby-identifier">to_f</span>
|
|
644
|
+
<span class="ruby-keyword">end</span>
|
|
944
645
|
<span class="ruby-keyword">end</span></pre>
|
|
945
646
|
</div>
|
|
946
|
-
|
|
947
647
|
</div>
|
|
948
648
|
|
|
949
|
-
|
|
950
649
|
|
|
951
|
-
|
|
952
650
|
</div>
|
|
953
651
|
|
|
954
|
-
|
|
955
652
|
<div id="method-i-modified_at" class="method-detail ">
|
|
956
|
-
|
|
957
653
|
<div class="method-heading">
|
|
958
654
|
<span class="method-name">modified_at</span><span
|
|
959
655
|
class="method-args">()</span>
|
|
960
|
-
|
|
961
656
|
<span class="method-click-advice">click to toggle source</span>
|
|
962
|
-
|
|
963
657
|
</div>
|
|
964
|
-
|
|
965
658
|
|
|
966
659
|
<div class="method-description">
|
|
967
660
|
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
661
|
|
|
972
|
-
|
|
973
662
|
<div class="method-source-code" id="modified_at-source">
|
|
974
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
663
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 511</span>
|
|
975
664
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">modified_at</span>
|
|
976
665
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">modified_at</span>
|
|
977
666
|
<span class="ruby-keyword">end</span></pre>
|
|
978
667
|
</div>
|
|
979
|
-
|
|
980
668
|
</div>
|
|
981
669
|
|
|
982
|
-
|
|
983
670
|
|
|
984
|
-
|
|
985
671
|
</div>
|
|
986
672
|
|
|
987
|
-
|
|
988
673
|
<div id="method-i-modified_at-3D" class="method-detail ">
|
|
989
|
-
|
|
990
674
|
<div class="method-heading">
|
|
991
675
|
<span class="method-name">modified_at=</span><span
|
|
992
676
|
class="method-args">(v)</span>
|
|
993
|
-
|
|
994
677
|
<span class="method-click-advice">click to toggle source</span>
|
|
995
|
-
|
|
996
678
|
</div>
|
|
997
|
-
|
|
998
679
|
|
|
999
680
|
<div class="method-description">
|
|
1000
681
|
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
682
|
|
|
1005
|
-
|
|
1006
683
|
<div class="method-source-code" id="modified_at-3D-source">
|
|
1007
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
684
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 515</span>
|
|
1008
685
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">modified_at=</span>(<span class="ruby-identifier">v</span>)
|
|
1009
686
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">modified_at</span> = <span class="ruby-identifier">v</span>
|
|
1010
687
|
<span class="ruby-keyword">end</span></pre>
|
|
1011
688
|
</div>
|
|
1012
|
-
|
|
1013
689
|
</div>
|
|
1014
690
|
|
|
1015
|
-
|
|
1016
691
|
|
|
1017
|
-
|
|
1018
692
|
</div>
|
|
1019
693
|
|
|
1020
|
-
|
|
1021
694
|
<div id="method-i-modifier" class="method-detail ">
|
|
1022
|
-
|
|
1023
695
|
<div class="method-heading">
|
|
1024
696
|
<span class="method-name">modifier</span><span
|
|
1025
697
|
class="method-args">()</span>
|
|
1026
|
-
|
|
1027
698
|
<span class="method-click-advice">click to toggle source</span>
|
|
1028
|
-
|
|
1029
699
|
</div>
|
|
1030
|
-
|
|
1031
700
|
|
|
1032
701
|
<div class="method-description">
|
|
1033
702
|
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
703
|
|
|
1038
|
-
|
|
1039
704
|
<div class="method-source-code" id="modifier-source">
|
|
1040
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
705
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 554</span>
|
|
1041
706
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">modifier</span>
|
|
1042
707
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">modifier</span>
|
|
1043
708
|
<span class="ruby-keyword">end</span></pre>
|
|
1044
709
|
</div>
|
|
1045
|
-
|
|
1046
710
|
</div>
|
|
1047
711
|
|
|
1048
|
-
|
|
1049
712
|
|
|
1050
|
-
|
|
1051
713
|
</div>
|
|
1052
714
|
|
|
1053
|
-
|
|
1054
715
|
<div id="method-i-modifier-3D" class="method-detail ">
|
|
1055
|
-
|
|
1056
716
|
<div class="method-heading">
|
|
1057
717
|
<span class="method-name">modifier=</span><span
|
|
1058
718
|
class="method-args">(v)</span>
|
|
1059
|
-
|
|
1060
719
|
<span class="method-click-advice">click to toggle source</span>
|
|
1061
|
-
|
|
1062
720
|
</div>
|
|
1063
|
-
|
|
1064
721
|
|
|
1065
722
|
<div class="method-description">
|
|
1066
723
|
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
724
|
|
|
1071
|
-
|
|
1072
725
|
<div class="method-source-code" id="modifier-3D-source">
|
|
1073
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
726
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 558</span>
|
|
1074
727
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">modifier=</span>(<span class="ruby-identifier">v</span>)
|
|
1075
728
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">modifier</span> = <span class="ruby-identifier">v</span>
|
|
1076
729
|
<span class="ruby-keyword">end</span></pre>
|
|
1077
730
|
</div>
|
|
1078
|
-
|
|
1079
731
|
</div>
|
|
1080
732
|
|
|
1081
|
-
|
|
1082
733
|
|
|
1083
|
-
|
|
1084
734
|
</div>
|
|
1085
735
|
|
|
1086
|
-
|
|
1087
736
|
<div id="method-i-num_to_date" class="method-detail ">
|
|
1088
|
-
|
|
1089
737
|
<div class="method-heading">
|
|
1090
738
|
<span class="method-name">num_to_date</span><span
|
|
1091
739
|
class="method-args">(num)</span>
|
|
1092
|
-
|
|
1093
740
|
<span class="method-click-advice">click to toggle source</span>
|
|
1094
|
-
|
|
1095
741
|
</div>
|
|
1096
|
-
|
|
1097
742
|
|
|
1098
743
|
<div class="method-description">
|
|
1099
744
|
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
745
|
|
|
1104
|
-
|
|
1105
746
|
<div class="method-source-code" id="num_to_date-source">
|
|
1106
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
747
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 429</span>
|
|
1107
748
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">num_to_date</span>(<span class="ruby-identifier">num</span>)
|
|
749
|
+
<span class="ruby-keyword">return</span> <span class="ruby-keyword">nil</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">num</span>.<span class="ruby-identifier">nil?</span>
|
|
750
|
+
|
|
1108
751
|
<span class="ruby-comment"># Bug-for-bug Excel compatibility (https://support.microsoft.com/kb/214058/)</span>
|
|
1109
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">num</span> <span class="ruby-operator">&
|
|
752
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">num</span> <span class="ruby-operator"><</span> <span class="ruby-constant">MARCH_1_1900</span> <span class="ruby-keyword">then</span>
|
|
1110
753
|
<span class="ruby-identifier">num</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">workbook_properties</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">workbook_properties</span>.<span class="ruby-identifier">date1904</span>
|
|
1111
754
|
<span class="ruby-keyword">end</span>
|
|
1112
755
|
|
|
1113
|
-
<span class="ruby-identifier">
|
|
756
|
+
<span class="ruby-identifier">dateparts</span> = <span class="ruby-identifier">num</span>.<span class="ruby-identifier">divmod</span>(<span class="ruby-value">1</span>)
|
|
757
|
+
<span class="ruby-identifier">base_date</span> <span class="ruby-operator">+</span> (<span class="ruby-identifier">dateparts</span>[<span class="ruby-value">0</span>] <span class="ruby-operator">+</span> (<span class="ruby-identifier">dateparts</span>[<span class="ruby-value">1</span>] <span class="ruby-operator">*</span> <span class="ruby-value">86400</span>).<span class="ruby-identifier">round</span>(<span class="ruby-value">6</span>) <span class="ruby-operator">/</span> <span class="ruby-value">86400</span>)
|
|
1114
758
|
<span class="ruby-keyword">end</span></pre>
|
|
1115
759
|
</div>
|
|
1116
|
-
|
|
1117
760
|
</div>
|
|
1118
761
|
|
|
1119
|
-
|
|
1120
762
|
|
|
1121
|
-
|
|
1122
763
|
</div>
|
|
1123
764
|
|
|
1124
|
-
|
|
1125
765
|
<div id="method-i-related_objects" class="method-detail ">
|
|
1126
|
-
|
|
1127
766
|
<div class="method-heading">
|
|
1128
767
|
<span class="method-name">related_objects</span><span
|
|
1129
768
|
class="method-args">()</span>
|
|
1130
|
-
|
|
1131
769
|
<span class="method-click-advice">click to toggle source</span>
|
|
1132
|
-
|
|
1133
770
|
</div>
|
|
1134
|
-
|
|
1135
771
|
|
|
1136
772
|
<div class="method-description">
|
|
1137
773
|
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
774
|
|
|
1142
|
-
|
|
1143
775
|
<div class="method-source-code" id="related_objects-source">
|
|
1144
776
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 320</span>
|
|
1145
777
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">related_objects</span>
|
|
1146
778
|
[ <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>
|
|
1147
779
|
<span class="ruby-keyword">end</span></pre>
|
|
1148
780
|
</div>
|
|
1149
|
-
|
|
1150
781
|
</div>
|
|
1151
782
|
|
|
1152
|
-
|
|
1153
783
|
|
|
1154
|
-
|
|
1155
784
|
</div>
|
|
1156
785
|
|
|
1157
|
-
|
|
1158
786
|
<div id="method-i-save" class="method-detail ">
|
|
1159
|
-
|
|
1160
787
|
<div class="method-heading">
|
|
1161
788
|
<span class="method-name">save</span><span
|
|
1162
789
|
class="method-args">(dst_file_path = nil)</span>
|
|
1163
|
-
|
|
1164
790
|
<span class="method-click-advice">click to toggle source</span>
|
|
1165
|
-
|
|
1166
791
|
</div>
|
|
1167
|
-
|
|
1168
792
|
|
|
1169
793
|
<div class="method-description">
|
|
1170
|
-
|
|
1171
794
|
<p>Save the resulting XLSX file to the specified location</p>
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
795
|
|
|
1175
|
-
|
|
1176
796
|
<div class="method-source-code" id="save-source">
|
|
1177
797
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 398</span>
|
|
1178
798
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">save</span>(<span class="ruby-identifier">dst_file_path</span> = <span class="ruby-keyword">nil</span>)
|
|
@@ -1188,122 +808,82 @@
|
|
|
1188
808
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">dst_file_path</span>
|
|
1189
809
|
<span class="ruby-keyword">end</span></pre>
|
|
1190
810
|
</div>
|
|
1191
|
-
|
|
1192
811
|
</div>
|
|
1193
812
|
|
|
1194
|
-
|
|
1195
813
|
<div class="aliases">
|
|
1196
814
|
Also aliased as: <a href="Workbook.html#method-i-write">write</a>
|
|
1197
815
|
</div>
|
|
1198
|
-
|
|
1199
816
|
|
|
1200
|
-
|
|
1201
817
|
</div>
|
|
1202
818
|
|
|
1203
|
-
|
|
1204
819
|
<div id="method-i-stream" class="method-detail ">
|
|
1205
|
-
|
|
1206
820
|
<div class="method-heading">
|
|
1207
821
|
<span class="method-name">stream</span><span
|
|
1208
822
|
class="method-args">()</span>
|
|
1209
|
-
|
|
1210
823
|
<span class="method-click-advice">click to toggle source</span>
|
|
1211
|
-
|
|
1212
824
|
</div>
|
|
1213
|
-
|
|
1214
825
|
|
|
1215
826
|
<div class="method-description">
|
|
1216
|
-
|
|
1217
827
|
<p>Return the resulting XLSX file in a stream (useful for sending over HTTP)</p>
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
828
|
|
|
1221
|
-
|
|
1222
829
|
<div class="method-source-code" id="stream-source">
|
|
1223
830
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 393</span>
|
|
1224
831
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">stream</span>
|
|
1225
832
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">stream</span>
|
|
1226
833
|
<span class="ruby-keyword">end</span></pre>
|
|
1227
834
|
</div>
|
|
1228
|
-
|
|
1229
835
|
</div>
|
|
1230
836
|
|
|
1231
|
-
|
|
1232
837
|
|
|
1233
|
-
|
|
1234
838
|
</div>
|
|
1235
839
|
|
|
1236
|
-
|
|
1237
840
|
<div id="method-i-write" class="method-detail method-alias">
|
|
1238
|
-
|
|
1239
841
|
<div class="method-heading">
|
|
1240
842
|
<span class="method-name">write</span><span
|
|
1241
843
|
class="method-args">(dst_file_path = nil)</span>
|
|
1242
|
-
|
|
1243
844
|
</div>
|
|
1244
|
-
|
|
1245
845
|
|
|
1246
846
|
<div class="method-description">
|
|
1247
847
|
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
848
|
|
|
1252
|
-
|
|
1253
849
|
</div>
|
|
1254
850
|
|
|
1255
|
-
|
|
1256
851
|
|
|
1257
|
-
|
|
1258
852
|
<div class="aliases">
|
|
1259
853
|
Alias for: <a href="Workbook.html#method-i-save">save</a>
|
|
1260
854
|
</div>
|
|
1261
|
-
|
|
1262
855
|
</div>
|
|
1263
856
|
|
|
1264
|
-
|
|
1265
857
|
<div id="method-i-xlsx_path" class="method-detail ">
|
|
1266
|
-
|
|
1267
858
|
<div class="method-heading">
|
|
1268
859
|
<span class="method-name">xlsx_path</span><span
|
|
1269
860
|
class="method-args">()</span>
|
|
1270
|
-
|
|
1271
861
|
<span class="method-click-advice">click to toggle source</span>
|
|
1272
|
-
|
|
1273
862
|
</div>
|
|
1274
|
-
|
|
1275
863
|
|
|
1276
864
|
<div class="method-description">
|
|
1277
865
|
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
866
|
|
|
1282
|
-
|
|
1283
867
|
<div class="method-source-code" id="xlsx_path-source">
|
|
1284
868
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 388</span>
|
|
1285
869
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">xlsx_path</span>
|
|
1286
870
|
<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>)
|
|
1287
871
|
<span class="ruby-keyword">end</span></pre>
|
|
1288
872
|
</div>
|
|
1289
|
-
|
|
1290
873
|
</div>
|
|
1291
874
|
|
|
1292
|
-
|
|
1293
875
|
|
|
1294
|
-
|
|
1295
876
|
</div>
|
|
1296
877
|
|
|
1297
|
-
|
|
1298
878
|
</section>
|
|
1299
|
-
|
|
879
|
+
|
|
1300
880
|
</section>
|
|
1301
881
|
</main>
|
|
1302
882
|
|
|
1303
883
|
|
|
1304
884
|
<footer id="validator-badges" role="contentinfo">
|
|
1305
885
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
1306
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.
|
|
886
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
|
|
1307
887
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
1308
888
|
</footer>
|
|
1309
889
|
|