rubyXL 3.4.39 → 3.4.40
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/Rakefile +107 -14
- data/VERSION +1 -1
- data/bin/console +10 -0
- data/bin/setup +3 -0
- data/lib/rubyXL/convenience_methods/cell.rb +6 -3
- data/lib/rubyXL/version.rb +3 -0
- data/lib/rubyXL.rb +1 -0
- data/rubyXL.gemspec +10 -482
- metadata +27 -430
- data/.circleci/config.yml +0 -71
- data/.codeclimate.yml +0 -3
- data/.rubocop.yml +0 -124
- data/CHANGELOG.md +0 -12
- data/Gemfile +0 -23
- data/rdoc/README_rdoc.html +0 -871
- data/rdoc/RubyXL/AExtension.html +0 -703
- data/rdoc/RubyXL/AExtensionStorageArea.html +0 -543
- data/rdoc/RubyXL/ActiveX.html +0 -654
- data/rdoc/RubyXL/ActiveXBinary.html +0 -560
- data/rdoc/RubyXL/AdjustHandleList.html +0 -539
- data/rdoc/RubyXL/Alignment.html +0 -539
- data/rdoc/RubyXL/AlternateContent.html +0 -543
- data/rdoc/RubyXL/AlternateUrls.html +0 -539
- data/rdoc/RubyXL/Authors.html +0 -539
- data/rdoc/RubyXL/AutoFilter.html +0 -539
- data/rdoc/RubyXL/AutoFilterColumn.html +0 -539
- data/rdoc/RubyXL/BinaryImageFile.html +0 -568
- data/rdoc/RubyXL/BodyProperties.html +0 -539
- data/rdoc/RubyXL/BooleanNode.html +0 -543
- data/rdoc/RubyXL/BooleanValue.html +0 -543
- data/rdoc/RubyXL/Border.html +0 -759
- data/rdoc/RubyXL/BorderEdge.html +0 -656
- data/rdoc/RubyXL/Borders.html +0 -608
- data/rdoc/RubyXL/Break.html +0 -539
- data/rdoc/RubyXL/BreakList.html +0 -539
- data/rdoc/RubyXL/CT_AdjPoint2D.html +0 -539
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +0 -539
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +0 -539
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +0 -539
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +0 -539
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +0 -539
- data/rdoc/RubyXL/CT_Backdrop.html +0 -539
- data/rdoc/RubyXL/CT_Bevel.html +0 -539
- data/rdoc/RubyXL/CT_BiLevelEffect.html +0 -539
- data/rdoc/RubyXL/CT_BlendEffect.html +0 -539
- data/rdoc/RubyXL/CT_Blip.html +0 -539
- data/rdoc/RubyXL/CT_BlipFillProperties.html +0 -539
- data/rdoc/RubyXL/CT_BlurEffect.html +0 -539
- data/rdoc/RubyXL/CT_Camera.html +0 -539
- data/rdoc/RubyXL/CT_Color.html +0 -539
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +0 -539
- data/rdoc/RubyXL/CT_ColorMapping.html +0 -539
- data/rdoc/RubyXL/CT_ColorScheme.html +0 -539
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +0 -539
- data/rdoc/RubyXL/CT_ConnectionSite.html +0 -539
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +0 -539
- data/rdoc/RubyXL/CT_DashStop.html +0 -539
- data/rdoc/RubyXL/CT_DashStopList.html +0 -539
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +0 -539
- data/rdoc/RubyXL/CT_DuotoneEffect.html +0 -539
- data/rdoc/RubyXL/CT_EffectContainer.html +0 -539
- data/rdoc/RubyXL/CT_EffectList.html +0 -539
- data/rdoc/RubyXL/CT_EffectReference.html +0 -539
- data/rdoc/RubyXL/CT_EffectStyleItem.html +0 -539
- data/rdoc/RubyXL/CT_EffectStyleList.html +0 -539
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +0 -539
- data/rdoc/RubyXL/CT_FillEffect.html +0 -539
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +0 -539
- data/rdoc/RubyXL/CT_FillStyleList.html +0 -539
- data/rdoc/RubyXL/CT_FlatText.html +0 -539
- data/rdoc/RubyXL/CT_FontCollection.html +0 -539
- data/rdoc/RubyXL/CT_FontReference.html +0 -539
- data/rdoc/RubyXL/CT_GeomGuideList.html +0 -539
- data/rdoc/RubyXL/CT_GlowEffect.html +0 -539
- data/rdoc/RubyXL/CT_GradientFillProperties.html +0 -539
- data/rdoc/RubyXL/CT_GradientStop.html +0 -539
- data/rdoc/RubyXL/CT_GradientStopList.html +0 -539
- data/rdoc/RubyXL/CT_HSLEffect.html +0 -539
- data/rdoc/RubyXL/CT_HslColor.html +0 -539
- data/rdoc/RubyXL/CT_Hyperlink.html +0 -539
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +0 -539
- data/rdoc/RubyXL/CT_LightRig.html +0 -539
- data/rdoc/RubyXL/CT_LineEndProperties.html +0 -539
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +0 -539
- data/rdoc/RubyXL/CT_LineProperties.html +0 -539
- data/rdoc/RubyXL/CT_LineStyleList.html +0 -539
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +0 -539
- data/rdoc/RubyXL/CT_LuminanceEffect.html +0 -539
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +0 -539
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +0 -539
- data/rdoc/RubyXL/CT_Path2D.html +0 -539
- data/rdoc/RubyXL/CT_Path2DArcTo.html +0 -539
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +0 -539
- data/rdoc/RubyXL/CT_Path2DList.html +0 -539
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +0 -539
- data/rdoc/RubyXL/CT_Path2DTo.html +0 -539
- data/rdoc/RubyXL/CT_PathShadeProperties.html +0 -539
- data/rdoc/RubyXL/CT_PatternFillProperties.html +0 -539
- data/rdoc/RubyXL/CT_Point3D.html +0 -539
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +0 -539
- data/rdoc/RubyXL/CT_PresetColor.html +0 -539
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +0 -539
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +0 -539
- data/rdoc/RubyXL/CT_PresetTextShape.html +0 -539
- data/rdoc/RubyXL/CT_ReflectionEffect.html +0 -539
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +0 -539
- data/rdoc/RubyXL/CT_RelativeRect.html +0 -539
- data/rdoc/RubyXL/CT_SRgbColor.html +0 -539
- data/rdoc/RubyXL/CT_ScRgbColor.html +0 -539
- data/rdoc/RubyXL/CT_Scene3D.html +0 -539
- data/rdoc/RubyXL/CT_SchemeColor.html +0 -539
- data/rdoc/RubyXL/CT_Shape3D.html +0 -539
- data/rdoc/RubyXL/CT_ShapeStyle.html +0 -539
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +0 -539
- data/rdoc/RubyXL/CT_SphereCoords.html +0 -539
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +0 -539
- data/rdoc/RubyXL/CT_StyleMatrix.html +0 -539
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +0 -539
- data/rdoc/RubyXL/CT_SupplementalFont.html +0 -539
- data/rdoc/RubyXL/CT_SystemColor.html +0 -539
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +0 -539
- data/rdoc/RubyXL/CT_TextBlipBullet.html +0 -539
- data/rdoc/RubyXL/CT_TextCharBullet.html +0 -539
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +0 -539
- data/rdoc/RubyXL/CT_TextFont.html +0 -539
- data/rdoc/RubyXL/CT_TextListStyle.html +0 -539
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +0 -539
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +0 -539
- data/rdoc/RubyXL/CT_TextSpacing.html +0 -539
- data/rdoc/RubyXL/CT_TextTabStop.html +0 -539
- data/rdoc/RubyXL/CT_TextTabStopList.html +0 -539
- data/rdoc/RubyXL/CT_TileInfoProperties.html +0 -539
- data/rdoc/RubyXL/CT_TintEffect.html +0 -539
- data/rdoc/RubyXL/CT_Transform2D.html +0 -539
- data/rdoc/RubyXL/CT_TransformEffect.html +0 -539
- data/rdoc/RubyXL/CT_Vector3D.html +0 -539
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +0 -539
- data/rdoc/RubyXL/CalculationChain.html +0 -633
- data/rdoc/RubyXL/CalculationChainCell.html +0 -539
- data/rdoc/RubyXL/CalculationProperties.html +0 -539
- data/rdoc/RubyXL/Cell.html +0 -1315
- data/rdoc/RubyXL/CellConvenienceMethods.html +0 -2311
- data/rdoc/RubyXL/CellExt.html +0 -539
- data/rdoc/RubyXL/CellSmartTag.html +0 -539
- data/rdoc/RubyXL/CellSmartTagProperty.html +0 -539
- data/rdoc/RubyXL/CellSmartTags.html +0 -539
- data/rdoc/RubyXL/CellStyle.html +0 -539
- data/rdoc/RubyXL/CellStyleXFs.html +0 -608
- data/rdoc/RubyXL/CellStyles.html +0 -608
- data/rdoc/RubyXL/CellValue.html +0 -609
- data/rdoc/RubyXL/CellWatch.html +0 -539
- data/rdoc/RubyXL/CellWatches.html +0 -539
- data/rdoc/RubyXL/CellXFs.html +0 -609
- data/rdoc/RubyXL/ChartColorsFile.html +0 -568
- data/rdoc/RubyXL/ChartFile.html +0 -664
- data/rdoc/RubyXL/ChartStyleFile.html +0 -568
- data/rdoc/RubyXL/ChartUserShapesFile.html +0 -568
- data/rdoc/RubyXL/Chartsheet.html +0 -743
- data/rdoc/RubyXL/ChartsheetPageSetup.html +0 -539
- data/rdoc/RubyXL/ChartsheetProperties.html +0 -539
- data/rdoc/RubyXL/ChartsheetProtection.html +0 -539
- data/rdoc/RubyXL/ChartsheetView.html +0 -539
- data/rdoc/RubyXL/ChartsheetViews.html +0 -539
- data/rdoc/RubyXL/Color.html +0 -629
- data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +0 -774
- data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +0 -845
- data/rdoc/RubyXL/ColorConvenienceClasses.html +0 -528
- data/rdoc/RubyXL/ColorConvenienceMethods.html +0 -606
- data/rdoc/RubyXL/ColorFilter.html +0 -539
- data/rdoc/RubyXL/ColorScale.html +0 -539
- data/rdoc/RubyXL/ColorSet.html +0 -539
- data/rdoc/RubyXL/Colors.html +0 -539
- data/rdoc/RubyXL/ColumnRange.html +0 -786
- data/rdoc/RubyXL/ColumnRanges.html +0 -773
- data/rdoc/RubyXL/Comment.html +0 -539
- data/rdoc/RubyXL/CommentList.html +0 -539
- data/rdoc/RubyXL/CommentsFile.html +0 -657
- data/rdoc/RubyXL/ConditionalFormatValue.html +0 -539
- data/rdoc/RubyXL/ConditionalFormatting.html +0 -539
- data/rdoc/RubyXL/ConditionalFormattingRule.html +0 -539
- data/rdoc/RubyXL/Connection.html +0 -539
- data/rdoc/RubyXL/ConnectionTable.html +0 -539
- data/rdoc/RubyXL/ConnectionTables.html +0 -539
- data/rdoc/RubyXL/ConnectionTextField.html +0 -539
- data/rdoc/RubyXL/ConnectionTextFields.html +0 -539
- data/rdoc/RubyXL/Connections.html +0 -633
- data/rdoc/RubyXL/ContentTypeDefault.html +0 -543
- data/rdoc/RubyXL/ContentTypeOverride.html +0 -543
- data/rdoc/RubyXL/ContentTypes.html +0 -721
- data/rdoc/RubyXL/ControlPropertiesFile.html +0 -568
- data/rdoc/RubyXL/CorePropertiesFile.html +0 -1013
- data/rdoc/RubyXL/CustomColor.html +0 -539
- data/rdoc/RubyXL/CustomColorList.html +0 -539
- data/rdoc/RubyXL/CustomFilter.html +0 -539
- data/rdoc/RubyXL/CustomFilters.html +0 -539
- data/rdoc/RubyXL/CustomGeometry.html +0 -539
- data/rdoc/RubyXL/CustomProperties.html +0 -539
- data/rdoc/RubyXL/CustomPropertiesFile.html +0 -568
- data/rdoc/RubyXL/CustomProperty.html +0 -539
- data/rdoc/RubyXL/CustomPropertyFile.html +0 -568
- data/rdoc/RubyXL/CustomSheetView.html +0 -539
- data/rdoc/RubyXL/CustomSheetViews.html +0 -539
- data/rdoc/RubyXL/CustomWorkbookView.html +0 -539
- data/rdoc/RubyXL/CustomWorkbookViews.html +0 -539
- data/rdoc/RubyXL/CustomXMLFile.html +0 -560
- data/rdoc/RubyXL/DXF.html +0 -539
- data/rdoc/RubyXL/DXFs.html +0 -539
- data/rdoc/RubyXL/DataBar.html +0 -539
- data/rdoc/RubyXL/DataConsolidate.html +0 -539
- data/rdoc/RubyXL/DataConsolidationReference.html +0 -539
- data/rdoc/RubyXL/DataConsolidationReferences.html +0 -539
- data/rdoc/RubyXL/DataType.html +0 -589
- data/rdoc/RubyXL/DataValidation.html +0 -539
- data/rdoc/RubyXL/DataValidations.html +0 -539
- data/rdoc/RubyXL/DateGroupItem.html +0 -539
- data/rdoc/RubyXL/DefinedName.html +0 -539
- data/rdoc/RubyXL/DefinedNameExt.html +0 -539
- data/rdoc/RubyXL/DefinedNames.html +0 -616
- data/rdoc/RubyXL/DefinedNamesExt.html +0 -539
- data/rdoc/RubyXL/DocumentPropertiesFile.html +0 -725
- data/rdoc/RubyXL/DrawingFile.html +0 -663
- data/rdoc/RubyXL/DynamicFilter.html +0 -539
- data/rdoc/RubyXL/EmbeddedControl.html +0 -539
- data/rdoc/RubyXL/EmbeddedControls.html +0 -539
- data/rdoc/RubyXL/Extension.html +0 -539
- data/rdoc/RubyXL/ExtensionStorageArea.html +0 -539
- data/rdoc/RubyXL/Extents.html +0 -539
- data/rdoc/RubyXL/ExternalBook.html +0 -539
- data/rdoc/RubyXL/ExternalLinksFile.html +0 -659
- data/rdoc/RubyXL/ExternalReference.html +0 -539
- data/rdoc/RubyXL/ExternalReferences.html +0 -539
- data/rdoc/RubyXL/ExtraColorSchemeList.html +0 -539
- data/rdoc/RubyXL/FieldItem.html +0 -539
- data/rdoc/RubyXL/FileRecoveryProperties.html +0 -539
- data/rdoc/RubyXL/FileSharing.html +0 -539
- data/rdoc/RubyXL/FileVersion.html +0 -539
- data/rdoc/RubyXL/Fill.html +0 -608
- data/rdoc/RubyXL/Fills.html +0 -608
- data/rdoc/RubyXL/FilterContainer.html +0 -539
- data/rdoc/RubyXL/FloatNode.html +0 -543
- data/rdoc/RubyXL/FloatValue.html +0 -543
- data/rdoc/RubyXL/Font.html +0 -626
- data/rdoc/RubyXL/FontConvenienceMethods.html +0 -1169
- data/rdoc/RubyXL/FontScheme.html +0 -539
- data/rdoc/RubyXL/Fonts.html +0 -608
- data/rdoc/RubyXL/Formula.html +0 -539
- data/rdoc/RubyXL/FunctionGroup.html +0 -539
- data/rdoc/RubyXL/FunctionGroups.html +0 -539
- data/rdoc/RubyXL/GenericStorageObject.html +0 -803
- data/rdoc/RubyXL/GradientFill.html +0 -539
- data/rdoc/RubyXL/HeaderFooterSettings.html +0 -539
- data/rdoc/RubyXL/Hyperlink.html +0 -539
- data/rdoc/RubyXL/HyperlinkRelFile.html +0 -560
- data/rdoc/RubyXL/Hyperlinks.html +0 -539
- data/rdoc/RubyXL/IconFilter.html +0 -539
- data/rdoc/RubyXL/IconSet.html +0 -539
- data/rdoc/RubyXL/IgnoredError.html +0 -539
- data/rdoc/RubyXL/IgnoredErrors.html +0 -539
- data/rdoc/RubyXL/IndexedColors.html +0 -539
- data/rdoc/RubyXL/InputCells.html +0 -539
- data/rdoc/RubyXL/IntegerNode.html +0 -543
- data/rdoc/RubyXL/IntegerValue.html +0 -543
- data/rdoc/RubyXL/LegacyCell.html +0 -597
- data/rdoc/RubyXL/LegacyWorksheet.html +0 -760
- data/rdoc/RubyXL/MRUColors.html +0 -539
- data/rdoc/RubyXL/MacrosFile.html +0 -568
- data/rdoc/RubyXL/MergedCell.html +0 -539
- data/rdoc/RubyXL/MergedCells.html +0 -539
- data/rdoc/RubyXL/NumFmt.html +0 -539
- data/rdoc/RubyXL/NumberFormat.html +0 -609
- data/rdoc/RubyXL/NumberFormats.html +0 -625
- data/rdoc/RubyXL/OLEObject.html +0 -539
- data/rdoc/RubyXL/OLEObjectFile.html +0 -568
- data/rdoc/RubyXL/OLEObjects.html +0 -539
- data/rdoc/RubyXL/OLESize.html +0 -539
- data/rdoc/RubyXL/OOXMLContainerObject.html +0 -909
- data/rdoc/RubyXL/OOXMLIgnored.html +0 -681
- data/rdoc/RubyXL/OOXMLObject.html +0 -561
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +0 -1034
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +0 -1091
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +0 -1174
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +0 -891
- data/rdoc/RubyXL/OdbcOleDbProperties.html +0 -539
- data/rdoc/RubyXL/Offset.html +0 -539
- data/rdoc/RubyXL/OlapProperties.html +0 -539
- data/rdoc/RubyXL/OleItem.html +0 -539
- data/rdoc/RubyXL/OleItems.html +0 -539
- data/rdoc/RubyXL/OleLink.html +0 -539
- data/rdoc/RubyXL/OutlineProperties.html +0 -539
- data/rdoc/RubyXL/PageMargins.html +0 -539
- data/rdoc/RubyXL/PageSetup.html +0 -539
- data/rdoc/RubyXL/PageSetupProperties.html +0 -539
- data/rdoc/RubyXL/Pane.html +0 -539
- data/rdoc/RubyXL/Parser.html +0 -670
- data/rdoc/RubyXL/PatternFill.html +0 -539
- data/rdoc/RubyXL/PersonMetadata.html +0 -568
- data/rdoc/RubyXL/PhoneticProperties.html +0 -539
- data/rdoc/RubyXL/PhoneticRun.html +0 -539
- data/rdoc/RubyXL/PivotArea.html +0 -539
- data/rdoc/RubyXL/PivotCache.html +0 -539
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +0 -590
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +0 -568
- data/rdoc/RubyXL/PivotCaches.html +0 -539
- data/rdoc/RubyXL/PivotReference.html +0 -539
- data/rdoc/RubyXL/PivotReferences.html +0 -539
- data/rdoc/RubyXL/PivotSelection.html +0 -539
- data/rdoc/RubyXL/PivotTableFile.html +0 -590
- data/rdoc/RubyXL/PresetGeometry.html +0 -539
- data/rdoc/RubyXL/PrintOptions.html +0 -539
- data/rdoc/RubyXL/PrinterSettingsFile.html +0 -568
- data/rdoc/RubyXL/ProtectedRange.html +0 -539
- data/rdoc/RubyXL/ProtectedRanges.html +0 -539
- data/rdoc/RubyXL/Protection.html +0 -539
- data/rdoc/RubyXL/QueryParameter.html +0 -539
- data/rdoc/RubyXL/QueryParameters.html +0 -539
- data/rdoc/RubyXL/QueryTable.html +0 -655
- data/rdoc/RubyXL/QueryTableDeletedField.html +0 -539
- data/rdoc/RubyXL/QueryTableDeletedFields.html +0 -539
- data/rdoc/RubyXL/QueryTableField.html +0 -539
- data/rdoc/RubyXL/QueryTableFields.html +0 -539
- data/rdoc/RubyXL/QueryTableRefresh.html +0 -539
- data/rdoc/RubyXL/RID.html +0 -543
- data/rdoc/RubyXL/RawOOXML.html +0 -703
- data/rdoc/RubyXL/Reference.html +0 -1332
- data/rdoc/RubyXL/Relationship.html +0 -543
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +0 -604
- data/rdoc/RubyXL/RelationshipSupport.html +0 -943
- data/rdoc/RubyXL/RevisionPointer.html +0 -539
- data/rdoc/RubyXL/RichText.html +0 -611
- data/rdoc/RubyXL/RichTextRun.html +0 -608
- data/rdoc/RubyXL/Row.html +0 -1003
- data/rdoc/RubyXL/RowExt.html +0 -539
- data/rdoc/RubyXL/RunProperties.html +0 -539
- data/rdoc/RubyXL/Scenario.html +0 -539
- data/rdoc/RubyXL/Scenarios.html +0 -539
- data/rdoc/RubyXL/Selection.html +0 -616
- data/rdoc/RubyXL/ShapeGuide.html +0 -539
- data/rdoc/RubyXL/ShapeTextRectangle.html +0 -539
- data/rdoc/RubyXL/SharedStringsTable.html +0 -952
- data/rdoc/RubyXL/Sheet.html +0 -539
- data/rdoc/RubyXL/SheetCalculationProperties.html +0 -539
- data/rdoc/RubyXL/SheetData.html +0 -652
- data/rdoc/RubyXL/SheetDataExt.html +0 -539
- data/rdoc/RubyXL/SheetDataSet.html +0 -539
- data/rdoc/RubyXL/SheetMetadata.html +0 -568
- data/rdoc/RubyXL/SheetName.html +0 -539
- data/rdoc/RubyXL/SheetNames.html +0 -539
- data/rdoc/RubyXL/Sheets.html +0 -539
- data/rdoc/RubyXL/SlicerCacheFile.html +0 -568
- data/rdoc/RubyXL/SlicerFile.html +0 -568
- data/rdoc/RubyXL/SmartTagProperties.html +0 -539
- data/rdoc/RubyXL/SmartTagType.html +0 -539
- data/rdoc/RubyXL/SmartTagTypes.html +0 -539
- data/rdoc/RubyXL/SmartTags.html +0 -539
- data/rdoc/RubyXL/SortCondition.html +0 -539
- data/rdoc/RubyXL/SortState.html +0 -539
- data/rdoc/RubyXL/Sqref.html +0 -681
- data/rdoc/RubyXL/Stop.html +0 -539
- data/rdoc/RubyXL/StringNode.html +0 -543
- data/rdoc/RubyXL/StringNodeW3C.html +0 -681
- data/rdoc/RubyXL/StringValue.html +0 -543
- data/rdoc/RubyXL/Stylesheet.html +0 -864
- data/rdoc/RubyXL/TableFile.html +0 -568
- data/rdoc/RubyXL/TableParts.html +0 -543
- data/rdoc/RubyXL/TableStyle.html +0 -539
- data/rdoc/RubyXL/TableStyles.html +0 -539
- data/rdoc/RubyXL/Text.html +0 -679
- data/rdoc/RubyXL/TextImportSettings.html +0 -539
- data/rdoc/RubyXL/Theme.html +0 -1077
- data/rdoc/RubyXL/ThemeElements.html +0 -539
- data/rdoc/RubyXL/ThumbnailFile.html +0 -568
- data/rdoc/RubyXL/Top10.html +0 -539
- data/rdoc/RubyXL/VMLDrawingFile.html +0 -590
- data/rdoc/RubyXL/Variant.html +0 -539
- data/rdoc/RubyXL/Vector.html +0 -612
- data/rdoc/RubyXL/VectorValue.html +0 -543
- data/rdoc/RubyXL/VisualProperties.html +0 -539
- data/rdoc/RubyXL/WebPublishObject.html +0 -539
- data/rdoc/RubyXL/WebPublishObjects.html +0 -539
- data/rdoc/RubyXL/WebPublishingItem.html +0 -539
- data/rdoc/RubyXL/WebPublishingItems.html +0 -539
- data/rdoc/RubyXL/WebPublishingProperties.html +0 -539
- data/rdoc/RubyXL/WebQueryProperties.html +0 -539
- data/rdoc/RubyXL/Workbook.html +0 -2085
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +0 -1407
- data/rdoc/RubyXL/WorkbookProperties.html +0 -539
- data/rdoc/RubyXL/WorkbookProtection.html +0 -539
- data/rdoc/RubyXL/WorkbookRoot.html +0 -940
- data/rdoc/RubyXL/WorkbookView.html +0 -539
- data/rdoc/RubyXL/WorkbookViews.html +0 -539
- data/rdoc/RubyXL/Worksheet.html +0 -1224
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +0 -4087
- data/rdoc/RubyXL/WorksheetDimensions.html +0 -539
- data/rdoc/RubyXL/WorksheetFormatProperties.html +0 -543
- data/rdoc/RubyXL/WorksheetProperties.html +0 -539
- data/rdoc/RubyXL/WorksheetProtection.html +0 -539
- data/rdoc/RubyXL/WorksheetView.html +0 -539
- data/rdoc/RubyXL/WorksheetViews.html +0 -539
- data/rdoc/RubyXL/XF.html +0 -539
- data/rdoc/RubyXL.html +0 -1381
- data/rdoc/created.rid +0 -45
- data/rdoc/css/rdoc.css +0 -1955
- data/rdoc/index.html +0 -455
- data/rdoc/js/aliki.js +0 -511
- data/rdoc/js/bash_highlighter.js +0 -167
- data/rdoc/js/c_highlighter.js +0 -299
- data/rdoc/js/search_controller.js +0 -129
- data/rdoc/js/search_data.js +0 -1
- data/rdoc/js/search_navigation.js +0 -105
- data/rdoc/js/search_ranker.js +0 -239
- data/rdoc/js/theme-toggle.js +0 -112
- data/spec/lib/cell_spec.rb +0 -694
- data/spec/lib/color_spec.rb +0 -21
- data/spec/lib/parser_spec.rb +0 -118
- data/spec/lib/reference_spec.rb +0 -122
- data/spec/lib/rgb_color_spec.rb +0 -29
- data/spec/lib/stylesheet_spec.rb +0 -27
- data/spec/lib/text_spec.rb +0 -27
- data/spec/lib/workbook_root_spec.rb +0 -43
- data/spec/lib/workbook_spec.rb +0 -197
- data/spec/lib/worksheet_spec.rb +0 -1777
- data/spec/spec_helper.rb +0 -13
- data/test/input/.gitkeep +0 -0
- data/test/output/.gitkeep +0 -0
- data/test/test_parse_write.rb +0 -15
- data/tmp/.gitignore +0 -1
|
@@ -1,1407 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
|
|
3
|
-
<html lang="en">
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="UTF-8">
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
|
-
|
|
8
|
-
<title>module RubyXL::WorkbookConvenienceMethods - rubyXL 3.4.39</title>
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
<meta
|
|
12
|
-
name="keywords"
|
|
13
|
-
content="ruby,module,RubyXL::WorkbookConvenienceMethods"
|
|
14
|
-
>
|
|
15
|
-
|
|
16
|
-
<meta
|
|
17
|
-
name="description"
|
|
18
|
-
content="Documentation for the RubyXL::WorkbookConvenienceMethods module"
|
|
19
|
-
>
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
<!-- Open Graph / Facebook -->
|
|
26
|
-
<meta property="og:type" content="website">
|
|
27
|
-
<meta property="og:title" content="module RubyXL::WorkbookConvenienceMethods - rubyXL 3.4.39">
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
<meta
|
|
32
|
-
property="og:description"
|
|
33
|
-
content="Documentation for RubyXL::WorkbookConvenienceMethods module - API reference and code examples"
|
|
34
|
-
>
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
<!-- Twitter -->
|
|
41
|
-
<meta name="twitter:card" content="summary">
|
|
42
|
-
<meta name="twitter:title" content="module RubyXL::WorkbookConvenienceMethods - rubyXL 3.4.39">
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
<meta
|
|
47
|
-
name="twitter:description"
|
|
48
|
-
content="Documentation for RubyXL::WorkbookConvenienceMethods module - API reference and code examples"
|
|
49
|
-
>
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
<script type="text/javascript">
|
|
54
|
-
var rdoc_rel_prefix = "../";
|
|
55
|
-
var index_rel_prefix = "../";
|
|
56
|
-
</script>
|
|
57
|
-
|
|
58
|
-
<script
|
|
59
|
-
src="../js/theme-toggle.js?v=7.2.0"
|
|
60
|
-
></script>
|
|
61
|
-
|
|
62
|
-
<script
|
|
63
|
-
src="../js/search_navigation.js?v=7.2.0"
|
|
64
|
-
defer
|
|
65
|
-
></script>
|
|
66
|
-
|
|
67
|
-
<script
|
|
68
|
-
src="../js/search_data.js?v=7.2.0"
|
|
69
|
-
defer
|
|
70
|
-
></script>
|
|
71
|
-
|
|
72
|
-
<script
|
|
73
|
-
src="../js/search_ranker.js?v=7.2.0"
|
|
74
|
-
defer
|
|
75
|
-
></script>
|
|
76
|
-
|
|
77
|
-
<script
|
|
78
|
-
src="../js/search_controller.js?v=7.2.0"
|
|
79
|
-
defer
|
|
80
|
-
></script>
|
|
81
|
-
|
|
82
|
-
<script
|
|
83
|
-
src="../js/c_highlighter.js?v=7.2.0"
|
|
84
|
-
defer
|
|
85
|
-
></script>
|
|
86
|
-
|
|
87
|
-
<script
|
|
88
|
-
src="../js/bash_highlighter.js?v=7.2.0"
|
|
89
|
-
defer
|
|
90
|
-
></script>
|
|
91
|
-
|
|
92
|
-
<script
|
|
93
|
-
src="../js/aliki.js?v=7.2.0"
|
|
94
|
-
defer
|
|
95
|
-
></script>
|
|
96
|
-
|
|
97
|
-
<link
|
|
98
|
-
href="../css/rdoc.css?v=7.2.0"
|
|
99
|
-
rel="stylesheet"
|
|
100
|
-
>
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
<body role="document" class="module has-toc">
|
|
106
|
-
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
|
107
|
-
<!-- Chevron (right arrow) - used for expand/collapse -->
|
|
108
|
-
<symbol
|
|
109
|
-
id="icon-chevron"
|
|
110
|
-
viewBox="0 0 24 24"
|
|
111
|
-
fill="none"
|
|
112
|
-
stroke="currentColor"
|
|
113
|
-
stroke-width="2"
|
|
114
|
-
stroke-linecap="round"
|
|
115
|
-
stroke-linejoin="round"
|
|
116
|
-
>
|
|
117
|
-
<polyline points="9 18 15 12 9 6"></polyline>
|
|
118
|
-
</symbol>
|
|
119
|
-
|
|
120
|
-
<!-- File/Document - Pages section -->
|
|
121
|
-
<symbol
|
|
122
|
-
id="icon-file"
|
|
123
|
-
viewBox="0 0 24 24"
|
|
124
|
-
fill="none"
|
|
125
|
-
stroke="currentColor"
|
|
126
|
-
stroke-width="2"
|
|
127
|
-
stroke-linecap="round"
|
|
128
|
-
stroke-linejoin="round"
|
|
129
|
-
>
|
|
130
|
-
<path
|
|
131
|
-
d="M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z"
|
|
132
|
-
></path>
|
|
133
|
-
|
|
134
|
-
<polyline points="14 2 14 8 20 8"></polyline>
|
|
135
|
-
</symbol>
|
|
136
|
-
|
|
137
|
-
<!-- Layers/Stack - Classes and Modules section -->
|
|
138
|
-
<symbol
|
|
139
|
-
id="icon-layers"
|
|
140
|
-
viewBox="0 0 24 24"
|
|
141
|
-
fill="none"
|
|
142
|
-
stroke="currentColor"
|
|
143
|
-
stroke-width="2"
|
|
144
|
-
stroke-linecap="round"
|
|
145
|
-
stroke-linejoin="round"
|
|
146
|
-
>
|
|
147
|
-
<polygon points="12 2 2 7 12 12 22 7 12 2"></polygon>
|
|
148
|
-
<polyline points="2 17 12 22 22 17"></polyline>
|
|
149
|
-
<polyline points="2 12 12 17 22 12"></polyline>
|
|
150
|
-
</symbol>
|
|
151
|
-
|
|
152
|
-
<!-- Curly braces with C - Class Methods section -->
|
|
153
|
-
<symbol
|
|
154
|
-
id="icon-class-methods"
|
|
155
|
-
viewBox="0 0 24 24"
|
|
156
|
-
fill="none"
|
|
157
|
-
stroke="currentColor"
|
|
158
|
-
stroke-width="2"
|
|
159
|
-
stroke-linecap="round"
|
|
160
|
-
stroke-linejoin="round"
|
|
161
|
-
>
|
|
162
|
-
<path d="M6 3C3.5 3 2 4.5 2 7v3c0 1.5-1 2-1 2s1 .5 1 2v5c0 2.5 1.5 4 4 4"></path>
|
|
163
|
-
<path d="M18 3c2.5 0 4 1.5 4 4v3c0 1.5 1 2 1 2s-1 .5-1 2v5c0 2.5-1.5 4-4 4"></path>
|
|
164
|
-
|
|
165
|
-
<text
|
|
166
|
-
x="12"
|
|
167
|
-
y="17"
|
|
168
|
-
text-anchor="middle"
|
|
169
|
-
font-size="13"
|
|
170
|
-
font-weight="bold"
|
|
171
|
-
fill="currentColor"
|
|
172
|
-
stroke="none"
|
|
173
|
-
>
|
|
174
|
-
C
|
|
175
|
-
</text>
|
|
176
|
-
</symbol>
|
|
177
|
-
|
|
178
|
-
<!-- Curly braces with I - Instance Methods section -->
|
|
179
|
-
<symbol
|
|
180
|
-
id="icon-instance-methods"
|
|
181
|
-
viewBox="0 0 24 24"
|
|
182
|
-
fill="none"
|
|
183
|
-
stroke="currentColor"
|
|
184
|
-
stroke-width="2"
|
|
185
|
-
stroke-linecap="round"
|
|
186
|
-
stroke-linejoin="round"
|
|
187
|
-
>
|
|
188
|
-
<path d="M6 3C3.5 3 2 4.5 2 7v3c0 1.5-1 2-1 2s1 .5 1 2v5c0 2.5 1.5 4 4 4"></path>
|
|
189
|
-
<path d="M18 3c2.5 0 4 1.5 4 4v3c0 1.5 1 2 1 2s-1 .5-1 2v5c0 2.5-1.5 4-4 4"></path>
|
|
190
|
-
|
|
191
|
-
<text
|
|
192
|
-
x="12"
|
|
193
|
-
y="17"
|
|
194
|
-
text-anchor="middle"
|
|
195
|
-
font-size="13"
|
|
196
|
-
font-weight="bold"
|
|
197
|
-
fill="currentColor"
|
|
198
|
-
stroke="none"
|
|
199
|
-
>
|
|
200
|
-
I
|
|
201
|
-
</text>
|
|
202
|
-
</symbol>
|
|
203
|
-
|
|
204
|
-
<!-- Double chevrons up - Ancestors section -->
|
|
205
|
-
<symbol
|
|
206
|
-
id="icon-ancestors"
|
|
207
|
-
viewBox="0 0 24 24"
|
|
208
|
-
fill="none"
|
|
209
|
-
stroke="currentColor"
|
|
210
|
-
stroke-width="2"
|
|
211
|
-
stroke-linecap="round"
|
|
212
|
-
stroke-linejoin="round"
|
|
213
|
-
>
|
|
214
|
-
<polyline points="17 11 12 6 7 11"></polyline>
|
|
215
|
-
<polyline points="17 18 12 13 7 18"></polyline>
|
|
216
|
-
</symbol>
|
|
217
|
-
|
|
218
|
-
<!-- User with plus - Included Modules section -->
|
|
219
|
-
<symbol
|
|
220
|
-
id="icon-includes"
|
|
221
|
-
viewBox="0 0 24 24"
|
|
222
|
-
fill="none"
|
|
223
|
-
stroke="currentColor"
|
|
224
|
-
stroke-width="2"
|
|
225
|
-
stroke-linecap="round"
|
|
226
|
-
stroke-linejoin="round"
|
|
227
|
-
>
|
|
228
|
-
<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>
|
|
229
|
-
<circle cx="8.5" cy="7" r="4"></circle>
|
|
230
|
-
|
|
231
|
-
<line
|
|
232
|
-
x1="20"
|
|
233
|
-
y1="8"
|
|
234
|
-
x2="20"
|
|
235
|
-
y2="14"
|
|
236
|
-
></line>
|
|
237
|
-
|
|
238
|
-
<line
|
|
239
|
-
x1="23"
|
|
240
|
-
y1="11"
|
|
241
|
-
x2="17"
|
|
242
|
-
y2="11"
|
|
243
|
-
></line>
|
|
244
|
-
</symbol>
|
|
245
|
-
|
|
246
|
-
<!-- User with check - Extended Modules section -->
|
|
247
|
-
<symbol
|
|
248
|
-
id="icon-extends"
|
|
249
|
-
viewBox="0 0 24 24"
|
|
250
|
-
fill="none"
|
|
251
|
-
stroke="currentColor"
|
|
252
|
-
stroke-width="2"
|
|
253
|
-
stroke-linecap="round"
|
|
254
|
-
stroke-linejoin="round"
|
|
255
|
-
>
|
|
256
|
-
<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>
|
|
257
|
-
<circle cx="8.5" cy="7" r="4"></circle>
|
|
258
|
-
<polyline points="17 11 19 13 23 9"></polyline>
|
|
259
|
-
</symbol>
|
|
260
|
-
|
|
261
|
-
<!-- List - Sections section -->
|
|
262
|
-
<symbol
|
|
263
|
-
id="icon-list"
|
|
264
|
-
viewBox="0 0 24 24"
|
|
265
|
-
fill="none"
|
|
266
|
-
stroke="currentColor"
|
|
267
|
-
stroke-width="2"
|
|
268
|
-
stroke-linecap="round"
|
|
269
|
-
stroke-linejoin="round"
|
|
270
|
-
>
|
|
271
|
-
<line
|
|
272
|
-
x1="8"
|
|
273
|
-
y1="6"
|
|
274
|
-
x2="21"
|
|
275
|
-
y2="6"
|
|
276
|
-
></line>
|
|
277
|
-
|
|
278
|
-
<line
|
|
279
|
-
x1="8"
|
|
280
|
-
y1="12"
|
|
281
|
-
x2="21"
|
|
282
|
-
y2="12"
|
|
283
|
-
></line>
|
|
284
|
-
|
|
285
|
-
<line
|
|
286
|
-
x1="8"
|
|
287
|
-
y1="18"
|
|
288
|
-
x2="21"
|
|
289
|
-
y2="18"
|
|
290
|
-
></line>
|
|
291
|
-
|
|
292
|
-
<line
|
|
293
|
-
x1="3"
|
|
294
|
-
y1="6"
|
|
295
|
-
x2="3.01"
|
|
296
|
-
y2="6"
|
|
297
|
-
></line>
|
|
298
|
-
|
|
299
|
-
<line
|
|
300
|
-
x1="3"
|
|
301
|
-
y1="12"
|
|
302
|
-
x2="3.01"
|
|
303
|
-
y2="12"
|
|
304
|
-
></line>
|
|
305
|
-
|
|
306
|
-
<line
|
|
307
|
-
x1="3"
|
|
308
|
-
y1="18"
|
|
309
|
-
x2="3.01"
|
|
310
|
-
y2="18"
|
|
311
|
-
></line>
|
|
312
|
-
</symbol>
|
|
313
|
-
</svg>
|
|
314
|
-
|
|
315
|
-
<header class="top-navbar">
|
|
316
|
-
<a href="../index.html" class="navbar-brand">
|
|
317
|
-
rubyXL 3.4.39
|
|
318
|
-
</a>
|
|
319
|
-
|
|
320
|
-
<!-- Desktop search bar -->
|
|
321
|
-
<div class="navbar-search navbar-search-desktop" role="search">
|
|
322
|
-
<form action="#" method="get" accept-charset="utf-8">
|
|
323
|
-
<input id="search-field" role="combobox" aria-label="Search"
|
|
324
|
-
aria-autocomplete="list" aria-controls="search-results-desktop"
|
|
325
|
-
type="text" name="search" placeholder="Search (/) for a class, method..."
|
|
326
|
-
spellcheck="false" autocomplete="off"
|
|
327
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
|
328
|
-
<ul id="search-results-desktop" aria-label="Search Results"
|
|
329
|
-
aria-busy="false" aria-expanded="false"
|
|
330
|
-
aria-atomic="false" class="initially-hidden search-results"></ul>
|
|
331
|
-
</form>
|
|
332
|
-
</div>
|
|
333
|
-
|
|
334
|
-
<!-- Mobile search icon button -->
|
|
335
|
-
<button id="search-toggle" class="navbar-search-mobile" aria-label="Open search" type="button">
|
|
336
|
-
<span aria-hidden="true">🔍</span>
|
|
337
|
-
</button>
|
|
338
|
-
|
|
339
|
-
<!-- Theme toggle button -->
|
|
340
|
-
<button id="theme-toggle" class="theme-toggle" aria-label="Switch to dark mode" type="button">
|
|
341
|
-
<span class="theme-toggle-icon" aria-hidden="true">🌙</span>
|
|
342
|
-
</button>
|
|
343
|
-
</header>
|
|
344
|
-
|
|
345
|
-
<!-- Search Modal (Mobile) -->
|
|
346
|
-
<div id="search-modal" class="search-modal" hidden aria-modal="true" role="dialog" aria-label="Search">
|
|
347
|
-
<div class="search-modal-backdrop"></div>
|
|
348
|
-
<div class="search-modal-content">
|
|
349
|
-
<div class="search-modal-header">
|
|
350
|
-
<form class="search-modal-form" action="#" method="get" accept-charset="utf-8">
|
|
351
|
-
<span class="search-modal-icon" aria-hidden="true">🔍</span>
|
|
352
|
-
<input id="search-field-mobile" role="combobox" aria-label="Search"
|
|
353
|
-
aria-autocomplete="list" aria-controls="search-results-mobile"
|
|
354
|
-
type="text" name="search" placeholder="Search documentation"
|
|
355
|
-
spellcheck="false" autocomplete="off">
|
|
356
|
-
<button type="button" class="search-modal-close" aria-label="Close search" id="search-modal-close">
|
|
357
|
-
<span aria-hidden="true">esc</span>
|
|
358
|
-
</button>
|
|
359
|
-
</form>
|
|
360
|
-
</div>
|
|
361
|
-
<div class="search-modal-body">
|
|
362
|
-
<ul id="search-results-mobile" aria-label="Search Results"
|
|
363
|
-
aria-busy="false" aria-expanded="false"
|
|
364
|
-
aria-atomic="false" class="search-results search-modal-results initially-hidden"></ul>
|
|
365
|
-
<div class="search-modal-empty">
|
|
366
|
-
<p>No recent searches</p>
|
|
367
|
-
</div>
|
|
368
|
-
</div>
|
|
369
|
-
</div>
|
|
370
|
-
</div>
|
|
371
|
-
|
|
372
|
-
<div id="navigation-toggle" role="button" tabindex="0" aria-label="Toggle sidebar" aria-expanded="true" aria-controls="navigation">
|
|
373
|
-
<span aria-hidden="true">☰</span>
|
|
374
|
-
</div>
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
<nav id="navigation" role="navigation" hidden>
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
<div id="fileindex-section" class="nav-section">
|
|
384
|
-
<details class="nav-section-collapsible" >
|
|
385
|
-
<summary class="nav-section-header">
|
|
386
|
-
<span class="nav-section-icon">
|
|
387
|
-
<svg>
|
|
388
|
-
<use href="#icon-file"></use>
|
|
389
|
-
</svg>
|
|
390
|
-
</span>
|
|
391
|
-
|
|
392
|
-
<span class="nav-section-title">Pages</span>
|
|
393
|
-
|
|
394
|
-
<span class="nav-section-chevron">
|
|
395
|
-
<svg>
|
|
396
|
-
<use href="#icon-chevron"></use>
|
|
397
|
-
</svg>
|
|
398
|
-
</span>
|
|
399
|
-
</summary>
|
|
400
|
-
|
|
401
|
-
<ul class="nav-list">
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
<li>
|
|
409
|
-
<a href="../README_rdoc.html">
|
|
410
|
-
README
|
|
411
|
-
</a>
|
|
412
|
-
</li>
|
|
413
|
-
|
|
414
|
-
</ul>
|
|
415
|
-
</details>
|
|
416
|
-
</div>
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
<div class="nav-section">
|
|
431
|
-
<details class="nav-section-collapsible" open>
|
|
432
|
-
<summary class="nav-section-header">
|
|
433
|
-
<span class="nav-section-icon">
|
|
434
|
-
<svg><use href="#icon-instance-methods"></use></svg>
|
|
435
|
-
</span>
|
|
436
|
-
<span class="nav-section-title">Instance Methods</span>
|
|
437
|
-
<span class="nav-section-chevron">
|
|
438
|
-
<svg><use href="#icon-chevron"></use></svg>
|
|
439
|
-
</span>
|
|
440
|
-
</summary>
|
|
441
|
-
<ul class="nav-list" role="directory">
|
|
442
|
-
|
|
443
|
-
<li ><a href="#method-i-borders">borders</a></li>
|
|
444
|
-
|
|
445
|
-
<li ><a href="#method-i-cell_xfs">cell_xfs</a></li>
|
|
446
|
-
|
|
447
|
-
<li ><a href="#method-i-define_new_name">define_new_name</a></li>
|
|
448
|
-
|
|
449
|
-
<li ><a href="#method-i-each">each</a></li>
|
|
450
|
-
|
|
451
|
-
<li ><a href="#method-i-fills">fills</a></li>
|
|
452
|
-
|
|
453
|
-
<li ><a href="#method-i-fonts">fonts</a></li>
|
|
454
|
-
|
|
455
|
-
<li ><a href="#method-i-get_defined_name">get_defined_name</a></li>
|
|
456
|
-
|
|
457
|
-
<li ><a href="#method-i-get_fill_color">get_fill_color</a></li>
|
|
458
|
-
|
|
459
|
-
<li ><a href="#method-i-modify_alignment">modify_alignment</a></li>
|
|
460
|
-
|
|
461
|
-
<li ><a href="#method-i-modify_border">modify_border</a></li>
|
|
462
|
-
|
|
463
|
-
<li ><a href="#method-i-modify_border_color">modify_border_color</a></li>
|
|
464
|
-
|
|
465
|
-
<li ><a href="#method-i-modify_fill">modify_fill</a></li>
|
|
466
|
-
|
|
467
|
-
<li ><a href="#method-i-password_hash">password_hash</a></li>
|
|
468
|
-
|
|
469
|
-
<li ><a href="#method-i-register_new_fill">register_new_fill</a></li>
|
|
470
|
-
|
|
471
|
-
<li ><a href="#method-i-register_new_font">register_new_font</a></li>
|
|
472
|
-
|
|
473
|
-
<li ><a href="#method-i-register_new_xf">register_new_xf</a></li>
|
|
474
|
-
|
|
475
|
-
<li ><a href="#method-i-title">title</a></li>
|
|
476
|
-
|
|
477
|
-
<li ><a href="#method-i-title-3D">title=</a></li>
|
|
478
|
-
|
|
479
|
-
</ul>
|
|
480
|
-
</details>
|
|
481
|
-
</div>
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
<div id="classindex-section" class="nav-section">
|
|
485
|
-
<details class="nav-section-collapsible" open>
|
|
486
|
-
<summary class="nav-section-header">
|
|
487
|
-
<span class="nav-section-icon">
|
|
488
|
-
<svg><use href="#icon-layers"></use></svg>
|
|
489
|
-
</span>
|
|
490
|
-
<span class="nav-section-title">Classes and Modules</span>
|
|
491
|
-
<span class="nav-section-chevron">
|
|
492
|
-
<svg><use href="#icon-chevron"></use></svg>
|
|
493
|
-
</span>
|
|
494
|
-
</summary>
|
|
495
|
-
|
|
496
|
-
<ul class="link-list nav-list"><li><details open><summary><code><a href="../RubyXL.html">RubyXL</a></code></summary><ul class="link-list nav-list"><li><code><a href="../RubyXL/AExtension.html">AExtension</a></code></li><li><code><a href="../RubyXL/AExtensionStorageArea.html">AExtensionStorageArea</a></code></li><li><code><a href="../RubyXL/ActiveX.html">ActiveX</a></code></li><li><code><a href="../RubyXL/ActiveXBinary.html">ActiveXBinary</a></code></li><li><code><a href="../RubyXL/AdjustHandleList.html">AdjustHandleList</a></code></li><li><code><a href="../RubyXL/Alignment.html">Alignment</a></code></li><li><code><a href="../RubyXL/AlternateContent.html">AlternateContent</a></code></li><li><code><a href="../RubyXL/AlternateUrls.html">AlternateUrls</a></code></li><li><code><a href="../RubyXL/Authors.html">Authors</a></code></li><li><code><a href="../RubyXL/AutoFilter.html">AutoFilter</a></code></li><li><code><a href="../RubyXL/AutoFilterColumn.html">AutoFilterColumn</a></code></li><li><code><a href="../RubyXL/BinaryImageFile.html">BinaryImageFile</a></code></li><li><code><a href="../RubyXL/BodyProperties.html">BodyProperties</a></code></li><li><code><a href="../RubyXL/BooleanNode.html">BooleanNode</a></code></li><li><code><a href="../RubyXL/BooleanValue.html">BooleanValue</a></code></li><li><code><a href="../RubyXL/Border.html">Border</a></code></li><li><code><a href="../RubyXL/BorderEdge.html">BorderEdge</a></code></li><li><code><a href="../RubyXL/Borders.html">Borders</a></code></li><li><code><a href="../RubyXL/Break.html">Break</a></code></li><li><code><a href="../RubyXL/BreakList.html">BreakList</a></code></li><li><code><a href="../RubyXL/CT_AdjPoint2D.html">CT_AdjPoint2D</a></code></li><li><code><a href="../RubyXL/CT_AlphaBiLevelEffect.html">CT_AlphaBiLevelEffect</a></code></li><li><code><a href="../RubyXL/CT_AlphaModulateEffect.html">CT_AlphaModulateEffect</a></code></li><li><code><a href="../RubyXL/CT_AlphaModulateFixedEffect.html">CT_AlphaModulateFixedEffect</a></code></li><li><code><a href="../RubyXL/CT_AlphaOutsetEffect.html">CT_AlphaOutsetEffect</a></code></li><li><code><a href="../RubyXL/CT_AlphaReplaceEffect.html">CT_AlphaReplaceEffect</a></code></li><li><code><a href="../RubyXL/CT_Backdrop.html">CT_Backdrop</a></code></li><li><code><a href="../RubyXL/CT_Bevel.html">CT_Bevel</a></code></li><li><code><a href="../RubyXL/CT_BiLevelEffect.html">CT_BiLevelEffect</a></code></li><li><code><a href="../RubyXL/CT_BlendEffect.html">CT_BlendEffect</a></code></li><li><code><a href="../RubyXL/CT_Blip.html">CT_Blip</a></code></li><li><code><a href="../RubyXL/CT_BlipFillProperties.html">CT_BlipFillProperties</a></code></li><li><code><a href="../RubyXL/CT_BlurEffect.html">CT_BlurEffect</a></code></li><li><code><a href="../RubyXL/CT_Camera.html">CT_Camera</a></code></li><li><code><a href="../RubyXL/CT_Color.html">CT_Color</a></code></li><li><code><a href="../RubyXL/CT_ColorChangeEffect.html">CT_ColorChangeEffect</a></code></li><li><code><a href="../RubyXL/CT_ColorMapping.html">CT_ColorMapping</a></code></li><li><code><a href="../RubyXL/CT_ColorScheme.html">CT_ColorScheme</a></code></li><li><code><a href="../RubyXL/CT_ColorSchemeAndMapping.html">CT_ColorSchemeAndMapping</a></code></li><li><code><a href="../RubyXL/CT_ConnectionSite.html">CT_ConnectionSite</a></code></li><li><code><a href="../RubyXL/CT_ConnectionSiteList.html">CT_ConnectionSiteList</a></code></li><li><code><a href="../RubyXL/CT_DashStop.html">CT_DashStop</a></code></li><li><code><a href="../RubyXL/CT_DashStopList.html">CT_DashStopList</a></code></li><li><code><a href="../RubyXL/CT_DefaultShapeDefinition.html">CT_DefaultShapeDefinition</a></code></li><li><code><a href="../RubyXL/CT_DuotoneEffect.html">CT_DuotoneEffect</a></code></li><li><code><a href="../RubyXL/CT_EffectContainer.html">CT_EffectContainer</a></code></li><li><code><a href="../RubyXL/CT_EffectList.html">CT_EffectList</a></code></li><li><code><a href="../RubyXL/CT_EffectReference.html">CT_EffectReference</a></code></li><li><code><a href="../RubyXL/CT_EffectStyleItem.html">CT_EffectStyleItem</a></code></li><li><code><a href="../RubyXL/CT_EffectStyleList.html">CT_EffectStyleList</a></code></li><li><code><a href="../RubyXL/CT_EmbeddedWAVAudioFile.html">CT_EmbeddedWAVAudioFile</a></code></li><li><code><a href="../RubyXL/CT_FillEffect.html">CT_FillEffect</a></code></li><li><code><a href="../RubyXL/CT_FillOverlayEffect.html">CT_FillOverlayEffect</a></code></li><li><code><a href="../RubyXL/CT_FillStyleList.html">CT_FillStyleList</a></code></li><li><code><a href="../RubyXL/CT_FlatText.html">CT_FlatText</a></code></li><li><code><a href="../RubyXL/CT_FontCollection.html">CT_FontCollection</a></code></li><li><code><a href="../RubyXL/CT_FontReference.html">CT_FontReference</a></code></li><li><code><a href="../RubyXL/CT_GeomGuideList.html">CT_GeomGuideList</a></code></li><li><code><a href="../RubyXL/CT_GlowEffect.html">CT_GlowEffect</a></code></li><li><code><a href="../RubyXL/CT_GradientFillProperties.html">CT_GradientFillProperties</a></code></li><li><code><a href="../RubyXL/CT_GradientStop.html">CT_GradientStop</a></code></li><li><code><a href="../RubyXL/CT_GradientStopList.html">CT_GradientStopList</a></code></li><li><code><a href="../RubyXL/CT_HSLEffect.html">CT_HSLEffect</a></code></li><li><code><a href="../RubyXL/CT_HslColor.html">CT_HslColor</a></code></li><li><code><a href="../RubyXL/CT_Hyperlink.html">CT_Hyperlink</a></code></li><li><code><a href="../RubyXL/CT_InnerShadowEffect.html">CT_InnerShadowEffect</a></code></li><li><code><a href="../RubyXL/CT_LightRig.html">CT_LightRig</a></code></li><li><code><a href="../RubyXL/CT_LineEndProperties.html">CT_LineEndProperties</a></code></li><li><code><a href="../RubyXL/CT_LineJoinMiterProperties.html">CT_LineJoinMiterProperties</a></code></li><li><code><a href="../RubyXL/CT_LineProperties.html">CT_LineProperties</a></code></li><li><code><a href="../RubyXL/CT_LineStyleList.html">CT_LineStyleList</a></code></li><li><code><a href="../RubyXL/CT_LinearShadeProperties.html">CT_LinearShadeProperties</a></code></li><li><code><a href="../RubyXL/CT_LuminanceEffect.html">CT_LuminanceEffect</a></code></li><li><code><a href="../RubyXL/CT_ObjectStyleDefaults.html">CT_ObjectStyleDefaults</a></code></li><li><code><a href="../RubyXL/CT_OuterShadowEffect.html">CT_OuterShadowEffect</a></code></li><li><code><a href="../RubyXL/CT_Path2D.html">CT_Path2D</a></code></li><li><code><a href="../RubyXL/CT_Path2DArcTo.html">CT_Path2DArcTo</a></code></li><li><code><a href="../RubyXL/CT_Path2DCubicBezierTo.html">CT_Path2DCubicBezierTo</a></code></li><li><code><a href="../RubyXL/CT_Path2DList.html">CT_Path2DList</a></code></li><li><code><a href="../RubyXL/CT_Path2DQuadBezierTo.html">CT_Path2DQuadBezierTo</a></code></li><li><code><a href="../RubyXL/CT_Path2DTo.html">CT_Path2DTo</a></code></li><li><code><a href="../RubyXL/CT_PathShadeProperties.html">CT_PathShadeProperties</a></code></li><li><code><a href="../RubyXL/CT_PatternFillProperties.html">CT_PatternFillProperties</a></code></li><li><code><a href="../RubyXL/CT_Point3D.html">CT_Point3D</a></code></li><li><code><a href="../RubyXL/CT_PolarAdjustHandle.html">CT_PolarAdjustHandle</a></code></li><li><code><a href="../RubyXL/CT_PresetColor.html">CT_PresetColor</a></code></li><li><code><a href="../RubyXL/CT_PresetLineDashProperties.html">CT_PresetLineDashProperties</a></code></li><li><code><a href="../RubyXL/CT_PresetShadowEffect.html">CT_PresetShadowEffect</a></code></li><li><code><a href="../RubyXL/CT_PresetTextShape.html">CT_PresetTextShape</a></code></li><li><code><a href="../RubyXL/CT_ReflectionEffect.html">CT_ReflectionEffect</a></code></li><li><code><a href="../RubyXL/CT_RelativeOffsetEffect.html">CT_RelativeOffsetEffect</a></code></li><li><code><a href="../RubyXL/CT_RelativeRect.html">CT_RelativeRect</a></code></li><li><code><a href="../RubyXL/CT_SRgbColor.html">CT_SRgbColor</a></code></li><li><code><a href="../RubyXL/CT_ScRgbColor.html">CT_ScRgbColor</a></code></li><li><code><a href="../RubyXL/CT_Scene3D.html">CT_Scene3D</a></code></li><li><code><a href="../RubyXL/CT_SchemeColor.html">CT_SchemeColor</a></code></li><li><code><a href="../RubyXL/CT_Shape3D.html">CT_Shape3D</a></code></li><li><code><a href="../RubyXL/CT_ShapeStyle.html">CT_ShapeStyle</a></code></li><li><code><a href="../RubyXL/CT_SoftEdgesEffect.html">CT_SoftEdgesEffect</a></code></li><li><code><a href="../RubyXL/CT_SphereCoords.html">CT_SphereCoords</a></code></li><li><code><a href="../RubyXL/CT_StretchInfoProperties.html">CT_StretchInfoProperties</a></code></li><li><code><a href="../RubyXL/CT_StyleMatrix.html">CT_StyleMatrix</a></code></li><li><code><a href="../RubyXL/CT_StyleMatrixReference.html">CT_StyleMatrixReference</a></code></li><li><code><a href="../RubyXL/CT_SupplementalFont.html">CT_SupplementalFont</a></code></li><li><code><a href="../RubyXL/CT_SystemColor.html">CT_SystemColor</a></code></li><li><code><a href="../RubyXL/CT_TextAutonumberBullet.html">CT_TextAutonumberBullet</a></code></li><li><code><a href="../RubyXL/CT_TextBlipBullet.html">CT_TextBlipBullet</a></code></li><li><code><a href="../RubyXL/CT_TextCharBullet.html">CT_TextCharBullet</a></code></li><li><code><a href="../RubyXL/CT_TextCharacterProperties.html">CT_TextCharacterProperties</a></code></li><li><code><a href="../RubyXL/CT_TextFont.html">CT_TextFont</a></code></li><li><code><a href="../RubyXL/CT_TextListStyle.html">CT_TextListStyle</a></code></li><li><code><a href="../RubyXL/CT_TextNormalAutofit.html">CT_TextNormalAutofit</a></code></li><li><code><a href="../RubyXL/CT_TextParagraphProperties.html">CT_TextParagraphProperties</a></code></li><li><code><a href="../RubyXL/CT_TextSpacing.html">CT_TextSpacing</a></code></li><li><code><a href="../RubyXL/CT_TextTabStop.html">CT_TextTabStop</a></code></li><li><code><a href="../RubyXL/CT_TextTabStopList.html">CT_TextTabStopList</a></code></li><li><code><a href="../RubyXL/CT_TileInfoProperties.html">CT_TileInfoProperties</a></code></li><li><code><a href="../RubyXL/CT_TintEffect.html">CT_TintEffect</a></code></li><li><code><a href="../RubyXL/CT_Transform2D.html">CT_Transform2D</a></code></li><li><code><a href="../RubyXL/CT_TransformEffect.html">CT_TransformEffect</a></code></li><li><code><a href="../RubyXL/CT_Vector3D.html">CT_Vector3D</a></code></li><li><code><a href="../RubyXL/CT_XYAdjustHandle.html">CT_XYAdjustHandle</a></code></li><li><code><a href="../RubyXL/CalculationChain.html">CalculationChain</a></code></li><li><code><a href="../RubyXL/CalculationChainCell.html">CalculationChainCell</a></code></li><li><code><a href="../RubyXL/CalculationProperties.html">CalculationProperties</a></code></li><li><code><a href="../RubyXL/Cell.html">Cell</a></code></li><li><code><a href="../RubyXL/CellConvenienceMethods.html">CellConvenienceMethods</a></code></li><li><code><a href="../RubyXL/CellExt.html">CellExt</a></code></li><li><code><a href="../RubyXL/CellSmartTag.html">CellSmartTag</a></code></li><li><code><a href="../RubyXL/CellSmartTagProperty.html">CellSmartTagProperty</a></code></li><li><code><a href="../RubyXL/CellSmartTags.html">CellSmartTags</a></code></li><li><code><a href="../RubyXL/CellStyle.html">CellStyle</a></code></li><li><code><a href="../RubyXL/CellStyleXFs.html">CellStyleXFs</a></code></li><li><code><a href="../RubyXL/CellStyles.html">CellStyles</a></code></li><li><code><a href="../RubyXL/CellValue.html">CellValue</a></code></li><li><code><a href="../RubyXL/CellWatch.html">CellWatch</a></code></li><li><code><a href="../RubyXL/CellWatches.html">CellWatches</a></code></li><li><code><a href="../RubyXL/CellXFs.html">CellXFs</a></code></li><li><code><a href="../RubyXL/ChartColorsFile.html">ChartColorsFile</a></code></li><li><code><a href="../RubyXL/ChartFile.html">ChartFile</a></code></li><li><code><a href="../RubyXL/ChartStyleFile.html">ChartStyleFile</a></code></li><li><code><a href="../RubyXL/ChartUserShapesFile.html">ChartUserShapesFile</a></code></li><li><code><a href="../RubyXL/Chartsheet.html">Chartsheet</a></code></li><li><code><a href="../RubyXL/ChartsheetPageSetup.html">ChartsheetPageSetup</a></code></li><li><code><a href="../RubyXL/ChartsheetProperties.html">ChartsheetProperties</a></code></li><li><code><a href="../RubyXL/ChartsheetProtection.html">ChartsheetProtection</a></code></li><li><code><a href="../RubyXL/ChartsheetView.html">ChartsheetView</a></code></li><li><code><a href="../RubyXL/ChartsheetViews.html">ChartsheetViews</a></code></li><li><code><a href="../RubyXL/Color.html">Color</a></code></li><li><details><summary><code><a href="../RubyXL/ColorConvenienceClasses.html">ColorConvenienceClasses</a></code></summary><ul class="link-list nav-list"><li><code><a href="../RubyXL/ColorConvenienceClasses/HlsColor.html">HlsColor</a></code></li><li><code><a href="../RubyXL/ColorConvenienceClasses/RgbColor.html">RgbColor</a></code></li></ul></details></li><li><code><a href="../RubyXL/ColorConvenienceMethods.html">ColorConvenienceMethods</a></code></li><li><code><a href="../RubyXL/ColorFilter.html">ColorFilter</a></code></li><li><code><a href="../RubyXL/ColorScale.html">ColorScale</a></code></li><li><code><a href="../RubyXL/ColorSet.html">ColorSet</a></code></li><li><code><a href="../RubyXL/Colors.html">Colors</a></code></li><li><code><a href="../RubyXL/ColumnRange.html">ColumnRange</a></code></li><li><code><a href="../RubyXL/ColumnRanges.html">ColumnRanges</a></code></li><li><code><a href="../RubyXL/Comment.html">Comment</a></code></li><li><code><a href="../RubyXL/CommentList.html">CommentList</a></code></li><li><code><a href="../RubyXL/CommentsFile.html">CommentsFile</a></code></li><li><code><a href="../RubyXL/ConditionalFormatValue.html">ConditionalFormatValue</a></code></li><li><code><a href="../RubyXL/ConditionalFormatting.html">ConditionalFormatting</a></code></li><li><code><a href="../RubyXL/ConditionalFormattingRule.html">ConditionalFormattingRule</a></code></li><li><code><a href="../RubyXL/Connection.html">Connection</a></code></li><li><code><a href="../RubyXL/ConnectionTable.html">ConnectionTable</a></code></li><li><code><a href="../RubyXL/ConnectionTables.html">ConnectionTables</a></code></li><li><code><a href="../RubyXL/ConnectionTextField.html">ConnectionTextField</a></code></li><li><code><a href="../RubyXL/ConnectionTextFields.html">ConnectionTextFields</a></code></li><li><code><a href="../RubyXL/Connections.html">Connections</a></code></li><li><code><a href="../RubyXL/ContentTypeDefault.html">ContentTypeDefault</a></code></li><li><code><a href="../RubyXL/ContentTypeOverride.html">ContentTypeOverride</a></code></li><li><code><a href="../RubyXL/ContentTypes.html">ContentTypes</a></code></li><li><code><a href="../RubyXL/ControlPropertiesFile.html">ControlPropertiesFile</a></code></li><li><code><a href="../RubyXL/CorePropertiesFile.html">CorePropertiesFile</a></code></li><li><code><a href="../RubyXL/CustomColor.html">CustomColor</a></code></li><li><code><a href="../RubyXL/CustomColorList.html">CustomColorList</a></code></li><li><code><a href="../RubyXL/CustomFilter.html">CustomFilter</a></code></li><li><code><a href="../RubyXL/CustomFilters.html">CustomFilters</a></code></li><li><code><a href="../RubyXL/CustomGeometry.html">CustomGeometry</a></code></li><li><code><a href="../RubyXL/CustomProperties.html">CustomProperties</a></code></li><li><code><a href="../RubyXL/CustomPropertiesFile.html">CustomPropertiesFile</a></code></li><li><code><a href="../RubyXL/CustomProperty.html">CustomProperty</a></code></li><li><code><a href="../RubyXL/CustomPropertyFile.html">CustomPropertyFile</a></code></li><li><code><a href="../RubyXL/CustomSheetView.html">CustomSheetView</a></code></li><li><code><a href="../RubyXL/CustomSheetViews.html">CustomSheetViews</a></code></li><li><code><a href="../RubyXL/CustomWorkbookView.html">CustomWorkbookView</a></code></li><li><code><a href="../RubyXL/CustomWorkbookViews.html">CustomWorkbookViews</a></code></li><li><code><a href="../RubyXL/CustomXMLFile.html">CustomXMLFile</a></code></li><li><code><a href="../RubyXL/DXF.html">DXF</a></code></li><li><code><a href="../RubyXL/DXFs.html">DXFs</a></code></li><li><code><a href="../RubyXL/DataBar.html">DataBar</a></code></li><li><code><a href="../RubyXL/DataConsolidate.html">DataConsolidate</a></code></li><li><code><a href="../RubyXL/DataConsolidationReference.html">DataConsolidationReference</a></code></li><li><code><a href="../RubyXL/DataConsolidationReferences.html">DataConsolidationReferences</a></code></li><li><code><a href="../RubyXL/DataType.html">DataType</a></code></li><li><code><a href="../RubyXL/DataValidation.html">DataValidation</a></code></li><li><code><a href="../RubyXL/DataValidations.html">DataValidations</a></code></li><li><code><a href="../RubyXL/DateGroupItem.html">DateGroupItem</a></code></li><li><code><a href="../RubyXL/DefinedName.html">DefinedName</a></code></li><li><code><a href="../RubyXL/DefinedNameExt.html">DefinedNameExt</a></code></li><li><code><a href="../RubyXL/DefinedNames.html">DefinedNames</a></code></li><li><code><a href="../RubyXL/DefinedNamesExt.html">DefinedNamesExt</a></code></li><li><code><a href="../RubyXL/DocumentPropertiesFile.html">DocumentPropertiesFile</a></code></li><li><code><a href="../RubyXL/DrawingFile.html">DrawingFile</a></code></li><li><code><a href="../RubyXL/DynamicFilter.html">DynamicFilter</a></code></li><li><code><a href="../RubyXL/EmbeddedControl.html">EmbeddedControl</a></code></li><li><code><a href="../RubyXL/EmbeddedControls.html">EmbeddedControls</a></code></li><li><code><a href="../RubyXL/Extension.html">Extension</a></code></li><li><code><a href="../RubyXL/ExtensionStorageArea.html">ExtensionStorageArea</a></code></li><li><code><a href="../RubyXL/Extents.html">Extents</a></code></li><li><code><a href="../RubyXL/ExternalBook.html">ExternalBook</a></code></li><li><code><a href="../RubyXL/ExternalLinksFile.html">ExternalLinksFile</a></code></li><li><code><a href="../RubyXL/ExternalReference.html">ExternalReference</a></code></li><li><code><a href="../RubyXL/ExternalReferences.html">ExternalReferences</a></code></li><li><code><a href="../RubyXL/ExtraColorSchemeList.html">ExtraColorSchemeList</a></code></li><li><code><a href="../RubyXL/FieldItem.html">FieldItem</a></code></li><li><code><a href="../RubyXL/FileRecoveryProperties.html">FileRecoveryProperties</a></code></li><li><code><a href="../RubyXL/FileSharing.html">FileSharing</a></code></li><li><code><a href="../RubyXL/FileVersion.html">FileVersion</a></code></li><li><code><a href="../RubyXL/Fill.html">Fill</a></code></li><li><code><a href="../RubyXL/Fills.html">Fills</a></code></li><li><code><a href="../RubyXL/FilterContainer.html">FilterContainer</a></code></li><li><code><a href="../RubyXL/FloatNode.html">FloatNode</a></code></li><li><code><a href="../RubyXL/FloatValue.html">FloatValue</a></code></li><li><code><a href="../RubyXL/Font.html">Font</a></code></li><li><code><a href="../RubyXL/FontConvenienceMethods.html">FontConvenienceMethods</a></code></li><li><code><a href="../RubyXL/FontScheme.html">FontScheme</a></code></li><li><code><a href="../RubyXL/Fonts.html">Fonts</a></code></li><li><code><a href="../RubyXL/Formula.html">Formula</a></code></li><li><code><a href="../RubyXL/FunctionGroup.html">FunctionGroup</a></code></li><li><code><a href="../RubyXL/FunctionGroups.html">FunctionGroups</a></code></li><li><code><a href="../RubyXL/GenericStorageObject.html">GenericStorageObject</a></code></li><li><code><a href="../RubyXL/GradientFill.html">GradientFill</a></code></li><li><code><a href="../RubyXL/HeaderFooterSettings.html">HeaderFooterSettings</a></code></li><li><code><a href="../RubyXL/Hyperlink.html">Hyperlink</a></code></li><li><code><a href="../RubyXL/HyperlinkRelFile.html">HyperlinkRelFile</a></code></li><li><code><a href="../RubyXL/Hyperlinks.html">Hyperlinks</a></code></li><li><code><a href="../RubyXL/IconFilter.html">IconFilter</a></code></li><li><code><a href="../RubyXL/IconSet.html">IconSet</a></code></li><li><code><a href="../RubyXL/IgnoredError.html">IgnoredError</a></code></li><li><code><a href="../RubyXL/IgnoredErrors.html">IgnoredErrors</a></code></li><li><code><a href="../RubyXL/IndexedColors.html">IndexedColors</a></code></li><li><code><a href="../RubyXL/InputCells.html">InputCells</a></code></li><li><code><a href="../RubyXL/IntegerNode.html">IntegerNode</a></code></li><li><code><a href="../RubyXL/IntegerValue.html">IntegerValue</a></code></li><li><code><a href="../RubyXL/LegacyCell.html">LegacyCell</a></code></li><li><code><a href="../RubyXL/LegacyWorksheet.html">LegacyWorksheet</a></code></li><li><code><a href="../RubyXL/MRUColors.html">MRUColors</a></code></li><li><code><a href="../RubyXL/MacrosFile.html">MacrosFile</a></code></li><li><code><a href="../RubyXL/MergedCell.html">MergedCell</a></code></li><li><code><a href="../RubyXL/MergedCells.html">MergedCells</a></code></li><li><code><a href="../RubyXL/NumFmt.html">NumFmt</a></code></li><li><code><a href="../RubyXL/NumberFormat.html">NumberFormat</a></code></li><li><code><a href="../RubyXL/NumberFormats.html">NumberFormats</a></code></li><li><code><a href="../RubyXL/OLEObject.html">OLEObject</a></code></li><li><code><a href="../RubyXL/OLEObjectFile.html">OLEObjectFile</a></code></li><li><code><a href="../RubyXL/OLEObjects.html">OLEObjects</a></code></li><li><code><a href="../RubyXL/OLESize.html">OLESize</a></code></li><li><code><a href="../RubyXL/OOXMLContainerObject.html">OOXMLContainerObject</a></code></li><li><code><a href="../RubyXL/OOXMLIgnored.html">OOXMLIgnored</a></code></li><li><code><a href="../RubyXL/OOXMLObject.html">OOXMLObject</a></code></li><li><code><a href="../RubyXL/OOXMLObjectClassMethods.html">OOXMLObjectClassMethods</a></code></li><li><code><a href="../RubyXL/OOXMLObjectInstanceMethods.html">OOXMLObjectInstanceMethods</a></code></li><li><code><a href="../RubyXL/OOXMLRelationshipsFile.html">OOXMLRelationshipsFile</a></code></li><li><code><a href="../RubyXL/OOXMLTopLevelObject.html">OOXMLTopLevelObject</a></code></li><li><code><a href="../RubyXL/OdbcOleDbProperties.html">OdbcOleDbProperties</a></code></li><li><code><a href="../RubyXL/Offset.html">Offset</a></code></li><li><code><a href="../RubyXL/OlapProperties.html">OlapProperties</a></code></li><li><code><a href="../RubyXL/OleItem.html">OleItem</a></code></li><li><code><a href="../RubyXL/OleItems.html">OleItems</a></code></li><li><code><a href="../RubyXL/OleLink.html">OleLink</a></code></li><li><code><a href="../RubyXL/OutlineProperties.html">OutlineProperties</a></code></li><li><code><a href="../RubyXL/PageMargins.html">PageMargins</a></code></li><li><code><a href="../RubyXL/PageSetup.html">PageSetup</a></code></li><li><code><a href="../RubyXL/PageSetupProperties.html">PageSetupProperties</a></code></li><li><code><a href="../RubyXL/Pane.html">Pane</a></code></li><li><code><a href="../RubyXL/Parser.html">Parser</a></code></li><li><code><a href="../RubyXL/PatternFill.html">PatternFill</a></code></li><li><code><a href="../RubyXL/PersonMetadata.html">PersonMetadata</a></code></li><li><code><a href="../RubyXL/PhoneticProperties.html">PhoneticProperties</a></code></li><li><code><a href="../RubyXL/PhoneticRun.html">PhoneticRun</a></code></li><li><code><a href="../RubyXL/PivotArea.html">PivotArea</a></code></li><li><code><a href="../RubyXL/PivotCache.html">PivotCache</a></code></li><li><code><a href="../RubyXL/PivotCacheDefinitionFile.html">PivotCacheDefinitionFile</a></code></li><li><code><a href="../RubyXL/PivotCacheRecordsFile.html">PivotCacheRecordsFile</a></code></li><li><code><a href="../RubyXL/PivotCaches.html">PivotCaches</a></code></li><li><code><a href="../RubyXL/PivotReference.html">PivotReference</a></code></li><li><code><a href="../RubyXL/PivotReferences.html">PivotReferences</a></code></li><li><code><a href="../RubyXL/PivotSelection.html">PivotSelection</a></code></li><li><code><a href="../RubyXL/PivotTableFile.html">PivotTableFile</a></code></li><li><code><a href="../RubyXL/PresetGeometry.html">PresetGeometry</a></code></li><li><code><a href="../RubyXL/PrintOptions.html">PrintOptions</a></code></li><li><code><a href="../RubyXL/PrinterSettingsFile.html">PrinterSettingsFile</a></code></li><li><code><a href="../RubyXL/ProtectedRange.html">ProtectedRange</a></code></li><li><code><a href="../RubyXL/ProtectedRanges.html">ProtectedRanges</a></code></li><li><code><a href="../RubyXL/Protection.html">Protection</a></code></li><li><code><a href="../RubyXL/QueryParameter.html">QueryParameter</a></code></li><li><code><a href="../RubyXL/QueryParameters.html">QueryParameters</a></code></li><li><code><a href="../RubyXL/QueryTable.html">QueryTable</a></code></li><li><code><a href="../RubyXL/QueryTableDeletedField.html">QueryTableDeletedField</a></code></li><li><code><a href="../RubyXL/QueryTableDeletedFields.html">QueryTableDeletedFields</a></code></li><li><code><a href="../RubyXL/QueryTableField.html">QueryTableField</a></code></li><li><code><a href="../RubyXL/QueryTableFields.html">QueryTableFields</a></code></li><li><code><a href="../RubyXL/QueryTableRefresh.html">QueryTableRefresh</a></code></li><li><code><a href="../RubyXL/RID.html">RID</a></code></li><li><code><a href="../RubyXL/RawOOXML.html">RawOOXML</a></code></li><li><code><a href="../RubyXL/Reference.html">Reference</a></code></li><li><code><a href="../RubyXL/Relationship.html">Relationship</a></code></li><li><details><summary><code><a href="../RubyXL/RelationshipSupport.html">RelationshipSupport</a></code></summary><ul class="link-list nav-list"><li><code><a href="../RubyXL/RelationshipSupport/ClassMehods.html">ClassMehods</a></code></li></ul></details></li><li><code><a href="../RubyXL/RevisionPointer.html">RevisionPointer</a></code></li><li><code><a href="../RubyXL/RichText.html">RichText</a></code></li><li><code><a href="../RubyXL/RichTextRun.html">RichTextRun</a></code></li><li><code><a href="../RubyXL/Row.html">Row</a></code></li><li><code><a href="../RubyXL/RowExt.html">RowExt</a></code></li><li><code><a href="../RubyXL/RunProperties.html">RunProperties</a></code></li><li><code><a href="../RubyXL/Scenario.html">Scenario</a></code></li><li><code><a href="../RubyXL/Scenarios.html">Scenarios</a></code></li><li><code><a href="../RubyXL/Selection.html">Selection</a></code></li><li><code><a href="../RubyXL/ShapeGuide.html">ShapeGuide</a></code></li><li><code><a href="../RubyXL/ShapeTextRectangle.html">ShapeTextRectangle</a></code></li><li><code><a href="../RubyXL/SharedStringsTable.html">SharedStringsTable</a></code></li><li><code><a href="../RubyXL/Sheet.html">Sheet</a></code></li><li><code><a href="../RubyXL/SheetCalculationProperties.html">SheetCalculationProperties</a></code></li><li><code><a href="../RubyXL/SheetData.html">SheetData</a></code></li><li><code><a href="../RubyXL/SheetDataExt.html">SheetDataExt</a></code></li><li><code><a href="../RubyXL/SheetDataSet.html">SheetDataSet</a></code></li><li><code><a href="../RubyXL/SheetMetadata.html">SheetMetadata</a></code></li><li><code><a href="../RubyXL/SheetName.html">SheetName</a></code></li><li><code><a href="../RubyXL/SheetNames.html">SheetNames</a></code></li><li><code><a href="../RubyXL/Sheets.html">Sheets</a></code></li><li><code><a href="../RubyXL/SlicerCacheFile.html">SlicerCacheFile</a></code></li><li><code><a href="../RubyXL/SlicerFile.html">SlicerFile</a></code></li><li><code><a href="../RubyXL/SmartTagProperties.html">SmartTagProperties</a></code></li><li><code><a href="../RubyXL/SmartTagType.html">SmartTagType</a></code></li><li><code><a href="../RubyXL/SmartTagTypes.html">SmartTagTypes</a></code></li><li><code><a href="../RubyXL/SmartTags.html">SmartTags</a></code></li><li><code><a href="../RubyXL/SortCondition.html">SortCondition</a></code></li><li><code><a href="../RubyXL/SortState.html">SortState</a></code></li><li><code><a href="../RubyXL/Sqref.html">Sqref</a></code></li><li><code><a href="../RubyXL/Stop.html">Stop</a></code></li><li><code><a href="../RubyXL/StringNode.html">StringNode</a></code></li><li><code><a href="../RubyXL/StringNodeW3C.html">StringNodeW3C</a></code></li><li><code><a href="../RubyXL/StringValue.html">StringValue</a></code></li><li><code><a href="../RubyXL/Stylesheet.html">Stylesheet</a></code></li><li><code><a href="../RubyXL/TableFile.html">TableFile</a></code></li><li><code><a href="../RubyXL/TableParts.html">TableParts</a></code></li><li><code><a href="../RubyXL/TableStyle.html">TableStyle</a></code></li><li><code><a href="../RubyXL/TableStyles.html">TableStyles</a></code></li><li><code><a href="../RubyXL/Text.html">Text</a></code></li><li><code><a href="../RubyXL/TextImportSettings.html">TextImportSettings</a></code></li><li><code><a href="../RubyXL/Theme.html">Theme</a></code></li><li><code><a href="../RubyXL/ThemeElements.html">ThemeElements</a></code></li><li><code><a href="../RubyXL/ThumbnailFile.html">ThumbnailFile</a></code></li><li><code><a href="../RubyXL/Top10.html">Top10</a></code></li><li><code><a href="../RubyXL/VMLDrawingFile.html">VMLDrawingFile</a></code></li><li><code><a href="../RubyXL/Variant.html">Variant</a></code></li><li><code><a href="../RubyXL/Vector.html">Vector</a></code></li><li><code><a href="../RubyXL/VectorValue.html">VectorValue</a></code></li><li><code><a href="../RubyXL/VisualProperties.html">VisualProperties</a></code></li><li><code><a href="../RubyXL/WebPublishObject.html">WebPublishObject</a></code></li><li><code><a href="../RubyXL/WebPublishObjects.html">WebPublishObjects</a></code></li><li><code><a href="../RubyXL/WebPublishingItem.html">WebPublishingItem</a></code></li><li><code><a href="../RubyXL/WebPublishingItems.html">WebPublishingItems</a></code></li><li><code><a href="../RubyXL/WebPublishingProperties.html">WebPublishingProperties</a></code></li><li><code><a href="../RubyXL/WebQueryProperties.html">WebQueryProperties</a></code></li><li><code><a href="../RubyXL/Workbook.html">Workbook</a></code></li><li><code><a href="../RubyXL/WorkbookConvenienceMethods.html">WorkbookConvenienceMethods</a></code></li><li><code><a href="../RubyXL/WorkbookProperties.html">WorkbookProperties</a></code></li><li><code><a href="../RubyXL/WorkbookProtection.html">WorkbookProtection</a></code></li><li><code><a href="../RubyXL/WorkbookRoot.html">WorkbookRoot</a></code></li><li><code><a href="../RubyXL/WorkbookView.html">WorkbookView</a></code></li><li><code><a href="../RubyXL/WorkbookViews.html">WorkbookViews</a></code></li><li><code><a href="../RubyXL/Worksheet.html">Worksheet</a></code></li><li><code><a href="../RubyXL/WorksheetConvenienceMethods.html">WorksheetConvenienceMethods</a></code></li><li><code><a href="../RubyXL/WorksheetDimensions.html">WorksheetDimensions</a></code></li><li><code><a href="../RubyXL/WorksheetFormatProperties.html">WorksheetFormatProperties</a></code></li><li><code><a href="../RubyXL/WorksheetProperties.html">WorksheetProperties</a></code></li><li><code><a href="../RubyXL/WorksheetProtection.html">WorksheetProtection</a></code></li><li><code><a href="../RubyXL/WorksheetView.html">WorksheetView</a></code></li><li><code><a href="../RubyXL/WorksheetViews.html">WorksheetViews</a></code></li><li><code><a href="../RubyXL/XF.html">XF</a></code></li></ul></details></li></ul>
|
|
497
|
-
</details>
|
|
498
|
-
</div>
|
|
499
|
-
|
|
500
|
-
</nav>
|
|
501
|
-
|
|
502
|
-
<main role="main" aria-labelledby="module-rubyxl-workbookconveniencemethods">
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
<ol role="navigation" aria-label="Breadcrumb navigation" class="breadcrumb">
|
|
506
|
-
|
|
507
|
-
<li>
|
|
508
|
-
|
|
509
|
-
<a href="../RubyXL.html">RubyXL</a><span>::</span>
|
|
510
|
-
|
|
511
|
-
</li>
|
|
512
|
-
|
|
513
|
-
<li>
|
|
514
|
-
|
|
515
|
-
<span>WorkbookConvenienceMethods</span>
|
|
516
|
-
|
|
517
|
-
</li>
|
|
518
|
-
|
|
519
|
-
</ol>
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
<span id="module-RubyXL::WorkbookConvenienceMethods" class="legacy-anchor"></span>
|
|
523
|
-
<h1 id="module-rubyxl-workbookconveniencemethods" class="anchor-link module">
|
|
524
|
-
module RubyXL::WorkbookConvenienceMethods
|
|
525
|
-
</h1>
|
|
526
|
-
|
|
527
|
-
<section class="description">
|
|
528
|
-
|
|
529
|
-
</section>
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
<span id="5Buntitled-5D" class="legacy-anchor"></span>
|
|
533
|
-
<section class="documentation-section anchor-link">
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
<section id="public-instance-untitled-method-details" class="method-section anchor-link">
|
|
553
|
-
<header>
|
|
554
|
-
<h3 id="public-instance-untitled-methods"><a href="#public-instance-untitled-methods">Public Instance Methods</a></h3>
|
|
555
|
-
</header>
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
<div id="method-i-borders" class="method-detail anchor-link ">
|
|
559
|
-
<div class="method-header">
|
|
560
|
-
|
|
561
|
-
<div class="method-heading">
|
|
562
|
-
<a href="#method-i-borders" title="Link to this method">
|
|
563
|
-
<span class="method-name">borders</span>
|
|
564
|
-
<span class="method-args">()</span>
|
|
565
|
-
</a>
|
|
566
|
-
</div>
|
|
567
|
-
|
|
568
|
-
</div>
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
<div class="method-controls">
|
|
572
|
-
<details class="method-source-toggle">
|
|
573
|
-
<summary>Source</summary>
|
|
574
|
-
</details>
|
|
575
|
-
</div>
|
|
576
|
-
<div class="method-source-code" id="borders-source">
|
|
577
|
-
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 19</span>
|
|
578
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">borders</span> <span class="ruby-comment"># Stylesheet should be pre-filled with defaults on initialize()</span>
|
|
579
|
-
<span class="ruby-identifier">stylesheet</span>.<span class="ruby-identifier">borders</span>
|
|
580
|
-
<span class="ruby-keyword">end</span></pre>
|
|
581
|
-
</div>
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
<div class="method-description">
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
</div>
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
</div>
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
<div id="method-i-cell_xfs" class="method-detail anchor-link ">
|
|
601
|
-
<div class="method-header">
|
|
602
|
-
|
|
603
|
-
<div class="method-heading">
|
|
604
|
-
<a href="#method-i-cell_xfs" title="Link to this method">
|
|
605
|
-
<span class="method-name">cell_xfs</span>
|
|
606
|
-
<span class="method-args">()</span>
|
|
607
|
-
</a>
|
|
608
|
-
</div>
|
|
609
|
-
|
|
610
|
-
</div>
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
<div class="method-controls">
|
|
614
|
-
<details class="method-source-toggle">
|
|
615
|
-
<summary>Source</summary>
|
|
616
|
-
</details>
|
|
617
|
-
</div>
|
|
618
|
-
<div class="method-source-code" id="cell_xfs-source">
|
|
619
|
-
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 7</span>
|
|
620
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">cell_xfs</span> <span class="ruby-comment"># Stylesheet should be pre-filled with defaults on initialize()</span>
|
|
621
|
-
<span class="ruby-identifier">stylesheet</span>.<span class="ruby-identifier">cell_xfs</span>
|
|
622
|
-
<span class="ruby-keyword">end</span></pre>
|
|
623
|
-
</div>
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
<div class="method-description">
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
</div>
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
</div>
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
<div id="method-i-define_new_name" class="method-detail anchor-link ">
|
|
643
|
-
<div class="method-header">
|
|
644
|
-
|
|
645
|
-
<div class="method-heading">
|
|
646
|
-
<a href="#method-i-define_new_name" title="Link to this method">
|
|
647
|
-
<span class="method-name">define_new_name</span>
|
|
648
|
-
<span class="method-args">(name, reference)</span>
|
|
649
|
-
</a>
|
|
650
|
-
</div>
|
|
651
|
-
|
|
652
|
-
</div>
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
<div class="method-controls">
|
|
656
|
-
<details class="method-source-toggle">
|
|
657
|
-
<summary>Source</summary>
|
|
658
|
-
</details>
|
|
659
|
-
</div>
|
|
660
|
-
<div class="method-source-code" id="define_new_name-source">
|
|
661
|
-
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 122</span>
|
|
662
|
-
<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>)
|
|
663
|
-
<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>
|
|
664
|
-
<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>})
|
|
665
|
-
<span class="ruby-keyword">end</span></pre>
|
|
666
|
-
</div>
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
<div class="method-description">
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
</div>
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
</div>
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
<div id="method-i-each" class="method-detail anchor-link ">
|
|
686
|
-
<div class="method-header">
|
|
687
|
-
|
|
688
|
-
<div class="method-heading">
|
|
689
|
-
<a href="#method-i-each" title="Link to this method">
|
|
690
|
-
<span class="method-name">each</span>
|
|
691
|
-
<span class="method-args">() { |i| ... }</span>
|
|
692
|
-
</a>
|
|
693
|
-
</div>
|
|
694
|
-
|
|
695
|
-
</div>
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
<div class="method-controls">
|
|
699
|
-
<details class="method-source-toggle">
|
|
700
|
-
<summary>Source</summary>
|
|
701
|
-
</details>
|
|
702
|
-
</div>
|
|
703
|
-
<div class="method-source-code" id="each-source">
|
|
704
|
-
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 3</span>
|
|
705
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">each</span>
|
|
706
|
-
<span class="ruby-identifier">worksheets</span>.<span class="ruby-identifier">each</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-keyword">yield</span> <span class="ruby-identifier">i</span> }
|
|
707
|
-
<span class="ruby-keyword">end</span></pre>
|
|
708
|
-
</div>
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
<div class="method-description">
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
</div>
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
</div>
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
<div id="method-i-fills" class="method-detail anchor-link ">
|
|
728
|
-
<div class="method-header">
|
|
729
|
-
|
|
730
|
-
<div class="method-heading">
|
|
731
|
-
<a href="#method-i-fills" title="Link to this method">
|
|
732
|
-
<span class="method-name">fills</span>
|
|
733
|
-
<span class="method-args">()</span>
|
|
734
|
-
</a>
|
|
735
|
-
</div>
|
|
736
|
-
|
|
737
|
-
</div>
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
<div class="method-controls">
|
|
741
|
-
<details class="method-source-toggle">
|
|
742
|
-
<summary>Source</summary>
|
|
743
|
-
</details>
|
|
744
|
-
</div>
|
|
745
|
-
<div class="method-source-code" id="fills-source">
|
|
746
|
-
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 15</span>
|
|
747
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">fills</span> <span class="ruby-comment"># Stylesheet should be pre-filled with defaults on initialize()</span>
|
|
748
|
-
<span class="ruby-identifier">stylesheet</span>.<span class="ruby-identifier">fills</span>
|
|
749
|
-
<span class="ruby-keyword">end</span></pre>
|
|
750
|
-
</div>
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
<div class="method-description">
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
</div>
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
</div>
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
<div id="method-i-fonts" class="method-detail anchor-link ">
|
|
770
|
-
<div class="method-header">
|
|
771
|
-
|
|
772
|
-
<div class="method-heading">
|
|
773
|
-
<a href="#method-i-fonts" title="Link to this method">
|
|
774
|
-
<span class="method-name">fonts</span>
|
|
775
|
-
<span class="method-args">()</span>
|
|
776
|
-
</a>
|
|
777
|
-
</div>
|
|
778
|
-
|
|
779
|
-
</div>
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
<div class="method-controls">
|
|
783
|
-
<details class="method-source-toggle">
|
|
784
|
-
<summary>Source</summary>
|
|
785
|
-
</details>
|
|
786
|
-
</div>
|
|
787
|
-
<div class="method-source-code" id="fonts-source">
|
|
788
|
-
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 11</span>
|
|
789
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">fonts</span> <span class="ruby-comment"># Stylesheet should be pre-filled with defaults on initialize()</span>
|
|
790
|
-
<span class="ruby-identifier">stylesheet</span>.<span class="ruby-identifier">fonts</span>
|
|
791
|
-
<span class="ruby-keyword">end</span></pre>
|
|
792
|
-
</div>
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
<div class="method-description">
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
</div>
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
</div>
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
<div id="method-i-get_defined_name" class="method-detail anchor-link ">
|
|
812
|
-
<div class="method-header">
|
|
813
|
-
|
|
814
|
-
<div class="method-heading">
|
|
815
|
-
<a href="#method-i-get_defined_name" title="Link to this method">
|
|
816
|
-
<span class="method-name">get_defined_name</span>
|
|
817
|
-
<span class="method-args">(name)</span>
|
|
818
|
-
</a>
|
|
819
|
-
</div>
|
|
820
|
-
|
|
821
|
-
</div>
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
<div class="method-controls">
|
|
825
|
-
<details class="method-source-toggle">
|
|
826
|
-
<summary>Source</summary>
|
|
827
|
-
</details>
|
|
828
|
-
</div>
|
|
829
|
-
<div class="method-source-code" id="get_defined_name-source">
|
|
830
|
-
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 127</span>
|
|
831
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_defined_name</span>(<span class="ruby-identifier">name</span>)
|
|
832
|
-
<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> }
|
|
833
|
-
<span class="ruby-keyword">end</span></pre>
|
|
834
|
-
</div>
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
<div class="method-description">
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
</div>
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
</div>
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
<div id="method-i-get_fill_color" class="method-detail anchor-link ">
|
|
854
|
-
<div class="method-header">
|
|
855
|
-
|
|
856
|
-
<div class="method-heading">
|
|
857
|
-
<a href="#method-i-get_fill_color" title="Link to this method">
|
|
858
|
-
<span class="method-name">get_fill_color</span>
|
|
859
|
-
<span class="method-args">(xf)</span>
|
|
860
|
-
</a>
|
|
861
|
-
</div>
|
|
862
|
-
|
|
863
|
-
</div>
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
<div class="method-controls">
|
|
867
|
-
<details class="method-source-toggle">
|
|
868
|
-
<summary>Source</summary>
|
|
869
|
-
</details>
|
|
870
|
-
</div>
|
|
871
|
-
<div class="method-source-code" id="get_fill_color-source">
|
|
872
|
-
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 23</span>
|
|
873
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_fill_color</span>(<span class="ruby-identifier">xf</span>)
|
|
874
|
-
<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>
|
|
875
|
-
<span class="ruby-keyword">end</span></pre>
|
|
876
|
-
</div>
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
<div class="method-description">
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
</div>
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
</div>
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
<div id="method-i-modify_alignment" class="method-detail anchor-link ">
|
|
896
|
-
<div class="method-header">
|
|
897
|
-
|
|
898
|
-
<div class="method-heading">
|
|
899
|
-
<a href="#method-i-modify_alignment" title="Link to this method">
|
|
900
|
-
<span class="method-name">modify_alignment</span>
|
|
901
|
-
<span class="method-args">(style_index) { |alignment| ... }</span>
|
|
902
|
-
</a>
|
|
903
|
-
</div>
|
|
904
|
-
|
|
905
|
-
</div>
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
<div class="method-controls">
|
|
909
|
-
<details class="method-source-toggle">
|
|
910
|
-
<summary>Source</summary>
|
|
911
|
-
</details>
|
|
912
|
-
</div>
|
|
913
|
-
<div class="method-source-code" id="modify_alignment-source">
|
|
914
|
-
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 52</span>
|
|
915
|
-
<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>)
|
|
916
|
-
<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>]
|
|
917
|
-
<span class="ruby-identifier">new_xf</span> = <span class="ruby-identifier">old_xf</span>.<span class="ruby-identifier">dup</span>
|
|
918
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">old_xf</span>.<span class="ruby-identifier">alignment</span> <span class="ruby-keyword">then</span>
|
|
919
|
-
<span class="ruby-identifier">new_xf</span>.<span class="ruby-identifier">alignment</span> = <span class="ruby-identifier">old_xf</span>.<span class="ruby-identifier">alignment</span>.<span class="ruby-identifier">dup</span>
|
|
920
|
-
<span class="ruby-keyword">else</span>
|
|
921
|
-
<span class="ruby-identifier">new_xf</span>.<span class="ruby-identifier">alignment</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Alignment</span>.<span class="ruby-identifier">new</span>
|
|
922
|
-
<span class="ruby-keyword">end</span>
|
|
923
|
-
|
|
924
|
-
<span class="ruby-keyword">yield</span>(<span class="ruby-identifier">new_xf</span>.<span class="ruby-identifier">alignment</span>)
|
|
925
|
-
<span class="ruby-identifier">new_xf</span>.<span class="ruby-identifier">apply_alignment</span> = <span class="ruby-keyword">true</span>
|
|
926
|
-
|
|
927
|
-
<span class="ruby-identifier">register_new_xf</span>(<span class="ruby-identifier">new_xf</span>)
|
|
928
|
-
<span class="ruby-keyword">end</span></pre>
|
|
929
|
-
</div>
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
<div class="method-description">
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
</div>
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
</div>
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
<div id="method-i-modify_border" class="method-detail anchor-link ">
|
|
949
|
-
<div class="method-header">
|
|
950
|
-
|
|
951
|
-
<div class="method-heading">
|
|
952
|
-
<a href="#method-i-modify_border" title="Link to this method">
|
|
953
|
-
<span class="method-name">modify_border</span>
|
|
954
|
-
<span class="method-args">(style_index, direction, weight, diagonals = nil)</span>
|
|
955
|
-
</a>
|
|
956
|
-
</div>
|
|
957
|
-
|
|
958
|
-
</div>
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
<div class="method-controls">
|
|
962
|
-
<details class="method-source-toggle">
|
|
963
|
-
<summary>Source</summary>
|
|
964
|
-
</details>
|
|
965
|
-
</div>
|
|
966
|
-
<div class="method-source-code" id="modify_border-source">
|
|
967
|
-
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 75</span>
|
|
968
|
-
<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>, <span class="ruby-identifier">diagonals</span> = <span class="ruby-keyword">nil</span>)
|
|
969
|
-
<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>
|
|
970
|
-
<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>
|
|
971
|
-
|
|
972
|
-
<span class="ruby-identifier">edge</span> = <span class="ruby-identifier">new_border</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">direction</span>)
|
|
973
|
-
<span class="ruby-identifier">new_border</span>.<span class="ruby-identifier">send</span>(<span class="ruby-node">"#{direction}="</span>, <span class="ruby-identifier">edge</span>.<span class="ruby-identifier">dup</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">edge</span>
|
|
974
|
-
|
|
975
|
-
<span class="ruby-identifier">new_border</span>.<span class="ruby-identifier">set_edge_style</span>(<span class="ruby-identifier">direction</span>, <span class="ruby-identifier">weight</span>, <span class="ruby-identifier">diagonals</span>)
|
|
976
|
-
|
|
977
|
-
<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">border_id</span> = <span class="ruby-identifier">borders</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_border</span> } <span class="ruby-comment"># Reuse existing border, if it exists</span>
|
|
978
|
-
<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">border_id</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">borders</span>.<span class="ruby-identifier">size</span> <span class="ruby-comment"># If this border has never existed before, add it to collection.</span>
|
|
979
|
-
<span class="ruby-identifier">borders</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">border_id</span>] = <span class="ruby-identifier">new_border</span>
|
|
980
|
-
<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">apply_border</span> = <span class="ruby-keyword">true</span>
|
|
981
|
-
|
|
982
|
-
<span class="ruby-identifier">register_new_xf</span>(<span class="ruby-identifier">xf</span>)
|
|
983
|
-
<span class="ruby-keyword">end</span></pre>
|
|
984
|
-
</div>
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
<div class="method-description">
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
</div>
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
</div>
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
<div id="method-i-modify_border_color" class="method-detail anchor-link ">
|
|
1004
|
-
<div class="method-header">
|
|
1005
|
-
|
|
1006
|
-
<div class="method-heading">
|
|
1007
|
-
<a href="#method-i-modify_border_color" title="Link to this method">
|
|
1008
|
-
<span class="method-name">modify_border_color</span>
|
|
1009
|
-
<span class="method-args">(style_index, direction, color)</span>
|
|
1010
|
-
</a>
|
|
1011
|
-
</div>
|
|
1012
|
-
|
|
1013
|
-
</div>
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
<div class="method-controls">
|
|
1017
|
-
<details class="method-source-toggle">
|
|
1018
|
-
<summary>Source</summary>
|
|
1019
|
-
</details>
|
|
1020
|
-
</div>
|
|
1021
|
-
<div class="method-source-code" id="modify_border_color-source">
|
|
1022
|
-
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 92</span>
|
|
1023
|
-
<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>)
|
|
1024
|
-
<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>
|
|
1025
|
-
<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>
|
|
1026
|
-
|
|
1027
|
-
<span class="ruby-identifier">edge</span> = <span class="ruby-identifier">new_border</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">direction</span>)
|
|
1028
|
-
<span class="ruby-identifier">new_border</span>.<span class="ruby-identifier">send</span>(<span class="ruby-node">"#{direction}="</span>, <span class="ruby-identifier">edge</span>.<span class="ruby-identifier">dup</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">edge</span>
|
|
1029
|
-
|
|
1030
|
-
<span class="ruby-identifier">new_border</span>.<span class="ruby-identifier">set_edge_color</span>(<span class="ruby-identifier">direction</span>, <span class="ruby-identifier">color</span>)
|
|
1031
|
-
|
|
1032
|
-
<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">border_id</span> = <span class="ruby-identifier">borders</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_border</span> } <span class="ruby-comment"># Reuse existing border, if it exists</span>
|
|
1033
|
-
<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">border_id</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">borders</span>.<span class="ruby-identifier">size</span> <span class="ruby-comment"># If this border has never existed before, add it to collection.</span>
|
|
1034
|
-
<span class="ruby-identifier">borders</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">border_id</span>] = <span class="ruby-identifier">new_border</span>
|
|
1035
|
-
<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">apply_border</span> = <span class="ruby-keyword">true</span>
|
|
1036
|
-
|
|
1037
|
-
<span class="ruby-identifier">register_new_xf</span>(<span class="ruby-identifier">xf</span>)
|
|
1038
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1039
|
-
</div>
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
<div class="method-description">
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
</div>
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
</div>
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
<div id="method-i-modify_fill" class="method-detail anchor-link ">
|
|
1059
|
-
<div class="method-header">
|
|
1060
|
-
|
|
1061
|
-
<div class="method-heading">
|
|
1062
|
-
<a href="#method-i-modify_fill" title="Link to this method">
|
|
1063
|
-
<span class="method-name">modify_fill</span>
|
|
1064
|
-
<span class="method-args">(style_index, rgb)</span>
|
|
1065
|
-
</a>
|
|
1066
|
-
</div>
|
|
1067
|
-
|
|
1068
|
-
</div>
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
<div class="method-controls">
|
|
1072
|
-
<details class="method-source-toggle">
|
|
1073
|
-
<summary>Source</summary>
|
|
1074
|
-
</details>
|
|
1075
|
-
</div>
|
|
1076
|
-
<div class="method-source-code" id="modify_fill-source">
|
|
1077
|
-
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 67</span>
|
|
1078
|
-
<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>)
|
|
1079
|
-
<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>
|
|
1080
|
-
<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>
|
|
1081
|
-
<span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">PatternFill</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:pattern_type</span> <span class="ruby-operator">=></span> <span class="ruby-string">'solid'</span>,
|
|
1082
|
-
<span class="ruby-value">:fg_color</span> <span class="ruby-operator">=></span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Color</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:rgb</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">rgb</span>)))
|
|
1083
|
-
<span class="ruby-identifier">register_new_xf</span>(<span class="ruby-identifier">register_new_fill</span>(<span class="ruby-identifier">new_fill</span>, <span class="ruby-identifier">xf</span>))
|
|
1084
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1085
|
-
</div>
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
<div class="method-description">
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
</div>
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
</div>
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
<div id="method-i-password_hash" class="method-detail anchor-link ">
|
|
1105
|
-
<div class="method-header">
|
|
1106
|
-
|
|
1107
|
-
<div class="method-heading">
|
|
1108
|
-
<a href="#method-i-password_hash" title="Link to this method">
|
|
1109
|
-
<span class="method-name">password_hash</span>
|
|
1110
|
-
<span class="method-args">(pwd)</span>
|
|
1111
|
-
</a>
|
|
1112
|
-
</div>
|
|
1113
|
-
|
|
1114
|
-
</div>
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
<div class="method-controls">
|
|
1118
|
-
<details class="method-source-toggle">
|
|
1119
|
-
<summary>Source</summary>
|
|
1120
|
-
</details>
|
|
1121
|
-
</div>
|
|
1122
|
-
<div class="method-source-code" id="password_hash-source">
|
|
1123
|
-
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 111</span>
|
|
1124
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">password_hash</span>(<span class="ruby-identifier">pwd</span>)
|
|
1125
|
-
<span class="ruby-identifier">hsh</span> = <span class="ruby-value">0</span>
|
|
1126
|
-
<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>
|
|
1127
|
-
<span class="ruby-identifier">hsh</span> = <span class="ruby-identifier">hsh</span> <span class="ruby-operator">^</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">ord</span>
|
|
1128
|
-
<span class="ruby-identifier">hsh</span> = <span class="ruby-identifier">hsh</span> <span class="ruby-operator"><<</span> <span class="ruby-value">1</span>
|
|
1129
|
-
<span class="ruby-identifier">hsh</span> <span class="ruby-operator">-=</span> <span class="ruby-value">0x7fff</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">hsh</span> <span class="ruby-operator">></span> <span class="ruby-value">0x7fff</span>
|
|
1130
|
-
}
|
|
1131
|
-
|
|
1132
|
-
(<span class="ruby-identifier">hsh</span> <span class="ruby-operator">^</span> <span class="ruby-identifier">pwd</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">^</span> <span class="ruby-value">0xCE4B</span>).<span class="ruby-identifier">to_s</span>(<span class="ruby-value">16</span>)
|
|
1133
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1134
|
-
</div>
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
<div class="method-description">
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
<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>
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
</div>
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
</div>
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
<div id="method-i-register_new_fill" class="method-detail anchor-link ">
|
|
1154
|
-
<div class="method-header">
|
|
1155
|
-
|
|
1156
|
-
<div class="method-heading">
|
|
1157
|
-
<a href="#method-i-register_new_fill" title="Link to this method">
|
|
1158
|
-
<span class="method-name">register_new_fill</span>
|
|
1159
|
-
<span class="method-args">(new_fill, old_xf)</span>
|
|
1160
|
-
</a>
|
|
1161
|
-
</div>
|
|
1162
|
-
|
|
1163
|
-
</div>
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
<div class="method-controls">
|
|
1167
|
-
<details class="method-source-toggle">
|
|
1168
|
-
<summary>Source</summary>
|
|
1169
|
-
</details>
|
|
1170
|
-
</div>
|
|
1171
|
-
<div class="method-source-code" id="register_new_fill-source">
|
|
1172
|
-
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 27</span>
|
|
1173
|
-
<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>)
|
|
1174
|
-
<span class="ruby-identifier">new_xf</span> = <span class="ruby-identifier">old_xf</span>.<span class="ruby-identifier">dup</span>
|
|
1175
|
-
<span class="ruby-identifier">new_xf</span>.<span class="ruby-identifier">apply_fill</span> = <span class="ruby-keyword">true</span>
|
|
1176
|
-
<span class="ruby-identifier">new_xf</span>.<span class="ruby-identifier">fill_id</span> = <span class="ruby-identifier">fills</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_fill</span> } <span class="ruby-comment"># Reuse existing fill, if it exists</span>
|
|
1177
|
-
<span class="ruby-identifier">new_xf</span>.<span class="ruby-identifier">fill_id</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">fills</span>.<span class="ruby-identifier">size</span> <span class="ruby-comment"># If this fill has never existed before, add it to collection.</span>
|
|
1178
|
-
<span class="ruby-identifier">fills</span>[<span class="ruby-identifier">new_xf</span>.<span class="ruby-identifier">fill_id</span>] = <span class="ruby-identifier">new_fill</span>
|
|
1179
|
-
<span class="ruby-identifier">new_xf</span>
|
|
1180
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1181
|
-
</div>
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
<div class="method-description">
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
</div>
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
</div>
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
<div id="method-i-register_new_font" class="method-detail anchor-link ">
|
|
1201
|
-
<div class="method-header">
|
|
1202
|
-
|
|
1203
|
-
<div class="method-heading">
|
|
1204
|
-
<a href="#method-i-register_new_font" title="Link to this method">
|
|
1205
|
-
<span class="method-name">register_new_font</span>
|
|
1206
|
-
<span class="method-args">(new_font, old_xf)</span>
|
|
1207
|
-
</a>
|
|
1208
|
-
</div>
|
|
1209
|
-
|
|
1210
|
-
</div>
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
<div class="method-controls">
|
|
1214
|
-
<details class="method-source-toggle">
|
|
1215
|
-
<summary>Source</summary>
|
|
1216
|
-
</details>
|
|
1217
|
-
</div>
|
|
1218
|
-
<div class="method-source-code" id="register_new_font-source">
|
|
1219
|
-
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 36</span>
|
|
1220
|
-
<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>)
|
|
1221
|
-
<span class="ruby-identifier">new_xf</span> = <span class="ruby-identifier">old_xf</span>.<span class="ruby-identifier">dup</span>
|
|
1222
|
-
<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>
|
|
1223
|
-
<span class="ruby-identifier">new_xf</span>.<span class="ruby-identifier">font_id</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">fonts</span>.<span class="ruby-identifier">size</span> <span class="ruby-comment"># If this font has never existed before, add it to collection.</span>
|
|
1224
|
-
<span class="ruby-identifier">fonts</span>[<span class="ruby-identifier">new_xf</span>.<span class="ruby-identifier">font_id</span>] = <span class="ruby-identifier">new_font</span>
|
|
1225
|
-
<span class="ruby-identifier">new_xf</span>.<span class="ruby-identifier">apply_font</span> = <span class="ruby-keyword">true</span>
|
|
1226
|
-
<span class="ruby-identifier">new_xf</span>
|
|
1227
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1228
|
-
</div>
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
<div class="method-description">
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
</div>
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
</div>
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
<div id="method-i-register_new_xf" class="method-detail anchor-link ">
|
|
1248
|
-
<div class="method-header">
|
|
1249
|
-
|
|
1250
|
-
<div class="method-heading">
|
|
1251
|
-
<a href="#method-i-register_new_xf" title="Link to this method">
|
|
1252
|
-
<span class="method-name">register_new_xf</span>
|
|
1253
|
-
<span class="method-args">(new_xf)</span>
|
|
1254
|
-
</a>
|
|
1255
|
-
</div>
|
|
1256
|
-
|
|
1257
|
-
</div>
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
<div class="method-controls">
|
|
1261
|
-
<details class="method-source-toggle">
|
|
1262
|
-
<summary>Source</summary>
|
|
1263
|
-
</details>
|
|
1264
|
-
</div>
|
|
1265
|
-
<div class="method-source-code" id="register_new_xf-source">
|
|
1266
|
-
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 45</span>
|
|
1267
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">register_new_xf</span>(<span class="ruby-identifier">new_xf</span>)
|
|
1268
|
-
<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>
|
|
1269
|
-
<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>
|
|
1270
|
-
<span class="ruby-identifier">cell_xfs</span>[<span class="ruby-identifier">new_xf_id</span>] = <span class="ruby-identifier">new_xf</span>
|
|
1271
|
-
<span class="ruby-identifier">new_xf_id</span>
|
|
1272
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1273
|
-
</div>
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
<div class="method-description">
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
</div>
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
</div>
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
<div id="method-i-title" class="method-detail anchor-link ">
|
|
1293
|
-
<div class="method-header">
|
|
1294
|
-
|
|
1295
|
-
<div class="method-heading">
|
|
1296
|
-
<a href="#method-i-title" title="Link to this method">
|
|
1297
|
-
<span class="method-name">title</span>
|
|
1298
|
-
<span class="method-args">()</span>
|
|
1299
|
-
</a>
|
|
1300
|
-
</div>
|
|
1301
|
-
|
|
1302
|
-
</div>
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
<div class="method-controls">
|
|
1306
|
-
<details class="method-source-toggle">
|
|
1307
|
-
<summary>Source</summary>
|
|
1308
|
-
</details>
|
|
1309
|
-
</div>
|
|
1310
|
-
<div class="method-source-code" id="title-source">
|
|
1311
|
-
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 131</span>
|
|
1312
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">title</span>
|
|
1313
|
-
<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>
|
|
1314
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1315
|
-
</div>
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
<div class="method-description">
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
</div>
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
</div>
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
<div id="method-i-title-3D" class="method-detail anchor-link ">
|
|
1335
|
-
<div class="method-header">
|
|
1336
|
-
|
|
1337
|
-
<div class="method-heading">
|
|
1338
|
-
<a href="#method-i-title-3D" title="Link to this method">
|
|
1339
|
-
<span class="method-name">title=</span>
|
|
1340
|
-
<span class="method-args">(v)</span>
|
|
1341
|
-
</a>
|
|
1342
|
-
</div>
|
|
1343
|
-
|
|
1344
|
-
</div>
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
<div class="method-controls">
|
|
1348
|
-
<details class="method-source-toggle">
|
|
1349
|
-
<summary>Source</summary>
|
|
1350
|
-
</details>
|
|
1351
|
-
</div>
|
|
1352
|
-
<div class="method-source-code" id="title-3D-source">
|
|
1353
|
-
<pre class="ruby"><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 135</span>
|
|
1354
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">title=</span>(<span class="ruby-identifier">v</span>)
|
|
1355
|
-
<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>)
|
|
1356
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1357
|
-
</div>
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
<div class="method-description">
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
</div>
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
</div>
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
</section>
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
</section>
|
|
1382
|
-
|
|
1383
|
-
</main>
|
|
1384
|
-
|
|
1385
|
-
<aside class="table-of-contents" role="complementary" aria-label="Table of Contents">
|
|
1386
|
-
<div class="toc-sticky">
|
|
1387
|
-
<h3 class="toc-heading">On This Page</h3>
|
|
1388
|
-
<nav class="toc-nav" id="toc-nav" aria-label="Page sections">
|
|
1389
|
-
<!-- Generated by JavaScript based on page headings -->
|
|
1390
|
-
</nav>
|
|
1391
|
-
</div>
|
|
1392
|
-
</aside>
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
<footer class="site-footer">
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
<div class="footer-bottom">
|
|
1399
|
-
<p>
|
|
1400
|
-
Generated by <a href="https://ruby.github.io/rdoc/">RDoc 7.2.0</a>
|
|
1401
|
-
using the Aliki theme by <a href="http://st0012.dev">Stan Lo</a>
|
|
1402
|
-
</p>
|
|
1403
|
-
</div>
|
|
1404
|
-
</footer>
|
|
1405
|
-
|
|
1406
|
-
</body>
|
|
1407
|
-
|