rubyXL 3.4.33 → 3.4.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.circleci/config.yml +9 -9
- data/Gemfile +1 -1
- data/README.rdoc +4 -2
- data/VERSION +1 -1
- data/lib/rubyXL/convenience_methods/cell.rb +5 -4
- data/lib/rubyXL/convenience_methods/workbook.rb +4 -0
- data/lib/rubyXL/objects/cell_style.rb +1 -0
- data/lib/rubyXL/objects/ooxml_object.rb +5 -3
- data/lib/rubyXL/objects/root.rb +1 -1
- data/rdoc/README_rdoc.html +363 -63
- data/rdoc/RubyXL/AExtension.html +157 -50
- data/rdoc/RubyXL/AExtensionStorageArea.html +69 -22
- data/rdoc/RubyXL/ActiveX.html +119 -38
- data/rdoc/RubyXL/ActiveXBinary.html +78 -23
- data/rdoc/RubyXL/AdjustHandleList.html +69 -22
- data/rdoc/RubyXL/Alignment.html +69 -22
- data/rdoc/RubyXL/AlternateContent.html +69 -22
- data/rdoc/RubyXL/AlternateUrls.html +69 -22
- data/rdoc/RubyXL/Authors.html +69 -22
- data/rdoc/RubyXL/AutoFilter.html +69 -22
- data/rdoc/RubyXL/AutoFilterColumn.html +69 -22
- data/rdoc/RubyXL/BinaryImageFile.html +85 -24
- data/rdoc/RubyXL/BodyProperties.html +69 -22
- data/rdoc/RubyXL/BooleanNode.html +69 -22
- data/rdoc/RubyXL/BooleanValue.html +69 -22
- data/rdoc/RubyXL/Border.html +196 -61
- data/rdoc/RubyXL/BorderEdge.html +136 -45
- data/rdoc/RubyXL/Borders.html +105 -36
- data/rdoc/RubyXL/Break.html +69 -22
- data/rdoc/RubyXL/BreakList.html +69 -22
- data/rdoc/RubyXL/CT_AdjPoint2D.html +69 -22
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +69 -22
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +69 -22
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +69 -22
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +69 -22
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +69 -22
- data/rdoc/RubyXL/CT_Backdrop.html +69 -22
- data/rdoc/RubyXL/CT_Bevel.html +69 -22
- data/rdoc/RubyXL/CT_BiLevelEffect.html +69 -22
- data/rdoc/RubyXL/CT_BlendEffect.html +69 -22
- data/rdoc/RubyXL/CT_Blip.html +69 -22
- data/rdoc/RubyXL/CT_BlipFillProperties.html +69 -22
- data/rdoc/RubyXL/CT_BlurEffect.html +69 -22
- data/rdoc/RubyXL/CT_Camera.html +69 -22
- data/rdoc/RubyXL/CT_Color.html +69 -22
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +69 -22
- data/rdoc/RubyXL/CT_ColorMapping.html +69 -22
- data/rdoc/RubyXL/CT_ColorScheme.html +69 -22
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +69 -22
- data/rdoc/RubyXL/CT_ConnectionSite.html +69 -22
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +69 -22
- data/rdoc/RubyXL/CT_DashStop.html +69 -22
- data/rdoc/RubyXL/CT_DashStopList.html +69 -22
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +69 -22
- data/rdoc/RubyXL/CT_DuotoneEffect.html +69 -22
- data/rdoc/RubyXL/CT_EffectContainer.html +69 -22
- data/rdoc/RubyXL/CT_EffectList.html +69 -22
- data/rdoc/RubyXL/CT_EffectReference.html +69 -22
- data/rdoc/RubyXL/CT_EffectStyleItem.html +69 -22
- data/rdoc/RubyXL/CT_EffectStyleList.html +69 -22
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +69 -22
- data/rdoc/RubyXL/CT_FillEffect.html +69 -22
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +69 -22
- data/rdoc/RubyXL/CT_FillStyleList.html +69 -22
- data/rdoc/RubyXL/CT_FlatText.html +69 -22
- data/rdoc/RubyXL/CT_FontCollection.html +69 -22
- data/rdoc/RubyXL/CT_FontReference.html +69 -22
- data/rdoc/RubyXL/CT_GeomGuideList.html +69 -22
- data/rdoc/RubyXL/CT_GlowEffect.html +69 -22
- data/rdoc/RubyXL/CT_GradientFillProperties.html +69 -22
- data/rdoc/RubyXL/CT_GradientStop.html +69 -22
- data/rdoc/RubyXL/CT_GradientStopList.html +69 -22
- data/rdoc/RubyXL/CT_HSLEffect.html +69 -22
- data/rdoc/RubyXL/CT_HslColor.html +69 -22
- data/rdoc/RubyXL/CT_Hyperlink.html +69 -22
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +69 -22
- data/rdoc/RubyXL/CT_LightRig.html +69 -22
- data/rdoc/RubyXL/CT_LineEndProperties.html +69 -22
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +69 -22
- data/rdoc/RubyXL/CT_LineProperties.html +69 -22
- data/rdoc/RubyXL/CT_LineStyleList.html +69 -22
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +69 -22
- data/rdoc/RubyXL/CT_LuminanceEffect.html +69 -22
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +69 -22
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +69 -22
- data/rdoc/RubyXL/CT_Path2D.html +69 -22
- data/rdoc/RubyXL/CT_Path2DArcTo.html +69 -22
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +69 -22
- data/rdoc/RubyXL/CT_Path2DList.html +69 -22
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +69 -22
- data/rdoc/RubyXL/CT_Path2DTo.html +69 -22
- data/rdoc/RubyXL/CT_PathShadeProperties.html +69 -22
- data/rdoc/RubyXL/CT_PatternFillProperties.html +69 -22
- data/rdoc/RubyXL/CT_Point3D.html +69 -22
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +69 -22
- data/rdoc/RubyXL/CT_PresetColor.html +69 -22
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +69 -22
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +69 -22
- data/rdoc/RubyXL/CT_PresetTextShape.html +69 -22
- data/rdoc/RubyXL/CT_ReflectionEffect.html +69 -22
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +69 -22
- data/rdoc/RubyXL/CT_RelativeRect.html +69 -22
- data/rdoc/RubyXL/CT_SRgbColor.html +69 -22
- data/rdoc/RubyXL/CT_ScRgbColor.html +69 -22
- data/rdoc/RubyXL/CT_Scene3D.html +69 -22
- data/rdoc/RubyXL/CT_SchemeColor.html +69 -22
- data/rdoc/RubyXL/CT_Shape3D.html +69 -22
- data/rdoc/RubyXL/CT_ShapeStyle.html +69 -22
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +69 -22
- data/rdoc/RubyXL/CT_SphereCoords.html +69 -22
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +69 -22
- data/rdoc/RubyXL/CT_StyleMatrix.html +69 -22
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +69 -22
- data/rdoc/RubyXL/CT_SupplementalFont.html +69 -22
- data/rdoc/RubyXL/CT_SystemColor.html +69 -22
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +69 -22
- data/rdoc/RubyXL/CT_TextBlipBullet.html +69 -22
- data/rdoc/RubyXL/CT_TextCharBullet.html +69 -22
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +69 -22
- data/rdoc/RubyXL/CT_TextFont.html +69 -22
- data/rdoc/RubyXL/CT_TextListStyle.html +69 -22
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +69 -22
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +69 -22
- data/rdoc/RubyXL/CT_TextSpacing.html +69 -22
- data/rdoc/RubyXL/CT_TextTabStop.html +69 -22
- data/rdoc/RubyXL/CT_TextTabStopList.html +69 -22
- data/rdoc/RubyXL/CT_TileInfoProperties.html +69 -22
- data/rdoc/RubyXL/CT_TintEffect.html +69 -22
- data/rdoc/RubyXL/CT_Transform2D.html +69 -22
- data/rdoc/RubyXL/CT_TransformEffect.html +69 -22
- data/rdoc/RubyXL/CT_Vector3D.html +69 -22
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +69 -22
- data/rdoc/RubyXL/CalculationChain.html +121 -38
- data/rdoc/RubyXL/CalculationChainCell.html +69 -22
- data/rdoc/RubyXL/CalculationProperties.html +69 -22
- data/rdoc/RubyXL/Cell.html +522 -147
- data/rdoc/RubyXL/CellConvenienceMethods.html +1201 -313
- data/rdoc/RubyXL/CellExt.html +69 -22
- data/rdoc/RubyXL/CellSmartTag.html +69 -22
- data/rdoc/RubyXL/CellSmartTagProperty.html +69 -22
- data/rdoc/RubyXL/CellSmartTags.html +69 -22
- data/rdoc/RubyXL/CellStyle.html +69 -22
- data/rdoc/RubyXL/CellStyleXFs.html +105 -36
- data/rdoc/RubyXL/CellStyles.html +105 -36
- data/rdoc/RubyXL/CellValue.html +105 -36
- data/rdoc/RubyXL/CellWatch.html +69 -22
- data/rdoc/RubyXL/CellWatches.html +69 -22
- data/rdoc/RubyXL/CellXFs.html +105 -36
- data/rdoc/RubyXL/ChartColorsFile.html +85 -24
- data/rdoc/RubyXL/ChartFile.html +126 -39
- data/rdoc/RubyXL/ChartStyleFile.html +85 -24
- data/rdoc/RubyXL/ChartUserShapesFile.html +85 -24
- data/rdoc/RubyXL/Chartsheet.html +174 -55
- data/rdoc/RubyXL/ChartsheetPageSetup.html +69 -22
- data/rdoc/RubyXL/ChartsheetProperties.html +69 -22
- data/rdoc/RubyXL/ChartsheetProtection.html +69 -22
- data/rdoc/RubyXL/ChartsheetView.html +69 -22
- data/rdoc/RubyXL/ChartsheetViews.html +69 -22
- data/rdoc/RubyXL/Color.html +114 -37
- data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +181 -58
- data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +220 -67
- data/rdoc/RubyXL/ColorConvenienceClasses.html +67 -19
- data/rdoc/RubyXL/ColorConvenienceMethods.html +103 -33
- data/rdoc/RubyXL/ColorFilter.html +69 -22
- data/rdoc/RubyXL/ColorScale.html +69 -22
- data/rdoc/RubyXL/ColorSet.html +69 -22
- data/rdoc/RubyXL/Colors.html +69 -22
- data/rdoc/RubyXL/ColumnRange.html +214 -63
- data/rdoc/RubyXL/ColumnRanges.html +196 -61
- data/rdoc/RubyXL/Comment.html +69 -22
- data/rdoc/RubyXL/CommentList.html +69 -22
- data/rdoc/RubyXL/CommentsFile.html +133 -42
- data/rdoc/RubyXL/ConditionalFormatValue.html +69 -22
- data/rdoc/RubyXL/ConditionalFormatting.html +69 -22
- data/rdoc/RubyXL/ConditionalFormattingRule.html +69 -22
- data/rdoc/RubyXL/Connection.html +69 -22
- data/rdoc/RubyXL/ConnectionTable.html +69 -22
- data/rdoc/RubyXL/ConnectionTables.html +69 -22
- data/rdoc/RubyXL/ConnectionTextField.html +69 -22
- data/rdoc/RubyXL/ConnectionTextFields.html +69 -22
- data/rdoc/RubyXL/Connections.html +121 -38
- data/rdoc/RubyXL/ContentTypeDefault.html +69 -22
- data/rdoc/RubyXL/ContentTypeOverride.html +69 -22
- data/rdoc/RubyXL/ContentTypes.html +152 -47
- data/rdoc/RubyXL/ControlPropertiesFile.html +85 -24
- data/rdoc/RubyXL/CorePropertiesFile.html +374 -107
- data/rdoc/RubyXL/CustomColor.html +69 -22
- data/rdoc/RubyXL/CustomColorList.html +69 -22
- data/rdoc/RubyXL/CustomFilter.html +69 -22
- data/rdoc/RubyXL/CustomFilters.html +69 -22
- data/rdoc/RubyXL/CustomGeometry.html +69 -22
- data/rdoc/RubyXL/CustomProperties.html +69 -22
- data/rdoc/RubyXL/CustomPropertiesFile.html +85 -24
- data/rdoc/RubyXL/CustomProperty.html +69 -22
- data/rdoc/RubyXL/CustomPropertyFile.html +85 -24
- data/rdoc/RubyXL/CustomSheetView.html +69 -22
- data/rdoc/RubyXL/CustomSheetViews.html +69 -22
- data/rdoc/RubyXL/CustomWorkbookView.html +69 -22
- data/rdoc/RubyXL/CustomWorkbookViews.html +69 -22
- data/rdoc/RubyXL/CustomXMLFile.html +78 -23
- data/rdoc/RubyXL/DXF.html +69 -22
- data/rdoc/RubyXL/DXFs.html +69 -22
- data/rdoc/RubyXL/DataBar.html +69 -22
- data/rdoc/RubyXL/DataConsolidate.html +69 -22
- data/rdoc/RubyXL/DataConsolidationReference.html +69 -22
- data/rdoc/RubyXL/DataConsolidationReferences.html +69 -22
- data/rdoc/RubyXL/DataType.html +118 -26
- data/rdoc/RubyXL/DataValidation.html +69 -22
- data/rdoc/RubyXL/DataValidations.html +69 -22
- data/rdoc/RubyXL/DateGroupItem.html +69 -22
- data/rdoc/RubyXL/DefinedName.html +69 -22
- data/rdoc/RubyXL/DefinedNameExt.html +69 -22
- data/rdoc/RubyXL/DefinedNames.html +69 -22
- data/rdoc/RubyXL/DefinedNamesExt.html +69 -22
- data/rdoc/RubyXL/DocumentPropertiesFile.html +164 -51
- data/rdoc/RubyXL/DrawingFile.html +126 -39
- data/rdoc/RubyXL/DynamicFilter.html +69 -22
- data/rdoc/RubyXL/EmbeddedControl.html +69 -22
- data/rdoc/RubyXL/EmbeddedControls.html +69 -22
- data/rdoc/RubyXL/Extension.html +69 -22
- data/rdoc/RubyXL/ExtensionStorageArea.html +69 -22
- data/rdoc/RubyXL/Extents.html +69 -22
- data/rdoc/RubyXL/ExternalBook.html +69 -22
- data/rdoc/RubyXL/ExternalLinksFile.html +126 -39
- data/rdoc/RubyXL/ExternalReference.html +69 -22
- data/rdoc/RubyXL/ExternalReferences.html +69 -22
- data/rdoc/RubyXL/ExtraColorSchemeList.html +69 -22
- data/rdoc/RubyXL/FieldItem.html +69 -22
- data/rdoc/RubyXL/FileRecoveryProperties.html +69 -22
- data/rdoc/RubyXL/FileSharing.html +69 -22
- data/rdoc/RubyXL/FileVersion.html +69 -22
- data/rdoc/RubyXL/Fill.html +105 -36
- data/rdoc/RubyXL/Fills.html +105 -36
- data/rdoc/RubyXL/FilterContainer.html +69 -22
- data/rdoc/RubyXL/FloatNode.html +69 -22
- data/rdoc/RubyXL/FloatValue.html +69 -22
- data/rdoc/RubyXL/Font.html +115 -38
- data/rdoc/RubyXL/FontConvenienceMethods.html +494 -138
- data/rdoc/RubyXL/FontScheme.html +69 -22
- data/rdoc/RubyXL/Fonts.html +105 -36
- data/rdoc/RubyXL/Formula.html +69 -22
- data/rdoc/RubyXL/FunctionGroup.html +69 -22
- data/rdoc/RubyXL/FunctionGroups.html +69 -22
- data/rdoc/RubyXL/GenericStorageObject.html +214 -65
- data/rdoc/RubyXL/GradientFill.html +69 -22
- data/rdoc/RubyXL/HeaderFooterSettings.html +69 -22
- data/rdoc/RubyXL/Hyperlink.html +69 -22
- data/rdoc/RubyXL/HyperlinkRelFile.html +78 -23
- data/rdoc/RubyXL/Hyperlinks.html +69 -22
- data/rdoc/RubyXL/IconFilter.html +69 -22
- data/rdoc/RubyXL/IconSet.html +69 -22
- data/rdoc/RubyXL/IgnoredError.html +69 -22
- data/rdoc/RubyXL/IgnoredErrors.html +69 -22
- data/rdoc/RubyXL/IndexedColors.html +69 -22
- data/rdoc/RubyXL/InputCells.html +69 -22
- data/rdoc/RubyXL/IntegerNode.html +69 -22
- data/rdoc/RubyXL/IntegerValue.html +69 -22
- data/rdoc/RubyXL/LegacyCell.html +103 -33
- data/rdoc/RubyXL/LegacyWorksheet.html +252 -73
- data/rdoc/RubyXL/MRUColors.html +69 -22
- data/rdoc/RubyXL/MacrosFile.html +85 -24
- data/rdoc/RubyXL/MergedCell.html +69 -22
- data/rdoc/RubyXL/MergedCells.html +69 -22
- data/rdoc/RubyXL/NumFmt.html +69 -22
- data/rdoc/RubyXL/NumberFormat.html +105 -36
- data/rdoc/RubyXL/NumberFormats.html +115 -38
- data/rdoc/RubyXL/OLEObject.html +69 -22
- data/rdoc/RubyXL/OLEObjectFile.html +85 -24
- data/rdoc/RubyXL/OLEObjects.html +69 -22
- data/rdoc/RubyXL/OLESize.html +69 -22
- data/rdoc/RubyXL/OOXMLContainerObject.html +295 -99
- data/rdoc/RubyXL/OOXMLIgnored.html +145 -46
- data/rdoc/RubyXL/OOXMLObject.html +74 -23
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +294 -112
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +370 -125
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +429 -124
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +283 -96
- data/rdoc/RubyXL/OdbcOleDbProperties.html +69 -22
- data/rdoc/RubyXL/Offset.html +69 -22
- data/rdoc/RubyXL/OlapProperties.html +69 -22
- data/rdoc/RubyXL/OleItem.html +69 -22
- data/rdoc/RubyXL/OleItems.html +69 -22
- data/rdoc/RubyXL/OleLink.html +69 -22
- data/rdoc/RubyXL/OutlineProperties.html +69 -22
- data/rdoc/RubyXL/PageMargins.html +69 -22
- data/rdoc/RubyXL/PageSetup.html +69 -22
- data/rdoc/RubyXL/PageSetupProperties.html +69 -22
- data/rdoc/RubyXL/Pane.html +69 -22
- data/rdoc/RubyXL/Parser.html +136 -45
- data/rdoc/RubyXL/PatternFill.html +69 -22
- data/rdoc/RubyXL/PersonMetadata.html +85 -24
- data/rdoc/RubyXL/PhoneticProperties.html +69 -22
- data/rdoc/RubyXL/PhoneticRun.html +69 -22
- data/rdoc/RubyXL/PivotArea.html +69 -22
- data/rdoc/RubyXL/PivotCache.html +69 -22
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +90 -25
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +85 -24
- data/rdoc/RubyXL/PivotCaches.html +69 -22
- data/rdoc/RubyXL/PivotReference.html +69 -22
- data/rdoc/RubyXL/PivotReferences.html +69 -22
- data/rdoc/RubyXL/PivotTableFile.html +90 -25
- data/rdoc/RubyXL/PivotTableSelection.html +69 -22
- data/rdoc/RubyXL/PresetGeometry.html +69 -22
- data/rdoc/RubyXL/PrintOptions.html +69 -22
- data/rdoc/RubyXL/PrinterSettingsFile.html +85 -24
- data/rdoc/RubyXL/ProtectedRange.html +69 -22
- data/rdoc/RubyXL/ProtectedRanges.html +69 -22
- data/rdoc/RubyXL/Protection.html +69 -22
- data/rdoc/RubyXL/QueryParameter.html +69 -22
- data/rdoc/RubyXL/QueryParameters.html +69 -22
- data/rdoc/RubyXL/QueryTable.html +126 -39
- data/rdoc/RubyXL/QueryTableDeletedField.html +69 -22
- data/rdoc/RubyXL/QueryTableDeletedFields.html +69 -22
- data/rdoc/RubyXL/QueryTableField.html +69 -22
- data/rdoc/RubyXL/QueryTableFields.html +69 -22
- data/rdoc/RubyXL/QueryTableRefresh.html +69 -22
- data/rdoc/RubyXL/RID.html +69 -22
- data/rdoc/RubyXL/RawOOXML.html +157 -50
- data/rdoc/RubyXL/Reference.html +512 -143
- data/rdoc/RubyXL/Relationship.html +69 -22
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +109 -33
- data/rdoc/RubyXL/RelationshipSupport.html +290 -84
- data/rdoc/RubyXL/RevisionPointer.html +69 -22
- data/rdoc/RubyXL/RichText.html +105 -36
- data/rdoc/RubyXL/RichTextRun.html +105 -36
- data/rdoc/RubyXL/Row.html +367 -106
- data/rdoc/RubyXL/RowExt.html +69 -22
- data/rdoc/RubyXL/RunProperties.html +69 -22
- data/rdoc/RubyXL/Scenario.html +69 -22
- data/rdoc/RubyXL/Scenarios.html +69 -22
- data/rdoc/RubyXL/Selection.html +105 -36
- data/rdoc/RubyXL/ShapeGuide.html +69 -22
- data/rdoc/RubyXL/ShapeTextRectangle.html +69 -22
- data/rdoc/RubyXL/SharedStringsTable.html +321 -96
- data/rdoc/RubyXL/Sheet.html +69 -22
- data/rdoc/RubyXL/SheetCalculationProperties.html +69 -22
- data/rdoc/RubyXL/SheetData.html +136 -45
- data/rdoc/RubyXL/SheetDataExt.html +69 -22
- data/rdoc/RubyXL/SheetDataSet.html +69 -22
- data/rdoc/RubyXL/SheetMetadata.html +85 -24
- data/rdoc/RubyXL/SheetName.html +69 -22
- data/rdoc/RubyXL/SheetNames.html +69 -22
- data/rdoc/RubyXL/Sheets.html +69 -22
- data/rdoc/RubyXL/SlicerCacheFile.html +85 -24
- data/rdoc/RubyXL/SlicerFile.html +85 -24
- data/rdoc/RubyXL/SmartTagProperties.html +69 -22
- data/rdoc/RubyXL/SmartTagType.html +69 -22
- data/rdoc/RubyXL/SmartTagTypes.html +69 -22
- data/rdoc/RubyXL/SmartTags.html +69 -22
- data/rdoc/RubyXL/SortCondition.html +69 -22
- data/rdoc/RubyXL/SortState.html +69 -22
- data/rdoc/RubyXL/Sqref.html +145 -46
- data/rdoc/RubyXL/Stop.html +69 -22
- data/rdoc/RubyXL/StringNode.html +69 -22
- data/rdoc/RubyXL/StringNodeW3C.html +145 -46
- data/rdoc/RubyXL/StringValue.html +69 -22
- data/rdoc/RubyXL/Stylesheet.html +256 -76
- data/rdoc/RubyXL/TableFile.html +85 -24
- data/rdoc/RubyXL/TableParts.html +69 -22
- data/rdoc/RubyXL/TableStyle.html +69 -22
- data/rdoc/RubyXL/TableStyles.html +69 -22
- data/rdoc/RubyXL/Text.html +153 -48
- data/rdoc/RubyXL/TextImportSettings.html +69 -22
- data/rdoc/RubyXL/Theme.html +191 -56
- data/rdoc/RubyXL/ThemeElements.html +69 -22
- data/rdoc/RubyXL/ThumbnailFile.html +85 -24
- data/rdoc/RubyXL/Top10.html +69 -22
- data/rdoc/RubyXL/VMLDrawingFile.html +91 -26
- data/rdoc/RubyXL/Variant.html +69 -22
- data/rdoc/RubyXL/Vector.html +105 -36
- data/rdoc/RubyXL/VectorValue.html +69 -22
- data/rdoc/RubyXL/VisualProperties.html +69 -22
- data/rdoc/RubyXL/WebPublishObject.html +69 -22
- data/rdoc/RubyXL/WebPublishObjects.html +69 -22
- data/rdoc/RubyXL/WebPublishingItem.html +69 -22
- data/rdoc/RubyXL/WebPublishingItems.html +69 -22
- data/rdoc/RubyXL/WebPublishingProperties.html +69 -22
- data/rdoc/RubyXL/WebQueryProperties.html +69 -22
- data/rdoc/RubyXL/Workbook.html +1053 -284
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +623 -175
- data/rdoc/RubyXL/WorkbookProperties.html +69 -22
- data/rdoc/RubyXL/WorkbookProtection.html +69 -22
- data/rdoc/RubyXL/WorkbookRoot.html +271 -82
- data/rdoc/RubyXL/WorkbookView.html +69 -22
- data/rdoc/RubyXL/WorkbookViews.html +69 -22
- data/rdoc/RubyXL/Worksheet.html +373 -110
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +2195 -585
- data/rdoc/RubyXL/WorksheetDimensions.html +69 -22
- data/rdoc/RubyXL/WorksheetFormatProperties.html +69 -22
- data/rdoc/RubyXL/WorksheetProperties.html +69 -22
- data/rdoc/RubyXL/WorksheetProtection.html +69 -22
- data/rdoc/RubyXL/WorksheetView.html +69 -22
- data/rdoc/RubyXL/WorksheetViews.html +69 -22
- data/rdoc/RubyXL/XF.html +69 -22
- data/rdoc/RubyXL.html +778 -134
- data/rdoc/created.rid +7 -7
- data/rdoc/css/rdoc.css +393 -397
- data/rdoc/index.html +42 -408
- data/rdoc/js/darkfish.js +45 -2
- data/rdoc/js/navigation.js.gz +0 -0
- data/rdoc/js/search.js +11 -1
- data/rdoc/js/search_index.js +1 -1
- data/rdoc/js/search_index.js.gz +0 -0
- data/rdoc/js/searcher.js +44 -6
- data/rdoc/js/searcher.js.gz +0 -0
- data/rdoc/table_of_contents.html +1285 -53
- data/rubyXL.gemspec +15 -30
- data/spec/lib/cell_spec.rb +26 -0
- metadata +5 -5
|
@@ -1,10 +1,21 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
|
|
3
|
-
<html>
|
|
3
|
+
<html lang="en">
|
|
4
4
|
<head>
|
|
5
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.35</title>
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
<meta name="keywords" content="ruby,module,RubyXL::WorkbookConvenienceMethods">
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
<meta name="description" content="Documentation for the RubyXL::WorkbookConvenienceMethods module">
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
|
|
7
|
-
<title>module RubyXL::WorkbookConvenienceMethods - rubyXL 3.4.33</title>
|
|
8
19
|
|
|
9
20
|
<script type="text/javascript">
|
|
10
21
|
var rdoc_rel_prefix = "../";
|
|
@@ -21,8 +32,14 @@
|
|
|
21
32
|
<link href="../css/rdoc.css" rel="stylesheet">
|
|
22
33
|
|
|
23
34
|
|
|
35
|
+
|
|
24
36
|
<body id="top" role="document" class="module">
|
|
25
|
-
<
|
|
37
|
+
<div id="navigation-toggle" role="button" tabindex="0" aria-label="Toggle sidebar" aria-expanded="true" aria-controls="navigation">
|
|
38
|
+
<span aria-hidden="true">☰</span>
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
<nav id="navigation" role="navigation">
|
|
26
43
|
<div id="project-navigation">
|
|
27
44
|
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
|
28
45
|
<h2>
|
|
@@ -55,43 +72,91 @@
|
|
|
55
72
|
|
|
56
73
|
|
|
57
74
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
<
|
|
71
|
-
<
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
<div class="nav-section">
|
|
87
|
+
<h3>Instance Methods</h3>
|
|
88
|
+
<ul class="link-list" role="directory">
|
|
89
|
+
|
|
90
|
+
<li ><a href="#method-i-borders">borders</a></li>
|
|
91
|
+
|
|
92
|
+
<li ><a href="#method-i-cell_xfs">cell_xfs</a></li>
|
|
93
|
+
|
|
94
|
+
<li ><a href="#method-i-define_new_name">define_new_name</a></li>
|
|
95
|
+
|
|
96
|
+
<li ><a href="#method-i-each">each</a></li>
|
|
97
|
+
|
|
98
|
+
<li ><a href="#method-i-fills">fills</a></li>
|
|
99
|
+
|
|
100
|
+
<li ><a href="#method-i-fonts">fonts</a></li>
|
|
101
|
+
|
|
102
|
+
<li ><a href="#method-i-get_defined_name">get_defined_name</a></li>
|
|
103
|
+
|
|
104
|
+
<li ><a href="#method-i-get_fill_color">get_fill_color</a></li>
|
|
105
|
+
|
|
106
|
+
<li ><a href="#method-i-modify_alignment">modify_alignment</a></li>
|
|
107
|
+
|
|
108
|
+
<li ><a href="#method-i-modify_border">modify_border</a></li>
|
|
89
109
|
|
|
110
|
+
<li ><a href="#method-i-modify_border_color">modify_border_color</a></li>
|
|
111
|
+
|
|
112
|
+
<li ><a href="#method-i-modify_fill">modify_fill</a></li>
|
|
113
|
+
|
|
114
|
+
<li ><a href="#method-i-password_hash">password_hash</a></li>
|
|
115
|
+
|
|
116
|
+
<li ><a href="#method-i-register_new_fill">register_new_fill</a></li>
|
|
117
|
+
|
|
118
|
+
<li ><a href="#method-i-register_new_font">register_new_font</a></li>
|
|
119
|
+
|
|
120
|
+
<li ><a href="#method-i-register_new_xf">register_new_xf</a></li>
|
|
121
|
+
|
|
122
|
+
<li ><a href="#method-i-title">title</a></li>
|
|
123
|
+
|
|
124
|
+
<li ><a href="#method-i-title-3D">title=</a></li>
|
|
125
|
+
|
|
126
|
+
</ul>
|
|
90
127
|
</div>
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
<footer id="validator-badges" role="contentinfo">
|
|
132
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a></p>
|
|
133
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.15.1.</p>
|
|
134
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.</p>
|
|
135
|
+
</footer>
|
|
136
|
+
|
|
91
137
|
</nav>
|
|
92
138
|
|
|
93
139
|
<main role="main" aria-labelledby="module-RubyXL::WorkbookConvenienceMethods">
|
|
94
|
-
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
<ol role="navigation" aria-label="Breadcrumb navigation" class="breadcrumb">
|
|
143
|
+
|
|
144
|
+
<li>
|
|
145
|
+
|
|
146
|
+
<a href="../RubyXL.html">RubyXL</a><span>::</span>
|
|
147
|
+
|
|
148
|
+
</li>
|
|
149
|
+
|
|
150
|
+
<li>
|
|
151
|
+
|
|
152
|
+
<span>WorkbookConvenienceMethods</span>
|
|
153
|
+
|
|
154
|
+
</li>
|
|
155
|
+
|
|
156
|
+
</ol>
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
<h1 id="module-RubyXL::WorkbookConvenienceMethods" class="anchor-link module">
|
|
95
160
|
module RubyXL::WorkbookConvenienceMethods
|
|
96
161
|
</h1>
|
|
97
162
|
|
|
@@ -99,28 +164,45 @@
|
|
|
99
164
|
|
|
100
165
|
</section>
|
|
101
166
|
|
|
102
|
-
|
|
167
|
+
|
|
168
|
+
<section id="5Buntitled-5D" class="documentation-section anchor-link">
|
|
169
|
+
|
|
170
|
+
|
|
103
171
|
|
|
104
172
|
|
|
105
173
|
|
|
106
174
|
|
|
107
175
|
|
|
108
|
-
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section anchor-link">
|
|
109
179
|
<header>
|
|
110
180
|
<h3>Public Instance Methods</h3>
|
|
111
181
|
</header>
|
|
112
182
|
|
|
113
|
-
|
|
183
|
+
|
|
184
|
+
<div id="method-i-borders" class="method-detail anchor-link ">
|
|
114
185
|
<div class="method-header">
|
|
115
|
-
|
|
116
|
-
<
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
186
|
+
|
|
187
|
+
<div class="method-heading">
|
|
188
|
+
<a href="#method-i-borders" title="Link to this method">
|
|
189
|
+
<span class="method-name">borders</span>
|
|
190
|
+
<span class="method-args">()</span>
|
|
191
|
+
</a>
|
|
192
|
+
</div>
|
|
193
|
+
|
|
120
194
|
</div>
|
|
121
195
|
|
|
196
|
+
|
|
197
|
+
<div class="method-controls">
|
|
198
|
+
<details class="method-source-toggle">
|
|
199
|
+
<summary>Source</summary>
|
|
200
|
+
</details>
|
|
201
|
+
</div>
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
122
205
|
<div class="method-description">
|
|
123
|
-
|
|
124
206
|
|
|
125
207
|
<div class="method-source-code" id="borders-source">
|
|
126
208
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 19</span>
|
|
@@ -128,22 +210,43 @@
|
|
|
128
210
|
<span class="ruby-identifier">stylesheet</span>.<span class="ruby-identifier">borders</span>
|
|
129
211
|
<span class="ruby-keyword">end</span></pre>
|
|
130
212
|
</div>
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
131
219
|
</div>
|
|
132
220
|
|
|
133
221
|
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
134
225
|
</div>
|
|
135
226
|
|
|
136
|
-
|
|
227
|
+
|
|
228
|
+
<div id="method-i-cell_xfs" class="method-detail anchor-link ">
|
|
137
229
|
<div class="method-header">
|
|
138
|
-
|
|
139
|
-
<
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
230
|
+
|
|
231
|
+
<div class="method-heading">
|
|
232
|
+
<a href="#method-i-cell_xfs" title="Link to this method">
|
|
233
|
+
<span class="method-name">cell_xfs</span>
|
|
234
|
+
<span class="method-args">()</span>
|
|
235
|
+
</a>
|
|
236
|
+
</div>
|
|
237
|
+
|
|
143
238
|
</div>
|
|
144
239
|
|
|
240
|
+
|
|
241
|
+
<div class="method-controls">
|
|
242
|
+
<details class="method-source-toggle">
|
|
243
|
+
<summary>Source</summary>
|
|
244
|
+
</details>
|
|
245
|
+
</div>
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
145
249
|
<div class="method-description">
|
|
146
|
-
|
|
147
250
|
|
|
148
251
|
<div class="method-source-code" id="cell_xfs-source">
|
|
149
252
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 7</span>
|
|
@@ -151,46 +254,88 @@
|
|
|
151
254
|
<span class="ruby-identifier">stylesheet</span>.<span class="ruby-identifier">cell_xfs</span>
|
|
152
255
|
<span class="ruby-keyword">end</span></pre>
|
|
153
256
|
</div>
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
154
263
|
</div>
|
|
155
264
|
|
|
156
265
|
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
157
269
|
</div>
|
|
158
270
|
|
|
159
|
-
|
|
271
|
+
|
|
272
|
+
<div id="method-i-define_new_name" class="method-detail anchor-link ">
|
|
160
273
|
<div class="method-header">
|
|
161
|
-
|
|
162
|
-
<
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
274
|
+
|
|
275
|
+
<div class="method-heading">
|
|
276
|
+
<a href="#method-i-define_new_name" title="Link to this method">
|
|
277
|
+
<span class="method-name">define_new_name</span>
|
|
278
|
+
<span class="method-args">(name, reference)</span>
|
|
279
|
+
</a>
|
|
280
|
+
</div>
|
|
281
|
+
|
|
166
282
|
</div>
|
|
167
283
|
|
|
284
|
+
|
|
285
|
+
<div class="method-controls">
|
|
286
|
+
<details class="method-source-toggle">
|
|
287
|
+
<summary>Source</summary>
|
|
288
|
+
</details>
|
|
289
|
+
</div>
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
168
293
|
<div class="method-description">
|
|
169
|
-
|
|
170
294
|
|
|
171
295
|
<div class="method-source-code" id="define_new_name-source">
|
|
172
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line
|
|
296
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 122</span>
|
|
173
297
|
<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>)
|
|
174
298
|
<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>
|
|
175
299
|
<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>})
|
|
176
300
|
<span class="ruby-keyword">end</span></pre>
|
|
177
301
|
</div>
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
|
|
178
308
|
</div>
|
|
179
309
|
|
|
180
310
|
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
181
314
|
</div>
|
|
182
315
|
|
|
183
|
-
|
|
316
|
+
|
|
317
|
+
<div id="method-i-each" class="method-detail anchor-link ">
|
|
184
318
|
<div class="method-header">
|
|
185
|
-
|
|
186
|
-
<
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
319
|
+
|
|
320
|
+
<div class="method-heading">
|
|
321
|
+
<a href="#method-i-each" title="Link to this method">
|
|
322
|
+
<span class="method-name">each</span>
|
|
323
|
+
<span class="method-args">() { |i| ... }</span>
|
|
324
|
+
</a>
|
|
325
|
+
</div>
|
|
326
|
+
|
|
190
327
|
</div>
|
|
191
328
|
|
|
329
|
+
|
|
330
|
+
<div class="method-controls">
|
|
331
|
+
<details class="method-source-toggle">
|
|
332
|
+
<summary>Source</summary>
|
|
333
|
+
</details>
|
|
334
|
+
</div>
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
192
338
|
<div class="method-description">
|
|
193
|
-
|
|
194
339
|
|
|
195
340
|
<div class="method-source-code" id="each-source">
|
|
196
341
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 3</span>
|
|
@@ -198,22 +343,43 @@
|
|
|
198
343
|
<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> }
|
|
199
344
|
<span class="ruby-keyword">end</span></pre>
|
|
200
345
|
</div>
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
201
352
|
</div>
|
|
202
353
|
|
|
203
354
|
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
|
|
204
358
|
</div>
|
|
205
359
|
|
|
206
|
-
|
|
360
|
+
|
|
361
|
+
<div id="method-i-fills" class="method-detail anchor-link ">
|
|
207
362
|
<div class="method-header">
|
|
208
|
-
|
|
209
|
-
<
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
363
|
+
|
|
364
|
+
<div class="method-heading">
|
|
365
|
+
<a href="#method-i-fills" title="Link to this method">
|
|
366
|
+
<span class="method-name">fills</span>
|
|
367
|
+
<span class="method-args">()</span>
|
|
368
|
+
</a>
|
|
369
|
+
</div>
|
|
370
|
+
|
|
213
371
|
</div>
|
|
214
372
|
|
|
373
|
+
|
|
374
|
+
<div class="method-controls">
|
|
375
|
+
<details class="method-source-toggle">
|
|
376
|
+
<summary>Source</summary>
|
|
377
|
+
</details>
|
|
378
|
+
</div>
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
|
|
215
382
|
<div class="method-description">
|
|
216
|
-
|
|
217
383
|
|
|
218
384
|
<div class="method-source-code" id="fills-source">
|
|
219
385
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 15</span>
|
|
@@ -221,22 +387,43 @@
|
|
|
221
387
|
<span class="ruby-identifier">stylesheet</span>.<span class="ruby-identifier">fills</span>
|
|
222
388
|
<span class="ruby-keyword">end</span></pre>
|
|
223
389
|
</div>
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
|
|
224
396
|
</div>
|
|
225
397
|
|
|
226
398
|
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
|
|
227
402
|
</div>
|
|
228
403
|
|
|
229
|
-
|
|
404
|
+
|
|
405
|
+
<div id="method-i-fonts" class="method-detail anchor-link ">
|
|
230
406
|
<div class="method-header">
|
|
231
|
-
|
|
232
|
-
<
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
407
|
+
|
|
408
|
+
<div class="method-heading">
|
|
409
|
+
<a href="#method-i-fonts" title="Link to this method">
|
|
410
|
+
<span class="method-name">fonts</span>
|
|
411
|
+
<span class="method-args">()</span>
|
|
412
|
+
</a>
|
|
413
|
+
</div>
|
|
414
|
+
|
|
236
415
|
</div>
|
|
237
416
|
|
|
417
|
+
|
|
418
|
+
<div class="method-controls">
|
|
419
|
+
<details class="method-source-toggle">
|
|
420
|
+
<summary>Source</summary>
|
|
421
|
+
</details>
|
|
422
|
+
</div>
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
|
|
238
426
|
<div class="method-description">
|
|
239
|
-
|
|
240
427
|
|
|
241
428
|
<div class="method-source-code" id="fonts-source">
|
|
242
429
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 11</span>
|
|
@@ -244,45 +431,87 @@
|
|
|
244
431
|
<span class="ruby-identifier">stylesheet</span>.<span class="ruby-identifier">fonts</span>
|
|
245
432
|
<span class="ruby-keyword">end</span></pre>
|
|
246
433
|
</div>
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
|
|
247
440
|
</div>
|
|
248
441
|
|
|
249
442
|
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
|
|
250
446
|
</div>
|
|
251
447
|
|
|
252
|
-
|
|
448
|
+
|
|
449
|
+
<div id="method-i-get_defined_name" class="method-detail anchor-link ">
|
|
253
450
|
<div class="method-header">
|
|
254
|
-
|
|
255
|
-
<
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
451
|
+
|
|
452
|
+
<div class="method-heading">
|
|
453
|
+
<a href="#method-i-get_defined_name" title="Link to this method">
|
|
454
|
+
<span class="method-name">get_defined_name</span>
|
|
455
|
+
<span class="method-args">(name)</span>
|
|
456
|
+
</a>
|
|
457
|
+
</div>
|
|
458
|
+
|
|
259
459
|
</div>
|
|
260
460
|
|
|
461
|
+
|
|
462
|
+
<div class="method-controls">
|
|
463
|
+
<details class="method-source-toggle">
|
|
464
|
+
<summary>Source</summary>
|
|
465
|
+
</details>
|
|
466
|
+
</div>
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
|
|
261
470
|
<div class="method-description">
|
|
262
|
-
|
|
263
471
|
|
|
264
472
|
<div class="method-source-code" id="get_defined_name-source">
|
|
265
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line
|
|
473
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 127</span>
|
|
266
474
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_defined_name</span>(<span class="ruby-identifier">name</span>)
|
|
267
475
|
<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> }
|
|
268
476
|
<span class="ruby-keyword">end</span></pre>
|
|
269
477
|
</div>
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
|
|
270
484
|
</div>
|
|
271
485
|
|
|
272
486
|
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
|
|
273
490
|
</div>
|
|
274
491
|
|
|
275
|
-
|
|
492
|
+
|
|
493
|
+
<div id="method-i-get_fill_color" class="method-detail anchor-link ">
|
|
276
494
|
<div class="method-header">
|
|
277
|
-
|
|
278
|
-
<
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
495
|
+
|
|
496
|
+
<div class="method-heading">
|
|
497
|
+
<a href="#method-i-get_fill_color" title="Link to this method">
|
|
498
|
+
<span class="method-name">get_fill_color</span>
|
|
499
|
+
<span class="method-args">(xf)</span>
|
|
500
|
+
</a>
|
|
501
|
+
</div>
|
|
502
|
+
|
|
282
503
|
</div>
|
|
283
504
|
|
|
505
|
+
|
|
506
|
+
<div class="method-controls">
|
|
507
|
+
<details class="method-source-toggle">
|
|
508
|
+
<summary>Source</summary>
|
|
509
|
+
</details>
|
|
510
|
+
</div>
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
|
|
284
514
|
<div class="method-description">
|
|
285
|
-
|
|
286
515
|
|
|
287
516
|
<div class="method-source-code" id="get_fill_color-source">
|
|
288
517
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 23</span>
|
|
@@ -290,22 +519,43 @@
|
|
|
290
519
|
<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>
|
|
291
520
|
<span class="ruby-keyword">end</span></pre>
|
|
292
521
|
</div>
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
|
|
293
528
|
</div>
|
|
294
529
|
|
|
295
530
|
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
|
|
296
534
|
</div>
|
|
297
535
|
|
|
298
|
-
|
|
536
|
+
|
|
537
|
+
<div id="method-i-modify_alignment" class="method-detail anchor-link ">
|
|
299
538
|
<div class="method-header">
|
|
300
|
-
|
|
301
|
-
<
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
539
|
+
|
|
540
|
+
<div class="method-heading">
|
|
541
|
+
<a href="#method-i-modify_alignment" title="Link to this method">
|
|
542
|
+
<span class="method-name">modify_alignment</span>
|
|
543
|
+
<span class="method-args">(style_index) { |alignment| ... }</span>
|
|
544
|
+
</a>
|
|
545
|
+
</div>
|
|
546
|
+
|
|
305
547
|
</div>
|
|
306
548
|
|
|
549
|
+
|
|
550
|
+
<div class="method-controls">
|
|
551
|
+
<details class="method-source-toggle">
|
|
552
|
+
<summary>Source</summary>
|
|
553
|
+
</details>
|
|
554
|
+
</div>
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
|
|
307
558
|
<div class="method-description">
|
|
308
|
-
|
|
309
559
|
|
|
310
560
|
<div class="method-source-code" id="modify_alignment-source">
|
|
311
561
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 52</span>
|
|
@@ -324,22 +574,43 @@
|
|
|
324
574
|
<span class="ruby-identifier">register_new_xf</span>(<span class="ruby-identifier">new_xf</span>)
|
|
325
575
|
<span class="ruby-keyword">end</span></pre>
|
|
326
576
|
</div>
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
|
|
327
583
|
</div>
|
|
328
584
|
|
|
329
585
|
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
|
|
330
589
|
</div>
|
|
331
590
|
|
|
332
|
-
|
|
591
|
+
|
|
592
|
+
<div id="method-i-modify_border" class="method-detail anchor-link ">
|
|
333
593
|
<div class="method-header">
|
|
334
|
-
|
|
335
|
-
<
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
594
|
+
|
|
595
|
+
<div class="method-heading">
|
|
596
|
+
<a href="#method-i-modify_border" title="Link to this method">
|
|
597
|
+
<span class="method-name">modify_border</span>
|
|
598
|
+
<span class="method-args">(style_index, direction, weight)</span>
|
|
599
|
+
</a>
|
|
600
|
+
</div>
|
|
601
|
+
|
|
339
602
|
</div>
|
|
340
603
|
|
|
604
|
+
|
|
605
|
+
<div class="method-controls">
|
|
606
|
+
<details class="method-source-toggle">
|
|
607
|
+
<summary>Source</summary>
|
|
608
|
+
</details>
|
|
609
|
+
</div>
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
|
|
341
613
|
<div class="method-description">
|
|
342
|
-
|
|
343
614
|
|
|
344
615
|
<div class="method-source-code" id="modify_border-source">
|
|
345
616
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 75</span>
|
|
@@ -360,28 +631,53 @@
|
|
|
360
631
|
<span class="ruby-identifier">register_new_xf</span>(<span class="ruby-identifier">xf</span>)
|
|
361
632
|
<span class="ruby-keyword">end</span></pre>
|
|
362
633
|
</div>
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
|
|
363
640
|
</div>
|
|
364
641
|
|
|
365
642
|
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
|
|
366
646
|
</div>
|
|
367
647
|
|
|
368
|
-
|
|
648
|
+
|
|
649
|
+
<div id="method-i-modify_border_color" class="method-detail anchor-link ">
|
|
369
650
|
<div class="method-header">
|
|
370
|
-
|
|
371
|
-
<
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
651
|
+
|
|
652
|
+
<div class="method-heading">
|
|
653
|
+
<a href="#method-i-modify_border_color" title="Link to this method">
|
|
654
|
+
<span class="method-name">modify_border_color</span>
|
|
655
|
+
<span class="method-args">(style_index, direction, color)</span>
|
|
656
|
+
</a>
|
|
657
|
+
</div>
|
|
658
|
+
|
|
375
659
|
</div>
|
|
376
660
|
|
|
661
|
+
|
|
662
|
+
<div class="method-controls">
|
|
663
|
+
<details class="method-source-toggle">
|
|
664
|
+
<summary>Source</summary>
|
|
665
|
+
</details>
|
|
666
|
+
</div>
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
|
|
377
670
|
<div class="method-description">
|
|
378
|
-
|
|
379
671
|
|
|
380
672
|
<div class="method-source-code" id="modify_border_color-source">
|
|
381
673
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 92</span>
|
|
382
674
|
<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>)
|
|
383
675
|
<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>
|
|
384
676
|
<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>
|
|
677
|
+
|
|
678
|
+
<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>)
|
|
679
|
+
<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>
|
|
680
|
+
|
|
385
681
|
<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>)
|
|
386
682
|
|
|
387
683
|
<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>
|
|
@@ -392,22 +688,43 @@
|
|
|
392
688
|
<span class="ruby-identifier">register_new_xf</span>(<span class="ruby-identifier">xf</span>)
|
|
393
689
|
<span class="ruby-keyword">end</span></pre>
|
|
394
690
|
</div>
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
|
|
395
697
|
</div>
|
|
396
698
|
|
|
397
699
|
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
|
|
398
703
|
</div>
|
|
399
704
|
|
|
400
|
-
|
|
705
|
+
|
|
706
|
+
<div id="method-i-modify_fill" class="method-detail anchor-link ">
|
|
401
707
|
<div class="method-header">
|
|
402
|
-
|
|
403
|
-
<
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
708
|
+
|
|
709
|
+
<div class="method-heading">
|
|
710
|
+
<a href="#method-i-modify_fill" title="Link to this method">
|
|
711
|
+
<span class="method-name">modify_fill</span>
|
|
712
|
+
<span class="method-args">(style_index, rgb)</span>
|
|
713
|
+
</a>
|
|
714
|
+
</div>
|
|
715
|
+
|
|
407
716
|
</div>
|
|
408
717
|
|
|
718
|
+
|
|
719
|
+
<div class="method-controls">
|
|
720
|
+
<details class="method-source-toggle">
|
|
721
|
+
<summary>Source</summary>
|
|
722
|
+
</details>
|
|
723
|
+
</div>
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
|
|
409
727
|
<div class="method-description">
|
|
410
|
-
|
|
411
728
|
|
|
412
729
|
<div class="method-source-code" id="modify_fill-source">
|
|
413
730
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 67</span>
|
|
@@ -419,25 +736,46 @@
|
|
|
419
736
|
<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>))
|
|
420
737
|
<span class="ruby-keyword">end</span></pre>
|
|
421
738
|
</div>
|
|
739
|
+
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
|
|
422
745
|
</div>
|
|
423
746
|
|
|
424
747
|
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
|
|
425
751
|
</div>
|
|
426
752
|
|
|
427
|
-
|
|
753
|
+
|
|
754
|
+
<div id="method-i-password_hash" class="method-detail anchor-link ">
|
|
428
755
|
<div class="method-header">
|
|
429
|
-
|
|
430
|
-
<
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
756
|
+
|
|
757
|
+
<div class="method-heading">
|
|
758
|
+
<a href="#method-i-password_hash" title="Link to this method">
|
|
759
|
+
<span class="method-name">password_hash</span>
|
|
760
|
+
<span class="method-args">(pwd)</span>
|
|
761
|
+
</a>
|
|
762
|
+
</div>
|
|
763
|
+
|
|
434
764
|
</div>
|
|
435
765
|
|
|
766
|
+
|
|
767
|
+
<div class="method-controls">
|
|
768
|
+
<details class="method-source-toggle">
|
|
769
|
+
<summary>Source</summary>
|
|
770
|
+
</details>
|
|
771
|
+
</div>
|
|
772
|
+
|
|
773
|
+
|
|
774
|
+
|
|
436
775
|
<div class="method-description">
|
|
437
|
-
<p>Calculate password hash from string for use in ‘password’ fields. <a href="https://www.openoffice.org/sc/excelfileformat.pdf">www.openoffice.org/sc/excelfileformat.pdf</a></p>
|
|
438
776
|
|
|
439
777
|
<div class="method-source-code" id="password_hash-source">
|
|
440
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line
|
|
778
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 111</span>
|
|
441
779
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">password_hash</span>(<span class="ruby-identifier">pwd</span>)
|
|
442
780
|
<span class="ruby-identifier">hsh</span> = <span class="ruby-value">0</span>
|
|
443
781
|
<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>
|
|
@@ -449,22 +787,43 @@
|
|
|
449
787
|
(<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>)
|
|
450
788
|
<span class="ruby-keyword">end</span></pre>
|
|
451
789
|
</div>
|
|
790
|
+
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
<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>
|
|
794
|
+
|
|
795
|
+
|
|
452
796
|
</div>
|
|
453
797
|
|
|
454
798
|
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
|
|
455
802
|
</div>
|
|
456
803
|
|
|
457
|
-
|
|
804
|
+
|
|
805
|
+
<div id="method-i-register_new_fill" class="method-detail anchor-link ">
|
|
458
806
|
<div class="method-header">
|
|
459
|
-
|
|
460
|
-
<
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
807
|
+
|
|
808
|
+
<div class="method-heading">
|
|
809
|
+
<a href="#method-i-register_new_fill" title="Link to this method">
|
|
810
|
+
<span class="method-name">register_new_fill</span>
|
|
811
|
+
<span class="method-args">(new_fill, old_xf)</span>
|
|
812
|
+
</a>
|
|
813
|
+
</div>
|
|
814
|
+
|
|
464
815
|
</div>
|
|
465
816
|
|
|
817
|
+
|
|
818
|
+
<div class="method-controls">
|
|
819
|
+
<details class="method-source-toggle">
|
|
820
|
+
<summary>Source</summary>
|
|
821
|
+
</details>
|
|
822
|
+
</div>
|
|
823
|
+
|
|
824
|
+
|
|
825
|
+
|
|
466
826
|
<div class="method-description">
|
|
467
|
-
|
|
468
827
|
|
|
469
828
|
<div class="method-source-code" id="register_new_fill-source">
|
|
470
829
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 27</span>
|
|
@@ -477,22 +836,43 @@
|
|
|
477
836
|
<span class="ruby-identifier">new_xf</span>
|
|
478
837
|
<span class="ruby-keyword">end</span></pre>
|
|
479
838
|
</div>
|
|
839
|
+
|
|
840
|
+
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
|
|
844
|
+
|
|
480
845
|
</div>
|
|
481
846
|
|
|
482
847
|
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
|
|
483
851
|
</div>
|
|
484
852
|
|
|
485
|
-
|
|
853
|
+
|
|
854
|
+
<div id="method-i-register_new_font" class="method-detail anchor-link ">
|
|
486
855
|
<div class="method-header">
|
|
487
|
-
|
|
488
|
-
<
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
856
|
+
|
|
857
|
+
<div class="method-heading">
|
|
858
|
+
<a href="#method-i-register_new_font" title="Link to this method">
|
|
859
|
+
<span class="method-name">register_new_font</span>
|
|
860
|
+
<span class="method-args">(new_font, old_xf)</span>
|
|
861
|
+
</a>
|
|
862
|
+
</div>
|
|
863
|
+
|
|
492
864
|
</div>
|
|
493
865
|
|
|
866
|
+
|
|
867
|
+
<div class="method-controls">
|
|
868
|
+
<details class="method-source-toggle">
|
|
869
|
+
<summary>Source</summary>
|
|
870
|
+
</details>
|
|
871
|
+
</div>
|
|
872
|
+
|
|
873
|
+
|
|
874
|
+
|
|
494
875
|
<div class="method-description">
|
|
495
|
-
|
|
496
876
|
|
|
497
877
|
<div class="method-source-code" id="register_new_font-source">
|
|
498
878
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 36</span>
|
|
@@ -505,22 +885,43 @@
|
|
|
505
885
|
<span class="ruby-identifier">new_xf</span>
|
|
506
886
|
<span class="ruby-keyword">end</span></pre>
|
|
507
887
|
</div>
|
|
888
|
+
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
|
|
508
894
|
</div>
|
|
509
895
|
|
|
510
896
|
|
|
897
|
+
|
|
898
|
+
|
|
899
|
+
|
|
511
900
|
</div>
|
|
512
901
|
|
|
513
|
-
|
|
902
|
+
|
|
903
|
+
<div id="method-i-register_new_xf" class="method-detail anchor-link ">
|
|
514
904
|
<div class="method-header">
|
|
515
|
-
|
|
516
|
-
<
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
905
|
+
|
|
906
|
+
<div class="method-heading">
|
|
907
|
+
<a href="#method-i-register_new_xf" title="Link to this method">
|
|
908
|
+
<span class="method-name">register_new_xf</span>
|
|
909
|
+
<span class="method-args">(new_xf)</span>
|
|
910
|
+
</a>
|
|
911
|
+
</div>
|
|
912
|
+
|
|
520
913
|
</div>
|
|
521
914
|
|
|
915
|
+
|
|
916
|
+
<div class="method-controls">
|
|
917
|
+
<details class="method-source-toggle">
|
|
918
|
+
<summary>Source</summary>
|
|
919
|
+
</details>
|
|
920
|
+
</div>
|
|
921
|
+
|
|
922
|
+
|
|
923
|
+
|
|
522
924
|
<div class="method-description">
|
|
523
|
-
|
|
524
925
|
|
|
525
926
|
<div class="method-source-code" id="register_new_xf-source">
|
|
526
927
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 45</span>
|
|
@@ -531,66 +932,113 @@
|
|
|
531
932
|
<span class="ruby-identifier">new_xf_id</span>
|
|
532
933
|
<span class="ruby-keyword">end</span></pre>
|
|
533
934
|
</div>
|
|
935
|
+
|
|
936
|
+
|
|
937
|
+
|
|
938
|
+
|
|
939
|
+
|
|
940
|
+
|
|
534
941
|
</div>
|
|
535
942
|
|
|
536
943
|
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
|
|
537
947
|
</div>
|
|
538
948
|
|
|
539
|
-
|
|
949
|
+
|
|
950
|
+
<div id="method-i-title" class="method-detail anchor-link ">
|
|
540
951
|
<div class="method-header">
|
|
541
|
-
|
|
542
|
-
<
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
952
|
+
|
|
953
|
+
<div class="method-heading">
|
|
954
|
+
<a href="#method-i-title" title="Link to this method">
|
|
955
|
+
<span class="method-name">title</span>
|
|
956
|
+
<span class="method-args">()</span>
|
|
957
|
+
</a>
|
|
958
|
+
</div>
|
|
959
|
+
|
|
546
960
|
</div>
|
|
547
961
|
|
|
962
|
+
|
|
963
|
+
<div class="method-controls">
|
|
964
|
+
<details class="method-source-toggle">
|
|
965
|
+
<summary>Source</summary>
|
|
966
|
+
</details>
|
|
967
|
+
</div>
|
|
968
|
+
|
|
969
|
+
|
|
970
|
+
|
|
548
971
|
<div class="method-description">
|
|
549
|
-
|
|
550
972
|
|
|
551
973
|
<div class="method-source-code" id="title-source">
|
|
552
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line
|
|
974
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 131</span>
|
|
553
975
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">title</span>
|
|
554
976
|
<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>
|
|
555
977
|
<span class="ruby-keyword">end</span></pre>
|
|
556
978
|
</div>
|
|
979
|
+
|
|
980
|
+
|
|
981
|
+
|
|
982
|
+
|
|
983
|
+
|
|
984
|
+
|
|
557
985
|
</div>
|
|
558
986
|
|
|
559
987
|
|
|
988
|
+
|
|
989
|
+
|
|
990
|
+
|
|
560
991
|
</div>
|
|
561
992
|
|
|
562
|
-
|
|
993
|
+
|
|
994
|
+
<div id="method-i-title-3D" class="method-detail anchor-link ">
|
|
563
995
|
<div class="method-header">
|
|
564
|
-
|
|
565
|
-
<
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
996
|
+
|
|
997
|
+
<div class="method-heading">
|
|
998
|
+
<a href="#method-i-title-3D" title="Link to this method">
|
|
999
|
+
<span class="method-name">title=</span>
|
|
1000
|
+
<span class="method-args">(v)</span>
|
|
1001
|
+
</a>
|
|
1002
|
+
</div>
|
|
1003
|
+
|
|
569
1004
|
</div>
|
|
570
1005
|
|
|
1006
|
+
|
|
1007
|
+
<div class="method-controls">
|
|
1008
|
+
<details class="method-source-toggle">
|
|
1009
|
+
<summary>Source</summary>
|
|
1010
|
+
</details>
|
|
1011
|
+
</div>
|
|
1012
|
+
|
|
1013
|
+
|
|
1014
|
+
|
|
571
1015
|
<div class="method-description">
|
|
572
|
-
|
|
573
1016
|
|
|
574
1017
|
<div class="method-source-code" id="title-3D-source">
|
|
575
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line
|
|
1018
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/workbook.rb, line 135</span>
|
|
576
1019
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">title=</span>(<span class="ruby-identifier">v</span>)
|
|
577
1020
|
<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>)
|
|
578
1021
|
<span class="ruby-keyword">end</span></pre>
|
|
579
1022
|
</div>
|
|
1023
|
+
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
|
|
1027
|
+
|
|
1028
|
+
|
|
580
1029
|
</div>
|
|
581
1030
|
|
|
582
1031
|
|
|
1032
|
+
|
|
1033
|
+
|
|
1034
|
+
|
|
583
1035
|
</div>
|
|
584
1036
|
|
|
1037
|
+
|
|
585
1038
|
</section>
|
|
586
1039
|
|
|
587
1040
|
</section>
|
|
588
|
-
</main>
|
|
589
1041
|
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
593
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.6.3.1.
|
|
594
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
595
|
-
</footer>
|
|
1042
|
+
</main>
|
|
1043
|
+
</body>
|
|
596
1044
|
|