rubyXL 3.2.6 → 3.2.7
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/README.rdoc +7 -1
- data/VERSION +1 -1
- data/lib/rubyXL/cell.rb +0 -73
- data/lib/rubyXL/convenience_methods.rb +493 -9
- data/lib/rubyXL/objects/border.rb +1 -1
- data/lib/rubyXL/objects/column_range.rb +31 -14
- data/lib/rubyXL/objects/container_nodes.rb +9 -0
- data/lib/rubyXL/objects/document_properties.rb +4 -6
- data/lib/rubyXL/objects/fill.rb +7 -5
- data/lib/rubyXL/objects/font.rb +3 -3
- data/lib/rubyXL/objects/sheet_data.rb +2 -0
- data/lib/rubyXL/objects/stylesheet.rb +9 -9
- data/lib/rubyXL/objects/theme.rb +1 -1
- data/lib/rubyXL/objects/workbook.rb +1 -1
- data/lib/rubyXL/objects/worksheet.rb +2 -0
- data/lib/rubyXL/worksheet.rb +5 -415
- data/rdoc/README_rdoc.html +14 -2
- 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 +1 -1
- data/rdoc/RubyXL/CalculationChainCell.html +1 -1
- data/rdoc/RubyXL/CalculationProperties.html +1 -1
- data/rdoc/RubyXL/Cell.html +15 -11
- data/rdoc/RubyXL/CellConvenienceMethods.html +98 -0
- 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 +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 +56 -40
- data/rdoc/RubyXL/Comment.html +1 -1
- data/rdoc/RubyXL/CommentList.html +1 -1
- data/rdoc/RubyXL/CommentsFile.html +1 -1
- data/rdoc/RubyXL/ConditionalFormatValue.html +1 -1
- data/rdoc/RubyXL/ConditionalFormatting.html +1 -1
- data/rdoc/RubyXL/ConditionalFormattingRule.html +1 -1
- data/rdoc/RubyXL/ContentTypeDefault.html +1 -1
- data/rdoc/RubyXL/ContentTypeOverride.html +1 -1
- data/rdoc/RubyXL/ContentTypes.html +1 -1
- data/rdoc/RubyXL/ControlPropertiesFile.html +1 -1
- data/rdoc/RubyXL/CorePropertiesFile.html +1 -1
- data/rdoc/RubyXL/CustomColor.html +1 -1
- data/rdoc/RubyXL/CustomColorList.html +1 -1
- data/rdoc/RubyXL/CustomFilter.html +1 -1
- data/rdoc/RubyXL/CustomFilters.html +1 -1
- data/rdoc/RubyXL/CustomGeometry.html +1 -1
- data/rdoc/RubyXL/CustomProperties.html +1 -1
- data/rdoc/RubyXL/CustomPropertiesFile.html +1 -1
- data/rdoc/RubyXL/CustomProperty.html +1 -1
- data/rdoc/RubyXL/CustomSheetView.html +1 -1
- data/rdoc/RubyXL/CustomSheetViews.html +1 -1
- data/rdoc/RubyXL/CustomWorkbookView.html +1 -1
- data/rdoc/RubyXL/CustomWorkbookViews.html +1 -1
- data/rdoc/RubyXL/CustomXMLFile.html +1 -1
- data/rdoc/RubyXL/DXF.html +1 -1
- data/rdoc/RubyXL/DXFs.html +1 -1
- data/rdoc/RubyXL/DataBar.html +1 -1
- data/rdoc/RubyXL/DataConsolidate.html +1 -1
- data/rdoc/RubyXL/DataConsolidationReference.html +1 -1
- data/rdoc/RubyXL/DataConsolidationReferences.html +1 -1
- data/rdoc/RubyXL/DataType.html +1 -1
- data/rdoc/RubyXL/DataValidation.html +1 -1
- data/rdoc/RubyXL/DataValidations.html +1 -1
- data/rdoc/RubyXL/DateGroupItem.html +1 -1
- data/rdoc/RubyXL/DefinedName.html +1 -1
- data/rdoc/RubyXL/DefinedNames.html +1 -1
- data/rdoc/RubyXL/DocumentPropertiesFile.html +1 -1
- data/rdoc/RubyXL/DrawingFile.html +1 -1
- data/rdoc/RubyXL/DynamicFilter.html +1 -1
- data/rdoc/RubyXL/EmbeddedControl.html +1 -1
- data/rdoc/RubyXL/EmbeddedControls.html +1 -1
- data/rdoc/RubyXL/Extension.html +1 -1
- data/rdoc/RubyXL/ExtensionStorageArea.html +1 -1
- data/rdoc/RubyXL/Extents.html +1 -1
- data/rdoc/RubyXL/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 +6 -6
- 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 +15 -514
- data/rdoc/RubyXL/LegacyWorksheet.html +134 -2518
- data/rdoc/RubyXL/MRUColors.html +1 -1
- data/rdoc/RubyXL/MacrosFile.html +1 -1
- data/rdoc/RubyXL/MergedCell.html +1 -1
- data/rdoc/RubyXL/MergedCells.html +1 -1
- data/rdoc/RubyXL/NumFmt.html +1 -1
- data/rdoc/RubyXL/NumberFormat.html +1 -1
- data/rdoc/RubyXL/NumberFormats.html +1 -1
- data/rdoc/RubyXL/OLEObject.html +1 -1
- data/rdoc/RubyXL/OLEObjects.html +1 -1
- data/rdoc/RubyXL/OLESize.html +1 -1
- data/rdoc/RubyXL/OOXMLContainerObject.html +1 -1
- data/rdoc/RubyXL/OOXMLObject.html +1 -1
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +1 -1
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +1 -1
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +1 -1
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +1 -1
- data/rdoc/RubyXL/Offset.html +1 -1
- data/rdoc/RubyXL/OutlineProperties.html +1 -1
- data/rdoc/RubyXL/PageMargins.html +1 -1
- data/rdoc/RubyXL/PageSetup.html +1 -1
- data/rdoc/RubyXL/PageSetupProperties.html +1 -1
- data/rdoc/RubyXL/Pane.html +1 -1
- data/rdoc/RubyXL/Parser.html +1 -1
- data/rdoc/RubyXL/PatternFill.html +1 -1
- data/rdoc/RubyXL/PhoneticProperties.html +1 -1
- data/rdoc/RubyXL/PhoneticRun.html +1 -1
- data/rdoc/RubyXL/PivotArea.html +1 -1
- data/rdoc/RubyXL/PivotCache.html +1 -1
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +1 -1
- data/rdoc/RubyXL/PivotCaches.html +1 -1
- data/rdoc/RubyXL/PivotReference.html +1 -1
- data/rdoc/RubyXL/PivotReferences.html +1 -1
- data/rdoc/RubyXL/PivotTableFile.html +1 -1
- data/rdoc/RubyXL/PivotTableSelection.html +1 -1
- data/rdoc/RubyXL/PresetGeometry.html +1 -1
- data/rdoc/RubyXL/PrintOptions.html +1 -1
- data/rdoc/RubyXL/PrinterSettingsFile.html +1 -1
- data/rdoc/RubyXL/ProtectedRange.html +1 -1
- data/rdoc/RubyXL/ProtectedRanges.html +1 -1
- data/rdoc/RubyXL/Protection.html +1 -1
- data/rdoc/RubyXL/RID.html +1 -1
- data/rdoc/RubyXL/RawOOXML.html +1 -1
- data/rdoc/RubyXL/Reference.html +1 -1
- data/rdoc/RubyXL/Relationship.html +1 -1
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +1 -1
- data/rdoc/RubyXL/RelationshipSupport.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 +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/SlicerCacheFile.html +1 -1
- data/rdoc/RubyXL/SlicerFile.html +1 -1
- data/rdoc/RubyXL/SmartTagProperties.html +1 -1
- data/rdoc/RubyXL/SmartTagType.html +1 -1
- data/rdoc/RubyXL/SmartTagTypes.html +1 -1
- data/rdoc/RubyXL/SmartTags.html +1 -1
- data/rdoc/RubyXL/SortCondition.html +1 -1
- data/rdoc/RubyXL/SortState.html +1 -1
- data/rdoc/RubyXL/Sqref.html +1 -1
- data/rdoc/RubyXL/Stop.html +1 -1
- data/rdoc/RubyXL/StringNode.html +1 -1
- data/rdoc/RubyXL/StringNodeW3C.html +95 -1
- data/rdoc/RubyXL/StringValue.html +1 -1
- data/rdoc/RubyXL/Stylesheet.html +1 -1
- data/rdoc/RubyXL/TableFile.html +1 -1
- data/rdoc/RubyXL/TableParts.html +1 -1
- data/rdoc/RubyXL/TableStyle.html +1 -1
- data/rdoc/RubyXL/TableStyles.html +1 -1
- data/rdoc/RubyXL/Text.html +1 -1
- data/rdoc/RubyXL/Theme.html +1 -1
- data/rdoc/RubyXL/ThemeElements.html +1 -1
- data/rdoc/RubyXL/ThumbnailFile.html +1 -1
- data/rdoc/RubyXL/Top10.html +1 -1
- data/rdoc/RubyXL/VMLDrawingFile.html +1 -1
- data/rdoc/RubyXL/Variant.html +1 -1
- data/rdoc/RubyXL/Vector.html +1 -1
- data/rdoc/RubyXL/VectorValue.html +1 -1
- data/rdoc/RubyXL/VisualProperties.html +1 -1
- data/rdoc/RubyXL/WebPublishObject.html +1 -1
- data/rdoc/RubyXL/WebPublishObjects.html +1 -1
- data/rdoc/RubyXL/WebPublishingItem.html +1 -1
- data/rdoc/RubyXL/WebPublishingItems.html +1 -1
- data/rdoc/RubyXL/WebPublishingProperties.html +1 -1
- data/rdoc/RubyXL/Workbook.html +1 -1
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +8 -45
- data/rdoc/RubyXL/WorkbookProperties.html +1 -1
- data/rdoc/RubyXL/WorkbookProtection.html +1 -1
- data/rdoc/RubyXL/WorkbookRoot.html +1 -1
- data/rdoc/RubyXL/WorkbookView.html +1 -1
- data/rdoc/RubyXL/WorkbookViews.html +1 -1
- data/rdoc/RubyXL/Worksheet.html +1 -1
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +98 -0
- 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/RubyXL.html +1 -1
- data/rdoc/created.rid +18 -18
- data/rdoc/index.html +2 -2
- data/rdoc/js/search_index.js +1 -1
- data/rdoc/table_of_contents.html +76 -464
- data/rubyXL.gemspec +5 -3
- data/spec/lib/worksheet_spec.rb +55 -7
- metadata +4 -2
data/rdoc/RubyXL/LegacyCell.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>module RubyXL::LegacyCell - rubyXL 3.2.
|
|
7
|
+
<title>module RubyXL::LegacyCell - rubyXL 3.2.7</title>
|
|
8
8
|
|
|
9
9
|
<link href="../fonts.css" rel="stylesheet">
|
|
10
10
|
<link href="../rdoc.css" rel="stylesheet">
|
|
@@ -66,28 +66,6 @@
|
|
|
66
66
|
|
|
67
67
|
<ul class="link-list" role="directory">
|
|
68
68
|
|
|
69
|
-
<li ><a href="#method-i-border_bottom">#border_bottom</a>
|
|
70
|
-
|
|
71
|
-
<li ><a href="#method-i-border_diagonal">#border_diagonal</a>
|
|
72
|
-
|
|
73
|
-
<li ><a href="#method-i-border_left">#border_left</a>
|
|
74
|
-
|
|
75
|
-
<li ><a href="#method-i-border_right">#border_right</a>
|
|
76
|
-
|
|
77
|
-
<li ><a href="#method-i-border_top">#border_top</a>
|
|
78
|
-
|
|
79
|
-
<li ><a href="#method-i-change_border">#change_border</a>
|
|
80
|
-
|
|
81
|
-
<li ><a href="#method-i-change_border_bottom">#change_border_bottom</a>
|
|
82
|
-
|
|
83
|
-
<li ><a href="#method-i-change_border_diagonal">#change_border_diagonal</a>
|
|
84
|
-
|
|
85
|
-
<li ><a href="#method-i-change_border_left">#change_border_left</a>
|
|
86
|
-
|
|
87
|
-
<li ><a href="#method-i-change_border_right">#change_border_right</a>
|
|
88
|
-
|
|
89
|
-
<li ><a href="#method-i-change_border_top">#change_border_top</a>
|
|
90
|
-
|
|
91
69
|
<li ><a href="#method-i-change_contents">#change_contents</a>
|
|
92
70
|
|
|
93
71
|
<li ><a href="#method-i-change_fill">#change_fill</a>
|
|
@@ -106,12 +84,6 @@
|
|
|
106
84
|
|
|
107
85
|
<li ><a href="#method-i-change_font_underline">#change_font_underline</a>
|
|
108
86
|
|
|
109
|
-
<li ><a href="#method-i-change_horizontal_alignment">#change_horizontal_alignment</a>
|
|
110
|
-
|
|
111
|
-
<li ><a href="#method-i-change_text_wrap">#change_text_wrap</a>
|
|
112
|
-
|
|
113
|
-
<li ><a href="#method-i-change_vertical_alignment">#change_vertical_alignment</a>
|
|
114
|
-
|
|
115
87
|
<li ><a href="#method-i-fill_color">#fill_color</a>
|
|
116
88
|
|
|
117
89
|
<li ><a href="#method-i-font_color">#font_color</a>
|
|
@@ -208,375 +180,6 @@
|
|
|
208
180
|
</header>
|
|
209
181
|
|
|
210
182
|
|
|
211
|
-
<div id="method-i-border_bottom" class="method-detail ">
|
|
212
|
-
|
|
213
|
-
<div class="method-heading">
|
|
214
|
-
<span class="method-name">border_bottom</span><span
|
|
215
|
-
class="method-args">()</span>
|
|
216
|
-
|
|
217
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
218
|
-
|
|
219
|
-
</div>
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
<div class="method-description">
|
|
223
|
-
|
|
224
|
-
<p>returns cell's bottom border</p>
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
<div class="method-source-code" id="border_bottom-source">
|
|
230
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 248</span>
|
|
231
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">border_bottom</span>()
|
|
232
|
-
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_border</span>(<span class="ruby-value">:bottom</span>)
|
|
233
|
-
<span class="ruby-keyword">end</span></pre>
|
|
234
|
-
</div>
|
|
235
|
-
|
|
236
|
-
</div>
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
</div>
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
<div id="method-i-border_diagonal" class="method-detail ">
|
|
245
|
-
|
|
246
|
-
<div class="method-heading">
|
|
247
|
-
<span class="method-name">border_diagonal</span><span
|
|
248
|
-
class="method-args">()</span>
|
|
249
|
-
|
|
250
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
251
|
-
|
|
252
|
-
</div>
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
<div class="method-description">
|
|
256
|
-
|
|
257
|
-
<p>returns cell's diagonal border</p>
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
<div class="method-source-code" id="border_diagonal-source">
|
|
263
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 253</span>
|
|
264
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">border_diagonal</span>()
|
|
265
|
-
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_border</span>(<span class="ruby-value">:diagonal</span>)
|
|
266
|
-
<span class="ruby-keyword">end</span></pre>
|
|
267
|
-
</div>
|
|
268
|
-
|
|
269
|
-
</div>
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
</div>
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
<div id="method-i-border_left" class="method-detail ">
|
|
278
|
-
|
|
279
|
-
<div class="method-heading">
|
|
280
|
-
<span class="method-name">border_left</span><span
|
|
281
|
-
class="method-args">()</span>
|
|
282
|
-
|
|
283
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
284
|
-
|
|
285
|
-
</div>
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
<div class="method-description">
|
|
289
|
-
|
|
290
|
-
<p>returns cell's left border</p>
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
<div class="method-source-code" id="border_left-source">
|
|
296
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 238</span>
|
|
297
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">border_left</span>()
|
|
298
|
-
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_border</span>(<span class="ruby-value">:left</span>)
|
|
299
|
-
<span class="ruby-keyword">end</span></pre>
|
|
300
|
-
</div>
|
|
301
|
-
|
|
302
|
-
</div>
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
</div>
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
<div id="method-i-border_right" class="method-detail ">
|
|
311
|
-
|
|
312
|
-
<div class="method-heading">
|
|
313
|
-
<span class="method-name">border_right</span><span
|
|
314
|
-
class="method-args">()</span>
|
|
315
|
-
|
|
316
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
317
|
-
|
|
318
|
-
</div>
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
<div class="method-description">
|
|
322
|
-
|
|
323
|
-
<p>returns cell's right border</p>
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
<div class="method-source-code" id="border_right-source">
|
|
329
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 243</span>
|
|
330
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">border_right</span>()
|
|
331
|
-
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_border</span>(<span class="ruby-value">:right</span>)
|
|
332
|
-
<span class="ruby-keyword">end</span></pre>
|
|
333
|
-
</div>
|
|
334
|
-
|
|
335
|
-
</div>
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
</div>
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
<div id="method-i-border_top" class="method-detail ">
|
|
344
|
-
|
|
345
|
-
<div class="method-heading">
|
|
346
|
-
<span class="method-name">border_top</span><span
|
|
347
|
-
class="method-args">()</span>
|
|
348
|
-
|
|
349
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
350
|
-
|
|
351
|
-
</div>
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
<div class="method-description">
|
|
355
|
-
|
|
356
|
-
<p>returns cell's top border</p>
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
<div class="method-source-code" id="border_top-source">
|
|
362
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 233</span>
|
|
363
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">border_top</span>()
|
|
364
|
-
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_border</span>(<span class="ruby-value">:top</span>)
|
|
365
|
-
<span class="ruby-keyword">end</span></pre>
|
|
366
|
-
</div>
|
|
367
|
-
|
|
368
|
-
</div>
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
</div>
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
<div id="method-i-change_border" class="method-detail ">
|
|
377
|
-
|
|
378
|
-
<div class="method-heading">
|
|
379
|
-
<span class="method-name">change_border</span><span
|
|
380
|
-
class="method-args">(direction, weight)</span>
|
|
381
|
-
|
|
382
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
383
|
-
|
|
384
|
-
</div>
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
<div class="method-description">
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
<div class="method-source-code" id="change_border-source">
|
|
395
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 117</span>
|
|
396
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border</span>(<span class="ruby-identifier">direction</span>, <span class="ruby-identifier">weight</span>)
|
|
397
|
-
<span class="ruby-identifier">validate_worksheet</span>
|
|
398
|
-
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">style_index</span> = <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">modify_border</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">style_index</span>, <span class="ruby-identifier">direction</span>, <span class="ruby-identifier">weight</span>)
|
|
399
|
-
<span class="ruby-keyword">end</span></pre>
|
|
400
|
-
</div>
|
|
401
|
-
|
|
402
|
-
</div>
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
</div>
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
<div id="method-i-change_border_bottom" class="method-detail ">
|
|
411
|
-
|
|
412
|
-
<div class="method-heading">
|
|
413
|
-
<span class="method-name">change_border_bottom</span><span
|
|
414
|
-
class="method-args">(weight = 'thin')</span>
|
|
415
|
-
|
|
416
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
417
|
-
|
|
418
|
-
</div>
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
<div class="method-description">
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
<div class="method-source-code" id="change_border_bottom-source">
|
|
429
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 137</span>
|
|
430
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_bottom</span>(<span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
431
|
-
<span class="ruby-identifier">warn</span> <span class="ruby-node">"[DEPRECATION] `#{__method__}` is deprecated. Please use `change_border` instead."</span>
|
|
432
|
-
<span class="ruby-identifier">change_border</span>(<span class="ruby-value">:bottom</span>, <span class="ruby-identifier">weight</span>)
|
|
433
|
-
<span class="ruby-keyword">end</span></pre>
|
|
434
|
-
</div>
|
|
435
|
-
|
|
436
|
-
</div>
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
</div>
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
<div id="method-i-change_border_diagonal" class="method-detail ">
|
|
445
|
-
|
|
446
|
-
<div class="method-heading">
|
|
447
|
-
<span class="method-name">change_border_diagonal</span><span
|
|
448
|
-
class="method-args">(weight = 'thin')</span>
|
|
449
|
-
|
|
450
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
451
|
-
|
|
452
|
-
</div>
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
<div class="method-description">
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
<div class="method-source-code" id="change_border_diagonal-source">
|
|
463
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 142</span>
|
|
464
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_diagonal</span>(<span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
465
|
-
<span class="ruby-identifier">warn</span> <span class="ruby-node">"[DEPRECATION] `#{__method__}` is deprecated. Please use `change_border` instead."</span>
|
|
466
|
-
<span class="ruby-identifier">change_border</span>(<span class="ruby-value">:diagonal</span>, <span class="ruby-identifier">weight</span>)
|
|
467
|
-
<span class="ruby-keyword">end</span></pre>
|
|
468
|
-
</div>
|
|
469
|
-
|
|
470
|
-
</div>
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
</div>
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
<div id="method-i-change_border_left" class="method-detail ">
|
|
479
|
-
|
|
480
|
-
<div class="method-heading">
|
|
481
|
-
<span class="method-name">change_border_left</span><span
|
|
482
|
-
class="method-args">(weight = 'thin')</span>
|
|
483
|
-
|
|
484
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
485
|
-
|
|
486
|
-
</div>
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
<div class="method-description">
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
<div class="method-source-code" id="change_border_left-source">
|
|
497
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 127</span>
|
|
498
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_left</span>(<span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
499
|
-
<span class="ruby-identifier">warn</span> <span class="ruby-node">"[DEPRECATION] `#{__method__}` is deprecated. Please use `change_border` instead."</span>
|
|
500
|
-
<span class="ruby-identifier">change_border</span>(<span class="ruby-value">:left</span>, <span class="ruby-identifier">weight</span>)
|
|
501
|
-
<span class="ruby-keyword">end</span></pre>
|
|
502
|
-
</div>
|
|
503
|
-
|
|
504
|
-
</div>
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
</div>
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
<div id="method-i-change_border_right" class="method-detail ">
|
|
513
|
-
|
|
514
|
-
<div class="method-heading">
|
|
515
|
-
<span class="method-name">change_border_right</span><span
|
|
516
|
-
class="method-args">(weight = 'thin')</span>
|
|
517
|
-
|
|
518
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
519
|
-
|
|
520
|
-
</div>
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
<div class="method-description">
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
<div class="method-source-code" id="change_border_right-source">
|
|
531
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 132</span>
|
|
532
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_right</span>(<span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
533
|
-
<span class="ruby-identifier">warn</span> <span class="ruby-node">"[DEPRECATION] `#{__method__}` is deprecated. Please use `change_border` instead."</span>
|
|
534
|
-
<span class="ruby-identifier">change_border</span>(<span class="ruby-value">:right</span>, <span class="ruby-identifier">weight</span>)
|
|
535
|
-
<span class="ruby-keyword">end</span></pre>
|
|
536
|
-
</div>
|
|
537
|
-
|
|
538
|
-
</div>
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
</div>
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
<div id="method-i-change_border_top" class="method-detail ">
|
|
547
|
-
|
|
548
|
-
<div class="method-heading">
|
|
549
|
-
<span class="method-name">change_border_top</span><span
|
|
550
|
-
class="method-args">(weight = 'thin')</span>
|
|
551
|
-
|
|
552
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
553
|
-
|
|
554
|
-
</div>
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
<div class="method-description">
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
<div class="method-source-code" id="change_border_top-source">
|
|
565
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 122</span>
|
|
566
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_top</span>(<span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
567
|
-
<span class="ruby-identifier">warn</span> <span class="ruby-node">"[DEPRECATION] `#{__method__}` is deprecated. Please use `change_border` instead."</span>
|
|
568
|
-
<span class="ruby-identifier">change_border</span>(<span class="ruby-value">:top</span>, <span class="ruby-identifier">weight</span>)
|
|
569
|
-
<span class="ruby-keyword">end</span></pre>
|
|
570
|
-
</div>
|
|
571
|
-
|
|
572
|
-
</div>
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
</div>
|
|
578
|
-
|
|
579
|
-
|
|
580
183
|
<div id="method-i-change_contents" class="method-detail ">
|
|
581
184
|
|
|
582
185
|
<div class="method-heading">
|
|
@@ -596,7 +199,7 @@
|
|
|
596
199
|
|
|
597
200
|
|
|
598
201
|
<div class="method-source-code" id="change_contents-source">
|
|
599
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
202
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 99</span>
|
|
600
203
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_contents</span>(<span class="ruby-identifier">data</span>, <span class="ruby-identifier">formula_expression</span> = <span class="ruby-keyword">nil</span>)
|
|
601
204
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
602
205
|
|
|
@@ -917,108 +520,6 @@
|
|
|
917
520
|
|
|
918
521
|
|
|
919
522
|
|
|
920
|
-
</div>
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
<div id="method-i-change_horizontal_alignment" class="method-detail ">
|
|
924
|
-
|
|
925
|
-
<div class="method-heading">
|
|
926
|
-
<span class="method-name">change_horizontal_alignment</span><span
|
|
927
|
-
class="method-args">(alignment = 'center')</span>
|
|
928
|
-
|
|
929
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
930
|
-
|
|
931
|
-
</div>
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
<div class="method-description">
|
|
935
|
-
|
|
936
|
-
<p>changes horizontal alignment of cell</p>
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
<div class="method-source-code" id="change_horizontal_alignment-source">
|
|
942
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 100</span>
|
|
943
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_horizontal_alignment</span>(<span class="ruby-identifier">alignment</span> = <span class="ruby-string">'center'</span>)
|
|
944
|
-
<span class="ruby-identifier">validate_worksheet</span>
|
|
945
|
-
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">style_index</span> = <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">modify_alignment</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">style_index</span>, <span class="ruby-keyword">true</span>, <span class="ruby-identifier">alignment</span>)
|
|
946
|
-
<span class="ruby-keyword">end</span></pre>
|
|
947
|
-
</div>
|
|
948
|
-
|
|
949
|
-
</div>
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
</div>
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
<div id="method-i-change_text_wrap" class="method-detail ">
|
|
958
|
-
|
|
959
|
-
<div class="method-heading">
|
|
960
|
-
<span class="method-name">change_text_wrap</span><span
|
|
961
|
-
class="method-args">(wrap = false)</span>
|
|
962
|
-
|
|
963
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
964
|
-
|
|
965
|
-
</div>
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
<div class="method-description">
|
|
969
|
-
|
|
970
|
-
<p>changes wrap of cell</p>
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
<div class="method-source-code" id="change_text_wrap-source">
|
|
976
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 112</span>
|
|
977
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_text_wrap</span>(<span class="ruby-identifier">wrap</span> = <span class="ruby-keyword">false</span>)
|
|
978
|
-
<span class="ruby-identifier">validate_worksheet</span>
|
|
979
|
-
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">style_index</span> = <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">modify_text_wrap</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">style_index</span>, <span class="ruby-identifier">wrap</span>)
|
|
980
|
-
<span class="ruby-keyword">end</span></pre>
|
|
981
|
-
</div>
|
|
982
|
-
|
|
983
|
-
</div>
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
</div>
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
<div id="method-i-change_vertical_alignment" class="method-detail ">
|
|
992
|
-
|
|
993
|
-
<div class="method-heading">
|
|
994
|
-
<span class="method-name">change_vertical_alignment</span><span
|
|
995
|
-
class="method-args">(alignment = 'center')</span>
|
|
996
|
-
|
|
997
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
998
|
-
|
|
999
|
-
</div>
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
<div class="method-description">
|
|
1003
|
-
|
|
1004
|
-
<p>changes vertical alignment of cell</p>
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
<div class="method-source-code" id="change_vertical_alignment-source">
|
|
1010
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 106</span>
|
|
1011
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_vertical_alignment</span>(<span class="ruby-identifier">alignment</span> = <span class="ruby-string">'center'</span>)
|
|
1012
|
-
<span class="ruby-identifier">validate_worksheet</span>
|
|
1013
|
-
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">style_index</span> = <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">modify_alignment</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">style_index</span>, <span class="ruby-keyword">false</span>, <span class="ruby-identifier">alignment</span>)
|
|
1014
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1015
|
-
</div>
|
|
1016
|
-
|
|
1017
|
-
</div>
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
523
|
</div>
|
|
1023
524
|
|
|
1024
525
|
|
|
@@ -1041,7 +542,7 @@
|
|
|
1041
542
|
|
|
1042
543
|
|
|
1043
544
|
<div class="method-source-code" id="fill_color-source">
|
|
1044
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
545
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 155</span>
|
|
1045
546
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">fill_color</span>()
|
|
1046
547
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1047
548
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">get_fill_color</span>(<span class="ruby-identifier">get_cell_xf</span>)
|
|
@@ -1075,7 +576,7 @@
|
|
|
1075
576
|
|
|
1076
577
|
|
|
1077
578
|
<div class="method-source-code" id="font_color-source">
|
|
1078
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
579
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 149</span>
|
|
1079
580
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">font_color</span>()
|
|
1080
581
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1081
582
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">get_rgb_color</span> <span class="ruby-operator">||</span> <span class="ruby-string">'000000'</span>
|
|
@@ -1109,7 +610,7 @@
|
|
|
1109
610
|
|
|
1110
611
|
|
|
1111
612
|
<div class="method-source-code" id="font_name-source">
|
|
1112
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
613
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 139</span>
|
|
1113
614
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">font_name</span>()
|
|
1114
615
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1115
616
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">get_name</span>
|
|
@@ -1143,7 +644,7 @@
|
|
|
1143
644
|
|
|
1144
645
|
|
|
1145
646
|
<div class="method-source-code" id="font_size-source">
|
|
1146
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
647
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 144</span>
|
|
1147
648
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">font_size</span>()
|
|
1148
649
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1149
650
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">get_size</span>
|
|
@@ -1178,7 +679,7 @@ specified</p>
|
|
|
1178
679
|
|
|
1179
680
|
|
|
1180
681
|
<div class="method-source-code" id="font_switch-source">
|
|
1181
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
682
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 192</span>
|
|
1182
683
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">font_switch</span>(<span class="ruby-identifier">change_type</span>, <span class="ruby-identifier">arg</span>)
|
|
1183
684
|
<span class="ruby-keyword">case</span> <span class="ruby-identifier">change_type</span>
|
|
1184
685
|
<span class="ruby-keyword">when</span> <span class="ruby-constant">Worksheet</span><span class="ruby-operator">::</span><span class="ruby-constant">NAME</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">change_font_name</span>(<span class="ruby-identifier">arg</span>)
|
|
@@ -1220,7 +721,7 @@ specified</p>
|
|
|
1220
721
|
|
|
1221
722
|
|
|
1222
723
|
<div class="method-source-code" id="horizontal_alignment-source">
|
|
1223
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
724
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 161</span>
|
|
1224
725
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">horizontal_alignment</span>()
|
|
1225
726
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1226
727
|
<span class="ruby-identifier">xf_obj</span> = <span class="ruby-identifier">get_cell_xf</span>
|
|
@@ -1256,7 +757,7 @@ specified</p>
|
|
|
1256
757
|
|
|
1257
758
|
|
|
1258
759
|
<div class="method-source-code" id="inspect-source">
|
|
1259
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
760
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 184</span>
|
|
1260
761
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">inspect</span>
|
|
1261
762
|
<span class="ruby-identifier">str</span> = <span class="ruby-node">"#<#{self.class}(#{row},#{column}): #{raw_value.inspect}"</span>
|
|
1262
763
|
<span class="ruby-identifier">str</span> <span class="ruby-operator">+=</span> <span class="ruby-node">" =#{self.formula.expression}"</span> <span class="ruby-keyword">if</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">formula</span>
|
|
@@ -1292,7 +793,7 @@ specified</p>
|
|
|
1292
793
|
|
|
1293
794
|
|
|
1294
795
|
<div class="method-source-code" id="is_bolded-source">
|
|
1295
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
796
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 124</span>
|
|
1296
797
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_bolded</span>()
|
|
1297
798
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1298
799
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_bold</span>
|
|
@@ -1326,7 +827,7 @@ specified</p>
|
|
|
1326
827
|
|
|
1327
828
|
|
|
1328
829
|
<div class="method-source-code" id="is_italicized-source">
|
|
1329
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
830
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 118</span>
|
|
1330
831
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_italicized</span>()
|
|
1331
832
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1332
833
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_italic</span>
|
|
@@ -1360,7 +861,7 @@ specified</p>
|
|
|
1360
861
|
|
|
1361
862
|
|
|
1362
863
|
<div class="method-source-code" id="is_struckthrough-source">
|
|
1363
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
864
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 134</span>
|
|
1364
865
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_struckthrough</span>()
|
|
1365
866
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1366
867
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_strikethrough</span>
|
|
@@ -1394,7 +895,7 @@ specified</p>
|
|
|
1394
895
|
|
|
1395
896
|
|
|
1396
897
|
<div class="method-source-code" id="is_underlined-source">
|
|
1397
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
898
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 129</span>
|
|
1398
899
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_underlined</span>()
|
|
1399
900
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1400
901
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_underlined</span>
|
|
@@ -1428,7 +929,7 @@ specified</p>
|
|
|
1428
929
|
|
|
1429
930
|
|
|
1430
931
|
<div class="method-source-code" id="text_wrap-source">
|
|
1431
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
932
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 177</span>
|
|
1432
933
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">text_wrap</span>()
|
|
1433
934
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1434
935
|
<span class="ruby-identifier">xf_obj</span> = <span class="ruby-identifier">get_cell_xf</span>
|
|
@@ -1464,7 +965,7 @@ specified</p>
|
|
|
1464
965
|
|
|
1465
966
|
|
|
1466
967
|
<div class="method-source-code" id="vertical_alignment-source">
|
|
1467
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
968
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 169</span>
|
|
1468
969
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">vertical_alignment</span>()
|
|
1469
970
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1470
971
|
<span class="ruby-identifier">xf_obj</span> = <span class="ruby-identifier">get_cell_xf</span>
|