rubyXL 3.4.5 → 3.4.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +2 -1
- data/Gemfile +3 -3
- data/Gemfile.lock +76 -51
- data/LICENSE.txt +1 -1
- data/README.rdoc +10 -2
- data/Rakefile +3 -3
- data/VERSION +1 -1
- data/lib/rubyXL/convenience_methods/cell.rb +11 -1
- data/lib/rubyXL/convenience_methods/color.rb +5 -3
- data/lib/rubyXL/convenience_methods/worksheet.rb +77 -0
- data/lib/rubyXL/objects/chartsheet.rb +1 -1
- data/lib/rubyXL/objects/data_validation.rb +2 -0
- data/lib/rubyXL/objects/document_properties.rb +2 -2
- data/lib/rubyXL/objects/external_links.rb +25 -1
- data/lib/rubyXL/objects/ooxml_object.rb +13 -1
- data/lib/rubyXL/objects/relationships.rb +1 -1
- data/lib/rubyXL/objects/sheet_data.rb +11 -4
- data/lib/rubyXL/objects/storage.rb +1 -0
- data/lib/rubyXL/objects/text.rb +1 -1
- data/lib/rubyXL/objects/theme.rb +1 -1
- data/lib/rubyXL/objects/workbook.rb +24 -10
- data/lib/rubyXL/objects/worksheet.rb +7 -7
- data/lib/rubyXL/worksheet.rb +2 -0
- data/rdoc/README_rdoc.html +22 -10
- data/rdoc/RubyXL/AExtension.html +14 -51
- data/rdoc/RubyXL/AExtensionStorageArea.html +10 -14
- data/rdoc/RubyXL/ActiveX.html +16 -42
- data/rdoc/RubyXL/ActiveXBinary.html +10 -19
- data/rdoc/RubyXL/AdjustHandleList.html +10 -14
- data/rdoc/RubyXL/Alignment.html +10 -14
- data/rdoc/RubyXL/AlternateContent.html +10 -14
- data/rdoc/RubyXL/Authors.html +10 -14
- data/rdoc/RubyXL/AutoFilter.html +10 -14
- data/rdoc/RubyXL/AutoFilterColumn.html +10 -14
- data/rdoc/RubyXL/BinaryImageFile.html +10 -22
- data/rdoc/RubyXL/BodyProperties.html +10 -14
- data/rdoc/RubyXL/BooleanNode.html +10 -14
- data/rdoc/RubyXL/BooleanValue.html +10 -14
- data/rdoc/RubyXL/Border.html +13 -70
- data/rdoc/RubyXL/BorderEdge.html +13 -44
- data/rdoc/RubyXL/Borders.html +13 -31
- data/rdoc/RubyXL/Break.html +10 -14
- data/rdoc/RubyXL/BreakList.html +10 -14
- data/rdoc/RubyXL/CT_AdjPoint2D.html +10 -14
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +10 -14
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +10 -14
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +10 -14
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +10 -14
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +10 -14
- data/rdoc/RubyXL/CT_Backdrop.html +10 -14
- data/rdoc/RubyXL/CT_Bevel.html +10 -14
- data/rdoc/RubyXL/CT_BiLevelEffect.html +10 -14
- data/rdoc/RubyXL/CT_BlendEffect.html +10 -14
- data/rdoc/RubyXL/CT_Blip.html +10 -14
- data/rdoc/RubyXL/CT_BlipFillProperties.html +10 -14
- data/rdoc/RubyXL/CT_BlurEffect.html +10 -14
- data/rdoc/RubyXL/CT_Camera.html +10 -14
- data/rdoc/RubyXL/CT_Color.html +10 -14
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +10 -14
- data/rdoc/RubyXL/CT_ColorMapping.html +10 -14
- data/rdoc/RubyXL/CT_ColorScheme.html +10 -14
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +10 -14
- data/rdoc/RubyXL/CT_ConnectionSite.html +10 -14
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +10 -14
- data/rdoc/RubyXL/CT_DashStop.html +10 -14
- data/rdoc/RubyXL/CT_DashStopList.html +10 -14
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +10 -14
- data/rdoc/RubyXL/CT_DuotoneEffect.html +10 -14
- data/rdoc/RubyXL/CT_EffectContainer.html +10 -14
- data/rdoc/RubyXL/CT_EffectList.html +10 -14
- data/rdoc/RubyXL/CT_EffectReference.html +10 -14
- data/rdoc/RubyXL/CT_EffectStyleItem.html +10 -14
- data/rdoc/RubyXL/CT_EffectStyleList.html +10 -14
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +10 -14
- data/rdoc/RubyXL/CT_FillEffect.html +10 -14
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +10 -14
- data/rdoc/RubyXL/CT_FillStyleList.html +10 -14
- data/rdoc/RubyXL/CT_FlatText.html +10 -14
- data/rdoc/RubyXL/CT_FontCollection.html +10 -14
- data/rdoc/RubyXL/CT_FontReference.html +10 -14
- data/rdoc/RubyXL/CT_GeomGuideList.html +10 -14
- data/rdoc/RubyXL/CT_GlowEffect.html +10 -14
- data/rdoc/RubyXL/CT_GradientFillProperties.html +10 -14
- data/rdoc/RubyXL/CT_GradientStop.html +10 -14
- data/rdoc/RubyXL/CT_GradientStopList.html +10 -14
- data/rdoc/RubyXL/CT_HSLEffect.html +10 -14
- data/rdoc/RubyXL/CT_HslColor.html +10 -14
- data/rdoc/RubyXL/CT_Hyperlink.html +10 -14
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +10 -14
- data/rdoc/RubyXL/CT_LightRig.html +10 -14
- data/rdoc/RubyXL/CT_LineEndProperties.html +10 -14
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +10 -14
- data/rdoc/RubyXL/CT_LineProperties.html +10 -14
- data/rdoc/RubyXL/CT_LineStyleList.html +10 -14
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +10 -14
- data/rdoc/RubyXL/CT_LuminanceEffect.html +10 -14
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +10 -14
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +10 -14
- data/rdoc/RubyXL/CT_Path2D.html +10 -14
- data/rdoc/RubyXL/CT_Path2DArcTo.html +10 -14
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +10 -14
- data/rdoc/RubyXL/CT_Path2DList.html +10 -14
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +10 -14
- data/rdoc/RubyXL/CT_Path2DTo.html +10 -14
- data/rdoc/RubyXL/CT_PathShadeProperties.html +10 -14
- data/rdoc/RubyXL/CT_PatternFillProperties.html +10 -14
- data/rdoc/RubyXL/CT_Point3D.html +10 -14
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +10 -14
- data/rdoc/RubyXL/CT_PresetColor.html +10 -14
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +10 -14
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +10 -14
- data/rdoc/RubyXL/CT_PresetTextShape.html +10 -14
- data/rdoc/RubyXL/CT_ReflectionEffect.html +10 -14
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +10 -14
- data/rdoc/RubyXL/CT_RelativeRect.html +10 -14
- data/rdoc/RubyXL/CT_SRgbColor.html +10 -14
- data/rdoc/RubyXL/CT_ScRgbColor.html +10 -14
- data/rdoc/RubyXL/CT_Scene3D.html +10 -14
- data/rdoc/RubyXL/CT_SchemeColor.html +10 -14
- data/rdoc/RubyXL/CT_Shape3D.html +10 -14
- data/rdoc/RubyXL/CT_ShapeStyle.html +10 -14
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +10 -14
- data/rdoc/RubyXL/CT_SphereCoords.html +10 -14
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +10 -14
- data/rdoc/RubyXL/CT_StyleMatrix.html +10 -14
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +10 -14
- data/rdoc/RubyXL/CT_SupplementalFont.html +10 -14
- data/rdoc/RubyXL/CT_SystemColor.html +10 -14
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +10 -14
- data/rdoc/RubyXL/CT_TextBlipBullet.html +10 -14
- data/rdoc/RubyXL/CT_TextCharBullet.html +10 -14
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +10 -14
- data/rdoc/RubyXL/CT_TextFont.html +10 -14
- data/rdoc/RubyXL/CT_TextListStyle.html +10 -14
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +10 -14
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +10 -14
- data/rdoc/RubyXL/CT_TextSpacing.html +10 -14
- data/rdoc/RubyXL/CT_TextTabStop.html +10 -14
- data/rdoc/RubyXL/CT_TextTabStopList.html +10 -14
- data/rdoc/RubyXL/CT_TileInfoProperties.html +10 -14
- data/rdoc/RubyXL/CT_TintEffect.html +10 -14
- data/rdoc/RubyXL/CT_Transform2D.html +10 -14
- data/rdoc/RubyXL/CT_TransformEffect.html +10 -14
- data/rdoc/RubyXL/CT_Vector3D.html +10 -14
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +10 -14
- data/rdoc/RubyXL/CalculationChain.html +13 -39
- data/rdoc/RubyXL/CalculationChainCell.html +10 -14
- data/rdoc/RubyXL/CalculationProperties.html +10 -14
- data/rdoc/RubyXL/Cell.html +28 -221
- data/rdoc/RubyXL/CellConvenienceMethods.html +70 -475
- data/rdoc/RubyXL/CellExt.html +10 -14
- data/rdoc/RubyXL/CellSmartTag.html +10 -14
- data/rdoc/RubyXL/CellSmartTagProperty.html +10 -14
- data/rdoc/RubyXL/CellSmartTags.html +10 -14
- data/rdoc/RubyXL/CellStyle.html +10 -14
- data/rdoc/RubyXL/CellStyleXFs.html +13 -31
- data/rdoc/RubyXL/CellStyles.html +13 -31
- data/rdoc/RubyXL/CellValue.html +13 -31
- data/rdoc/RubyXL/CellWatch.html +10 -14
- data/rdoc/RubyXL/CellWatches.html +10 -14
- data/rdoc/RubyXL/CellXFs.html +13 -31
- data/rdoc/RubyXL/ChartColorsFile.html +10 -22
- data/rdoc/RubyXL/ChartFile.html +15 -44
- data/rdoc/RubyXL/ChartStyleFile.html +10 -22
- data/rdoc/RubyXL/ChartUserShapesFile.html +10 -22
- data/rdoc/RubyXL/Chartsheet.html +15 -61
- data/rdoc/RubyXL/ChartsheetPageSetup.html +10 -14
- data/rdoc/RubyXL/ChartsheetProperties.html +10 -14
- data/rdoc/RubyXL/ChartsheetProtection.html +10 -14
- data/rdoc/RubyXL/ChartsheetView.html +10 -14
- data/rdoc/RubyXL/ChartsheetViews.html +10 -14
- data/rdoc/RubyXL/Color.html +13 -36
- data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +15 -60
- data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +19 -76
- data/rdoc/RubyXL/ColorConvenienceClasses.html +8 -11
- data/rdoc/RubyXL/ColorConvenienceMethods.html +11 -28
- data/rdoc/RubyXL/ColorFilter.html +10 -14
- data/rdoc/RubyXL/ColorScale.html +10 -14
- data/rdoc/RubyXL/ColorSet.html +10 -14
- data/rdoc/RubyXL/Colors.html +10 -14
- data/rdoc/RubyXL/ColumnRange.html +13 -62
- data/rdoc/RubyXL/ColumnRanges.html +13 -70
- data/rdoc/RubyXL/Comment.html +10 -14
- data/rdoc/RubyXL/CommentList.html +10 -14
- data/rdoc/RubyXL/CommentsFile.html +13 -44
- data/rdoc/RubyXL/ConditionalFormatValue.html +10 -14
- data/rdoc/RubyXL/ConditionalFormatting.html +10 -14
- data/rdoc/RubyXL/ConditionalFormattingRule.html +10 -14
- data/rdoc/RubyXL/Connection.html +10 -14
- data/rdoc/RubyXL/ConnectionTable.html +10 -14
- data/rdoc/RubyXL/ConnectionTables.html +10 -14
- data/rdoc/RubyXL/ConnectionTextField.html +10 -14
- data/rdoc/RubyXL/ConnectionTextFields.html +10 -14
- data/rdoc/RubyXL/Connections.html +13 -39
- data/rdoc/RubyXL/ContentTypeDefault.html +10 -14
- data/rdoc/RubyXL/ContentTypeOverride.html +10 -14
- data/rdoc/RubyXL/ContentTypes.html +13 -52
- data/rdoc/RubyXL/ControlPropertiesFile.html +12 -19
- data/rdoc/RubyXL/CorePropertiesFile.html +15 -150
- data/rdoc/RubyXL/CustomColor.html +10 -14
- data/rdoc/RubyXL/CustomColorList.html +10 -14
- data/rdoc/RubyXL/CustomFilter.html +10 -14
- data/rdoc/RubyXL/CustomFilters.html +10 -14
- data/rdoc/RubyXL/CustomGeometry.html +10 -14
- data/rdoc/RubyXL/CustomProperties.html +10 -14
- data/rdoc/RubyXL/CustomPropertiesFile.html +10 -22
- data/rdoc/RubyXL/CustomProperty.html +10 -14
- data/rdoc/RubyXL/CustomPropertyFile.html +10 -22
- data/rdoc/RubyXL/CustomSheetView.html +10 -14
- data/rdoc/RubyXL/CustomSheetViews.html +10 -14
- data/rdoc/RubyXL/CustomWorkbookView.html +10 -14
- data/rdoc/RubyXL/CustomWorkbookViews.html +10 -14
- data/rdoc/RubyXL/CustomXMLFile.html +10 -19
- data/rdoc/RubyXL/DXF.html +10 -14
- data/rdoc/RubyXL/DXFs.html +10 -14
- data/rdoc/RubyXL/DataBar.html +10 -14
- data/rdoc/RubyXL/DataConsolidate.html +10 -14
- data/rdoc/RubyXL/DataConsolidationReference.html +10 -14
- data/rdoc/RubyXL/DataConsolidationReferences.html +10 -14
- data/rdoc/RubyXL/DataType.html +8 -34
- data/rdoc/RubyXL/DataValidation.html +10 -14
- data/rdoc/RubyXL/DataValidations.html +10 -14
- data/rdoc/RubyXL/DateGroupItem.html +10 -14
- data/rdoc/RubyXL/DefinedName.html +10 -14
- data/rdoc/RubyXL/DefinedNameExt.html +10 -14
- data/rdoc/RubyXL/DefinedNames.html +10 -14
- data/rdoc/RubyXL/DefinedNamesExt.html +10 -14
- data/rdoc/RubyXL/DocumentPropertiesFile.html +13 -57
- data/rdoc/RubyXL/DrawingFile.html +15 -44
- data/rdoc/RubyXL/DynamicFilter.html +10 -14
- data/rdoc/RubyXL/EmbeddedControl.html +10 -14
- data/rdoc/RubyXL/EmbeddedControls.html +10 -14
- data/rdoc/RubyXL/Extension.html +10 -14
- data/rdoc/RubyXL/ExtensionStorageArea.html +10 -14
- data/rdoc/RubyXL/Extents.html +10 -14
- data/rdoc/RubyXL/ExternalBook.html +10 -14
- data/rdoc/RubyXL/ExternalLinksFile.html +16 -45
- data/rdoc/RubyXL/ExternalReference.html +10 -14
- data/rdoc/RubyXL/ExternalReferences.html +10 -14
- data/rdoc/RubyXL/ExtraColorSchemeList.html +10 -14
- data/rdoc/RubyXL/FieldItem.html +10 -14
- data/rdoc/RubyXL/FileRecoveryProperties.html +10 -14
- data/rdoc/RubyXL/FileSharing.html +10 -14
- data/rdoc/RubyXL/FileVersion.html +10 -14
- data/rdoc/RubyXL/Fill.html +13 -31
- data/rdoc/RubyXL/Fills.html +13 -31
- data/rdoc/RubyXL/FilterContainer.html +10 -14
- data/rdoc/RubyXL/FloatNode.html +10 -14
- data/rdoc/RubyXL/FloatValue.html +10 -14
- data/rdoc/RubyXL/Font.html +13 -36
- data/rdoc/RubyXL/FontConvenienceMethods.html +11 -197
- data/rdoc/RubyXL/FontScheme.html +10 -14
- data/rdoc/RubyXL/Fonts.html +13 -31
- data/rdoc/RubyXL/Formula.html +10 -14
- data/rdoc/RubyXL/FunctionGroup.html +10 -14
- data/rdoc/RubyXL/FunctionGroups.html +10 -14
- data/rdoc/RubyXL/GenericStorageObject.html +14 -75
- data/rdoc/RubyXL/GradientFill.html +10 -14
- data/rdoc/RubyXL/HeaderFooterSettings.html +10 -14
- data/rdoc/RubyXL/Hyperlink.html +10 -14
- data/rdoc/RubyXL/HyperlinkRelFile.html +10 -19
- data/rdoc/RubyXL/Hyperlinks.html +10 -14
- data/rdoc/RubyXL/IconFilter.html +10 -14
- data/rdoc/RubyXL/IconSet.html +10 -14
- data/rdoc/RubyXL/IgnoredError.html +10 -14
- data/rdoc/RubyXL/IgnoredErrors.html +10 -14
- data/rdoc/RubyXL/IndexedColors.html +10 -14
- data/rdoc/RubyXL/InputCells.html +10 -14
- data/rdoc/RubyXL/IntegerNode.html +10 -14
- data/rdoc/RubyXL/IntegerValue.html +10 -14
- data/rdoc/RubyXL/LegacyCell.html +11 -28
- data/rdoc/RubyXL/LegacyWorksheet.html +16 -88
- data/rdoc/RubyXL/MRUColors.html +10 -14
- data/rdoc/RubyXL/MacrosFile.html +10 -22
- data/rdoc/RubyXL/MergedCell.html +10 -14
- data/rdoc/RubyXL/MergedCells.html +10 -14
- data/rdoc/RubyXL/NumFmt.html +10 -14
- data/rdoc/RubyXL/NumberFormat.html +13 -31
- data/rdoc/RubyXL/NumberFormats.html +13 -36
- data/rdoc/RubyXL/OLEObject.html +10 -14
- data/rdoc/RubyXL/OLEObjectFile.html +10 -22
- data/rdoc/RubyXL/OLEObjects.html +10 -14
- data/rdoc/RubyXL/OLESize.html +10 -14
- data/rdoc/RubyXL/OOXMLContainerObject.html +24 -116
- data/rdoc/RubyXL/OOXMLIgnored.html +14 -46
- data/rdoc/RubyXL/OOXMLObject.html +12 -19
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +39 -84
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +28 -141
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +15 -169
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +19 -103
- data/rdoc/RubyXL/OdbcOleDbProperties.html +10 -14
- data/rdoc/RubyXL/Offset.html +10 -14
- data/rdoc/RubyXL/OlapProperties.html +10 -14
- data/rdoc/RubyXL/OleItem.html +99 -0
- data/rdoc/RubyXL/OleItems.html +99 -0
- data/rdoc/RubyXL/OleLink.html +99 -0
- data/rdoc/RubyXL/OutlineProperties.html +10 -14
- data/rdoc/RubyXL/PageMargins.html +10 -14
- data/rdoc/RubyXL/PageSetup.html +10 -14
- data/rdoc/RubyXL/PageSetupProperties.html +10 -14
- data/rdoc/RubyXL/Pane.html +10 -14
- data/rdoc/RubyXL/Parser.html +13 -44
- data/rdoc/RubyXL/PatternFill.html +10 -14
- data/rdoc/RubyXL/PhoneticProperties.html +10 -14
- data/rdoc/RubyXL/PhoneticRun.html +10 -14
- data/rdoc/RubyXL/PivotArea.html +10 -14
- data/rdoc/RubyXL/PivotCache.html +10 -14
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +12 -27
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +10 -22
- data/rdoc/RubyXL/PivotCaches.html +10 -14
- data/rdoc/RubyXL/PivotReference.html +10 -14
- data/rdoc/RubyXL/PivotReferences.html +10 -14
- data/rdoc/RubyXL/PivotTableFile.html +12 -27
- data/rdoc/RubyXL/PivotTableSelection.html +10 -14
- data/rdoc/RubyXL/PresetGeometry.html +10 -14
- data/rdoc/RubyXL/PrintOptions.html +10 -14
- data/rdoc/RubyXL/PrinterSettingsFile.html +10 -22
- data/rdoc/RubyXL/ProtectedRange.html +10 -14
- data/rdoc/RubyXL/ProtectedRanges.html +10 -14
- data/rdoc/RubyXL/Protection.html +10 -14
- data/rdoc/RubyXL/QueryParameter.html +10 -14
- data/rdoc/RubyXL/QueryParameters.html +10 -14
- data/rdoc/RubyXL/QueryTable.html +15 -44
- data/rdoc/RubyXL/QueryTableDeletedField.html +10 -14
- data/rdoc/RubyXL/QueryTableDeletedFields.html +10 -14
- data/rdoc/RubyXL/QueryTableField.html +10 -14
- data/rdoc/RubyXL/QueryTableFields.html +10 -14
- data/rdoc/RubyXL/QueryTableRefresh.html +10 -14
- data/rdoc/RubyXL/RID.html +10 -14
- data/rdoc/RubyXL/RawOOXML.html +14 -51
- data/rdoc/RubyXL/Reference.html +14 -192
- data/rdoc/RubyXL/Relationship.html +10 -14
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +11 -28
- data/rdoc/RubyXL/RelationshipSupport.html +14 -108
- data/rdoc/RubyXL/RevisionPointer.html +10 -14
- data/rdoc/RubyXL/RichText.html +14 -32
- data/rdoc/RubyXL/RichTextRun.html +13 -31
- data/rdoc/RubyXL/Row.html +22 -154
- data/rdoc/RubyXL/RowExt.html +10 -14
- data/rdoc/RubyXL/RunProperties.html +10 -14
- data/rdoc/RubyXL/Scenario.html +10 -14
- data/rdoc/RubyXL/Scenarios.html +10 -14
- data/rdoc/RubyXL/Selection.html +13 -31
- data/rdoc/RubyXL/ShapeGuide.html +10 -14
- data/rdoc/RubyXL/ShapeTextRectangle.html +10 -14
- data/rdoc/RubyXL/SharedStringsTable.html +14 -121
- data/rdoc/RubyXL/Sheet.html +10 -14
- data/rdoc/RubyXL/SheetCalculationProperties.html +10 -14
- data/rdoc/RubyXL/SheetData.html +15 -46
- data/rdoc/RubyXL/SheetDataExt.html +10 -14
- data/rdoc/RubyXL/SheetDataSet.html +10 -14
- data/rdoc/RubyXL/SheetName.html +10 -14
- data/rdoc/RubyXL/SheetNames.html +10 -14
- data/rdoc/RubyXL/Sheets.html +10 -14
- data/rdoc/RubyXL/SlicerCacheFile.html +10 -22
- data/rdoc/RubyXL/SlicerFile.html +10 -22
- data/rdoc/RubyXL/SmartTagProperties.html +10 -14
- data/rdoc/RubyXL/SmartTagType.html +10 -14
- data/rdoc/RubyXL/SmartTagTypes.html +10 -14
- data/rdoc/RubyXL/SmartTags.html +10 -14
- data/rdoc/RubyXL/SortCondition.html +10 -14
- data/rdoc/RubyXL/SortState.html +10 -14
- data/rdoc/RubyXL/Sqref.html +14 -46
- data/rdoc/RubyXL/Stop.html +10 -14
- data/rdoc/RubyXL/StringNode.html +10 -14
- data/rdoc/RubyXL/StringNodeW3C.html +14 -46
- data/rdoc/RubyXL/StringValue.html +10 -14
- data/rdoc/RubyXL/Stylesheet.html +14 -94
- data/rdoc/RubyXL/TableFile.html +10 -22
- data/rdoc/RubyXL/TableParts.html +10 -14
- data/rdoc/RubyXL/TableStyle.html +10 -14
- data/rdoc/RubyXL/TableStyles.html +10 -14
- data/rdoc/RubyXL/Text.html +13 -52
- data/rdoc/RubyXL/TextImportSettings.html +10 -14
- data/rdoc/RubyXL/Theme.html +14 -67
- data/rdoc/RubyXL/ThemeElements.html +10 -14
- data/rdoc/RubyXL/ThumbnailFile.html +10 -22
- data/rdoc/RubyXL/Top10.html +10 -14
- data/rdoc/RubyXL/VMLDrawingFile.html +12 -27
- data/rdoc/RubyXL/Variant.html +10 -14
- data/rdoc/RubyXL/Vector.html +13 -31
- data/rdoc/RubyXL/VectorValue.html +10 -14
- data/rdoc/RubyXL/VisualProperties.html +10 -14
- data/rdoc/RubyXL/WebPublishObject.html +10 -14
- data/rdoc/RubyXL/WebPublishObjects.html +10 -14
- data/rdoc/RubyXL/WebPublishingItem.html +10 -14
- data/rdoc/RubyXL/WebPublishingItems.html +10 -14
- data/rdoc/RubyXL/WebPublishingProperties.html +10 -14
- data/rdoc/RubyXL/WebQueryProperties.html +10 -14
- data/rdoc/RubyXL/Workbook.html +76 -465
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +11 -223
- data/rdoc/RubyXL/WorkbookProperties.html +10 -14
- data/rdoc/RubyXL/WorkbookProtection.html +10 -14
- data/rdoc/RubyXL/WorkbookRoot.html +16 -101
- data/rdoc/RubyXL/WorkbookView.html +10 -14
- data/rdoc/RubyXL/WorkbookViews.html +10 -14
- data/rdoc/RubyXL/Worksheet.html +16 -132
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +171 -987
- data/rdoc/RubyXL/WorksheetDimensions.html +10 -14
- data/rdoc/RubyXL/WorksheetFormatProperties.html +10 -14
- data/rdoc/RubyXL/WorksheetProperties.html +10 -14
- data/rdoc/RubyXL/WorksheetProtection.html +10 -14
- data/rdoc/RubyXL/WorksheetView.html +10 -14
- data/rdoc/RubyXL/WorksheetViews.html +10 -14
- data/rdoc/RubyXL/XF.html +10 -14
- data/rdoc/RubyXL.html +11 -321
- data/rdoc/created.rid +26 -26
- data/rdoc/css/rdoc.css +55 -6
- data/rdoc/index.html +13 -390
- data/rdoc/js/darkfish.js +22 -99
- data/rdoc/js/navigation.js +4 -40
- data/rdoc/js/navigation.js.gz +0 -0
- data/rdoc/js/search.js +32 -31
- data/rdoc/js/search_index.js +1 -1
- data/rdoc/js/search_index.js.gz +0 -0
- data/rdoc/js/searcher.js +6 -6
- data/rdoc/js/searcher.js.gz +0 -0
- data/rdoc/table_of_contents.html +33 -7
- data/rubyXL.gemspec +24 -31
- data/spec/lib/cell_spec.rb +44 -2
- data/spec/lib/rgb_color_spec.rb +16 -0
- data/spec/lib/worksheet_spec.rb +301 -0
- metadata +12 -10
- data/rdoc/js/jquery.js +0 -4
@@ -4,21 +4,23 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>module RubyXL::WorkbookConvenienceMethods - rubyXL 3.4.
|
7
|
+
<title>module RubyXL::WorkbookConvenienceMethods - rubyXL 3.4.18</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
11
11
|
var index_rel_prefix = "../";
|
12
12
|
</script>
|
13
13
|
|
14
|
-
<script src="../js/
|
15
|
-
<script src="../js/
|
14
|
+
<script src="../js/navigation.js" defer></script>
|
15
|
+
<script src="../js/search.js" defer></script>
|
16
|
+
<script src="../js/search_index.js" defer></script>
|
17
|
+
<script src="../js/searcher.js" defer></script>
|
18
|
+
<script src="../js/darkfish.js" defer></script>
|
16
19
|
|
17
20
|
<link href="../css/fonts.css" rel="stylesheet">
|
18
21
|
<link href="../css/rdoc.css" rel="stylesheet">
|
19
22
|
|
20
23
|
|
21
|
-
|
22
24
|
<body id="top" role="document" class="module">
|
23
25
|
<nav role="navigation">
|
24
26
|
<div id="project-navigation">
|
@@ -58,44 +60,28 @@
|
|
58
60
|
|
59
61
|
|
60
62
|
|
61
|
-
|
63
|
+
|
64
|
+
<!-- Method Quickref -->
|
62
65
|
<div id="method-list-section" class="nav-section">
|
63
66
|
<h3>Methods</h3>
|
64
67
|
|
65
68
|
<ul class="link-list" role="directory">
|
66
|
-
|
67
69
|
<li ><a href="#method-i-borders">#borders</a>
|
68
|
-
|
69
70
|
<li ><a href="#method-i-cell_xfs">#cell_xfs</a>
|
70
|
-
|
71
71
|
<li ><a href="#method-i-define_new_name">#define_new_name</a>
|
72
|
-
|
73
72
|
<li ><a href="#method-i-each">#each</a>
|
74
|
-
|
75
73
|
<li ><a href="#method-i-fills">#fills</a>
|
76
|
-
|
77
74
|
<li ><a href="#method-i-fonts">#fonts</a>
|
78
|
-
|
79
75
|
<li ><a href="#method-i-get_defined_name">#get_defined_name</a>
|
80
|
-
|
81
76
|
<li ><a href="#method-i-get_fill_color">#get_fill_color</a>
|
82
|
-
|
83
77
|
<li ><a href="#method-i-modify_alignment">#modify_alignment</a>
|
84
|
-
|
85
78
|
<li ><a href="#method-i-modify_border">#modify_border</a>
|
86
|
-
|
87
79
|
<li ><a href="#method-i-modify_border_color">#modify_border_color</a>
|
88
|
-
|
89
80
|
<li ><a href="#method-i-modify_fill">#modify_fill</a>
|
90
|
-
|
91
81
|
<li ><a href="#method-i-password_hash">#password_hash</a>
|
92
|
-
|
93
82
|
<li ><a href="#method-i-register_new_fill">#register_new_fill</a>
|
94
|
-
|
95
83
|
<li ><a href="#method-i-register_new_font">#register_new_font</a>
|
96
|
-
|
97
84
|
<li ><a href="#method-i-register_new_xf">#register_new_xf</a>
|
98
|
-
|
99
85
|
</ul>
|
100
86
|
</div>
|
101
87
|
|
@@ -111,107 +97,69 @@
|
|
111
97
|
|
112
98
|
</section>
|
113
99
|
|
114
|
-
|
115
100
|
<section id="5Buntitled-5D" class="documentation-section">
|
116
|
-
|
117
101
|
|
118
|
-
|
119
102
|
|
120
|
-
|
121
103
|
|
122
|
-
|
123
104
|
|
124
|
-
|
105
|
+
|
125
106
|
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
126
107
|
<header>
|
127
108
|
<h3>Public Instance Methods</h3>
|
128
109
|
</header>
|
129
110
|
|
130
|
-
|
131
111
|
<div id="method-i-borders" class="method-detail ">
|
132
|
-
|
133
112
|
<div class="method-heading">
|
134
113
|
<span class="method-name">borders</span><span
|
135
114
|
class="method-args">()</span>
|
136
|
-
|
137
115
|
<span class="method-click-advice">click to toggle source</span>
|
138
|
-
|
139
116
|
</div>
|
140
|
-
|
141
117
|
|
142
118
|
<div class="method-description">
|
143
119
|
|
144
|
-
|
145
|
-
|
146
|
-
|
147
120
|
|
148
|
-
|
149
121
|
<div class="method-source-code" id="borders-source">
|
150
122
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 21</span>
|
151
123
|
<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>
|
152
124
|
<span class="ruby-identifier">stylesheet</span>.<span class="ruby-identifier">borders</span>
|
153
125
|
<span class="ruby-keyword">end</span></pre>
|
154
126
|
</div>
|
155
|
-
|
156
127
|
</div>
|
157
128
|
|
158
|
-
|
159
129
|
|
160
|
-
|
161
130
|
</div>
|
162
131
|
|
163
|
-
|
164
132
|
<div id="method-i-cell_xfs" class="method-detail ">
|
165
|
-
|
166
133
|
<div class="method-heading">
|
167
134
|
<span class="method-name">cell_xfs</span><span
|
168
135
|
class="method-args">()</span>
|
169
|
-
|
170
136
|
<span class="method-click-advice">click to toggle source</span>
|
171
|
-
|
172
137
|
</div>
|
173
|
-
|
174
138
|
|
175
139
|
<div class="method-description">
|
176
140
|
|
177
|
-
|
178
|
-
|
179
|
-
|
180
141
|
|
181
|
-
|
182
142
|
<div class="method-source-code" id="cell_xfs-source">
|
183
143
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 9</span>
|
184
144
|
<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>
|
185
145
|
<span class="ruby-identifier">stylesheet</span>.<span class="ruby-identifier">cell_xfs</span>
|
186
146
|
<span class="ruby-keyword">end</span></pre>
|
187
147
|
</div>
|
188
|
-
|
189
148
|
</div>
|
190
149
|
|
191
|
-
|
192
150
|
|
193
|
-
|
194
151
|
</div>
|
195
152
|
|
196
|
-
|
197
153
|
<div id="method-i-define_new_name" class="method-detail ">
|
198
|
-
|
199
154
|
<div class="method-heading">
|
200
155
|
<span class="method-name">define_new_name</span><span
|
201
156
|
class="method-args">(name, reference)</span>
|
202
|
-
|
203
157
|
<span class="method-click-advice">click to toggle source</span>
|
204
|
-
|
205
158
|
</div>
|
206
|
-
|
207
159
|
|
208
160
|
<div class="method-description">
|
209
161
|
|
210
|
-
|
211
|
-
|
212
|
-
|
213
162
|
|
214
|
-
|
215
163
|
<div class="method-source-code" id="define_new_name-source">
|
216
164
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 124</span>
|
217
165
|
<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>)
|
@@ -219,165 +167,105 @@
|
|
219
167
|
<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>})
|
220
168
|
<span class="ruby-keyword">end</span></pre>
|
221
169
|
</div>
|
222
|
-
|
223
170
|
</div>
|
224
171
|
|
225
|
-
|
226
172
|
|
227
|
-
|
228
173
|
</div>
|
229
174
|
|
230
|
-
|
231
175
|
<div id="method-i-each" class="method-detail ">
|
232
|
-
|
233
176
|
<div class="method-heading">
|
234
177
|
<span class="method-name">each</span><span
|
235
178
|
class="method-args">() { |i| ... }</span>
|
236
|
-
|
237
179
|
<span class="method-click-advice">click to toggle source</span>
|
238
|
-
|
239
180
|
</div>
|
240
|
-
|
241
181
|
|
242
182
|
<div class="method-description">
|
243
183
|
|
244
|
-
|
245
|
-
|
246
|
-
|
247
184
|
|
248
|
-
|
249
185
|
<div class="method-source-code" id="each-source">
|
250
186
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 5</span>
|
251
187
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">each</span>
|
252
188
|
<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> }
|
253
189
|
<span class="ruby-keyword">end</span></pre>
|
254
190
|
</div>
|
255
|
-
|
256
191
|
</div>
|
257
192
|
|
258
|
-
|
259
193
|
|
260
|
-
|
261
194
|
</div>
|
262
195
|
|
263
|
-
|
264
196
|
<div id="method-i-fills" class="method-detail ">
|
265
|
-
|
266
197
|
<div class="method-heading">
|
267
198
|
<span class="method-name">fills</span><span
|
268
199
|
class="method-args">()</span>
|
269
|
-
|
270
200
|
<span class="method-click-advice">click to toggle source</span>
|
271
|
-
|
272
201
|
</div>
|
273
|
-
|
274
202
|
|
275
203
|
<div class="method-description">
|
276
204
|
|
277
|
-
|
278
|
-
|
279
|
-
|
280
205
|
|
281
|
-
|
282
206
|
<div class="method-source-code" id="fills-source">
|
283
207
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 17</span>
|
284
208
|
<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>
|
285
209
|
<span class="ruby-identifier">stylesheet</span>.<span class="ruby-identifier">fills</span>
|
286
210
|
<span class="ruby-keyword">end</span></pre>
|
287
211
|
</div>
|
288
|
-
|
289
212
|
</div>
|
290
213
|
|
291
|
-
|
292
214
|
|
293
|
-
|
294
215
|
</div>
|
295
216
|
|
296
|
-
|
297
217
|
<div id="method-i-fonts" class="method-detail ">
|
298
|
-
|
299
218
|
<div class="method-heading">
|
300
219
|
<span class="method-name">fonts</span><span
|
301
220
|
class="method-args">()</span>
|
302
|
-
|
303
221
|
<span class="method-click-advice">click to toggle source</span>
|
304
|
-
|
305
222
|
</div>
|
306
|
-
|
307
223
|
|
308
224
|
<div class="method-description">
|
309
225
|
|
310
|
-
|
311
|
-
|
312
|
-
|
313
226
|
|
314
|
-
|
315
227
|
<div class="method-source-code" id="fonts-source">
|
316
228
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 13</span>
|
317
229
|
<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>
|
318
230
|
<span class="ruby-identifier">stylesheet</span>.<span class="ruby-identifier">fonts</span>
|
319
231
|
<span class="ruby-keyword">end</span></pre>
|
320
232
|
</div>
|
321
|
-
|
322
233
|
</div>
|
323
234
|
|
324
|
-
|
325
235
|
|
326
|
-
|
327
236
|
</div>
|
328
237
|
|
329
|
-
|
330
238
|
<div id="method-i-get_defined_name" class="method-detail ">
|
331
|
-
|
332
239
|
<div class="method-heading">
|
333
240
|
<span class="method-name">get_defined_name</span><span
|
334
241
|
class="method-args">(name)</span>
|
335
|
-
|
336
242
|
<span class="method-click-advice">click to toggle source</span>
|
337
|
-
|
338
243
|
</div>
|
339
|
-
|
340
244
|
|
341
245
|
<div class="method-description">
|
342
246
|
|
343
|
-
|
344
|
-
|
345
|
-
|
346
247
|
|
347
|
-
|
348
248
|
<div class="method-source-code" id="get_defined_name-source">
|
349
249
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 129</span>
|
350
250
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_defined_name</span>(<span class="ruby-identifier">name</span>)
|
351
251
|
<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> }
|
352
252
|
<span class="ruby-keyword">end</span></pre>
|
353
253
|
</div>
|
354
|
-
|
355
254
|
</div>
|
356
255
|
|
357
|
-
|
358
256
|
|
359
|
-
|
360
257
|
</div>
|
361
258
|
|
362
|
-
|
363
259
|
<div id="method-i-get_fill_color" class="method-detail ">
|
364
|
-
|
365
260
|
<div class="method-heading">
|
366
261
|
<span class="method-name">get_fill_color</span><span
|
367
262
|
class="method-args">(xf)</span>
|
368
|
-
|
369
263
|
<span class="method-click-advice">click to toggle source</span>
|
370
|
-
|
371
264
|
</div>
|
372
|
-
|
373
265
|
|
374
266
|
<div class="method-description">
|
375
267
|
|
376
|
-
|
377
|
-
|
378
|
-
|
379
268
|
|
380
|
-
|
381
269
|
<div class="method-source-code" id="get_fill_color-source">
|
382
270
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 25</span>
|
383
271
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_fill_color</span>(<span class="ruby-identifier">xf</span>)
|
@@ -388,33 +276,21 @@
|
|
388
276
|
<span class="ruby-identifier">color</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">color</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-operator">||</span> <span class="ruby-string">'ffffff'</span>
|
389
277
|
<span class="ruby-keyword">end</span></pre>
|
390
278
|
</div>
|
391
|
-
|
392
279
|
</div>
|
393
280
|
|
394
|
-
|
395
281
|
|
396
|
-
|
397
282
|
</div>
|
398
283
|
|
399
|
-
|
400
284
|
<div id="method-i-modify_alignment" class="method-detail ">
|
401
|
-
|
402
285
|
<div class="method-heading">
|
403
286
|
<span class="method-name">modify_alignment</span><span
|
404
287
|
class="method-args">(style_index) { |alignment| ... }</span>
|
405
|
-
|
406
288
|
<span class="method-click-advice">click to toggle source</span>
|
407
|
-
|
408
289
|
</div>
|
409
|
-
|
410
290
|
|
411
291
|
<div class="method-description">
|
412
292
|
|
413
|
-
|
414
|
-
|
415
|
-
|
416
293
|
|
417
|
-
|
418
294
|
<div class="method-source-code" id="modify_alignment-source">
|
419
295
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 58</span>
|
420
296
|
<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>)
|
@@ -432,33 +308,21 @@
|
|
432
308
|
<span class="ruby-identifier">register_new_xf</span>(<span class="ruby-identifier">new_xf</span>)
|
433
309
|
<span class="ruby-keyword">end</span></pre>
|
434
310
|
</div>
|
435
|
-
|
436
311
|
</div>
|
437
312
|
|
438
|
-
|
439
313
|
|
440
|
-
|
441
314
|
</div>
|
442
315
|
|
443
|
-
|
444
316
|
<div id="method-i-modify_border" class="method-detail ">
|
445
|
-
|
446
317
|
<div class="method-heading">
|
447
318
|
<span class="method-name">modify_border</span><span
|
448
319
|
class="method-args">(style_index, direction, weight)</span>
|
449
|
-
|
450
320
|
<span class="method-click-advice">click to toggle source</span>
|
451
|
-
|
452
321
|
</div>
|
453
|
-
|
454
322
|
|
455
323
|
<div class="method-description">
|
456
324
|
|
457
|
-
|
458
|
-
|
459
|
-
|
460
325
|
|
461
|
-
|
462
326
|
<div class="method-source-code" id="modify_border-source">
|
463
327
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 81</span>
|
464
328
|
<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>)
|
@@ -478,33 +342,21 @@
|
|
478
342
|
<span class="ruby-identifier">register_new_xf</span>(<span class="ruby-identifier">xf</span>)
|
479
343
|
<span class="ruby-keyword">end</span></pre>
|
480
344
|
</div>
|
481
|
-
|
482
345
|
</div>
|
483
346
|
|
484
|
-
|
485
347
|
|
486
|
-
|
487
348
|
</div>
|
488
349
|
|
489
|
-
|
490
350
|
<div id="method-i-modify_border_color" class="method-detail ">
|
491
|
-
|
492
351
|
<div class="method-heading">
|
493
352
|
<span class="method-name">modify_border_color</span><span
|
494
353
|
class="method-args">(style_index, direction, color)</span>
|
495
|
-
|
496
354
|
<span class="method-click-advice">click to toggle source</span>
|
497
|
-
|
498
355
|
</div>
|
499
|
-
|
500
356
|
|
501
357
|
<div class="method-description">
|
502
358
|
|
503
|
-
|
504
|
-
|
505
|
-
|
506
359
|
|
507
|
-
|
508
360
|
<div class="method-source-code" id="modify_border_color-source">
|
509
361
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 98</span>
|
510
362
|
<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>)
|
@@ -520,33 +372,21 @@
|
|
520
372
|
<span class="ruby-identifier">register_new_xf</span>(<span class="ruby-identifier">xf</span>)
|
521
373
|
<span class="ruby-keyword">end</span></pre>
|
522
374
|
</div>
|
523
|
-
|
524
375
|
</div>
|
525
376
|
|
526
|
-
|
527
377
|
|
528
|
-
|
529
378
|
</div>
|
530
379
|
|
531
|
-
|
532
380
|
<div id="method-i-modify_fill" class="method-detail ">
|
533
|
-
|
534
381
|
<div class="method-heading">
|
535
382
|
<span class="method-name">modify_fill</span><span
|
536
383
|
class="method-args">(style_index, rgb)</span>
|
537
|
-
|
538
384
|
<span class="method-click-advice">click to toggle source</span>
|
539
|
-
|
540
385
|
</div>
|
541
|
-
|
542
386
|
|
543
387
|
<div class="method-description">
|
544
388
|
|
545
|
-
|
546
|
-
|
547
|
-
|
548
389
|
|
549
|
-
|
550
390
|
<div class="method-source-code" id="modify_fill-source">
|
551
391
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 73</span>
|
552
392
|
<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>)
|
@@ -557,33 +397,21 @@
|
|
557
397
|
<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>))
|
558
398
|
<span class="ruby-keyword">end</span></pre>
|
559
399
|
</div>
|
560
|
-
|
561
400
|
</div>
|
562
401
|
|
563
|
-
|
564
402
|
|
565
|
-
|
566
403
|
</div>
|
567
404
|
|
568
|
-
|
569
405
|
<div id="method-i-password_hash" class="method-detail ">
|
570
|
-
|
571
406
|
<div class="method-heading">
|
572
407
|
<span class="method-name">password_hash</span><span
|
573
408
|
class="method-args">(pwd)</span>
|
574
|
-
|
575
409
|
<span class="method-click-advice">click to toggle source</span>
|
576
|
-
|
577
410
|
</div>
|
578
|
-
|
579
411
|
|
580
412
|
<div class="method-description">
|
581
|
-
|
582
413
|
<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>
|
583
|
-
|
584
|
-
|
585
414
|
|
586
|
-
|
587
415
|
<div class="method-source-code" id="password_hash-source">
|
588
416
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 113</span>
|
589
417
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">password_hash</span>(<span class="ruby-identifier">pwd</span>)
|
@@ -597,33 +425,21 @@
|
|
597
425
|
(<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>)
|
598
426
|
<span class="ruby-keyword">end</span></pre>
|
599
427
|
</div>
|
600
|
-
|
601
428
|
</div>
|
602
429
|
|
603
|
-
|
604
430
|
|
605
|
-
|
606
431
|
</div>
|
607
432
|
|
608
|
-
|
609
433
|
<div id="method-i-register_new_fill" class="method-detail ">
|
610
|
-
|
611
434
|
<div class="method-heading">
|
612
435
|
<span class="method-name">register_new_fill</span><span
|
613
436
|
class="method-args">(new_fill, old_xf)</span>
|
614
|
-
|
615
437
|
<span class="method-click-advice">click to toggle source</span>
|
616
|
-
|
617
438
|
</div>
|
618
|
-
|
619
439
|
|
620
440
|
<div class="method-description">
|
621
441
|
|
622
|
-
|
623
|
-
|
624
|
-
|
625
442
|
|
626
|
-
|
627
443
|
<div class="method-source-code" id="register_new_fill-source">
|
628
444
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 33</span>
|
629
445
|
<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>)
|
@@ -635,33 +451,21 @@
|
|
635
451
|
<span class="ruby-identifier">new_xf</span>
|
636
452
|
<span class="ruby-keyword">end</span></pre>
|
637
453
|
</div>
|
638
|
-
|
639
454
|
</div>
|
640
455
|
|
641
|
-
|
642
456
|
|
643
|
-
|
644
457
|
</div>
|
645
458
|
|
646
|
-
|
647
459
|
<div id="method-i-register_new_font" class="method-detail ">
|
648
|
-
|
649
460
|
<div class="method-heading">
|
650
461
|
<span class="method-name">register_new_font</span><span
|
651
462
|
class="method-args">(new_font, old_xf)</span>
|
652
|
-
|
653
463
|
<span class="method-click-advice">click to toggle source</span>
|
654
|
-
|
655
464
|
</div>
|
656
|
-
|
657
465
|
|
658
466
|
<div class="method-description">
|
659
467
|
|
660
|
-
|
661
|
-
|
662
|
-
|
663
468
|
|
664
|
-
|
665
469
|
<div class="method-source-code" id="register_new_font-source">
|
666
470
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 42</span>
|
667
471
|
<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>)
|
@@ -673,33 +477,21 @@
|
|
673
477
|
<span class="ruby-identifier">new_xf</span>
|
674
478
|
<span class="ruby-keyword">end</span></pre>
|
675
479
|
</div>
|
676
|
-
|
677
480
|
</div>
|
678
481
|
|
679
|
-
|
680
482
|
|
681
|
-
|
682
483
|
</div>
|
683
484
|
|
684
|
-
|
685
485
|
<div id="method-i-register_new_xf" class="method-detail ">
|
686
|
-
|
687
486
|
<div class="method-heading">
|
688
487
|
<span class="method-name">register_new_xf</span><span
|
689
488
|
class="method-args">(new_xf)</span>
|
690
|
-
|
691
489
|
<span class="method-click-advice">click to toggle source</span>
|
692
|
-
|
693
490
|
</div>
|
694
|
-
|
695
491
|
|
696
492
|
<div class="method-description">
|
697
493
|
|
698
|
-
|
699
|
-
|
700
|
-
|
701
494
|
|
702
|
-
|
703
495
|
<div class="method-source-code" id="register_new_xf-source">
|
704
496
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 51</span>
|
705
497
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">register_new_xf</span>(<span class="ruby-identifier">new_xf</span>)
|
@@ -709,24 +501,20 @@
|
|
709
501
|
<span class="ruby-identifier">new_xf_id</span>
|
710
502
|
<span class="ruby-keyword">end</span></pre>
|
711
503
|
</div>
|
712
|
-
|
713
504
|
</div>
|
714
505
|
|
715
|
-
|
716
506
|
|
717
|
-
|
718
507
|
</div>
|
719
508
|
|
720
|
-
|
721
509
|
</section>
|
722
|
-
|
510
|
+
|
723
511
|
</section>
|
724
512
|
</main>
|
725
513
|
|
726
514
|
|
727
515
|
<footer id="validator-badges" role="contentinfo">
|
728
516
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
729
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
517
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
|
730
518
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
731
519
|
</footer>
|
732
520
|
|