rubyXL 3.3.29 → 3.3.30
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 +5 -5
- data/README.rdoc +12 -0
- data/VERSION +1 -1
- data/lib/rubyXL/convenience_methods.rb +179 -1
- data/lib/rubyXL/objects/cell_style.rb +3 -3
- data/lib/rubyXL/objects/color.rb +3 -1
- data/lib/rubyXL/objects/simple_types.rb +3 -1
- data/lib/rubyXL/objects/theme.rb +19 -0
- data/lib/rubyXL/objects/workbook.rb +1 -1
- data/lib/rubyXL/objects/worksheet.rb +1 -1
- data/rdoc/README_rdoc.html +23 -1
- data/rdoc/RubyXL.html +19 -2
- 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 +1 -1
- data/rdoc/RubyXL/CellConvenienceMethods.html +178 -30
- data/rdoc/RubyXL/CellExt.html +1 -1
- data/rdoc/RubyXL/CellSmartTag.html +1 -1
- data/rdoc/RubyXL/CellSmartTagProperty.html +1 -1
- data/rdoc/RubyXL/CellSmartTags.html +1 -1
- data/rdoc/RubyXL/CellStyle.html +1 -1
- data/rdoc/RubyXL/CellStyleXFs.html +1 -1
- data/rdoc/RubyXL/CellStyles.html +1 -1
- data/rdoc/RubyXL/CellValue.html +1 -1
- data/rdoc/RubyXL/CellWatch.html +1 -1
- data/rdoc/RubyXL/CellWatches.html +1 -1
- data/rdoc/RubyXL/CellXFs.html +1 -1
- data/rdoc/RubyXL/ChartColorsFile.html +1 -1
- data/rdoc/RubyXL/ChartFile.html +1 -1
- data/rdoc/RubyXL/ChartStyleFile.html +1 -1
- data/rdoc/RubyXL/ChartUserShapesFile.html +1 -1
- data/rdoc/RubyXL/Chartsheet.html +1 -1
- data/rdoc/RubyXL/ChartsheetPageSetup.html +1 -1
- data/rdoc/RubyXL/ChartsheetProperties.html +1 -1
- data/rdoc/RubyXL/ChartsheetProtection.html +1 -1
- data/rdoc/RubyXL/ChartsheetView.html +1 -1
- data/rdoc/RubyXL/ChartsheetViews.html +1 -1
- data/rdoc/RubyXL/Color.html +13 -2
- data/rdoc/RubyXL/ColorConvenienceClasses.html +96 -0
- data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +289 -0
- data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +339 -0
- data/rdoc/RubyXL/ColorConvenienceMethods.html +156 -0
- data/rdoc/RubyXL/ColorFilter.html +1 -1
- data/rdoc/RubyXL/ColorScale.html +1 -1
- data/rdoc/RubyXL/ColorSet.html +1 -1
- data/rdoc/RubyXL/Colors.html +1 -1
- data/rdoc/RubyXL/ColumnRange.html +1 -1
- data/rdoc/RubyXL/ColumnRanges.html +1 -1
- data/rdoc/RubyXL/Comment.html +1 -1
- data/rdoc/RubyXL/CommentList.html +1 -1
- data/rdoc/RubyXL/CommentsFile.html +1 -1
- data/rdoc/RubyXL/ConditionalFormatValue.html +1 -1
- data/rdoc/RubyXL/ConditionalFormatting.html +1 -1
- data/rdoc/RubyXL/ConditionalFormattingRule.html +1 -1
- data/rdoc/RubyXL/ContentTypeDefault.html +1 -1
- data/rdoc/RubyXL/ContentTypeOverride.html +1 -1
- data/rdoc/RubyXL/ContentTypes.html +1 -1
- data/rdoc/RubyXL/ControlPropertiesFile.html +1 -1
- data/rdoc/RubyXL/CorePropertiesFile.html +1 -1
- data/rdoc/RubyXL/CustomColor.html +1 -1
- data/rdoc/RubyXL/CustomColorList.html +1 -1
- data/rdoc/RubyXL/CustomFilter.html +1 -1
- data/rdoc/RubyXL/CustomFilters.html +1 -1
- data/rdoc/RubyXL/CustomGeometry.html +1 -1
- data/rdoc/RubyXL/CustomProperties.html +1 -1
- data/rdoc/RubyXL/CustomPropertiesFile.html +1 -1
- data/rdoc/RubyXL/CustomProperty.html +1 -1
- data/rdoc/RubyXL/CustomSheetView.html +1 -1
- data/rdoc/RubyXL/CustomSheetViews.html +1 -1
- data/rdoc/RubyXL/CustomWorkbookView.html +1 -1
- data/rdoc/RubyXL/CustomWorkbookViews.html +1 -1
- data/rdoc/RubyXL/CustomXMLFile.html +1 -1
- data/rdoc/RubyXL/DXF.html +1 -1
- data/rdoc/RubyXL/DXFs.html +1 -1
- data/rdoc/RubyXL/DataBar.html +1 -1
- data/rdoc/RubyXL/DataConsolidate.html +1 -1
- data/rdoc/RubyXL/DataConsolidationReference.html +1 -1
- data/rdoc/RubyXL/DataConsolidationReferences.html +1 -1
- data/rdoc/RubyXL/DataType.html +1 -1
- data/rdoc/RubyXL/DataValidation.html +1 -1
- data/rdoc/RubyXL/DataValidations.html +1 -1
- data/rdoc/RubyXL/DateGroupItem.html +1 -1
- data/rdoc/RubyXL/DefinedName.html +1 -1
- data/rdoc/RubyXL/DefinedNameExt.html +1 -1
- data/rdoc/RubyXL/DefinedNames.html +1 -1
- data/rdoc/RubyXL/DefinedNamesExt.html +1 -1
- data/rdoc/RubyXL/DocumentPropertiesFile.html +1 -1
- data/rdoc/RubyXL/DrawingFile.html +1 -1
- data/rdoc/RubyXL/DynamicFilter.html +1 -1
- data/rdoc/RubyXL/EmbeddedControl.html +1 -1
- data/rdoc/RubyXL/EmbeddedControls.html +1 -1
- data/rdoc/RubyXL/Extension.html +1 -1
- data/rdoc/RubyXL/ExtensionStorageArea.html +1 -1
- data/rdoc/RubyXL/Extents.html +1 -1
- data/rdoc/RubyXL/ExternalBook.html +1 -1
- data/rdoc/RubyXL/ExternalLinksFile.html +1 -1
- data/rdoc/RubyXL/ExternalReference.html +1 -1
- data/rdoc/RubyXL/ExternalReferences.html +1 -1
- data/rdoc/RubyXL/ExtraColorSchemeList.html +1 -1
- data/rdoc/RubyXL/FieldItem.html +1 -1
- data/rdoc/RubyXL/FileRecoveryProperties.html +1 -1
- data/rdoc/RubyXL/FileSharing.html +1 -1
- data/rdoc/RubyXL/FileVersion.html +1 -1
- data/rdoc/RubyXL/Fill.html +1 -1
- data/rdoc/RubyXL/Fills.html +1 -1
- data/rdoc/RubyXL/FilterContainer.html +1 -1
- data/rdoc/RubyXL/FloatNode.html +1 -1
- data/rdoc/RubyXL/FloatValue.html +1 -1
- data/rdoc/RubyXL/Font.html +1 -1
- data/rdoc/RubyXL/FontConvenienceMethods.html +15 -15
- data/rdoc/RubyXL/FontScheme.html +1 -1
- data/rdoc/RubyXL/Fonts.html +1 -1
- data/rdoc/RubyXL/Formula.html +1 -1
- data/rdoc/RubyXL/FunctionGroup.html +1 -1
- data/rdoc/RubyXL/FunctionGroups.html +1 -1
- data/rdoc/RubyXL/GenericStorageObject.html +1 -1
- data/rdoc/RubyXL/GradientFill.html +1 -1
- data/rdoc/RubyXL/HeaderFooterSettings.html +1 -1
- data/rdoc/RubyXL/Hyperlink.html +1 -1
- data/rdoc/RubyXL/HyperlinkRelFile.html +1 -1
- data/rdoc/RubyXL/Hyperlinks.html +1 -1
- data/rdoc/RubyXL/IconFilter.html +1 -1
- data/rdoc/RubyXL/IconSet.html +1 -1
- data/rdoc/RubyXL/IgnoredError.html +1 -1
- data/rdoc/RubyXL/IgnoredErrors.html +1 -1
- data/rdoc/RubyXL/IndexedColors.html +1 -1
- data/rdoc/RubyXL/InputCells.html +1 -1
- data/rdoc/RubyXL/IntegerNode.html +1 -1
- data/rdoc/RubyXL/IntegerValue.html +1 -1
- data/rdoc/RubyXL/LegacyCell.html +1 -1
- data/rdoc/RubyXL/LegacyWorksheet.html +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 +1 -1
- data/rdoc/RubyXL/RowExt.html +1 -1
- data/rdoc/RubyXL/RunProperties.html +1 -1
- data/rdoc/RubyXL/Scenario.html +1 -1
- data/rdoc/RubyXL/Scenarios.html +1 -1
- data/rdoc/RubyXL/Selection.html +1 -1
- data/rdoc/RubyXL/ShapeGuide.html +1 -1
- data/rdoc/RubyXL/ShapeTextRectangle.html +1 -1
- data/rdoc/RubyXL/SharedStringsTable.html +1 -1
- data/rdoc/RubyXL/Sheet.html +1 -1
- data/rdoc/RubyXL/SheetCalculationProperties.html +1 -1
- data/rdoc/RubyXL/SheetData.html +1 -1
- 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 +52 -2
- 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 +11 -10
- data/rdoc/RubyXL/WorkbookProperties.html +1 -1
- data/rdoc/RubyXL/WorkbookProtection.html +1 -1
- data/rdoc/RubyXL/WorkbookRoot.html +1 -1
- data/rdoc/RubyXL/WorkbookView.html +1 -1
- data/rdoc/RubyXL/WorkbookViews.html +1 -1
- data/rdoc/RubyXL/Worksheet.html +1 -1
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +69 -69
- data/rdoc/RubyXL/WorksheetDimensions.html +1 -1
- data/rdoc/RubyXL/WorksheetFormatProperties.html +1 -1
- data/rdoc/RubyXL/WorksheetProperties.html +1 -1
- data/rdoc/RubyXL/WorksheetProtection.html +1 -1
- data/rdoc/RubyXL/WorksheetView.html +1 -1
- data/rdoc/RubyXL/WorksheetViews.html +1 -1
- data/rdoc/RubyXL/XF.html +1 -1
- data/rdoc/created.rid +9 -9
- data/rdoc/index.html +10 -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 +70 -2
- data/rubyXL.gemspec +41 -37
- data/spec/lib/cell_spec.rb +24 -0
- metadata +7 -3
data/rdoc/RubyXL/CT_Scene3D.html
CHANGED
data/rdoc/RubyXL/CT_Shape3D.html
CHANGED
data/rdoc/RubyXL/Cell.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>module RubyXL::CellConvenienceMethods - rubyXL 3.3.
|
|
7
|
+
<title>module RubyXL::CellConvenienceMethods - rubyXL 3.3.30</title>
|
|
8
8
|
|
|
9
9
|
<script type="text/javascript">
|
|
10
10
|
var rdoc_rel_prefix = "../";
|
|
@@ -88,6 +88,10 @@
|
|
|
88
88
|
|
|
89
89
|
<li ><a href="#method-i-change_horizontal_alignment">#change_horizontal_alignment</a>
|
|
90
90
|
|
|
91
|
+
<li ><a href="#method-i-change_text_indent">#change_text_indent</a>
|
|
92
|
+
|
|
93
|
+
<li ><a href="#method-i-change_text_rotation">#change_text_rotation</a>
|
|
94
|
+
|
|
91
95
|
<li ><a href="#method-i-change_text_wrap">#change_text_wrap</a>
|
|
92
96
|
|
|
93
97
|
<li ><a href="#method-i-change_vertical_alignment">#change_vertical_alignment</a>
|
|
@@ -118,6 +122,10 @@
|
|
|
118
122
|
|
|
119
123
|
<li ><a href="#method-i-set_number_format">#set_number_format</a>
|
|
120
124
|
|
|
125
|
+
<li ><a href="#method-i-text_indent">#text_indent</a>
|
|
126
|
+
|
|
127
|
+
<li ><a href="#method-i-text_rotation">#text_rotation</a>
|
|
128
|
+
|
|
121
129
|
<li ><a href="#method-i-text_wrap">#text_wrap</a>
|
|
122
130
|
|
|
123
131
|
<li ><a href="#method-i-vertical_alignment">#vertical_alignment</a>
|
|
@@ -175,7 +183,7 @@
|
|
|
175
183
|
|
|
176
184
|
|
|
177
185
|
<div class="method-source-code" id="change_border-source">
|
|
178
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
186
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 883</span>
|
|
179
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>)
|
|
180
188
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
181
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>)
|
|
@@ -209,7 +217,7 @@
|
|
|
209
217
|
|
|
210
218
|
|
|
211
219
|
<div class="method-source-code" id="change_border_color-source">
|
|
212
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
220
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 888</span>
|
|
213
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>)
|
|
214
222
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
215
223
|
<span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">color</span>)
|
|
@@ -244,7 +252,7 @@
|
|
|
244
252
|
|
|
245
253
|
|
|
246
254
|
<div class="method-source-code" id="change_contents-source">
|
|
247
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
255
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 830</span>
|
|
248
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>)
|
|
249
257
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
250
258
|
|
|
@@ -291,7 +299,7 @@
|
|
|
291
299
|
|
|
292
300
|
|
|
293
301
|
<div class="method-source-code" id="change_fill-source">
|
|
294
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
302
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 977</span>
|
|
295
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>)
|
|
296
304
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
297
305
|
<span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">rgb</span>)
|
|
@@ -326,7 +334,7 @@
|
|
|
326
334
|
|
|
327
335
|
|
|
328
336
|
<div class="method-source-code" id="change_font_bold-source">
|
|
329
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
337
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 1022</span>
|
|
330
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>)
|
|
331
339
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
332
340
|
|
|
@@ -363,7 +371,7 @@
|
|
|
363
371
|
|
|
364
372
|
|
|
365
373
|
<div class="method-source-code" id="change_font_color-source">
|
|
366
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
374
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 1003</span>
|
|
367
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>)
|
|
368
376
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
369
377
|
<span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">font_color</span>)
|
|
@@ -401,7 +409,7 @@
|
|
|
401
409
|
|
|
402
410
|
|
|
403
411
|
<div class="method-source-code" id="change_font_italics-source">
|
|
404
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
412
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 1013</span>
|
|
405
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>)
|
|
406
414
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
407
415
|
|
|
@@ -438,7 +446,7 @@
|
|
|
438
446
|
|
|
439
447
|
|
|
440
448
|
<div class="method-source-code" id="change_font_name-source">
|
|
441
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
449
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 984</span>
|
|
442
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>)
|
|
443
451
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
444
452
|
|
|
@@ -475,7 +483,7 @@
|
|
|
475
483
|
|
|
476
484
|
|
|
477
485
|
<div class="method-source-code" id="change_font_size-source">
|
|
478
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
486
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 993</span>
|
|
479
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>)
|
|
480
488
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
481
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>)
|
|
@@ -513,7 +521,7 @@
|
|
|
513
521
|
|
|
514
522
|
|
|
515
523
|
<div class="method-source-code" id="change_font_strikethrough-source">
|
|
516
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
524
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 1039</span>
|
|
517
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>)
|
|
518
526
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
519
527
|
|
|
@@ -550,7 +558,7 @@
|
|
|
550
558
|
|
|
551
559
|
|
|
552
560
|
<div class="method-source-code" id="change_font_underline-source">
|
|
553
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
561
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 1031</span>
|
|
554
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>)
|
|
555
563
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
556
564
|
|
|
@@ -587,7 +595,7 @@
|
|
|
587
595
|
|
|
588
596
|
|
|
589
597
|
<div class="method-source-code" id="change_horizontal_alignment-source">
|
|
590
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
598
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 858</span>
|
|
591
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>)
|
|
592
600
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
593
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> }
|
|
@@ -599,6 +607,74 @@
|
|
|
599
607
|
|
|
600
608
|
|
|
601
609
|
|
|
610
|
+
</div>
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
<div id="method-i-change_text_indent" class="method-detail ">
|
|
614
|
+
|
|
615
|
+
<div class="method-heading">
|
|
616
|
+
<span class="method-name">change_text_indent</span><span
|
|
617
|
+
class="method-args">(indent)</span>
|
|
618
|
+
|
|
619
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
620
|
+
|
|
621
|
+
</div>
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
<div class="method-description">
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
<div class="method-source-code" id="change_text_indent-source">
|
|
632
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 878</span>
|
|
633
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_text_indent</span>(<span class="ruby-identifier">indent</span>)
|
|
634
|
+
<span class="ruby-identifier">validate_worksheet</span>
|
|
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> }
|
|
636
|
+
<span class="ruby-keyword">end</span></pre>
|
|
637
|
+
</div>
|
|
638
|
+
|
|
639
|
+
</div>
|
|
640
|
+
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
|
|
644
|
+
</div>
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
<div id="method-i-change_text_rotation" class="method-detail ">
|
|
648
|
+
|
|
649
|
+
<div class="method-heading">
|
|
650
|
+
<span class="method-name">change_text_rotation</span><span
|
|
651
|
+
class="method-args">(rot)</span>
|
|
652
|
+
|
|
653
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
654
|
+
|
|
655
|
+
</div>
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+
<div class="method-description">
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
<div class="method-source-code" id="change_text_rotation-source">
|
|
666
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 873</span>
|
|
667
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_text_rotation</span>(<span class="ruby-identifier">rot</span>)
|
|
668
|
+
<span class="ruby-identifier">validate_worksheet</span>
|
|
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> }
|
|
670
|
+
<span class="ruby-keyword">end</span></pre>
|
|
671
|
+
</div>
|
|
672
|
+
|
|
673
|
+
</div>
|
|
674
|
+
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
|
|
602
678
|
</div>
|
|
603
679
|
|
|
604
680
|
|
|
@@ -621,7 +697,7 @@
|
|
|
621
697
|
|
|
622
698
|
|
|
623
699
|
<div class="method-source-code" id="change_text_wrap-source">
|
|
624
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
700
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 868</span>
|
|
625
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>)
|
|
626
702
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
627
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> }
|
|
@@ -655,7 +731,7 @@
|
|
|
655
731
|
|
|
656
732
|
|
|
657
733
|
<div class="method-source-code" id="change_vertical_alignment-source">
|
|
658
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
734
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 863</span>
|
|
659
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>)
|
|
660
736
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
661
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> }
|
|
@@ -689,7 +765,7 @@
|
|
|
689
765
|
|
|
690
766
|
|
|
691
767
|
<div class="method-source-code" id="fill_color-source">
|
|
692
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
768
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 929</span>
|
|
693
769
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">fill_color</span>()
|
|
694
770
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
695
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>)
|
|
@@ -723,7 +799,7 @@
|
|
|
723
799
|
|
|
724
800
|
|
|
725
801
|
<div class="method-source-code" id="font_color-source">
|
|
726
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
802
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 924</span>
|
|
727
803
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">font_color</span>()
|
|
728
804
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
729
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>
|
|
@@ -757,7 +833,7 @@
|
|
|
757
833
|
|
|
758
834
|
|
|
759
835
|
<div class="method-source-code" id="font_name-source">
|
|
760
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
836
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 914</span>
|
|
761
837
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">font_name</span>()
|
|
762
838
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
763
839
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">get_name</span>
|
|
@@ -791,7 +867,7 @@
|
|
|
791
867
|
|
|
792
868
|
|
|
793
869
|
<div class="method-source-code" id="font_size-source">
|
|
794
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
870
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 919</span>
|
|
795
871
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">font_size</span>()
|
|
796
872
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
797
873
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">get_size</span>
|
|
@@ -826,7 +902,7 @@ specified</p>
|
|
|
826
902
|
|
|
827
903
|
|
|
828
904
|
<div class="method-source-code" id="font_switch-source">
|
|
829
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
905
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 1055</span>
|
|
830
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>)
|
|
831
907
|
<span class="ruby-keyword">case</span> <span class="ruby-identifier">change_type</span>
|
|
832
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>)
|
|
@@ -868,7 +944,7 @@ specified</p>
|
|
|
868
944
|
|
|
869
945
|
|
|
870
946
|
<div class="method-source-code" id="get_border-source">
|
|
871
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
947
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 848</span>
|
|
872
948
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_border</span>(<span class="ruby-identifier">direction</span>)
|
|
873
949
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
874
950
|
<span class="ruby-identifier">get_cell_border</span>.<span class="ruby-identifier">get_edge_style</span>(<span class="ruby-identifier">direction</span>)
|
|
@@ -902,7 +978,7 @@ specified</p>
|
|
|
902
978
|
|
|
903
979
|
|
|
904
980
|
<div class="method-source-code" id="get_border_color-source">
|
|
905
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
981
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 853</span>
|
|
906
982
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_border_color</span>(<span class="ruby-identifier">direction</span>)
|
|
907
983
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
908
984
|
<span class="ruby-identifier">get_cell_border</span>.<span class="ruby-identifier">get_edge_color</span>(<span class="ruby-identifier">direction</span>)
|
|
@@ -936,7 +1012,7 @@ specified</p>
|
|
|
936
1012
|
|
|
937
1013
|
|
|
938
1014
|
<div class="method-source-code" id="horizontal_alignment-source">
|
|
939
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
1015
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 934</span>
|
|
940
1016
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">horizontal_alignment</span>()
|
|
941
1017
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
942
1018
|
<span class="ruby-identifier">xf_obj</span> = <span class="ruby-identifier">get_cell_xf</span>
|
|
@@ -972,7 +1048,7 @@ specified</p>
|
|
|
972
1048
|
|
|
973
1049
|
|
|
974
1050
|
<div class="method-source-code" id="is_bolded-source">
|
|
975
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
1051
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 899</span>
|
|
976
1052
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_bolded</span>()
|
|
977
1053
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
978
1054
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_bold</span>
|
|
@@ -1006,7 +1082,7 @@ specified</p>
|
|
|
1006
1082
|
|
|
1007
1083
|
|
|
1008
1084
|
<div class="method-source-code" id="is_italicized-source">
|
|
1009
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
1085
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 894</span>
|
|
1010
1086
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_italicized</span>()
|
|
1011
1087
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1012
1088
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_italic</span>
|
|
@@ -1040,7 +1116,7 @@ specified</p>
|
|
|
1040
1116
|
|
|
1041
1117
|
|
|
1042
1118
|
<div class="method-source-code" id="is_struckthrough-source">
|
|
1043
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
1119
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 909</span>
|
|
1044
1120
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_struckthrough</span>()
|
|
1045
1121
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1046
1122
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_strikethrough</span>
|
|
@@ -1074,7 +1150,7 @@ specified</p>
|
|
|
1074
1150
|
|
|
1075
1151
|
|
|
1076
1152
|
<div class="method-source-code" id="is_underlined-source">
|
|
1077
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
1153
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 904</span>
|
|
1078
1154
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_underlined</span>()
|
|
1079
1155
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1080
1156
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_underlined</span>
|
|
@@ -1108,7 +1184,7 @@ specified</p>
|
|
|
1108
1184
|
|
|
1109
1185
|
|
|
1110
1186
|
<div class="method-source-code" id="set_number_format-source">
|
|
1111
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
1187
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 969</span>
|
|
1112
1188
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">set_number_format</span>(<span class="ruby-identifier">format_code</span>)
|
|
1113
1189
|
<span class="ruby-identifier">new_xf</span> = <span class="ruby-identifier">get_cell_xf</span>.<span class="ruby-identifier">dup</span>
|
|
1114
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>)
|
|
@@ -1122,6 +1198,78 @@ specified</p>
|
|
|
1122
1198
|
|
|
1123
1199
|
|
|
1124
1200
|
|
|
1201
|
+
</div>
|
|
1202
|
+
|
|
1203
|
+
|
|
1204
|
+
<div id="method-i-text_indent" class="method-detail ">
|
|
1205
|
+
|
|
1206
|
+
<div class="method-heading">
|
|
1207
|
+
<span class="method-name">text_indent</span><span
|
|
1208
|
+
class="method-args">()</span>
|
|
1209
|
+
|
|
1210
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
1211
|
+
|
|
1212
|
+
</div>
|
|
1213
|
+
|
|
1214
|
+
|
|
1215
|
+
<div class="method-description">
|
|
1216
|
+
|
|
1217
|
+
|
|
1218
|
+
|
|
1219
|
+
|
|
1220
|
+
|
|
1221
|
+
|
|
1222
|
+
<div class="method-source-code" id="text_indent-source">
|
|
1223
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 962</span>
|
|
1224
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">text_indent</span>()
|
|
1225
|
+
<span class="ruby-identifier">validate_worksheet</span>
|
|
1226
|
+
<span class="ruby-identifier">xf_obj</span> = <span class="ruby-identifier">get_cell_xf</span>
|
|
1227
|
+
<span class="ruby-keyword">return</span> <span class="ruby-keyword">nil</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">xf_obj</span>.<span class="ruby-identifier">alignment</span>.<span class="ruby-identifier">nil?</span>
|
|
1228
|
+
<span class="ruby-identifier">xf_obj</span>.<span class="ruby-identifier">alignment</span>.<span class="ruby-identifier">indent</span>
|
|
1229
|
+
<span class="ruby-keyword">end</span></pre>
|
|
1230
|
+
</div>
|
|
1231
|
+
|
|
1232
|
+
</div>
|
|
1233
|
+
|
|
1234
|
+
|
|
1235
|
+
|
|
1236
|
+
|
|
1237
|
+
</div>
|
|
1238
|
+
|
|
1239
|
+
|
|
1240
|
+
<div id="method-i-text_rotation" class="method-detail ">
|
|
1241
|
+
|
|
1242
|
+
<div class="method-heading">
|
|
1243
|
+
<span class="method-name">text_rotation</span><span
|
|
1244
|
+
class="method-args">()</span>
|
|
1245
|
+
|
|
1246
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
1247
|
+
|
|
1248
|
+
</div>
|
|
1249
|
+
|
|
1250
|
+
|
|
1251
|
+
<div class="method-description">
|
|
1252
|
+
|
|
1253
|
+
|
|
1254
|
+
|
|
1255
|
+
|
|
1256
|
+
|
|
1257
|
+
|
|
1258
|
+
<div class="method-source-code" id="text_rotation-source">
|
|
1259
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 955</span>
|
|
1260
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">text_rotation</span>
|
|
1261
|
+
<span class="ruby-identifier">validate_worksheet</span>
|
|
1262
|
+
<span class="ruby-identifier">xf_obj</span> = <span class="ruby-identifier">get_cell_xf</span>
|
|
1263
|
+
<span class="ruby-keyword">return</span> <span class="ruby-keyword">nil</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">xf_obj</span>.<span class="ruby-identifier">alignment</span>.<span class="ruby-identifier">nil?</span>
|
|
1264
|
+
<span class="ruby-identifier">xf_obj</span>.<span class="ruby-identifier">alignment</span>.<span class="ruby-identifier">text_rotation</span>
|
|
1265
|
+
<span class="ruby-keyword">end</span></pre>
|
|
1266
|
+
</div>
|
|
1267
|
+
|
|
1268
|
+
</div>
|
|
1269
|
+
|
|
1270
|
+
|
|
1271
|
+
|
|
1272
|
+
|
|
1125
1273
|
</div>
|
|
1126
1274
|
|
|
1127
1275
|
|
|
@@ -1144,7 +1292,7 @@ specified</p>
|
|
|
1144
1292
|
|
|
1145
1293
|
|
|
1146
1294
|
<div class="method-source-code" id="text_wrap-source">
|
|
1147
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
1295
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 948</span>
|
|
1148
1296
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">text_wrap</span>()
|
|
1149
1297
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1150
1298
|
<span class="ruby-identifier">xf_obj</span> = <span class="ruby-identifier">get_cell_xf</span>
|
|
@@ -1180,7 +1328,7 @@ specified</p>
|
|
|
1180
1328
|
|
|
1181
1329
|
|
|
1182
1330
|
<div class="method-source-code" id="vertical_alignment-source">
|
|
1183
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
1331
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line 941</span>
|
|
1184
1332
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">vertical_alignment</span>()
|
|
1185
1333
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1186
1334
|
<span class="ruby-identifier">xf_obj</span> = <span class="ruby-identifier">get_cell_xf</span>
|