rubyXL 3.3.23 → 3.3.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rubyXL/convenience_methods.rb +4 -0
- data/lib/rubyXL/objects/relationships.rb +1 -1
- data/lib/rubyXL/objects/storage.rb +19 -1
- data/lib/rubyXL/objects/worksheet.rb +39 -38
- data/rdoc/README_rdoc.html +2 -2
- data/rdoc/RubyXL.html +2 -2
- data/rdoc/RubyXL/AExtension.html +2 -2
- data/rdoc/RubyXL/AExtensionStorageArea.html +2 -2
- data/rdoc/RubyXL/ActiveX.html +182 -0
- data/rdoc/RubyXL/ActiveXBinary.html +117 -0
- data/rdoc/RubyXL/AdjustHandleList.html +2 -2
- data/rdoc/RubyXL/Alignment.html +2 -2
- data/rdoc/RubyXL/AlternateContent.html +2 -2
- data/rdoc/RubyXL/Authors.html +2 -2
- data/rdoc/RubyXL/AutoFilter.html +2 -2
- data/rdoc/RubyXL/AutoFilterColumn.html +2 -2
- data/rdoc/RubyXL/BinaryImageFile.html +2 -2
- data/rdoc/RubyXL/BodyProperties.html +2 -2
- data/rdoc/RubyXL/BooleanNode.html +2 -2
- data/rdoc/RubyXL/BooleanValue.html +2 -2
- data/rdoc/RubyXL/Border.html +2 -2
- data/rdoc/RubyXL/BorderEdge.html +2 -2
- data/rdoc/RubyXL/Borders.html +2 -2
- data/rdoc/RubyXL/Break.html +2 -2
- data/rdoc/RubyXL/BreakList.html +2 -2
- data/rdoc/RubyXL/CT_AdjPoint2D.html +2 -2
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +2 -2
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +2 -2
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +2 -2
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +2 -2
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +2 -2
- data/rdoc/RubyXL/CT_Backdrop.html +2 -2
- data/rdoc/RubyXL/CT_Bevel.html +2 -2
- data/rdoc/RubyXL/CT_BiLevelEffect.html +2 -2
- data/rdoc/RubyXL/CT_BlendEffect.html +2 -2
- data/rdoc/RubyXL/CT_Blip.html +2 -2
- data/rdoc/RubyXL/CT_BlipFillProperties.html +2 -2
- data/rdoc/RubyXL/CT_BlurEffect.html +2 -2
- data/rdoc/RubyXL/CT_Camera.html +2 -2
- data/rdoc/RubyXL/CT_Color.html +2 -2
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +2 -2
- data/rdoc/RubyXL/CT_ColorMapping.html +2 -2
- data/rdoc/RubyXL/CT_ColorScheme.html +2 -2
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +2 -2
- data/rdoc/RubyXL/CT_ConnectionSite.html +2 -2
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +2 -2
- data/rdoc/RubyXL/CT_DashStop.html +2 -2
- data/rdoc/RubyXL/CT_DashStopList.html +2 -2
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +2 -2
- data/rdoc/RubyXL/CT_DuotoneEffect.html +2 -2
- data/rdoc/RubyXL/CT_EffectContainer.html +2 -2
- data/rdoc/RubyXL/CT_EffectList.html +2 -2
- data/rdoc/RubyXL/CT_EffectReference.html +2 -2
- data/rdoc/RubyXL/CT_EffectStyleItem.html +2 -2
- data/rdoc/RubyXL/CT_EffectStyleList.html +2 -2
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +2 -2
- data/rdoc/RubyXL/CT_FillEffect.html +2 -2
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +2 -2
- data/rdoc/RubyXL/CT_FillStyleList.html +2 -2
- data/rdoc/RubyXL/CT_FlatText.html +2 -2
- data/rdoc/RubyXL/CT_FontCollection.html +2 -2
- data/rdoc/RubyXL/CT_FontReference.html +2 -2
- data/rdoc/RubyXL/CT_GeomGuideList.html +2 -2
- data/rdoc/RubyXL/CT_GlowEffect.html +2 -2
- data/rdoc/RubyXL/CT_GradientFillProperties.html +2 -2
- data/rdoc/RubyXL/CT_GradientStop.html +2 -2
- data/rdoc/RubyXL/CT_GradientStopList.html +2 -2
- data/rdoc/RubyXL/CT_HSLEffect.html +2 -2
- data/rdoc/RubyXL/CT_HslColor.html +2 -2
- data/rdoc/RubyXL/CT_Hyperlink.html +2 -2
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +2 -2
- data/rdoc/RubyXL/CT_LightRig.html +2 -2
- data/rdoc/RubyXL/CT_LineEndProperties.html +2 -2
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +2 -2
- data/rdoc/RubyXL/CT_LineProperties.html +2 -2
- data/rdoc/RubyXL/CT_LineStyleList.html +2 -2
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +2 -2
- data/rdoc/RubyXL/CT_LuminanceEffect.html +2 -2
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +2 -2
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +2 -2
- data/rdoc/RubyXL/CT_Path2D.html +2 -2
- data/rdoc/RubyXL/CT_Path2DArcTo.html +2 -2
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +2 -2
- data/rdoc/RubyXL/CT_Path2DList.html +2 -2
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +2 -2
- data/rdoc/RubyXL/CT_Path2DTo.html +2 -2
- data/rdoc/RubyXL/CT_PathShadeProperties.html +2 -2
- data/rdoc/RubyXL/CT_PatternFillProperties.html +2 -2
- data/rdoc/RubyXL/CT_Point3D.html +2 -2
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +2 -2
- data/rdoc/RubyXL/CT_PresetColor.html +2 -2
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +2 -2
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +2 -2
- data/rdoc/RubyXL/CT_PresetTextShape.html +2 -2
- data/rdoc/RubyXL/CT_ReflectionEffect.html +2 -2
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +2 -2
- data/rdoc/RubyXL/CT_RelativeRect.html +2 -2
- data/rdoc/RubyXL/CT_SRgbColor.html +2 -2
- data/rdoc/RubyXL/CT_ScRgbColor.html +2 -2
- data/rdoc/RubyXL/CT_Scene3D.html +2 -2
- data/rdoc/RubyXL/CT_SchemeColor.html +2 -2
- data/rdoc/RubyXL/CT_Shape3D.html +2 -2
- data/rdoc/RubyXL/CT_ShapeStyle.html +2 -2
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +2 -2
- data/rdoc/RubyXL/CT_SphereCoords.html +2 -2
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +2 -2
- data/rdoc/RubyXL/CT_StyleMatrix.html +2 -2
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +2 -2
- data/rdoc/RubyXL/CT_SupplementalFont.html +2 -2
- data/rdoc/RubyXL/CT_SystemColor.html +2 -2
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +2 -2
- data/rdoc/RubyXL/CT_TextBlipBullet.html +2 -2
- data/rdoc/RubyXL/CT_TextCharBullet.html +2 -2
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +2 -2
- data/rdoc/RubyXL/CT_TextFont.html +2 -2
- data/rdoc/RubyXL/CT_TextListStyle.html +2 -2
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +2 -2
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +2 -2
- data/rdoc/RubyXL/CT_TextSpacing.html +2 -2
- data/rdoc/RubyXL/CT_TextTabStop.html +2 -2
- data/rdoc/RubyXL/CT_TextTabStopList.html +2 -2
- data/rdoc/RubyXL/CT_TileInfoProperties.html +2 -2
- data/rdoc/RubyXL/CT_TintEffect.html +2 -2
- data/rdoc/RubyXL/CT_Transform2D.html +2 -2
- data/rdoc/RubyXL/CT_TransformEffect.html +2 -2
- data/rdoc/RubyXL/CT_Vector3D.html +2 -2
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +2 -2
- data/rdoc/RubyXL/CalculationChain.html +2 -2
- data/rdoc/RubyXL/CalculationChainCell.html +2 -2
- data/rdoc/RubyXL/CalculationProperties.html +2 -2
- data/rdoc/RubyXL/Cell.html +2 -2
- data/rdoc/RubyXL/CellConvenienceMethods.html +31 -31
- data/rdoc/RubyXL/CellExt.html +2 -2
- data/rdoc/RubyXL/CellSmartTag.html +2 -2
- data/rdoc/RubyXL/CellSmartTagProperty.html +2 -2
- data/rdoc/RubyXL/CellSmartTags.html +2 -2
- data/rdoc/RubyXL/CellStyle.html +2 -2
- data/rdoc/RubyXL/CellStyleXFs.html +2 -2
- data/rdoc/RubyXL/CellStyles.html +2 -2
- data/rdoc/RubyXL/CellValue.html +2 -2
- data/rdoc/RubyXL/CellWatch.html +2 -2
- data/rdoc/RubyXL/CellWatches.html +2 -2
- data/rdoc/RubyXL/CellXFs.html +2 -2
- data/rdoc/RubyXL/ChartColorsFile.html +2 -2
- data/rdoc/RubyXL/ChartFile.html +2 -2
- data/rdoc/RubyXL/ChartStyleFile.html +2 -2
- data/rdoc/RubyXL/ChartUserShapesFile.html +2 -2
- data/rdoc/RubyXL/Chartsheet.html +2 -2
- data/rdoc/RubyXL/ChartsheetPageSetup.html +2 -2
- data/rdoc/RubyXL/ChartsheetProperties.html +2 -2
- data/rdoc/RubyXL/ChartsheetProtection.html +2 -2
- data/rdoc/RubyXL/ChartsheetView.html +2 -2
- data/rdoc/RubyXL/ChartsheetViews.html +2 -2
- data/rdoc/RubyXL/Color.html +2 -2
- data/rdoc/RubyXL/ColorFilter.html +2 -2
- data/rdoc/RubyXL/ColorScale.html +2 -2
- data/rdoc/RubyXL/ColorSet.html +2 -2
- data/rdoc/RubyXL/Colors.html +2 -2
- data/rdoc/RubyXL/ColumnRange.html +2 -2
- data/rdoc/RubyXL/ColumnRanges.html +2 -2
- data/rdoc/RubyXL/Comment.html +2 -2
- data/rdoc/RubyXL/CommentList.html +2 -2
- data/rdoc/RubyXL/CommentsFile.html +2 -2
- data/rdoc/RubyXL/ConditionalFormatValue.html +2 -2
- data/rdoc/RubyXL/ConditionalFormatting.html +2 -2
- data/rdoc/RubyXL/ConditionalFormattingRule.html +2 -2
- data/rdoc/RubyXL/ContentTypeDefault.html +2 -2
- data/rdoc/RubyXL/ContentTypeOverride.html +2 -2
- data/rdoc/RubyXL/ContentTypes.html +2 -2
- data/rdoc/RubyXL/ControlPropertiesFile.html +2 -2
- data/rdoc/RubyXL/CorePropertiesFile.html +2 -2
- data/rdoc/RubyXL/CustomColor.html +2 -2
- data/rdoc/RubyXL/CustomColorList.html +2 -2
- data/rdoc/RubyXL/CustomFilter.html +2 -2
- data/rdoc/RubyXL/CustomFilters.html +2 -2
- data/rdoc/RubyXL/CustomGeometry.html +2 -2
- data/rdoc/RubyXL/CustomProperties.html +2 -2
- data/rdoc/RubyXL/CustomPropertiesFile.html +2 -2
- data/rdoc/RubyXL/CustomProperty.html +2 -2
- data/rdoc/RubyXL/CustomSheetView.html +2 -2
- data/rdoc/RubyXL/CustomSheetViews.html +2 -2
- data/rdoc/RubyXL/CustomWorkbookView.html +2 -2
- data/rdoc/RubyXL/CustomWorkbookViews.html +2 -2
- data/rdoc/RubyXL/CustomXMLFile.html +2 -2
- data/rdoc/RubyXL/DXF.html +2 -2
- data/rdoc/RubyXL/DXFs.html +2 -2
- data/rdoc/RubyXL/DataBar.html +2 -2
- data/rdoc/RubyXL/DataConsolidate.html +2 -2
- data/rdoc/RubyXL/DataConsolidationReference.html +2 -2
- data/rdoc/RubyXL/DataConsolidationReferences.html +2 -2
- data/rdoc/RubyXL/DataType.html +2 -2
- data/rdoc/RubyXL/DataValidation.html +2 -2
- data/rdoc/RubyXL/DataValidations.html +2 -2
- data/rdoc/RubyXL/DateGroupItem.html +2 -2
- data/rdoc/RubyXL/DefinedName.html +2 -2
- data/rdoc/RubyXL/DefinedNameExt.html +2 -2
- data/rdoc/RubyXL/DefinedNames.html +2 -2
- data/rdoc/RubyXL/DefinedNamesExt.html +2 -2
- data/rdoc/RubyXL/DocumentPropertiesFile.html +2 -2
- data/rdoc/RubyXL/DrawingFile.html +2 -2
- data/rdoc/RubyXL/DynamicFilter.html +2 -2
- data/rdoc/RubyXL/EmbeddedControl.html +2 -2
- data/rdoc/RubyXL/EmbeddedControls.html +2 -2
- data/rdoc/RubyXL/Extension.html +2 -2
- data/rdoc/RubyXL/ExtensionStorageArea.html +2 -2
- data/rdoc/RubyXL/Extents.html +2 -2
- data/rdoc/RubyXL/ExternalBook.html +2 -2
- data/rdoc/RubyXL/ExternalLinksFile.html +2 -2
- data/rdoc/RubyXL/ExternalReference.html +2 -2
- data/rdoc/RubyXL/ExternalReferences.html +2 -2
- data/rdoc/RubyXL/ExtraColorSchemeList.html +2 -2
- data/rdoc/RubyXL/FieldItem.html +2 -2
- data/rdoc/RubyXL/FileRecoveryProperties.html +2 -2
- data/rdoc/RubyXL/FileSharing.html +2 -2
- data/rdoc/RubyXL/FileVersion.html +2 -2
- data/rdoc/RubyXL/Fill.html +2 -2
- data/rdoc/RubyXL/Fills.html +2 -2
- data/rdoc/RubyXL/FilterContainer.html +2 -2
- data/rdoc/RubyXL/FloatNode.html +2 -2
- data/rdoc/RubyXL/FloatValue.html +2 -2
- data/rdoc/RubyXL/Font.html +2 -2
- data/rdoc/RubyXL/FontScheme.html +2 -2
- data/rdoc/RubyXL/Fonts.html +2 -2
- data/rdoc/RubyXL/Formula.html +2 -2
- data/rdoc/RubyXL/FunctionGroup.html +2 -2
- data/rdoc/RubyXL/FunctionGroups.html +2 -2
- data/rdoc/RubyXL/GenericStorageObject.html +2 -2
- data/rdoc/RubyXL/GradientFill.html +2 -2
- data/rdoc/RubyXL/HeaderFooterSettings.html +2 -2
- data/rdoc/RubyXL/Hyperlink.html +2 -2
- data/rdoc/RubyXL/HyperlinkRelFile.html +2 -2
- data/rdoc/RubyXL/Hyperlinks.html +2 -2
- data/rdoc/RubyXL/IconFilter.html +2 -2
- data/rdoc/RubyXL/IconSet.html +2 -2
- data/rdoc/RubyXL/IgnoredError.html +2 -2
- data/rdoc/RubyXL/IgnoredErrors.html +2 -2
- data/rdoc/RubyXL/IndexedColors.html +2 -2
- data/rdoc/RubyXL/InputCells.html +2 -2
- data/rdoc/RubyXL/IntegerNode.html +2 -2
- data/rdoc/RubyXL/IntegerValue.html +2 -2
- data/rdoc/RubyXL/LegacyCell.html +2 -2
- data/rdoc/RubyXL/LegacyWorksheet.html +2 -2
- data/rdoc/RubyXL/MRUColors.html +2 -2
- data/rdoc/RubyXL/MacrosFile.html +2 -2
- data/rdoc/RubyXL/MergedCell.html +2 -2
- data/rdoc/RubyXL/MergedCells.html +2 -2
- data/rdoc/RubyXL/NumFmt.html +2 -2
- data/rdoc/RubyXL/NumberFormat.html +2 -2
- data/rdoc/RubyXL/NumberFormats.html +2 -2
- data/rdoc/RubyXL/OLEObject.html +2 -2
- data/rdoc/RubyXL/OLEObjectFile.html +2 -2
- data/rdoc/RubyXL/OLEObjects.html +2 -2
- data/rdoc/RubyXL/OLESize.html +2 -2
- data/rdoc/RubyXL/OOXMLContainerObject.html +2 -2
- data/rdoc/RubyXL/OOXMLObject.html +2 -2
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +2 -2
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +2 -2
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +2 -2
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +2 -2
- data/rdoc/RubyXL/Offset.html +2 -2
- data/rdoc/RubyXL/OutlineProperties.html +2 -2
- data/rdoc/RubyXL/PageMargins.html +2 -2
- data/rdoc/RubyXL/PageSetup.html +2 -2
- data/rdoc/RubyXL/PageSetupProperties.html +2 -2
- data/rdoc/RubyXL/Pane.html +2 -2
- data/rdoc/RubyXL/Parser.html +2 -2
- data/rdoc/RubyXL/PatternFill.html +2 -2
- data/rdoc/RubyXL/PhoneticProperties.html +2 -2
- data/rdoc/RubyXL/PhoneticRun.html +2 -2
- data/rdoc/RubyXL/PivotArea.html +2 -2
- data/rdoc/RubyXL/PivotCache.html +2 -2
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +2 -2
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +2 -2
- data/rdoc/RubyXL/PivotCaches.html +2 -2
- data/rdoc/RubyXL/PivotReference.html +2 -2
- data/rdoc/RubyXL/PivotReferences.html +2 -2
- data/rdoc/RubyXL/PivotTableFile.html +2 -2
- data/rdoc/RubyXL/PivotTableSelection.html +2 -2
- data/rdoc/RubyXL/PresetGeometry.html +2 -2
- data/rdoc/RubyXL/PrintOptions.html +2 -2
- data/rdoc/RubyXL/PrinterSettingsFile.html +2 -2
- data/rdoc/RubyXL/ProtectedRange.html +2 -2
- data/rdoc/RubyXL/ProtectedRanges.html +2 -2
- data/rdoc/RubyXL/Protection.html +2 -2
- data/rdoc/RubyXL/RID.html +2 -2
- data/rdoc/RubyXL/RawOOXML.html +2 -2
- data/rdoc/RubyXL/Reference.html +2 -2
- data/rdoc/RubyXL/Relationship.html +2 -2
- data/rdoc/RubyXL/RelationshipSupport.html +2 -2
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +2 -2
- data/rdoc/RubyXL/RichText.html +2 -2
- data/rdoc/RubyXL/RichTextRun.html +2 -2
- data/rdoc/RubyXL/Row.html +2 -2
- data/rdoc/RubyXL/RowExt.html +2 -2
- data/rdoc/RubyXL/RunProperties.html +2 -2
- data/rdoc/RubyXL/Scenario.html +2 -2
- data/rdoc/RubyXL/Scenarios.html +2 -2
- data/rdoc/RubyXL/Selection.html +2 -2
- data/rdoc/RubyXL/ShapeGuide.html +2 -2
- data/rdoc/RubyXL/ShapeTextRectangle.html +2 -2
- data/rdoc/RubyXL/SharedStringsTable.html +2 -2
- data/rdoc/RubyXL/Sheet.html +2 -2
- data/rdoc/RubyXL/SheetCalculationProperties.html +2 -2
- data/rdoc/RubyXL/SheetData.html +2 -2
- data/rdoc/RubyXL/SheetDataExt.html +2 -2
- data/rdoc/RubyXL/SheetDataSet.html +2 -2
- data/rdoc/RubyXL/SheetName.html +2 -2
- data/rdoc/RubyXL/SheetNames.html +2 -2
- data/rdoc/RubyXL/Sheets.html +2 -2
- data/rdoc/RubyXL/SlicerCacheFile.html +2 -2
- data/rdoc/RubyXL/SlicerFile.html +2 -2
- data/rdoc/RubyXL/SmartTagProperties.html +2 -2
- data/rdoc/RubyXL/SmartTagType.html +2 -2
- data/rdoc/RubyXL/SmartTagTypes.html +2 -2
- data/rdoc/RubyXL/SmartTags.html +2 -2
- data/rdoc/RubyXL/SortCondition.html +2 -2
- data/rdoc/RubyXL/SortState.html +2 -2
- data/rdoc/RubyXL/Sqref.html +2 -2
- data/rdoc/RubyXL/Stop.html +2 -2
- data/rdoc/RubyXL/StringNode.html +2 -2
- data/rdoc/RubyXL/StringNodeW3C.html +2 -2
- data/rdoc/RubyXL/StringValue.html +2 -2
- data/rdoc/RubyXL/Stylesheet.html +2 -2
- data/rdoc/RubyXL/TableFile.html +2 -2
- data/rdoc/RubyXL/TableParts.html +2 -2
- data/rdoc/RubyXL/TableStyle.html +2 -2
- data/rdoc/RubyXL/TableStyles.html +2 -2
- data/rdoc/RubyXL/Text.html +2 -2
- data/rdoc/RubyXL/Theme.html +2 -2
- data/rdoc/RubyXL/ThemeElements.html +2 -2
- data/rdoc/RubyXL/ThumbnailFile.html +2 -2
- data/rdoc/RubyXL/Top10.html +2 -2
- data/rdoc/RubyXL/VMLDrawingFile.html +2 -2
- data/rdoc/RubyXL/Variant.html +2 -2
- data/rdoc/RubyXL/Vector.html +2 -2
- data/rdoc/RubyXL/VectorValue.html +2 -2
- data/rdoc/RubyXL/VisualProperties.html +2 -2
- data/rdoc/RubyXL/WebPublishObject.html +2 -2
- data/rdoc/RubyXL/WebPublishObjects.html +2 -2
- data/rdoc/RubyXL/WebPublishingItem.html +2 -2
- data/rdoc/RubyXL/WebPublishingItems.html +2 -2
- data/rdoc/RubyXL/WebPublishingProperties.html +2 -2
- data/rdoc/RubyXL/Workbook.html +2 -2
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +7 -3
- data/rdoc/RubyXL/WorkbookProperties.html +2 -2
- data/rdoc/RubyXL/WorkbookProtection.html +2 -2
- data/rdoc/RubyXL/WorkbookRoot.html +2 -2
- data/rdoc/RubyXL/WorkbookView.html +2 -2
- data/rdoc/RubyXL/WorkbookViews.html +2 -2
- data/rdoc/RubyXL/Worksheet.html +5 -5
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +70 -70
- data/rdoc/RubyXL/WorksheetDimensions.html +2 -2
- data/rdoc/RubyXL/WorksheetFormatProperties.html +2 -2
- data/rdoc/RubyXL/WorksheetProperties.html +2 -2
- data/rdoc/RubyXL/WorksheetProtection.html +2 -2
- data/rdoc/RubyXL/WorksheetView.html +2 -2
- data/rdoc/RubyXL/WorksheetViews.html +2 -2
- data/rdoc/RubyXL/XF.html +2 -2
- data/rdoc/created.rid +6 -6
- data/rdoc/index.html +7 -3
- data/rdoc/js/navigation.js.gz +0 -0
- data/rdoc/js/search_index.js +1 -1
- data/rdoc/js/search_index.js.gz +0 -0
- data/rdoc/js/searcher.js.gz +0 -0
- data/rdoc/table_of_contents.html +14 -3
- data/rubyXL.gemspec +39 -37
- metadata +5 -3
data/rdoc/RubyXL/Variant.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::Variant - rubyXL 3.3.
|
7
|
+
<title>class RubyXL::Variant - rubyXL 3.3.24</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -100,7 +100,7 @@ href="http://www.schemacentral.com/sc/ooxml/e-docPropsVTypes_variant.html">www.s
|
|
100
100
|
|
101
101
|
<footer id="validator-badges" role="contentinfo">
|
102
102
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
103
|
-
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.
|
103
|
+
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
|
104
104
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
105
105
|
</footer>
|
106
106
|
|
data/rdoc/RubyXL/Vector.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::Vector - rubyXL 3.3.
|
7
|
+
<title>class RubyXL::Vector - rubyXL 3.3.24</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -155,7 +155,7 @@ href="http://www.schemacentral.com/sc/ooxml/e-docPropsVTypes_vector.html">www.sc
|
|
155
155
|
|
156
156
|
<footer id="validator-badges" role="contentinfo">
|
157
157
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
158
|
-
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.
|
158
|
+
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
|
159
159
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
160
160
|
</footer>
|
161
161
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::VectorValue - rubyXL 3.3.
|
7
|
+
<title>class RubyXL::VectorValue - rubyXL 3.3.24</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -97,7 +97,7 @@
|
|
97
97
|
|
98
98
|
<footer id="validator-badges" role="contentinfo">
|
99
99
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
100
|
-
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.
|
100
|
+
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
|
101
101
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
102
102
|
</footer>
|
103
103
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::VisualProperties - rubyXL 3.3.
|
7
|
+
<title>class RubyXL::VisualProperties - rubyXL 3.3.24</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -100,7 +100,7 @@ href="http://www.schemacentral.com/sc/ooxml/e-a_spPr-1.html">www.schemacentral.c
|
|
100
100
|
|
101
101
|
<footer id="validator-badges" role="contentinfo">
|
102
102
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
103
|
-
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.
|
103
|
+
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
|
104
104
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
105
105
|
</footer>
|
106
106
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::WebPublishObject - rubyXL 3.3.
|
7
|
+
<title>class RubyXL::WebPublishObject - rubyXL 3.3.24</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -100,7 +100,7 @@ href="http://www.schemacentral.com/sc/ooxml/e-ssml_webPublishObject-1.html">www.
|
|
100
100
|
|
101
101
|
<footer id="validator-badges" role="contentinfo">
|
102
102
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
103
|
-
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.
|
103
|
+
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
|
104
104
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
105
105
|
</footer>
|
106
106
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::WebPublishObjects - rubyXL 3.3.
|
7
|
+
<title>class RubyXL::WebPublishObjects - rubyXL 3.3.24</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -100,7 +100,7 @@ href="http://www.schemacentral.com/sc/ooxml/e-ssml_webPublishObjects-1.html">www
|
|
100
100
|
|
101
101
|
<footer id="validator-badges" role="contentinfo">
|
102
102
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
103
|
-
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.
|
103
|
+
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
|
104
104
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
105
105
|
</footer>
|
106
106
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::WebPublishingItem - rubyXL 3.3.
|
7
|
+
<title>class RubyXL::WebPublishingItem - rubyXL 3.3.24</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -100,7 +100,7 @@ href="http://www.schemacentral.com/sc/ooxml/e-ssml_webPublishItem-1.html">www.sc
|
|
100
100
|
|
101
101
|
<footer id="validator-badges" role="contentinfo">
|
102
102
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
103
|
-
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.
|
103
|
+
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
|
104
104
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
105
105
|
</footer>
|
106
106
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::WebPublishingItems - rubyXL 3.3.
|
7
|
+
<title>class RubyXL::WebPublishingItems - rubyXL 3.3.24</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -100,7 +100,7 @@ href="http://www.schemacentral.com/sc/ooxml/e-ssml_webPublishItems-1.html">www.s
|
|
100
100
|
|
101
101
|
<footer id="validator-badges" role="contentinfo">
|
102
102
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
103
|
-
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.
|
103
|
+
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
|
104
104
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
105
105
|
</footer>
|
106
106
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::WebPublishingProperties - rubyXL 3.3.
|
7
|
+
<title>class RubyXL::WebPublishingProperties - rubyXL 3.3.24</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -100,7 +100,7 @@ href="http://www.schemacentral.com/sc/ooxml/e-ssml_webPublishing-1.html">www.sch
|
|
100
100
|
|
101
101
|
<footer id="validator-badges" role="contentinfo">
|
102
102
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
103
|
-
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.
|
103
|
+
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
|
104
104
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
105
105
|
</footer>
|
106
106
|
|
data/rdoc/RubyXL/Workbook.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::Workbook - rubyXL 3.3.
|
7
|
+
<title>class RubyXL::Workbook - rubyXL 3.3.24</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -627,7 +627,7 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
627
627
|
|
628
628
|
<footer id="validator-badges" role="contentinfo">
|
629
629
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
630
|
-
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.
|
630
|
+
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
|
631
631
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
632
632
|
</footer>
|
633
633
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>module RubyXL::WorkbookConvenienceMethods - rubyXL 3.3.
|
7
|
+
<title>module RubyXL::WorkbookConvenienceMethods - rubyXL 3.3.24</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -1049,6 +1049,10 @@
|
|
1049
1049
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">modify_border</span>(<span class="ruby-identifier">style_index</span>, <span class="ruby-identifier">direction</span>, <span class="ruby-identifier">weight</span>)
|
1050
1050
|
<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>
|
1051
1051
|
<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>
|
1052
|
+
|
1053
|
+
<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>)
|
1054
|
+
<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>
|
1055
|
+
|
1052
1056
|
<span class="ruby-identifier">new_border</span>.<span class="ruby-identifier">set_edge_style</span>(<span class="ruby-identifier">direction</span>, <span class="ruby-identifier">weight</span>)
|
1053
1057
|
|
1054
1058
|
<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>
|
@@ -1087,7 +1091,7 @@
|
|
1087
1091
|
|
1088
1092
|
|
1089
1093
|
<div class="method-source-code" id="modify_border_color-source">
|
1090
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1094
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 185</span>
|
1091
1095
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">modify_border_color</span>(<span class="ruby-identifier">style_index</span>, <span class="ruby-identifier">direction</span>, <span class="ruby-identifier">color</span>)
|
1092
1096
|
<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>
|
1093
1097
|
<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>
|
@@ -1267,7 +1271,7 @@
|
|
1267
1271
|
|
1268
1272
|
<footer id="validator-badges" role="contentinfo">
|
1269
1273
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
1270
|
-
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.
|
1274
|
+
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
|
1271
1275
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
1272
1276
|
</footer>
|
1273
1277
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::WorkbookProperties - rubyXL 3.3.
|
7
|
+
<title>class RubyXL::WorkbookProperties - rubyXL 3.3.24</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -100,7 +100,7 @@ href="http://www.schemacentral.com/sc/ooxml/e-ssml_workbookPr-1.html">www.schema
|
|
100
100
|
|
101
101
|
<footer id="validator-badges" role="contentinfo">
|
102
102
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
103
|
-
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.
|
103
|
+
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
|
104
104
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
105
105
|
</footer>
|
106
106
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::WorkbookProtection - rubyXL 3.3.
|
7
|
+
<title>class RubyXL::WorkbookProtection - rubyXL 3.3.24</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -100,7 +100,7 @@ href="http://www.schemacentral.com/sc/ooxml/e-ssml_workbookProtection-1.html">ww
|
|
100
100
|
|
101
101
|
<footer id="validator-badges" role="contentinfo">
|
102
102
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
103
|
-
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.
|
103
|
+
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
|
104
104
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
105
105
|
</footer>
|
106
106
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::WorkbookRoot - rubyXL 3.3.
|
7
|
+
<title>class RubyXL::WorkbookRoot - rubyXL 3.3.24</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -396,7 +396,7 @@
|
|
396
396
|
|
397
397
|
<footer id="validator-badges" role="contentinfo">
|
398
398
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
399
|
-
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.
|
399
|
+
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
|
400
400
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
401
401
|
</footer>
|
402
402
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::WorkbookView - rubyXL 3.3.
|
7
|
+
<title>class RubyXL::WorkbookView - rubyXL 3.3.24</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -100,7 +100,7 @@ href="http://www.schemacentral.com/sc/ooxml/e-ssml_workbookView-1.html">www.sche
|
|
100
100
|
|
101
101
|
<footer id="validator-badges" role="contentinfo">
|
102
102
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
103
|
-
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.
|
103
|
+
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
|
104
104
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
105
105
|
</footer>
|
106
106
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::WorkbookViews - rubyXL 3.3.
|
7
|
+
<title>class RubyXL::WorkbookViews - rubyXL 3.3.24</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -100,7 +100,7 @@ href="http://www.schemacentral.com/sc/ooxml/e-ssml_bookViews-1.html">www.schemac
|
|
100
100
|
|
101
101
|
<footer id="validator-badges" role="contentinfo">
|
102
102
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
103
|
-
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.
|
103
|
+
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
|
104
104
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
105
105
|
</footer>
|
106
106
|
|
data/rdoc/RubyXL/Worksheet.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::Worksheet - rubyXL 3.3.
|
7
|
+
<title>class RubyXL::Worksheet - rubyXL 3.3.24</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -251,7 +251,7 @@ href="http://www.schemacentral.com/sc/ooxml/e-ssml_worksheet.html">www.schemacen
|
|
251
251
|
|
252
252
|
|
253
253
|
<div class="method-source-code" id="parse-source">
|
254
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/worksheet.rb, line
|
254
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/worksheet.rb, line 734</span>
|
255
255
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">param</span>)
|
256
256
|
<span class="ruby-identifier">sheet_obj</span> = <span class="ruby-keyword">super</span>
|
257
257
|
<span class="ruby-identifier">sheet_obj</span>.<span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">r</span><span class="ruby-operator">|</span>
|
@@ -298,7 +298,7 @@ href="http://www.schemacentral.com/sc/ooxml/e-ssml_worksheet.html">www.schemacen
|
|
298
298
|
|
299
299
|
|
300
300
|
<div class="method-source-code" id="before_write_xml-source">
|
301
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/worksheet.rb, line
|
301
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/worksheet.rb, line 685</span>
|
302
302
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">before_write_xml</span> <span class="ruby-comment"># This method may need to be moved higher in the hierarchy</span>
|
303
303
|
<span class="ruby-identifier">first_nonempty_row</span> = <span class="ruby-keyword">nil</span>
|
304
304
|
<span class="ruby-identifier">last_nonempty_row</span> = <span class="ruby-value">0</span>
|
@@ -405,7 +405,7 @@ href="http://www.schemacentral.com/sc/ooxml/e-ssml_worksheet.html">www.schemacen
|
|
405
405
|
|
406
406
|
|
407
407
|
<div class="method-source-code" id="xlsx_path-source">
|
408
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/worksheet.rb, line
|
408
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/worksheet.rb, line 730</span>
|
409
409
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">xlsx_path</span>
|
410
410
|
<span class="ruby-constant">ROOT</span>.<span class="ruby-identifier">join</span>(<span class="ruby-string">'xl'</span>, <span class="ruby-string">'worksheets'</span>, <span class="ruby-node">"sheet#{file_index}.xml"</span>)
|
411
411
|
<span class="ruby-keyword">end</span></pre>
|
@@ -427,7 +427,7 @@ href="http://www.schemacentral.com/sc/ooxml/e-ssml_worksheet.html">www.schemacen
|
|
427
427
|
|
428
428
|
<footer id="validator-badges" role="contentinfo">
|
429
429
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
430
|
-
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.
|
430
|
+
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
|
431
431
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
432
432
|
</footer>
|
433
433
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>module RubyXL::WorksheetConvenienceMethods - rubyXL 3.3.
|
7
|
+
<title>module RubyXL::WorksheetConvenienceMethods - rubyXL 3.3.24</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -297,7 +297,7 @@
|
|
297
297
|
|
298
298
|
|
299
299
|
<div class="method-source-code" id="change_column_alignment-source">
|
300
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
300
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 789</span>
|
301
301
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_alignment</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
302
302
|
<span class="ruby-identifier">validate_workbook</span>
|
303
303
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
|
@@ -341,7 +341,7 @@
|
|
341
341
|
|
342
342
|
|
343
343
|
<div class="method-source-code" id="change_column_bold-source">
|
344
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
344
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 722</span>
|
345
345
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_bold</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">bolded</span> = <span class="ruby-keyword">false</span>)
|
346
346
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
347
347
|
<span class="ruby-identifier">font</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">fonts</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">font_id</span>].<span class="ruby-identifier">dup</span>
|
@@ -377,7 +377,7 @@
|
|
377
377
|
|
378
378
|
|
379
379
|
<div class="method-source-code" id="change_column_border-source">
|
380
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
380
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 751</span>
|
381
381
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">direction</span>, <span class="ruby-identifier">weight</span>)
|
382
382
|
<span class="ruby-identifier">validate_workbook</span>
|
383
383
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
|
@@ -418,7 +418,7 @@
|
|
418
418
|
|
419
419
|
|
420
420
|
<div class="method-source-code" id="change_column_border_color-source">
|
421
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
421
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 763</span>
|
422
422
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_color</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">direction</span>, <span class="ruby-identifier">color</span>)
|
423
423
|
<span class="ruby-identifier">validate_workbook</span>
|
424
424
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
|
@@ -460,7 +460,7 @@
|
|
460
460
|
|
461
461
|
|
462
462
|
<div class="method-source-code" id="change_column_fill-source">
|
463
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
463
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 519</span>
|
464
464
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_fill</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">color_code</span> = <span class="ruby-string">'ffffff'</span>)
|
465
465
|
<span class="ruby-identifier">validate_workbook</span>
|
466
466
|
<span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">color_code</span>)
|
@@ -503,7 +503,7 @@ change font, called from each separate font mutator method</p>
|
|
503
503
|
|
504
504
|
|
505
505
|
<div class="method-source-code" id="change_column_font-source">
|
506
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
506
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 679</span>
|
507
507
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_font</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">change_type</span>, <span class="ruby-identifier">arg</span>, <span class="ruby-identifier">font</span>, <span class="ruby-identifier">xf</span>)
|
508
508
|
<span class="ruby-identifier">validate_workbook</span>
|
509
509
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
|
@@ -545,7 +545,7 @@ change font, called from each separate font mutator method</p>
|
|
545
545
|
|
546
546
|
|
547
547
|
<div class="method-source-code" id="change_column_font_color-source">
|
548
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
548
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 706</span>
|
549
549
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_font_color</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">font_color</span>=<span class="ruby-string">'000000'</span>)
|
550
550
|
<span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">font_color</span>)
|
551
551
|
|
@@ -583,7 +583,7 @@ change font, called from each separate font mutator method</p>
|
|
583
583
|
|
584
584
|
|
585
585
|
<div class="method-source-code" id="change_column_font_name-source">
|
586
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
586
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 692</span>
|
587
587
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_font_name</span>(<span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">font_name</span> = <span class="ruby-string">'Verdana'</span>)
|
588
588
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
589
589
|
<span class="ruby-identifier">font</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">fonts</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">font_id</span>].<span class="ruby-identifier">dup</span>
|
@@ -619,7 +619,7 @@ change font, called from each separate font mutator method</p>
|
|
619
619
|
|
620
620
|
|
621
621
|
<div class="method-source-code" id="change_column_font_size-source">
|
622
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
622
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 699</span>
|
623
623
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_font_size</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">font_size</span>=<span class="ruby-value">10</span>)
|
624
624
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
625
625
|
<span class="ruby-identifier">font</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">fonts</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">font_id</span>].<span class="ruby-identifier">dup</span>
|
@@ -655,7 +655,7 @@ change font, called from each separate font mutator method</p>
|
|
655
655
|
|
656
656
|
|
657
657
|
<div class="method-source-code" id="change_column_horizontal_alignment-source">
|
658
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
658
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 743</span>
|
659
659
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_horizontal_alignment</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">alignment</span> = <span class="ruby-string">'center'</span>)
|
660
660
|
<span class="ruby-identifier">change_column_alignment</span>(<span class="ruby-identifier">column_index</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">horizontal</span> = <span class="ruby-identifier">alignment</span> }
|
661
661
|
<span class="ruby-keyword">end</span></pre>
|
@@ -688,7 +688,7 @@ change font, called from each separate font mutator method</p>
|
|
688
688
|
|
689
689
|
|
690
690
|
<div class="method-source-code" id="change_column_italics-source">
|
691
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
691
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 715</span>
|
692
692
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_italics</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">italicized</span> = <span class="ruby-keyword">false</span>)
|
693
693
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
694
694
|
<span class="ruby-identifier">font</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">fonts</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">font_id</span>].<span class="ruby-identifier">dup</span>
|
@@ -724,7 +724,7 @@ change font, called from each separate font mutator method</p>
|
|
724
724
|
|
725
725
|
|
726
726
|
<div class="method-source-code" id="change_column_strikethrough-source">
|
727
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
727
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 736</span>
|
728
728
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_strikethrough</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">struckthrough</span>=<span class="ruby-keyword">false</span>)
|
729
729
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
730
730
|
<span class="ruby-identifier">font</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">fonts</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">font_id</span>].<span class="ruby-identifier">dup</span>
|
@@ -760,7 +760,7 @@ change font, called from each separate font mutator method</p>
|
|
760
760
|
|
761
761
|
|
762
762
|
<div class="method-source-code" id="change_column_underline-source">
|
763
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
763
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 729</span>
|
764
764
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_underline</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">underlined</span> = <span class="ruby-keyword">false</span>)
|
765
765
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
766
766
|
<span class="ruby-identifier">font</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">fonts</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">font_id</span>].<span class="ruby-identifier">dup</span>
|
@@ -796,7 +796,7 @@ change font, called from each separate font mutator method</p>
|
|
796
796
|
|
797
797
|
|
798
798
|
<div class="method-source-code" id="change_column_vertical_alignment-source">
|
799
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
799
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 747</span>
|
800
800
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_vertical_alignment</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">alignment</span> = <span class="ruby-string">'center'</span>)
|
801
801
|
<span class="ruby-identifier">change_column_alignment</span>(<span class="ruby-identifier">column_index</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">vertical</span> = <span class="ruby-identifier">alignment</span> }
|
802
802
|
<span class="ruby-keyword">end</span></pre>
|
@@ -830,7 +830,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
830
830
|
|
831
831
|
|
832
832
|
<div class="method-source-code" id="change_column_width-source">
|
833
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
833
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 502</span>
|
834
834
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_width</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">width_in_chars</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">ColumnRange</span><span class="ruby-operator">::</span><span class="ruby-constant">DEFAULT_WIDTH</span>)
|
835
835
|
<span class="ruby-identifier">change_column_width_raw</span>(<span class="ruby-identifier">column_index</span>, ((<span class="ruby-identifier">width_in_chars</span> <span class="ruby-operator">+</span> (<span class="ruby-value">5.0</span> <span class="ruby-operator">/</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Font</span><span class="ruby-operator">::</span><span class="ruby-constant">MAX_DIGIT_WIDTH</span>)) <span class="ruby-operator">*</span> <span class="ruby-value">256</span>).<span class="ruby-identifier">to_i</span> <span class="ruby-operator">/</span> <span class="ruby-value">256.0</span>)
|
836
836
|
<span class="ruby-keyword">end</span></pre>
|
@@ -863,7 +863,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
863
863
|
|
864
864
|
|
865
865
|
<div class="method-source-code" id="change_column_width_raw-source">
|
866
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
866
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 492</span>
|
867
867
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_width_raw</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">width</span>)
|
868
868
|
<span class="ruby-identifier">validate_workbook</span>
|
869
869
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
|
@@ -900,7 +900,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
900
900
|
|
901
901
|
|
902
902
|
<div class="method-source-code" id="change_row_alignment-source">
|
903
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
903
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 776</span>
|
904
904
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_alignment</span>(<span class="ruby-identifier">row</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
905
905
|
<span class="ruby-identifier">validate_workbook</span>
|
906
906
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
|
@@ -942,7 +942,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
942
942
|
|
943
943
|
|
944
944
|
<div class="method-source-code" id="change_row_bold-source">
|
945
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
945
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 647</span>
|
946
946
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_bold</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">bolded</span> = <span class="ruby-keyword">false</span>)
|
947
947
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
948
948
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>).<span class="ruby-identifier">dup</span>
|
@@ -978,7 +978,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
978
978
|
|
979
979
|
|
980
980
|
<div class="method-source-code" id="change_row_border-source">
|
981
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
981
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 573</span>
|
982
982
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">direction</span>, <span class="ruby-identifier">weight</span>)
|
983
983
|
<span class="ruby-identifier">validate_workbook</span>
|
984
984
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
@@ -1018,7 +1018,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
1018
1018
|
|
1019
1019
|
|
1020
1020
|
<div class="method-source-code" id="change_row_border_color-source">
|
1021
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1021
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 584</span>
|
1022
1022
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_border_color</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">direction</span>, <span class="ruby-identifier">color</span> = <span class="ruby-string">'000000'</span>)
|
1023
1023
|
<span class="ruby-identifier">validate_workbook</span>
|
1024
1024
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
@@ -1059,7 +1059,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
1059
1059
|
|
1060
1060
|
|
1061
1061
|
<div class="method-source-code" id="change_row_fill-source">
|
1062
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1062
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 596</span>
|
1063
1063
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_fill</span>(<span class="ruby-identifier">row_index</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">rgb</span> = <span class="ruby-string">'ffffff'</span>)
|
1064
1064
|
<span class="ruby-identifier">validate_workbook</span>
|
1065
1065
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row_index</span>)
|
@@ -1101,7 +1101,7 @@ change font, called from each separate font mutator method</p>
|
|
1101
1101
|
|
1102
1102
|
|
1103
1103
|
<div class="method-source-code" id="change_row_font-source">
|
1104
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1104
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 608</span>
|
1105
1105
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_font</span>(<span class="ruby-identifier">row_index</span>, <span class="ruby-identifier">change_type</span>, <span class="ruby-identifier">arg</span>, <span class="ruby-identifier">font</span>)
|
1106
1106
|
<span class="ruby-identifier">validate_workbook</span>
|
1107
1107
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row_index</span>)
|
@@ -1140,7 +1140,7 @@ change font, called from each separate font mutator method</p>
|
|
1140
1140
|
|
1141
1141
|
|
1142
1142
|
<div class="method-source-code" id="change_row_font_color-source">
|
1143
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1143
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 632</span>
|
1144
1144
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_font_color</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">font_color</span> = <span class="ruby-string">'000000'</span>)
|
1145
1145
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
1146
1146
|
<span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">font_color</span>)
|
@@ -1177,7 +1177,7 @@ change font, called from each separate font mutator method</p>
|
|
1177
1177
|
|
1178
1178
|
|
1179
1179
|
<div class="method-source-code" id="change_row_font_name-source">
|
1180
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1180
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 618</span>
|
1181
1181
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_font_name</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">font_name</span> = <span class="ruby-string">'Verdana'</span>)
|
1182
1182
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
1183
1183
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>).<span class="ruby-identifier">dup</span>
|
@@ -1213,7 +1213,7 @@ change font, called from each separate font mutator method</p>
|
|
1213
1213
|
|
1214
1214
|
|
1215
1215
|
<div class="method-source-code" id="change_row_font_size-source">
|
1216
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1216
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 625</span>
|
1217
1217
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_font_size</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">font_size</span>=<span class="ruby-value">10</span>)
|
1218
1218
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
1219
1219
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>).<span class="ruby-identifier">dup</span>
|
@@ -1249,7 +1249,7 @@ change font, called from each separate font mutator method</p>
|
|
1249
1249
|
|
1250
1250
|
|
1251
1251
|
<div class="method-source-code" id="change_row_height-source">
|
1252
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1252
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 668</span>
|
1253
1253
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_height</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">height</span> = <span class="ruby-value">10</span>)
|
1254
1254
|
<span class="ruby-identifier">validate_workbook</span>
|
1255
1255
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
@@ -1287,7 +1287,7 @@ change font, called from each separate font mutator method</p>
|
|
1287
1287
|
|
1288
1288
|
|
1289
1289
|
<div class="method-source-code" id="change_row_horizontal_alignment-source">
|
1290
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1290
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 561</span>
|
1291
1291
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_horizontal_alignment</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">alignment</span> = <span class="ruby-string">'center'</span>)
|
1292
1292
|
<span class="ruby-identifier">validate_workbook</span>
|
1293
1293
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
|
@@ -1322,7 +1322,7 @@ change font, called from each separate font mutator method</p>
|
|
1322
1322
|
|
1323
1323
|
|
1324
1324
|
<div class="method-source-code" id="change_row_italics-source">
|
1325
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1325
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 640</span>
|
1326
1326
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_italics</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">italicized</span> = <span class="ruby-keyword">false</span>)
|
1327
1327
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
1328
1328
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>).<span class="ruby-identifier">dup</span>
|
@@ -1358,7 +1358,7 @@ change font, called from each separate font mutator method</p>
|
|
1358
1358
|
|
1359
1359
|
|
1360
1360
|
<div class="method-source-code" id="change_row_strikethrough-source">
|
1361
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1361
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 661</span>
|
1362
1362
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_strikethrough</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">struckthrough</span>=<span class="ruby-keyword">false</span>)
|
1363
1363
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
1364
1364
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>).<span class="ruby-identifier">dup</span>
|
@@ -1394,7 +1394,7 @@ change font, called from each separate font mutator method</p>
|
|
1394
1394
|
|
1395
1395
|
|
1396
1396
|
<div class="method-source-code" id="change_row_underline-source">
|
1397
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1397
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 654</span>
|
1398
1398
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_underline</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">underlined</span>=<span class="ruby-keyword">false</span>)
|
1399
1399
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
1400
1400
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>).<span class="ruby-identifier">dup</span>
|
@@ -1430,7 +1430,7 @@ change font, called from each separate font mutator method</p>
|
|
1430
1430
|
|
1431
1431
|
|
1432
1432
|
<div class="method-source-code" id="change_row_vertical_alignment-source">
|
1433
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1433
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 567</span>
|
1434
1434
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_vertical_alignment</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">alignment</span> = <span class="ruby-string">'center'</span>)
|
1435
1435
|
<span class="ruby-identifier">validate_workbook</span>
|
1436
1436
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
|
@@ -1465,7 +1465,7 @@ change font, called from each separate font mutator method</p>
|
|
1465
1465
|
|
1466
1466
|
|
1467
1467
|
<div class="method-source-code" id="column_font-source">
|
1468
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1468
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 548</span>
|
1469
1469
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
1470
1470
|
<span class="ruby-identifier">validate_workbook</span>
|
1471
1471
|
|
@@ -1502,7 +1502,7 @@ specified, method will shift column contents below the deleted cell upward</p>
|
|
1502
1502
|
|
1503
1503
|
|
1504
1504
|
<div class="method-source-code" id="delete_cell-source">
|
1505
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1505
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 232</span>
|
1506
1506
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">delete_cell</span>(<span class="ruby-identifier">row_index</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">shift</span>=<span class="ruby-keyword">nil</span>)
|
1507
1507
|
<span class="ruby-identifier">validate_workbook</span>
|
1508
1508
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row_index</span>)
|
@@ -1556,7 +1556,7 @@ specified, method will shift column contents below the deleted cell upward</p>
|
|
1556
1556
|
|
1557
1557
|
|
1558
1558
|
<div class="method-source-code" id="delete_column-source">
|
1559
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1559
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 341</span>
|
1560
1560
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">delete_column</span>(<span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>)
|
1561
1561
|
<span class="ruby-identifier">validate_workbook</span>
|
1562
1562
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">column_index</span>)
|
@@ -1602,7 +1602,7 @@ specified, method will shift column contents below the deleted cell upward</p>
|
|
1602
1602
|
|
1603
1603
|
|
1604
1604
|
<div class="method-source-code" id="delete_row-source">
|
1605
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1605
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 297</span>
|
1606
1606
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">delete_row</span>(<span class="ruby-identifier">row_index</span>=<span class="ruby-value">0</span>)
|
1607
1607
|
<span class="ruby-identifier">validate_workbook</span>
|
1608
1608
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row_index</span>)
|
@@ -1646,7 +1646,7 @@ specified, method will shift column contents below the deleted cell upward</p>
|
|
1646
1646
|
|
1647
1647
|
|
1648
1648
|
<div class="method-source-code" id="get_col_style-source">
|
1649
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1649
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 507</span>
|
1650
1650
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_col_style</span>(<span class="ruby-identifier">column_index</span>)
|
1651
1651
|
<span class="ruby-identifier">range</span> = <span class="ruby-identifier">cols</span>.<span class="ruby-identifier">locate_range</span>(<span class="ruby-identifier">column_index</span>)
|
1652
1652
|
(<span class="ruby-identifier">range</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">range</span>.<span class="ruby-identifier">style_index</span>) <span class="ruby-operator">||</span> <span class="ruby-value">0</span>
|
@@ -1680,7 +1680,7 @@ specified, method will shift column contents below the deleted cell upward</p>
|
|
1680
1680
|
|
1681
1681
|
|
1682
1682
|
<div class="method-source-code" id="get_cols_style_index-source">
|
1683
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1683
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 433</span>
|
1684
1684
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_cols_style_index</span>(<span class="ruby-identifier">column_index</span>)
|
1685
1685
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">column_index</span>)
|
1686
1686
|
<span class="ruby-identifier">range</span> = <span class="ruby-identifier">cols</span>.<span class="ruby-identifier">locate_range</span>(<span class="ruby-identifier">column_index</span>)
|
@@ -1715,7 +1715,7 @@ specified, method will shift column contents below the deleted cell upward</p>
|
|
1715
1715
|
|
1716
1716
|
|
1717
1717
|
<div class="method-source-code" id="get_column_alignment-source">
|
1718
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1718
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 554</span>
|
1719
1719
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_alignment</span>(<span class="ruby-identifier">col</span>, <span class="ruby-identifier">type</span>)
|
1720
1720
|
<span class="ruby-identifier">validate_workbook</span>
|
1721
1721
|
|
@@ -1751,7 +1751,7 @@ specified, method will shift column contents below the deleted cell upward</p>
|
|
1751
1751
|
|
1752
1752
|
|
1753
1753
|
<div class="method-source-code" id="get_column_border-source">
|
1754
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1754
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 532</span>
|
1755
1755
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-identifier">border_direction</span>)
|
1756
1756
|
<span class="ruby-identifier">validate_workbook</span>
|
1757
1757
|
|
@@ -1788,7 +1788,7 @@ specified, method will shift column contents below the deleted cell upward</p>
|
|
1788
1788
|
|
1789
1789
|
|
1790
1790
|
<div class="method-source-code" id="get_column_border_color-source">
|
1791
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1791
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 540</span>
|
1792
1792
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_border_color</span>(<span class="ruby-identifier">col</span>, <span class="ruby-identifier">border_direction</span>)
|
1793
1793
|
<span class="ruby-identifier">validate_workbook</span>
|
1794
1794
|
|
@@ -1825,7 +1825,7 @@ specified, method will shift column contents below the deleted cell upward</p>
|
|
1825
1825
|
|
1826
1826
|
|
1827
1827
|
<div class="method-source-code" id="get_column_fill-source">
|
1828
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1828
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 512</span>
|
1829
1829
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_fill</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
|
1830
1830
|
<span class="ruby-identifier">validate_workbook</span>
|
1831
1831
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">col</span>)
|
@@ -1861,7 +1861,7 @@ specified, method will shift column contents below the deleted cell upward</p>
|
|
1861
1861
|
|
1862
1862
|
|
1863
1863
|
<div class="method-source-code" id="get_column_font_color-source">
|
1864
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1864
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 449</span>
|
1865
1865
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_font_color</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
|
1866
1866
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
1867
1867
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> (<span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_rgb_color</span> <span class="ruby-operator">||</span> <span class="ruby-string">'000000'</span>)
|
@@ -1895,7 +1895,7 @@ specified, method will shift column contents below the deleted cell upward</p>
|
|
1895
1895
|
|
1896
1896
|
|
1897
1897
|
<div class="method-source-code" id="get_column_font_name-source">
|
1898
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1898
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 439</span>
|
1899
1899
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_font_name</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
|
1900
1900
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
1901
1901
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_name</span>
|
@@ -1929,7 +1929,7 @@ specified, method will shift column contents below the deleted cell upward</p>
|
|
1929
1929
|
|
1930
1930
|
|
1931
1931
|
<div class="method-source-code" id="get_column_font_size-source">
|
1932
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1932
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 444</span>
|
1933
1933
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_font_size</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
|
1934
1934
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
1935
1935
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_size</span>
|
@@ -1964,7 +1964,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
1964
1964
|
|
1965
1965
|
|
1966
1966
|
<div class="method-source-code" id="get_column_width-source">
|
1967
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1967
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 485</span>
|
1968
1968
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_width</span>(<span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>)
|
1969
1969
|
<span class="ruby-identifier">width</span> = <span class="ruby-identifier">get_column_width_raw</span>(<span class="ruby-identifier">column_index</span>)
|
1970
1970
|
<span class="ruby-keyword">return</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">ColumnRange</span><span class="ruby-operator">::</span><span class="ruby-constant">DEFAULT_WIDTH</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">width</span>.<span class="ruby-identifier">nil?</span>
|
@@ -1999,7 +1999,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
1999
1999
|
|
2000
2000
|
|
2001
2001
|
<div class="method-source-code" id="get_column_width_raw-source">
|
2002
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
2002
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 475</span>
|
2003
2003
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_width_raw</span>(<span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>)
|
2004
2004
|
<span class="ruby-identifier">validate_workbook</span>
|
2005
2005
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">column_index</span>)
|
@@ -2036,7 +2036,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
2036
2036
|
|
2037
2037
|
|
2038
2038
|
<div class="method-source-code" id="get_row_alignment-source">
|
2039
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
2039
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 422</span>
|
2040
2040
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_alignment</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">is_horizontal</span>)
|
2041
2041
|
<span class="ruby-identifier">validate_workbook</span>
|
2042
2042
|
|
@@ -2076,7 +2076,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
2076
2076
|
|
2077
2077
|
|
2078
2078
|
<div class="method-source-code" id="get_row_border-source">
|
2079
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
2079
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 404</span>
|
2080
2080
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">border_direction</span>)
|
2081
2081
|
<span class="ruby-identifier">validate_workbook</span>
|
2082
2082
|
|
@@ -2112,7 +2112,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
2112
2112
|
|
2113
2113
|
|
2114
2114
|
<div class="method-source-code" id="get_row_border_color-source">
|
2115
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
2115
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 411</span>
|
2116
2116
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_border_color</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">border_direction</span>)
|
2117
2117
|
<span class="ruby-identifier">validate_workbook</span>
|
2118
2118
|
|
@@ -2148,7 +2148,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
2148
2148
|
|
2149
2149
|
|
2150
2150
|
<div class="method-source-code" id="get_row_fill-source">
|
2151
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
2151
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 363</span>
|
2152
2152
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_fill</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
2153
2153
|
(<span class="ruby-identifier">row</span> = <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">row</span>]) <span class="ruby-operator">&&</span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">get_fill_color</span>
|
2154
2154
|
<span class="ruby-keyword">end</span></pre>
|
@@ -2181,7 +2181,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
2181
2181
|
|
2182
2182
|
|
2183
2183
|
<div class="method-source-code" id="get_row_font_color-source">
|
2184
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
2184
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 375</span>
|
2185
2185
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_font_color</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
2186
2186
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)
|
2187
2187
|
<span class="ruby-identifier">color</span> = <span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">color</span>
|
@@ -2216,7 +2216,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
2216
2216
|
|
2217
2217
|
|
2218
2218
|
<div class="method-source-code" id="get_row_font_name-source">
|
2219
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
2219
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 367</span>
|
2220
2220
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_font_name</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
2221
2221
|
(<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_name</span>
|
2222
2222
|
<span class="ruby-keyword">end</span></pre>
|
@@ -2249,7 +2249,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
2249
2249
|
|
2250
2250
|
|
2251
2251
|
<div class="method-source-code" id="get_row_font_size-source">
|
2252
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
2252
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 371</span>
|
2253
2253
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_font_size</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
2254
2254
|
(<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_size</span>
|
2255
2255
|
<span class="ruby-keyword">end</span></pre>
|
@@ -2282,7 +2282,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
2282
2282
|
|
2283
2283
|
|
2284
2284
|
<div class="method-source-code" id="get_row_height-source">
|
2285
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
2285
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 397</span>
|
2286
2286
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_height</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
2287
2287
|
<span class="ruby-identifier">validate_workbook</span>
|
2288
2288
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
|
@@ -2318,7 +2318,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
2318
2318
|
|
2319
2319
|
|
2320
2320
|
<div class="method-source-code" id="get_row_style-source">
|
2321
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
2321
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 358</span>
|
2322
2322
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_style</span>(<span class="ruby-identifier">row_index</span>)
|
2323
2323
|
<span class="ruby-identifier">row</span> = <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">row_index</span>]
|
2324
2324
|
(<span class="ruby-identifier">row</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">style_index</span>) <span class="ruby-operator">||</span> <span class="ruby-value">0</span>
|
@@ -2352,7 +2352,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
2352
2352
|
|
2353
2353
|
|
2354
2354
|
<div class="method-source-code" id="insert_cell-source">
|
2355
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
2355
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 209</span>
|
2356
2356
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">insert_cell</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">data</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">formula</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">shift</span> = <span class="ruby-keyword">nil</span>)
|
2357
2357
|
<span class="ruby-identifier">validate_workbook</span>
|
2358
2358
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">col</span>)
|
@@ -2403,7 +2403,7 @@ which reference cells which are being “pushed right”</p>
|
|
2403
2403
|
|
2404
2404
|
|
2405
2405
|
<div class="method-source-code" id="insert_column-source">
|
2406
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
2406
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 314</span>
|
2407
2407
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">insert_column</span>(<span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>)
|
2408
2408
|
<span class="ruby-identifier">validate_workbook</span>
|
2409
2409
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
|
@@ -2461,7 +2461,7 @@ formulas which reference cells which are being “pushed down”</p>
|
|
2461
2461
|
|
2462
2462
|
|
2463
2463
|
<div class="method-source-code" id="insert_row-source">
|
2464
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
2464
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 259</span>
|
2465
2465
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">insert_row</span>(<span class="ruby-identifier">row_index</span> = <span class="ruby-value">0</span>)
|
2466
2466
|
<span class="ruby-identifier">validate_workbook</span>
|
2467
2467
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row_index</span>)
|
@@ -2528,7 +2528,7 @@ formulas which reference cells which are being “pushed down”</p>
|
|
2528
2528
|
|
2529
2529
|
|
2530
2530
|
<div class="method-source-code" id="is_column_bolded-source">
|
2531
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
2531
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 459</span>
|
2532
2532
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_column_bolded</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
|
2533
2533
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
2534
2534
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_bold</span>
|
@@ -2562,7 +2562,7 @@ formulas which reference cells which are being “pushed down”</p>
|
|
2562
2562
|
|
2563
2563
|
|
2564
2564
|
<div class="method-source-code" id="is_column_italicized-source">
|
2565
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
2565
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 454</span>
|
2566
2566
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_column_italicized</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
|
2567
2567
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
2568
2568
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_italic</span>
|
@@ -2596,7 +2596,7 @@ formulas which reference cells which are being “pushed down”</p>
|
|
2596
2596
|
|
2597
2597
|
|
2598
2598
|
<div class="method-source-code" id="is_column_struckthrough-source">
|
2599
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
2599
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 469</span>
|
2600
2600
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_column_struckthrough</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
|
2601
2601
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
2602
2602
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_strikethrough</span>
|
@@ -2630,7 +2630,7 @@ formulas which reference cells which are being “pushed down”</p>
|
|
2630
2630
|
|
2631
2631
|
|
2632
2632
|
<div class="method-source-code" id="is_column_underlined-source">
|
2633
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
2633
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 464</span>
|
2634
2634
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_column_underlined</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
|
2635
2635
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
2636
2636
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_underlined</span>
|
@@ -2664,7 +2664,7 @@ formulas which reference cells which are being “pushed down”</p>
|
|
2664
2664
|
|
2665
2665
|
|
2666
2666
|
<div class="method-source-code" id="is_row_bolded-source">
|
2667
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
2667
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 385</span>
|
2668
2668
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_row_bolded</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
2669
2669
|
(<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_bold</span>
|
2670
2670
|
<span class="ruby-keyword">end</span></pre>
|
@@ -2697,7 +2697,7 @@ formulas which reference cells which are being “pushed down”</p>
|
|
2697
2697
|
|
2698
2698
|
|
2699
2699
|
<div class="method-source-code" id="is_row_italicized-source">
|
2700
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
2700
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 381</span>
|
2701
2701
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_row_italicized</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
2702
2702
|
(<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_italic</span>
|
2703
2703
|
<span class="ruby-keyword">end</span></pre>
|
@@ -2730,7 +2730,7 @@ formulas which reference cells which are being “pushed down”</p>
|
|
2730
2730
|
|
2731
2731
|
|
2732
2732
|
<div class="method-source-code" id="is_row_struckthrough-source">
|
2733
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
2733
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 393</span>
|
2734
2734
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_row_struckthrough</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
2735
2735
|
(<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_strikethrough</span>
|
2736
2736
|
<span class="ruby-keyword">end</span></pre>
|
@@ -2763,7 +2763,7 @@ formulas which reference cells which are being “pushed down”</p>
|
|
2763
2763
|
|
2764
2764
|
|
2765
2765
|
<div class="method-source-code" id="is_row_underlined-source">
|
2766
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
2766
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 389</span>
|
2767
2767
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_row_underlined</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
2768
2768
|
(<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_underlined</span>
|
2769
2769
|
<span class="ruby-keyword">end</span></pre>
|
@@ -2796,7 +2796,7 @@ formulas which reference cells which are being “pushed down”</p>
|
|
2796
2796
|
|
2797
2797
|
|
2798
2798
|
<div class="method-source-code" id="merge_cells-source">
|
2799
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
2799
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 805</span>
|
2800
2800
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">merge_cells</span>(<span class="ruby-identifier">start_row</span>, <span class="ruby-identifier">start_col</span>, <span class="ruby-identifier">end_row</span>, <span class="ruby-identifier">end_col</span>)
|
2801
2801
|
<span class="ruby-identifier">validate_workbook</span>
|
2802
2802
|
|
@@ -2833,7 +2833,7 @@ formulas which reference cells which are being “pushed down”</p>
|
|
2833
2833
|
|
2834
2834
|
|
2835
2835
|
<div class="method-source-code" id="row_font-source">
|
2836
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
2836
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 418</span>
|
2837
2837
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)
|
2838
2838
|
(<span class="ruby-identifier">row</span> = <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">row</span>]) <span class="ruby-operator">&&</span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">get_font</span>
|
2839
2839
|
<span class="ruby-keyword">end</span></pre>
|
@@ -2855,7 +2855,7 @@ formulas which reference cells which are being “pushed down”</p>
|
|
2855
2855
|
|
2856
2856
|
<footer id="validator-badges" role="contentinfo">
|
2857
2857
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
2858
|
-
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.
|
2858
|
+
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
|
2859
2859
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
2860
2860
|
</footer>
|
2861
2861
|
|