rubyXL 3.3.33 → 3.4.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.circleci/config.yml +60 -0
- data/Gemfile +9 -8
- data/Gemfile.lock +124 -0
- data/LICENSE.txt +1 -1
- data/README.rdoc +46 -22
- data/Rakefile +29 -29
- data/VERSION +1 -1
- data/lib/rubyXL/cell.rb +2 -29
- data/lib/rubyXL/convenience_methods/cell.rb +276 -0
- data/lib/rubyXL/convenience_methods/color.rb +156 -0
- data/lib/rubyXL/convenience_methods/font.rb +63 -0
- data/lib/rubyXL/convenience_methods/workbook.rb +141 -0
- data/lib/rubyXL/convenience_methods/worksheet.rb +714 -0
- data/lib/rubyXL/convenience_methods.rb +5 -1301
- data/lib/rubyXL/objects/border.rb +0 -3
- data/lib/rubyXL/objects/calculation_chain.rb +2 -2
- data/lib/rubyXL/objects/cell_style.rb +1 -3
- data/lib/rubyXL/objects/chartsheet.rb +8 -12
- data/lib/rubyXL/objects/color.rb +3 -7
- data/lib/rubyXL/objects/column_range.rb +0 -3
- data/lib/rubyXL/objects/comments.rb +1 -4
- data/lib/rubyXL/objects/connection.rb +175 -0
- data/lib/rubyXL/objects/container_nodes.rb +1 -5
- data/lib/rubyXL/objects/content_types.rb +3 -6
- data/lib/rubyXL/objects/data_validation.rb +2 -2
- data/lib/rubyXL/objects/document_properties.rb +11 -15
- data/lib/rubyXL/objects/extensions.rb +0 -2
- data/lib/rubyXL/objects/external_links.rb +30 -8
- data/lib/rubyXL/objects/fill.rb +2 -5
- data/lib/rubyXL/objects/filters.rb +5 -7
- data/lib/rubyXL/objects/font.rb +2 -7
- data/lib/rubyXL/objects/formula.rb +3 -5
- data/lib/rubyXL/objects/ooxml_object.rb +26 -19
- data/lib/rubyXL/objects/query_table.rb +104 -0
- data/lib/rubyXL/objects/reference.rb +6 -8
- data/lib/rubyXL/objects/relationships.rb +13 -13
- data/lib/rubyXL/objects/root.rb +0 -2
- data/lib/rubyXL/objects/shared_strings.rb +3 -6
- data/lib/rubyXL/objects/sheet_common.rb +1 -3
- data/lib/rubyXL/objects/sheet_data.rb +38 -11
- data/lib/rubyXL/objects/simple_types.rb +16 -1
- data/lib/rubyXL/objects/storage.rb +51 -50
- data/lib/rubyXL/objects/stylesheet.rb +8 -15
- data/lib/rubyXL/objects/text.rb +5 -7
- data/lib/rubyXL/objects/theme.rb +5 -8
- data/lib/rubyXL/objects/workbook.rb +140 -33
- data/lib/rubyXL/objects/worksheet.rb +44 -31
- data/lib/rubyXL/parser.rb +1 -3
- data/lib/rubyXL/worksheet.rb +83 -91
- data/lib/rubyXL.rb +1 -1
- data/rdoc/README_rdoc.html +111 -126
- data/rdoc/RubyXL/AExtension.html +20 -60
- data/rdoc/RubyXL/AExtensionStorageArea.html +11 -17
- data/rdoc/RubyXL/ActiveX.html +19 -47
- data/rdoc/RubyXL/ActiveXBinary.html +11 -22
- data/rdoc/RubyXL/AdjustHandleList.html +12 -19
- data/rdoc/RubyXL/Alignment.html +12 -19
- data/rdoc/RubyXL/AlternateContent.html +11 -17
- data/rdoc/RubyXL/Authors.html +12 -19
- data/rdoc/RubyXL/AutoFilter.html +12 -19
- data/rdoc/RubyXL/AutoFilterColumn.html +12 -19
- data/rdoc/RubyXL/BinaryImageFile.html +11 -25
- data/rdoc/RubyXL/BodyProperties.html +12 -19
- data/rdoc/RubyXL/BooleanNode.html +11 -17
- data/rdoc/RubyXL/BooleanValue.html +11 -17
- data/rdoc/RubyXL/Border.html +24 -84
- data/rdoc/RubyXL/BorderEdge.html +19 -52
- data/rdoc/RubyXL/Borders.html +18 -39
- data/rdoc/RubyXL/Break.html +12 -19
- data/rdoc/RubyXL/BreakList.html +12 -19
- data/rdoc/RubyXL/CT_AdjPoint2D.html +12 -19
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +12 -19
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +12 -19
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +12 -19
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +12 -19
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +12 -19
- data/rdoc/RubyXL/CT_Backdrop.html +12 -19
- data/rdoc/RubyXL/CT_Bevel.html +12 -19
- data/rdoc/RubyXL/CT_BiLevelEffect.html +12 -19
- data/rdoc/RubyXL/CT_BlendEffect.html +12 -19
- data/rdoc/RubyXL/CT_Blip.html +12 -19
- data/rdoc/RubyXL/CT_BlipFillProperties.html +12 -19
- data/rdoc/RubyXL/CT_BlurEffect.html +12 -19
- data/rdoc/RubyXL/CT_Camera.html +12 -19
- data/rdoc/RubyXL/CT_Color.html +12 -19
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +12 -19
- data/rdoc/RubyXL/CT_ColorMapping.html +12 -19
- data/rdoc/RubyXL/CT_ColorScheme.html +12 -19
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +12 -19
- data/rdoc/RubyXL/CT_ConnectionSite.html +12 -19
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +12 -19
- data/rdoc/RubyXL/CT_DashStop.html +12 -19
- data/rdoc/RubyXL/CT_DashStopList.html +12 -19
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +12 -19
- data/rdoc/RubyXL/CT_DuotoneEffect.html +12 -19
- data/rdoc/RubyXL/CT_EffectContainer.html +12 -19
- data/rdoc/RubyXL/CT_EffectList.html +12 -19
- data/rdoc/RubyXL/CT_EffectReference.html +12 -19
- data/rdoc/RubyXL/CT_EffectStyleItem.html +12 -19
- data/rdoc/RubyXL/CT_EffectStyleList.html +12 -19
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +12 -19
- data/rdoc/RubyXL/CT_FillEffect.html +12 -19
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +12 -19
- data/rdoc/RubyXL/CT_FillStyleList.html +12 -19
- data/rdoc/RubyXL/CT_FlatText.html +12 -19
- data/rdoc/RubyXL/CT_FontCollection.html +12 -19
- data/rdoc/RubyXL/CT_FontReference.html +12 -19
- data/rdoc/RubyXL/CT_GeomGuideList.html +12 -19
- data/rdoc/RubyXL/CT_GlowEffect.html +12 -19
- data/rdoc/RubyXL/CT_GradientFillProperties.html +12 -19
- data/rdoc/RubyXL/CT_GradientStop.html +12 -19
- data/rdoc/RubyXL/CT_GradientStopList.html +12 -19
- data/rdoc/RubyXL/CT_HSLEffect.html +12 -19
- data/rdoc/RubyXL/CT_HslColor.html +12 -19
- data/rdoc/RubyXL/CT_Hyperlink.html +12 -19
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +12 -19
- data/rdoc/RubyXL/CT_LightRig.html +12 -19
- data/rdoc/RubyXL/CT_LineEndProperties.html +12 -19
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +12 -19
- data/rdoc/RubyXL/CT_LineProperties.html +12 -19
- data/rdoc/RubyXL/CT_LineStyleList.html +12 -19
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +12 -19
- data/rdoc/RubyXL/CT_LuminanceEffect.html +12 -19
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +12 -19
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +12 -19
- data/rdoc/RubyXL/CT_Path2D.html +12 -19
- data/rdoc/RubyXL/CT_Path2DArcTo.html +12 -19
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +12 -19
- data/rdoc/RubyXL/CT_Path2DList.html +12 -19
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +12 -19
- data/rdoc/RubyXL/CT_Path2DTo.html +12 -19
- data/rdoc/RubyXL/CT_PathShadeProperties.html +12 -19
- data/rdoc/RubyXL/CT_PatternFillProperties.html +12 -19
- data/rdoc/RubyXL/CT_Point3D.html +12 -19
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +12 -19
- data/rdoc/RubyXL/CT_PresetColor.html +12 -19
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +12 -19
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +12 -19
- data/rdoc/RubyXL/CT_PresetTextShape.html +12 -19
- data/rdoc/RubyXL/CT_ReflectionEffect.html +12 -19
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +12 -19
- data/rdoc/RubyXL/CT_RelativeRect.html +12 -19
- data/rdoc/RubyXL/CT_SRgbColor.html +12 -19
- data/rdoc/RubyXL/CT_ScRgbColor.html +12 -19
- data/rdoc/RubyXL/CT_Scene3D.html +12 -19
- data/rdoc/RubyXL/CT_SchemeColor.html +12 -19
- data/rdoc/RubyXL/CT_Shape3D.html +12 -19
- data/rdoc/RubyXL/CT_ShapeStyle.html +12 -19
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +12 -19
- data/rdoc/RubyXL/CT_SphereCoords.html +12 -19
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +12 -19
- data/rdoc/RubyXL/CT_StyleMatrix.html +12 -19
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +12 -19
- data/rdoc/RubyXL/CT_SupplementalFont.html +12 -19
- data/rdoc/RubyXL/CT_SystemColor.html +12 -19
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +12 -19
- data/rdoc/RubyXL/CT_TextBlipBullet.html +12 -19
- data/rdoc/RubyXL/CT_TextCharBullet.html +12 -19
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +12 -19
- data/rdoc/RubyXL/CT_TextFont.html +12 -19
- data/rdoc/RubyXL/CT_TextListStyle.html +12 -19
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +12 -19
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +12 -19
- data/rdoc/RubyXL/CT_TextSpacing.html +12 -19
- data/rdoc/RubyXL/CT_TextTabStop.html +12 -19
- data/rdoc/RubyXL/CT_TextTabStopList.html +12 -19
- data/rdoc/RubyXL/CT_TileInfoProperties.html +12 -19
- data/rdoc/RubyXL/CT_TintEffect.html +12 -19
- data/rdoc/RubyXL/CT_Transform2D.html +12 -19
- data/rdoc/RubyXL/CT_TransformEffect.html +12 -19
- data/rdoc/RubyXL/CT_Vector3D.html +12 -19
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +12 -19
- data/rdoc/RubyXL/CalculationChain.html +16 -45
- data/rdoc/RubyXL/CalculationChainCell.html +12 -19
- data/rdoc/RubyXL/CalculationProperties.html +12 -19
- data/rdoc/RubyXL/Cell.html +133 -209
- data/rdoc/RubyXL/CellConvenienceMethods.html +168 -522
- data/rdoc/RubyXL/CellExt.html +12 -19
- data/rdoc/RubyXL/CellSmartTag.html +12 -19
- data/rdoc/RubyXL/CellSmartTagProperty.html +12 -19
- data/rdoc/RubyXL/CellSmartTags.html +12 -19
- data/rdoc/RubyXL/CellStyle.html +12 -19
- data/rdoc/RubyXL/CellStyleXFs.html +18 -39
- data/rdoc/RubyXL/CellStyles.html +18 -39
- data/rdoc/RubyXL/CellValue.html +17 -38
- data/rdoc/RubyXL/CellWatch.html +12 -19
- data/rdoc/RubyXL/CellWatches.html +12 -19
- data/rdoc/RubyXL/CellXFs.html +19 -42
- data/rdoc/RubyXL/ChartColorsFile.html +11 -25
- data/rdoc/RubyXL/ChartFile.html +18 -49
- data/rdoc/RubyXL/ChartStyleFile.html +11 -25
- data/rdoc/RubyXL/ChartUserShapesFile.html +11 -25
- data/rdoc/RubyXL/Chartsheet.html +19 -68
- data/rdoc/RubyXL/ChartsheetPageSetup.html +12 -19
- data/rdoc/RubyXL/ChartsheetProperties.html +12 -19
- data/rdoc/RubyXL/ChartsheetProtection.html +12 -19
- data/rdoc/RubyXL/ChartsheetView.html +12 -19
- data/rdoc/RubyXL/ChartsheetViews.html +12 -19
- data/rdoc/RubyXL/Color.html +18 -55
- data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +18 -65
- data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +28 -88
- data/rdoc/RubyXL/ColorConvenienceClasses.html +9 -14
- data/rdoc/RubyXL/ColorConvenienceMethods.html +14 -33
- data/rdoc/RubyXL/ColorFilter.html +12 -19
- data/rdoc/RubyXL/ColorScale.html +12 -19
- data/rdoc/RubyXL/ColorSet.html +12 -19
- data/rdoc/RubyXL/Colors.html +12 -19
- data/rdoc/RubyXL/ColumnRange.html +22 -74
- data/rdoc/RubyXL/ColumnRanges.html +23 -83
- data/rdoc/RubyXL/Comment.html +12 -19
- data/rdoc/RubyXL/CommentList.html +12 -19
- data/rdoc/RubyXL/CommentsFile.html +17 -51
- data/rdoc/RubyXL/ConditionalFormatValue.html +12 -19
- data/rdoc/RubyXL/ConditionalFormatting.html +12 -19
- data/rdoc/RubyXL/ConditionalFormattingRule.html +12 -19
- data/rdoc/RubyXL/Connection.html +99 -0
- data/rdoc/RubyXL/ConnectionTable.html +99 -0
- data/rdoc/RubyXL/ConnectionTables.html +99 -0
- data/rdoc/RubyXL/ConnectionTextField.html +99 -0
- data/rdoc/RubyXL/ConnectionTextFields.html +99 -0
- data/rdoc/RubyXL/Connections.html +147 -0
- data/rdoc/RubyXL/ContentTypeDefault.html +11 -17
- data/rdoc/RubyXL/ContentTypeOverride.html +11 -17
- data/rdoc/RubyXL/ContentTypes.html +22 -63
- data/rdoc/RubyXL/ControlPropertiesFile.html +13 -22
- data/rdoc/RubyXL/CorePropertiesFile.html +34 -171
- data/rdoc/RubyXL/CustomColor.html +12 -19
- data/rdoc/RubyXL/CustomColorList.html +12 -19
- data/rdoc/RubyXL/CustomFilter.html +12 -19
- data/rdoc/RubyXL/CustomFilters.html +12 -19
- data/rdoc/RubyXL/CustomGeometry.html +12 -19
- data/rdoc/RubyXL/CustomProperties.html +12 -19
- data/rdoc/RubyXL/CustomPropertiesFile.html +11 -25
- data/rdoc/RubyXL/CustomProperty.html +12 -19
- data/rdoc/RubyXL/CustomPropertyFile.html +11 -25
- data/rdoc/RubyXL/CustomSheetView.html +12 -19
- data/rdoc/RubyXL/CustomSheetViews.html +12 -19
- data/rdoc/RubyXL/CustomWorkbookView.html +12 -19
- data/rdoc/RubyXL/CustomWorkbookViews.html +12 -19
- data/rdoc/RubyXL/CustomXMLFile.html +11 -22
- data/rdoc/RubyXL/DXF.html +12 -19
- data/rdoc/RubyXL/DXFs.html +12 -19
- data/rdoc/RubyXL/DataBar.html +12 -19
- data/rdoc/RubyXL/DataConsolidate.html +12 -19
- data/rdoc/RubyXL/DataConsolidationReference.html +12 -19
- data/rdoc/RubyXL/DataConsolidationReferences.html +12 -19
- data/rdoc/RubyXL/DataType.html +10 -39
- data/rdoc/RubyXL/DataValidation.html +12 -19
- data/rdoc/RubyXL/DataValidations.html +12 -19
- data/rdoc/RubyXL/DateGroupItem.html +12 -19
- data/rdoc/RubyXL/DefinedName.html +12 -19
- data/rdoc/RubyXL/DefinedNameExt.html +12 -19
- data/rdoc/RubyXL/DefinedNames.html +12 -19
- data/rdoc/RubyXL/DefinedNamesExt.html +12 -19
- data/rdoc/RubyXL/DocumentPropertiesFile.html +21 -68
- data/rdoc/RubyXL/DrawingFile.html +18 -49
- data/rdoc/RubyXL/DynamicFilter.html +12 -19
- data/rdoc/RubyXL/EmbeddedControl.html +12 -19
- data/rdoc/RubyXL/EmbeddedControls.html +12 -19
- data/rdoc/RubyXL/Extension.html +12 -19
- data/rdoc/RubyXL/ExtensionStorageArea.html +12 -19
- data/rdoc/RubyXL/Extents.html +12 -19
- data/rdoc/RubyXL/ExternalBook.html +12 -19
- data/rdoc/RubyXL/ExternalLinksFile.html +18 -49
- data/rdoc/RubyXL/ExternalReference.html +12 -19
- data/rdoc/RubyXL/ExternalReferences.html +12 -19
- data/rdoc/RubyXL/ExtraColorSchemeList.html +12 -19
- data/rdoc/RubyXL/FieldItem.html +12 -19
- data/rdoc/RubyXL/FileRecoveryProperties.html +12 -19
- data/rdoc/RubyXL/FileSharing.html +12 -19
- data/rdoc/RubyXL/FileVersion.html +12 -19
- data/rdoc/RubyXL/Fill.html +18 -39
- data/rdoc/RubyXL/Fills.html +18 -39
- data/rdoc/RubyXL/FilterContainer.html +12 -19
- data/rdoc/RubyXL/FloatNode.html +11 -17
- data/rdoc/RubyXL/FloatValue.html +11 -17
- data/rdoc/RubyXL/Font.html +21 -59
- data/rdoc/RubyXL/FontConvenienceMethods.html +48 -237
- data/rdoc/RubyXL/FontScheme.html +12 -19
- data/rdoc/RubyXL/Fonts.html +18 -39
- data/rdoc/RubyXL/Formula.html +12 -19
- data/rdoc/RubyXL/FunctionGroup.html +12 -19
- data/rdoc/RubyXL/FunctionGroups.html +12 -19
- data/rdoc/RubyXL/GenericStorageObject.html +21 -84
- data/rdoc/RubyXL/GradientFill.html +12 -19
- data/rdoc/RubyXL/HeaderFooterSettings.html +12 -19
- data/rdoc/RubyXL/Hyperlink.html +12 -19
- data/rdoc/RubyXL/HyperlinkRelFile.html +11 -22
- data/rdoc/RubyXL/Hyperlinks.html +12 -19
- data/rdoc/RubyXL/IconFilter.html +12 -19
- data/rdoc/RubyXL/IconSet.html +12 -19
- data/rdoc/RubyXL/IgnoredError.html +12 -19
- data/rdoc/RubyXL/IgnoredErrors.html +12 -19
- data/rdoc/RubyXL/IndexedColors.html +12 -19
- data/rdoc/RubyXL/InputCells.html +12 -19
- data/rdoc/RubyXL/IntegerNode.html +11 -17
- data/rdoc/RubyXL/IntegerValue.html +11 -17
- data/rdoc/RubyXL/LegacyCell.html +13 -66
- data/rdoc/RubyXL/LegacyWorksheet.html +25 -99
- data/rdoc/RubyXL/MRUColors.html +12 -19
- data/rdoc/RubyXL/MacrosFile.html +11 -25
- data/rdoc/RubyXL/MergedCell.html +12 -19
- data/rdoc/RubyXL/MergedCells.html +12 -19
- data/rdoc/RubyXL/NumFmt.html +12 -19
- data/rdoc/RubyXL/NumberFormat.html +18 -39
- data/rdoc/RubyXL/NumberFormats.html +18 -45
- data/rdoc/RubyXL/OLEObject.html +12 -19
- data/rdoc/RubyXL/OLEObjectFile.html +11 -25
- data/rdoc/RubyXL/OLEObjects.html +12 -19
- data/rdoc/RubyXL/OLESize.html +12 -19
- data/rdoc/RubyXL/OOXMLContainerObject.html +35 -132
- data/rdoc/RubyXL/OOXMLIgnored.html +19 -53
- data/rdoc/RubyXL/OOXMLObject.html +14 -25
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +91 -183
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +48 -185
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +47 -200
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +36 -133
- data/rdoc/RubyXL/OdbcOleDbProperties.html +99 -0
- data/rdoc/RubyXL/Offset.html +12 -19
- data/rdoc/RubyXL/OlapProperties.html +99 -0
- data/rdoc/RubyXL/OleItem.html +99 -0
- data/rdoc/RubyXL/OleItems.html +99 -0
- data/rdoc/RubyXL/OleLink.html +99 -0
- data/rdoc/RubyXL/OutlineProperties.html +12 -19
- data/rdoc/RubyXL/PageMargins.html +12 -19
- data/rdoc/RubyXL/PageSetup.html +12 -19
- data/rdoc/RubyXL/PageSetupProperties.html +12 -19
- data/rdoc/RubyXL/Pane.html +12 -19
- data/rdoc/RubyXL/Parser.html +22 -56
- data/rdoc/RubyXL/PatternFill.html +12 -19
- data/rdoc/RubyXL/PhoneticProperties.html +12 -19
- data/rdoc/RubyXL/PhoneticRun.html +12 -19
- data/rdoc/RubyXL/PivotArea.html +12 -19
- data/rdoc/RubyXL/PivotCache.html +12 -19
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +13 -30
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +11 -25
- data/rdoc/RubyXL/PivotCaches.html +12 -19
- data/rdoc/RubyXL/PivotReference.html +12 -19
- data/rdoc/RubyXL/PivotReferences.html +12 -19
- data/rdoc/RubyXL/PivotTableFile.html +13 -30
- data/rdoc/RubyXL/PivotTableSelection.html +12 -19
- data/rdoc/RubyXL/PresetGeometry.html +12 -19
- data/rdoc/RubyXL/PrintOptions.html +12 -19
- data/rdoc/RubyXL/PrinterSettingsFile.html +11 -25
- data/rdoc/RubyXL/ProtectedRange.html +12 -19
- data/rdoc/RubyXL/ProtectedRanges.html +12 -19
- data/rdoc/RubyXL/Protection.html +12 -19
- data/rdoc/RubyXL/QueryParameter.html +99 -0
- data/rdoc/RubyXL/QueryParameters.html +99 -0
- data/rdoc/RubyXL/QueryTable.html +155 -0
- data/rdoc/RubyXL/QueryTableDeletedField.html +99 -0
- data/rdoc/RubyXL/QueryTableDeletedFields.html +99 -0
- data/rdoc/RubyXL/QueryTableField.html +99 -0
- data/rdoc/RubyXL/QueryTableFields.html +99 -0
- data/rdoc/RubyXL/QueryTableRefresh.html +99 -0
- data/rdoc/RubyXL/RID.html +11 -17
- data/rdoc/RubyXL/RawOOXML.html +20 -60
- data/rdoc/RubyXL/Reference.html +62 -228
- data/rdoc/RubyXL/Relationship.html +11 -17
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +13 -32
- data/rdoc/RubyXL/RelationshipSupport.html +25 -120
- data/rdoc/RubyXL/RevisionPointer.html +12 -22
- data/rdoc/RubyXL/RichText.html +19 -39
- data/rdoc/RubyXL/RichTextRun.html +17 -38
- data/rdoc/RubyXL/Row.html +33 -168
- data/rdoc/RubyXL/RowExt.html +12 -19
- data/rdoc/RubyXL/RunProperties.html +12 -19
- data/rdoc/RubyXL/Scenario.html +12 -19
- data/rdoc/RubyXL/Scenarios.html +12 -19
- data/rdoc/RubyXL/Selection.html +16 -37
- data/rdoc/RubyXL/ShapeGuide.html +12 -19
- data/rdoc/RubyXL/ShapeTextRectangle.html +12 -19
- data/rdoc/RubyXL/SharedStringsTable.html +37 -147
- data/rdoc/RubyXL/Sheet.html +12 -19
- data/rdoc/RubyXL/SheetCalculationProperties.html +12 -19
- data/rdoc/RubyXL/SheetData.html +19 -53
- data/rdoc/RubyXL/SheetDataExt.html +12 -19
- data/rdoc/RubyXL/SheetDataSet.html +12 -19
- data/rdoc/RubyXL/SheetMetadata.html +108 -0
- data/rdoc/RubyXL/SheetName.html +12 -19
- data/rdoc/RubyXL/SheetNames.html +12 -19
- data/rdoc/RubyXL/Sheets.html +12 -19
- data/rdoc/RubyXL/SlicerCacheFile.html +11 -25
- data/rdoc/RubyXL/SlicerFile.html +11 -25
- data/rdoc/RubyXL/SmartTagProperties.html +12 -19
- data/rdoc/RubyXL/SmartTagType.html +12 -19
- data/rdoc/RubyXL/SmartTagTypes.html +12 -19
- data/rdoc/RubyXL/SmartTags.html +12 -19
- data/rdoc/RubyXL/SortCondition.html +12 -19
- data/rdoc/RubyXL/SortState.html +12 -19
- data/rdoc/RubyXL/Sqref.html +19 -53
- data/rdoc/RubyXL/Stop.html +12 -19
- data/rdoc/RubyXL/StringNode.html +11 -17
- data/rdoc/RubyXL/StringNodeW3C.html +20 -54
- data/rdoc/RubyXL/StringValue.html +11 -17
- data/rdoc/RubyXL/Stylesheet.html +34 -117
- data/rdoc/RubyXL/TableFile.html +11 -25
- data/rdoc/RubyXL/TableParts.html +11 -17
- data/rdoc/RubyXL/TableStyle.html +12 -19
- data/rdoc/RubyXL/TableStyles.html +12 -19
- data/rdoc/RubyXL/Text.html +22 -67
- data/rdoc/RubyXL/TextImportSettings.html +99 -0
- data/rdoc/RubyXL/Theme.html +19 -75
- data/rdoc/RubyXL/ThemeElements.html +12 -19
- data/rdoc/RubyXL/ThumbnailFile.html +11 -25
- data/rdoc/RubyXL/Top10.html +12 -19
- data/rdoc/RubyXL/VMLDrawingFile.html +14 -32
- data/rdoc/RubyXL/Variant.html +12 -19
- data/rdoc/RubyXL/Vector.html +17 -38
- data/rdoc/RubyXL/VectorValue.html +11 -17
- data/rdoc/RubyXL/VisualProperties.html +12 -19
- data/rdoc/RubyXL/WebPublishObject.html +12 -19
- data/rdoc/RubyXL/WebPublishObjects.html +12 -19
- data/rdoc/RubyXL/WebPublishingItem.html +12 -19
- data/rdoc/RubyXL/WebPublishingItems.html +12 -19
- data/rdoc/RubyXL/WebPublishingProperties.html +12 -19
- data/rdoc/RubyXL/WebQueryProperties.html +99 -0
- data/rdoc/RubyXL/Workbook.html +486 -227
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +130 -888
- data/rdoc/RubyXL/WorkbookProperties.html +12 -19
- data/rdoc/RubyXL/WorkbookProtection.html +12 -19
- data/rdoc/RubyXL/WorkbookRoot.html +27 -114
- data/rdoc/RubyXL/WorkbookView.html +12 -19
- data/rdoc/RubyXL/WorkbookViews.html +12 -19
- data/rdoc/RubyXL/Worksheet.html +92 -121
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +298 -1109
- data/rdoc/RubyXL/WorksheetDimensions.html +12 -19
- data/rdoc/RubyXL/WorksheetFormatProperties.html +11 -17
- data/rdoc/RubyXL/WorksheetProperties.html +12 -19
- data/rdoc/RubyXL/WorksheetProtection.html +12 -19
- data/rdoc/RubyXL/WorksheetView.html +12 -19
- data/rdoc/RubyXL/WorksheetViews.html +12 -19
- data/rdoc/RubyXL/XF.html +12 -19
- data/rdoc/RubyXL.html +39 -318
- data/rdoc/created.rid +45 -38
- data/rdoc/css/rdoc.css +55 -6
- data/rdoc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/rdoc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/rdoc/index.html +33 -373
- data/rdoc/js/darkfish.js +22 -99
- data/rdoc/js/navigation.js +4 -41
- data/rdoc/js/navigation.js.gz +0 -0
- data/rdoc/js/search.js +32 -31
- data/rdoc/js/search_index.js +1 -1
- data/rdoc/js/search_index.js.gz +0 -0
- data/rdoc/js/searcher.js +6 -6
- data/rdoc/js/searcher.js.gz +0 -0
- data/rdoc/table_of_contents.html +205 -45
- data/rubyXL.gemspec +53 -29
- data/spec/lib/cell_spec.rb +57 -6
- data/spec/lib/color_spec.rb +2 -1
- data/spec/lib/parser_spec.rb +24 -27
- data/spec/lib/reference_spec.rb +9 -3
- data/spec/lib/rgb_color_spec.rb +27 -0
- data/spec/lib/stylesheet_spec.rb +8 -11
- data/spec/lib/text_spec.rb +1 -5
- data/spec/lib/workbook_spec.rb +25 -4
- data/spec/lib/worksheet_spec.rb +873 -479
- data/spec/spec_helper.rb +2 -0
- data/test/test_parse_write.rb +15 -15
- metadata +54 -10
- data/rdoc/js/jquery.js +0 -4
data/rdoc/RubyXL/LegacyCell.html
CHANGED
|
@@ -4,21 +4,23 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>module RubyXL::LegacyCell - rubyXL 3.
|
|
7
|
+
<title>module RubyXL::LegacyCell - rubyXL 3.4.25</title>
|
|
8
8
|
|
|
9
9
|
<script type="text/javascript">
|
|
10
10
|
var rdoc_rel_prefix = "../";
|
|
11
11
|
var index_rel_prefix = "../";
|
|
12
12
|
</script>
|
|
13
13
|
|
|
14
|
-
<script src="../js/
|
|
15
|
-
<script src="../js/
|
|
14
|
+
<script src="../js/navigation.js" defer></script>
|
|
15
|
+
<script src="../js/search.js" defer></script>
|
|
16
|
+
<script src="../js/search_index.js" defer></script>
|
|
17
|
+
<script src="../js/searcher.js" defer></script>
|
|
18
|
+
<script src="../js/darkfish.js" defer></script>
|
|
16
19
|
|
|
17
20
|
<link href="../css/fonts.css" rel="stylesheet">
|
|
18
21
|
<link href="../css/rdoc.css" rel="stylesheet">
|
|
19
22
|
|
|
20
23
|
|
|
21
|
-
|
|
22
24
|
<body id="top" role="document" class="module">
|
|
23
25
|
<nav role="navigation">
|
|
24
26
|
<div id="project-navigation">
|
|
@@ -58,14 +60,13 @@
|
|
|
58
60
|
|
|
59
61
|
|
|
60
62
|
|
|
61
|
-
|
|
63
|
+
|
|
64
|
+
<!-- Method Quickref -->
|
|
62
65
|
<div id="method-list-section" class="nav-section">
|
|
63
66
|
<h3>Methods</h3>
|
|
64
67
|
|
|
65
68
|
<ul class="link-list" role="directory">
|
|
66
|
-
|
|
67
69
|
<li ><a href="#method-i-workbook">#workbook</a>
|
|
68
|
-
|
|
69
70
|
</ul>
|
|
70
71
|
</div>
|
|
71
72
|
|
|
@@ -81,101 +82,47 @@
|
|
|
81
82
|
|
|
82
83
|
</section>
|
|
83
84
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
85
|
<section id="5Buntitled-5D" class="documentation-section">
|
|
88
|
-
|
|
89
86
|
|
|
90
|
-
|
|
91
87
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
<section class="attribute-method-details" class="method-section">
|
|
96
|
-
<header>
|
|
97
|
-
<h3>Attributes</h3>
|
|
98
|
-
</header>
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
<div id="attribute-i-formula" class="method-detail">
|
|
102
|
-
<div class="method-heading attribute-method-heading">
|
|
103
|
-
<span class="method-name">formula</span><span
|
|
104
|
-
class="attribute-access-type">[RW]</span>
|
|
105
|
-
</div>
|
|
106
88
|
|
|
107
|
-
<div class="method-description">
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
</div>
|
|
112
|
-
</div>
|
|
113
|
-
|
|
114
|
-
<div id="attribute-i-worksheet" class="method-detail">
|
|
115
|
-
<div class="method-heading attribute-method-heading">
|
|
116
|
-
<span class="method-name">worksheet</span><span
|
|
117
|
-
class="attribute-access-type">[RW]</span>
|
|
118
|
-
</div>
|
|
119
89
|
|
|
120
|
-
<div class="method-description">
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
</div>
|
|
125
|
-
</div>
|
|
126
|
-
|
|
127
|
-
</section>
|
|
128
|
-
|
|
129
90
|
|
|
130
|
-
|
|
131
91
|
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
|
132
92
|
<header>
|
|
133
93
|
<h3>Public Instance Methods</h3>
|
|
134
94
|
</header>
|
|
135
95
|
|
|
136
|
-
|
|
137
96
|
<div id="method-i-workbook" class="method-detail ">
|
|
138
|
-
|
|
139
97
|
<div class="method-heading">
|
|
140
98
|
<span class="method-name">workbook</span><span
|
|
141
99
|
class="method-args">()</span>
|
|
142
|
-
|
|
143
100
|
<span class="method-click-advice">click to toggle source</span>
|
|
144
|
-
|
|
145
101
|
</div>
|
|
146
|
-
|
|
147
102
|
|
|
148
103
|
<div class="method-description">
|
|
149
104
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
105
|
|
|
154
|
-
|
|
155
106
|
<div class="method-source-code" id="workbook-source">
|
|
156
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
157
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">workbook</span>
|
|
107
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 3</span>
|
|
108
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">workbook</span>
|
|
158
109
|
<span class="ruby-ivar">@worksheet</span>.<span class="ruby-identifier">workbook</span>
|
|
159
110
|
<span class="ruby-keyword">end</span></pre>
|
|
160
111
|
</div>
|
|
161
|
-
|
|
162
112
|
</div>
|
|
163
113
|
|
|
164
|
-
|
|
165
114
|
|
|
166
|
-
|
|
167
115
|
</div>
|
|
168
116
|
|
|
169
|
-
|
|
170
117
|
</section>
|
|
171
|
-
|
|
118
|
+
|
|
172
119
|
</section>
|
|
173
120
|
</main>
|
|
174
121
|
|
|
175
122
|
|
|
176
123
|
<footer id="validator-badges" role="contentinfo">
|
|
177
|
-
<p><a href="
|
|
178
|
-
<p>Generated by <a href="https://
|
|
124
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
125
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.
|
|
179
126
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
180
127
|
</footer>
|
|
181
128
|
|
|
@@ -4,21 +4,23 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>module RubyXL::LegacyWorksheet - rubyXL 3.
|
|
7
|
+
<title>module RubyXL::LegacyWorksheet - rubyXL 3.4.25</title>
|
|
8
8
|
|
|
9
9
|
<script type="text/javascript">
|
|
10
10
|
var rdoc_rel_prefix = "../";
|
|
11
11
|
var index_rel_prefix = "../";
|
|
12
12
|
</script>
|
|
13
13
|
|
|
14
|
-
<script src="../js/
|
|
15
|
-
<script src="../js/
|
|
14
|
+
<script src="../js/navigation.js" defer></script>
|
|
15
|
+
<script src="../js/search.js" defer></script>
|
|
16
|
+
<script src="../js/search_index.js" defer></script>
|
|
17
|
+
<script src="../js/searcher.js" defer></script>
|
|
18
|
+
<script src="../js/darkfish.js" defer></script>
|
|
16
19
|
|
|
17
20
|
<link href="../css/fonts.css" rel="stylesheet">
|
|
18
21
|
<link href="../css/rdoc.css" rel="stylesheet">
|
|
19
22
|
|
|
20
23
|
|
|
21
|
-
|
|
22
24
|
<body id="top" role="document" class="module">
|
|
23
25
|
<nav role="navigation">
|
|
24
26
|
<div id="project-navigation">
|
|
@@ -56,35 +58,27 @@
|
|
|
56
58
|
<div id="class-metadata">
|
|
57
59
|
|
|
58
60
|
|
|
59
|
-
|
|
61
|
+
|
|
62
|
+
<div id="includes-section" class="nav-section">
|
|
60
63
|
<h3>Included Modules</h3>
|
|
61
64
|
|
|
62
65
|
<ul class="link-list">
|
|
63
|
-
|
|
64
|
-
|
|
65
66
|
<li><span class="include">Enumerable</span>
|
|
66
|
-
|
|
67
|
-
|
|
68
67
|
</ul>
|
|
69
68
|
</div>
|
|
70
69
|
|
|
71
70
|
|
|
72
|
-
|
|
71
|
+
|
|
72
|
+
<!-- Method Quickref -->
|
|
73
73
|
<div id="method-list-section" class="nav-section">
|
|
74
74
|
<h3>Methods</h3>
|
|
75
75
|
|
|
76
76
|
<ul class="link-list" role="directory">
|
|
77
|
-
|
|
78
77
|
<li class="calls-super" ><a href="#method-c-new">::new</a>
|
|
79
|
-
|
|
80
78
|
<li ><a href="#method-i-5B-5D">#[]</a>
|
|
81
|
-
|
|
82
79
|
<li ><a href="#method-i-add_cell">#add_cell</a>
|
|
83
|
-
|
|
84
80
|
<li ><a href="#method-i-add_row">#add_row</a>
|
|
85
|
-
|
|
86
81
|
<li ><a href="#method-i-each">#each</a>
|
|
87
|
-
|
|
88
82
|
</ul>
|
|
89
83
|
</div>
|
|
90
84
|
|
|
@@ -100,51 +94,34 @@
|
|
|
100
94
|
|
|
101
95
|
</section>
|
|
102
96
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
97
|
<section id="5Buntitled-5D" class="documentation-section">
|
|
107
|
-
|
|
108
98
|
|
|
109
|
-
|
|
110
99
|
|
|
111
|
-
|
|
112
100
|
|
|
113
|
-
|
|
114
101
|
|
|
115
|
-
|
|
102
|
+
|
|
116
103
|
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
|
117
104
|
<header>
|
|
118
105
|
<h3>Public Class Methods</h3>
|
|
119
106
|
</header>
|
|
120
107
|
|
|
121
|
-
|
|
122
108
|
<div id="method-c-new" class="method-detail ">
|
|
123
|
-
|
|
124
109
|
<div class="method-heading">
|
|
125
110
|
<span class="method-name">new</span><span
|
|
126
111
|
class="method-args">(params = {})</span>
|
|
127
|
-
|
|
128
112
|
<span class="method-click-advice">click to toggle source</span>
|
|
129
|
-
|
|
130
113
|
</div>
|
|
131
|
-
|
|
132
114
|
|
|
133
115
|
<div class="method-description">
|
|
134
116
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
117
|
<div class="method-calls-super">
|
|
139
118
|
Calls superclass method
|
|
140
119
|
|
|
141
120
|
</div>
|
|
142
|
-
|
|
143
121
|
|
|
144
|
-
|
|
145
122
|
<div class="method-source-code" id="new-source">
|
|
146
123
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 5</span>
|
|
147
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">params</span> = {})
|
|
124
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">params</span> = {})
|
|
148
125
|
<span class="ruby-keyword">super</span>
|
|
149
126
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">workbook</span> = <span class="ruby-identifier">params</span>[<span class="ruby-value">:workbook</span>]
|
|
150
127
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">sheet_name</span> = <span class="ruby-identifier">params</span>[<span class="ruby-value">:sheet_name</span>]
|
|
@@ -156,77 +133,52 @@
|
|
|
156
133
|
<span class="ruby-ivar">@generic_storage</span> = []
|
|
157
134
|
<span class="ruby-keyword">end</span></pre>
|
|
158
135
|
</div>
|
|
159
|
-
|
|
160
136
|
</div>
|
|
161
137
|
|
|
162
|
-
|
|
163
138
|
|
|
164
|
-
|
|
165
139
|
</div>
|
|
166
140
|
|
|
167
|
-
|
|
168
141
|
</section>
|
|
169
|
-
|
|
142
|
+
|
|
170
143
|
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
|
171
144
|
<header>
|
|
172
145
|
<h3>Public Instance Methods</h3>
|
|
173
146
|
</header>
|
|
174
147
|
|
|
175
|
-
|
|
176
148
|
<div id="method-i-5B-5D" class="method-detail ">
|
|
177
|
-
|
|
178
149
|
<div class="method-heading">
|
|
179
150
|
<span class="method-name">[]</span><span
|
|
180
151
|
class="method-args">(row = 0)</span>
|
|
181
|
-
|
|
182
152
|
<span class="method-click-advice">click to toggle source</span>
|
|
183
|
-
|
|
184
153
|
</div>
|
|
185
|
-
|
|
186
154
|
|
|
187
155
|
<div class="method-description">
|
|
188
|
-
|
|
189
156
|
<p>allows for easier access to sheet_data</p>
|
|
190
|
-
|
|
191
|
-
|
|
192
157
|
|
|
193
|
-
|
|
194
158
|
<div class="method-source-code" id="5B-5D-source">
|
|
195
159
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 18</span>
|
|
196
|
-
<span class="ruby-keyword">def</span> <span class="ruby-
|
|
160
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">[]</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
197
161
|
<span class="ruby-identifier">sheet_data</span>[<span class="ruby-identifier">row</span>]
|
|
198
162
|
<span class="ruby-keyword">end</span></pre>
|
|
199
163
|
</div>
|
|
200
|
-
|
|
201
164
|
</div>
|
|
202
165
|
|
|
203
|
-
|
|
204
166
|
|
|
205
|
-
|
|
206
167
|
</div>
|
|
207
168
|
|
|
208
|
-
|
|
209
169
|
<div id="method-i-add_cell" class="method-detail ">
|
|
210
|
-
|
|
211
170
|
<div class="method-heading">
|
|
212
171
|
<span class="method-name">add_cell</span><span
|
|
213
|
-
class="method-args">(row_index = 0, column_index = 0, data =
|
|
214
|
-
|
|
172
|
+
class="method-args">(row_index = 0, column_index = 0, data = '', formula = nil, overwrite = true)</span>
|
|
215
173
|
<span class="method-click-advice">click to toggle source</span>
|
|
216
|
-
|
|
217
174
|
</div>
|
|
218
|
-
|
|
219
175
|
|
|
220
176
|
<div class="method-description">
|
|
221
177
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
178
|
|
|
226
|
-
|
|
227
179
|
<div class="method-source-code" id="add_cell-source">
|
|
228
180
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 32</span>
|
|
229
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">add_cell</span>(<span class="ruby-identifier">row_index</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">data</span> = <span class="ruby-string">''</span>, <span class="ruby-identifier">formula</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">overwrite</span> = <span class="ruby-keyword">true</span>)
|
|
181
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">add_cell</span>(<span class="ruby-identifier">row_index</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">data</span> = <span class="ruby-string">''</span>, <span class="ruby-identifier">formula</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">overwrite</span> = <span class="ruby-keyword">true</span>)
|
|
230
182
|
<span class="ruby-identifier">validate_workbook</span>
|
|
231
183
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row_index</span>)
|
|
232
184
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">column_index</span>)
|
|
@@ -241,7 +193,7 @@
|
|
|
241
193
|
<span class="ruby-identifier">c</span>.<span class="ruby-identifier">column</span> = <span class="ruby-identifier">column_index</span>
|
|
242
194
|
|
|
243
195
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">formula</span> <span class="ruby-keyword">then</span>
|
|
244
|
-
<span class="ruby-identifier">c</span>.<span class="ruby-identifier">formula</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>
|
|
196
|
+
<span class="ruby-identifier">c</span>.<span class="ruby-identifier">formula</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">formula</span>)
|
|
245
197
|
<span class="ruby-identifier">c</span>.<span class="ruby-identifier">raw_value</span> = <span class="ruby-identifier">data</span>
|
|
246
198
|
<span class="ruby-keyword">else</span>
|
|
247
199
|
<span class="ruby-keyword">case</span> <span class="ruby-identifier">data</span>
|
|
@@ -252,7 +204,9 @@
|
|
|
252
204
|
<span class="ruby-keyword">when</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">RichText</span> <span class="ruby-keyword">then</span>
|
|
253
205
|
<span class="ruby-identifier">c</span>.<span class="ruby-identifier">is</span> = <span class="ruby-identifier">data</span>
|
|
254
206
|
<span class="ruby-identifier">c</span>.<span class="ruby-identifier">datatype</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>
|
|
255
|
-
<span class="ruby-keyword">when</span> <span class="ruby-constant">
|
|
207
|
+
<span class="ruby-keyword">when</span> <span class="ruby-constant">Time</span>, <span class="ruby-constant">Date</span>, <span class="ruby-constant">DateTime</span> <span class="ruby-keyword">then</span>
|
|
208
|
+
<span class="ruby-identifier">c</span>.<span class="ruby-identifier">raw_value</span> = <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">date_to_num</span>(<span class="ruby-identifier">data</span>)
|
|
209
|
+
<span class="ruby-keyword">when</span> <span class="ruby-constant">NilClass</span> <span class="ruby-keyword">then</span> <span class="ruby-keyword">nil</span>
|
|
256
210
|
<span class="ruby-keyword">end</span>
|
|
257
211
|
<span class="ruby-keyword">end</span>
|
|
258
212
|
|
|
@@ -264,92 +218,64 @@
|
|
|
264
218
|
<span class="ruby-identifier">c</span>
|
|
265
219
|
<span class="ruby-keyword">end</span></pre>
|
|
266
220
|
</div>
|
|
267
|
-
|
|
268
221
|
</div>
|
|
269
222
|
|
|
270
|
-
|
|
271
223
|
|
|
272
|
-
|
|
273
224
|
</div>
|
|
274
225
|
|
|
275
|
-
|
|
276
226
|
<div id="method-i-add_row" class="method-detail ">
|
|
277
|
-
|
|
278
227
|
<div class="method-heading">
|
|
279
228
|
<span class="method-name">add_row</span><span
|
|
280
229
|
class="method-args">(row_index = 0, params = {})</span>
|
|
281
|
-
|
|
282
230
|
<span class="method-click-advice">click to toggle source</span>
|
|
283
|
-
|
|
284
231
|
</div>
|
|
285
|
-
|
|
286
232
|
|
|
287
233
|
<div class="method-description">
|
|
288
234
|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
235
|
|
|
293
|
-
|
|
294
236
|
<div class="method-source-code" id="add_row-source">
|
|
295
237
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 26</span>
|
|
296
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">add_row</span>(<span class="ruby-identifier">row_index</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">params</span> = {})
|
|
238
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">add_row</span>(<span class="ruby-identifier">row_index</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">params</span> = {})
|
|
297
239
|
<span class="ruby-identifier">new_row</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Row</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">params</span>)
|
|
298
240
|
<span class="ruby-identifier">new_row</span>.<span class="ruby-identifier">worksheet</span> = <span class="ruby-keyword">self</span>
|
|
299
241
|
<span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">row_index</span>] = <span class="ruby-identifier">new_row</span>
|
|
300
242
|
<span class="ruby-keyword">end</span></pre>
|
|
301
243
|
</div>
|
|
302
|
-
|
|
303
244
|
</div>
|
|
304
245
|
|
|
305
|
-
|
|
306
246
|
|
|
307
|
-
|
|
308
247
|
</div>
|
|
309
248
|
|
|
310
|
-
|
|
311
249
|
<div id="method-i-each" class="method-detail ">
|
|
312
|
-
|
|
313
250
|
<div class="method-heading">
|
|
314
251
|
<span class="method-name">each</span><span
|
|
315
252
|
class="method-args">() { |row| ... }</span>
|
|
316
|
-
|
|
317
253
|
<span class="method-click-advice">click to toggle source</span>
|
|
318
|
-
|
|
319
254
|
</div>
|
|
320
|
-
|
|
321
255
|
|
|
322
256
|
<div class="method-description">
|
|
323
257
|
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
258
|
|
|
328
|
-
|
|
329
259
|
<div class="method-source-code" id="each-source">
|
|
330
260
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 22</span>
|
|
331
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">each</span>
|
|
261
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">each</span>
|
|
332
262
|
<span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">row</span><span class="ruby-operator">|</span> <span class="ruby-keyword">yield</span>(<span class="ruby-identifier">row</span>) }
|
|
333
263
|
<span class="ruby-keyword">end</span></pre>
|
|
334
264
|
</div>
|
|
335
|
-
|
|
336
265
|
</div>
|
|
337
266
|
|
|
338
|
-
|
|
339
267
|
|
|
340
|
-
|
|
341
268
|
</div>
|
|
342
269
|
|
|
343
|
-
|
|
344
270
|
</section>
|
|
345
|
-
|
|
271
|
+
|
|
346
272
|
</section>
|
|
347
273
|
</main>
|
|
348
274
|
|
|
349
275
|
|
|
350
276
|
<footer id="validator-badges" role="contentinfo">
|
|
351
|
-
<p><a href="
|
|
352
|
-
<p>Generated by <a href="https://
|
|
277
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
278
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.
|
|
353
279
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
354
280
|
</footer>
|
|
355
281
|
|
data/rdoc/RubyXL/MRUColors.html
CHANGED
|
@@ -4,21 +4,23 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>class RubyXL::MRUColors - rubyXL 3.
|
|
7
|
+
<title>class RubyXL::MRUColors - rubyXL 3.4.25</title>
|
|
8
8
|
|
|
9
9
|
<script type="text/javascript">
|
|
10
10
|
var rdoc_rel_prefix = "../";
|
|
11
11
|
var index_rel_prefix = "../";
|
|
12
12
|
</script>
|
|
13
13
|
|
|
14
|
-
<script src="../js/
|
|
15
|
-
<script src="../js/
|
|
14
|
+
<script src="../js/navigation.js" defer></script>
|
|
15
|
+
<script src="../js/search.js" defer></script>
|
|
16
|
+
<script src="../js/search_index.js" defer></script>
|
|
17
|
+
<script src="../js/searcher.js" defer></script>
|
|
18
|
+
<script src="../js/darkfish.js" defer></script>
|
|
16
19
|
|
|
17
20
|
<link href="../css/fonts.css" rel="stylesheet">
|
|
18
21
|
<link href="../css/rdoc.css" rel="stylesheet">
|
|
19
22
|
|
|
20
23
|
|
|
21
|
-
|
|
22
24
|
<body id="top" role="document" class="class">
|
|
23
25
|
<nav role="navigation">
|
|
24
26
|
<div id="project-navigation">
|
|
@@ -55,12 +57,11 @@
|
|
|
55
57
|
|
|
56
58
|
<div id="class-metadata">
|
|
57
59
|
|
|
58
|
-
|
|
60
|
+
|
|
61
|
+
<div id="parent-class-section" class="nav-section">
|
|
59
62
|
<h3>Parent</h3>
|
|
60
63
|
|
|
61
|
-
|
|
62
64
|
<p class="link"><a href="OOXMLContainerObject.html">RubyXL::OOXMLContainerObject</a>
|
|
63
|
-
|
|
64
65
|
</div>
|
|
65
66
|
|
|
66
67
|
|
|
@@ -76,31 +77,23 @@
|
|
|
76
77
|
|
|
77
78
|
<section class="description">
|
|
78
79
|
|
|
79
|
-
<p><a
|
|
80
|
-
href="http://www.datypic.com/sc/ooxml/e-ssml_mruColors-1.html">www.datypic.com/sc/ooxml/e-ssml_mruColors-1.html</a></p>
|
|
80
|
+
<p><a href="http://www.datypic.com/sc/ooxml/e-ssml_mruColors-1.html">www.datypic.com/sc/ooxml/e-ssml_mruColors-1.html</a></p>
|
|
81
81
|
|
|
82
82
|
</section>
|
|
83
83
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
84
|
<section id="5Buntitled-5D" class="documentation-section">
|
|
88
|
-
|
|
89
85
|
|
|
90
|
-
|
|
91
86
|
|
|
92
|
-
|
|
93
87
|
|
|
94
|
-
|
|
95
88
|
|
|
96
|
-
|
|
89
|
+
|
|
97
90
|
</section>
|
|
98
91
|
</main>
|
|
99
92
|
|
|
100
93
|
|
|
101
94
|
<footer id="validator-badges" role="contentinfo">
|
|
102
|
-
<p><a href="
|
|
103
|
-
<p>Generated by <a href="https://
|
|
95
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
96
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.
|
|
104
97
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
105
98
|
</footer>
|
|
106
99
|
|
data/rdoc/RubyXL/MacrosFile.html
CHANGED
|
@@ -4,21 +4,23 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>class RubyXL::MacrosFile - rubyXL 3.
|
|
7
|
+
<title>class RubyXL::MacrosFile - rubyXL 3.4.25</title>
|
|
8
8
|
|
|
9
9
|
<script type="text/javascript">
|
|
10
10
|
var rdoc_rel_prefix = "../";
|
|
11
11
|
var index_rel_prefix = "../";
|
|
12
12
|
</script>
|
|
13
13
|
|
|
14
|
-
<script src="../js/
|
|
15
|
-
<script src="../js/
|
|
14
|
+
<script src="../js/navigation.js" defer></script>
|
|
15
|
+
<script src="../js/search.js" defer></script>
|
|
16
|
+
<script src="../js/search_index.js" defer></script>
|
|
17
|
+
<script src="../js/searcher.js" defer></script>
|
|
18
|
+
<script src="../js/darkfish.js" defer></script>
|
|
16
19
|
|
|
17
20
|
<link href="../css/fonts.css" rel="stylesheet">
|
|
18
21
|
<link href="../css/rdoc.css" rel="stylesheet">
|
|
19
22
|
|
|
20
23
|
|
|
21
|
-
|
|
22
24
|
<body id="top" role="document" class="class">
|
|
23
25
|
<nav role="navigation">
|
|
24
26
|
<div id="project-navigation">
|
|
@@ -55,12 +57,11 @@
|
|
|
55
57
|
|
|
56
58
|
<div id="class-metadata">
|
|
57
59
|
|
|
58
|
-
|
|
60
|
+
|
|
61
|
+
<div id="parent-class-section" class="nav-section">
|
|
59
62
|
<h3>Parent</h3>
|
|
60
63
|
|
|
61
|
-
|
|
62
64
|
<p class="link"><a href="GenericStorageObject.html">RubyXL::GenericStorageObject</a>
|
|
63
|
-
|
|
64
65
|
</div>
|
|
65
66
|
|
|
66
67
|
|
|
@@ -78,45 +79,30 @@
|
|
|
78
79
|
|
|
79
80
|
</section>
|
|
80
81
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
82
|
<section id="5Buntitled-5D" class="documentation-section">
|
|
85
|
-
|
|
86
83
|
|
|
87
|
-
|
|
88
84
|
|
|
89
|
-
|
|
90
85
|
<section class="constants-list">
|
|
91
86
|
<header>
|
|
92
87
|
<h3>Constants</h3>
|
|
93
88
|
</header>
|
|
94
89
|
<dl>
|
|
95
|
-
|
|
96
90
|
<dt id="CONTENT_TYPE">CONTENT_TYPE
|
|
97
|
-
|
|
98
91
|
<dd>
|
|
99
|
-
|
|
100
|
-
|
|
101
92
|
<dt id="REL_TYPE">REL_TYPE
|
|
102
|
-
|
|
103
93
|
<dd>
|
|
104
|
-
|
|
105
|
-
|
|
106
94
|
</dl>
|
|
107
95
|
</section>
|
|
108
|
-
|
|
109
96
|
|
|
110
|
-
|
|
111
97
|
|
|
112
|
-
|
|
98
|
+
|
|
113
99
|
</section>
|
|
114
100
|
</main>
|
|
115
101
|
|
|
116
102
|
|
|
117
103
|
<footer id="validator-badges" role="contentinfo">
|
|
118
|
-
<p><a href="
|
|
119
|
-
<p>Generated by <a href="https://
|
|
104
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
105
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.
|
|
120
106
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
121
107
|
</footer>
|
|
122
108
|
|