rubyXL 3.2.2 → 3.2.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/VERSION +1 -1
- data/lib/rubyXL/objects/root.rb +1 -3
- data/lib/rubyXL/objects/theme.rb +1 -8
- data/lib/rubyXL/objects/workbook.rb +2 -3
- data/lib/rubyXL/worksheet.rb +0 -1
- data/rdoc/README_rdoc.html +28 -28
- 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/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 +2 -2
- 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 +2 -2
- 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 +3 -3
- 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 +2 -2
- 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/DefinedNames.html +1 -1
- data/rdoc/RubyXL/DocumentPropertiesFile.html +7 -7
- 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/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 +4 -4
- 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 +23 -23
- data/rdoc/RubyXL/LegacyWorkbook.html +7 -7
- data/rdoc/RubyXL/LegacyWorksheet.html +66 -67
- 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 +2 -2
- 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 +13 -13
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +1 -1
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +6 -6
- 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/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 +5 -5
- 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 +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 +2 -2
- 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/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 +2 -2
- 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 +2 -2
- 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/WorkbookProperties.html +1 -1
- data/rdoc/RubyXL/WorkbookProtection.html +1 -1
- data/rdoc/RubyXL/WorkbookRoot.html +6 -71
- 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 +37 -37
- data/rdoc/index.html +2 -2
- data/rdoc/js/search_index.js +1 -1
- data/rdoc/table_of_contents.html +2 -2
- data/rubyXL.gemspec +3 -3
- data/spec/lib/cell_spec.rb +24 -24
- metadata +2 -2
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>module RubyXL::LegacyWorkbook - rubyXL 3.2.
|
|
7
|
+
<title>module RubyXL::LegacyWorkbook - rubyXL 3.2.3</title>
|
|
8
8
|
|
|
9
9
|
<link href="../fonts.css" rel="stylesheet">
|
|
10
10
|
<link href="../rdoc.css" rel="stylesheet">
|
|
@@ -203,12 +203,12 @@
|
|
|
203
203
|
<div class="method-source-code" id="new-source">
|
|
204
204
|
<pre><span class="ruby-comment"># File lib/rubyXL/workbook.rb, line 14</span>
|
|
205
205
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">worksheets</span>=[], <span class="ruby-identifier">filepath</span>=<span class="ruby-keyword">nil</span>, <span class="ruby-identifier">creator</span>=<span class="ruby-keyword">nil</span>, <span class="ruby-identifier">modifier</span>=<span class="ruby-keyword">nil</span>, <span class="ruby-identifier">created_at</span>=<span class="ruby-keyword">nil</span>,
|
|
206
|
-
<span class="ruby-identifier">company</span>=<span class="ruby-string"
|
|
206
|
+
<span class="ruby-identifier">company</span>=<span class="ruby-string">''</span>, <span class="ruby-identifier">application</span>=<span class="ruby-constant">APPLICATION</span>,
|
|
207
207
|
<span class="ruby-identifier">appversion</span>=<span class="ruby-constant">APPVERSION</span>, <span class="ruby-identifier">date1904</span>=<span class="ruby-value">0</span>)
|
|
208
208
|
<span class="ruby-keyword">super</span>()
|
|
209
209
|
|
|
210
210
|
<span class="ruby-comment"># Order of sheets in the +worksheets+ array corresponds to the order of pages in Excel UI.</span>
|
|
211
|
-
<span class="ruby-comment"># SheetId
|
|
211
|
+
<span class="ruby-comment"># SheetId's, rId's, etc. are completely unrelated to ordering.</span>
|
|
212
212
|
<span class="ruby-ivar">@worksheets</span> = <span class="ruby-identifier">worksheets</span>
|
|
213
213
|
<span class="ruby-identifier">add_worksheet</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@worksheets</span>.<span class="ruby-identifier">empty?</span>
|
|
214
214
|
|
|
@@ -230,9 +230,9 @@
|
|
|
230
230
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">appversion</span> = <span class="ruby-identifier">appversion</span>
|
|
231
231
|
|
|
232
232
|
<span class="ruby-keyword">begin</span>
|
|
233
|
-
<span class="ruby-ivar">@created_at</span> = <span class="ruby-constant">DateTime</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">created_at</span>).<span class="ruby-identifier">strftime</span>(<span class="ruby-string"
|
|
233
|
+
<span class="ruby-ivar">@created_at</span> = <span class="ruby-constant">DateTime</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">created_at</span>).<span class="ruby-identifier">strftime</span>(<span class="ruby-string">'%Y-%m-%dT%TZ'</span>)
|
|
234
234
|
<span class="ruby-keyword">rescue</span>
|
|
235
|
-
<span class="ruby-ivar">@created_at</span> = <span class="ruby-constant">Time</span>.<span class="ruby-identifier">now</span>.<span class="ruby-identifier">strftime</span>(<span class="ruby-string"
|
|
235
|
+
<span class="ruby-ivar">@created_at</span> = <span class="ruby-constant">Time</span>.<span class="ruby-identifier">now</span>.<span class="ruby-identifier">strftime</span>(<span class="ruby-string">'%Y-%m-%dT%TZ'</span>)
|
|
236
236
|
<span class="ruby-keyword">end</span>
|
|
237
237
|
<span class="ruby-ivar">@modified_at</span> = <span class="ruby-ivar">@created_at</span>
|
|
238
238
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -557,7 +557,7 @@
|
|
|
557
557
|
<span class="ruby-identifier">fill</span> = <span class="ruby-identifier">fills</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">fill_id</span>]
|
|
558
558
|
<span class="ruby-identifier">pattern</span> = <span class="ruby-identifier">fill</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">fill</span>.<span class="ruby-identifier">pattern_fill</span>
|
|
559
559
|
<span class="ruby-identifier">color</span> = <span class="ruby-identifier">pattern</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">pattern</span>.<span class="ruby-identifier">fg_color</span>
|
|
560
|
-
<span class="ruby-identifier">color</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">color</span>.<span class="ruby-identifier">rgb</span> <span class="ruby-operator">||</span> <span class="ruby-string"
|
|
560
|
+
<span class="ruby-identifier">color</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">color</span>.<span class="ruby-identifier">rgb</span> <span class="ruby-operator">||</span> <span class="ruby-string">'ffffff'</span>
|
|
561
561
|
<span class="ruby-keyword">end</span></pre>
|
|
562
562
|
</div>
|
|
563
563
|
|
|
@@ -673,7 +673,7 @@
|
|
|
673
673
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">modify_fill</span>(<span class="ruby-identifier">style_index</span>, <span class="ruby-identifier">rgb</span>)
|
|
674
674
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">cell_xfs</span>[<span class="ruby-identifier">style_index</span>].<span class="ruby-identifier">dup</span>
|
|
675
675
|
<span class="ruby-identifier">new_fill</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Fill</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:pattern_fill</span> =<span class="ruby-operator">></span>
|
|
676
|
-
<span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">PatternFill</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:pattern_type</span> =<span class="ruby-operator">></span> <span class="ruby-string"
|
|
676
|
+
<span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">PatternFill</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:pattern_type</span> =<span class="ruby-operator">></span> <span class="ruby-string">'solid'</span>,
|
|
677
677
|
<span class="ruby-value">:fg_color</span> =<span class="ruby-operator">></span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Color</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:rgb</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">rgb</span>)))
|
|
678
678
|
<span class="ruby-identifier">new_xf</span> = <span class="ruby-identifier">register_new_fill</span>(<span class="ruby-identifier">new_fill</span>, <span class="ruby-identifier">xf</span>)
|
|
679
679
|
<span class="ruby-identifier">register_new_xf</span>(<span class="ruby-identifier">new_xf</span>, <span class="ruby-identifier">style_index</span>)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>module RubyXL::LegacyWorksheet - rubyXL 3.2.
|
|
7
|
+
<title>module RubyXL::LegacyWorksheet - rubyXL 3.2.3</title>
|
|
8
8
|
|
|
9
9
|
<link href="../fonts.css" rel="stylesheet">
|
|
10
10
|
<link href="../rdoc.css" rel="stylesheet">
|
|
@@ -426,7 +426,7 @@
|
|
|
426
426
|
|
|
427
427
|
<div class="method-source-code" id="add_cell-source">
|
|
428
428
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 360</span>
|
|
429
|
-
<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"
|
|
429
|
+
<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>)
|
|
430
430
|
<span class="ruby-identifier">validate_workbook</span>
|
|
431
431
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">column</span>)
|
|
432
432
|
|
|
@@ -589,7 +589,7 @@
|
|
|
589
589
|
|
|
590
590
|
<div class="method-source-code" id="change_column_border_bottom-source">
|
|
591
591
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 324</span>
|
|
592
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_bottom</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string"
|
|
592
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_bottom</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
593
593
|
<span class="ruby-identifier">warn</span> <span class="ruby-node">"[DEPRECATION] `#{__method__}` is deprecated. Please use `change_column_border` instead."</span>
|
|
594
594
|
<span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-value">:bottom</span>, <span class="ruby-identifier">weight</span>)
|
|
595
595
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -623,7 +623,7 @@
|
|
|
623
623
|
|
|
624
624
|
<div class="method-source-code" id="change_column_border_diagonal-source">
|
|
625
625
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 329</span>
|
|
626
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_diagonal</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string"
|
|
626
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_diagonal</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
627
627
|
<span class="ruby-identifier">warn</span> <span class="ruby-node">"[DEPRECATION] `#{__method__}` is deprecated. Please use `change_column_border` instead."</span>
|
|
628
628
|
<span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-value">:diagonal</span>, <span class="ruby-identifier">weight</span>)
|
|
629
629
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -657,7 +657,7 @@
|
|
|
657
657
|
|
|
658
658
|
<div class="method-source-code" id="change_column_border_left-source">
|
|
659
659
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 314</span>
|
|
660
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_left</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string"
|
|
660
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_left</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
661
661
|
<span class="ruby-identifier">warn</span> <span class="ruby-node">"[DEPRECATION] `#{__method__}` is deprecated. Please use `change_column_border` instead."</span>
|
|
662
662
|
<span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-value">:left</span>, <span class="ruby-identifier">weight</span>)
|
|
663
663
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -691,7 +691,7 @@
|
|
|
691
691
|
|
|
692
692
|
<div class="method-source-code" id="change_column_border_right-source">
|
|
693
693
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 319</span>
|
|
694
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_right</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string"
|
|
694
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_right</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
695
695
|
<span class="ruby-identifier">warn</span> <span class="ruby-node">"[DEPRECATION] `#{__method__}` is deprecated. Please use `change_column_border` instead."</span>
|
|
696
696
|
<span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-value">:right</span>, <span class="ruby-identifier">weight</span>)
|
|
697
697
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -725,7 +725,7 @@
|
|
|
725
725
|
|
|
726
726
|
<div class="method-source-code" id="change_column_border_top-source">
|
|
727
727
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 309</span>
|
|
728
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_top</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string"
|
|
728
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_top</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
729
729
|
<span class="ruby-identifier">warn</span> <span class="ruby-node">"[DEPRECATION] `#{__method__}` is deprecated. Please use `change_column_border` instead."</span>
|
|
730
730
|
<span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-value">:top</span>, <span class="ruby-identifier">weight</span>)
|
|
731
731
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -759,7 +759,7 @@
|
|
|
759
759
|
|
|
760
760
|
<div class="method-source-code" id="change_column_fill-source">
|
|
761
761
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 288</span>
|
|
762
|
-
<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_index</span>=<span class="ruby-string"
|
|
762
|
+
<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_index</span>=<span class="ruby-string">'ffffff'</span>)
|
|
763
763
|
<span class="ruby-identifier">validate_workbook</span>
|
|
764
764
|
<span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">color_index</span>)
|
|
765
765
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
|
|
@@ -801,7 +801,7 @@
|
|
|
801
801
|
|
|
802
802
|
<div class="method-source-code" id="change_column_font_color-source">
|
|
803
803
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 236</span>
|
|
804
|
-
<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"
|
|
804
|
+
<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>)
|
|
805
805
|
<span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">font_color</span>)
|
|
806
806
|
|
|
807
807
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
|
@@ -839,7 +839,7 @@
|
|
|
839
839
|
|
|
840
840
|
<div class="method-source-code" id="change_column_font_name-source">
|
|
841
841
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 220</span>
|
|
842
|
-
<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"
|
|
842
|
+
<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>)
|
|
843
843
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
|
844
844
|
<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>
|
|
845
845
|
<span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_name</span>(<span class="ruby-identifier">font_name</span>)
|
|
@@ -911,7 +911,7 @@
|
|
|
911
911
|
|
|
912
912
|
<div class="method-source-code" id="change_column_horizontal_alignment-source">
|
|
913
913
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 301</span>
|
|
914
|
-
<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"
|
|
914
|
+
<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>)
|
|
915
915
|
<span class="ruby-identifier">change_column_alignment</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">alignment</span>,<span class="ruby-keyword">true</span>)
|
|
916
916
|
<span class="ruby-keyword">end</span></pre>
|
|
917
917
|
</div>
|
|
@@ -1052,7 +1052,7 @@
|
|
|
1052
1052
|
|
|
1053
1053
|
<div class="method-source-code" id="change_column_vertical_alignment-source">
|
|
1054
1054
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 305</span>
|
|
1055
|
-
<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"
|
|
1055
|
+
<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>)
|
|
1056
1056
|
<span class="ruby-identifier">change_column_alignment</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">alignment</span>, <span class="ruby-keyword">false</span>)
|
|
1057
1057
|
<span class="ruby-keyword">end</span></pre>
|
|
1058
1058
|
</div>
|
|
@@ -1232,7 +1232,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1232
1232
|
|
|
1233
1233
|
<div class="method-source-code" id="change_row_border_bottom-source">
|
|
1234
1234
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 198</span>
|
|
1235
|
-
<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"
|
|
1235
|
+
<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>)
|
|
1236
1236
|
<span class="ruby-identifier">warn</span> <span class="ruby-node">"[DEPRECATION] `#{__method__}` is deprecated. Please use `change_row_border` instead."</span>
|
|
1237
1237
|
<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>)
|
|
1238
1238
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1266,7 +1266,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1266
1266
|
|
|
1267
1267
|
<div class="method-source-code" id="change_row_border_diagonal-source">
|
|
1268
1268
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 203</span>
|
|
1269
|
-
<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"
|
|
1269
|
+
<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>)
|
|
1270
1270
|
<span class="ruby-identifier">warn</span> <span class="ruby-node">"[DEPRECATION] `#{__method__}` is deprecated. Please use `change_row_border` instead."</span>
|
|
1271
1271
|
<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>)
|
|
1272
1272
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1300,7 +1300,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1300
1300
|
|
|
1301
1301
|
<div class="method-source-code" id="change_row_border_left-source">
|
|
1302
1302
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 188</span>
|
|
1303
|
-
<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"
|
|
1303
|
+
<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>)
|
|
1304
1304
|
<span class="ruby-identifier">warn</span> <span class="ruby-node">"[DEPRECATION] `#{__method__}` is deprecated. Please use `change_row_border` instead."</span>
|
|
1305
1305
|
<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>)
|
|
1306
1306
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1334,7 +1334,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1334
1334
|
|
|
1335
1335
|
<div class="method-source-code" id="change_row_border_right-source">
|
|
1336
1336
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 193</span>
|
|
1337
|
-
<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"
|
|
1337
|
+
<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>)
|
|
1338
1338
|
<span class="ruby-identifier">warn</span> <span class="ruby-node">"[DEPRECATION] `#{__method__}` is deprecated. Please use `change_row_border` instead."</span>
|
|
1339
1339
|
<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>)
|
|
1340
1340
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1368,7 +1368,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1368
1368
|
|
|
1369
1369
|
<div class="method-source-code" id="change_row_border_top-source">
|
|
1370
1370
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 183</span>
|
|
1371
|
-
<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"
|
|
1371
|
+
<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>)
|
|
1372
1372
|
<span class="ruby-identifier">warn</span> <span class="ruby-node">"[DEPRECATION] `#{__method__}` is deprecated. Please use `change_row_border` instead."</span>
|
|
1373
1373
|
<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>)
|
|
1374
1374
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1402,7 +1402,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1402
1402
|
|
|
1403
1403
|
<div class="method-source-code" id="change_row_fill-source">
|
|
1404
1404
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 103</span>
|
|
1405
|
-
<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"
|
|
1405
|
+
<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>)
|
|
1406
1406
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1407
1407
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row_index</span>)
|
|
1408
1408
|
<span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">rgb</span>)
|
|
@@ -1440,7 +1440,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1440
1440
|
|
|
1441
1441
|
<div class="method-source-code" id="change_row_font_color-source">
|
|
1442
1442
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 126</span>
|
|
1443
|
-
<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"
|
|
1443
|
+
<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>)
|
|
1444
1444
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
1445
1445
|
<span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">font_color</span>)
|
|
1446
1446
|
<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>
|
|
@@ -1477,7 +1477,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1477
1477
|
|
|
1478
1478
|
<div class="method-source-code" id="change_row_font_name-source">
|
|
1479
1479
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 112</span>
|
|
1480
|
-
<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"
|
|
1480
|
+
<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>)
|
|
1481
1481
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
1482
1482
|
<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>
|
|
1483
1483
|
<span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_name</span>(<span class="ruby-identifier">font_name</span>)
|
|
@@ -1587,7 +1587,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1587
1587
|
|
|
1588
1588
|
<div class="method-source-code" id="change_row_horizontal_alignment-source">
|
|
1589
1589
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 171</span>
|
|
1590
|
-
<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"
|
|
1590
|
+
<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>)
|
|
1591
1591
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1592
1592
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
|
|
1593
1593
|
<span class="ruby-identifier">change_row_alignment</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">alignment</span>, <span class="ruby-keyword">true</span>)
|
|
@@ -1730,7 +1730,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1730
1730
|
|
|
1731
1731
|
<div class="method-source-code" id="change_row_vertical_alignment-source">
|
|
1732
1732
|
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 177</span>
|
|
1733
|
-
<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"
|
|
1733
|
+
<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>)
|
|
1734
1734
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1735
1735
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
|
|
1736
1736
|
<span class="ruby-identifier">change_row_alignment</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">alignment</span>, <span class="ruby-keyword">false</span>)
|
|
@@ -1766,7 +1766,7 @@ specified, method will shift column contents below the deleted cell upward</p>
|
|
|
1766
1766
|
|
|
1767
1767
|
|
|
1768
1768
|
<div class="method-source-code" id="delete_cell-source">
|
|
1769
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1769
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 501</span>
|
|
1770
1770
|
<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>)
|
|
1771
1771
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1772
1772
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
|
|
@@ -1787,7 +1787,7 @@ specified, method will shift column contents below the deleted cell upward</p>
|
|
|
1787
1787
|
<span class="ruby-identifier">c</span>.<span class="ruby-identifier">row</span> <span class="ruby-operator">-=</span> <span class="ruby-value">1</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Cell</span>)
|
|
1788
1788
|
}
|
|
1789
1789
|
<span class="ruby-keyword">else</span>
|
|
1790
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-string"
|
|
1790
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-string">'invalid shift option'</span>
|
|
1791
1791
|
<span class="ruby-keyword">end</span>
|
|
1792
1792
|
|
|
1793
1793
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">cell</span>
|
|
@@ -1821,7 +1821,7 @@ specified, method will shift column contents below the deleted cell upward</p>
|
|
|
1821
1821
|
|
|
1822
1822
|
|
|
1823
1823
|
<div class="method-source-code" id="delete_column-source">
|
|
1824
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1824
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 431</span>
|
|
1825
1825
|
<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>)
|
|
1826
1826
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1827
1827
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">column_index</span>)
|
|
@@ -1875,7 +1875,6 @@ specified, method will shift column contents below the deleted cell upward</p>
|
|
|
1875
1875
|
<span class="ruby-keyword">return</span> <span class="ruby-keyword">nil</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">row_exists</span>(<span class="ruby-identifier">row_index</span>)
|
|
1876
1876
|
|
|
1877
1877
|
<span class="ruby-identifier">deleted</span> = <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>.<span class="ruby-identifier">delete_at</span>(<span class="ruby-identifier">row_index</span>)
|
|
1878
|
-
<span class="ruby-identifier">row_num</span> = <span class="ruby-identifier">row_index</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>
|
|
1879
1878
|
|
|
1880
1879
|
<span class="ruby-comment"># Change cell row numbers</span>
|
|
1881
1880
|
<span class="ruby-identifier">row_index</span>.<span class="ruby-identifier">upto</span>(<span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">-</span> <span class="ruby-value">1</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">index</span><span class="ruby-operator">|</span>
|
|
@@ -1982,7 +1981,7 @@ information)</p>
|
|
|
1982
1981
|
|
|
1983
1982
|
|
|
1984
1983
|
<div class="method-source-code" id="get_column_border_bottom-source">
|
|
1985
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1984
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 678</span>
|
|
1986
1985
|
<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>)
|
|
1987
1986
|
<span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:bottom</span>)
|
|
1988
1987
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2015,7 +2014,7 @@ information)</p>
|
|
|
2015
2014
|
|
|
2016
2015
|
|
|
2017
2016
|
<div class="method-source-code" id="get_column_border_diagonal-source">
|
|
2018
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2017
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 682</span>
|
|
2019
2018
|
<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>)
|
|
2020
2019
|
<span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:diagonal</span>)
|
|
2021
2020
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2048,7 +2047,7 @@ information)</p>
|
|
|
2048
2047
|
|
|
2049
2048
|
|
|
2050
2049
|
<div class="method-source-code" id="get_column_border_left-source">
|
|
2051
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2050
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 670</span>
|
|
2052
2051
|
<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>)
|
|
2053
2052
|
<span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:left</span>)
|
|
2054
2053
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2081,7 +2080,7 @@ information)</p>
|
|
|
2081
2080
|
|
|
2082
2081
|
|
|
2083
2082
|
<div class="method-source-code" id="get_column_border_right-source">
|
|
2084
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2083
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 674</span>
|
|
2085
2084
|
<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>)
|
|
2086
2085
|
<span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:right</span>)
|
|
2087
2086
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2114,7 +2113,7 @@ information)</p>
|
|
|
2114
2113
|
|
|
2115
2114
|
|
|
2116
2115
|
<div class="method-source-code" id="get_column_border_top-source">
|
|
2117
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2116
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 666</span>
|
|
2118
2117
|
<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>)
|
|
2119
2118
|
<span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:top</span>)
|
|
2120
2119
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2147,7 +2146,7 @@ information)</p>
|
|
|
2147
2146
|
|
|
2148
2147
|
|
|
2149
2148
|
<div class="method-source-code" id="get_column_fill-source">
|
|
2150
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2149
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 650</span>
|
|
2151
2150
|
<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>)
|
|
2152
2151
|
<span class="ruby-identifier">validate_workbook</span>
|
|
2153
2152
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">col</span>)
|
|
@@ -2184,10 +2183,10 @@ information)</p>
|
|
|
2184
2183
|
|
|
2185
2184
|
|
|
2186
2185
|
<div class="method-source-code" id="get_column_font_color-source">
|
|
2187
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2186
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 607</span>
|
|
2188
2187
|
<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>)
|
|
2189
2188
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
2190
|
-
<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"
|
|
2189
|
+
<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>)
|
|
2191
2190
|
<span class="ruby-keyword">end</span></pre>
|
|
2192
2191
|
</div>
|
|
2193
2192
|
|
|
@@ -2218,7 +2217,7 @@ information)</p>
|
|
|
2218
2217
|
|
|
2219
2218
|
|
|
2220
2219
|
<div class="method-source-code" id="get_column_font_name-source">
|
|
2221
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2220
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 597</span>
|
|
2222
2221
|
<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>)
|
|
2223
2222
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
2224
2223
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_name</span>
|
|
@@ -2252,7 +2251,7 @@ information)</p>
|
|
|
2252
2251
|
|
|
2253
2252
|
|
|
2254
2253
|
<div class="method-source-code" id="get_column_font_size-source">
|
|
2255
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2254
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 602</span>
|
|
2256
2255
|
<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>)
|
|
2257
2256
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
2258
2257
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_size</span>
|
|
@@ -2286,7 +2285,7 @@ information)</p>
|
|
|
2286
2285
|
|
|
2287
2286
|
|
|
2288
2287
|
<div class="method-source-code" id="get_column_horizontal_alignment-source">
|
|
2289
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2288
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 658</span>
|
|
2290
2289
|
<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>)
|
|
2291
2290
|
<span class="ruby-identifier">get_column_alignment</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:horizontal</span>)
|
|
2292
2291
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2319,7 +2318,7 @@ information)</p>
|
|
|
2319
2318
|
|
|
2320
2319
|
|
|
2321
2320
|
<div class="method-source-code" id="get_column_vertical_alignment-source">
|
|
2322
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2321
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 662</span>
|
|
2323
2322
|
<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>)
|
|
2324
2323
|
<span class="ruby-identifier">get_column_alignment</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:vertical</span>)
|
|
2325
2324
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2353,7 +2352,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2353
2352
|
|
|
2354
2353
|
|
|
2355
2354
|
<div class="method-source-code" id="get_column_width-source">
|
|
2356
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2355
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 644</span>
|
|
2357
2356
|
<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>)
|
|
2358
2357
|
<span class="ruby-identifier">width</span> = <span class="ruby-identifier">get_column_width_raw</span>(<span class="ruby-identifier">column_index</span>)
|
|
2359
2358
|
<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>
|
|
@@ -2388,7 +2387,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2388
2387
|
|
|
2389
2388
|
|
|
2390
2389
|
<div class="method-source-code" id="get_column_width_raw-source">
|
|
2391
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2390
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 633</span>
|
|
2392
2391
|
<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>)
|
|
2393
2392
|
<span class="ruby-identifier">validate_workbook</span>
|
|
2394
2393
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">column_index</span>)
|
|
@@ -2426,7 +2425,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2426
2425
|
|
|
2427
2426
|
|
|
2428
2427
|
<div class="method-source-code" id="get_row_border_bottom-source">
|
|
2429
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2428
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 589</span>
|
|
2430
2429
|
<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>)
|
|
2431
2430
|
<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>)
|
|
2432
2431
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2459,7 +2458,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2459
2458
|
|
|
2460
2459
|
|
|
2461
2460
|
<div class="method-source-code" id="get_row_border_diagonal-source">
|
|
2462
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2461
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 593</span>
|
|
2463
2462
|
<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>)
|
|
2464
2463
|
<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>)
|
|
2465
2464
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2492,7 +2491,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2492
2491
|
|
|
2493
2492
|
|
|
2494
2493
|
<div class="method-source-code" id="get_row_border_left-source">
|
|
2495
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2494
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 581</span>
|
|
2496
2495
|
<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>)
|
|
2497
2496
|
<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>)
|
|
2498
2497
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2525,7 +2524,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2525
2524
|
|
|
2526
2525
|
|
|
2527
2526
|
<div class="method-source-code" id="get_row_border_right-source">
|
|
2528
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2527
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 585</span>
|
|
2529
2528
|
<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>)
|
|
2530
2529
|
<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>)
|
|
2531
2530
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2558,7 +2557,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2558
2557
|
|
|
2559
2558
|
|
|
2560
2559
|
<div class="method-source-code" id="get_row_border_top-source">
|
|
2561
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2560
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 577</span>
|
|
2562
2561
|
<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>)
|
|
2563
2562
|
<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>)
|
|
2564
2563
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2591,7 +2590,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2591
2590
|
|
|
2592
2591
|
|
|
2593
2592
|
<div class="method-source-code" id="get_row_fill-source">
|
|
2594
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2593
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 527</span>
|
|
2595
2594
|
<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>)
|
|
2596
2595
|
(<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>
|
|
2597
2596
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2624,11 +2623,11 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2624
2623
|
|
|
2625
2624
|
|
|
2626
2625
|
<div class="method-source-code" id="get_row_font_color-source">
|
|
2627
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2626
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 539</span>
|
|
2628
2627
|
<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>)
|
|
2629
2628
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)
|
|
2630
2629
|
<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>
|
|
2631
|
-
<span class="ruby-identifier">color</span> <span class="ruby-operator">&&</span> (<span class="ruby-identifier">color</span>.<span class="ruby-identifier">rgb</span> <span class="ruby-operator">||</span> <span class="ruby-string"
|
|
2630
|
+
<span class="ruby-identifier">color</span> <span class="ruby-operator">&&</span> (<span class="ruby-identifier">color</span>.<span class="ruby-identifier">rgb</span> <span class="ruby-operator">||</span> <span class="ruby-string">'000000'</span>)
|
|
2632
2631
|
<span class="ruby-keyword">end</span></pre>
|
|
2633
2632
|
</div>
|
|
2634
2633
|
|
|
@@ -2659,7 +2658,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2659
2658
|
|
|
2660
2659
|
|
|
2661
2660
|
<div class="method-source-code" id="get_row_font_name-source">
|
|
2662
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2661
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 531</span>
|
|
2663
2662
|
<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>)
|
|
2664
2663
|
(<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>
|
|
2665
2664
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2692,7 +2691,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2692
2691
|
|
|
2693
2692
|
|
|
2694
2693
|
<div class="method-source-code" id="get_row_font_size-source">
|
|
2695
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2694
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 535</span>
|
|
2696
2695
|
<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>)
|
|
2697
2696
|
(<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>
|
|
2698
2697
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2725,7 +2724,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2725
2724
|
|
|
2726
2725
|
|
|
2727
2726
|
<div class="method-source-code" id="get_row_height-source">
|
|
2728
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2727
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 561</span>
|
|
2729
2728
|
<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>)
|
|
2730
2729
|
<span class="ruby-identifier">validate_workbook</span>
|
|
2731
2730
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
|
|
@@ -2762,7 +2761,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2762
2761
|
|
|
2763
2762
|
|
|
2764
2763
|
<div class="method-source-code" id="get_row_horizontal_alignment-source">
|
|
2765
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2764
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 569</span>
|
|
2766
2765
|
<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>)
|
|
2767
2766
|
<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>)
|
|
2768
2767
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2795,7 +2794,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2795
2794
|
|
|
2796
2795
|
|
|
2797
2796
|
<div class="method-source-code" id="get_row_vertical_alignment-source">
|
|
2798
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2797
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 573</span>
|
|
2799
2798
|
<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>)
|
|
2800
2799
|
<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>)
|
|
2801
2800
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2909,7 +2908,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2909
2908
|
|
|
2910
2909
|
|
|
2911
2910
|
<div class="method-source-code" id="insert_cell-source">
|
|
2912
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2911
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 478</span>
|
|
2913
2912
|
<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>)
|
|
2914
2913
|
<span class="ruby-identifier">validate_workbook</span>
|
|
2915
2914
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">col</span>)
|
|
@@ -2924,7 +2923,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2924
2923
|
<span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">index</span>].<span class="ruby-identifier">cells</span>[<span class="ruby-identifier">col</span>] = <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">index</span><span class="ruby-operator">-</span><span class="ruby-value">1</span>].<span class="ruby-identifier">cells</span>[<span class="ruby-identifier">col</span>]
|
|
2925
2924
|
}
|
|
2926
2925
|
<span class="ruby-keyword">else</span>
|
|
2927
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-string"
|
|
2926
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-string">'invalid shift option'</span>
|
|
2928
2927
|
<span class="ruby-keyword">end</span>
|
|
2929
2928
|
|
|
2930
2929
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">add_cell</span>(<span class="ruby-identifier">row</span>,<span class="ruby-identifier">col</span>,<span class="ruby-identifier">data</span>,<span class="ruby-identifier">formula</span>)
|
|
@@ -2960,7 +2959,7 @@ which reference cells which are being “pushed right”</p>
|
|
|
2960
2959
|
|
|
2961
2960
|
|
|
2962
2961
|
<div class="method-source-code" id="insert_column-source">
|
|
2963
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2962
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 451</span>
|
|
2964
2963
|
<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>)
|
|
2965
2964
|
<span class="ruby-identifier">validate_workbook</span>
|
|
2966
2965
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
|
|
@@ -3011,14 +3010,14 @@ which reference cells which are being “pushed right”</p>
|
|
|
3011
3010
|
<div class="method-description">
|
|
3012
3011
|
|
|
3013
3012
|
<p>Inserts row at row_index, pushes down, copies style from the row above
|
|
3014
|
-
(that
|
|
3015
|
-
which reference cells which are being “pushed down”</p>
|
|
3013
|
+
(that's what Excel 2013 does!) NOTE: use of this method will break
|
|
3014
|
+
formulas which reference cells which are being “pushed down”</p>
|
|
3016
3015
|
|
|
3017
3016
|
|
|
3018
3017
|
|
|
3019
3018
|
|
|
3020
3019
|
<div class="method-source-code" id="insert_row-source">
|
|
3021
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
3020
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 399</span>
|
|
3022
3021
|
<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>)
|
|
3023
3022
|
<span class="ruby-identifier">validate_workbook</span>
|
|
3024
3023
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row_index</span>)
|
|
@@ -3079,7 +3078,7 @@ which reference cells which are being “pushed down”</p>
|
|
|
3079
3078
|
|
|
3080
3079
|
|
|
3081
3080
|
<div class="method-source-code" id="is_column_bolded-source">
|
|
3082
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
3081
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 617</span>
|
|
3083
3082
|
<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>)
|
|
3084
3083
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
3085
3084
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_bold</span>
|
|
@@ -3113,7 +3112,7 @@ which reference cells which are being “pushed down”</p>
|
|
|
3113
3112
|
|
|
3114
3113
|
|
|
3115
3114
|
<div class="method-source-code" id="is_column_italicized-source">
|
|
3116
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
3115
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 612</span>
|
|
3117
3116
|
<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>)
|
|
3118
3117
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
3119
3118
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_italic</span>
|
|
@@ -3147,7 +3146,7 @@ which reference cells which are being “pushed down”</p>
|
|
|
3147
3146
|
|
|
3148
3147
|
|
|
3149
3148
|
<div class="method-source-code" id="is_column_struckthrough-source">
|
|
3150
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
3149
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 627</span>
|
|
3151
3150
|
<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>)
|
|
3152
3151
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
3153
3152
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_strikethrough</span>
|
|
@@ -3181,7 +3180,7 @@ which reference cells which are being “pushed down”</p>
|
|
|
3181
3180
|
|
|
3182
3181
|
|
|
3183
3182
|
<div class="method-source-code" id="is_column_underlined-source">
|
|
3184
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
3183
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 622</span>
|
|
3185
3184
|
<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>)
|
|
3186
3185
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
3187
3186
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_underlined</span>
|
|
@@ -3215,7 +3214,7 @@ which reference cells which are being “pushed down”</p>
|
|
|
3215
3214
|
|
|
3216
3215
|
|
|
3217
3216
|
<div class="method-source-code" id="is_row_bolded-source">
|
|
3218
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
3217
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 549</span>
|
|
3219
3218
|
<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>)
|
|
3220
3219
|
(<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>
|
|
3221
3220
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -3248,7 +3247,7 @@ which reference cells which are being “pushed down”</p>
|
|
|
3248
3247
|
|
|
3249
3248
|
|
|
3250
3249
|
<div class="method-source-code" id="is_row_italicized-source">
|
|
3251
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
3250
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 545</span>
|
|
3252
3251
|
<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>)
|
|
3253
3252
|
(<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>
|
|
3254
3253
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -3281,7 +3280,7 @@ which reference cells which are being “pushed down”</p>
|
|
|
3281
3280
|
|
|
3282
3281
|
|
|
3283
3282
|
<div class="method-source-code" id="is_row_struckthrough-source">
|
|
3284
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
3283
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 557</span>
|
|
3285
3284
|
<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>)
|
|
3286
3285
|
(<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>
|
|
3287
3286
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -3314,7 +3313,7 @@ which reference cells which are being “pushed down”</p>
|
|
|
3314
3313
|
|
|
3315
3314
|
|
|
3316
3315
|
<div class="method-source-code" id="is_row_underlined-source">
|
|
3317
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
3316
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 553</span>
|
|
3318
3317
|
<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>)
|
|
3319
3318
|
(<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>
|
|
3320
3319
|
<span class="ruby-keyword">end</span></pre>
|