rubyXL 3.3.33 → 3.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +12 -0
- data/VERSION +1 -1
- data/lib/rubyXL/convenience_methods.rb +5 -1301
- data/lib/rubyXL/convenience_methods/cell.rb +262 -0
- data/lib/rubyXL/convenience_methods/color.rb +158 -0
- data/lib/rubyXL/convenience_methods/font.rb +63 -0
- data/lib/rubyXL/convenience_methods/workbook.rb +136 -0
- data/lib/rubyXL/convenience_methods/worksheet.rb +618 -0
- data/lib/rubyXL/objects/color.rb +0 -3
- data/lib/rubyXL/objects/external_links.rb +1 -1
- data/lib/rubyXL/objects/font.rb +0 -3
- data/lib/rubyXL/objects/sheet_data.rb +0 -2
- data/lib/rubyXL/objects/workbook.rb +95 -2
- data/lib/rubyXL/objects/worksheet.rb +0 -2
- data/rdoc/README_rdoc.html +24 -1
- data/rdoc/RubyXL.html +21 -1
- data/rdoc/RubyXL/AExtension.html +1 -1
- data/rdoc/RubyXL/AExtensionStorageArea.html +1 -1
- data/rdoc/RubyXL/ActiveX.html +1 -1
- data/rdoc/RubyXL/ActiveXBinary.html +1 -1
- data/rdoc/RubyXL/AdjustHandleList.html +1 -1
- data/rdoc/RubyXL/Alignment.html +1 -1
- data/rdoc/RubyXL/AlternateContent.html +1 -1
- data/rdoc/RubyXL/Authors.html +1 -1
- data/rdoc/RubyXL/AutoFilter.html +1 -1
- data/rdoc/RubyXL/AutoFilterColumn.html +1 -1
- data/rdoc/RubyXL/BinaryImageFile.html +1 -1
- data/rdoc/RubyXL/BodyProperties.html +1 -1
- data/rdoc/RubyXL/BooleanNode.html +1 -1
- data/rdoc/RubyXL/BooleanValue.html +1 -1
- data/rdoc/RubyXL/Border.html +1 -1
- data/rdoc/RubyXL/BorderEdge.html +1 -1
- data/rdoc/RubyXL/Borders.html +1 -1
- data/rdoc/RubyXL/Break.html +1 -1
- data/rdoc/RubyXL/BreakList.html +1 -1
- data/rdoc/RubyXL/CT_AdjPoint2D.html +1 -1
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +1 -1
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +1 -1
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +1 -1
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +1 -1
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +1 -1
- data/rdoc/RubyXL/CT_Backdrop.html +1 -1
- data/rdoc/RubyXL/CT_Bevel.html +1 -1
- data/rdoc/RubyXL/CT_BiLevelEffect.html +1 -1
- data/rdoc/RubyXL/CT_BlendEffect.html +1 -1
- data/rdoc/RubyXL/CT_Blip.html +1 -1
- data/rdoc/RubyXL/CT_BlipFillProperties.html +1 -1
- data/rdoc/RubyXL/CT_BlurEffect.html +1 -1
- data/rdoc/RubyXL/CT_Camera.html +1 -1
- data/rdoc/RubyXL/CT_Color.html +1 -1
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +1 -1
- data/rdoc/RubyXL/CT_ColorMapping.html +1 -1
- data/rdoc/RubyXL/CT_ColorScheme.html +1 -1
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +1 -1
- data/rdoc/RubyXL/CT_ConnectionSite.html +1 -1
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +1 -1
- data/rdoc/RubyXL/CT_DashStop.html +1 -1
- data/rdoc/RubyXL/CT_DashStopList.html +1 -1
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +1 -1
- data/rdoc/RubyXL/CT_DuotoneEffect.html +1 -1
- data/rdoc/RubyXL/CT_EffectContainer.html +1 -1
- data/rdoc/RubyXL/CT_EffectList.html +1 -1
- data/rdoc/RubyXL/CT_EffectReference.html +1 -1
- data/rdoc/RubyXL/CT_EffectStyleItem.html +1 -1
- data/rdoc/RubyXL/CT_EffectStyleList.html +1 -1
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +1 -1
- data/rdoc/RubyXL/CT_FillEffect.html +1 -1
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +1 -1
- data/rdoc/RubyXL/CT_FillStyleList.html +1 -1
- data/rdoc/RubyXL/CT_FlatText.html +1 -1
- data/rdoc/RubyXL/CT_FontCollection.html +1 -1
- data/rdoc/RubyXL/CT_FontReference.html +1 -1
- data/rdoc/RubyXL/CT_GeomGuideList.html +1 -1
- data/rdoc/RubyXL/CT_GlowEffect.html +1 -1
- data/rdoc/RubyXL/CT_GradientFillProperties.html +1 -1
- data/rdoc/RubyXL/CT_GradientStop.html +1 -1
- data/rdoc/RubyXL/CT_GradientStopList.html +1 -1
- data/rdoc/RubyXL/CT_HSLEffect.html +1 -1
- data/rdoc/RubyXL/CT_HslColor.html +1 -1
- data/rdoc/RubyXL/CT_Hyperlink.html +1 -1
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +1 -1
- data/rdoc/RubyXL/CT_LightRig.html +1 -1
- data/rdoc/RubyXL/CT_LineEndProperties.html +1 -1
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +1 -1
- data/rdoc/RubyXL/CT_LineProperties.html +1 -1
- data/rdoc/RubyXL/CT_LineStyleList.html +1 -1
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +1 -1
- data/rdoc/RubyXL/CT_LuminanceEffect.html +1 -1
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +1 -1
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +1 -1
- data/rdoc/RubyXL/CT_Path2D.html +1 -1
- data/rdoc/RubyXL/CT_Path2DArcTo.html +1 -1
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +1 -1
- data/rdoc/RubyXL/CT_Path2DList.html +1 -1
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +1 -1
- data/rdoc/RubyXL/CT_Path2DTo.html +1 -1
- data/rdoc/RubyXL/CT_PathShadeProperties.html +1 -1
- data/rdoc/RubyXL/CT_PatternFillProperties.html +1 -1
- data/rdoc/RubyXL/CT_Point3D.html +1 -1
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +1 -1
- data/rdoc/RubyXL/CT_PresetColor.html +1 -1
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +1 -1
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +1 -1
- data/rdoc/RubyXL/CT_PresetTextShape.html +1 -1
- data/rdoc/RubyXL/CT_ReflectionEffect.html +1 -1
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +1 -1
- data/rdoc/RubyXL/CT_RelativeRect.html +1 -1
- data/rdoc/RubyXL/CT_SRgbColor.html +1 -1
- data/rdoc/RubyXL/CT_ScRgbColor.html +1 -1
- data/rdoc/RubyXL/CT_Scene3D.html +1 -1
- data/rdoc/RubyXL/CT_SchemeColor.html +1 -1
- data/rdoc/RubyXL/CT_Shape3D.html +1 -1
- data/rdoc/RubyXL/CT_ShapeStyle.html +1 -1
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +1 -1
- data/rdoc/RubyXL/CT_SphereCoords.html +1 -1
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +1 -1
- data/rdoc/RubyXL/CT_StyleMatrix.html +1 -1
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +1 -1
- data/rdoc/RubyXL/CT_SupplementalFont.html +1 -1
- data/rdoc/RubyXL/CT_SystemColor.html +1 -1
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +1 -1
- data/rdoc/RubyXL/CT_TextBlipBullet.html +1 -1
- data/rdoc/RubyXL/CT_TextCharBullet.html +1 -1
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +1 -1
- data/rdoc/RubyXL/CT_TextFont.html +1 -1
- data/rdoc/RubyXL/CT_TextListStyle.html +1 -1
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +1 -1
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +1 -1
- data/rdoc/RubyXL/CT_TextSpacing.html +1 -1
- data/rdoc/RubyXL/CT_TextTabStop.html +1 -1
- data/rdoc/RubyXL/CT_TextTabStopList.html +1 -1
- data/rdoc/RubyXL/CT_TileInfoProperties.html +1 -1
- data/rdoc/RubyXL/CT_TintEffect.html +1 -1
- data/rdoc/RubyXL/CT_Transform2D.html +1 -1
- data/rdoc/RubyXL/CT_TransformEffect.html +1 -1
- data/rdoc/RubyXL/CT_Vector3D.html +1 -1
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +1 -1
- data/rdoc/RubyXL/CalculationChain.html +1 -1
- data/rdoc/RubyXL/CalculationChainCell.html +1 -1
- data/rdoc/RubyXL/CalculationProperties.html +1 -1
- data/rdoc/RubyXL/Cell.html +12 -16
- data/rdoc/RubyXL/CellConvenienceMethods.html +34 -34
- data/rdoc/RubyXL/CellExt.html +1 -1
- data/rdoc/RubyXL/CellSmartTag.html +1 -1
- data/rdoc/RubyXL/CellSmartTagProperty.html +1 -1
- data/rdoc/RubyXL/CellSmartTags.html +1 -1
- data/rdoc/RubyXL/CellStyle.html +1 -1
- data/rdoc/RubyXL/CellStyleXFs.html +1 -1
- data/rdoc/RubyXL/CellStyles.html +1 -1
- data/rdoc/RubyXL/CellValue.html +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 +2 -13
- data/rdoc/RubyXL/ColorConvenienceClasses.html +1 -1
- data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +3 -3
- data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +4 -4
- data/rdoc/RubyXL/ColorConvenienceMethods.html +2 -2
- data/rdoc/RubyXL/ColorFilter.html +1 -1
- data/rdoc/RubyXL/ColorScale.html +1 -1
- data/rdoc/RubyXL/ColorSet.html +1 -1
- data/rdoc/RubyXL/Colors.html +1 -1
- data/rdoc/RubyXL/ColumnRange.html +1 -1
- data/rdoc/RubyXL/ColumnRanges.html +1 -1
- data/rdoc/RubyXL/Comment.html +1 -1
- data/rdoc/RubyXL/CommentList.html +1 -1
- data/rdoc/RubyXL/CommentsFile.html +1 -1
- data/rdoc/RubyXL/ConditionalFormatValue.html +1 -1
- data/rdoc/RubyXL/ConditionalFormatting.html +1 -1
- data/rdoc/RubyXL/ConditionalFormattingRule.html +1 -1
- data/rdoc/RubyXL/ContentTypeDefault.html +1 -1
- data/rdoc/RubyXL/ContentTypeOverride.html +1 -1
- data/rdoc/RubyXL/ContentTypes.html +1 -1
- data/rdoc/RubyXL/ControlPropertiesFile.html +1 -1
- data/rdoc/RubyXL/CorePropertiesFile.html +1 -1
- data/rdoc/RubyXL/CustomColor.html +1 -1
- data/rdoc/RubyXL/CustomColorList.html +1 -1
- data/rdoc/RubyXL/CustomFilter.html +1 -1
- data/rdoc/RubyXL/CustomFilters.html +1 -1
- data/rdoc/RubyXL/CustomGeometry.html +1 -1
- data/rdoc/RubyXL/CustomProperties.html +1 -1
- data/rdoc/RubyXL/CustomPropertiesFile.html +1 -1
- data/rdoc/RubyXL/CustomProperty.html +1 -1
- data/rdoc/RubyXL/CustomPropertyFile.html +1 -1
- data/rdoc/RubyXL/CustomSheetView.html +1 -1
- data/rdoc/RubyXL/CustomSheetViews.html +1 -1
- data/rdoc/RubyXL/CustomWorkbookView.html +1 -1
- data/rdoc/RubyXL/CustomWorkbookViews.html +1 -1
- data/rdoc/RubyXL/CustomXMLFile.html +1 -1
- data/rdoc/RubyXL/DXF.html +1 -1
- data/rdoc/RubyXL/DXFs.html +1 -1
- data/rdoc/RubyXL/DataBar.html +1 -1
- data/rdoc/RubyXL/DataConsolidate.html +1 -1
- data/rdoc/RubyXL/DataConsolidationReference.html +1 -1
- data/rdoc/RubyXL/DataConsolidationReferences.html +1 -1
- data/rdoc/RubyXL/DataType.html +1 -1
- data/rdoc/RubyXL/DataValidation.html +1 -1
- data/rdoc/RubyXL/DataValidations.html +1 -1
- data/rdoc/RubyXL/DateGroupItem.html +1 -1
- data/rdoc/RubyXL/DefinedName.html +1 -1
- data/rdoc/RubyXL/DefinedNameExt.html +1 -1
- data/rdoc/RubyXL/DefinedNames.html +1 -1
- data/rdoc/RubyXL/DefinedNamesExt.html +1 -1
- data/rdoc/RubyXL/DocumentPropertiesFile.html +1 -1
- data/rdoc/RubyXL/DrawingFile.html +1 -1
- data/rdoc/RubyXL/DynamicFilter.html +1 -1
- data/rdoc/RubyXL/EmbeddedControl.html +1 -1
- data/rdoc/RubyXL/EmbeddedControls.html +1 -1
- data/rdoc/RubyXL/Extension.html +1 -1
- data/rdoc/RubyXL/ExtensionStorageArea.html +1 -1
- data/rdoc/RubyXL/Extents.html +1 -1
- data/rdoc/RubyXL/ExternalBook.html +1 -1
- data/rdoc/RubyXL/ExternalLinksFile.html +1 -1
- data/rdoc/RubyXL/ExternalReference.html +1 -1
- data/rdoc/RubyXL/ExternalReferences.html +1 -1
- data/rdoc/RubyXL/ExtraColorSchemeList.html +1 -1
- data/rdoc/RubyXL/FieldItem.html +1 -1
- data/rdoc/RubyXL/FileRecoveryProperties.html +1 -1
- data/rdoc/RubyXL/FileSharing.html +1 -1
- data/rdoc/RubyXL/FileVersion.html +1 -1
- data/rdoc/RubyXL/Fill.html +1 -1
- data/rdoc/RubyXL/Fills.html +1 -1
- data/rdoc/RubyXL/FilterContainer.html +1 -1
- data/rdoc/RubyXL/FloatNode.html +1 -1
- data/rdoc/RubyXL/FloatValue.html +1 -1
- data/rdoc/RubyXL/Font.html +3 -14
- data/rdoc/RubyXL/FontConvenienceMethods.html +15 -15
- data/rdoc/RubyXL/FontScheme.html +1 -1
- data/rdoc/RubyXL/Fonts.html +2 -2
- data/rdoc/RubyXL/Formula.html +1 -1
- data/rdoc/RubyXL/FunctionGroup.html +1 -1
- data/rdoc/RubyXL/FunctionGroups.html +1 -1
- data/rdoc/RubyXL/GenericStorageObject.html +1 -1
- data/rdoc/RubyXL/GradientFill.html +1 -1
- data/rdoc/RubyXL/HeaderFooterSettings.html +1 -1
- data/rdoc/RubyXL/Hyperlink.html +1 -1
- data/rdoc/RubyXL/HyperlinkRelFile.html +1 -1
- data/rdoc/RubyXL/Hyperlinks.html +1 -1
- data/rdoc/RubyXL/IconFilter.html +1 -1
- data/rdoc/RubyXL/IconSet.html +1 -1
- data/rdoc/RubyXL/IgnoredError.html +1 -1
- data/rdoc/RubyXL/IgnoredErrors.html +1 -1
- data/rdoc/RubyXL/IndexedColors.html +1 -1
- data/rdoc/RubyXL/InputCells.html +1 -1
- data/rdoc/RubyXL/IntegerNode.html +1 -1
- data/rdoc/RubyXL/IntegerValue.html +1 -1
- data/rdoc/RubyXL/LegacyCell.html +1 -1
- data/rdoc/RubyXL/LegacyWorksheet.html +1 -1
- data/rdoc/RubyXL/MRUColors.html +1 -1
- data/rdoc/RubyXL/MacrosFile.html +1 -1
- data/rdoc/RubyXL/MergedCell.html +1 -1
- data/rdoc/RubyXL/MergedCells.html +1 -1
- data/rdoc/RubyXL/NumFmt.html +1 -1
- data/rdoc/RubyXL/NumberFormat.html +1 -1
- data/rdoc/RubyXL/NumberFormats.html +1 -1
- data/rdoc/RubyXL/OLEObject.html +1 -1
- data/rdoc/RubyXL/OLEObjectFile.html +1 -1
- data/rdoc/RubyXL/OLEObjects.html +1 -1
- data/rdoc/RubyXL/OLESize.html +1 -1
- data/rdoc/RubyXL/OOXMLContainerObject.html +1 -1
- data/rdoc/RubyXL/OOXMLIgnored.html +1 -1
- data/rdoc/RubyXL/OOXMLObject.html +1 -1
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +1 -1
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +1 -1
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +1 -1
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +1 -1
- data/rdoc/RubyXL/Offset.html +1 -1
- data/rdoc/RubyXL/OutlineProperties.html +1 -1
- data/rdoc/RubyXL/PageMargins.html +1 -1
- data/rdoc/RubyXL/PageSetup.html +1 -1
- data/rdoc/RubyXL/PageSetupProperties.html +1 -1
- data/rdoc/RubyXL/Pane.html +1 -1
- data/rdoc/RubyXL/Parser.html +1 -1
- data/rdoc/RubyXL/PatternFill.html +1 -1
- data/rdoc/RubyXL/PhoneticProperties.html +1 -1
- data/rdoc/RubyXL/PhoneticRun.html +1 -1
- data/rdoc/RubyXL/PivotArea.html +1 -1
- data/rdoc/RubyXL/PivotCache.html +1 -1
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +1 -1
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +1 -1
- data/rdoc/RubyXL/PivotCaches.html +1 -1
- data/rdoc/RubyXL/PivotReference.html +1 -1
- data/rdoc/RubyXL/PivotReferences.html +1 -1
- data/rdoc/RubyXL/PivotTableFile.html +1 -1
- data/rdoc/RubyXL/PivotTableSelection.html +1 -1
- data/rdoc/RubyXL/PresetGeometry.html +1 -1
- data/rdoc/RubyXL/PrintOptions.html +1 -1
- data/rdoc/RubyXL/PrinterSettingsFile.html +1 -1
- data/rdoc/RubyXL/ProtectedRange.html +1 -1
- data/rdoc/RubyXL/ProtectedRanges.html +1 -1
- data/rdoc/RubyXL/Protection.html +1 -1
- data/rdoc/RubyXL/RID.html +1 -1
- data/rdoc/RubyXL/RawOOXML.html +1 -1
- data/rdoc/RubyXL/Reference.html +1 -1
- data/rdoc/RubyXL/Relationship.html +1 -1
- data/rdoc/RubyXL/RelationshipSupport.html +1 -1
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +1 -1
- data/rdoc/RubyXL/RevisionPointer.html +1 -1
- data/rdoc/RubyXL/RichText.html +1 -1
- data/rdoc/RubyXL/RichTextRun.html +1 -1
- data/rdoc/RubyXL/Row.html +10 -10
- data/rdoc/RubyXL/RowExt.html +1 -1
- data/rdoc/RubyXL/RunProperties.html +1 -1
- data/rdoc/RubyXL/Scenario.html +1 -1
- data/rdoc/RubyXL/Scenarios.html +1 -1
- data/rdoc/RubyXL/Selection.html +2 -2
- data/rdoc/RubyXL/ShapeGuide.html +1 -1
- data/rdoc/RubyXL/ShapeTextRectangle.html +1 -1
- data/rdoc/RubyXL/SharedStringsTable.html +1 -1
- data/rdoc/RubyXL/Sheet.html +1 -1
- data/rdoc/RubyXL/SheetCalculationProperties.html +1 -1
- data/rdoc/RubyXL/SheetData.html +3 -3
- data/rdoc/RubyXL/SheetDataExt.html +1 -1
- data/rdoc/RubyXL/SheetDataSet.html +1 -1
- data/rdoc/RubyXL/SheetName.html +1 -1
- data/rdoc/RubyXL/SheetNames.html +1 -1
- data/rdoc/RubyXL/Sheets.html +1 -1
- data/rdoc/RubyXL/SlicerCacheFile.html +1 -1
- data/rdoc/RubyXL/SlicerFile.html +1 -1
- data/rdoc/RubyXL/SmartTagProperties.html +1 -1
- data/rdoc/RubyXL/SmartTagType.html +1 -1
- data/rdoc/RubyXL/SmartTagTypes.html +1 -1
- data/rdoc/RubyXL/SmartTags.html +1 -1
- data/rdoc/RubyXL/SortCondition.html +1 -1
- data/rdoc/RubyXL/SortState.html +1 -1
- data/rdoc/RubyXL/Sqref.html +1 -1
- data/rdoc/RubyXL/Stop.html +1 -1
- data/rdoc/RubyXL/StringNode.html +1 -1
- data/rdoc/RubyXL/StringNodeW3C.html +1 -1
- data/rdoc/RubyXL/StringValue.html +1 -1
- data/rdoc/RubyXL/Stylesheet.html +1 -1
- data/rdoc/RubyXL/TableFile.html +1 -1
- data/rdoc/RubyXL/TableParts.html +1 -1
- data/rdoc/RubyXL/TableStyle.html +1 -1
- data/rdoc/RubyXL/TableStyles.html +1 -1
- data/rdoc/RubyXL/Text.html +1 -1
- data/rdoc/RubyXL/Theme.html +1 -1
- data/rdoc/RubyXL/ThemeElements.html +1 -1
- data/rdoc/RubyXL/ThumbnailFile.html +1 -1
- data/rdoc/RubyXL/Top10.html +1 -1
- data/rdoc/RubyXL/VMLDrawingFile.html +1 -1
- data/rdoc/RubyXL/Variant.html +1 -1
- data/rdoc/RubyXL/Vector.html +1 -1
- data/rdoc/RubyXL/VectorValue.html +1 -1
- data/rdoc/RubyXL/VisualProperties.html +1 -1
- data/rdoc/RubyXL/WebPublishObject.html +1 -1
- data/rdoc/RubyXL/WebPublishObjects.html +1 -1
- data/rdoc/RubyXL/WebPublishingItem.html +1 -1
- data/rdoc/RubyXL/WebPublishingItems.html +1 -1
- data/rdoc/RubyXL/WebPublishingProperties.html +1 -1
- data/rdoc/RubyXL/Workbook.html +664 -14
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +54 -640
- 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 +5 -9
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +69 -69
- data/rdoc/RubyXL/WorksheetDimensions.html +1 -1
- data/rdoc/RubyXL/WorksheetFormatProperties.html +1 -1
- data/rdoc/RubyXL/WorksheetProperties.html +1 -1
- data/rdoc/RubyXL/WorksheetProtection.html +1 -1
- data/rdoc/RubyXL/WorksheetView.html +1 -1
- data/rdoc/RubyXL/WorksheetViews.html +1 -1
- data/rdoc/RubyXL/XF.html +1 -1
- data/rdoc/created.rid +14 -9
- data/rdoc/index.html +2 -2
- data/rdoc/js/navigation.js.gz +0 -0
- data/rdoc/js/search_index.js +1 -1
- data/rdoc/js/search_index.js.gz +0 -0
- data/rdoc/js/searcher.js.gz +0 -0
- data/rdoc/table_of_contents.html +49 -38
- data/rubyXL.gemspec +8 -3
- data/spec/lib/cell_spec.rb +2 -0
- data/spec/lib/color_spec.rb +1 -0
- data/spec/lib/workbook_spec.rb +11 -0
- data/spec/lib/worksheet_spec.rb +1 -0
- metadata +7 -2
data/rdoc/RubyXL/Cell.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::Cell - rubyXL 3.
|
7
|
+
<title>class RubyXL::Cell - rubyXL 3.4.0</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -72,10 +72,6 @@
|
|
72
72
|
<li><a class="include" href="LegacyCell.html">RubyXL::LegacyCell</a>
|
73
73
|
|
74
74
|
|
75
|
-
|
76
|
-
<li><a class="include" href="CellConvenienceMethods.html">RubyXL::CellConvenienceMethods</a>
|
77
|
-
|
78
|
-
|
79
75
|
</ul>
|
80
76
|
</div>
|
81
77
|
|
@@ -178,7 +174,7 @@ href="http://www.datypic.com/sc/ooxml/e-ssml_c-2.html">www.datypic.com/sc/ooxml/
|
|
178
174
|
|
179
175
|
|
180
176
|
<div class="method-source-code" id="column-source">
|
181
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line
|
177
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 48</span>
|
182
178
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">column</span>
|
183
179
|
<span class="ruby-identifier">r</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">first_col</span>
|
184
180
|
<span class="ruby-keyword">end</span></pre>
|
@@ -211,7 +207,7 @@ href="http://www.datypic.com/sc/ooxml/e-ssml_c-2.html">www.datypic.com/sc/ooxml/
|
|
211
207
|
|
212
208
|
|
213
209
|
<div class="method-source-code" id="column-3D-source">
|
214
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line
|
210
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 52</span>
|
215
211
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">column=</span>(<span class="ruby-identifier">v</span>)
|
216
212
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">r</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Reference</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">row</span> <span class="ruby-operator">||</span> <span class="ruby-value">0</span>, <span class="ruby-identifier">v</span>)
|
217
213
|
<span class="ruby-keyword">end</span></pre>
|
@@ -244,7 +240,7 @@ href="http://www.datypic.com/sc/ooxml/e-ssml_c-2.html">www.datypic.com/sc/ooxml/
|
|
244
240
|
|
245
241
|
|
246
242
|
<div class="method-source-code" id="index_in_collection-source">
|
247
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line
|
243
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 36</span>
|
248
244
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">index_in_collection</span>
|
249
245
|
<span class="ruby-identifier">r</span>.<span class="ruby-identifier">col_range</span>.<span class="ruby-identifier">begin</span>
|
250
246
|
<span class="ruby-keyword">end</span></pre>
|
@@ -277,7 +273,7 @@ href="http://www.datypic.com/sc/ooxml/e-ssml_c-2.html">www.datypic.com/sc/ooxml/
|
|
277
273
|
|
278
274
|
|
279
275
|
<div class="method-source-code" id="inspect-source">
|
280
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line
|
276
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 95</span>
|
281
277
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">inspect</span>
|
282
278
|
<span class="ruby-identifier">str</span> = <span class="ruby-node">"#<#{self.class}(#{row},#{column}): #{raw_value.inspect}"</span>
|
283
279
|
<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>
|
@@ -313,7 +309,7 @@ href="http://www.datypic.com/sc/ooxml/e-ssml_c-2.html">www.datypic.com/sc/ooxml/
|
|
313
309
|
|
314
310
|
|
315
311
|
<div class="method-source-code" id="is_date-3F-source">
|
316
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line
|
312
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 69</span>
|
317
313
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_date?</span>
|
318
314
|
<span class="ruby-keyword">return</span> <span class="ruby-keyword">false</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">raw_value</span> <span class="ruby-operator">=~</span> <span class="ruby-constant">NUMBER_REGEXP</span> <span class="ruby-comment"># Only fully numeric values can be dates</span>
|
319
315
|
<span class="ruby-identifier">num_fmt</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">number_format</span>
|
@@ -348,7 +344,7 @@ href="http://www.datypic.com/sc/ooxml/e-ssml_c-2.html">www.datypic.com/sc/ooxml/
|
|
348
344
|
|
349
345
|
|
350
346
|
<div class="method-source-code" id="number_format-source">
|
351
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line
|
347
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 65</span>
|
352
348
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">number_format</span>
|
353
349
|
<span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">stylesheet</span>.<span class="ruby-identifier">get_number_format_by_id</span>(<span class="ruby-identifier">get_cell_xf</span>.<span class="ruby-identifier">num_fmt_id</span>)
|
354
350
|
<span class="ruby-keyword">end</span></pre>
|
@@ -381,7 +377,7 @@ href="http://www.datypic.com/sc/ooxml/e-ssml_c-2.html">www.datypic.com/sc/ooxml/
|
|
381
377
|
|
382
378
|
|
383
379
|
<div class="method-source-code" id="raw_value-source">
|
384
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line
|
380
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 56</span>
|
385
381
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">raw_value</span>
|
386
382
|
<span class="ruby-identifier">value_container</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">value_container</span>.<span class="ruby-identifier">value</span>
|
387
383
|
<span class="ruby-keyword">end</span></pre>
|
@@ -414,7 +410,7 @@ href="http://www.datypic.com/sc/ooxml/e-ssml_c-2.html">www.datypic.com/sc/ooxml/
|
|
414
410
|
|
415
411
|
|
416
412
|
<div class="method-source-code" id="raw_value-3D-source">
|
417
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line
|
413
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 60</span>
|
418
414
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">raw_value=</span>(<span class="ruby-identifier">v</span>)
|
419
415
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">value_container</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">CellValue</span>.<span class="ruby-identifier">new</span>
|
420
416
|
<span class="ruby-identifier">value_container</span>.<span class="ruby-identifier">value</span> = <span class="ruby-identifier">v</span>
|
@@ -448,7 +444,7 @@ href="http://www.datypic.com/sc/ooxml/e-ssml_c-2.html">www.datypic.com/sc/ooxml/
|
|
448
444
|
|
449
445
|
|
450
446
|
<div class="method-source-code" id="row-source">
|
451
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line
|
447
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 40</span>
|
452
448
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">row</span>
|
453
449
|
<span class="ruby-identifier">r</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">first_row</span>
|
454
450
|
<span class="ruby-keyword">end</span></pre>
|
@@ -481,7 +477,7 @@ href="http://www.datypic.com/sc/ooxml/e-ssml_c-2.html">www.datypic.com/sc/ooxml/
|
|
481
477
|
|
482
478
|
|
483
479
|
<div class="method-source-code" id="row-3D-source">
|
484
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line
|
480
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 44</span>
|
485
481
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">row=</span>(<span class="ruby-identifier">v</span>)
|
486
482
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">r</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Reference</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">v</span>, <span class="ruby-identifier">column</span> <span class="ruby-operator">||</span> <span class="ruby-value">0</span>)
|
487
483
|
<span class="ruby-keyword">end</span></pre>
|
@@ -516,7 +512,7 @@ href="RichText.html">RichText</a>).</p>
|
|
516
512
|
|
517
513
|
|
518
514
|
<div class="method-source-code" id="value-source">
|
519
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line
|
515
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/sheet_data.rb, line 77</span>
|
520
516
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">value</span>(<span class="ruby-identifier">args</span> = {})
|
521
517
|
<span class="ruby-identifier">r</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">raw_value</span>
|
522
518
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>module RubyXL::CellConvenienceMethods - rubyXL 3.
|
7
|
+
<title>module RubyXL::CellConvenienceMethods - rubyXL 3.4.0</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -183,7 +183,7 @@
|
|
183
183
|
|
184
184
|
|
185
185
|
<div class="method-source-code" id="change_border-source">
|
186
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
186
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 57</span>
|
187
187
|
<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>)
|
188
188
|
<span class="ruby-identifier">validate_worksheet</span>
|
189
189
|
<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>)
|
@@ -217,7 +217,7 @@
|
|
217
217
|
|
218
218
|
|
219
219
|
<div class="method-source-code" id="change_border_color-source">
|
220
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
220
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 62</span>
|
221
221
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_color</span>(<span class="ruby-identifier">direction</span>, <span class="ruby-identifier">color</span>)
|
222
222
|
<span class="ruby-identifier">validate_worksheet</span>
|
223
223
|
<span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">color</span>)
|
@@ -252,7 +252,7 @@
|
|
252
252
|
|
253
253
|
|
254
254
|
<div class="method-source-code" id="change_contents-source">
|
255
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
255
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 4</span>
|
256
256
|
<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>)
|
257
257
|
<span class="ruby-identifier">validate_worksheet</span>
|
258
258
|
|
@@ -299,7 +299,7 @@
|
|
299
299
|
|
300
300
|
|
301
301
|
<div class="method-source-code" id="change_fill-source">
|
302
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
302
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 151</span>
|
303
303
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_fill</span>(<span class="ruby-identifier">rgb</span> = <span class="ruby-string">'ffffff'</span>)
|
304
304
|
<span class="ruby-identifier">validate_worksheet</span>
|
305
305
|
<span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">rgb</span>)
|
@@ -334,7 +334,7 @@
|
|
334
334
|
|
335
335
|
|
336
336
|
<div class="method-source-code" id="change_font_bold-source">
|
337
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
337
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 196</span>
|
338
338
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_bold</span>(<span class="ruby-identifier">bolded</span> = <span class="ruby-keyword">false</span>)
|
339
339
|
<span class="ruby-identifier">validate_worksheet</span>
|
340
340
|
|
@@ -371,7 +371,7 @@
|
|
371
371
|
|
372
372
|
|
373
373
|
<div class="method-source-code" id="change_font_color-source">
|
374
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
374
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 177</span>
|
375
375
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_color</span>(<span class="ruby-identifier">font_color</span> = <span class="ruby-string">'000000'</span>)
|
376
376
|
<span class="ruby-identifier">validate_worksheet</span>
|
377
377
|
<span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">font_color</span>)
|
@@ -409,7 +409,7 @@
|
|
409
409
|
|
410
410
|
|
411
411
|
<div class="method-source-code" id="change_font_italics-source">
|
412
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
412
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 187</span>
|
413
413
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_italics</span>(<span class="ruby-identifier">italicized</span> = <span class="ruby-keyword">false</span>)
|
414
414
|
<span class="ruby-identifier">validate_worksheet</span>
|
415
415
|
|
@@ -446,7 +446,7 @@
|
|
446
446
|
|
447
447
|
|
448
448
|
<div class="method-source-code" id="change_font_name-source">
|
449
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
449
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 158</span>
|
450
450
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_name</span>(<span class="ruby-identifier">new_font_name</span> = <span class="ruby-string">'Verdana'</span>)
|
451
451
|
<span class="ruby-identifier">validate_worksheet</span>
|
452
452
|
|
@@ -483,7 +483,7 @@
|
|
483
483
|
|
484
484
|
|
485
485
|
<div class="method-source-code" id="change_font_size-source">
|
486
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
486
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 167</span>
|
487
487
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_size</span>(<span class="ruby-identifier">font_size</span> = <span class="ruby-value">10</span>)
|
488
488
|
<span class="ruby-identifier">validate_worksheet</span>
|
489
489
|
<span class="ruby-identifier">raise</span> <span class="ruby-string">'Argument must be a number'</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">font_size</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Integer</span>) <span class="ruby-operator">||</span> <span class="ruby-identifier">font_size</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Float</span>)
|
@@ -521,7 +521,7 @@
|
|
521
521
|
|
522
522
|
|
523
523
|
<div class="method-source-code" id="change_font_strikethrough-source">
|
524
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
524
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 213</span>
|
525
525
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_strikethrough</span>(<span class="ruby-identifier">struckthrough</span> = <span class="ruby-keyword">false</span>)
|
526
526
|
<span class="ruby-identifier">validate_worksheet</span>
|
527
527
|
|
@@ -558,7 +558,7 @@
|
|
558
558
|
|
559
559
|
|
560
560
|
<div class="method-source-code" id="change_font_underline-source">
|
561
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
561
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 205</span>
|
562
562
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_underline</span>(<span class="ruby-identifier">underlined</span> = <span class="ruby-keyword">false</span>)
|
563
563
|
<span class="ruby-identifier">validate_worksheet</span>
|
564
564
|
|
@@ -595,7 +595,7 @@
|
|
595
595
|
|
596
596
|
|
597
597
|
<div class="method-source-code" id="change_horizontal_alignment-source">
|
598
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
598
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 32</span>
|
599
599
|
<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>)
|
600
600
|
<span class="ruby-identifier">validate_worksheet</span>
|
601
601
|
<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-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">horizontal</span> = <span class="ruby-identifier">alignment</span> }
|
@@ -629,7 +629,7 @@
|
|
629
629
|
|
630
630
|
|
631
631
|
<div class="method-source-code" id="change_text_indent-source">
|
632
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
632
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 52</span>
|
633
633
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_text_indent</span>(<span class="ruby-identifier">indent</span>)
|
634
634
|
<span class="ruby-identifier">validate_worksheet</span>
|
635
635
|
<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-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">indent</span> = <span class="ruby-identifier">indent</span> }
|
@@ -663,7 +663,7 @@
|
|
663
663
|
|
664
664
|
|
665
665
|
<div class="method-source-code" id="change_text_rotation-source">
|
666
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
666
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 47</span>
|
667
667
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_text_rotation</span>(<span class="ruby-identifier">rot</span>)
|
668
668
|
<span class="ruby-identifier">validate_worksheet</span>
|
669
669
|
<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-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">text_rotation</span> = <span class="ruby-identifier">rot</span> }
|
@@ -697,7 +697,7 @@
|
|
697
697
|
|
698
698
|
|
699
699
|
<div class="method-source-code" id="change_text_wrap-source">
|
700
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
700
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 42</span>
|
701
701
|
<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>)
|
702
702
|
<span class="ruby-identifier">validate_worksheet</span>
|
703
703
|
<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-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">wrap_text</span> = <span class="ruby-identifier">wrap</span> }
|
@@ -731,7 +731,7 @@
|
|
731
731
|
|
732
732
|
|
733
733
|
<div class="method-source-code" id="change_vertical_alignment-source">
|
734
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
734
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 37</span>
|
735
735
|
<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>)
|
736
736
|
<span class="ruby-identifier">validate_worksheet</span>
|
737
737
|
<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-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">vertical</span> = <span class="ruby-identifier">alignment</span> }
|
@@ -765,7 +765,7 @@
|
|
765
765
|
|
766
766
|
|
767
767
|
<div class="method-source-code" id="fill_color-source">
|
768
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
768
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 103</span>
|
769
769
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">fill_color</span>()
|
770
770
|
<span class="ruby-identifier">validate_worksheet</span>
|
771
771
|
<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>)
|
@@ -799,7 +799,7 @@
|
|
799
799
|
|
800
800
|
|
801
801
|
<div class="method-source-code" id="font_color-source">
|
802
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
802
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 98</span>
|
803
803
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">font_color</span>()
|
804
804
|
<span class="ruby-identifier">validate_worksheet</span>
|
805
805
|
<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>
|
@@ -833,7 +833,7 @@
|
|
833
833
|
|
834
834
|
|
835
835
|
<div class="method-source-code" id="font_name-source">
|
836
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
836
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 88</span>
|
837
837
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">font_name</span>()
|
838
838
|
<span class="ruby-identifier">validate_worksheet</span>
|
839
839
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">get_name</span>
|
@@ -867,7 +867,7 @@
|
|
867
867
|
|
868
868
|
|
869
869
|
<div class="method-source-code" id="font_size-source">
|
870
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
870
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 93</span>
|
871
871
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">font_size</span>()
|
872
872
|
<span class="ruby-identifier">validate_worksheet</span>
|
873
873
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">get_size</span>
|
@@ -902,7 +902,7 @@ specified</p>
|
|
902
902
|
|
903
903
|
|
904
904
|
<div class="method-source-code" id="font_switch-source">
|
905
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
905
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 229</span>
|
906
906
|
<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>)
|
907
907
|
<span class="ruby-keyword">case</span> <span class="ruby-identifier">change_type</span>
|
908
908
|
<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>)
|
@@ -944,7 +944,7 @@ specified</p>
|
|
944
944
|
|
945
945
|
|
946
946
|
<div class="method-source-code" id="get_border-source">
|
947
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
947
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 22</span>
|
948
948
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_border</span>(<span class="ruby-identifier">direction</span>)
|
949
949
|
<span class="ruby-identifier">validate_worksheet</span>
|
950
950
|
<span class="ruby-identifier">get_cell_border</span>.<span class="ruby-identifier">get_edge_style</span>(<span class="ruby-identifier">direction</span>)
|
@@ -978,7 +978,7 @@ specified</p>
|
|
978
978
|
|
979
979
|
|
980
980
|
<div class="method-source-code" id="get_border_color-source">
|
981
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
981
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 27</span>
|
982
982
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_border_color</span>(<span class="ruby-identifier">direction</span>)
|
983
983
|
<span class="ruby-identifier">validate_worksheet</span>
|
984
984
|
<span class="ruby-identifier">get_cell_border</span>.<span class="ruby-identifier">get_edge_color</span>(<span class="ruby-identifier">direction</span>)
|
@@ -1012,7 +1012,7 @@ specified</p>
|
|
1012
1012
|
|
1013
1013
|
|
1014
1014
|
<div class="method-source-code" id="horizontal_alignment-source">
|
1015
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1015
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 108</span>
|
1016
1016
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">horizontal_alignment</span>()
|
1017
1017
|
<span class="ruby-identifier">validate_worksheet</span>
|
1018
1018
|
<span class="ruby-identifier">xf_obj</span> = <span class="ruby-identifier">get_cell_xf</span>
|
@@ -1048,7 +1048,7 @@ specified</p>
|
|
1048
1048
|
|
1049
1049
|
|
1050
1050
|
<div class="method-source-code" id="is_bolded-source">
|
1051
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1051
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 73</span>
|
1052
1052
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_bolded</span>()
|
1053
1053
|
<span class="ruby-identifier">validate_worksheet</span>
|
1054
1054
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_bold</span>
|
@@ -1082,7 +1082,7 @@ specified</p>
|
|
1082
1082
|
|
1083
1083
|
|
1084
1084
|
<div class="method-source-code" id="is_italicized-source">
|
1085
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1085
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 68</span>
|
1086
1086
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_italicized</span>()
|
1087
1087
|
<span class="ruby-identifier">validate_worksheet</span>
|
1088
1088
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_italic</span>
|
@@ -1116,7 +1116,7 @@ specified</p>
|
|
1116
1116
|
|
1117
1117
|
|
1118
1118
|
<div class="method-source-code" id="is_struckthrough-source">
|
1119
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1119
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 83</span>
|
1120
1120
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_struckthrough</span>()
|
1121
1121
|
<span class="ruby-identifier">validate_worksheet</span>
|
1122
1122
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_strikethrough</span>
|
@@ -1150,7 +1150,7 @@ specified</p>
|
|
1150
1150
|
|
1151
1151
|
|
1152
1152
|
<div class="method-source-code" id="is_underlined-source">
|
1153
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1153
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 78</span>
|
1154
1154
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_underlined</span>()
|
1155
1155
|
<span class="ruby-identifier">validate_worksheet</span>
|
1156
1156
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_underlined</span>
|
@@ -1184,7 +1184,7 @@ specified</p>
|
|
1184
1184
|
|
1185
1185
|
|
1186
1186
|
<div class="method-source-code" id="set_number_format-source">
|
1187
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1187
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 143</span>
|
1188
1188
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">set_number_format</span>(<span class="ruby-identifier">format_code</span>)
|
1189
1189
|
<span class="ruby-identifier">new_xf</span> = <span class="ruby-identifier">get_cell_xf</span>.<span class="ruby-identifier">dup</span>
|
1190
1190
|
<span class="ruby-identifier">new_xf</span>.<span class="ruby-identifier">num_fmt_id</span> = <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">stylesheet</span>.<span class="ruby-identifier">register_number_format</span>(<span class="ruby-identifier">format_code</span>)
|
@@ -1220,7 +1220,7 @@ specified</p>
|
|
1220
1220
|
|
1221
1221
|
|
1222
1222
|
<div class="method-source-code" id="text_indent-source">
|
1223
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1223
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 136</span>
|
1224
1224
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">text_indent</span>()
|
1225
1225
|
<span class="ruby-identifier">validate_worksheet</span>
|
1226
1226
|
<span class="ruby-identifier">xf_obj</span> = <span class="ruby-identifier">get_cell_xf</span>
|
@@ -1256,7 +1256,7 @@ specified</p>
|
|
1256
1256
|
|
1257
1257
|
|
1258
1258
|
<div class="method-source-code" id="text_rotation-source">
|
1259
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1259
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 129</span>
|
1260
1260
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">text_rotation</span>
|
1261
1261
|
<span class="ruby-identifier">validate_worksheet</span>
|
1262
1262
|
<span class="ruby-identifier">xf_obj</span> = <span class="ruby-identifier">get_cell_xf</span>
|
@@ -1292,7 +1292,7 @@ specified</p>
|
|
1292
1292
|
|
1293
1293
|
|
1294
1294
|
<div class="method-source-code" id="text_wrap-source">
|
1295
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1295
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 122</span>
|
1296
1296
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">text_wrap</span>()
|
1297
1297
|
<span class="ruby-identifier">validate_worksheet</span>
|
1298
1298
|
<span class="ruby-identifier">xf_obj</span> = <span class="ruby-identifier">get_cell_xf</span>
|
@@ -1328,7 +1328,7 @@ specified</p>
|
|
1328
1328
|
|
1329
1329
|
|
1330
1330
|
<div class="method-source-code" id="vertical_alignment-source">
|
1331
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
1331
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 115</span>
|
1332
1332
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">vertical_alignment</span>()
|
1333
1333
|
<span class="ruby-identifier">validate_worksheet</span>
|
1334
1334
|
<span class="ruby-identifier">xf_obj</span> = <span class="ruby-identifier">get_cell_xf</span>
|