rubyXL 3.4.16 → 3.4.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- 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/worksheet.rb +65 -0
- data/lib/rubyXL/objects/font.rb +1 -1
- data/lib/rubyXL/objects/ooxml_object.rb +7 -5
- data/lib/rubyXL/objects/reference.rb +2 -5
- data/lib/rubyXL/objects/sheet_data.rb +2 -1
- data/lib/rubyXL/objects/simple_types.rb +2 -0
- data/lib/rubyXL/objects/text.rb +2 -1
- data/rdoc/README_rdoc.html +14 -13
- 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 +10 -44
- 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 +21 -107
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +23 -145
- 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 +5 -14
- data/rdoc/RubyXL/OleItems.html +5 -14
- data/rdoc/RubyXL/OleLink.html +5 -14
- 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 +11 -439
- 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 +8 -321
- data/rdoc/created.rid +11 -11
- 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 +5 -394
- 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 +4 -821
- data/rubyXL.gemspec +8 -8
- data/spec/lib/cell_spec.rb +6 -0
- data/spec/lib/worksheet_spec.rb +303 -2
- metadata +4 -4
data/rdoc/RubyXL/Cell.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::Cell - rubyXL 3.4.
|
7
|
+
<title>class RubyXL::Cell - rubyXL 3.4.21</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,61 +57,43 @@
|
|
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="OOXMLObject.html">RubyXL::OOXMLObject</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="LegacyCell.html">RubyXL::LegacyCell</a>
|
77
|
-
|
78
|
-
|
79
73
|
</ul>
|
80
74
|
</div>
|
81
75
|
|
82
76
|
|
83
|
-
|
77
|
+
|
78
|
+
<!-- Method Quickref -->
|
84
79
|
<div id="method-list-section" class="nav-section">
|
85
80
|
<h3>Methods</h3>
|
86
81
|
|
87
82
|
<ul class="link-list" role="directory">
|
88
|
-
|
89
83
|
<li ><a href="#method-i-column">#column</a>
|
90
|
-
|
91
84
|
<li ><a href="#method-i-column-3D">#column=</a>
|
92
|
-
|
93
85
|
<li ><a href="#method-i-get_cell_border">#get_cell_border</a>
|
94
|
-
|
95
86
|
<li ><a href="#method-i-get_cell_font">#get_cell_font</a>
|
96
|
-
|
97
87
|
<li ><a href="#method-i-get_cell_xf">#get_cell_xf</a>
|
98
|
-
|
99
88
|
<li ><a href="#method-i-index_in_collection">#index_in_collection</a>
|
100
|
-
|
101
89
|
<li ><a href="#method-i-inspect">#inspect</a>
|
102
|
-
|
103
90
|
<li ><a href="#method-i-is_date-3F">#is_date?</a>
|
104
|
-
|
105
91
|
<li ><a href="#method-i-number_format">#number_format</a>
|
106
|
-
|
107
92
|
<li ><a href="#method-i-raw_value">#raw_value</a>
|
108
|
-
|
109
93
|
<li ><a href="#method-i-raw_value-3D">#raw_value=</a>
|
110
|
-
|
111
94
|
<li ><a href="#method-i-row">#row</a>
|
112
|
-
|
113
95
|
<li ><a href="#method-i-row-3D">#row=</a>
|
114
|
-
|
115
96
|
<li ><a href="#method-i-value">#value</a>
|
116
|
-
|
117
97
|
</ul>
|
118
98
|
</div>
|
119
99
|
|
@@ -131,35 +111,24 @@
|
|
131
111
|
|
132
112
|
</section>
|
133
113
|
|
134
|
-
|
135
114
|
<section id="5Buntitled-5D" class="documentation-section">
|
136
|
-
|
137
115
|
|
138
|
-
|
139
116
|
|
140
|
-
|
141
117
|
<section class="constants-list">
|
142
118
|
<header>
|
143
119
|
<h3>Constants</h3>
|
144
120
|
</header>
|
145
121
|
<dl>
|
146
|
-
|
147
122
|
<dt id="NUMBER_REGEXP">NUMBER_REGEXP
|
148
|
-
|
149
123
|
<dd>
|
150
|
-
|
151
|
-
|
152
124
|
</dl>
|
153
125
|
</section>
|
154
|
-
|
155
126
|
|
156
|
-
|
157
127
|
<section class="attribute-method-details" class="method-section">
|
158
128
|
<header>
|
159
129
|
<h3>Attributes</h3>
|
160
130
|
</header>
|
161
131
|
|
162
|
-
|
163
132
|
<div id="attribute-i-worksheet" class="method-detail">
|
164
133
|
<div class="method-heading attribute-method-heading">
|
165
134
|
<span class="method-name">worksheet</span><span
|
@@ -168,239 +137,154 @@
|
|
168
137
|
|
169
138
|
<div class="method-description">
|
170
139
|
|
171
|
-
|
172
|
-
|
173
140
|
</div>
|
174
141
|
</div>
|
175
|
-
|
176
142
|
</section>
|
177
|
-
|
178
143
|
|
179
|
-
|
144
|
+
|
180
145
|
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
181
146
|
<header>
|
182
147
|
<h3>Public Instance Methods</h3>
|
183
148
|
</header>
|
184
149
|
|
185
|
-
|
186
150
|
<div id="method-i-column" class="method-detail ">
|
187
|
-
|
188
151
|
<div class="method-heading">
|
189
152
|
<span class="method-name">column</span><span
|
190
153
|
class="method-args">()</span>
|
191
|
-
|
192
154
|
<span class="method-click-advice">click to toggle source</span>
|
193
|
-
|
194
155
|
</div>
|
195
|
-
|
196
156
|
|
197
157
|
<div class="method-description">
|
198
158
|
|
199
|
-
|
200
|
-
|
201
|
-
|
202
159
|
|
203
|
-
|
204
160
|
<div class="method-source-code" id="column-source">
|
205
161
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 61</span>
|
206
162
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">column</span>
|
207
163
|
<span class="ruby-identifier">r</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">first_col</span>
|
208
164
|
<span class="ruby-keyword">end</span></pre>
|
209
165
|
</div>
|
210
|
-
|
211
166
|
</div>
|
212
167
|
|
213
|
-
|
214
168
|
|
215
|
-
|
216
169
|
</div>
|
217
170
|
|
218
|
-
|
219
171
|
<div id="method-i-column-3D" class="method-detail ">
|
220
|
-
|
221
172
|
<div class="method-heading">
|
222
173
|
<span class="method-name">column=</span><span
|
223
174
|
class="method-args">(v)</span>
|
224
|
-
|
225
175
|
<span class="method-click-advice">click to toggle source</span>
|
226
|
-
|
227
176
|
</div>
|
228
|
-
|
229
177
|
|
230
178
|
<div class="method-description">
|
231
179
|
|
232
|
-
|
233
|
-
|
234
|
-
|
235
180
|
|
236
|
-
|
237
181
|
<div class="method-source-code" id="column-3D-source">
|
238
182
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 65</span>
|
239
183
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">column=</span>(<span class="ruby-identifier">v</span>)
|
240
184
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">r</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">row</span> <span class="ruby-operator">||</span> <span class="ruby-value">0</span>, <span class="ruby-identifier">v</span>)
|
241
185
|
<span class="ruby-keyword">end</span></pre>
|
242
186
|
</div>
|
243
|
-
|
244
187
|
</div>
|
245
188
|
|
246
|
-
|
247
189
|
|
248
|
-
|
249
190
|
</div>
|
250
191
|
|
251
|
-
|
252
192
|
<div id="method-i-get_cell_border" class="method-detail ">
|
253
|
-
|
254
193
|
<div class="method-heading">
|
255
194
|
<span class="method-name">get_cell_border</span><span
|
256
195
|
class="method-args">()</span>
|
257
|
-
|
258
196
|
<span class="method-click-advice">click to toggle source</span>
|
259
|
-
|
260
197
|
</div>
|
261
|
-
|
262
198
|
|
263
199
|
<div class="method-description">
|
264
200
|
|
265
|
-
|
266
|
-
|
267
|
-
|
268
201
|
|
269
|
-
|
270
202
|
<div class="method-source-code" id="get_cell_border-source">
|
271
203
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 86</span>
|
272
204
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_cell_border</span>
|
273
205
|
<span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">stylesheet</span>.<span class="ruby-identifier">borders</span>[<span class="ruby-identifier">get_cell_xf</span>.<span class="ruby-identifier">border_id</span>]
|
274
206
|
<span class="ruby-keyword">end</span></pre>
|
275
207
|
</div>
|
276
|
-
|
277
208
|
</div>
|
278
209
|
|
279
|
-
|
280
210
|
|
281
|
-
|
282
211
|
</div>
|
283
212
|
|
284
|
-
|
285
213
|
<div id="method-i-get_cell_font" class="method-detail ">
|
286
|
-
|
287
214
|
<div class="method-heading">
|
288
215
|
<span class="method-name">get_cell_font</span><span
|
289
216
|
class="method-args">()</span>
|
290
|
-
|
291
217
|
<span class="method-click-advice">click to toggle source</span>
|
292
|
-
|
293
218
|
</div>
|
294
|
-
|
295
219
|
|
296
220
|
<div class="method-description">
|
297
221
|
|
298
|
-
|
299
|
-
|
300
|
-
|
301
222
|
|
302
|
-
|
303
223
|
<div class="method-source-code" id="get_cell_font-source">
|
304
224
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 82</span>
|
305
225
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_cell_font</span>
|
306
226
|
<span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">stylesheet</span>.<span class="ruby-identifier">fonts</span>[<span class="ruby-identifier">get_cell_xf</span>.<span class="ruby-identifier">font_id</span>]
|
307
227
|
<span class="ruby-keyword">end</span></pre>
|
308
228
|
</div>
|
309
|
-
|
310
229
|
</div>
|
311
230
|
|
312
|
-
|
313
231
|
|
314
|
-
|
315
232
|
</div>
|
316
233
|
|
317
|
-
|
318
234
|
<div id="method-i-get_cell_xf" class="method-detail ">
|
319
|
-
|
320
235
|
<div class="method-heading">
|
321
236
|
<span class="method-name">get_cell_xf</span><span
|
322
237
|
class="method-args">()</span>
|
323
|
-
|
324
238
|
<span class="method-click-advice">click to toggle source</span>
|
325
|
-
|
326
239
|
</div>
|
327
|
-
|
328
240
|
|
329
241
|
<div class="method-description">
|
330
242
|
|
331
|
-
|
332
|
-
|
333
|
-
|
334
243
|
|
335
|
-
|
336
244
|
<div class="method-source-code" id="get_cell_xf-source">
|
337
245
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 78</span>
|
338
246
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_cell_xf</span>
|
339
247
|
<span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">stylesheet</span>.<span class="ruby-identifier">cell_xfs</span>[<span class="ruby-keyword">self</span>.<span class="ruby-identifier">style_index</span> <span class="ruby-operator">||</span> <span class="ruby-value">0</span>]
|
340
248
|
<span class="ruby-keyword">end</span></pre>
|
341
249
|
</div>
|
342
|
-
|
343
250
|
</div>
|
344
251
|
|
345
|
-
|
346
252
|
|
347
|
-
|
348
253
|
</div>
|
349
254
|
|
350
|
-
|
351
255
|
<div id="method-i-index_in_collection" class="method-detail ">
|
352
|
-
|
353
256
|
<div class="method-heading">
|
354
257
|
<span class="method-name">index_in_collection</span><span
|
355
258
|
class="method-args">()</span>
|
356
|
-
|
357
259
|
<span class="method-click-advice">click to toggle source</span>
|
358
|
-
|
359
260
|
</div>
|
360
|
-
|
361
261
|
|
362
262
|
<div class="method-description">
|
363
263
|
|
364
|
-
|
365
|
-
|
366
|
-
|
367
264
|
|
368
|
-
|
369
265
|
<div class="method-source-code" id="index_in_collection-source">
|
370
266
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 49</span>
|
371
267
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">index_in_collection</span>
|
372
268
|
<span class="ruby-identifier">r</span>.<span class="ruby-identifier">col_range</span>.<span class="ruby-identifier">begin</span>
|
373
269
|
<span class="ruby-keyword">end</span></pre>
|
374
270
|
</div>
|
375
|
-
|
376
271
|
</div>
|
377
272
|
|
378
|
-
|
379
273
|
|
380
|
-
|
381
274
|
</div>
|
382
275
|
|
383
|
-
|
384
276
|
<div id="method-i-inspect" class="method-detail ">
|
385
|
-
|
386
277
|
<div class="method-heading">
|
387
278
|
<span class="method-name">inspect</span><span
|
388
279
|
class="method-args">()</span>
|
389
|
-
|
390
280
|
<span class="method-click-advice">click to toggle source</span>
|
391
|
-
|
392
281
|
</div>
|
393
|
-
|
394
282
|
|
395
283
|
<div class="method-description">
|
396
284
|
|
397
|
-
|
398
|
-
|
399
|
-
|
400
285
|
|
401
|
-
|
402
286
|
<div class="method-source-code" id="inspect-source">
|
403
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line
|
287
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 127</span>
|
404
288
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">inspect</span>
|
405
289
|
<span class="ruby-identifier">str</span> = <span class="ruby-node">"#<#{self.class}(#{row},#{column}): #{raw_value.inspect}"</span>
|
406
290
|
<span class="ruby-identifier">str</span> <span class="ruby-operator"><<</span> <span class="ruby-node">" =#{self.formula.expression}"</span> <span class="ruby-keyword">if</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">formula</span>
|
@@ -408,33 +292,21 @@
|
|
408
292
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">str</span>
|
409
293
|
<span class="ruby-keyword">end</span></pre>
|
410
294
|
</div>
|
411
|
-
|
412
295
|
</div>
|
413
296
|
|
414
|
-
|
415
297
|
|
416
|
-
|
417
298
|
</div>
|
418
299
|
|
419
|
-
|
420
300
|
<div id="method-i-is_date-3F" class="method-detail ">
|
421
|
-
|
422
301
|
<div class="method-heading">
|
423
302
|
<span class="method-name">is_date?</span><span
|
424
303
|
class="method-args">()</span>
|
425
|
-
|
426
304
|
<span class="method-click-advice">click to toggle source</span>
|
427
|
-
|
428
305
|
</div>
|
429
|
-
|
430
306
|
|
431
307
|
<div class="method-description">
|
432
308
|
|
433
|
-
|
434
|
-
|
435
|
-
|
436
309
|
|
437
|
-
|
438
310
|
<div class="method-source-code" id="is_date-3F-source">
|
439
311
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 94</span>
|
440
312
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">is_date?</span>
|
@@ -449,99 +321,63 @@
|
|
449
321
|
<span class="ruby-identifier">num_fmt</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">num_fmt</span>.<span class="ruby-identifier">is_date_format?</span>
|
450
322
|
<span class="ruby-keyword">end</span></pre>
|
451
323
|
</div>
|
452
|
-
|
453
324
|
</div>
|
454
325
|
|
455
|
-
|
456
326
|
|
457
|
-
|
458
327
|
</div>
|
459
328
|
|
460
|
-
|
461
329
|
<div id="method-i-number_format" class="method-detail ">
|
462
|
-
|
463
330
|
<div class="method-heading">
|
464
331
|
<span class="method-name">number_format</span><span
|
465
332
|
class="method-args">()</span>
|
466
|
-
|
467
333
|
<span class="method-click-advice">click to toggle source</span>
|
468
|
-
|
469
334
|
</div>
|
470
|
-
|
471
335
|
|
472
336
|
<div class="method-description">
|
473
337
|
|
474
|
-
|
475
|
-
|
476
|
-
|
477
338
|
|
478
|
-
|
479
339
|
<div class="method-source-code" id="number_format-source">
|
480
340
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 90</span>
|
481
341
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">number_format</span>
|
482
342
|
<span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">stylesheet</span>.<span class="ruby-identifier">get_number_format_by_id</span>(<span class="ruby-identifier">get_cell_xf</span>.<span class="ruby-identifier">num_fmt_id</span>)
|
483
343
|
<span class="ruby-keyword">end</span></pre>
|
484
344
|
</div>
|
485
|
-
|
486
345
|
</div>
|
487
346
|
|
488
|
-
|
489
347
|
|
490
|
-
|
491
348
|
</div>
|
492
349
|
|
493
|
-
|
494
350
|
<div id="method-i-raw_value" class="method-detail ">
|
495
|
-
|
496
351
|
<div class="method-heading">
|
497
352
|
<span class="method-name">raw_value</span><span
|
498
353
|
class="method-args">()</span>
|
499
|
-
|
500
354
|
<span class="method-click-advice">click to toggle source</span>
|
501
|
-
|
502
355
|
</div>
|
503
|
-
|
504
356
|
|
505
357
|
<div class="method-description">
|
506
358
|
|
507
|
-
|
508
|
-
|
509
|
-
|
510
359
|
|
511
|
-
|
512
360
|
<div class="method-source-code" id="raw_value-source">
|
513
361
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 69</span>
|
514
362
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">raw_value</span>
|
515
363
|
<span class="ruby-identifier">value_container</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">value_container</span>.<span class="ruby-identifier">value</span>
|
516
364
|
<span class="ruby-keyword">end</span></pre>
|
517
365
|
</div>
|
518
|
-
|
519
366
|
</div>
|
520
367
|
|
521
|
-
|
522
368
|
|
523
|
-
|
524
369
|
</div>
|
525
370
|
|
526
|
-
|
527
371
|
<div id="method-i-raw_value-3D" class="method-detail ">
|
528
|
-
|
529
372
|
<div class="method-heading">
|
530
373
|
<span class="method-name">raw_value=</span><span
|
531
374
|
class="method-args">(v)</span>
|
532
|
-
|
533
375
|
<span class="method-click-advice">click to toggle source</span>
|
534
|
-
|
535
376
|
</div>
|
536
|
-
|
537
377
|
|
538
378
|
<div class="method-description">
|
539
379
|
|
540
|
-
|
541
|
-
|
542
|
-
|
543
380
|
|
544
|
-
|
545
381
|
<div class="method-source-code" id="raw_value-3D-source">
|
546
382
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 73</span>
|
547
383
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">raw_value=</span>(<span class="ruby-identifier">v</span>)
|
@@ -549,99 +385,63 @@
|
|
549
385
|
<span class="ruby-identifier">value_container</span>.<span class="ruby-identifier">value</span> = <span class="ruby-identifier">v</span>
|
550
386
|
<span class="ruby-keyword">end</span></pre>
|
551
387
|
</div>
|
552
|
-
|
553
388
|
</div>
|
554
389
|
|
555
|
-
|
556
390
|
|
557
|
-
|
558
391
|
</div>
|
559
392
|
|
560
|
-
|
561
393
|
<div id="method-i-row" class="method-detail ">
|
562
|
-
|
563
394
|
<div class="method-heading">
|
564
395
|
<span class="method-name">row</span><span
|
565
396
|
class="method-args">()</span>
|
566
|
-
|
567
397
|
<span class="method-click-advice">click to toggle source</span>
|
568
|
-
|
569
398
|
</div>
|
570
|
-
|
571
399
|
|
572
400
|
<div class="method-description">
|
573
401
|
|
574
|
-
|
575
|
-
|
576
|
-
|
577
402
|
|
578
|
-
|
579
403
|
<div class="method-source-code" id="row-source">
|
580
404
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 53</span>
|
581
405
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">row</span>
|
582
406
|
<span class="ruby-identifier">r</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">first_row</span>
|
583
407
|
<span class="ruby-keyword">end</span></pre>
|
584
408
|
</div>
|
585
|
-
|
586
409
|
</div>
|
587
410
|
|
588
|
-
|
589
411
|
|
590
|
-
|
591
412
|
</div>
|
592
413
|
|
593
|
-
|
594
414
|
<div id="method-i-row-3D" class="method-detail ">
|
595
|
-
|
596
415
|
<div class="method-heading">
|
597
416
|
<span class="method-name">row=</span><span
|
598
417
|
class="method-args">(v)</span>
|
599
|
-
|
600
418
|
<span class="method-click-advice">click to toggle source</span>
|
601
|
-
|
602
419
|
</div>
|
603
|
-
|
604
420
|
|
605
421
|
<div class="method-description">
|
606
422
|
|
607
|
-
|
608
|
-
|
609
|
-
|
610
423
|
|
611
|
-
|
612
424
|
<div class="method-source-code" id="row-3D-source">
|
613
425
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 57</span>
|
614
426
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">row=</span>(<span class="ruby-identifier">v</span>)
|
615
427
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">r</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">v</span>, <span class="ruby-identifier">column</span> <span class="ruby-operator">||</span> <span class="ruby-value">0</span>)
|
616
428
|
<span class="ruby-keyword">end</span></pre>
|
617
429
|
</div>
|
618
|
-
|
619
430
|
</div>
|
620
431
|
|
621
|
-
|
622
432
|
|
623
|
-
|
624
433
|
</div>
|
625
434
|
|
626
|
-
|
627
435
|
<div id="method-i-value" class="method-detail ">
|
628
|
-
|
629
436
|
<div class="method-heading">
|
630
437
|
<span class="method-name">value</span><span
|
631
438
|
class="method-args">(args = {})</span>
|
632
|
-
|
633
439
|
<span class="method-click-advice">click to toggle source</span>
|
634
|
-
|
635
440
|
</div>
|
636
|
-
|
637
441
|
|
638
442
|
<div class="method-description">
|
639
|
-
|
640
443
|
<p>Gets massaged value of the cell, converting datatypes to those known to Ruby (that includes stripping any special formatting from <a href="RichText.html"><code>RichText</code></a>).</p>
|
641
|
-
|
642
|
-
|
643
444
|
|
644
|
-
|
645
445
|
<div class="method-source-code" id="value-source">
|
646
446
|
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 108</span>
|
647
447
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">value</span>(<span class="ruby-identifier">args</span> = {})
|
@@ -652,7 +452,8 @@
|
|
652
452
|
<span class="ruby-keyword">when</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">DataType</span><span class="ruby-operator">::</span><span class="ruby-constant">INLINE_STRING</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">is</span>.<span class="ruby-identifier">to_s</span>
|
653
453
|
<span class="ruby-keyword">when</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">DataType</span><span class="ruby-operator">::</span><span class="ruby-constant">RAW_STRING</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">raw_value</span>
|
654
454
|
<span class="ruby-keyword">else</span>
|
655
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">
|
455
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">is</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">is</span>.<span class="ruby-identifier">to_s</span>
|
456
|
+
<span class="ruby-keyword">elsif</span> <span class="ruby-identifier">is_date?</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">num_to_date</span>(<span class="ruby-identifier">r</span>.<span class="ruby-identifier">to_f</span>)
|
656
457
|
<span class="ruby-keyword">elsif</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">String</span>) <span class="ruby-operator">&&</span> (<span class="ruby-identifier">r</span> <span class="ruby-operator">=~</span> <span class="ruby-constant">NUMBER_REGEXP</span>) <span class="ruby-keyword">then</span> <span class="ruby-comment"># Numeric</span>
|
657
458
|
<span class="ruby-keyword">if</span> <span class="ruby-node">$1</span> <span class="ruby-operator">!=</span> <span class="ruby-string">''</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">to_f</span>
|
658
459
|
<span class="ruby-keyword">else</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">to_i</span>
|
@@ -662,25 +463,20 @@
|
|
662
463
|
<span class="ruby-keyword">end</span>
|
663
464
|
<span class="ruby-keyword">end</span></pre>
|
664
465
|
</div>
|
665
|
-
|
666
466
|
</div>
|
667
467
|
|
668
|
-
|
669
468
|
|
670
|
-
|
671
469
|
</div>
|
672
470
|
|
673
|
-
|
674
471
|
</section>
|
675
|
-
|
676
|
-
</section>
|
677
472
|
|
473
|
+
</section>
|
678
474
|
</main>
|
679
475
|
|
680
476
|
|
681
477
|
<footer id="validator-badges" role="contentinfo">
|
682
478
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
683
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
479
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.
|
684
480
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
685
481
|
</footer>
|
686
482
|
|