rubyXL 2.5.2 → 2.5.3
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/Gemfile +1 -0
- data/Gemfile.lock +13 -11
- data/README.rdoc +3 -0
- data/VERSION +1 -1
- data/lib/rubyXL/cell.rb +29 -26
- data/lib/rubyXL/objects/data_validation.rb +0 -1
- data/lib/rubyXL/objects/workbook.rb +2 -1
- data/lib/rubyXL/objects/worksheet.rb +1 -1
- data/lib/rubyXL/worksheet.rb +3 -7
- data/rdoc/README_rdoc.html +6 -1
- data/rdoc/RubyXL.html +1 -1
- data/rdoc/RubyXL/AExtension.html +1 -1
- data/rdoc/RubyXL/AExtensionStorageArea.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/AutoFilter.html +1 -1
- data/rdoc/RubyXL/AutoFilterColumn.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 +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/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/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/CoreProperties.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/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/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/DefinedNames.html +1 -1
- data/rdoc/RubyXL/DocumentProperties.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/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/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/GenericStorage.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/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 +61 -56
- data/rdoc/RubyXL/LegacyWorkbook.html +1 -1
- data/rdoc/RubyXL/LegacyWorksheet.html +82 -131
- data/rdoc/RubyXL/MRUColors.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/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/PivotCaches.html +1 -1
- data/rdoc/RubyXL/PivotReference.html +1 -1
- data/rdoc/RubyXL/PivotReferences.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/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/RichText.html +1 -1
- data/rdoc/RubyXL/RichTextRun.html +1 -1
- data/rdoc/RubyXL/RootRelationships.html +1 -1
- data/rdoc/RubyXL/Row.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 +1 -1
- data/rdoc/RubyXL/Sheets.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/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/Top10.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/WorkbookProperties.html +1 -1
- data/rdoc/RubyXL/WorkbookProtection.html +1 -1
- data/rdoc/RubyXL/WorkbookRelationships.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/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 +7 -7
- data/rdoc/index.html +2 -2
- data/rdoc/js/search_index.js +1 -1
- data/rdoc/table_of_contents.html +3 -2
- data/rubyXL.gemspec +5 -2
- data/spec/lib/cell_spec.rb +1 -1
- data/spec/lib/parser_spec.rb +9 -0
- metadata +15 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>module RubyXL::LegacyWorksheet - rubyXL 2.5.
|
|
7
|
+
<title>module RubyXL::LegacyWorksheet - rubyXL 2.5.3</title>
|
|
8
8
|
|
|
9
9
|
<link href="../fonts.css" rel="stylesheet">
|
|
10
10
|
<link href="../rdoc.css" rel="stylesheet">
|
|
@@ -303,53 +303,6 @@
|
|
|
303
303
|
|
|
304
304
|
|
|
305
305
|
|
|
306
|
-
<section class="attribute-method-details" class="method-section">
|
|
307
|
-
<header>
|
|
308
|
-
<h3>Attributes</h3>
|
|
309
|
-
</header>
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
<div id="attribute-i-sheet_id" class="method-detail">
|
|
313
|
-
<div class="method-heading attribute-method-heading">
|
|
314
|
-
<span class="method-name">sheet_id</span><span
|
|
315
|
-
class="attribute-access-type">[RW]</span>
|
|
316
|
-
</div>
|
|
317
|
-
|
|
318
|
-
<div class="method-description">
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
</div>
|
|
323
|
-
</div>
|
|
324
|
-
|
|
325
|
-
<div id="attribute-i-sheet_name" class="method-detail">
|
|
326
|
-
<div class="method-heading attribute-method-heading">
|
|
327
|
-
<span class="method-name">sheet_name</span><span
|
|
328
|
-
class="attribute-access-type">[RW]</span>
|
|
329
|
-
</div>
|
|
330
|
-
|
|
331
|
-
<div class="method-description">
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
</div>
|
|
336
|
-
</div>
|
|
337
|
-
|
|
338
|
-
<div id="attribute-i-workbook" class="method-detail">
|
|
339
|
-
<div class="method-heading attribute-method-heading">
|
|
340
|
-
<span class="method-name">workbook</span><span
|
|
341
|
-
class="attribute-access-type">[RW]</span>
|
|
342
|
-
</div>
|
|
343
|
-
|
|
344
|
-
<div class="method-description">
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
</div>
|
|
349
|
-
</div>
|
|
350
|
-
|
|
351
|
-
</section>
|
|
352
|
-
|
|
353
306
|
|
|
354
307
|
|
|
355
308
|
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
|
@@ -382,16 +335,14 @@
|
|
|
382
335
|
|
|
383
336
|
|
|
384
337
|
<div class="method-source-code" id="new-source">
|
|
385
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
338
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 5</span>
|
|
386
339
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">params</span> = {})
|
|
387
340
|
<span class="ruby-keyword">super</span>
|
|
388
|
-
<span class="ruby-
|
|
389
|
-
<span class="ruby-
|
|
390
|
-
<span class="ruby-
|
|
341
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">workbook</span> = <span class="ruby-identifier">params</span>[<span class="ruby-value">:workbook</span>]
|
|
342
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">sheet_name</span> = <span class="ruby-identifier">params</span>[<span class="ruby-value">:sheet_name</span>]
|
|
343
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">sheet_id</span> = <span class="ruby-identifier">params</span>[<span class="ruby-value">:sheet_id</span>]
|
|
391
344
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">sheet_data</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">SheetData</span>.<span class="ruby-identifier">new</span>
|
|
392
345
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">cols</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">ColumnRanges</span>.<span class="ruby-identifier">new</span>
|
|
393
|
-
<span class="ruby-ivar">@extLst</span> = <span class="ruby-keyword">nil</span>
|
|
394
|
-
<span class="ruby-ivar">@validations</span> = []
|
|
395
346
|
<span class="ruby-keyword">end</span></pre>
|
|
396
347
|
</div>
|
|
397
348
|
|
|
@@ -430,7 +381,7 @@
|
|
|
430
381
|
|
|
431
382
|
|
|
432
383
|
<div class="method-source-code" id="5B-5D-source">
|
|
433
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
384
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 15</span>
|
|
434
385
|
<span class="ruby-keyword">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
435
386
|
<span class="ruby-identifier">sheet_data</span>[<span class="ruby-identifier">row</span>]
|
|
436
387
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -463,7 +414,7 @@
|
|
|
463
414
|
|
|
464
415
|
|
|
465
416
|
<div class="method-source-code" id="add_cell-source">
|
|
466
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
417
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 325</span>
|
|
467
418
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">add_cell</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">column</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">data</span> = <span class="ruby-string">''</span>, <span class="ruby-identifier">formula</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">overwrite</span> = <span class="ruby-keyword">true</span>)
|
|
468
419
|
<span class="ruby-identifier">validate_workbook</span>
|
|
469
420
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">column</span>)
|
|
@@ -516,7 +467,7 @@
|
|
|
516
467
|
|
|
517
468
|
|
|
518
469
|
<div class="method-source-code" id="add_row-source">
|
|
519
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
470
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 319</span>
|
|
520
471
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">add_row</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">params</span> = {})
|
|
521
472
|
<span class="ruby-identifier">new_row</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Row</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">params</span>)
|
|
522
473
|
<span class="ruby-identifier">new_row</span>.<span class="ruby-identifier">worksheet</span> = <span class="ruby-keyword">self</span>
|
|
@@ -551,7 +502,7 @@
|
|
|
551
502
|
|
|
552
503
|
|
|
553
504
|
<div class="method-source-code" id="change_column_bold-source">
|
|
554
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
505
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 240</span>
|
|
555
506
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_bold</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">bolded</span> = <span class="ruby-keyword">false</span>)
|
|
556
507
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">col</span>)
|
|
557
508
|
<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>
|
|
@@ -587,7 +538,7 @@
|
|
|
587
538
|
|
|
588
539
|
|
|
589
540
|
<div class="method-source-code" id="change_column_border_bottom-source">
|
|
590
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
541
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 303</span>
|
|
591
542
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_bottom</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>,<span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
592
543
|
<span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:bottom</span>, <span class="ruby-identifier">weight</span>)
|
|
593
544
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -620,7 +571,7 @@
|
|
|
620
571
|
|
|
621
572
|
|
|
622
573
|
<div class="method-source-code" id="change_column_border_diagonal-source">
|
|
623
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
574
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 307</span>
|
|
624
575
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_diagonal</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>,<span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
625
576
|
<span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:diagonal</span>, <span class="ruby-identifier">weight</span>)
|
|
626
577
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -653,7 +604,7 @@
|
|
|
653
604
|
|
|
654
605
|
|
|
655
606
|
<div class="method-source-code" id="change_column_border_left-source">
|
|
656
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
607
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 295</span>
|
|
657
608
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_left</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>,<span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
658
609
|
<span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:left</span>, <span class="ruby-identifier">weight</span>)
|
|
659
610
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -686,7 +637,7 @@
|
|
|
686
637
|
|
|
687
638
|
|
|
688
639
|
<div class="method-source-code" id="change_column_border_right-source">
|
|
689
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
640
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 299</span>
|
|
690
641
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_right</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>,<span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
691
642
|
<span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:right</span>, <span class="ruby-identifier">weight</span>)
|
|
692
643
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -719,7 +670,7 @@
|
|
|
719
670
|
|
|
720
671
|
|
|
721
672
|
<div class="method-source-code" id="change_column_border_top-source">
|
|
722
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
673
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 291</span>
|
|
723
674
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_top</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>,<span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
724
675
|
<span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:top</span>, <span class="ruby-identifier">weight</span>)
|
|
725
676
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -752,7 +703,7 @@
|
|
|
752
703
|
|
|
753
704
|
|
|
754
705
|
<div class="method-source-code" id="change_column_fill-source">
|
|
755
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
706
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 270</span>
|
|
756
707
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_fill</span>(<span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">color_index</span>=<span class="ruby-string">'ffffff'</span>)
|
|
757
708
|
<span class="ruby-identifier">validate_workbook</span>
|
|
758
709
|
<span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">color_index</span>)
|
|
@@ -794,7 +745,7 @@
|
|
|
794
745
|
|
|
795
746
|
|
|
796
747
|
<div class="method-source-code" id="change_column_font_color-source">
|
|
797
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
748
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 224</span>
|
|
798
749
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_font_color</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">font_color</span>=<span class="ruby-string">'000000'</span>)
|
|
799
750
|
<span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">font_color</span>)
|
|
800
751
|
|
|
@@ -832,7 +783,7 @@
|
|
|
832
783
|
|
|
833
784
|
|
|
834
785
|
<div class="method-source-code" id="change_column_font_name-source">
|
|
835
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
786
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 208</span>
|
|
836
787
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_font_name</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">font_name</span> = <span class="ruby-string">'Verdana'</span>)
|
|
837
788
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">col</span>)
|
|
838
789
|
<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>
|
|
@@ -868,7 +819,7 @@
|
|
|
868
819
|
|
|
869
820
|
|
|
870
821
|
<div class="method-source-code" id="change_column_font_size-source">
|
|
871
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
822
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 216</span>
|
|
872
823
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_font_size</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">font_size</span>=<span class="ruby-value">10</span>)
|
|
873
824
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">col</span>)
|
|
874
825
|
<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>
|
|
@@ -904,7 +855,7 @@
|
|
|
904
855
|
|
|
905
856
|
|
|
906
857
|
<div class="method-source-code" id="change_column_horizontal_alignment-source">
|
|
907
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
858
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 283</span>
|
|
908
859
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_horizontal_alignment</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>,<span class="ruby-identifier">alignment</span>=<span class="ruby-string">'center'</span>)
|
|
909
860
|
<span class="ruby-identifier">change_column_alignment</span>(<span class="ruby-identifier">col</span>,<span class="ruby-identifier">alignment</span>,<span class="ruby-keyword">true</span>)
|
|
910
861
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -937,7 +888,7 @@
|
|
|
937
888
|
|
|
938
889
|
|
|
939
890
|
<div class="method-source-code" id="change_column_italics-source">
|
|
940
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
891
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 233</span>
|
|
941
892
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_italics</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">italicized</span> = <span class="ruby-keyword">false</span>)
|
|
942
893
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">col</span>)
|
|
943
894
|
<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>
|
|
@@ -973,7 +924,7 @@
|
|
|
973
924
|
|
|
974
925
|
|
|
975
926
|
<div class="method-source-code" id="change_column_strikethrough-source">
|
|
976
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
927
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 254</span>
|
|
977
928
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_strikethrough</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">struckthrough</span>=<span class="ruby-keyword">false</span>)
|
|
978
929
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">col</span>)
|
|
979
930
|
<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>
|
|
@@ -1009,7 +960,7 @@
|
|
|
1009
960
|
|
|
1010
961
|
|
|
1011
962
|
<div class="method-source-code" id="change_column_underline-source">
|
|
1012
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
963
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 247</span>
|
|
1013
964
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_underline</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">underlined</span> = <span class="ruby-keyword">false</span>)
|
|
1014
965
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">col</span>)
|
|
1015
966
|
<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>
|
|
@@ -1045,7 +996,7 @@
|
|
|
1045
996
|
|
|
1046
997
|
|
|
1047
998
|
<div class="method-source-code" id="change_column_vertical_alignment-source">
|
|
1048
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
999
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 287</span>
|
|
1049
1000
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_vertical_alignment</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>,<span class="ruby-identifier">alignment</span>=<span class="ruby-string">'center'</span>)
|
|
1050
1001
|
<span class="ruby-identifier">change_column_alignment</span>(<span class="ruby-identifier">col</span>, <span class="ruby-identifier">alignment</span>, <span class="ruby-keyword">false</span>)
|
|
1051
1002
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1078,7 +1029,7 @@
|
|
|
1078
1029
|
|
|
1079
1030
|
|
|
1080
1031
|
<div class="method-source-code" id="change_column_width-source">
|
|
1081
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1032
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 261</span>
|
|
1082
1033
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_width</span>(<span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">width</span> = <span class="ruby-value">13</span>)
|
|
1083
1034
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1084
1035
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
|
|
@@ -1116,7 +1067,7 @@
|
|
|
1116
1067
|
|
|
1117
1068
|
|
|
1118
1069
|
<div class="method-source-code" id="change_row_bold-source">
|
|
1119
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1070
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 138</span>
|
|
1120
1071
|
<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>)
|
|
1121
1072
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
1122
1073
|
<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>
|
|
@@ -1152,7 +1103,7 @@
|
|
|
1152
1103
|
|
|
1153
1104
|
|
|
1154
1105
|
<div class="method-source-code" id="change_row_border_bottom-source">
|
|
1155
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1106
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 199</span>
|
|
1156
1107
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_border_bottom</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
1157
1108
|
<span class="ruby-identifier">change_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:bottom</span>, <span class="ruby-identifier">weight</span>)
|
|
1158
1109
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1185,7 +1136,7 @@
|
|
|
1185
1136
|
|
|
1186
1137
|
|
|
1187
1138
|
<div class="method-source-code" id="change_row_border_diagonal-source">
|
|
1188
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1139
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 203</span>
|
|
1189
1140
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_border_diagonal</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
1190
1141
|
<span class="ruby-identifier">change_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:diagonal</span>, <span class="ruby-identifier">weight</span>)
|
|
1191
1142
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1218,7 +1169,7 @@
|
|
|
1218
1169
|
|
|
1219
1170
|
|
|
1220
1171
|
<div class="method-source-code" id="change_row_border_left-source">
|
|
1221
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1172
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 191</span>
|
|
1222
1173
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_border_left</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
1223
1174
|
<span class="ruby-identifier">change_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:left</span>, <span class="ruby-identifier">weight</span>)
|
|
1224
1175
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1251,7 +1202,7 @@
|
|
|
1251
1202
|
|
|
1252
1203
|
|
|
1253
1204
|
<div class="method-source-code" id="change_row_border_right-source">
|
|
1254
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1205
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 195</span>
|
|
1255
1206
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_border_right</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
1256
1207
|
<span class="ruby-identifier">change_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:right</span>, <span class="ruby-identifier">weight</span>)
|
|
1257
1208
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1284,7 +1235,7 @@
|
|
|
1284
1235
|
|
|
1285
1236
|
|
|
1286
1237
|
<div class="method-source-code" id="change_row_border_top-source">
|
|
1287
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1238
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 187</span>
|
|
1288
1239
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_border_top</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
1289
1240
|
<span class="ruby-identifier">change_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:top</span>, <span class="ruby-identifier">weight</span>)
|
|
1290
1241
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1317,7 +1268,7 @@
|
|
|
1317
1268
|
|
|
1318
1269
|
|
|
1319
1270
|
<div class="method-source-code" id="change_row_fill-source">
|
|
1320
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1271
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 100</span>
|
|
1321
1272
|
<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>)
|
|
1322
1273
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1323
1274
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row_index</span>)
|
|
@@ -1355,7 +1306,7 @@
|
|
|
1355
1306
|
|
|
1356
1307
|
|
|
1357
1308
|
<div class="method-source-code" id="change_row_font_color-source">
|
|
1358
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1309
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 123</span>
|
|
1359
1310
|
<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>)
|
|
1360
1311
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
1361
1312
|
<span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">font_color</span>)
|
|
@@ -1392,7 +1343,7 @@
|
|
|
1392
1343
|
|
|
1393
1344
|
|
|
1394
1345
|
<div class="method-source-code" id="change_row_font_name-source">
|
|
1395
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1346
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 109</span>
|
|
1396
1347
|
<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>)
|
|
1397
1348
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
1398
1349
|
<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>
|
|
@@ -1428,7 +1379,7 @@
|
|
|
1428
1379
|
|
|
1429
1380
|
|
|
1430
1381
|
<div class="method-source-code" id="change_row_font_size-source">
|
|
1431
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1382
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 116</span>
|
|
1432
1383
|
<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>)
|
|
1433
1384
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
1434
1385
|
<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>
|
|
@@ -1464,7 +1415,7 @@
|
|
|
1464
1415
|
|
|
1465
1416
|
|
|
1466
1417
|
<div class="method-source-code" id="change_row_height-source">
|
|
1467
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1418
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 159</span>
|
|
1468
1419
|
<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>)
|
|
1469
1420
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1470
1421
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
@@ -1509,7 +1460,7 @@
|
|
|
1509
1460
|
|
|
1510
1461
|
|
|
1511
1462
|
<div class="method-source-code" id="change_row_horizontal_alignment-source">
|
|
1512
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1463
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 175</span>
|
|
1513
1464
|
<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>)
|
|
1514
1465
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1515
1466
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
|
|
@@ -1544,7 +1495,7 @@
|
|
|
1544
1495
|
|
|
1545
1496
|
|
|
1546
1497
|
<div class="method-source-code" id="change_row_italics-source">
|
|
1547
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1498
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 131</span>
|
|
1548
1499
|
<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>)
|
|
1549
1500
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
1550
1501
|
<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>
|
|
@@ -1580,7 +1531,7 @@
|
|
|
1580
1531
|
|
|
1581
1532
|
|
|
1582
1533
|
<div class="method-source-code" id="change_row_strikethrough-source">
|
|
1583
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1534
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 152</span>
|
|
1584
1535
|
<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>)
|
|
1585
1536
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
1586
1537
|
<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>
|
|
@@ -1616,7 +1567,7 @@
|
|
|
1616
1567
|
|
|
1617
1568
|
|
|
1618
1569
|
<div class="method-source-code" id="change_row_underline-source">
|
|
1619
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1570
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 145</span>
|
|
1620
1571
|
<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>)
|
|
1621
1572
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
1622
1573
|
<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>
|
|
@@ -1652,7 +1603,7 @@
|
|
|
1652
1603
|
|
|
1653
1604
|
|
|
1654
1605
|
<div class="method-source-code" id="change_row_vertical_alignment-source">
|
|
1655
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1606
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 181</span>
|
|
1656
1607
|
<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>)
|
|
1657
1608
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1658
1609
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
|
|
@@ -1689,7 +1640,7 @@ specified, method will shift column contents below the deleted cell upward</p>
|
|
|
1689
1640
|
|
|
1690
1641
|
|
|
1691
1642
|
<div class="method-source-code" id="delete_cell-source">
|
|
1692
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1643
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 465</span>
|
|
1693
1644
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">delete_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">shift</span>=<span class="ruby-keyword">nil</span>)
|
|
1694
1645
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1695
1646
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
|
|
@@ -1744,7 +1695,7 @@ specified, method will shift column contents below the deleted cell upward</p>
|
|
|
1744
1695
|
|
|
1745
1696
|
|
|
1746
1697
|
<div class="method-source-code" id="delete_column-source">
|
|
1747
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1698
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 394</span>
|
|
1748
1699
|
<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>)
|
|
1749
1700
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1750
1701
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">column_index</span>)
|
|
@@ -1792,7 +1743,7 @@ specified, method will shift column contents below the deleted cell upward</p>
|
|
|
1792
1743
|
|
|
1793
1744
|
|
|
1794
1745
|
<div class="method-source-code" id="delete_row-source">
|
|
1795
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1746
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 349</span>
|
|
1796
1747
|
<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>)
|
|
1797
1748
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1798
1749
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row_index</span>)
|
|
@@ -1837,7 +1788,7 @@ specified, method will shift column contents below the deleted cell upward</p>
|
|
|
1837
1788
|
|
|
1838
1789
|
|
|
1839
1790
|
<div class="method-source-code" id="each-source">
|
|
1840
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1791
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 19</span>
|
|
1841
1792
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">each</span>
|
|
1842
1793
|
<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">row</span><span class="ruby-operator">|</span> <span class="ruby-keyword">yield</span>(<span class="ruby-identifier">row</span>) }
|
|
1843
1794
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1871,7 +1822,7 @@ information)</p>
|
|
|
1871
1822
|
|
|
1872
1823
|
|
|
1873
1824
|
<div class="method-source-code" id="extract_data-source">
|
|
1874
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1825
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 24</span>
|
|
1875
1826
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">extract_data</span>(<span class="ruby-identifier">args</span> = {})
|
|
1876
1827
|
<span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">row</span><span class="ruby-operator">|</span>
|
|
1877
1828
|
<span class="ruby-identifier">row</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">cells</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-identifier">c</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">value</span>(<span class="ruby-identifier">args</span>) }
|
|
@@ -1906,7 +1857,7 @@ information)</p>
|
|
|
1906
1857
|
|
|
1907
1858
|
|
|
1908
1859
|
<div class="method-source-code" id="get_column_border_bottom-source">
|
|
1909
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1860
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 633</span>
|
|
1910
1861
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_border_bottom</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
|
|
1911
1862
|
<span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:bottom</span>)
|
|
1912
1863
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1939,7 +1890,7 @@ information)</p>
|
|
|
1939
1890
|
|
|
1940
1891
|
|
|
1941
1892
|
<div class="method-source-code" id="get_column_border_diagonal-source">
|
|
1942
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1893
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 637</span>
|
|
1943
1894
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_border_diagonal</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
|
|
1944
1895
|
<span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:diagonal</span>)
|
|
1945
1896
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1972,7 +1923,7 @@ information)</p>
|
|
|
1972
1923
|
|
|
1973
1924
|
|
|
1974
1925
|
<div class="method-source-code" id="get_column_border_left-source">
|
|
1975
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1926
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 625</span>
|
|
1976
1927
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_border_left</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
|
|
1977
1928
|
<span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:left</span>)
|
|
1978
1929
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2005,7 +1956,7 @@ information)</p>
|
|
|
2005
1956
|
|
|
2006
1957
|
|
|
2007
1958
|
<div class="method-source-code" id="get_column_border_right-source">
|
|
2008
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1959
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 629</span>
|
|
2009
1960
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_border_right</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
|
|
2010
1961
|
<span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:right</span>)
|
|
2011
1962
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2038,7 +1989,7 @@ information)</p>
|
|
|
2038
1989
|
|
|
2039
1990
|
|
|
2040
1991
|
<div class="method-source-code" id="get_column_border_top-source">
|
|
2041
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1992
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 621</span>
|
|
2042
1993
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_border_top</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
|
|
2043
1994
|
<span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:top</span>)
|
|
2044
1995
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2071,7 +2022,7 @@ information)</p>
|
|
|
2071
2022
|
|
|
2072
2023
|
|
|
2073
2024
|
<div class="method-source-code" id="get_column_fill-source">
|
|
2074
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2025
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 605</span>
|
|
2075
2026
|
<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>)
|
|
2076
2027
|
<span class="ruby-identifier">validate_workbook</span>
|
|
2077
2028
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">col</span>)
|
|
@@ -2108,7 +2059,7 @@ information)</p>
|
|
|
2108
2059
|
|
|
2109
2060
|
|
|
2110
2061
|
<div class="method-source-code" id="get_column_font_color-source">
|
|
2111
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2062
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 571</span>
|
|
2112
2063
|
<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>)
|
|
2113
2064
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
2114
2065
|
<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>)
|
|
@@ -2142,7 +2093,7 @@ information)</p>
|
|
|
2142
2093
|
|
|
2143
2094
|
|
|
2144
2095
|
<div class="method-source-code" id="get_column_font_name-source">
|
|
2145
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2096
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 561</span>
|
|
2146
2097
|
<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>)
|
|
2147
2098
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
2148
2099
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_name</span>
|
|
@@ -2176,7 +2127,7 @@ information)</p>
|
|
|
2176
2127
|
|
|
2177
2128
|
|
|
2178
2129
|
<div class="method-source-code" id="get_column_font_size-source">
|
|
2179
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2130
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 566</span>
|
|
2180
2131
|
<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>)
|
|
2181
2132
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
2182
2133
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_size</span>
|
|
@@ -2210,7 +2161,7 @@ information)</p>
|
|
|
2210
2161
|
|
|
2211
2162
|
|
|
2212
2163
|
<div class="method-source-code" id="get_column_horizontal_alignment-source">
|
|
2213
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2164
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 613</span>
|
|
2214
2165
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_horizontal_alignment</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
|
|
2215
2166
|
<span class="ruby-identifier">get_column_alignment</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:horizontal</span>)
|
|
2216
2167
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2243,7 +2194,7 @@ information)</p>
|
|
|
2243
2194
|
|
|
2244
2195
|
|
|
2245
2196
|
<div class="method-source-code" id="get_column_vertical_alignment-source">
|
|
2246
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2197
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 617</span>
|
|
2247
2198
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_vertical_alignment</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
|
|
2248
2199
|
<span class="ruby-identifier">get_column_alignment</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:vertical</span>)
|
|
2249
2200
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2276,7 +2227,7 @@ information)</p>
|
|
|
2276
2227
|
|
|
2277
2228
|
|
|
2278
2229
|
<div class="method-source-code" id="get_column_width-source">
|
|
2279
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2230
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 596</span>
|
|
2280
2231
|
<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>)
|
|
2281
2232
|
<span class="ruby-identifier">validate_workbook</span>
|
|
2282
2233
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">column_index</span>)
|
|
@@ -2314,7 +2265,7 @@ information)</p>
|
|
|
2314
2265
|
|
|
2315
2266
|
|
|
2316
2267
|
<div class="method-source-code" id="get_row_border_bottom-source">
|
|
2317
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2268
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 553</span>
|
|
2318
2269
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_border_bottom</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
2319
2270
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:bottom</span>)
|
|
2320
2271
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2347,7 +2298,7 @@ information)</p>
|
|
|
2347
2298
|
|
|
2348
2299
|
|
|
2349
2300
|
<div class="method-source-code" id="get_row_border_diagonal-source">
|
|
2350
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2301
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 557</span>
|
|
2351
2302
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_border_diagonal</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
2352
2303
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:diagonal</span>)
|
|
2353
2304
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2380,7 +2331,7 @@ information)</p>
|
|
|
2380
2331
|
|
|
2381
2332
|
|
|
2382
2333
|
<div class="method-source-code" id="get_row_border_left-source">
|
|
2383
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2334
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 545</span>
|
|
2384
2335
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_border_left</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
2385
2336
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:left</span>)
|
|
2386
2337
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2413,7 +2364,7 @@ information)</p>
|
|
|
2413
2364
|
|
|
2414
2365
|
|
|
2415
2366
|
<div class="method-source-code" id="get_row_border_right-source">
|
|
2416
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2367
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 549</span>
|
|
2417
2368
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_border_right</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
2418
2369
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:right</span>)
|
|
2419
2370
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2446,7 +2397,7 @@ information)</p>
|
|
|
2446
2397
|
|
|
2447
2398
|
|
|
2448
2399
|
<div class="method-source-code" id="get_row_border_top-source">
|
|
2449
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2400
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 541</span>
|
|
2450
2401
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_border_top</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
2451
2402
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:top</span>)
|
|
2452
2403
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2479,7 +2430,7 @@ information)</p>
|
|
|
2479
2430
|
|
|
2480
2431
|
|
|
2481
2432
|
<div class="method-source-code" id="get_row_fill-source">
|
|
2482
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2433
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 491</span>
|
|
2483
2434
|
<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>)
|
|
2484
2435
|
(<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>
|
|
2485
2436
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2512,7 +2463,7 @@ information)</p>
|
|
|
2512
2463
|
|
|
2513
2464
|
|
|
2514
2465
|
<div class="method-source-code" id="get_row_font_color-source">
|
|
2515
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2466
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 503</span>
|
|
2516
2467
|
<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>)
|
|
2517
2468
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)
|
|
2518
2469
|
<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>
|
|
@@ -2547,7 +2498,7 @@ information)</p>
|
|
|
2547
2498
|
|
|
2548
2499
|
|
|
2549
2500
|
<div class="method-source-code" id="get_row_font_name-source">
|
|
2550
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2501
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 495</span>
|
|
2551
2502
|
<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>)
|
|
2552
2503
|
(<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>
|
|
2553
2504
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2580,7 +2531,7 @@ information)</p>
|
|
|
2580
2531
|
|
|
2581
2532
|
|
|
2582
2533
|
<div class="method-source-code" id="get_row_font_size-source">
|
|
2583
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2534
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 499</span>
|
|
2584
2535
|
<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>)
|
|
2585
2536
|
(<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>
|
|
2586
2537
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2613,7 +2564,7 @@ information)</p>
|
|
|
2613
2564
|
|
|
2614
2565
|
|
|
2615
2566
|
<div class="method-source-code" id="get_row_height-source">
|
|
2616
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2567
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 525</span>
|
|
2617
2568
|
<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>)
|
|
2618
2569
|
<span class="ruby-identifier">validate_workbook</span>
|
|
2619
2570
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
|
|
@@ -2650,7 +2601,7 @@ information)</p>
|
|
|
2650
2601
|
|
|
2651
2602
|
|
|
2652
2603
|
<div class="method-source-code" id="get_row_horizontal_alignment-source">
|
|
2653
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2604
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 533</span>
|
|
2654
2605
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_horizontal_alignment</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
2655
2606
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_alignment</span>(<span class="ruby-identifier">row</span>, <span class="ruby-keyword">true</span>)
|
|
2656
2607
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2683,7 +2634,7 @@ information)</p>
|
|
|
2683
2634
|
|
|
2684
2635
|
|
|
2685
2636
|
<div class="method-source-code" id="get_row_vertical_alignment-source">
|
|
2686
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2637
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 537</span>
|
|
2687
2638
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_vertical_alignment</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
2688
2639
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_alignment</span>(<span class="ruby-identifier">row</span>, <span class="ruby-keyword">false</span>)
|
|
2689
2640
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2716,7 +2667,7 @@ information)</p>
|
|
|
2716
2667
|
|
|
2717
2668
|
|
|
2718
2669
|
<div class="method-source-code" id="get_table-source">
|
|
2719
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2670
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 30</span>
|
|
2720
2671
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_table</span>(<span class="ruby-identifier">headers</span> = [], <span class="ruby-identifier">opts</span> = {})
|
|
2721
2672
|
<span class="ruby-identifier">validate_workbook</span>
|
|
2722
2673
|
|
|
@@ -2797,7 +2748,7 @@ information)</p>
|
|
|
2797
2748
|
|
|
2798
2749
|
|
|
2799
2750
|
<div class="method-source-code" id="insert_cell-source">
|
|
2800
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2751
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 442</span>
|
|
2801
2752
|
<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>)
|
|
2802
2753
|
<span class="ruby-identifier">validate_workbook</span>
|
|
2803
2754
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">col</span>)
|
|
@@ -2848,7 +2799,7 @@ reference cells which are being “pushed down”</p>
|
|
|
2848
2799
|
|
|
2849
2800
|
|
|
2850
2801
|
<div class="method-source-code" id="insert_column-source">
|
|
2851
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2802
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 415</span>
|
|
2852
2803
|
<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>)
|
|
2853
2804
|
<span class="ruby-identifier">validate_workbook</span>
|
|
2854
2805
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
|
|
@@ -2907,7 +2858,7 @@ being “pushed down”</p>
|
|
|
2907
2858
|
|
|
2908
2859
|
|
|
2909
2860
|
<div class="method-source-code" id="insert_row-source">
|
|
2910
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2861
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 367</span>
|
|
2911
2862
|
<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>)
|
|
2912
2863
|
<span class="ruby-identifier">validate_workbook</span>
|
|
2913
2864
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row_index</span>)
|
|
@@ -2963,7 +2914,7 @@ being “pushed down”</p>
|
|
|
2963
2914
|
|
|
2964
2915
|
|
|
2965
2916
|
<div class="method-source-code" id="is_column_bolded-source">
|
|
2966
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2917
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 581</span>
|
|
2967
2918
|
<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>)
|
|
2968
2919
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
2969
2920
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_bold</span>
|
|
@@ -2997,7 +2948,7 @@ being “pushed down”</p>
|
|
|
2997
2948
|
|
|
2998
2949
|
|
|
2999
2950
|
<div class="method-source-code" id="is_column_italicized-source">
|
|
3000
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2951
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 576</span>
|
|
3001
2952
|
<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>)
|
|
3002
2953
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
3003
2954
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_italic</span>
|
|
@@ -3031,7 +2982,7 @@ being “pushed down”</p>
|
|
|
3031
2982
|
|
|
3032
2983
|
|
|
3033
2984
|
<div class="method-source-code" id="is_column_struckthrough-source">
|
|
3034
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2985
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 591</span>
|
|
3035
2986
|
<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>)
|
|
3036
2987
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
3037
2988
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_strikethrough</span>
|
|
@@ -3065,7 +3016,7 @@ being “pushed down”</p>
|
|
|
3065
3016
|
|
|
3066
3017
|
|
|
3067
3018
|
<div class="method-source-code" id="is_column_underlined-source">
|
|
3068
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
3019
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 586</span>
|
|
3069
3020
|
<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>)
|
|
3070
3021
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
3071
3022
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_underlined</span>
|
|
@@ -3099,7 +3050,7 @@ being “pushed down”</p>
|
|
|
3099
3050
|
|
|
3100
3051
|
|
|
3101
3052
|
<div class="method-source-code" id="is_row_bolded-source">
|
|
3102
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
3053
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 513</span>
|
|
3103
3054
|
<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>)
|
|
3104
3055
|
(<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>
|
|
3105
3056
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -3132,7 +3083,7 @@ being “pushed down”</p>
|
|
|
3132
3083
|
|
|
3133
3084
|
|
|
3134
3085
|
<div class="method-source-code" id="is_row_italicized-source">
|
|
3135
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
3086
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 509</span>
|
|
3136
3087
|
<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>)
|
|
3137
3088
|
(<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>
|
|
3138
3089
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -3165,7 +3116,7 @@ being “pushed down”</p>
|
|
|
3165
3116
|
|
|
3166
3117
|
|
|
3167
3118
|
<div class="method-source-code" id="is_row_struckthrough-source">
|
|
3168
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
3119
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 521</span>
|
|
3169
3120
|
<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>)
|
|
3170
3121
|
(<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>
|
|
3171
3122
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -3198,7 +3149,7 @@ being “pushed down”</p>
|
|
|
3198
3149
|
|
|
3199
3150
|
|
|
3200
3151
|
<div class="method-source-code" id="is_row_underlined-source">
|
|
3201
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
3152
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 517</span>
|
|
3202
3153
|
<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>)
|
|
3203
3154
|
(<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>
|
|
3204
3155
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -3231,7 +3182,7 @@ being “pushed down”</p>
|
|
|
3231
3182
|
|
|
3232
3183
|
|
|
3233
3184
|
<div class="method-source-code" id="merge_cells-source">
|
|
3234
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
3185
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 312</span>
|
|
3235
3186
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">merge_cells</span>(<span class="ruby-identifier">row1</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">col1</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">row2</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">col2</span> = <span class="ruby-value">0</span>)
|
|
3236
3187
|
<span class="ruby-identifier">validate_workbook</span>
|
|
3237
3188
|
|