rubyXL 3.3.26 → 3.3.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rubyXL/convenience_methods.rb +13 -0
- data/lib/rubyXL/objects/chartsheet.rb +1 -1
- data/lib/rubyXL/objects/sheet_data.rb +1 -0
- data/lib/rubyXL/objects/simple_types.rb +3 -0
- data/lib/rubyXL/objects/text.rb +1 -1
- data/lib/rubyXL/objects/workbook.rb +3 -3
- data/lib/rubyXL/objects/worksheet.rb +2 -2
- data/lib/rubyXL/worksheet.rb +16 -3
- data/rdoc/README_rdoc.html +1 -1
- data/rdoc/RubyXL.html +7 -1
- data/rdoc/RubyXL/AExtension.html +1 -1
- data/rdoc/RubyXL/AExtensionStorageArea.html +1 -1
- data/rdoc/RubyXL/ActiveX.html +1 -1
- data/rdoc/RubyXL/ActiveXBinary.html +1 -1
- data/rdoc/RubyXL/AdjustHandleList.html +1 -1
- data/rdoc/RubyXL/Alignment.html +1 -1
- data/rdoc/RubyXL/AlternateContent.html +1 -1
- data/rdoc/RubyXL/Authors.html +1 -1
- data/rdoc/RubyXL/AutoFilter.html +1 -1
- data/rdoc/RubyXL/AutoFilterColumn.html +1 -1
- data/rdoc/RubyXL/BinaryImageFile.html +1 -1
- data/rdoc/RubyXL/BodyProperties.html +1 -1
- data/rdoc/RubyXL/BooleanNode.html +1 -1
- data/rdoc/RubyXL/BooleanValue.html +1 -1
- data/rdoc/RubyXL/Border.html +1 -1
- data/rdoc/RubyXL/BorderEdge.html +1 -1
- data/rdoc/RubyXL/Borders.html +1 -1
- data/rdoc/RubyXL/Break.html +1 -1
- data/rdoc/RubyXL/BreakList.html +1 -1
- data/rdoc/RubyXL/CT_AdjPoint2D.html +1 -1
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +1 -1
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +1 -1
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +1 -1
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +1 -1
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +1 -1
- data/rdoc/RubyXL/CT_Backdrop.html +1 -1
- data/rdoc/RubyXL/CT_Bevel.html +1 -1
- data/rdoc/RubyXL/CT_BiLevelEffect.html +1 -1
- data/rdoc/RubyXL/CT_BlendEffect.html +1 -1
- data/rdoc/RubyXL/CT_Blip.html +1 -1
- data/rdoc/RubyXL/CT_BlipFillProperties.html +1 -1
- data/rdoc/RubyXL/CT_BlurEffect.html +1 -1
- data/rdoc/RubyXL/CT_Camera.html +1 -1
- data/rdoc/RubyXL/CT_Color.html +1 -1
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +1 -1
- data/rdoc/RubyXL/CT_ColorMapping.html +1 -1
- data/rdoc/RubyXL/CT_ColorScheme.html +1 -1
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +1 -1
- data/rdoc/RubyXL/CT_ConnectionSite.html +1 -1
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +1 -1
- data/rdoc/RubyXL/CT_DashStop.html +1 -1
- data/rdoc/RubyXL/CT_DashStopList.html +1 -1
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +1 -1
- data/rdoc/RubyXL/CT_DuotoneEffect.html +1 -1
- data/rdoc/RubyXL/CT_EffectContainer.html +1 -1
- data/rdoc/RubyXL/CT_EffectList.html +1 -1
- data/rdoc/RubyXL/CT_EffectReference.html +1 -1
- data/rdoc/RubyXL/CT_EffectStyleItem.html +1 -1
- data/rdoc/RubyXL/CT_EffectStyleList.html +1 -1
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +1 -1
- data/rdoc/RubyXL/CT_FillEffect.html +1 -1
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +1 -1
- data/rdoc/RubyXL/CT_FillStyleList.html +1 -1
- data/rdoc/RubyXL/CT_FlatText.html +1 -1
- data/rdoc/RubyXL/CT_FontCollection.html +1 -1
- data/rdoc/RubyXL/CT_FontReference.html +1 -1
- data/rdoc/RubyXL/CT_GeomGuideList.html +1 -1
- data/rdoc/RubyXL/CT_GlowEffect.html +1 -1
- data/rdoc/RubyXL/CT_GradientFillProperties.html +1 -1
- data/rdoc/RubyXL/CT_GradientStop.html +1 -1
- data/rdoc/RubyXL/CT_GradientStopList.html +1 -1
- data/rdoc/RubyXL/CT_HSLEffect.html +1 -1
- data/rdoc/RubyXL/CT_HslColor.html +1 -1
- data/rdoc/RubyXL/CT_Hyperlink.html +1 -1
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +1 -1
- data/rdoc/RubyXL/CT_LightRig.html +1 -1
- data/rdoc/RubyXL/CT_LineEndProperties.html +1 -1
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +1 -1
- data/rdoc/RubyXL/CT_LineProperties.html +1 -1
- data/rdoc/RubyXL/CT_LineStyleList.html +1 -1
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +1 -1
- data/rdoc/RubyXL/CT_LuminanceEffect.html +1 -1
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +1 -1
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +1 -1
- data/rdoc/RubyXL/CT_Path2D.html +1 -1
- data/rdoc/RubyXL/CT_Path2DArcTo.html +1 -1
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +1 -1
- data/rdoc/RubyXL/CT_Path2DList.html +1 -1
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +1 -1
- data/rdoc/RubyXL/CT_Path2DTo.html +1 -1
- data/rdoc/RubyXL/CT_PathShadeProperties.html +1 -1
- data/rdoc/RubyXL/CT_PatternFillProperties.html +1 -1
- data/rdoc/RubyXL/CT_Point3D.html +1 -1
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +1 -1
- data/rdoc/RubyXL/CT_PresetColor.html +1 -1
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +1 -1
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +1 -1
- data/rdoc/RubyXL/CT_PresetTextShape.html +1 -1
- data/rdoc/RubyXL/CT_ReflectionEffect.html +1 -1
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +1 -1
- data/rdoc/RubyXL/CT_RelativeRect.html +1 -1
- data/rdoc/RubyXL/CT_SRgbColor.html +1 -1
- data/rdoc/RubyXL/CT_ScRgbColor.html +1 -1
- data/rdoc/RubyXL/CT_Scene3D.html +1 -1
- data/rdoc/RubyXL/CT_SchemeColor.html +1 -1
- data/rdoc/RubyXL/CT_Shape3D.html +1 -1
- data/rdoc/RubyXL/CT_ShapeStyle.html +1 -1
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +1 -1
- data/rdoc/RubyXL/CT_SphereCoords.html +1 -1
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +1 -1
- data/rdoc/RubyXL/CT_StyleMatrix.html +1 -1
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +1 -1
- data/rdoc/RubyXL/CT_SupplementalFont.html +1 -1
- data/rdoc/RubyXL/CT_SystemColor.html +1 -1
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +1 -1
- data/rdoc/RubyXL/CT_TextBlipBullet.html +1 -1
- data/rdoc/RubyXL/CT_TextCharBullet.html +1 -1
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +1 -1
- data/rdoc/RubyXL/CT_TextFont.html +1 -1
- data/rdoc/RubyXL/CT_TextListStyle.html +1 -1
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +1 -1
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +1 -1
- data/rdoc/RubyXL/CT_TextSpacing.html +1 -1
- data/rdoc/RubyXL/CT_TextTabStop.html +1 -1
- data/rdoc/RubyXL/CT_TextTabStopList.html +1 -1
- data/rdoc/RubyXL/CT_TileInfoProperties.html +1 -1
- data/rdoc/RubyXL/CT_TintEffect.html +1 -1
- data/rdoc/RubyXL/CT_Transform2D.html +1 -1
- data/rdoc/RubyXL/CT_TransformEffect.html +1 -1
- data/rdoc/RubyXL/CT_Vector3D.html +1 -1
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +1 -1
- data/rdoc/RubyXL/CalculationChain.html +1 -1
- data/rdoc/RubyXL/CalculationChainCell.html +1 -1
- data/rdoc/RubyXL/CalculationProperties.html +1 -1
- data/rdoc/RubyXL/Cell.html +3 -2
- data/rdoc/RubyXL/CellConvenienceMethods.html +30 -30
- data/rdoc/RubyXL/CellExt.html +1 -1
- data/rdoc/RubyXL/CellSmartTag.html +1 -1
- data/rdoc/RubyXL/CellSmartTagProperty.html +1 -1
- data/rdoc/RubyXL/CellSmartTags.html +1 -1
- data/rdoc/RubyXL/CellStyle.html +1 -1
- data/rdoc/RubyXL/CellStyleXFs.html +1 -1
- data/rdoc/RubyXL/CellStyles.html +1 -1
- data/rdoc/RubyXL/CellValue.html +1 -1
- data/rdoc/RubyXL/CellWatch.html +1 -1
- data/rdoc/RubyXL/CellWatches.html +1 -1
- data/rdoc/RubyXL/CellXFs.html +1 -1
- data/rdoc/RubyXL/ChartColorsFile.html +1 -1
- data/rdoc/RubyXL/ChartFile.html +1 -1
- data/rdoc/RubyXL/ChartStyleFile.html +1 -1
- data/rdoc/RubyXL/ChartUserShapesFile.html +1 -1
- data/rdoc/RubyXL/Chartsheet.html +1 -1
- data/rdoc/RubyXL/ChartsheetPageSetup.html +1 -1
- data/rdoc/RubyXL/ChartsheetProperties.html +1 -1
- data/rdoc/RubyXL/ChartsheetProtection.html +1 -1
- data/rdoc/RubyXL/ChartsheetView.html +1 -1
- data/rdoc/RubyXL/ChartsheetViews.html +1 -1
- data/rdoc/RubyXL/Color.html +1 -1
- data/rdoc/RubyXL/ColorFilter.html +1 -1
- data/rdoc/RubyXL/ColorScale.html +1 -1
- data/rdoc/RubyXL/ColorSet.html +1 -1
- data/rdoc/RubyXL/Colors.html +1 -1
- data/rdoc/RubyXL/ColumnRange.html +1 -1
- data/rdoc/RubyXL/ColumnRanges.html +1 -1
- data/rdoc/RubyXL/Comment.html +1 -1
- data/rdoc/RubyXL/CommentList.html +1 -1
- data/rdoc/RubyXL/CommentsFile.html +1 -1
- data/rdoc/RubyXL/ConditionalFormatValue.html +1 -1
- data/rdoc/RubyXL/ConditionalFormatting.html +1 -1
- data/rdoc/RubyXL/ConditionalFormattingRule.html +1 -1
- data/rdoc/RubyXL/ContentTypeDefault.html +1 -1
- data/rdoc/RubyXL/ContentTypeOverride.html +1 -1
- data/rdoc/RubyXL/ContentTypes.html +1 -1
- data/rdoc/RubyXL/ControlPropertiesFile.html +1 -1
- data/rdoc/RubyXL/CorePropertiesFile.html +1 -1
- data/rdoc/RubyXL/CustomColor.html +1 -1
- data/rdoc/RubyXL/CustomColorList.html +1 -1
- data/rdoc/RubyXL/CustomFilter.html +1 -1
- data/rdoc/RubyXL/CustomFilters.html +1 -1
- data/rdoc/RubyXL/CustomGeometry.html +1 -1
- data/rdoc/RubyXL/CustomProperties.html +1 -1
- data/rdoc/RubyXL/CustomPropertiesFile.html +1 -1
- data/rdoc/RubyXL/CustomProperty.html +1 -1
- data/rdoc/RubyXL/CustomSheetView.html +1 -1
- data/rdoc/RubyXL/CustomSheetViews.html +1 -1
- data/rdoc/RubyXL/CustomWorkbookView.html +1 -1
- data/rdoc/RubyXL/CustomWorkbookViews.html +1 -1
- data/rdoc/RubyXL/CustomXMLFile.html +1 -1
- data/rdoc/RubyXL/DXF.html +1 -1
- data/rdoc/RubyXL/DXFs.html +1 -1
- data/rdoc/RubyXL/DataBar.html +1 -1
- data/rdoc/RubyXL/DataConsolidate.html +1 -1
- data/rdoc/RubyXL/DataConsolidationReference.html +1 -1
- data/rdoc/RubyXL/DataConsolidationReferences.html +1 -1
- data/rdoc/RubyXL/DataType.html +1 -1
- data/rdoc/RubyXL/DataValidation.html +1 -1
- data/rdoc/RubyXL/DataValidations.html +1 -1
- data/rdoc/RubyXL/DateGroupItem.html +1 -1
- data/rdoc/RubyXL/DefinedName.html +1 -1
- data/rdoc/RubyXL/DefinedNameExt.html +1 -1
- data/rdoc/RubyXL/DefinedNames.html +1 -1
- data/rdoc/RubyXL/DefinedNamesExt.html +1 -1
- data/rdoc/RubyXL/DocumentPropertiesFile.html +1 -1
- data/rdoc/RubyXL/DrawingFile.html +1 -1
- data/rdoc/RubyXL/DynamicFilter.html +1 -1
- data/rdoc/RubyXL/EmbeddedControl.html +1 -1
- data/rdoc/RubyXL/EmbeddedControls.html +1 -1
- data/rdoc/RubyXL/Extension.html +1 -1
- data/rdoc/RubyXL/ExtensionStorageArea.html +1 -1
- data/rdoc/RubyXL/Extents.html +1 -1
- data/rdoc/RubyXL/ExternalBook.html +1 -1
- data/rdoc/RubyXL/ExternalLinksFile.html +1 -1
- data/rdoc/RubyXL/ExternalReference.html +1 -1
- data/rdoc/RubyXL/ExternalReferences.html +1 -1
- data/rdoc/RubyXL/ExtraColorSchemeList.html +1 -1
- data/rdoc/RubyXL/FieldItem.html +1 -1
- data/rdoc/RubyXL/FileRecoveryProperties.html +1 -1
- data/rdoc/RubyXL/FileSharing.html +1 -1
- data/rdoc/RubyXL/FileVersion.html +1 -1
- data/rdoc/RubyXL/Fill.html +1 -1
- data/rdoc/RubyXL/Fills.html +1 -1
- data/rdoc/RubyXL/FilterContainer.html +1 -1
- data/rdoc/RubyXL/FloatNode.html +1 -1
- data/rdoc/RubyXL/FloatValue.html +1 -1
- data/rdoc/RubyXL/Font.html +1 -1
- data/rdoc/RubyXL/FontConvenienceMethods.html +15 -15
- data/rdoc/RubyXL/FontScheme.html +1 -1
- data/rdoc/RubyXL/Fonts.html +1 -1
- data/rdoc/RubyXL/Formula.html +1 -1
- data/rdoc/RubyXL/FunctionGroup.html +1 -1
- data/rdoc/RubyXL/FunctionGroups.html +1 -1
- data/rdoc/RubyXL/GenericStorageObject.html +1 -1
- data/rdoc/RubyXL/GradientFill.html +1 -1
- data/rdoc/RubyXL/HeaderFooterSettings.html +1 -1
- data/rdoc/RubyXL/Hyperlink.html +1 -1
- data/rdoc/RubyXL/HyperlinkRelFile.html +1 -1
- data/rdoc/RubyXL/Hyperlinks.html +1 -1
- data/rdoc/RubyXL/IconFilter.html +1 -1
- data/rdoc/RubyXL/IconSet.html +1 -1
- data/rdoc/RubyXL/IgnoredError.html +1 -1
- data/rdoc/RubyXL/IgnoredErrors.html +1 -1
- data/rdoc/RubyXL/IndexedColors.html +1 -1
- data/rdoc/RubyXL/InputCells.html +1 -1
- data/rdoc/RubyXL/IntegerNode.html +1 -1
- data/rdoc/RubyXL/IntegerValue.html +1 -1
- data/rdoc/RubyXL/LegacyCell.html +1 -1
- data/rdoc/RubyXL/LegacyWorksheet.html +17 -4
- data/rdoc/RubyXL/MRUColors.html +1 -1
- data/rdoc/RubyXL/MacrosFile.html +1 -1
- data/rdoc/RubyXL/MergedCell.html +1 -1
- data/rdoc/RubyXL/MergedCells.html +1 -1
- data/rdoc/RubyXL/NumFmt.html +1 -1
- data/rdoc/RubyXL/NumberFormat.html +1 -1
- data/rdoc/RubyXL/NumberFormats.html +1 -1
- data/rdoc/RubyXL/OLEObject.html +1 -1
- data/rdoc/RubyXL/OLEObjectFile.html +1 -1
- data/rdoc/RubyXL/OLEObjects.html +1 -1
- data/rdoc/RubyXL/OLESize.html +1 -1
- data/rdoc/RubyXL/OOXMLContainerObject.html +1 -1
- data/rdoc/RubyXL/OOXMLObject.html +1 -1
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +1 -1
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +1 -1
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +1 -1
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +1 -1
- data/rdoc/RubyXL/Offset.html +1 -1
- data/rdoc/RubyXL/OutlineProperties.html +1 -1
- data/rdoc/RubyXL/PageMargins.html +1 -1
- data/rdoc/RubyXL/PageSetup.html +1 -1
- data/rdoc/RubyXL/PageSetupProperties.html +1 -1
- data/rdoc/RubyXL/Pane.html +1 -1
- data/rdoc/RubyXL/Parser.html +1 -1
- data/rdoc/RubyXL/PatternFill.html +1 -1
- data/rdoc/RubyXL/PhoneticProperties.html +1 -1
- data/rdoc/RubyXL/PhoneticRun.html +1 -1
- data/rdoc/RubyXL/PivotArea.html +1 -1
- data/rdoc/RubyXL/PivotCache.html +1 -1
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +1 -1
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +1 -1
- data/rdoc/RubyXL/PivotCaches.html +1 -1
- data/rdoc/RubyXL/PivotReference.html +1 -1
- data/rdoc/RubyXL/PivotReferences.html +1 -1
- data/rdoc/RubyXL/PivotTableFile.html +1 -1
- data/rdoc/RubyXL/PivotTableSelection.html +1 -1
- data/rdoc/RubyXL/PresetGeometry.html +1 -1
- data/rdoc/RubyXL/PrintOptions.html +1 -1
- data/rdoc/RubyXL/PrinterSettingsFile.html +1 -1
- data/rdoc/RubyXL/ProtectedRange.html +1 -1
- data/rdoc/RubyXL/ProtectedRanges.html +1 -1
- data/rdoc/RubyXL/Protection.html +1 -1
- data/rdoc/RubyXL/RID.html +1 -1
- data/rdoc/RubyXL/RawOOXML.html +1 -1
- data/rdoc/RubyXL/Reference.html +1 -1
- data/rdoc/RubyXL/Relationship.html +1 -1
- data/rdoc/RubyXL/RelationshipSupport.html +1 -1
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +1 -1
- data/rdoc/RubyXL/RichText.html +1 -1
- data/rdoc/RubyXL/RichTextRun.html +1 -1
- data/rdoc/RubyXL/Row.html +9 -9
- data/rdoc/RubyXL/RowExt.html +1 -1
- data/rdoc/RubyXL/RunProperties.html +1 -1
- data/rdoc/RubyXL/Scenario.html +1 -1
- data/rdoc/RubyXL/Scenarios.html +1 -1
- data/rdoc/RubyXL/Selection.html +1 -1
- data/rdoc/RubyXL/ShapeGuide.html +1 -1
- data/rdoc/RubyXL/ShapeTextRectangle.html +1 -1
- data/rdoc/RubyXL/SharedStringsTable.html +1 -1
- data/rdoc/RubyXL/Sheet.html +1 -1
- data/rdoc/RubyXL/SheetCalculationProperties.html +1 -1
- data/rdoc/RubyXL/SheetData.html +3 -3
- data/rdoc/RubyXL/SheetDataExt.html +1 -1
- data/rdoc/RubyXL/SheetDataSet.html +1 -1
- data/rdoc/RubyXL/SheetName.html +1 -1
- data/rdoc/RubyXL/SheetNames.html +1 -1
- data/rdoc/RubyXL/Sheets.html +1 -1
- data/rdoc/RubyXL/SlicerCacheFile.html +1 -1
- data/rdoc/RubyXL/SlicerFile.html +1 -1
- data/rdoc/RubyXL/SmartTagProperties.html +1 -1
- data/rdoc/RubyXL/SmartTagType.html +1 -1
- data/rdoc/RubyXL/SmartTagTypes.html +1 -1
- data/rdoc/RubyXL/SmartTags.html +1 -1
- data/rdoc/RubyXL/SortCondition.html +1 -1
- data/rdoc/RubyXL/SortState.html +1 -1
- data/rdoc/RubyXL/Sqref.html +1 -1
- data/rdoc/RubyXL/Stop.html +1 -1
- data/rdoc/RubyXL/StringNode.html +1 -1
- data/rdoc/RubyXL/StringNodeW3C.html +1 -1
- data/rdoc/RubyXL/StringValue.html +1 -1
- data/rdoc/RubyXL/Stylesheet.html +1 -1
- data/rdoc/RubyXL/TableFile.html +1 -1
- data/rdoc/RubyXL/TableParts.html +1 -1
- data/rdoc/RubyXL/TableStyle.html +1 -1
- data/rdoc/RubyXL/TableStyles.html +1 -1
- data/rdoc/RubyXL/Text.html +1 -1
- data/rdoc/RubyXL/Theme.html +1 -1
- data/rdoc/RubyXL/ThemeElements.html +1 -1
- data/rdoc/RubyXL/ThumbnailFile.html +1 -1
- data/rdoc/RubyXL/Top10.html +1 -1
- data/rdoc/RubyXL/VMLDrawingFile.html +1 -1
- data/rdoc/RubyXL/Variant.html +1 -1
- data/rdoc/RubyXL/Vector.html +1 -1
- data/rdoc/RubyXL/VectorValue.html +1 -1
- data/rdoc/RubyXL/VisualProperties.html +1 -1
- data/rdoc/RubyXL/WebPublishObject.html +1 -1
- data/rdoc/RubyXL/WebPublishObjects.html +1 -1
- data/rdoc/RubyXL/WebPublishingItem.html +1 -1
- data/rdoc/RubyXL/WebPublishingItems.html +1 -1
- data/rdoc/RubyXL/WebPublishingProperties.html +1 -1
- data/rdoc/RubyXL/Workbook.html +1 -1
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +45 -1
- data/rdoc/RubyXL/WorkbookProperties.html +1 -1
- data/rdoc/RubyXL/WorkbookProtection.html +1 -1
- data/rdoc/RubyXL/WorkbookRoot.html +1 -1
- data/rdoc/RubyXL/WorkbookView.html +1 -1
- data/rdoc/RubyXL/WorkbookViews.html +1 -1
- data/rdoc/RubyXL/Worksheet.html +1 -1
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +69 -69
- data/rdoc/RubyXL/WorksheetDimensions.html +1 -1
- data/rdoc/RubyXL/WorksheetFormatProperties.html +1 -1
- data/rdoc/RubyXL/WorksheetProperties.html +1 -1
- data/rdoc/RubyXL/WorksheetProtection.html +1 -1
- data/rdoc/RubyXL/WorksheetView.html +1 -1
- data/rdoc/RubyXL/WorksheetViews.html +1 -1
- data/rdoc/RubyXL/XF.html +1 -1
- data/rdoc/created.rid +32 -32
- data/rdoc/index.html +2 -2
- 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 +7 -2
- data/rubyXL.gemspec +3 -3
- data/spec/lib/cell_spec.rb +8 -0
- data/spec/lib/parser_spec.rb +1 -1
- data/spec/lib/text_spec.rb +8 -0
- data/spec/lib/workbook_spec.rb +1 -1
- metadata +2 -2
data/rdoc/RubyXL/Worksheet.html
CHANGED
|
@@ -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.27</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 802</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 735</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 764</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 776</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 532</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 692</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 719</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 705</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 712</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 756</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 728</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 749</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 742</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 760</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 515</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 505</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 789</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 660</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 586</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 597</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 609</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 621</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 645</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 631</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 638</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 681</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 574</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 653</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 674</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 667</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 580</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 561</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 245</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 354</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 310</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 520</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 446</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 567</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 545</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 553</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 525</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 462</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 452</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 457</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 498</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 488</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 435</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 417</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 424</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 376</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 388</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 380</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 384</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 410</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 371</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 222</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 327</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 272</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 472</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 467</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 482</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 477</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 398</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 394</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 406</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 402</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 818</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 431</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>
|