rubyXL 3.4.10 → 3.4.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +2 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +23 -23
- data/LICENSE.txt +1 -1
- data/README.rdoc +6 -1
- data/VERSION +1 -1
- data/lib/rubyXL/convenience_methods/cell.rb +1 -1
- data/lib/rubyXL/convenience_methods/color.rb +5 -3
- data/lib/rubyXL/convenience_methods/worksheet.rb +12 -0
- data/lib/rubyXL/objects/chartsheet.rb +1 -1
- data/lib/rubyXL/objects/data_validation.rb +2 -0
- data/lib/rubyXL/objects/document_properties.rb +2 -2
- data/lib/rubyXL/objects/external_links.rb +25 -1
- data/lib/rubyXL/objects/ooxml_object.rb +10 -0
- data/lib/rubyXL/objects/relationships.rb +1 -1
- data/lib/rubyXL/objects/sheet_data.rb +2 -2
- data/lib/rubyXL/objects/storage.rb +1 -0
- data/lib/rubyXL/objects/text.rb +1 -1
- 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 +11 -3
- data/rdoc/RubyXL.html +4 -2
- data/rdoc/RubyXL/AExtension.html +4 -2
- data/rdoc/RubyXL/AExtensionStorageArea.html +4 -2
- data/rdoc/RubyXL/ActiveX.html +5 -3
- data/rdoc/RubyXL/ActiveXBinary.html +4 -2
- data/rdoc/RubyXL/AdjustHandleList.html +4 -2
- data/rdoc/RubyXL/Alignment.html +4 -2
- data/rdoc/RubyXL/AlternateContent.html +4 -2
- data/rdoc/RubyXL/Authors.html +4 -2
- data/rdoc/RubyXL/AutoFilter.html +4 -2
- data/rdoc/RubyXL/AutoFilterColumn.html +4 -2
- data/rdoc/RubyXL/BinaryImageFile.html +4 -2
- data/rdoc/RubyXL/BodyProperties.html +4 -2
- data/rdoc/RubyXL/BooleanNode.html +4 -2
- data/rdoc/RubyXL/BooleanValue.html +4 -2
- data/rdoc/RubyXL/Border.html +4 -2
- data/rdoc/RubyXL/BorderEdge.html +4 -2
- data/rdoc/RubyXL/Borders.html +4 -2
- data/rdoc/RubyXL/Break.html +4 -2
- data/rdoc/RubyXL/BreakList.html +4 -2
- data/rdoc/RubyXL/CT_AdjPoint2D.html +4 -2
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +4 -2
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +4 -2
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +4 -2
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +4 -2
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +4 -2
- data/rdoc/RubyXL/CT_Backdrop.html +4 -2
- data/rdoc/RubyXL/CT_Bevel.html +4 -2
- data/rdoc/RubyXL/CT_BiLevelEffect.html +4 -2
- data/rdoc/RubyXL/CT_BlendEffect.html +4 -2
- data/rdoc/RubyXL/CT_Blip.html +4 -2
- data/rdoc/RubyXL/CT_BlipFillProperties.html +4 -2
- data/rdoc/RubyXL/CT_BlurEffect.html +4 -2
- data/rdoc/RubyXL/CT_Camera.html +4 -2
- data/rdoc/RubyXL/CT_Color.html +4 -2
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +4 -2
- data/rdoc/RubyXL/CT_ColorMapping.html +4 -2
- data/rdoc/RubyXL/CT_ColorScheme.html +4 -2
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +4 -2
- data/rdoc/RubyXL/CT_ConnectionSite.html +4 -2
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +4 -2
- data/rdoc/RubyXL/CT_DashStop.html +4 -2
- data/rdoc/RubyXL/CT_DashStopList.html +4 -2
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +4 -2
- data/rdoc/RubyXL/CT_DuotoneEffect.html +4 -2
- data/rdoc/RubyXL/CT_EffectContainer.html +4 -2
- data/rdoc/RubyXL/CT_EffectList.html +4 -2
- data/rdoc/RubyXL/CT_EffectReference.html +4 -2
- data/rdoc/RubyXL/CT_EffectStyleItem.html +4 -2
- data/rdoc/RubyXL/CT_EffectStyleList.html +4 -2
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +4 -2
- data/rdoc/RubyXL/CT_FillEffect.html +4 -2
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +4 -2
- data/rdoc/RubyXL/CT_FillStyleList.html +4 -2
- data/rdoc/RubyXL/CT_FlatText.html +4 -2
- data/rdoc/RubyXL/CT_FontCollection.html +4 -2
- data/rdoc/RubyXL/CT_FontReference.html +4 -2
- data/rdoc/RubyXL/CT_GeomGuideList.html +4 -2
- data/rdoc/RubyXL/CT_GlowEffect.html +4 -2
- data/rdoc/RubyXL/CT_GradientFillProperties.html +4 -2
- data/rdoc/RubyXL/CT_GradientStop.html +4 -2
- data/rdoc/RubyXL/CT_GradientStopList.html +4 -2
- data/rdoc/RubyXL/CT_HSLEffect.html +4 -2
- data/rdoc/RubyXL/CT_HslColor.html +4 -2
- data/rdoc/RubyXL/CT_Hyperlink.html +4 -2
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +4 -2
- data/rdoc/RubyXL/CT_LightRig.html +4 -2
- data/rdoc/RubyXL/CT_LineEndProperties.html +4 -2
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +4 -2
- data/rdoc/RubyXL/CT_LineProperties.html +4 -2
- data/rdoc/RubyXL/CT_LineStyleList.html +4 -2
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +4 -2
- data/rdoc/RubyXL/CT_LuminanceEffect.html +4 -2
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +4 -2
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +4 -2
- data/rdoc/RubyXL/CT_Path2D.html +4 -2
- data/rdoc/RubyXL/CT_Path2DArcTo.html +4 -2
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +4 -2
- data/rdoc/RubyXL/CT_Path2DList.html +4 -2
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +4 -2
- data/rdoc/RubyXL/CT_Path2DTo.html +4 -2
- data/rdoc/RubyXL/CT_PathShadeProperties.html +4 -2
- data/rdoc/RubyXL/CT_PatternFillProperties.html +4 -2
- data/rdoc/RubyXL/CT_Point3D.html +4 -2
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +4 -2
- data/rdoc/RubyXL/CT_PresetColor.html +4 -2
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +4 -2
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +4 -2
- data/rdoc/RubyXL/CT_PresetTextShape.html +4 -2
- data/rdoc/RubyXL/CT_ReflectionEffect.html +4 -2
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +4 -2
- data/rdoc/RubyXL/CT_RelativeRect.html +4 -2
- data/rdoc/RubyXL/CT_SRgbColor.html +4 -2
- data/rdoc/RubyXL/CT_ScRgbColor.html +4 -2
- data/rdoc/RubyXL/CT_Scene3D.html +4 -2
- data/rdoc/RubyXL/CT_SchemeColor.html +4 -2
- data/rdoc/RubyXL/CT_Shape3D.html +4 -2
- data/rdoc/RubyXL/CT_ShapeStyle.html +4 -2
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +4 -2
- data/rdoc/RubyXL/CT_SphereCoords.html +4 -2
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +4 -2
- data/rdoc/RubyXL/CT_StyleMatrix.html +4 -2
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +4 -2
- data/rdoc/RubyXL/CT_SupplementalFont.html +4 -2
- data/rdoc/RubyXL/CT_SystemColor.html +4 -2
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +4 -2
- data/rdoc/RubyXL/CT_TextBlipBullet.html +4 -2
- data/rdoc/RubyXL/CT_TextCharBullet.html +4 -2
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +4 -2
- data/rdoc/RubyXL/CT_TextFont.html +4 -2
- data/rdoc/RubyXL/CT_TextListStyle.html +4 -2
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +4 -2
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +4 -2
- data/rdoc/RubyXL/CT_TextSpacing.html +4 -2
- data/rdoc/RubyXL/CT_TextTabStop.html +4 -2
- data/rdoc/RubyXL/CT_TextTabStopList.html +4 -2
- data/rdoc/RubyXL/CT_TileInfoProperties.html +4 -2
- data/rdoc/RubyXL/CT_TintEffect.html +4 -2
- data/rdoc/RubyXL/CT_Transform2D.html +4 -2
- data/rdoc/RubyXL/CT_TransformEffect.html +4 -2
- data/rdoc/RubyXL/CT_Vector3D.html +4 -2
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +4 -2
- data/rdoc/RubyXL/CalculationChain.html +4 -2
- data/rdoc/RubyXL/CalculationChainCell.html +4 -2
- data/rdoc/RubyXL/CalculationProperties.html +4 -2
- data/rdoc/RubyXL/Cell.html +6 -4
- data/rdoc/RubyXL/CellConvenienceMethods.html +4 -2
- data/rdoc/RubyXL/CellExt.html +4 -2
- data/rdoc/RubyXL/CellSmartTag.html +4 -2
- data/rdoc/RubyXL/CellSmartTagProperty.html +4 -2
- data/rdoc/RubyXL/CellSmartTags.html +4 -2
- data/rdoc/RubyXL/CellStyle.html +4 -2
- data/rdoc/RubyXL/CellStyleXFs.html +4 -2
- data/rdoc/RubyXL/CellStyles.html +4 -2
- data/rdoc/RubyXL/CellValue.html +4 -2
- data/rdoc/RubyXL/CellWatch.html +4 -2
- data/rdoc/RubyXL/CellWatches.html +4 -2
- data/rdoc/RubyXL/CellXFs.html +4 -2
- data/rdoc/RubyXL/ChartColorsFile.html +4 -2
- data/rdoc/RubyXL/ChartFile.html +4 -2
- data/rdoc/RubyXL/ChartStyleFile.html +4 -2
- data/rdoc/RubyXL/ChartUserShapesFile.html +4 -2
- data/rdoc/RubyXL/Chartsheet.html +4 -2
- data/rdoc/RubyXL/ChartsheetPageSetup.html +4 -2
- data/rdoc/RubyXL/ChartsheetProperties.html +4 -2
- data/rdoc/RubyXL/ChartsheetProtection.html +4 -2
- data/rdoc/RubyXL/ChartsheetView.html +4 -2
- data/rdoc/RubyXL/ChartsheetViews.html +4 -2
- data/rdoc/RubyXL/Color.html +4 -2
- data/rdoc/RubyXL/ColorConvenienceClasses.html +4 -2
- data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +6 -4
- data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +9 -5
- data/rdoc/RubyXL/ColorConvenienceMethods.html +4 -2
- data/rdoc/RubyXL/ColorFilter.html +4 -2
- data/rdoc/RubyXL/ColorScale.html +4 -2
- data/rdoc/RubyXL/ColorSet.html +4 -2
- data/rdoc/RubyXL/Colors.html +4 -2
- data/rdoc/RubyXL/ColumnRange.html +4 -2
- data/rdoc/RubyXL/ColumnRanges.html +4 -2
- data/rdoc/RubyXL/Comment.html +4 -2
- data/rdoc/RubyXL/CommentList.html +4 -2
- data/rdoc/RubyXL/CommentsFile.html +4 -2
- data/rdoc/RubyXL/ConditionalFormatValue.html +4 -2
- data/rdoc/RubyXL/ConditionalFormatting.html +4 -2
- data/rdoc/RubyXL/ConditionalFormattingRule.html +4 -2
- data/rdoc/RubyXL/Connection.html +4 -2
- data/rdoc/RubyXL/ConnectionTable.html +4 -2
- data/rdoc/RubyXL/ConnectionTables.html +4 -2
- data/rdoc/RubyXL/ConnectionTextField.html +4 -2
- data/rdoc/RubyXL/ConnectionTextFields.html +4 -2
- data/rdoc/RubyXL/Connections.html +4 -2
- data/rdoc/RubyXL/ContentTypeDefault.html +4 -2
- data/rdoc/RubyXL/ContentTypeOverride.html +4 -2
- data/rdoc/RubyXL/ContentTypes.html +4 -2
- data/rdoc/RubyXL/ControlPropertiesFile.html +9 -2
- data/rdoc/RubyXL/CorePropertiesFile.html +6 -4
- data/rdoc/RubyXL/CustomColor.html +4 -2
- data/rdoc/RubyXL/CustomColorList.html +4 -2
- data/rdoc/RubyXL/CustomFilter.html +4 -2
- data/rdoc/RubyXL/CustomFilters.html +4 -2
- data/rdoc/RubyXL/CustomGeometry.html +4 -2
- data/rdoc/RubyXL/CustomProperties.html +4 -2
- data/rdoc/RubyXL/CustomPropertiesFile.html +4 -2
- data/rdoc/RubyXL/CustomProperty.html +4 -2
- data/rdoc/RubyXL/CustomPropertyFile.html +4 -2
- data/rdoc/RubyXL/CustomSheetView.html +4 -2
- data/rdoc/RubyXL/CustomSheetViews.html +4 -2
- data/rdoc/RubyXL/CustomWorkbookView.html +4 -2
- data/rdoc/RubyXL/CustomWorkbookViews.html +4 -2
- data/rdoc/RubyXL/CustomXMLFile.html +4 -2
- data/rdoc/RubyXL/DXF.html +4 -2
- data/rdoc/RubyXL/DXFs.html +4 -2
- data/rdoc/RubyXL/DataBar.html +4 -2
- data/rdoc/RubyXL/DataConsolidate.html +4 -2
- data/rdoc/RubyXL/DataConsolidationReference.html +4 -2
- data/rdoc/RubyXL/DataConsolidationReferences.html +4 -2
- data/rdoc/RubyXL/DataType.html +4 -2
- data/rdoc/RubyXL/DataValidation.html +4 -2
- data/rdoc/RubyXL/DataValidations.html +4 -2
- data/rdoc/RubyXL/DateGroupItem.html +4 -2
- data/rdoc/RubyXL/DefinedName.html +4 -2
- data/rdoc/RubyXL/DefinedNameExt.html +4 -2
- data/rdoc/RubyXL/DefinedNames.html +4 -2
- data/rdoc/RubyXL/DefinedNamesExt.html +4 -2
- data/rdoc/RubyXL/DocumentPropertiesFile.html +4 -2
- data/rdoc/RubyXL/DrawingFile.html +4 -2
- data/rdoc/RubyXL/DynamicFilter.html +4 -2
- data/rdoc/RubyXL/EmbeddedControl.html +4 -2
- data/rdoc/RubyXL/EmbeddedControls.html +4 -2
- data/rdoc/RubyXL/Extension.html +4 -2
- data/rdoc/RubyXL/ExtensionStorageArea.html +4 -2
- data/rdoc/RubyXL/Extents.html +4 -2
- data/rdoc/RubyXL/ExternalBook.html +4 -2
- data/rdoc/RubyXL/ExternalLinksFile.html +5 -3
- data/rdoc/RubyXL/ExternalReference.html +4 -2
- data/rdoc/RubyXL/ExternalReferences.html +4 -2
- data/rdoc/RubyXL/ExtraColorSchemeList.html +4 -2
- data/rdoc/RubyXL/FieldItem.html +4 -2
- data/rdoc/RubyXL/FileRecoveryProperties.html +4 -2
- data/rdoc/RubyXL/FileSharing.html +4 -2
- data/rdoc/RubyXL/FileVersion.html +4 -2
- data/rdoc/RubyXL/Fill.html +4 -2
- data/rdoc/RubyXL/Fills.html +4 -2
- data/rdoc/RubyXL/FilterContainer.html +4 -2
- data/rdoc/RubyXL/FloatNode.html +4 -2
- data/rdoc/RubyXL/FloatValue.html +4 -2
- data/rdoc/RubyXL/Font.html +4 -2
- data/rdoc/RubyXL/FontConvenienceMethods.html +4 -2
- data/rdoc/RubyXL/FontScheme.html +4 -2
- data/rdoc/RubyXL/Fonts.html +4 -2
- data/rdoc/RubyXL/Formula.html +4 -2
- data/rdoc/RubyXL/FunctionGroup.html +4 -2
- data/rdoc/RubyXL/FunctionGroups.html +4 -2
- data/rdoc/RubyXL/GenericStorageObject.html +4 -2
- data/rdoc/RubyXL/GradientFill.html +4 -2
- data/rdoc/RubyXL/HeaderFooterSettings.html +4 -2
- data/rdoc/RubyXL/Hyperlink.html +4 -2
- data/rdoc/RubyXL/HyperlinkRelFile.html +4 -2
- data/rdoc/RubyXL/Hyperlinks.html +4 -2
- data/rdoc/RubyXL/IconFilter.html +4 -2
- data/rdoc/RubyXL/IconSet.html +4 -2
- data/rdoc/RubyXL/IgnoredError.html +4 -2
- data/rdoc/RubyXL/IgnoredErrors.html +4 -2
- data/rdoc/RubyXL/IndexedColors.html +4 -2
- data/rdoc/RubyXL/InputCells.html +4 -2
- data/rdoc/RubyXL/IntegerNode.html +4 -2
- data/rdoc/RubyXL/IntegerValue.html +4 -2
- data/rdoc/RubyXL/LegacyCell.html +4 -2
- data/rdoc/RubyXL/LegacyWorksheet.html +5 -3
- data/rdoc/RubyXL/MRUColors.html +4 -2
- data/rdoc/RubyXL/MacrosFile.html +4 -2
- data/rdoc/RubyXL/MergedCell.html +4 -2
- data/rdoc/RubyXL/MergedCells.html +4 -2
- data/rdoc/RubyXL/NumFmt.html +4 -2
- data/rdoc/RubyXL/NumberFormat.html +4 -2
- data/rdoc/RubyXL/NumberFormats.html +4 -2
- data/rdoc/RubyXL/OLEObject.html +4 -2
- data/rdoc/RubyXL/OLEObjectFile.html +4 -2
- data/rdoc/RubyXL/OLEObjects.html +4 -2
- data/rdoc/RubyXL/OLESize.html +4 -2
- data/rdoc/RubyXL/OOXMLContainerObject.html +10 -8
- data/rdoc/RubyXL/OOXMLIgnored.html +4 -2
- data/rdoc/RubyXL/OOXMLObject.html +4 -2
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +42 -5
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +17 -10
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +4 -2
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +9 -7
- data/rdoc/RubyXL/OdbcOleDbProperties.html +4 -2
- data/rdoc/RubyXL/Offset.html +4 -2
- data/rdoc/RubyXL/OlapProperties.html +4 -2
- data/rdoc/RubyXL/OleItem.html +108 -0
- data/rdoc/RubyXL/OleItems.html +108 -0
- data/rdoc/RubyXL/OleLink.html +108 -0
- data/rdoc/RubyXL/OutlineProperties.html +4 -2
- data/rdoc/RubyXL/PageMargins.html +4 -2
- data/rdoc/RubyXL/PageSetup.html +4 -2
- data/rdoc/RubyXL/PageSetupProperties.html +4 -2
- data/rdoc/RubyXL/Pane.html +4 -2
- data/rdoc/RubyXL/Parser.html +4 -2
- data/rdoc/RubyXL/PatternFill.html +4 -2
- data/rdoc/RubyXL/PhoneticProperties.html +4 -2
- data/rdoc/RubyXL/PhoneticRun.html +4 -2
- data/rdoc/RubyXL/PivotArea.html +4 -2
- data/rdoc/RubyXL/PivotCache.html +4 -2
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +4 -2
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +4 -2
- data/rdoc/RubyXL/PivotCaches.html +4 -2
- data/rdoc/RubyXL/PivotReference.html +4 -2
- data/rdoc/RubyXL/PivotReferences.html +4 -2
- data/rdoc/RubyXL/PivotTableFile.html +4 -2
- data/rdoc/RubyXL/PivotTableSelection.html +4 -2
- data/rdoc/RubyXL/PresetGeometry.html +4 -2
- data/rdoc/RubyXL/PrintOptions.html +4 -2
- data/rdoc/RubyXL/PrinterSettingsFile.html +4 -2
- data/rdoc/RubyXL/ProtectedRange.html +4 -2
- data/rdoc/RubyXL/ProtectedRanges.html +4 -2
- data/rdoc/RubyXL/Protection.html +4 -2
- data/rdoc/RubyXL/QueryParameter.html +4 -2
- data/rdoc/RubyXL/QueryParameters.html +4 -2
- data/rdoc/RubyXL/QueryTable.html +4 -2
- data/rdoc/RubyXL/QueryTableDeletedField.html +4 -2
- data/rdoc/RubyXL/QueryTableDeletedFields.html +4 -2
- data/rdoc/RubyXL/QueryTableField.html +4 -2
- data/rdoc/RubyXL/QueryTableFields.html +4 -2
- data/rdoc/RubyXL/QueryTableRefresh.html +4 -2
- data/rdoc/RubyXL/RID.html +4 -2
- data/rdoc/RubyXL/RawOOXML.html +4 -2
- data/rdoc/RubyXL/Reference.html +4 -2
- data/rdoc/RubyXL/Relationship.html +4 -2
- data/rdoc/RubyXL/RelationshipSupport.html +4 -2
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +4 -2
- data/rdoc/RubyXL/RevisionPointer.html +4 -2
- data/rdoc/RubyXL/RichText.html +5 -3
- data/rdoc/RubyXL/RichTextRun.html +4 -2
- data/rdoc/RubyXL/Row.html +4 -2
- data/rdoc/RubyXL/RowExt.html +4 -2
- data/rdoc/RubyXL/RunProperties.html +4 -2
- data/rdoc/RubyXL/Scenario.html +4 -2
- data/rdoc/RubyXL/Scenarios.html +4 -2
- data/rdoc/RubyXL/Selection.html +4 -2
- data/rdoc/RubyXL/ShapeGuide.html +4 -2
- data/rdoc/RubyXL/ShapeTextRectangle.html +4 -2
- data/rdoc/RubyXL/SharedStringsTable.html +4 -2
- data/rdoc/RubyXL/Sheet.html +4 -2
- data/rdoc/RubyXL/SheetCalculationProperties.html +4 -2
- data/rdoc/RubyXL/SheetData.html +4 -2
- data/rdoc/RubyXL/SheetDataExt.html +4 -2
- data/rdoc/RubyXL/SheetDataSet.html +4 -2
- data/rdoc/RubyXL/SheetName.html +4 -2
- data/rdoc/RubyXL/SheetNames.html +4 -2
- data/rdoc/RubyXL/Sheets.html +4 -2
- data/rdoc/RubyXL/SlicerCacheFile.html +4 -2
- data/rdoc/RubyXL/SlicerFile.html +4 -2
- data/rdoc/RubyXL/SmartTagProperties.html +4 -2
- data/rdoc/RubyXL/SmartTagType.html +4 -2
- data/rdoc/RubyXL/SmartTagTypes.html +4 -2
- data/rdoc/RubyXL/SmartTags.html +4 -2
- data/rdoc/RubyXL/SortCondition.html +4 -2
- data/rdoc/RubyXL/SortState.html +4 -2
- data/rdoc/RubyXL/Sqref.html +4 -2
- data/rdoc/RubyXL/Stop.html +4 -2
- data/rdoc/RubyXL/StringNode.html +4 -2
- data/rdoc/RubyXL/StringNodeW3C.html +4 -2
- data/rdoc/RubyXL/StringValue.html +4 -2
- data/rdoc/RubyXL/Stylesheet.html +4 -2
- data/rdoc/RubyXL/TableFile.html +4 -2
- data/rdoc/RubyXL/TableParts.html +4 -2
- data/rdoc/RubyXL/TableStyle.html +4 -2
- data/rdoc/RubyXL/TableStyles.html +4 -2
- data/rdoc/RubyXL/Text.html +4 -2
- data/rdoc/RubyXL/TextImportSettings.html +4 -2
- data/rdoc/RubyXL/Theme.html +4 -2
- data/rdoc/RubyXL/ThemeElements.html +4 -2
- data/rdoc/RubyXL/ThumbnailFile.html +4 -2
- data/rdoc/RubyXL/Top10.html +4 -2
- data/rdoc/RubyXL/VMLDrawingFile.html +4 -2
- data/rdoc/RubyXL/Variant.html +4 -2
- data/rdoc/RubyXL/Vector.html +4 -2
- data/rdoc/RubyXL/VectorValue.html +4 -2
- data/rdoc/RubyXL/VisualProperties.html +4 -2
- data/rdoc/RubyXL/WebPublishObject.html +4 -2
- data/rdoc/RubyXL/WebPublishObjects.html +4 -2
- data/rdoc/RubyXL/WebPublishingItem.html +4 -2
- data/rdoc/RubyXL/WebPublishingItems.html +4 -2
- data/rdoc/RubyXL/WebPublishingProperties.html +4 -2
- data/rdoc/RubyXL/WebQueryProperties.html +4 -2
- data/rdoc/RubyXL/Workbook.html +33 -25
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +4 -2
- data/rdoc/RubyXL/WorkbookProperties.html +4 -2
- data/rdoc/RubyXL/WorkbookProtection.html +4 -2
- data/rdoc/RubyXL/WorkbookRoot.html +4 -2
- data/rdoc/RubyXL/WorkbookView.html +4 -2
- data/rdoc/RubyXL/WorkbookViews.html +4 -2
- data/rdoc/RubyXL/Worksheet.html +4 -2
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +47 -2
- data/rdoc/RubyXL/WorksheetDimensions.html +4 -2
- data/rdoc/RubyXL/WorksheetFormatProperties.html +4 -2
- data/rdoc/RubyXL/WorksheetProperties.html +4 -2
- data/rdoc/RubyXL/WorksheetProtection.html +4 -2
- data/rdoc/RubyXL/WorksheetView.html +4 -2
- data/rdoc/RubyXL/WorksheetViews.html +4 -2
- data/rdoc/RubyXL/XF.html +4 -2
- data/rdoc/created.rid +20 -20
- data/rdoc/index.html +12 -3
- 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 +838 -3
- data/rubyXL.gemspec +20 -27
- data/spec/lib/cell_spec.rb +22 -3
- data/spec/lib/rgb_color_spec.rb +16 -0
- metadata +9 -7
- data/test/output/test.xlsx +0 -0
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.16</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -22,6 +22,7 @@
|
|
22
22
|
|
23
23
|
|
24
24
|
|
25
|
+
|
25
26
|
<body id="top" role="document" class="class">
|
26
27
|
<nav role="navigation">
|
27
28
|
<div id="project-navigation">
|
@@ -306,7 +307,7 @@
|
|
306
307
|
|
307
308
|
|
308
309
|
<div class="method-source-code" id="new-source">
|
309
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
310
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 446</span>
|
310
311
|
<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
312
|
<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
313
|
<span class="ruby-identifier">is_template</span> = <span class="ruby-keyword">false</span>)
|
@@ -373,7 +374,7 @@
|
|
373
374
|
|
374
375
|
|
375
376
|
<div class="method-source-code" id="5B-5D-source">
|
376
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
377
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 479</span>
|
377
378
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">[]</span>(<span class="ruby-identifier">ind</span>)
|
378
379
|
<span class="ruby-keyword">case</span> <span class="ruby-identifier">ind</span>
|
379
380
|
<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>]
|
@@ -411,7 +412,7 @@
|
|
411
412
|
|
412
413
|
|
413
414
|
<div class="method-source-code" id="add_worksheet-source">
|
414
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
415
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 489</span>
|
415
416
|
<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
417
|
<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
418
|
<span class="ruby-identifier">n</span> = <span class="ruby-value">0</span>
|
@@ -454,7 +455,7 @@
|
|
454
455
|
|
455
456
|
|
456
457
|
<div class="method-source-code" id="application-source">
|
457
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
458
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 528</span>
|
458
459
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">application</span>
|
459
460
|
<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
461
|
<span class="ruby-keyword">end</span></pre>
|
@@ -487,7 +488,7 @@
|
|
487
488
|
|
488
489
|
|
489
490
|
<div class="method-source-code" id="application-3D-source">
|
490
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
491
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 532</span>
|
491
492
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">application=</span>(<span class="ruby-identifier">v</span>)
|
492
493
|
<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
494
|
<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>
|
@@ -521,7 +522,7 @@
|
|
521
522
|
|
522
523
|
|
523
524
|
<div class="method-source-code" id="appversion-source">
|
524
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
525
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 537</span>
|
525
526
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">appversion</span>
|
526
527
|
<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
528
|
<span class="ruby-keyword">end</span></pre>
|
@@ -554,7 +555,7 @@
|
|
554
555
|
|
555
556
|
|
556
557
|
<div class="method-source-code" id="appversion-3D-source">
|
557
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
558
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 541</span>
|
558
559
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">appversion=</span>(<span class="ruby-identifier">v</span>)
|
559
560
|
<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
561
|
<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>
|
@@ -636,7 +637,7 @@
|
|
636
637
|
|
637
638
|
|
638
639
|
<div class="method-source-code" id="company-source">
|
639
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
640
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 519</span>
|
640
641
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">company</span>
|
641
642
|
<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
643
|
<span class="ruby-keyword">end</span></pre>
|
@@ -669,7 +670,7 @@
|
|
669
670
|
|
670
671
|
|
671
672
|
<div class="method-source-code" id="company-3D-source">
|
672
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
673
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 523</span>
|
673
674
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">company=</span>(<span class="ruby-identifier">v</span>)
|
674
675
|
<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
676
|
<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>
|
@@ -739,7 +740,7 @@
|
|
739
740
|
|
740
741
|
|
741
742
|
<div class="method-source-code" id="created_at-source">
|
742
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
743
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 503</span>
|
743
744
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">created_at</span>
|
744
745
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">created_at</span>
|
745
746
|
<span class="ruby-keyword">end</span></pre>
|
@@ -772,7 +773,7 @@
|
|
772
773
|
|
773
774
|
|
774
775
|
<div class="method-source-code" id="created_at-3D-source">
|
775
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
776
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 507</span>
|
776
777
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">created_at=</span>(<span class="ruby-identifier">v</span>)
|
777
778
|
<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
779
|
<span class="ruby-keyword">end</span></pre>
|
@@ -805,7 +806,7 @@
|
|
805
806
|
|
806
807
|
|
807
808
|
<div class="method-source-code" id="creator-source">
|
808
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
809
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 546</span>
|
809
810
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">creator</span>
|
810
811
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">creator</span>
|
811
812
|
<span class="ruby-keyword">end</span></pre>
|
@@ -838,7 +839,7 @@
|
|
838
839
|
|
839
840
|
|
840
841
|
<div class="method-source-code" id="creator-3D-source">
|
841
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
842
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 550</span>
|
842
843
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">creator=</span>(<span class="ruby-identifier">v</span>)
|
843
844
|
<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
845
|
<span class="ruby-keyword">end</span></pre>
|
@@ -871,7 +872,7 @@
|
|
871
872
|
|
872
873
|
|
873
874
|
<div class="method-source-code" id="date1904-source">
|
874
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
875
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 562</span>
|
875
876
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">date1904</span>
|
876
877
|
<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
878
|
<span class="ruby-keyword">end</span></pre>
|
@@ -904,7 +905,7 @@
|
|
904
905
|
|
905
906
|
|
906
907
|
<div class="method-source-code" id="date1904-3D-source">
|
907
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
908
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 566</span>
|
908
909
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">date1904=</span>(<span class="ruby-identifier">v</span>)
|
909
910
|
<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
911
|
<span class="ruby-identifier">workbook_properties</span>.<span class="ruby-identifier">date1904</span> = <span class="ruby-identifier">v</span>
|
@@ -940,7 +941,10 @@
|
|
940
941
|
<div class="method-source-code" id="date_to_num-source">
|
941
942
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 422</span>
|
942
943
|
<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-
|
944
|
+
<span class="ruby-keyword">case</span> <span class="ruby-identifier">date</span>
|
945
|
+
<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>
|
946
|
+
<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>
|
947
|
+
<span class="ruby-keyword">end</span>
|
944
948
|
<span class="ruby-keyword">end</span></pre>
|
945
949
|
</div>
|
946
950
|
|
@@ -971,7 +975,7 @@
|
|
971
975
|
|
972
976
|
|
973
977
|
<div class="method-source-code" id="modified_at-source">
|
974
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
978
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 511</span>
|
975
979
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">modified_at</span>
|
976
980
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">modified_at</span>
|
977
981
|
<span class="ruby-keyword">end</span></pre>
|
@@ -1004,7 +1008,7 @@
|
|
1004
1008
|
|
1005
1009
|
|
1006
1010
|
<div class="method-source-code" id="modified_at-3D-source">
|
1007
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
1011
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 515</span>
|
1008
1012
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">modified_at=</span>(<span class="ruby-identifier">v</span>)
|
1009
1013
|
<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
1014
|
<span class="ruby-keyword">end</span></pre>
|
@@ -1037,7 +1041,7 @@
|
|
1037
1041
|
|
1038
1042
|
|
1039
1043
|
<div class="method-source-code" id="modifier-source">
|
1040
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
1044
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 554</span>
|
1041
1045
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">modifier</span>
|
1042
1046
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">modifier</span>
|
1043
1047
|
<span class="ruby-keyword">end</span></pre>
|
@@ -1070,7 +1074,7 @@
|
|
1070
1074
|
|
1071
1075
|
|
1072
1076
|
<div class="method-source-code" id="modifier-3D-source">
|
1073
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
1077
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 558</span>
|
1074
1078
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">modifier=</span>(<span class="ruby-identifier">v</span>)
|
1075
1079
|
<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
1080
|
<span class="ruby-keyword">end</span></pre>
|
@@ -1103,14 +1107,17 @@
|
|
1103
1107
|
|
1104
1108
|
|
1105
1109
|
<div class="method-source-code" id="num_to_date-source">
|
1106
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
1110
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 429</span>
|
1107
1111
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">num_to_date</span>(<span class="ruby-identifier">num</span>)
|
1112
|
+
<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>
|
1113
|
+
|
1108
1114
|
<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">&
|
1115
|
+
<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
1116
|
<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
1117
|
<span class="ruby-keyword">end</span>
|
1112
1118
|
|
1113
|
-
<span class="ruby-identifier">
|
1119
|
+
<span class="ruby-identifier">dateparts</span> = <span class="ruby-identifier">num</span>.<span class="ruby-identifier">divmod</span>(<span class="ruby-value">1</span>)
|
1120
|
+
<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
1121
|
<span class="ruby-keyword">end</span></pre>
|
1115
1122
|
</div>
|
1116
1123
|
|
@@ -1298,12 +1305,13 @@
|
|
1298
1305
|
</section>
|
1299
1306
|
|
1300
1307
|
</section>
|
1308
|
+
|
1301
1309
|
</main>
|
1302
1310
|
|
1303
1311
|
|
1304
1312
|
<footer id="validator-badges" role="contentinfo">
|
1305
1313
|
<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.
|
1314
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
1307
1315
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
1308
1316
|
</footer>
|
1309
1317
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>module RubyXL::WorkbookConvenienceMethods - rubyXL 3.4.
|
7
|
+
<title>module RubyXL::WorkbookConvenienceMethods - rubyXL 3.4.16</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -22,6 +22,7 @@
|
|
22
22
|
|
23
23
|
|
24
24
|
|
25
|
+
|
25
26
|
<body id="top" role="document" class="module">
|
26
27
|
<nav role="navigation">
|
27
28
|
<div id="project-navigation">
|
@@ -724,12 +725,13 @@
|
|
724
725
|
</section>
|
725
726
|
|
726
727
|
</section>
|
728
|
+
|
727
729
|
</main>
|
728
730
|
|
729
731
|
|
730
732
|
<footer id="validator-badges" role="contentinfo">
|
731
733
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
732
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.
|
734
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
733
735
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
734
736
|
</footer>
|
735
737
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::WorkbookProperties - rubyXL 3.4.
|
7
|
+
<title>class RubyXL::WorkbookProperties - rubyXL 3.4.16</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -22,6 +22,7 @@
|
|
22
22
|
|
23
23
|
|
24
24
|
|
25
|
+
|
25
26
|
<body id="top" role="document" class="class">
|
26
27
|
<nav role="navigation">
|
27
28
|
<div id="project-navigation">
|
@@ -95,12 +96,13 @@
|
|
95
96
|
|
96
97
|
|
97
98
|
</section>
|
99
|
+
|
98
100
|
</main>
|
99
101
|
|
100
102
|
|
101
103
|
<footer id="validator-badges" role="contentinfo">
|
102
104
|
<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.
|
105
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
104
106
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
105
107
|
</footer>
|
106
108
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::WorkbookProtection - rubyXL 3.4.
|
7
|
+
<title>class RubyXL::WorkbookProtection - rubyXL 3.4.16</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -22,6 +22,7 @@
|
|
22
22
|
|
23
23
|
|
24
24
|
|
25
|
+
|
25
26
|
<body id="top" role="document" class="class">
|
26
27
|
<nav role="navigation">
|
27
28
|
<div id="project-navigation">
|
@@ -95,12 +96,13 @@
|
|
95
96
|
|
96
97
|
|
97
98
|
</section>
|
99
|
+
|
98
100
|
</main>
|
99
101
|
|
100
102
|
|
101
103
|
<footer id="validator-badges" role="contentinfo">
|
102
104
|
<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.
|
105
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
104
106
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
105
107
|
</footer>
|
106
108
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::WorkbookRoot - rubyXL 3.4.
|
7
|
+
<title>class RubyXL::WorkbookRoot - rubyXL 3.4.16</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -22,6 +22,7 @@
|
|
22
22
|
|
23
23
|
|
24
24
|
|
25
|
+
|
25
26
|
<body id="top" role="document" class="class">
|
26
27
|
<nav role="navigation">
|
27
28
|
<div id="project-navigation">
|
@@ -392,12 +393,13 @@
|
|
392
393
|
</section>
|
393
394
|
|
394
395
|
</section>
|
396
|
+
|
395
397
|
</main>
|
396
398
|
|
397
399
|
|
398
400
|
<footer id="validator-badges" role="contentinfo">
|
399
401
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
400
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.
|
402
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
401
403
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
402
404
|
</footer>
|
403
405
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::WorkbookView - rubyXL 3.4.
|
7
|
+
<title>class RubyXL::WorkbookView - rubyXL 3.4.16</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -22,6 +22,7 @@
|
|
22
22
|
|
23
23
|
|
24
24
|
|
25
|
+
|
25
26
|
<body id="top" role="document" class="class">
|
26
27
|
<nav role="navigation">
|
27
28
|
<div id="project-navigation">
|
@@ -95,12 +96,13 @@
|
|
95
96
|
|
96
97
|
|
97
98
|
</section>
|
99
|
+
|
98
100
|
</main>
|
99
101
|
|
100
102
|
|
101
103
|
<footer id="validator-badges" role="contentinfo">
|
102
104
|
<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.
|
105
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
104
106
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
105
107
|
</footer>
|
106
108
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::WorkbookViews - rubyXL 3.4.
|
7
|
+
<title>class RubyXL::WorkbookViews - rubyXL 3.4.16</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -22,6 +22,7 @@
|
|
22
22
|
|
23
23
|
|
24
24
|
|
25
|
+
|
25
26
|
<body id="top" role="document" class="class">
|
26
27
|
<nav role="navigation">
|
27
28
|
<div id="project-navigation">
|
@@ -95,12 +96,13 @@
|
|
95
96
|
|
96
97
|
|
97
98
|
</section>
|
99
|
+
|
98
100
|
</main>
|
99
101
|
|
100
102
|
|
101
103
|
<footer id="validator-badges" role="contentinfo">
|
102
104
|
<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.
|
105
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
104
106
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
105
107
|
</footer>
|
106
108
|
|
data/rdoc/RubyXL/Worksheet.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::Worksheet - rubyXL 3.4.
|
7
|
+
<title>class RubyXL::Worksheet - rubyXL 3.4.16</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -22,6 +22,7 @@
|
|
22
22
|
|
23
23
|
|
24
24
|
|
25
|
+
|
25
26
|
<body id="top" role="document" class="class">
|
26
27
|
<nav role="navigation">
|
27
28
|
<div id="project-navigation">
|
@@ -488,12 +489,13 @@
|
|
488
489
|
</section>
|
489
490
|
|
490
491
|
</section>
|
492
|
+
|
491
493
|
</main>
|
492
494
|
|
493
495
|
|
494
496
|
<footer id="validator-badges" role="contentinfo">
|
495
497
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
496
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.
|
498
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
497
499
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
498
500
|
</footer>
|
499
501
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>module RubyXL::WorksheetConvenienceMethods - rubyXL 3.4.
|
7
|
+
<title>module RubyXL::WorksheetConvenienceMethods - rubyXL 3.4.16</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -22,6 +22,7 @@
|
|
22
22
|
|
23
23
|
|
24
24
|
|
25
|
+
|
25
26
|
<body id="top" role="document" class="module">
|
26
27
|
<nav role="navigation">
|
27
28
|
<div id="project-navigation">
|
@@ -67,6 +68,8 @@
|
|
67
68
|
|
68
69
|
<ul class="link-list" role="directory">
|
69
70
|
|
71
|
+
<li ><a href="#method-i-add_validation_list">#add_validation_list</a>
|
72
|
+
|
70
73
|
<li ><a href="#method-i-change_column_alignment">#change_column_alignment</a>
|
71
74
|
|
72
75
|
<li ><a href="#method-i-change_column_bold">#change_column_bold</a>
|
@@ -279,6 +282,47 @@
|
|
279
282
|
</header>
|
280
283
|
|
281
284
|
|
285
|
+
<div id="method-i-add_validation_list" class="method-detail ">
|
286
|
+
|
287
|
+
<div class="method-heading">
|
288
|
+
<span class="method-name">add_validation_list</span><span
|
289
|
+
class="method-args">(ref, list_arr)</span>
|
290
|
+
|
291
|
+
<span class="method-click-advice">click to toggle source</span>
|
292
|
+
|
293
|
+
</div>
|
294
|
+
|
295
|
+
|
296
|
+
<div class="method-description">
|
297
|
+
|
298
|
+
|
299
|
+
|
300
|
+
|
301
|
+
|
302
|
+
|
303
|
+
<div class="method-source-code" id="add_validation_list-source">
|
304
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/worksheet.rb, line 636</span>
|
305
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">add_validation_list</span>(<span class="ruby-identifier">ref</span>, <span class="ruby-identifier">list_arr</span>)
|
306
|
+
<span class="ruby-comment"># "Any double quote characters in the value should be escaped with another double quote.</span>
|
307
|
+
<span class="ruby-comment"># If the value does not contain a comma, newline or double quote, then the String value should be returned unchanged.</span>
|
308
|
+
<span class="ruby-comment"># If the value contains a comma, newline or double quote, then the String value should be returned enclosed in double quotes."</span>
|
309
|
+
<span class="ruby-identifier">expr</span> = <span class="ruby-string">'"'</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">list_arr</span>.<span class="ruby-identifier">collect</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">str</span><span class="ruby-operator">|</span> <span class="ruby-identifier">str</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-string">'"'</span>, <span class="ruby-string">'""'</span>)}.<span class="ruby-identifier">join</span>(<span class="ruby-string">','</span>) <span class="ruby-operator">+</span> <span class="ruby-string">'"'</span>
|
310
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">data_validations</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">DataValidations</span>.<span class="ruby-identifier">new</span>
|
311
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">data_validations</span> <span class="ruby-operator"><<</span>
|
312
|
+
<span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">DataValidation</span>.<span class="ruby-identifier">new</span>({<span class="ruby-value">:sqref</span> <span class="ruby-operator">=></span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Reference</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">ref</span>),
|
313
|
+
<span class="ruby-value">:formula1</span> <span class="ruby-operator">=></span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Formula</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:expression</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">expr</span>),
|
314
|
+
<span class="ruby-value">:type</span> <span class="ruby-operator">=></span> <span class="ruby-string">'list'</span>})
|
315
|
+
<span class="ruby-keyword">end</span></pre>
|
316
|
+
</div>
|
317
|
+
|
318
|
+
</div>
|
319
|
+
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
</div>
|
324
|
+
|
325
|
+
|
282
326
|
<div id="method-i-change_column_alignment" class="method-detail ">
|
283
327
|
|
284
328
|
<div class="method-heading">
|
@@ -2858,12 +2902,13 @@
|
|
2858
2902
|
</section>
|
2859
2903
|
|
2860
2904
|
</section>
|
2905
|
+
|
2861
2906
|
</main>
|
2862
2907
|
|
2863
2908
|
|
2864
2909
|
<footer id="validator-badges" role="contentinfo">
|
2865
2910
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
2866
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.
|
2911
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
2867
2912
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
2868
2913
|
</footer>
|
2869
2914
|
|