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