rubyXL 3.4.25 → 3.4.33
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 +1 -1
- data/.rubocop.yml +124 -0
- data/CHANGELOG.md +12 -0
- data/Gemfile +2 -0
- data/README.rdoc +6 -4
- data/VERSION +1 -1
- data/lib/rubyXL/convenience_methods/cell.rb +1 -1
- data/lib/rubyXL/convenience_methods/color.rb +6 -6
- data/lib/rubyXL/convenience_methods/workbook.rb +1 -5
- data/lib/rubyXL/convenience_methods/worksheet.rb +26 -6
- data/lib/rubyXL/objects/color.rb +1 -1
- data/lib/rubyXL/objects/column_range.rb +16 -12
- data/lib/rubyXL/objects/document_properties.rb +1 -0
- data/lib/rubyXL/objects/external_links.rb +8 -0
- data/lib/rubyXL/objects/ooxml_object.rb +16 -14
- data/lib/rubyXL/objects/query_table.rb +4 -2
- data/lib/rubyXL/objects/reference.rb +21 -10
- data/lib/rubyXL/objects/relationships.rb +1 -1
- data/lib/rubyXL/objects/shared_strings.rb +1 -1
- data/lib/rubyXL/objects/sheet_data.rb +6 -6
- data/lib/rubyXL/objects/storage.rb +6 -1
- data/lib/rubyXL/objects/stylesheet.rb +2 -3
- data/lib/rubyXL/objects/text.rb +3 -3
- data/lib/rubyXL/objects/theme.rb +15 -17
- data/lib/rubyXL/objects/workbook.rb +10 -9
- data/lib/rubyXL/objects/worksheet.rb +2 -2
- data/lib/rubyXL/worksheet.rb +11 -3
- data/rdoc/README_rdoc.html +101 -49
- data/rdoc/RubyXL/AExtension.html +17 -13
- data/rdoc/RubyXL/AExtensionStorageArea.html +3 -3
- data/rdoc/RubyXL/ActiveX.html +10 -8
- data/rdoc/RubyXL/ActiveXBinary.html +3 -3
- data/rdoc/RubyXL/AdjustHandleList.html +3 -3
- data/rdoc/RubyXL/Alignment.html +3 -3
- data/rdoc/RubyXL/AlternateContent.html +3 -3
- data/rdoc/RubyXL/AlternateUrls.html +99 -0
- data/rdoc/RubyXL/Authors.html +3 -3
- data/rdoc/RubyXL/AutoFilter.html +3 -3
- data/rdoc/RubyXL/AutoFilterColumn.html +3 -3
- data/rdoc/RubyXL/BinaryImageFile.html +3 -3
- data/rdoc/RubyXL/BodyProperties.html +3 -3
- data/rdoc/RubyXL/BooleanNode.html +3 -3
- data/rdoc/RubyXL/BooleanValue.html +3 -3
- data/rdoc/RubyXL/Border.html +27 -19
- data/rdoc/RubyXL/BorderEdge.html +15 -11
- data/rdoc/RubyXL/Borders.html +9 -7
- data/rdoc/RubyXL/Break.html +3 -3
- data/rdoc/RubyXL/BreakList.html +3 -3
- data/rdoc/RubyXL/CT_AdjPoint2D.html +3 -3
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +3 -3
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +3 -3
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +3 -3
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +3 -3
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +3 -3
- data/rdoc/RubyXL/CT_Backdrop.html +3 -3
- data/rdoc/RubyXL/CT_Bevel.html +3 -3
- data/rdoc/RubyXL/CT_BiLevelEffect.html +3 -3
- data/rdoc/RubyXL/CT_BlendEffect.html +3 -3
- data/rdoc/RubyXL/CT_Blip.html +3 -3
- data/rdoc/RubyXL/CT_BlipFillProperties.html +3 -3
- data/rdoc/RubyXL/CT_BlurEffect.html +3 -3
- data/rdoc/RubyXL/CT_Camera.html +3 -3
- data/rdoc/RubyXL/CT_Color.html +3 -3
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +3 -3
- data/rdoc/RubyXL/CT_ColorMapping.html +3 -3
- data/rdoc/RubyXL/CT_ColorScheme.html +3 -3
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +3 -3
- data/rdoc/RubyXL/CT_ConnectionSite.html +3 -3
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +3 -3
- data/rdoc/RubyXL/CT_DashStop.html +3 -3
- data/rdoc/RubyXL/CT_DashStopList.html +3 -3
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +3 -3
- data/rdoc/RubyXL/CT_DuotoneEffect.html +3 -3
- data/rdoc/RubyXL/CT_EffectContainer.html +3 -3
- data/rdoc/RubyXL/CT_EffectList.html +3 -3
- data/rdoc/RubyXL/CT_EffectReference.html +3 -3
- data/rdoc/RubyXL/CT_EffectStyleItem.html +3 -3
- data/rdoc/RubyXL/CT_EffectStyleList.html +3 -3
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +3 -3
- data/rdoc/RubyXL/CT_FillEffect.html +3 -3
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +3 -3
- data/rdoc/RubyXL/CT_FillStyleList.html +3 -3
- data/rdoc/RubyXL/CT_FlatText.html +3 -3
- data/rdoc/RubyXL/CT_FontCollection.html +3 -3
- data/rdoc/RubyXL/CT_FontReference.html +3 -3
- data/rdoc/RubyXL/CT_GeomGuideList.html +3 -3
- data/rdoc/RubyXL/CT_GlowEffect.html +3 -3
- data/rdoc/RubyXL/CT_GradientFillProperties.html +3 -3
- data/rdoc/RubyXL/CT_GradientStop.html +3 -3
- data/rdoc/RubyXL/CT_GradientStopList.html +3 -3
- data/rdoc/RubyXL/CT_HSLEffect.html +3 -3
- data/rdoc/RubyXL/CT_HslColor.html +3 -3
- data/rdoc/RubyXL/CT_Hyperlink.html +3 -3
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +3 -3
- data/rdoc/RubyXL/CT_LightRig.html +3 -3
- data/rdoc/RubyXL/CT_LineEndProperties.html +3 -3
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +3 -3
- data/rdoc/RubyXL/CT_LineProperties.html +3 -3
- data/rdoc/RubyXL/CT_LineStyleList.html +3 -3
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +3 -3
- data/rdoc/RubyXL/CT_LuminanceEffect.html +3 -3
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +3 -3
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +3 -3
- data/rdoc/RubyXL/CT_Path2D.html +3 -3
- data/rdoc/RubyXL/CT_Path2DArcTo.html +3 -3
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +3 -3
- data/rdoc/RubyXL/CT_Path2DList.html +3 -3
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +3 -3
- data/rdoc/RubyXL/CT_Path2DTo.html +3 -3
- data/rdoc/RubyXL/CT_PathShadeProperties.html +3 -3
- data/rdoc/RubyXL/CT_PatternFillProperties.html +3 -3
- data/rdoc/RubyXL/CT_Point3D.html +3 -3
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +3 -3
- data/rdoc/RubyXL/CT_PresetColor.html +3 -3
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +3 -3
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +3 -3
- data/rdoc/RubyXL/CT_PresetTextShape.html +3 -3
- data/rdoc/RubyXL/CT_ReflectionEffect.html +3 -3
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +3 -3
- data/rdoc/RubyXL/CT_RelativeRect.html +3 -3
- data/rdoc/RubyXL/CT_SRgbColor.html +3 -3
- data/rdoc/RubyXL/CT_ScRgbColor.html +3 -3
- data/rdoc/RubyXL/CT_Scene3D.html +3 -3
- data/rdoc/RubyXL/CT_SchemeColor.html +3 -3
- data/rdoc/RubyXL/CT_Shape3D.html +3 -3
- data/rdoc/RubyXL/CT_ShapeStyle.html +3 -3
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +3 -3
- data/rdoc/RubyXL/CT_SphereCoords.html +3 -3
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +3 -3
- data/rdoc/RubyXL/CT_StyleMatrix.html +3 -3
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +3 -3
- data/rdoc/RubyXL/CT_SupplementalFont.html +3 -3
- data/rdoc/RubyXL/CT_SystemColor.html +3 -3
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +3 -3
- data/rdoc/RubyXL/CT_TextBlipBullet.html +3 -3
- data/rdoc/RubyXL/CT_TextCharBullet.html +3 -3
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +3 -3
- data/rdoc/RubyXL/CT_TextFont.html +3 -3
- data/rdoc/RubyXL/CT_TextListStyle.html +3 -3
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +3 -3
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +3 -3
- data/rdoc/RubyXL/CT_TextSpacing.html +3 -3
- data/rdoc/RubyXL/CT_TextTabStop.html +3 -3
- data/rdoc/RubyXL/CT_TextTabStopList.html +3 -3
- data/rdoc/RubyXL/CT_TileInfoProperties.html +3 -3
- data/rdoc/RubyXL/CT_TintEffect.html +3 -3
- data/rdoc/RubyXL/CT_Transform2D.html +3 -3
- data/rdoc/RubyXL/CT_TransformEffect.html +3 -3
- data/rdoc/RubyXL/CT_Vector3D.html +3 -3
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +3 -3
- data/rdoc/RubyXL/CalculationChain.html +9 -7
- data/rdoc/RubyXL/CalculationChainCell.html +3 -3
- data/rdoc/RubyXL/CalculationProperties.html +3 -3
- data/rdoc/RubyXL/Cell.html +93 -65
- data/rdoc/RubyXL/CellConvenienceMethods.html +220 -148
- data/rdoc/RubyXL/CellExt.html +3 -3
- data/rdoc/RubyXL/CellSmartTag.html +3 -3
- data/rdoc/RubyXL/CellSmartTagProperty.html +3 -3
- data/rdoc/RubyXL/CellSmartTags.html +3 -3
- data/rdoc/RubyXL/CellStyle.html +3 -3
- data/rdoc/RubyXL/CellStyleXFs.html +9 -7
- data/rdoc/RubyXL/CellStyles.html +10 -8
- data/rdoc/RubyXL/CellValue.html +9 -7
- data/rdoc/RubyXL/CellWatch.html +3 -3
- data/rdoc/RubyXL/CellWatches.html +3 -3
- data/rdoc/RubyXL/CellXFs.html +11 -10
- data/rdoc/RubyXL/ChartColorsFile.html +3 -3
- data/rdoc/RubyXL/ChartFile.html +9 -7
- data/rdoc/RubyXL/ChartStyleFile.html +3 -3
- data/rdoc/RubyXL/ChartUserShapesFile.html +3 -3
- data/rdoc/RubyXL/Chartsheet.html +9 -7
- data/rdoc/RubyXL/ChartsheetPageSetup.html +3 -3
- data/rdoc/RubyXL/ChartsheetProperties.html +3 -3
- data/rdoc/RubyXL/ChartsheetProtection.html +3 -3
- data/rdoc/RubyXL/ChartsheetView.html +3 -3
- data/rdoc/RubyXL/ChartsheetViews.html +3 -3
- data/rdoc/RubyXL/Color.html +9 -7
- data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +17 -13
- data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +23 -17
- data/rdoc/RubyXL/ColorConvenienceClasses.html +3 -3
- data/rdoc/RubyXL/ColorConvenienceMethods.html +9 -7
- data/rdoc/RubyXL/ColorFilter.html +3 -3
- data/rdoc/RubyXL/ColorScale.html +3 -3
- data/rdoc/RubyXL/ColorSet.html +3 -3
- data/rdoc/RubyXL/Colors.html +3 -3
- data/rdoc/RubyXL/ColumnRange.html +57 -20
- data/rdoc/RubyXL/ColumnRanges.html +37 -29
- data/rdoc/RubyXL/Comment.html +3 -3
- data/rdoc/RubyXL/CommentList.html +3 -3
- data/rdoc/RubyXL/CommentsFile.html +9 -7
- data/rdoc/RubyXL/ConditionalFormatValue.html +3 -3
- data/rdoc/RubyXL/ConditionalFormatting.html +3 -3
- data/rdoc/RubyXL/ConditionalFormattingRule.html +3 -3
- data/rdoc/RubyXL/Connection.html +3 -3
- data/rdoc/RubyXL/ConnectionTable.html +3 -3
- data/rdoc/RubyXL/ConnectionTables.html +3 -3
- data/rdoc/RubyXL/ConnectionTextField.html +3 -3
- data/rdoc/RubyXL/ConnectionTextFields.html +3 -3
- data/rdoc/RubyXL/Connections.html +9 -7
- data/rdoc/RubyXL/ContentTypeDefault.html +3 -3
- data/rdoc/RubyXL/ContentTypeOverride.html +3 -3
- data/rdoc/RubyXL/ContentTypes.html +15 -11
- data/rdoc/RubyXL/ControlPropertiesFile.html +3 -3
- data/rdoc/RubyXL/CorePropertiesFile.html +66 -48
- data/rdoc/RubyXL/CustomColor.html +3 -3
- data/rdoc/RubyXL/CustomColorList.html +3 -3
- data/rdoc/RubyXL/CustomFilter.html +3 -3
- data/rdoc/RubyXL/CustomFilters.html +3 -3
- data/rdoc/RubyXL/CustomGeometry.html +3 -3
- data/rdoc/RubyXL/CustomProperties.html +3 -3
- data/rdoc/RubyXL/CustomPropertiesFile.html +3 -3
- data/rdoc/RubyXL/CustomProperty.html +3 -3
- data/rdoc/RubyXL/CustomPropertyFile.html +3 -3
- data/rdoc/RubyXL/CustomSheetView.html +3 -3
- data/rdoc/RubyXL/CustomSheetViews.html +3 -3
- data/rdoc/RubyXL/CustomWorkbookView.html +3 -3
- data/rdoc/RubyXL/CustomWorkbookViews.html +3 -3
- data/rdoc/RubyXL/CustomXMLFile.html +3 -3
- data/rdoc/RubyXL/DXF.html +3 -3
- data/rdoc/RubyXL/DXFs.html +3 -3
- data/rdoc/RubyXL/DataBar.html +3 -3
- data/rdoc/RubyXL/DataConsolidate.html +3 -3
- data/rdoc/RubyXL/DataConsolidationReference.html +3 -3
- data/rdoc/RubyXL/DataConsolidationReferences.html +3 -3
- data/rdoc/RubyXL/DataType.html +3 -3
- data/rdoc/RubyXL/DataValidation.html +3 -3
- data/rdoc/RubyXL/DataValidations.html +3 -3
- data/rdoc/RubyXL/DateGroupItem.html +3 -3
- data/rdoc/RubyXL/DefinedName.html +3 -3
- data/rdoc/RubyXL/DefinedNameExt.html +3 -3
- data/rdoc/RubyXL/DefinedNames.html +3 -3
- data/rdoc/RubyXL/DefinedNamesExt.html +3 -3
- data/rdoc/RubyXL/DocumentPropertiesFile.html +17 -12
- data/rdoc/RubyXL/DrawingFile.html +9 -7
- data/rdoc/RubyXL/DynamicFilter.html +3 -3
- data/rdoc/RubyXL/EmbeddedControl.html +3 -3
- data/rdoc/RubyXL/EmbeddedControls.html +3 -3
- data/rdoc/RubyXL/Extension.html +3 -3
- data/rdoc/RubyXL/ExtensionStorageArea.html +3 -3
- data/rdoc/RubyXL/Extents.html +3 -3
- data/rdoc/RubyXL/ExternalBook.html +3 -3
- data/rdoc/RubyXL/ExternalLinksFile.html +10 -8
- data/rdoc/RubyXL/ExternalReference.html +3 -3
- data/rdoc/RubyXL/ExternalReferences.html +3 -3
- data/rdoc/RubyXL/ExtraColorSchemeList.html +3 -3
- data/rdoc/RubyXL/FieldItem.html +3 -3
- data/rdoc/RubyXL/FileRecoveryProperties.html +3 -3
- data/rdoc/RubyXL/FileSharing.html +3 -3
- data/rdoc/RubyXL/FileVersion.html +3 -3
- data/rdoc/RubyXL/Fill.html +9 -7
- data/rdoc/RubyXL/Fills.html +9 -7
- data/rdoc/RubyXL/FilterContainer.html +3 -3
- data/rdoc/RubyXL/FloatNode.html +3 -3
- data/rdoc/RubyXL/FloatValue.html +3 -3
- data/rdoc/RubyXL/Font.html +9 -7
- data/rdoc/RubyXL/FontConvenienceMethods.html +87 -59
- data/rdoc/RubyXL/FontScheme.html +3 -3
- data/rdoc/RubyXL/Fonts.html +9 -7
- data/rdoc/RubyXL/Formula.html +3 -3
- data/rdoc/RubyXL/FunctionGroup.html +3 -3
- data/rdoc/RubyXL/FunctionGroups.html +3 -3
- data/rdoc/RubyXL/GenericStorageObject.html +22 -16
- data/rdoc/RubyXL/GradientFill.html +3 -3
- data/rdoc/RubyXL/HeaderFooterSettings.html +3 -3
- data/rdoc/RubyXL/Hyperlink.html +3 -3
- data/rdoc/RubyXL/HyperlinkRelFile.html +3 -3
- data/rdoc/RubyXL/Hyperlinks.html +3 -3
- data/rdoc/RubyXL/IconFilter.html +3 -3
- data/rdoc/RubyXL/IconSet.html +3 -3
- data/rdoc/RubyXL/IgnoredError.html +3 -3
- data/rdoc/RubyXL/IgnoredErrors.html +3 -3
- data/rdoc/RubyXL/IndexedColors.html +3 -3
- data/rdoc/RubyXL/InputCells.html +3 -3
- data/rdoc/RubyXL/IntegerNode.html +3 -3
- data/rdoc/RubyXL/IntegerValue.html +3 -3
- data/rdoc/RubyXL/LegacyCell.html +9 -7
- data/rdoc/RubyXL/LegacyWorksheet.html +55 -30
- data/rdoc/RubyXL/MRUColors.html +3 -3
- data/rdoc/RubyXL/MacrosFile.html +3 -3
- data/rdoc/RubyXL/MergedCell.html +3 -3
- data/rdoc/RubyXL/MergedCells.html +3 -3
- data/rdoc/RubyXL/NumFmt.html +3 -3
- data/rdoc/RubyXL/NumberFormat.html +9 -7
- data/rdoc/RubyXL/NumberFormats.html +9 -7
- data/rdoc/RubyXL/OLEObject.html +3 -3
- data/rdoc/RubyXL/OLEObjectFile.html +3 -3
- data/rdoc/RubyXL/OLEObjects.html +3 -3
- data/rdoc/RubyXL/OLESize.html +3 -3
- data/rdoc/RubyXL/OOXMLContainerObject.html +46 -34
- data/rdoc/RubyXL/OOXMLIgnored.html +15 -11
- data/rdoc/RubyXL/OOXMLObject.html +3 -3
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +46 -31
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +67 -52
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +64 -44
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +38 -28
- data/rdoc/RubyXL/OdbcOleDbProperties.html +3 -3
- data/rdoc/RubyXL/Offset.html +3 -3
- data/rdoc/RubyXL/OlapProperties.html +3 -3
- data/rdoc/RubyXL/OleItem.html +3 -3
- data/rdoc/RubyXL/OleItems.html +3 -3
- data/rdoc/RubyXL/OleLink.html +3 -3
- data/rdoc/RubyXL/OutlineProperties.html +3 -3
- data/rdoc/RubyXL/PageMargins.html +3 -3
- data/rdoc/RubyXL/PageSetup.html +3 -3
- data/rdoc/RubyXL/PageSetupProperties.html +3 -3
- data/rdoc/RubyXL/Pane.html +3 -3
- data/rdoc/RubyXL/Parser.html +15 -11
- data/rdoc/RubyXL/PatternFill.html +3 -3
- data/rdoc/RubyXL/PersonMetadata.html +108 -0
- data/rdoc/RubyXL/PhoneticProperties.html +3 -3
- data/rdoc/RubyXL/PhoneticRun.html +3 -3
- data/rdoc/RubyXL/PivotArea.html +3 -3
- data/rdoc/RubyXL/PivotCache.html +3 -3
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +3 -3
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +3 -3
- data/rdoc/RubyXL/PivotCaches.html +3 -3
- data/rdoc/RubyXL/PivotReference.html +3 -3
- data/rdoc/RubyXL/PivotReferences.html +3 -3
- data/rdoc/RubyXL/PivotTableFile.html +3 -3
- data/rdoc/RubyXL/PivotTableSelection.html +3 -3
- data/rdoc/RubyXL/PresetGeometry.html +3 -3
- data/rdoc/RubyXL/PrintOptions.html +3 -3
- data/rdoc/RubyXL/PrinterSettingsFile.html +3 -3
- data/rdoc/RubyXL/ProtectedRange.html +3 -3
- data/rdoc/RubyXL/ProtectedRanges.html +3 -3
- data/rdoc/RubyXL/Protection.html +3 -3
- data/rdoc/RubyXL/QueryParameter.html +3 -3
- data/rdoc/RubyXL/QueryParameters.html +3 -3
- data/rdoc/RubyXL/QueryTable.html +10 -8
- data/rdoc/RubyXL/QueryTableDeletedField.html +3 -3
- data/rdoc/RubyXL/QueryTableDeletedFields.html +3 -3
- data/rdoc/RubyXL/QueryTableField.html +3 -3
- data/rdoc/RubyXL/QueryTableFields.html +3 -3
- data/rdoc/RubyXL/QueryTableRefresh.html +3 -3
- data/rdoc/RubyXL/RID.html +3 -3
- data/rdoc/RubyXL/RawOOXML.html +15 -11
- data/rdoc/RubyXL/Reference.html +113 -77
- data/rdoc/RubyXL/Relationship.html +3 -3
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +9 -7
- data/rdoc/RubyXL/RelationshipSupport.html +39 -27
- data/rdoc/RubyXL/RevisionPointer.html +3 -3
- data/rdoc/RubyXL/RichText.html +11 -9
- data/rdoc/RubyXL/RichTextRun.html +9 -7
- data/rdoc/RubyXL/Row.html +57 -39
- data/rdoc/RubyXL/RowExt.html +3 -3
- data/rdoc/RubyXL/RunProperties.html +3 -3
- data/rdoc/RubyXL/Scenario.html +3 -3
- data/rdoc/RubyXL/Scenarios.html +3 -3
- data/rdoc/RubyXL/Selection.html +9 -7
- data/rdoc/RubyXL/ShapeGuide.html +3 -3
- data/rdoc/RubyXL/ShapeTextRectangle.html +3 -3
- data/rdoc/RubyXL/SharedStringsTable.html +46 -32
- data/rdoc/RubyXL/Sheet.html +3 -3
- data/rdoc/RubyXL/SheetCalculationProperties.html +3 -3
- data/rdoc/RubyXL/SheetData.html +15 -11
- data/rdoc/RubyXL/SheetDataExt.html +3 -3
- data/rdoc/RubyXL/SheetDataSet.html +3 -3
- data/rdoc/RubyXL/SheetMetadata.html +3 -3
- data/rdoc/RubyXL/SheetName.html +3 -3
- data/rdoc/RubyXL/SheetNames.html +3 -3
- data/rdoc/RubyXL/Sheets.html +3 -3
- data/rdoc/RubyXL/SlicerCacheFile.html +3 -3
- data/rdoc/RubyXL/SlicerFile.html +3 -3
- data/rdoc/RubyXL/SmartTagProperties.html +3 -3
- data/rdoc/RubyXL/SmartTagType.html +3 -3
- data/rdoc/RubyXL/SmartTagTypes.html +3 -3
- data/rdoc/RubyXL/SmartTags.html +3 -3
- data/rdoc/RubyXL/SortCondition.html +3 -3
- data/rdoc/RubyXL/SortState.html +3 -3
- data/rdoc/RubyXL/Sqref.html +18 -14
- data/rdoc/RubyXL/Stop.html +3 -3
- data/rdoc/RubyXL/StringNode.html +3 -3
- data/rdoc/RubyXL/StringNodeW3C.html +15 -11
- data/rdoc/RubyXL/StringValue.html +3 -3
- data/rdoc/RubyXL/Stylesheet.html +38 -28
- data/rdoc/RubyXL/TableFile.html +3 -3
- data/rdoc/RubyXL/TableParts.html +3 -3
- data/rdoc/RubyXL/TableStyle.html +3 -3
- data/rdoc/RubyXL/TableStyles.html +3 -3
- data/rdoc/RubyXL/Text.html +16 -12
- data/rdoc/RubyXL/TextImportSettings.html +3 -3
- data/rdoc/RubyXL/Theme.html +39 -33
- data/rdoc/RubyXL/ThemeElements.html +3 -3
- data/rdoc/RubyXL/ThumbnailFile.html +3 -3
- data/rdoc/RubyXL/Top10.html +3 -3
- data/rdoc/RubyXL/VMLDrawingFile.html +3 -3
- data/rdoc/RubyXL/Variant.html +3 -3
- data/rdoc/RubyXL/Vector.html +9 -7
- data/rdoc/RubyXL/VectorValue.html +3 -3
- data/rdoc/RubyXL/VisualProperties.html +3 -3
- data/rdoc/RubyXL/WebPublishObject.html +3 -3
- data/rdoc/RubyXL/WebPublishObjects.html +3 -3
- data/rdoc/RubyXL/WebPublishingItem.html +3 -3
- data/rdoc/RubyXL/WebPublishingItems.html +3 -3
- data/rdoc/RubyXL/WebPublishingProperties.html +3 -3
- data/rdoc/RubyXL/WebQueryProperties.html +3 -3
- data/rdoc/RubyXL/Workbook.html +202 -146
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +124 -92
- data/rdoc/RubyXL/WorkbookProperties.html +3 -3
- data/rdoc/RubyXL/WorkbookProtection.html +3 -3
- data/rdoc/RubyXL/WorkbookRoot.html +33 -23
- data/rdoc/RubyXL/WorkbookView.html +3 -3
- data/rdoc/RubyXL/WorkbookViews.html +3 -3
- data/rdoc/RubyXL/Worksheet.html +45 -31
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +443 -288
- data/rdoc/RubyXL/WorksheetDimensions.html +3 -3
- data/rdoc/RubyXL/WorksheetFormatProperties.html +3 -3
- data/rdoc/RubyXL/WorksheetProperties.html +3 -3
- data/rdoc/RubyXL/WorksheetProtection.html +3 -3
- data/rdoc/RubyXL/WorksheetView.html +3 -3
- data/rdoc/RubyXL/WorksheetViews.html +3 -3
- data/rdoc/RubyXL/XF.html +3 -3
- data/rdoc/RubyXL.html +9 -7
- data/rdoc/created.rid +35 -35
- data/rdoc/css/rdoc.css +55 -7
- data/rdoc/index.html +395 -388
- data/rdoc/js/darkfish.js +14 -1
- data/rdoc/js/navigation.js +8 -8
- data/rdoc/js/navigation.js.gz +0 -0
- data/rdoc/js/search.js +4 -4
- 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 +14 -3
- data/rubyXL.gemspec +10 -5
- data/spec/lib/cell_spec.rb +30 -4
- data/spec/lib/color_spec.rb +7 -0
- data/spec/lib/parser_spec.rb +8 -5
- data/spec/lib/reference_spec.rb +35 -5
- data/spec/lib/rgb_color_spec.rb +2 -0
- data/spec/lib/stylesheet_spec.rb +2 -0
- data/spec/lib/text_spec.rb +3 -1
- data/spec/lib/workbook_spec.rb +6 -4
- data/spec/lib/worksheet_spec.rb +29 -17
- metadata +21 -4
- data/Gemfile.lock +0 -124
@@ -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.33</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -41,7 +41,7 @@
|
|
41
41
|
<div id="search-field-wrapper">
|
42
42
|
<input id="search-field" role="combobox" aria-label="Search"
|
43
43
|
aria-autocomplete="list" aria-controls="search-results"
|
44
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
44
|
+
type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
|
45
45
|
title="Type to search, Up and Down to navigate, Enter to load">
|
46
46
|
</div>
|
47
47
|
|
@@ -111,10 +111,12 @@
|
|
111
111
|
</header>
|
112
112
|
|
113
113
|
<div id="method-i-borders" class="method-detail ">
|
114
|
-
<div class="method-
|
115
|
-
<
|
116
|
-
class="method-
|
117
|
-
|
114
|
+
<div class="method-header">
|
115
|
+
<div class="method-heading">
|
116
|
+
<span class="method-name">borders</span><span
|
117
|
+
class="method-args">()</span>
|
118
|
+
<span class="method-click-advice">click to toggle source</span>
|
119
|
+
</div>
|
118
120
|
</div>
|
119
121
|
|
120
122
|
<div class="method-description">
|
@@ -132,10 +134,12 @@
|
|
132
134
|
</div>
|
133
135
|
|
134
136
|
<div id="method-i-cell_xfs" class="method-detail ">
|
135
|
-
<div class="method-
|
136
|
-
<
|
137
|
-
class="method-
|
138
|
-
|
137
|
+
<div class="method-header">
|
138
|
+
<div class="method-heading">
|
139
|
+
<span class="method-name">cell_xfs</span><span
|
140
|
+
class="method-args">()</span>
|
141
|
+
<span class="method-click-advice">click to toggle source</span>
|
142
|
+
</div>
|
139
143
|
</div>
|
140
144
|
|
141
145
|
<div class="method-description">
|
@@ -153,17 +157,19 @@
|
|
153
157
|
</div>
|
154
158
|
|
155
159
|
<div id="method-i-define_new_name" class="method-detail ">
|
156
|
-
<div class="method-
|
157
|
-
<
|
158
|
-
class="method-
|
159
|
-
|
160
|
+
<div class="method-header">
|
161
|
+
<div class="method-heading">
|
162
|
+
<span class="method-name">define_new_name</span><span
|
163
|
+
class="method-args">(name, reference)</span>
|
164
|
+
<span class="method-click-advice">click to toggle source</span>
|
165
|
+
</div>
|
160
166
|
</div>
|
161
167
|
|
162
168
|
<div class="method-description">
|
163
169
|
|
164
170
|
|
165
171
|
<div class="method-source-code" id="define_new_name-source">
|
166
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line
|
172
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 118</span>
|
167
173
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">define_new_name</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">reference</span>)
|
168
174
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">defined_names</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">DefinedNames</span>.<span class="ruby-identifier">new</span>
|
169
175
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">defined_names</span> <span class="ruby-operator"><<</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">DefinedName</span>.<span class="ruby-identifier">new</span>({<span class="ruby-value">:name</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">name</span>, <span class="ruby-value">:reference</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">reference</span>})
|
@@ -175,10 +181,12 @@
|
|
175
181
|
</div>
|
176
182
|
|
177
183
|
<div id="method-i-each" class="method-detail ">
|
178
|
-
<div class="method-
|
179
|
-
<
|
180
|
-
class="method-
|
181
|
-
|
184
|
+
<div class="method-header">
|
185
|
+
<div class="method-heading">
|
186
|
+
<span class="method-name">each</span><span
|
187
|
+
class="method-args">() { |i| ... }</span>
|
188
|
+
<span class="method-click-advice">click to toggle source</span>
|
189
|
+
</div>
|
182
190
|
</div>
|
183
191
|
|
184
192
|
<div class="method-description">
|
@@ -196,10 +204,12 @@
|
|
196
204
|
</div>
|
197
205
|
|
198
206
|
<div id="method-i-fills" class="method-detail ">
|
199
|
-
<div class="method-
|
200
|
-
<
|
201
|
-
class="method-
|
202
|
-
|
207
|
+
<div class="method-header">
|
208
|
+
<div class="method-heading">
|
209
|
+
<span class="method-name">fills</span><span
|
210
|
+
class="method-args">()</span>
|
211
|
+
<span class="method-click-advice">click to toggle source</span>
|
212
|
+
</div>
|
203
213
|
</div>
|
204
214
|
|
205
215
|
<div class="method-description">
|
@@ -217,10 +227,12 @@
|
|
217
227
|
</div>
|
218
228
|
|
219
229
|
<div id="method-i-fonts" class="method-detail ">
|
220
|
-
<div class="method-
|
221
|
-
<
|
222
|
-
class="method-
|
223
|
-
|
230
|
+
<div class="method-header">
|
231
|
+
<div class="method-heading">
|
232
|
+
<span class="method-name">fonts</span><span
|
233
|
+
class="method-args">()</span>
|
234
|
+
<span class="method-click-advice">click to toggle source</span>
|
235
|
+
</div>
|
224
236
|
</div>
|
225
237
|
|
226
238
|
<div class="method-description">
|
@@ -238,17 +250,19 @@
|
|
238
250
|
</div>
|
239
251
|
|
240
252
|
<div id="method-i-get_defined_name" class="method-detail ">
|
241
|
-
<div class="method-
|
242
|
-
<
|
243
|
-
class="method-
|
244
|
-
|
253
|
+
<div class="method-header">
|
254
|
+
<div class="method-heading">
|
255
|
+
<span class="method-name">get_defined_name</span><span
|
256
|
+
class="method-args">(name)</span>
|
257
|
+
<span class="method-click-advice">click to toggle source</span>
|
258
|
+
</div>
|
245
259
|
</div>
|
246
260
|
|
247
261
|
<div class="method-description">
|
248
262
|
|
249
263
|
|
250
264
|
<div class="method-source-code" id="get_defined_name-source">
|
251
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line
|
265
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 123</span>
|
252
266
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_defined_name</span>(<span class="ruby-identifier">name</span>)
|
253
267
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">defined_names</span> <span class="ruby-operator">&&</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">defined_names</span>.<span class="ruby-identifier">find</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">n</span><span class="ruby-operator">|</span> <span class="ruby-identifier">n</span>.<span class="ruby-identifier">name</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">name</span> }
|
254
268
|
<span class="ruby-keyword">end</span></pre>
|
@@ -259,10 +273,12 @@
|
|
259
273
|
</div>
|
260
274
|
|
261
275
|
<div id="method-i-get_fill_color" class="method-detail ">
|
262
|
-
<div class="method-
|
263
|
-
<
|
264
|
-
class="method-
|
265
|
-
|
276
|
+
<div class="method-header">
|
277
|
+
<div class="method-heading">
|
278
|
+
<span class="method-name">get_fill_color</span><span
|
279
|
+
class="method-args">(xf)</span>
|
280
|
+
<span class="method-click-advice">click to toggle source</span>
|
281
|
+
</div>
|
266
282
|
</div>
|
267
283
|
|
268
284
|
<div class="method-description">
|
@@ -271,11 +287,7 @@
|
|
271
287
|
<div class="method-source-code" id="get_fill_color-source">
|
272
288
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 23</span>
|
273
289
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_fill_color</span>(<span class="ruby-identifier">xf</span>)
|
274
|
-
<span class="ruby-identifier">
|
275
|
-
<span class="ruby-identifier">pattern</span> = <span class="ruby-identifier">fill</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">fill</span>.<span class="ruby-identifier">pattern_fill</span>
|
276
|
-
<span class="ruby-identifier">color</span> = <span class="ruby-identifier">pattern</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">pattern</span>.<span class="ruby-identifier">fg_color</span>
|
277
|
-
<span class="ruby-identifier">color</span> = <span class="ruby-identifier">color</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">color</span>.<span class="ruby-identifier">get_rgb</span>(<span class="ruby-keyword">self</span>)
|
278
|
-
<span class="ruby-identifier">color</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">color</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-operator">||</span> <span class="ruby-string">'ffffff'</span>
|
290
|
+
<span class="ruby-identifier">fills</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">fill_id</span>]&.<span class="ruby-identifier">pattern_fill</span>&.<span class="ruby-identifier">fg_color</span>&.<span class="ruby-identifier">get_rgb</span>(<span class="ruby-keyword">self</span>)&.<span class="ruby-identifier">to_s</span> <span class="ruby-operator">||</span> <span class="ruby-string">'ffffff'</span>
|
279
291
|
<span class="ruby-keyword">end</span></pre>
|
280
292
|
</div>
|
281
293
|
</div>
|
@@ -284,17 +296,19 @@
|
|
284
296
|
</div>
|
285
297
|
|
286
298
|
<div id="method-i-modify_alignment" class="method-detail ">
|
287
|
-
<div class="method-
|
288
|
-
<
|
289
|
-
class="method-
|
290
|
-
|
299
|
+
<div class="method-header">
|
300
|
+
<div class="method-heading">
|
301
|
+
<span class="method-name">modify_alignment</span><span
|
302
|
+
class="method-args">(style_index) { |alignment| ... }</span>
|
303
|
+
<span class="method-click-advice">click to toggle source</span>
|
304
|
+
</div>
|
291
305
|
</div>
|
292
306
|
|
293
307
|
<div class="method-description">
|
294
308
|
|
295
309
|
|
296
310
|
<div class="method-source-code" id="modify_alignment-source">
|
297
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line
|
311
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 52</span>
|
298
312
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">modify_alignment</span>(<span class="ruby-identifier">style_index</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
299
313
|
<span class="ruby-identifier">old_xf</span> = <span class="ruby-identifier">cell_xfs</span>[<span class="ruby-identifier">style_index</span> <span class="ruby-operator">||</span> <span class="ruby-value">0</span>]
|
300
314
|
<span class="ruby-identifier">new_xf</span> = <span class="ruby-identifier">old_xf</span>.<span class="ruby-identifier">dup</span>
|
@@ -316,17 +330,19 @@
|
|
316
330
|
</div>
|
317
331
|
|
318
332
|
<div id="method-i-modify_border" class="method-detail ">
|
319
|
-
<div class="method-
|
320
|
-
<
|
321
|
-
class="method-
|
322
|
-
|
333
|
+
<div class="method-header">
|
334
|
+
<div class="method-heading">
|
335
|
+
<span class="method-name">modify_border</span><span
|
336
|
+
class="method-args">(style_index, direction, weight)</span>
|
337
|
+
<span class="method-click-advice">click to toggle source</span>
|
338
|
+
</div>
|
323
339
|
</div>
|
324
340
|
|
325
341
|
<div class="method-description">
|
326
342
|
|
327
343
|
|
328
344
|
<div class="method-source-code" id="modify_border-source">
|
329
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line
|
345
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 75</span>
|
330
346
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">modify_border</span>(<span class="ruby-identifier">style_index</span>, <span class="ruby-identifier">direction</span>, <span class="ruby-identifier">weight</span>)
|
331
347
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">cell_xfs</span>[<span class="ruby-identifier">style_index</span> <span class="ruby-operator">||</span> <span class="ruby-value">0</span>].<span class="ruby-identifier">dup</span>
|
332
348
|
<span class="ruby-identifier">new_border</span> = <span class="ruby-identifier">borders</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">border_id</span> <span class="ruby-operator">||</span> <span class="ruby-value">0</span>].<span class="ruby-identifier">dup</span>
|
@@ -350,17 +366,19 @@
|
|
350
366
|
</div>
|
351
367
|
|
352
368
|
<div id="method-i-modify_border_color" class="method-detail ">
|
353
|
-
<div class="method-
|
354
|
-
<
|
355
|
-
class="method-
|
356
|
-
|
369
|
+
<div class="method-header">
|
370
|
+
<div class="method-heading">
|
371
|
+
<span class="method-name">modify_border_color</span><span
|
372
|
+
class="method-args">(style_index, direction, color)</span>
|
373
|
+
<span class="method-click-advice">click to toggle source</span>
|
374
|
+
</div>
|
357
375
|
</div>
|
358
376
|
|
359
377
|
<div class="method-description">
|
360
378
|
|
361
379
|
|
362
380
|
<div class="method-source-code" id="modify_border_color-source">
|
363
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line
|
381
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 92</span>
|
364
382
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">modify_border_color</span>(<span class="ruby-identifier">style_index</span>, <span class="ruby-identifier">direction</span>, <span class="ruby-identifier">color</span>)
|
365
383
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">cell_xfs</span>[<span class="ruby-identifier">style_index</span> <span class="ruby-operator">||</span> <span class="ruby-value">0</span>].<span class="ruby-identifier">dup</span>
|
366
384
|
<span class="ruby-identifier">new_border</span> = <span class="ruby-identifier">borders</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">border_id</span> <span class="ruby-operator">||</span> <span class="ruby-value">0</span>].<span class="ruby-identifier">dup</span>
|
@@ -380,17 +398,19 @@
|
|
380
398
|
</div>
|
381
399
|
|
382
400
|
<div id="method-i-modify_fill" class="method-detail ">
|
383
|
-
<div class="method-
|
384
|
-
<
|
385
|
-
class="method-
|
386
|
-
|
401
|
+
<div class="method-header">
|
402
|
+
<div class="method-heading">
|
403
|
+
<span class="method-name">modify_fill</span><span
|
404
|
+
class="method-args">(style_index, rgb)</span>
|
405
|
+
<span class="method-click-advice">click to toggle source</span>
|
406
|
+
</div>
|
387
407
|
</div>
|
388
408
|
|
389
409
|
<div class="method-description">
|
390
410
|
|
391
411
|
|
392
412
|
<div class="method-source-code" id="modify_fill-source">
|
393
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line
|
413
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 67</span>
|
394
414
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">modify_fill</span>(<span class="ruby-identifier">style_index</span>, <span class="ruby-identifier">rgb</span>)
|
395
415
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">cell_xfs</span>[<span class="ruby-identifier">style_index</span> <span class="ruby-operator">||</span> <span class="ruby-value">0</span>].<span class="ruby-identifier">dup</span>
|
396
416
|
<span class="ruby-identifier">new_fill</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Fill</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:pattern_fill</span> <span class="ruby-operator">=></span>
|
@@ -405,17 +425,19 @@
|
|
405
425
|
</div>
|
406
426
|
|
407
427
|
<div id="method-i-password_hash" class="method-detail ">
|
408
|
-
<div class="method-
|
409
|
-
<
|
410
|
-
class="method-
|
411
|
-
|
428
|
+
<div class="method-header">
|
429
|
+
<div class="method-heading">
|
430
|
+
<span class="method-name">password_hash</span><span
|
431
|
+
class="method-args">(pwd)</span>
|
432
|
+
<span class="method-click-advice">click to toggle source</span>
|
433
|
+
</div>
|
412
434
|
</div>
|
413
435
|
|
414
436
|
<div class="method-description">
|
415
437
|
<p>Calculate password hash from string for use in ‘password’ fields. <a href="https://www.openoffice.org/sc/excelfileformat.pdf">www.openoffice.org/sc/excelfileformat.pdf</a></p>
|
416
438
|
|
417
439
|
<div class="method-source-code" id="password_hash-source">
|
418
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line
|
440
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 107</span>
|
419
441
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">password_hash</span>(<span class="ruby-identifier">pwd</span>)
|
420
442
|
<span class="ruby-identifier">hsh</span> = <span class="ruby-value">0</span>
|
421
443
|
<span class="ruby-identifier">pwd</span>.<span class="ruby-identifier">reverse</span>.<span class="ruby-identifier">each_char</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span>
|
@@ -433,17 +455,19 @@
|
|
433
455
|
</div>
|
434
456
|
|
435
457
|
<div id="method-i-register_new_fill" class="method-detail ">
|
436
|
-
<div class="method-
|
437
|
-
<
|
438
|
-
class="method-
|
439
|
-
|
458
|
+
<div class="method-header">
|
459
|
+
<div class="method-heading">
|
460
|
+
<span class="method-name">register_new_fill</span><span
|
461
|
+
class="method-args">(new_fill, old_xf)</span>
|
462
|
+
<span class="method-click-advice">click to toggle source</span>
|
463
|
+
</div>
|
440
464
|
</div>
|
441
465
|
|
442
466
|
<div class="method-description">
|
443
467
|
|
444
468
|
|
445
469
|
<div class="method-source-code" id="register_new_fill-source">
|
446
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line
|
470
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 27</span>
|
447
471
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">register_new_fill</span>(<span class="ruby-identifier">new_fill</span>, <span class="ruby-identifier">old_xf</span>)
|
448
472
|
<span class="ruby-identifier">new_xf</span> = <span class="ruby-identifier">old_xf</span>.<span class="ruby-identifier">dup</span>
|
449
473
|
<span class="ruby-identifier">new_xf</span>.<span class="ruby-identifier">apply_fill</span> = <span class="ruby-keyword">true</span>
|
@@ -459,17 +483,19 @@
|
|
459
483
|
</div>
|
460
484
|
|
461
485
|
<div id="method-i-register_new_font" class="method-detail ">
|
462
|
-
<div class="method-
|
463
|
-
<
|
464
|
-
class="method-
|
465
|
-
|
486
|
+
<div class="method-header">
|
487
|
+
<div class="method-heading">
|
488
|
+
<span class="method-name">register_new_font</span><span
|
489
|
+
class="method-args">(new_font, old_xf)</span>
|
490
|
+
<span class="method-click-advice">click to toggle source</span>
|
491
|
+
</div>
|
466
492
|
</div>
|
467
493
|
|
468
494
|
<div class="method-description">
|
469
495
|
|
470
496
|
|
471
497
|
<div class="method-source-code" id="register_new_font-source">
|
472
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line
|
498
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 36</span>
|
473
499
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">register_new_font</span>(<span class="ruby-identifier">new_font</span>, <span class="ruby-identifier">old_xf</span>)
|
474
500
|
<span class="ruby-identifier">new_xf</span> = <span class="ruby-identifier">old_xf</span>.<span class="ruby-identifier">dup</span>
|
475
501
|
<span class="ruby-identifier">new_xf</span>.<span class="ruby-identifier">font_id</span> = <span class="ruby-identifier">fonts</span>.<span class="ruby-identifier">find_index</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">x</span><span class="ruby-operator">|</span> <span class="ruby-identifier">x</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">new_font</span> } <span class="ruby-comment"># Reuse existing font, if it exists</span>
|
@@ -485,17 +511,19 @@
|
|
485
511
|
</div>
|
486
512
|
|
487
513
|
<div id="method-i-register_new_xf" class="method-detail ">
|
488
|
-
<div class="method-
|
489
|
-
<
|
490
|
-
class="method-
|
491
|
-
|
514
|
+
<div class="method-header">
|
515
|
+
<div class="method-heading">
|
516
|
+
<span class="method-name">register_new_xf</span><span
|
517
|
+
class="method-args">(new_xf)</span>
|
518
|
+
<span class="method-click-advice">click to toggle source</span>
|
519
|
+
</div>
|
492
520
|
</div>
|
493
521
|
|
494
522
|
<div class="method-description">
|
495
523
|
|
496
524
|
|
497
525
|
<div class="method-source-code" id="register_new_xf-source">
|
498
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line
|
526
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 45</span>
|
499
527
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">register_new_xf</span>(<span class="ruby-identifier">new_xf</span>)
|
500
528
|
<span class="ruby-identifier">new_xf_id</span> = <span class="ruby-identifier">cell_xfs</span>.<span class="ruby-identifier">find_index</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">xf</span><span class="ruby-operator">|</span> <span class="ruby-identifier">xf</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">new_xf</span> } <span class="ruby-comment"># Reuse existing XF, if it exists</span>
|
501
529
|
<span class="ruby-identifier">new_xf_id</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">cell_xfs</span>.<span class="ruby-identifier">size</span> <span class="ruby-comment"># If this XF has never existed before, add it to collection.</span>
|
@@ -509,17 +537,19 @@
|
|
509
537
|
</div>
|
510
538
|
|
511
539
|
<div id="method-i-title" class="method-detail ">
|
512
|
-
<div class="method-
|
513
|
-
<
|
514
|
-
class="method-
|
515
|
-
|
540
|
+
<div class="method-header">
|
541
|
+
<div class="method-heading">
|
542
|
+
<span class="method-name">title</span><span
|
543
|
+
class="method-args">()</span>
|
544
|
+
<span class="method-click-advice">click to toggle source</span>
|
545
|
+
</div>
|
516
546
|
</div>
|
517
547
|
|
518
548
|
<div class="method-description">
|
519
549
|
|
520
550
|
|
521
551
|
<div class="method-source-code" id="title-source">
|
522
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line
|
552
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 127</span>
|
523
553
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">title</span>
|
524
554
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">dc_title</span> <span class="ruby-operator">&&</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">dc_title</span>.<span class="ruby-identifier">value</span>
|
525
555
|
<span class="ruby-keyword">end</span></pre>
|
@@ -530,17 +560,19 @@
|
|
530
560
|
</div>
|
531
561
|
|
532
562
|
<div id="method-i-title-3D" class="method-detail ">
|
533
|
-
<div class="method-
|
534
|
-
<
|
535
|
-
class="method-
|
536
|
-
|
563
|
+
<div class="method-header">
|
564
|
+
<div class="method-heading">
|
565
|
+
<span class="method-name">title=</span><span
|
566
|
+
class="method-args">(v)</span>
|
567
|
+
<span class="method-click-advice">click to toggle source</span>
|
568
|
+
</div>
|
537
569
|
</div>
|
538
570
|
|
539
571
|
<div class="method-description">
|
540
572
|
|
541
573
|
|
542
574
|
<div class="method-source-code" id="title-3D-source">
|
543
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line
|
575
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 131</span>
|
544
576
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">title=</span>(<span class="ruby-identifier">v</span>)
|
545
577
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">dc_title</span> = <span class="ruby-identifier">v</span> <span class="ruby-operator">&&</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">StringNode</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:value</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">v</span>)
|
546
578
|
<span class="ruby-keyword">end</span></pre>
|
@@ -558,7 +590,7 @@
|
|
558
590
|
|
559
591
|
<footer id="validator-badges" role="contentinfo">
|
560
592
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
561
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
593
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.6.3.1.
|
562
594
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
563
595
|
</footer>
|
564
596
|
|
@@ -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.33</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -41,7 +41,7 @@
|
|
41
41
|
<div id="search-field-wrapper">
|
42
42
|
<input id="search-field" role="combobox" aria-label="Search"
|
43
43
|
aria-autocomplete="list" aria-controls="search-results"
|
44
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
44
|
+
type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
|
45
45
|
title="Type to search, Up and Down to navigate, Enter to load">
|
46
46
|
</div>
|
47
47
|
|
@@ -93,7 +93,7 @@
|
|
93
93
|
|
94
94
|
<footer id="validator-badges" role="contentinfo">
|
95
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.
|
96
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.6.3.1.
|
97
97
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
98
98
|
</footer>
|
99
99
|
|
@@ -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.33</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -41,7 +41,7 @@
|
|
41
41
|
<div id="search-field-wrapper">
|
42
42
|
<input id="search-field" role="combobox" aria-label="Search"
|
43
43
|
aria-autocomplete="list" aria-controls="search-results"
|
44
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
44
|
+
type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
|
45
45
|
title="Type to search, Up and Down to navigate, Enter to load">
|
46
46
|
</div>
|
47
47
|
|
@@ -93,7 +93,7 @@
|
|
93
93
|
|
94
94
|
<footer id="validator-badges" role="contentinfo">
|
95
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.
|
96
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.6.3.1.
|
97
97
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
98
98
|
</footer>
|
99
99
|
|
@@ -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.33</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -41,7 +41,7 @@
|
|
41
41
|
<div id="search-field-wrapper">
|
42
42
|
<input id="search-field" role="combobox" aria-label="Search"
|
43
43
|
aria-autocomplete="list" aria-controls="search-results"
|
44
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
44
|
+
type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
|
45
45
|
title="Type to search, Up and Down to navigate, Enter to load">
|
46
46
|
</div>
|
47
47
|
|
@@ -148,10 +148,12 @@
|
|
148
148
|
</header>
|
149
149
|
|
150
150
|
<div id="method-c-default" class="method-detail ">
|
151
|
-
<div class="method-
|
152
|
-
<
|
153
|
-
class="method-
|
154
|
-
|
151
|
+
<div class="method-header">
|
152
|
+
<div class="method-heading">
|
153
|
+
<span class="method-name">default</span><span
|
154
|
+
class="method-args">()</span>
|
155
|
+
<span class="method-click-advice">click to toggle source</span>
|
156
|
+
</div>
|
155
157
|
</div>
|
156
158
|
|
157
159
|
<div class="method-description">
|
@@ -174,10 +176,12 @@
|
|
174
176
|
</div>
|
175
177
|
|
176
178
|
<div id="method-c-parse_zip_file" class="method-detail ">
|
177
|
-
<div class="method-
|
178
|
-
<
|
179
|
-
class="method-
|
180
|
-
|
179
|
+
<div class="method-header">
|
180
|
+
<div class="method-heading">
|
181
|
+
<span class="method-name">parse_zip_file</span><span
|
182
|
+
class="method-args">(zip_file)</span>
|
183
|
+
<span class="method-click-advice">click to toggle source</span>
|
184
|
+
</div>
|
181
185
|
</div>
|
182
186
|
|
183
187
|
<div class="method-description">
|
@@ -220,10 +224,12 @@
|
|
220
224
|
</header>
|
221
225
|
|
222
226
|
<div id="method-i-related_objects" class="method-detail ">
|
223
|
-
<div class="method-
|
224
|
-
<
|
225
|
-
class="method-
|
226
|
-
|
227
|
+
<div class="method-header">
|
228
|
+
<div class="method-heading">
|
229
|
+
<span class="method-name">related_objects</span><span
|
230
|
+
class="method-args">()</span>
|
231
|
+
<span class="method-click-advice">click to toggle source</span>
|
232
|
+
</div>
|
227
233
|
</div>
|
228
234
|
|
229
235
|
<div class="method-description">
|
@@ -241,10 +247,12 @@
|
|
241
247
|
</div>
|
242
248
|
|
243
249
|
<div id="method-i-stream" class="method-detail ">
|
244
|
-
<div class="method-
|
245
|
-
<
|
246
|
-
class="method-
|
247
|
-
|
250
|
+
<div class="method-header">
|
251
|
+
<div class="method-heading">
|
252
|
+
<span class="method-name">stream</span><span
|
253
|
+
class="method-args">()</span>
|
254
|
+
<span class="method-click-advice">click to toggle source</span>
|
255
|
+
</div>
|
248
256
|
</div>
|
249
257
|
|
250
258
|
<div class="method-description">
|
@@ -281,10 +289,12 @@
|
|
281
289
|
</div>
|
282
290
|
|
283
291
|
<div id="method-i-xlsx_path" class="method-detail ">
|
284
|
-
<div class="method-
|
285
|
-
<
|
286
|
-
class="method-
|
287
|
-
|
292
|
+
<div class="method-header">
|
293
|
+
<div class="method-heading">
|
294
|
+
<span class="method-name">xlsx_path</span><span
|
295
|
+
class="method-args">()</span>
|
296
|
+
<span class="method-click-advice">click to toggle source</span>
|
297
|
+
</div>
|
288
298
|
</div>
|
289
299
|
|
290
300
|
<div class="method-description">
|
@@ -309,7 +319,7 @@
|
|
309
319
|
|
310
320
|
<footer id="validator-badges" role="contentinfo">
|
311
321
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
312
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
322
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.6.3.1.
|
313
323
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
314
324
|
</footer>
|
315
325
|
|