rubyXL 3.4.14 → 3.4.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.circleci/config.yml +2 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +69 -44
- data/README.rdoc +9 -1
- data/Rakefile +3 -3
- data/VERSION +1 -1
- data/lib/rubyXL/convenience_methods/cell.rb +1 -1
- data/lib/rubyXL/convenience_methods/worksheet.rb +77 -0
- data/lib/rubyXL/objects/chartsheet.rb +1 -1
- data/lib/rubyXL/objects/data_validation.rb +2 -0
- data/lib/rubyXL/objects/external_links.rb +25 -1
- data/lib/rubyXL/objects/ooxml_object.rb +5 -0
- data/lib/rubyXL/objects/relationships.rb +1 -1
- data/lib/rubyXL/objects/sheet_data.rb +2 -1
- data/lib/rubyXL/objects/storage.rb +1 -0
- data/lib/rubyXL/objects/theme.rb +1 -1
- data/lib/rubyXL/objects/workbook.rb +12 -6
- data/lib/rubyXL/objects/worksheet.rb +7 -7
- data/lib/rubyXL/worksheet.rb +1 -1
- data/rdoc/README_rdoc.html +16 -7
- data/rdoc/RubyXL.html +6 -319
- data/rdoc/RubyXL/AExtension.html +9 -49
- data/rdoc/RubyXL/AExtensionStorageArea.html +5 -12
- data/rdoc/RubyXL/ActiveX.html +11 -40
- data/rdoc/RubyXL/ActiveXBinary.html +5 -17
- data/rdoc/RubyXL/AdjustHandleList.html +5 -12
- data/rdoc/RubyXL/Alignment.html +5 -12
- data/rdoc/RubyXL/AlternateContent.html +5 -12
- data/rdoc/RubyXL/Authors.html +5 -12
- data/rdoc/RubyXL/AutoFilter.html +5 -12
- data/rdoc/RubyXL/AutoFilterColumn.html +5 -12
- data/rdoc/RubyXL/BinaryImageFile.html +5 -20
- data/rdoc/RubyXL/BodyProperties.html +5 -12
- data/rdoc/RubyXL/BooleanNode.html +5 -12
- data/rdoc/RubyXL/BooleanValue.html +5 -12
- data/rdoc/RubyXL/Border.html +8 -68
- data/rdoc/RubyXL/BorderEdge.html +8 -42
- data/rdoc/RubyXL/Borders.html +8 -29
- data/rdoc/RubyXL/Break.html +5 -12
- data/rdoc/RubyXL/BreakList.html +5 -12
- data/rdoc/RubyXL/CT_AdjPoint2D.html +5 -12
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +5 -12
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +5 -12
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +5 -12
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +5 -12
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +5 -12
- data/rdoc/RubyXL/CT_Backdrop.html +5 -12
- data/rdoc/RubyXL/CT_Bevel.html +5 -12
- data/rdoc/RubyXL/CT_BiLevelEffect.html +5 -12
- data/rdoc/RubyXL/CT_BlendEffect.html +5 -12
- data/rdoc/RubyXL/CT_Blip.html +5 -12
- data/rdoc/RubyXL/CT_BlipFillProperties.html +5 -12
- data/rdoc/RubyXL/CT_BlurEffect.html +5 -12
- data/rdoc/RubyXL/CT_Camera.html +5 -12
- data/rdoc/RubyXL/CT_Color.html +5 -12
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +5 -12
- data/rdoc/RubyXL/CT_ColorMapping.html +5 -12
- data/rdoc/RubyXL/CT_ColorScheme.html +5 -12
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +5 -12
- data/rdoc/RubyXL/CT_ConnectionSite.html +5 -12
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +5 -12
- data/rdoc/RubyXL/CT_DashStop.html +5 -12
- data/rdoc/RubyXL/CT_DashStopList.html +5 -12
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +5 -12
- data/rdoc/RubyXL/CT_DuotoneEffect.html +5 -12
- data/rdoc/RubyXL/CT_EffectContainer.html +5 -12
- data/rdoc/RubyXL/CT_EffectList.html +5 -12
- data/rdoc/RubyXL/CT_EffectReference.html +5 -12
- data/rdoc/RubyXL/CT_EffectStyleItem.html +5 -12
- data/rdoc/RubyXL/CT_EffectStyleList.html +5 -12
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +5 -12
- data/rdoc/RubyXL/CT_FillEffect.html +5 -12
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +5 -12
- data/rdoc/RubyXL/CT_FillStyleList.html +5 -12
- data/rdoc/RubyXL/CT_FlatText.html +5 -12
- data/rdoc/RubyXL/CT_FontCollection.html +5 -12
- data/rdoc/RubyXL/CT_FontReference.html +5 -12
- data/rdoc/RubyXL/CT_GeomGuideList.html +5 -12
- data/rdoc/RubyXL/CT_GlowEffect.html +5 -12
- data/rdoc/RubyXL/CT_GradientFillProperties.html +5 -12
- data/rdoc/RubyXL/CT_GradientStop.html +5 -12
- data/rdoc/RubyXL/CT_GradientStopList.html +5 -12
- data/rdoc/RubyXL/CT_HSLEffect.html +5 -12
- data/rdoc/RubyXL/CT_HslColor.html +5 -12
- data/rdoc/RubyXL/CT_Hyperlink.html +5 -12
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +5 -12
- data/rdoc/RubyXL/CT_LightRig.html +5 -12
- data/rdoc/RubyXL/CT_LineEndProperties.html +5 -12
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +5 -12
- data/rdoc/RubyXL/CT_LineProperties.html +5 -12
- data/rdoc/RubyXL/CT_LineStyleList.html +5 -12
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +5 -12
- data/rdoc/RubyXL/CT_LuminanceEffect.html +5 -12
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +5 -12
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +5 -12
- data/rdoc/RubyXL/CT_Path2D.html +5 -12
- data/rdoc/RubyXL/CT_Path2DArcTo.html +5 -12
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +5 -12
- data/rdoc/RubyXL/CT_Path2DList.html +5 -12
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +5 -12
- data/rdoc/RubyXL/CT_Path2DTo.html +5 -12
- data/rdoc/RubyXL/CT_PathShadeProperties.html +5 -12
- data/rdoc/RubyXL/CT_PatternFillProperties.html +5 -12
- data/rdoc/RubyXL/CT_Point3D.html +5 -12
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +5 -12
- data/rdoc/RubyXL/CT_PresetColor.html +5 -12
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +5 -12
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +5 -12
- data/rdoc/RubyXL/CT_PresetTextShape.html +5 -12
- data/rdoc/RubyXL/CT_ReflectionEffect.html +5 -12
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +5 -12
- data/rdoc/RubyXL/CT_RelativeRect.html +5 -12
- data/rdoc/RubyXL/CT_SRgbColor.html +5 -12
- data/rdoc/RubyXL/CT_ScRgbColor.html +5 -12
- data/rdoc/RubyXL/CT_Scene3D.html +5 -12
- data/rdoc/RubyXL/CT_SchemeColor.html +5 -12
- data/rdoc/RubyXL/CT_Shape3D.html +5 -12
- data/rdoc/RubyXL/CT_ShapeStyle.html +5 -12
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +5 -12
- data/rdoc/RubyXL/CT_SphereCoords.html +5 -12
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +5 -12
- data/rdoc/RubyXL/CT_StyleMatrix.html +5 -12
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +5 -12
- data/rdoc/RubyXL/CT_SupplementalFont.html +5 -12
- data/rdoc/RubyXL/CT_SystemColor.html +5 -12
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +5 -12
- data/rdoc/RubyXL/CT_TextBlipBullet.html +5 -12
- data/rdoc/RubyXL/CT_TextCharBullet.html +5 -12
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +5 -12
- data/rdoc/RubyXL/CT_TextFont.html +5 -12
- data/rdoc/RubyXL/CT_TextListStyle.html +5 -12
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +5 -12
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +5 -12
- data/rdoc/RubyXL/CT_TextSpacing.html +5 -12
- data/rdoc/RubyXL/CT_TextTabStop.html +5 -12
- data/rdoc/RubyXL/CT_TextTabStopList.html +5 -12
- data/rdoc/RubyXL/CT_TileInfoProperties.html +5 -12
- data/rdoc/RubyXL/CT_TintEffect.html +5 -12
- data/rdoc/RubyXL/CT_Transform2D.html +5 -12
- data/rdoc/RubyXL/CT_TransformEffect.html +5 -12
- data/rdoc/RubyXL/CT_Vector3D.html +5 -12
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +5 -12
- data/rdoc/RubyXL/CalculationChain.html +8 -37
- data/rdoc/RubyXL/CalculationChainCell.html +5 -12
- data/rdoc/RubyXL/CalculationProperties.html +5 -12
- data/rdoc/RubyXL/Cell.html +13 -215
- data/rdoc/RubyXL/CellConvenienceMethods.html +6 -455
- data/rdoc/RubyXL/CellExt.html +5 -12
- data/rdoc/RubyXL/CellSmartTag.html +5 -12
- data/rdoc/RubyXL/CellSmartTagProperty.html +5 -12
- data/rdoc/RubyXL/CellSmartTags.html +5 -12
- data/rdoc/RubyXL/CellStyle.html +5 -12
- data/rdoc/RubyXL/CellStyleXFs.html +8 -29
- data/rdoc/RubyXL/CellStyles.html +8 -29
- data/rdoc/RubyXL/CellValue.html +8 -29
- data/rdoc/RubyXL/CellWatch.html +5 -12
- data/rdoc/RubyXL/CellWatches.html +5 -12
- data/rdoc/RubyXL/CellXFs.html +8 -29
- data/rdoc/RubyXL/ChartColorsFile.html +5 -20
- data/rdoc/RubyXL/ChartFile.html +10 -42
- data/rdoc/RubyXL/ChartStyleFile.html +5 -20
- data/rdoc/RubyXL/ChartUserShapesFile.html +5 -20
- data/rdoc/RubyXL/Chartsheet.html +10 -59
- data/rdoc/RubyXL/ChartsheetPageSetup.html +5 -12
- data/rdoc/RubyXL/ChartsheetProperties.html +5 -12
- data/rdoc/RubyXL/ChartsheetProtection.html +5 -12
- data/rdoc/RubyXL/ChartsheetView.html +5 -12
- data/rdoc/RubyXL/ChartsheetViews.html +5 -12
- data/rdoc/RubyXL/Color.html +8 -34
- data/rdoc/RubyXL/ColorConvenienceClasses.html +3 -9
- data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +8 -56
- data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +9 -71
- data/rdoc/RubyXL/ColorConvenienceMethods.html +6 -26
- data/rdoc/RubyXL/ColorFilter.html +5 -12
- data/rdoc/RubyXL/ColorScale.html +5 -12
- data/rdoc/RubyXL/ColorSet.html +5 -12
- data/rdoc/RubyXL/Colors.html +5 -12
- data/rdoc/RubyXL/ColumnRange.html +8 -60
- data/rdoc/RubyXL/ColumnRanges.html +8 -68
- data/rdoc/RubyXL/Comment.html +5 -12
- data/rdoc/RubyXL/CommentList.html +5 -12
- data/rdoc/RubyXL/CommentsFile.html +8 -42
- data/rdoc/RubyXL/ConditionalFormatValue.html +5 -12
- data/rdoc/RubyXL/ConditionalFormatting.html +5 -12
- data/rdoc/RubyXL/ConditionalFormattingRule.html +5 -12
- data/rdoc/RubyXL/Connection.html +5 -12
- data/rdoc/RubyXL/ConnectionTable.html +5 -12
- data/rdoc/RubyXL/ConnectionTables.html +5 -12
- data/rdoc/RubyXL/ConnectionTextField.html +5 -12
- data/rdoc/RubyXL/ConnectionTextFields.html +5 -12
- data/rdoc/RubyXL/Connections.html +8 -37
- data/rdoc/RubyXL/ContentTypeDefault.html +5 -12
- data/rdoc/RubyXL/ContentTypeOverride.html +5 -12
- data/rdoc/RubyXL/ContentTypes.html +8 -50
- data/rdoc/RubyXL/ControlPropertiesFile.html +7 -17
- data/rdoc/RubyXL/CorePropertiesFile.html +8 -146
- data/rdoc/RubyXL/CustomColor.html +5 -12
- data/rdoc/RubyXL/CustomColorList.html +5 -12
- data/rdoc/RubyXL/CustomFilter.html +5 -12
- data/rdoc/RubyXL/CustomFilters.html +5 -12
- data/rdoc/RubyXL/CustomGeometry.html +5 -12
- data/rdoc/RubyXL/CustomProperties.html +5 -12
- data/rdoc/RubyXL/CustomPropertiesFile.html +5 -20
- data/rdoc/RubyXL/CustomProperty.html +5 -12
- data/rdoc/RubyXL/CustomPropertyFile.html +5 -20
- data/rdoc/RubyXL/CustomSheetView.html +5 -12
- data/rdoc/RubyXL/CustomSheetViews.html +5 -12
- data/rdoc/RubyXL/CustomWorkbookView.html +5 -12
- data/rdoc/RubyXL/CustomWorkbookViews.html +5 -12
- data/rdoc/RubyXL/CustomXMLFile.html +5 -17
- data/rdoc/RubyXL/DXF.html +5 -12
- data/rdoc/RubyXL/DXFs.html +5 -12
- data/rdoc/RubyXL/DataBar.html +5 -12
- data/rdoc/RubyXL/DataConsolidate.html +5 -12
- data/rdoc/RubyXL/DataConsolidationReference.html +5 -12
- data/rdoc/RubyXL/DataConsolidationReferences.html +5 -12
- data/rdoc/RubyXL/DataType.html +3 -32
- data/rdoc/RubyXL/DataValidation.html +5 -12
- data/rdoc/RubyXL/DataValidations.html +5 -12
- data/rdoc/RubyXL/DateGroupItem.html +5 -12
- data/rdoc/RubyXL/DefinedName.html +5 -12
- data/rdoc/RubyXL/DefinedNameExt.html +5 -12
- data/rdoc/RubyXL/DefinedNames.html +5 -12
- data/rdoc/RubyXL/DefinedNamesExt.html +5 -12
- data/rdoc/RubyXL/DocumentPropertiesFile.html +8 -55
- data/rdoc/RubyXL/DrawingFile.html +10 -42
- data/rdoc/RubyXL/DynamicFilter.html +5 -12
- data/rdoc/RubyXL/EmbeddedControl.html +5 -12
- data/rdoc/RubyXL/EmbeddedControls.html +5 -12
- data/rdoc/RubyXL/Extension.html +5 -12
- data/rdoc/RubyXL/ExtensionStorageArea.html +5 -12
- data/rdoc/RubyXL/Extents.html +5 -12
- data/rdoc/RubyXL/ExternalBook.html +5 -12
- data/rdoc/RubyXL/ExternalLinksFile.html +11 -43
- data/rdoc/RubyXL/ExternalReference.html +5 -12
- data/rdoc/RubyXL/ExternalReferences.html +5 -12
- data/rdoc/RubyXL/ExtraColorSchemeList.html +5 -12
- data/rdoc/RubyXL/FieldItem.html +5 -12
- data/rdoc/RubyXL/FileRecoveryProperties.html +5 -12
- data/rdoc/RubyXL/FileSharing.html +5 -12
- data/rdoc/RubyXL/FileVersion.html +5 -12
- data/rdoc/RubyXL/Fill.html +8 -29
- data/rdoc/RubyXL/Fills.html +8 -29
- data/rdoc/RubyXL/FilterContainer.html +5 -12
- data/rdoc/RubyXL/FloatNode.html +5 -12
- data/rdoc/RubyXL/FloatValue.html +5 -12
- data/rdoc/RubyXL/Font.html +8 -34
- data/rdoc/RubyXL/FontConvenienceMethods.html +6 -195
- data/rdoc/RubyXL/FontScheme.html +5 -12
- data/rdoc/RubyXL/Fonts.html +8 -29
- data/rdoc/RubyXL/Formula.html +5 -12
- data/rdoc/RubyXL/FunctionGroup.html +5 -12
- data/rdoc/RubyXL/FunctionGroups.html +5 -12
- data/rdoc/RubyXL/GenericStorageObject.html +9 -73
- data/rdoc/RubyXL/GradientFill.html +5 -12
- data/rdoc/RubyXL/HeaderFooterSettings.html +5 -12
- data/rdoc/RubyXL/Hyperlink.html +5 -12
- data/rdoc/RubyXL/HyperlinkRelFile.html +5 -17
- data/rdoc/RubyXL/Hyperlinks.html +5 -12
- data/rdoc/RubyXL/IconFilter.html +5 -12
- data/rdoc/RubyXL/IconSet.html +5 -12
- data/rdoc/RubyXL/IgnoredError.html +5 -12
- data/rdoc/RubyXL/IgnoredErrors.html +5 -12
- data/rdoc/RubyXL/IndexedColors.html +5 -12
- data/rdoc/RubyXL/InputCells.html +5 -12
- data/rdoc/RubyXL/IntegerNode.html +5 -12
- data/rdoc/RubyXL/IntegerValue.html +5 -12
- data/rdoc/RubyXL/LegacyCell.html +6 -26
- data/rdoc/RubyXL/LegacyWorksheet.html +10 -87
- data/rdoc/RubyXL/MRUColors.html +5 -12
- data/rdoc/RubyXL/MacrosFile.html +5 -20
- data/rdoc/RubyXL/MergedCell.html +5 -12
- data/rdoc/RubyXL/MergedCells.html +5 -12
- data/rdoc/RubyXL/NumFmt.html +5 -12
- data/rdoc/RubyXL/NumberFormat.html +8 -29
- data/rdoc/RubyXL/NumberFormats.html +8 -34
- data/rdoc/RubyXL/OLEObject.html +5 -12
- data/rdoc/RubyXL/OLEObjectFile.html +5 -20
- data/rdoc/RubyXL/OLEObjects.html +5 -12
- data/rdoc/RubyXL/OLESize.html +5 -12
- data/rdoc/RubyXL/OOXMLContainerObject.html +19 -114
- data/rdoc/RubyXL/OOXMLIgnored.html +9 -44
- data/rdoc/RubyXL/OOXMLObject.html +7 -17
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +31 -81
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +18 -139
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +10 -167
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +14 -101
- data/rdoc/RubyXL/OdbcOleDbProperties.html +5 -12
- data/rdoc/RubyXL/Offset.html +5 -12
- data/rdoc/RubyXL/OlapProperties.html +5 -12
- data/rdoc/RubyXL/OleItem.html +99 -0
- data/rdoc/RubyXL/OleItems.html +99 -0
- data/rdoc/RubyXL/OleLink.html +99 -0
- data/rdoc/RubyXL/OutlineProperties.html +5 -12
- data/rdoc/RubyXL/PageMargins.html +5 -12
- data/rdoc/RubyXL/PageSetup.html +5 -12
- data/rdoc/RubyXL/PageSetupProperties.html +5 -12
- data/rdoc/RubyXL/Pane.html +5 -12
- data/rdoc/RubyXL/Parser.html +8 -42
- data/rdoc/RubyXL/PatternFill.html +5 -12
- data/rdoc/RubyXL/PhoneticProperties.html +5 -12
- data/rdoc/RubyXL/PhoneticRun.html +5 -12
- data/rdoc/RubyXL/PivotArea.html +5 -12
- data/rdoc/RubyXL/PivotCache.html +5 -12
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +7 -25
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +5 -20
- data/rdoc/RubyXL/PivotCaches.html +5 -12
- data/rdoc/RubyXL/PivotReference.html +5 -12
- data/rdoc/RubyXL/PivotReferences.html +5 -12
- data/rdoc/RubyXL/PivotTableFile.html +7 -25
- data/rdoc/RubyXL/PivotTableSelection.html +5 -12
- data/rdoc/RubyXL/PresetGeometry.html +5 -12
- data/rdoc/RubyXL/PrintOptions.html +5 -12
- data/rdoc/RubyXL/PrinterSettingsFile.html +5 -20
- data/rdoc/RubyXL/ProtectedRange.html +5 -12
- data/rdoc/RubyXL/ProtectedRanges.html +5 -12
- data/rdoc/RubyXL/Protection.html +5 -12
- data/rdoc/RubyXL/QueryParameter.html +5 -12
- data/rdoc/RubyXL/QueryParameters.html +5 -12
- data/rdoc/RubyXL/QueryTable.html +10 -42
- data/rdoc/RubyXL/QueryTableDeletedField.html +5 -12
- data/rdoc/RubyXL/QueryTableDeletedFields.html +5 -12
- data/rdoc/RubyXL/QueryTableField.html +5 -12
- data/rdoc/RubyXL/QueryTableFields.html +5 -12
- data/rdoc/RubyXL/QueryTableRefresh.html +5 -12
- data/rdoc/RubyXL/RID.html +5 -12
- data/rdoc/RubyXL/RawOOXML.html +9 -49
- data/rdoc/RubyXL/Reference.html +9 -190
- data/rdoc/RubyXL/Relationship.html +5 -12
- data/rdoc/RubyXL/RelationshipSupport.html +9 -106
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +6 -26
- data/rdoc/RubyXL/RevisionPointer.html +5 -12
- data/rdoc/RubyXL/RichText.html +8 -29
- data/rdoc/RubyXL/RichTextRun.html +8 -29
- data/rdoc/RubyXL/Row.html +17 -152
- data/rdoc/RubyXL/RowExt.html +5 -12
- data/rdoc/RubyXL/RunProperties.html +5 -12
- data/rdoc/RubyXL/Scenario.html +5 -12
- data/rdoc/RubyXL/Scenarios.html +5 -12
- data/rdoc/RubyXL/Selection.html +8 -29
- data/rdoc/RubyXL/ShapeGuide.html +5 -12
- data/rdoc/RubyXL/ShapeTextRectangle.html +5 -12
- data/rdoc/RubyXL/SharedStringsTable.html +9 -119
- data/rdoc/RubyXL/Sheet.html +5 -12
- data/rdoc/RubyXL/SheetCalculationProperties.html +5 -12
- data/rdoc/RubyXL/SheetData.html +10 -44
- data/rdoc/RubyXL/SheetDataExt.html +5 -12
- data/rdoc/RubyXL/SheetDataSet.html +5 -12
- data/rdoc/RubyXL/SheetName.html +5 -12
- data/rdoc/RubyXL/SheetNames.html +5 -12
- data/rdoc/RubyXL/Sheets.html +5 -12
- data/rdoc/RubyXL/SlicerCacheFile.html +5 -20
- data/rdoc/RubyXL/SlicerFile.html +5 -20
- data/rdoc/RubyXL/SmartTagProperties.html +5 -12
- data/rdoc/RubyXL/SmartTagType.html +5 -12
- data/rdoc/RubyXL/SmartTagTypes.html +5 -12
- data/rdoc/RubyXL/SmartTags.html +5 -12
- data/rdoc/RubyXL/SortCondition.html +5 -12
- data/rdoc/RubyXL/SortState.html +5 -12
- data/rdoc/RubyXL/Sqref.html +9 -44
- data/rdoc/RubyXL/Stop.html +5 -12
- data/rdoc/RubyXL/StringNode.html +5 -12
- data/rdoc/RubyXL/StringNodeW3C.html +9 -44
- data/rdoc/RubyXL/StringValue.html +5 -12
- data/rdoc/RubyXL/Stylesheet.html +9 -92
- data/rdoc/RubyXL/TableFile.html +5 -20
- data/rdoc/RubyXL/TableParts.html +5 -12
- data/rdoc/RubyXL/TableStyle.html +5 -12
- data/rdoc/RubyXL/TableStyles.html +5 -12
- data/rdoc/RubyXL/Text.html +8 -50
- data/rdoc/RubyXL/TextImportSettings.html +5 -12
- data/rdoc/RubyXL/Theme.html +9 -65
- data/rdoc/RubyXL/ThemeElements.html +5 -12
- data/rdoc/RubyXL/ThumbnailFile.html +5 -20
- data/rdoc/RubyXL/Top10.html +5 -12
- data/rdoc/RubyXL/VMLDrawingFile.html +7 -25
- data/rdoc/RubyXL/Variant.html +5 -12
- data/rdoc/RubyXL/Vector.html +8 -29
- data/rdoc/RubyXL/VectorValue.html +5 -12
- data/rdoc/RubyXL/VisualProperties.html +5 -12
- data/rdoc/RubyXL/WebPublishObject.html +5 -12
- data/rdoc/RubyXL/WebPublishObjects.html +5 -12
- data/rdoc/RubyXL/WebPublishingItem.html +5 -12
- data/rdoc/RubyXL/WebPublishingItems.html +5 -12
- data/rdoc/RubyXL/WebPublishingProperties.html +5 -12
- data/rdoc/RubyXL/WebQueryProperties.html +5 -12
- data/rdoc/RubyXL/Workbook.html +40 -460
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +6 -221
- data/rdoc/RubyXL/WorkbookProperties.html +5 -12
- data/rdoc/RubyXL/WorkbookProtection.html +5 -12
- data/rdoc/RubyXL/WorkbookRoot.html +11 -99
- data/rdoc/RubyXL/WorkbookView.html +5 -12
- data/rdoc/RubyXL/WorkbookViews.html +5 -12
- data/rdoc/RubyXL/Worksheet.html +11 -130
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +166 -985
- data/rdoc/RubyXL/WorksheetDimensions.html +5 -12
- data/rdoc/RubyXL/WorksheetFormatProperties.html +5 -12
- data/rdoc/RubyXL/WorksheetProperties.html +5 -12
- data/rdoc/RubyXL/WorksheetProtection.html +5 -12
- data/rdoc/RubyXL/WorksheetView.html +5 -12
- data/rdoc/RubyXL/WorksheetViews.html +5 -12
- data/rdoc/RubyXL/XF.html +5 -12
- data/rdoc/created.rid +19 -19
- data/rdoc/css/rdoc.css +21 -1
- data/rdoc/index.html +8 -388
- 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 +23 -5
- data/rubyXL.gemspec +21 -28
- data/spec/lib/cell_spec.rb +27 -2
- data/spec/lib/worksheet_spec.rb +301 -0
- metadata +7 -5
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>module RubyXL::CellConvenienceMethods - rubyXL 3.4.
|
|
7
|
+
<title>module RubyXL::CellConvenienceMethods - rubyXL 3.4.18</title>
|
|
8
8
|
|
|
9
9
|
<script type="text/javascript">
|
|
10
10
|
var rdoc_rel_prefix = "../";
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
<link href="../css/rdoc.css" rel="stylesheet">
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
|
|
25
24
|
<body id="top" role="document" class="module">
|
|
26
25
|
<nav role="navigation">
|
|
27
26
|
<div id="project-navigation">
|
|
@@ -61,80 +60,46 @@
|
|
|
61
60
|
|
|
62
61
|
|
|
63
62
|
|
|
64
|
-
|
|
63
|
+
|
|
64
|
+
<!-- Method Quickref -->
|
|
65
65
|
<div id="method-list-section" class="nav-section">
|
|
66
66
|
<h3>Methods</h3>
|
|
67
67
|
|
|
68
68
|
<ul class="link-list" role="directory">
|
|
69
|
-
|
|
70
69
|
<li ><a href="#method-i-change_border">#change_border</a>
|
|
71
|
-
|
|
72
70
|
<li ><a href="#method-i-change_border_color">#change_border_color</a>
|
|
73
|
-
|
|
74
71
|
<li ><a href="#method-i-change_contents">#change_contents</a>
|
|
75
|
-
|
|
76
72
|
<li ><a href="#method-i-change_fill">#change_fill</a>
|
|
77
|
-
|
|
78
73
|
<li ><a href="#method-i-change_font_bold">#change_font_bold</a>
|
|
79
|
-
|
|
80
74
|
<li ><a href="#method-i-change_font_color">#change_font_color</a>
|
|
81
|
-
|
|
82
75
|
<li ><a href="#method-i-change_font_italics">#change_font_italics</a>
|
|
83
|
-
|
|
84
76
|
<li ><a href="#method-i-change_font_name">#change_font_name</a>
|
|
85
|
-
|
|
86
77
|
<li ><a href="#method-i-change_font_size">#change_font_size</a>
|
|
87
|
-
|
|
88
78
|
<li ><a href="#method-i-change_font_strikethrough">#change_font_strikethrough</a>
|
|
89
|
-
|
|
90
79
|
<li ><a href="#method-i-change_font_underline">#change_font_underline</a>
|
|
91
|
-
|
|
92
80
|
<li ><a href="#method-i-change_horizontal_alignment">#change_horizontal_alignment</a>
|
|
93
|
-
|
|
94
81
|
<li ><a href="#method-i-change_text_indent">#change_text_indent</a>
|
|
95
|
-
|
|
96
82
|
<li ><a href="#method-i-change_text_rotation">#change_text_rotation</a>
|
|
97
|
-
|
|
98
83
|
<li ><a href="#method-i-change_text_wrap">#change_text_wrap</a>
|
|
99
|
-
|
|
100
84
|
<li ><a href="#method-i-change_vertical_alignment">#change_vertical_alignment</a>
|
|
101
|
-
|
|
102
85
|
<li ><a href="#method-i-fill_color">#fill_color</a>
|
|
103
|
-
|
|
104
86
|
<li ><a href="#method-i-font_color">#font_color</a>
|
|
105
|
-
|
|
106
87
|
<li ><a href="#method-i-font_name">#font_name</a>
|
|
107
|
-
|
|
108
88
|
<li ><a href="#method-i-font_size">#font_size</a>
|
|
109
|
-
|
|
110
89
|
<li ><a href="#method-i-font_switch">#font_switch</a>
|
|
111
|
-
|
|
112
90
|
<li ><a href="#method-i-get_border">#get_border</a>
|
|
113
|
-
|
|
114
91
|
<li ><a href="#method-i-get_border_color">#get_border_color</a>
|
|
115
|
-
|
|
116
92
|
<li ><a href="#method-i-horizontal_alignment">#horizontal_alignment</a>
|
|
117
|
-
|
|
118
93
|
<li ><a href="#method-i-is_bolded">#is_bolded</a>
|
|
119
|
-
|
|
120
94
|
<li ><a href="#method-i-is_italicized">#is_italicized</a>
|
|
121
|
-
|
|
122
95
|
<li ><a href="#method-i-is_struckthrough">#is_struckthrough</a>
|
|
123
|
-
|
|
124
96
|
<li ><a href="#method-i-is_underlined">#is_underlined</a>
|
|
125
|
-
|
|
126
97
|
<li ><a href="#method-i-remove_formula">#remove_formula</a>
|
|
127
|
-
|
|
128
98
|
<li ><a href="#method-i-set_number_format">#set_number_format</a>
|
|
129
|
-
|
|
130
99
|
<li ><a href="#method-i-text_indent">#text_indent</a>
|
|
131
|
-
|
|
132
100
|
<li ><a href="#method-i-text_rotation">#text_rotation</a>
|
|
133
|
-
|
|
134
101
|
<li ><a href="#method-i-text_wrap">#text_wrap</a>
|
|
135
|
-
|
|
136
102
|
<li ><a href="#method-i-vertical_alignment">#vertical_alignment</a>
|
|
137
|
-
|
|
138
103
|
</ul>
|
|
139
104
|
</div>
|
|
140
105
|
|
|
@@ -150,41 +115,27 @@
|
|
|
150
115
|
|
|
151
116
|
</section>
|
|
152
117
|
|
|
153
|
-
|
|
154
118
|
<section id="5Buntitled-5D" class="documentation-section">
|
|
155
|
-
|
|
156
119
|
|
|
157
|
-
|
|
158
120
|
|
|
159
|
-
|
|
160
121
|
|
|
161
|
-
|
|
162
122
|
|
|
163
|
-
|
|
123
|
+
|
|
164
124
|
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
|
165
125
|
<header>
|
|
166
126
|
<h3>Public Instance Methods</h3>
|
|
167
127
|
</header>
|
|
168
128
|
|
|
169
|
-
|
|
170
129
|
<div id="method-i-change_border" class="method-detail ">
|
|
171
|
-
|
|
172
130
|
<div class="method-heading">
|
|
173
131
|
<span class="method-name">change_border</span><span
|
|
174
132
|
class="method-args">(direction, weight)</span>
|
|
175
|
-
|
|
176
133
|
<span class="method-click-advice">click to toggle source</span>
|
|
177
|
-
|
|
178
134
|
</div>
|
|
179
|
-
|
|
180
135
|
|
|
181
136
|
<div class="method-description">
|
|
182
137
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
138
|
|
|
187
|
-
|
|
188
139
|
<div class="method-source-code" id="change_border-source">
|
|
189
140
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 67</span>
|
|
190
141
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_border</span>(<span class="ruby-identifier">direction</span>, <span class="ruby-identifier">weight</span>)
|
|
@@ -192,33 +143,21 @@
|
|
|
192
143
|
<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>)
|
|
193
144
|
<span class="ruby-keyword">end</span></pre>
|
|
194
145
|
</div>
|
|
195
|
-
|
|
196
146
|
</div>
|
|
197
147
|
|
|
198
|
-
|
|
199
148
|
|
|
200
|
-
|
|
201
149
|
</div>
|
|
202
150
|
|
|
203
|
-
|
|
204
151
|
<div id="method-i-change_border_color" class="method-detail ">
|
|
205
|
-
|
|
206
152
|
<div class="method-heading">
|
|
207
153
|
<span class="method-name">change_border_color</span><span
|
|
208
154
|
class="method-args">(direction, color)</span>
|
|
209
|
-
|
|
210
155
|
<span class="method-click-advice">click to toggle source</span>
|
|
211
|
-
|
|
212
156
|
</div>
|
|
213
|
-
|
|
214
157
|
|
|
215
158
|
<div class="method-description">
|
|
216
159
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
160
|
|
|
221
|
-
|
|
222
161
|
<div class="method-source-code" id="change_border_color-source">
|
|
223
162
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 72</span>
|
|
224
163
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_border_color</span>(<span class="ruby-identifier">direction</span>, <span class="ruby-identifier">color</span>)
|
|
@@ -227,33 +166,21 @@
|
|
|
227
166
|
<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_color</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">style_index</span>, <span class="ruby-identifier">direction</span>, <span class="ruby-identifier">color</span>)
|
|
228
167
|
<span class="ruby-keyword">end</span></pre>
|
|
229
168
|
</div>
|
|
230
|
-
|
|
231
169
|
</div>
|
|
232
170
|
|
|
233
|
-
|
|
234
171
|
|
|
235
|
-
|
|
236
172
|
</div>
|
|
237
173
|
|
|
238
|
-
|
|
239
174
|
<div id="method-i-change_contents" class="method-detail ">
|
|
240
|
-
|
|
241
175
|
<div class="method-heading">
|
|
242
176
|
<span class="method-name">change_contents</span><span
|
|
243
177
|
class="method-args">(data, formula_expression = nil)</span>
|
|
244
|
-
|
|
245
178
|
<span class="method-click-advice">click to toggle source</span>
|
|
246
|
-
|
|
247
179
|
</div>
|
|
248
|
-
|
|
249
180
|
|
|
250
181
|
<div class="method-description">
|
|
251
182
|
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
183
|
|
|
256
|
-
|
|
257
184
|
<div class="method-source-code" id="change_contents-source">
|
|
258
185
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 4</span>
|
|
259
186
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_contents</span>(<span class="ruby-identifier">data</span>, <span class="ruby-identifier">formula_expression</span> = <span class="ruby-keyword">nil</span>)
|
|
@@ -274,33 +201,21 @@
|
|
|
274
201
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">raw_value</span> = <span class="ruby-identifier">data</span>
|
|
275
202
|
<span class="ruby-keyword">end</span></pre>
|
|
276
203
|
</div>
|
|
277
|
-
|
|
278
204
|
</div>
|
|
279
205
|
|
|
280
|
-
|
|
281
206
|
|
|
282
|
-
|
|
283
207
|
</div>
|
|
284
208
|
|
|
285
|
-
|
|
286
209
|
<div id="method-i-change_fill" class="method-detail ">
|
|
287
|
-
|
|
288
210
|
<div class="method-heading">
|
|
289
211
|
<span class="method-name">change_fill</span><span
|
|
290
212
|
class="method-args">(rgb = 'ffffff')</span>
|
|
291
|
-
|
|
292
213
|
<span class="method-click-advice">click to toggle source</span>
|
|
293
|
-
|
|
294
214
|
</div>
|
|
295
|
-
|
|
296
215
|
|
|
297
216
|
<div class="method-description">
|
|
298
|
-
|
|
299
217
|
<p>Changes fill color of cell</p>
|
|
300
|
-
|
|
301
|
-
|
|
302
218
|
|
|
303
|
-
|
|
304
219
|
<div class="method-source-code" id="change_fill-source">
|
|
305
220
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 161</span>
|
|
306
221
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_fill</span>(<span class="ruby-identifier">rgb</span> = <span class="ruby-string">'ffffff'</span>)
|
|
@@ -309,33 +224,21 @@
|
|
|
309
224
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">style_index</span> = <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">modify_fill</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">style_index</span>, <span class="ruby-identifier">rgb</span>)
|
|
310
225
|
<span class="ruby-keyword">end</span></pre>
|
|
311
226
|
</div>
|
|
312
|
-
|
|
313
227
|
</div>
|
|
314
228
|
|
|
315
|
-
|
|
316
229
|
|
|
317
|
-
|
|
318
230
|
</div>
|
|
319
231
|
|
|
320
|
-
|
|
321
232
|
<div id="method-i-change_font_bold" class="method-detail ">
|
|
322
|
-
|
|
323
233
|
<div class="method-heading">
|
|
324
234
|
<span class="method-name">change_font_bold</span><span
|
|
325
235
|
class="method-args">(bolded = false)</span>
|
|
326
|
-
|
|
327
236
|
<span class="method-click-advice">click to toggle source</span>
|
|
328
|
-
|
|
329
237
|
</div>
|
|
330
|
-
|
|
331
238
|
|
|
332
239
|
<div class="method-description">
|
|
333
|
-
|
|
334
240
|
<p>Changes font bold settings of cell</p>
|
|
335
|
-
|
|
336
|
-
|
|
337
241
|
|
|
338
|
-
|
|
339
242
|
<div class="method-source-code" id="change_font_bold-source">
|
|
340
243
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 206</span>
|
|
341
244
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_font_bold</span>(<span class="ruby-identifier">bolded</span> = <span class="ruby-keyword">false</span>)
|
|
@@ -346,33 +249,21 @@
|
|
|
346
249
|
<span class="ruby-identifier">update_font_references</span>(<span class="ruby-identifier">font</span>)
|
|
347
250
|
<span class="ruby-keyword">end</span></pre>
|
|
348
251
|
</div>
|
|
349
|
-
|
|
350
252
|
</div>
|
|
351
253
|
|
|
352
|
-
|
|
353
254
|
|
|
354
|
-
|
|
355
255
|
</div>
|
|
356
256
|
|
|
357
|
-
|
|
358
257
|
<div id="method-i-change_font_color" class="method-detail ">
|
|
359
|
-
|
|
360
258
|
<div class="method-heading">
|
|
361
259
|
<span class="method-name">change_font_color</span><span
|
|
362
260
|
class="method-args">(font_color = '000000')</span>
|
|
363
|
-
|
|
364
261
|
<span class="method-click-advice">click to toggle source</span>
|
|
365
|
-
|
|
366
262
|
</div>
|
|
367
|
-
|
|
368
263
|
|
|
369
264
|
<div class="method-description">
|
|
370
|
-
|
|
371
265
|
<p>Changes font color of cell</p>
|
|
372
|
-
|
|
373
|
-
|
|
374
266
|
|
|
375
|
-
|
|
376
267
|
<div class="method-source-code" id="change_font_color-source">
|
|
377
268
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 187</span>
|
|
378
269
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_font_color</span>(<span class="ruby-identifier">font_color</span> = <span class="ruby-string">'000000'</span>)
|
|
@@ -384,33 +275,21 @@
|
|
|
384
275
|
<span class="ruby-identifier">update_font_references</span>(<span class="ruby-identifier">font</span>)
|
|
385
276
|
<span class="ruby-keyword">end</span></pre>
|
|
386
277
|
</div>
|
|
387
|
-
|
|
388
278
|
</div>
|
|
389
279
|
|
|
390
|
-
|
|
391
280
|
|
|
392
|
-
|
|
393
281
|
</div>
|
|
394
282
|
|
|
395
|
-
|
|
396
283
|
<div id="method-i-change_font_italics" class="method-detail ">
|
|
397
|
-
|
|
398
284
|
<div class="method-heading">
|
|
399
285
|
<span class="method-name">change_font_italics</span><span
|
|
400
286
|
class="method-args">(italicized = false)</span>
|
|
401
|
-
|
|
402
287
|
<span class="method-click-advice">click to toggle source</span>
|
|
403
|
-
|
|
404
288
|
</div>
|
|
405
|
-
|
|
406
289
|
|
|
407
290
|
<div class="method-description">
|
|
408
|
-
|
|
409
291
|
<p>Changes font italics settings of cell</p>
|
|
410
|
-
|
|
411
|
-
|
|
412
292
|
|
|
413
|
-
|
|
414
293
|
<div class="method-source-code" id="change_font_italics-source">
|
|
415
294
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 197</span>
|
|
416
295
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_font_italics</span>(<span class="ruby-identifier">italicized</span> = <span class="ruby-keyword">false</span>)
|
|
@@ -421,33 +300,21 @@
|
|
|
421
300
|
<span class="ruby-identifier">update_font_references</span>(<span class="ruby-identifier">font</span>)
|
|
422
301
|
<span class="ruby-keyword">end</span></pre>
|
|
423
302
|
</div>
|
|
424
|
-
|
|
425
303
|
</div>
|
|
426
304
|
|
|
427
|
-
|
|
428
305
|
|
|
429
|
-
|
|
430
306
|
</div>
|
|
431
307
|
|
|
432
|
-
|
|
433
308
|
<div id="method-i-change_font_name" class="method-detail ">
|
|
434
|
-
|
|
435
309
|
<div class="method-heading">
|
|
436
310
|
<span class="method-name">change_font_name</span><span
|
|
437
311
|
class="method-args">(new_font_name = 'Verdana')</span>
|
|
438
|
-
|
|
439
312
|
<span class="method-click-advice">click to toggle source</span>
|
|
440
|
-
|
|
441
313
|
</div>
|
|
442
|
-
|
|
443
314
|
|
|
444
315
|
<div class="method-description">
|
|
445
|
-
|
|
446
316
|
<p>Changes font name of cell</p>
|
|
447
|
-
|
|
448
|
-
|
|
449
317
|
|
|
450
|
-
|
|
451
318
|
<div class="method-source-code" id="change_font_name-source">
|
|
452
319
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 168</span>
|
|
453
320
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_font_name</span>(<span class="ruby-identifier">new_font_name</span> = <span class="ruby-string">'Verdana'</span>)
|
|
@@ -458,33 +325,21 @@
|
|
|
458
325
|
<span class="ruby-identifier">update_font_references</span>(<span class="ruby-identifier">font</span>)
|
|
459
326
|
<span class="ruby-keyword">end</span></pre>
|
|
460
327
|
</div>
|
|
461
|
-
|
|
462
328
|
</div>
|
|
463
329
|
|
|
464
|
-
|
|
465
330
|
|
|
466
|
-
|
|
467
331
|
</div>
|
|
468
332
|
|
|
469
|
-
|
|
470
333
|
<div id="method-i-change_font_size" class="method-detail ">
|
|
471
|
-
|
|
472
334
|
<div class="method-heading">
|
|
473
335
|
<span class="method-name">change_font_size</span><span
|
|
474
336
|
class="method-args">(font_size = 10)</span>
|
|
475
|
-
|
|
476
337
|
<span class="method-click-advice">click to toggle source</span>
|
|
477
|
-
|
|
478
338
|
</div>
|
|
479
|
-
|
|
480
339
|
|
|
481
340
|
<div class="method-description">
|
|
482
|
-
|
|
483
341
|
<p>Changes font size of cell</p>
|
|
484
|
-
|
|
485
|
-
|
|
486
342
|
|
|
487
|
-
|
|
488
343
|
<div class="method-source-code" id="change_font_size-source">
|
|
489
344
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 177</span>
|
|
490
345
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_font_size</span>(<span class="ruby-identifier">font_size</span> = <span class="ruby-value">10</span>)
|
|
@@ -496,33 +351,21 @@
|
|
|
496
351
|
<span class="ruby-identifier">update_font_references</span>(<span class="ruby-identifier">font</span>)
|
|
497
352
|
<span class="ruby-keyword">end</span></pre>
|
|
498
353
|
</div>
|
|
499
|
-
|
|
500
354
|
</div>
|
|
501
355
|
|
|
502
|
-
|
|
503
356
|
|
|
504
|
-
|
|
505
357
|
</div>
|
|
506
358
|
|
|
507
|
-
|
|
508
359
|
<div id="method-i-change_font_strikethrough" class="method-detail ">
|
|
509
|
-
|
|
510
360
|
<div class="method-heading">
|
|
511
361
|
<span class="method-name">change_font_strikethrough</span><span
|
|
512
362
|
class="method-args">(struckthrough = false)</span>
|
|
513
|
-
|
|
514
363
|
<span class="method-click-advice">click to toggle source</span>
|
|
515
|
-
|
|
516
364
|
</div>
|
|
517
|
-
|
|
518
365
|
|
|
519
366
|
<div class="method-description">
|
|
520
367
|
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
368
|
|
|
525
|
-
|
|
526
369
|
<div class="method-source-code" id="change_font_strikethrough-source">
|
|
527
370
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 223</span>
|
|
528
371
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_font_strikethrough</span>(<span class="ruby-identifier">struckthrough</span> = <span class="ruby-keyword">false</span>)
|
|
@@ -533,33 +376,21 @@
|
|
|
533
376
|
<span class="ruby-identifier">update_font_references</span>(<span class="ruby-identifier">font</span>)
|
|
534
377
|
<span class="ruby-keyword">end</span></pre>
|
|
535
378
|
</div>
|
|
536
|
-
|
|
537
379
|
</div>
|
|
538
380
|
|
|
539
|
-
|
|
540
381
|
|
|
541
|
-
|
|
542
382
|
</div>
|
|
543
383
|
|
|
544
|
-
|
|
545
384
|
<div id="method-i-change_font_underline" class="method-detail ">
|
|
546
|
-
|
|
547
385
|
<div class="method-heading">
|
|
548
386
|
<span class="method-name">change_font_underline</span><span
|
|
549
387
|
class="method-args">(underlined = false)</span>
|
|
550
|
-
|
|
551
388
|
<span class="method-click-advice">click to toggle source</span>
|
|
552
|
-
|
|
553
389
|
</div>
|
|
554
|
-
|
|
555
390
|
|
|
556
391
|
<div class="method-description">
|
|
557
|
-
|
|
558
392
|
<p>Changes font underline settings of cell</p>
|
|
559
|
-
|
|
560
|
-
|
|
561
393
|
|
|
562
|
-
|
|
563
394
|
<div class="method-source-code" id="change_font_underline-source">
|
|
564
395
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 215</span>
|
|
565
396
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_font_underline</span>(<span class="ruby-identifier">underlined</span> = <span class="ruby-keyword">false</span>)
|
|
@@ -570,33 +401,21 @@
|
|
|
570
401
|
<span class="ruby-identifier">update_font_references</span>(<span class="ruby-identifier">font</span>)
|
|
571
402
|
<span class="ruby-keyword">end</span></pre>
|
|
572
403
|
</div>
|
|
573
|
-
|
|
574
404
|
</div>
|
|
575
405
|
|
|
576
|
-
|
|
577
406
|
|
|
578
|
-
|
|
579
407
|
</div>
|
|
580
408
|
|
|
581
|
-
|
|
582
409
|
<div id="method-i-change_horizontal_alignment" class="method-detail ">
|
|
583
|
-
|
|
584
410
|
<div class="method-heading">
|
|
585
411
|
<span class="method-name">change_horizontal_alignment</span><span
|
|
586
412
|
class="method-args">(alignment = 'center')</span>
|
|
587
|
-
|
|
588
413
|
<span class="method-click-advice">click to toggle source</span>
|
|
589
|
-
|
|
590
414
|
</div>
|
|
591
|
-
|
|
592
415
|
|
|
593
416
|
<div class="method-description">
|
|
594
417
|
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
418
|
|
|
599
|
-
|
|
600
419
|
<div class="method-source-code" id="change_horizontal_alignment-source">
|
|
601
420
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 42</span>
|
|
602
421
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_horizontal_alignment</span>(<span class="ruby-identifier">alignment</span> = <span class="ruby-string">'center'</span>)
|
|
@@ -604,33 +423,21 @@
|
|
|
604
423
|
<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> }
|
|
605
424
|
<span class="ruby-keyword">end</span></pre>
|
|
606
425
|
</div>
|
|
607
|
-
|
|
608
426
|
</div>
|
|
609
427
|
|
|
610
|
-
|
|
611
428
|
|
|
612
|
-
|
|
613
429
|
</div>
|
|
614
430
|
|
|
615
|
-
|
|
616
431
|
<div id="method-i-change_text_indent" class="method-detail ">
|
|
617
|
-
|
|
618
432
|
<div class="method-heading">
|
|
619
433
|
<span class="method-name">change_text_indent</span><span
|
|
620
434
|
class="method-args">(indent)</span>
|
|
621
|
-
|
|
622
435
|
<span class="method-click-advice">click to toggle source</span>
|
|
623
|
-
|
|
624
436
|
</div>
|
|
625
|
-
|
|
626
437
|
|
|
627
438
|
<div class="method-description">
|
|
628
439
|
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
440
|
|
|
633
|
-
|
|
634
441
|
<div class="method-source-code" id="change_text_indent-source">
|
|
635
442
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 62</span>
|
|
636
443
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_text_indent</span>(<span class="ruby-identifier">indent</span>)
|
|
@@ -638,33 +445,21 @@
|
|
|
638
445
|
<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> }
|
|
639
446
|
<span class="ruby-keyword">end</span></pre>
|
|
640
447
|
</div>
|
|
641
|
-
|
|
642
448
|
</div>
|
|
643
449
|
|
|
644
|
-
|
|
645
450
|
|
|
646
|
-
|
|
647
451
|
</div>
|
|
648
452
|
|
|
649
|
-
|
|
650
453
|
<div id="method-i-change_text_rotation" class="method-detail ">
|
|
651
|
-
|
|
652
454
|
<div class="method-heading">
|
|
653
455
|
<span class="method-name">change_text_rotation</span><span
|
|
654
456
|
class="method-args">(rot)</span>
|
|
655
|
-
|
|
656
457
|
<span class="method-click-advice">click to toggle source</span>
|
|
657
|
-
|
|
658
458
|
</div>
|
|
659
|
-
|
|
660
459
|
|
|
661
460
|
<div class="method-description">
|
|
662
461
|
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
462
|
|
|
667
|
-
|
|
668
463
|
<div class="method-source-code" id="change_text_rotation-source">
|
|
669
464
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 57</span>
|
|
670
465
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_text_rotation</span>(<span class="ruby-identifier">rot</span>)
|
|
@@ -672,33 +467,21 @@
|
|
|
672
467
|
<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> }
|
|
673
468
|
<span class="ruby-keyword">end</span></pre>
|
|
674
469
|
</div>
|
|
675
|
-
|
|
676
470
|
</div>
|
|
677
471
|
|
|
678
|
-
|
|
679
472
|
|
|
680
|
-
|
|
681
473
|
</div>
|
|
682
474
|
|
|
683
|
-
|
|
684
475
|
<div id="method-i-change_text_wrap" class="method-detail ">
|
|
685
|
-
|
|
686
476
|
<div class="method-heading">
|
|
687
477
|
<span class="method-name">change_text_wrap</span><span
|
|
688
478
|
class="method-args">(wrap = false)</span>
|
|
689
|
-
|
|
690
479
|
<span class="method-click-advice">click to toggle source</span>
|
|
691
|
-
|
|
692
480
|
</div>
|
|
693
|
-
|
|
694
481
|
|
|
695
482
|
<div class="method-description">
|
|
696
483
|
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
484
|
|
|
701
|
-
|
|
702
485
|
<div class="method-source-code" id="change_text_wrap-source">
|
|
703
486
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 52</span>
|
|
704
487
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_text_wrap</span>(<span class="ruby-identifier">wrap</span> = <span class="ruby-keyword">false</span>)
|
|
@@ -706,33 +489,21 @@
|
|
|
706
489
|
<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> }
|
|
707
490
|
<span class="ruby-keyword">end</span></pre>
|
|
708
491
|
</div>
|
|
709
|
-
|
|
710
492
|
</div>
|
|
711
493
|
|
|
712
|
-
|
|
713
494
|
|
|
714
|
-
|
|
715
495
|
</div>
|
|
716
496
|
|
|
717
|
-
|
|
718
497
|
<div id="method-i-change_vertical_alignment" class="method-detail ">
|
|
719
|
-
|
|
720
498
|
<div class="method-heading">
|
|
721
499
|
<span class="method-name">change_vertical_alignment</span><span
|
|
722
500
|
class="method-args">(alignment = 'center')</span>
|
|
723
|
-
|
|
724
501
|
<span class="method-click-advice">click to toggle source</span>
|
|
725
|
-
|
|
726
502
|
</div>
|
|
727
|
-
|
|
728
503
|
|
|
729
504
|
<div class="method-description">
|
|
730
505
|
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
506
|
|
|
735
|
-
|
|
736
507
|
<div class="method-source-code" id="change_vertical_alignment-source">
|
|
737
508
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 47</span>
|
|
738
509
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">change_vertical_alignment</span>(<span class="ruby-identifier">alignment</span> = <span class="ruby-string">'center'</span>)
|
|
@@ -740,33 +511,21 @@
|
|
|
740
511
|
<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> }
|
|
741
512
|
<span class="ruby-keyword">end</span></pre>
|
|
742
513
|
</div>
|
|
743
|
-
|
|
744
514
|
</div>
|
|
745
515
|
|
|
746
|
-
|
|
747
516
|
|
|
748
|
-
|
|
749
517
|
</div>
|
|
750
518
|
|
|
751
|
-
|
|
752
519
|
<div id="method-i-fill_color" class="method-detail ">
|
|
753
|
-
|
|
754
520
|
<div class="method-heading">
|
|
755
521
|
<span class="method-name">fill_color</span><span
|
|
756
522
|
class="method-args">()</span>
|
|
757
|
-
|
|
758
523
|
<span class="method-click-advice">click to toggle source</span>
|
|
759
|
-
|
|
760
524
|
</div>
|
|
761
|
-
|
|
762
525
|
|
|
763
526
|
<div class="method-description">
|
|
764
527
|
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
528
|
|
|
769
|
-
|
|
770
529
|
<div class="method-source-code" id="fill_color-source">
|
|
771
530
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 113</span>
|
|
772
531
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">fill_color</span>()
|
|
@@ -774,33 +533,21 @@
|
|
|
774
533
|
<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>)
|
|
775
534
|
<span class="ruby-keyword">end</span></pre>
|
|
776
535
|
</div>
|
|
777
|
-
|
|
778
536
|
</div>
|
|
779
537
|
|
|
780
|
-
|
|
781
538
|
|
|
782
|
-
|
|
783
539
|
</div>
|
|
784
540
|
|
|
785
|
-
|
|
786
541
|
<div id="method-i-font_color" class="method-detail ">
|
|
787
|
-
|
|
788
542
|
<div class="method-heading">
|
|
789
543
|
<span class="method-name">font_color</span><span
|
|
790
544
|
class="method-args">()</span>
|
|
791
|
-
|
|
792
545
|
<span class="method-click-advice">click to toggle source</span>
|
|
793
|
-
|
|
794
546
|
</div>
|
|
795
|
-
|
|
796
547
|
|
|
797
548
|
<div class="method-description">
|
|
798
549
|
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
550
|
|
|
803
|
-
|
|
804
551
|
<div class="method-source-code" id="font_color-source">
|
|
805
552
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 108</span>
|
|
806
553
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">font_color</span>()
|
|
@@ -808,33 +555,21 @@
|
|
|
808
555
|
<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>
|
|
809
556
|
<span class="ruby-keyword">end</span></pre>
|
|
810
557
|
</div>
|
|
811
|
-
|
|
812
558
|
</div>
|
|
813
559
|
|
|
814
|
-
|
|
815
560
|
|
|
816
|
-
|
|
817
561
|
</div>
|
|
818
562
|
|
|
819
|
-
|
|
820
563
|
<div id="method-i-font_name" class="method-detail ">
|
|
821
|
-
|
|
822
564
|
<div class="method-heading">
|
|
823
565
|
<span class="method-name">font_name</span><span
|
|
824
566
|
class="method-args">()</span>
|
|
825
|
-
|
|
826
567
|
<span class="method-click-advice">click to toggle source</span>
|
|
827
|
-
|
|
828
568
|
</div>
|
|
829
|
-
|
|
830
569
|
|
|
831
570
|
<div class="method-description">
|
|
832
571
|
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
572
|
|
|
837
|
-
|
|
838
573
|
<div class="method-source-code" id="font_name-source">
|
|
839
574
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 98</span>
|
|
840
575
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">font_name</span>()
|
|
@@ -842,33 +577,21 @@
|
|
|
842
577
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">get_name</span>
|
|
843
578
|
<span class="ruby-keyword">end</span></pre>
|
|
844
579
|
</div>
|
|
845
|
-
|
|
846
580
|
</div>
|
|
847
581
|
|
|
848
|
-
|
|
849
582
|
|
|
850
|
-
|
|
851
583
|
</div>
|
|
852
584
|
|
|
853
|
-
|
|
854
585
|
<div id="method-i-font_size" class="method-detail ">
|
|
855
|
-
|
|
856
586
|
<div class="method-heading">
|
|
857
587
|
<span class="method-name">font_size</span><span
|
|
858
588
|
class="method-args">()</span>
|
|
859
|
-
|
|
860
589
|
<span class="method-click-advice">click to toggle source</span>
|
|
861
|
-
|
|
862
590
|
</div>
|
|
863
|
-
|
|
864
591
|
|
|
865
592
|
<div class="method-description">
|
|
866
593
|
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
594
|
|
|
871
|
-
|
|
872
595
|
<div class="method-source-code" id="font_size-source">
|
|
873
596
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 103</span>
|
|
874
597
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">font_size</span>()
|
|
@@ -876,33 +599,21 @@
|
|
|
876
599
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">get_size</span>
|
|
877
600
|
<span class="ruby-keyword">end</span></pre>
|
|
878
601
|
</div>
|
|
879
|
-
|
|
880
602
|
</div>
|
|
881
603
|
|
|
882
|
-
|
|
883
604
|
|
|
884
|
-
|
|
885
605
|
</div>
|
|
886
606
|
|
|
887
|
-
|
|
888
607
|
<div id="method-i-font_switch" class="method-detail ">
|
|
889
|
-
|
|
890
608
|
<div class="method-heading">
|
|
891
609
|
<span class="method-name">font_switch</span><span
|
|
892
610
|
class="method-args">(change_type, arg)</span>
|
|
893
|
-
|
|
894
611
|
<span class="method-click-advice">click to toggle source</span>
|
|
895
|
-
|
|
896
612
|
</div>
|
|
897
|
-
|
|
898
613
|
|
|
899
614
|
<div class="method-description">
|
|
900
|
-
|
|
901
615
|
<p>Performs correct modification based on what type of change_type is specified</p>
|
|
902
|
-
|
|
903
|
-
|
|
904
616
|
|
|
905
|
-
|
|
906
617
|
<div class="method-source-code" id="font_switch-source">
|
|
907
618
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 239</span>
|
|
908
619
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">font_switch</span>(<span class="ruby-identifier">change_type</span>, <span class="ruby-identifier">arg</span>)
|
|
@@ -918,33 +629,21 @@
|
|
|
918
629
|
<span class="ruby-keyword">end</span>
|
|
919
630
|
<span class="ruby-keyword">end</span></pre>
|
|
920
631
|
</div>
|
|
921
|
-
|
|
922
632
|
</div>
|
|
923
633
|
|
|
924
|
-
|
|
925
634
|
|
|
926
|
-
|
|
927
635
|
</div>
|
|
928
636
|
|
|
929
|
-
|
|
930
637
|
<div id="method-i-get_border" class="method-detail ">
|
|
931
|
-
|
|
932
638
|
<div class="method-heading">
|
|
933
639
|
<span class="method-name">get_border</span><span
|
|
934
640
|
class="method-args">(direction)</span>
|
|
935
|
-
|
|
936
641
|
<span class="method-click-advice">click to toggle source</span>
|
|
937
|
-
|
|
938
642
|
</div>
|
|
939
|
-
|
|
940
643
|
|
|
941
644
|
<div class="method-description">
|
|
942
645
|
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
646
|
|
|
947
|
-
|
|
948
647
|
<div class="method-source-code" id="get_border-source">
|
|
949
648
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 32</span>
|
|
950
649
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_border</span>(<span class="ruby-identifier">direction</span>)
|
|
@@ -952,33 +651,21 @@
|
|
|
952
651
|
<span class="ruby-identifier">get_cell_border</span>.<span class="ruby-identifier">get_edge_style</span>(<span class="ruby-identifier">direction</span>)
|
|
953
652
|
<span class="ruby-keyword">end</span></pre>
|
|
954
653
|
</div>
|
|
955
|
-
|
|
956
654
|
</div>
|
|
957
655
|
|
|
958
|
-
|
|
959
656
|
|
|
960
|
-
|
|
961
657
|
</div>
|
|
962
658
|
|
|
963
|
-
|
|
964
659
|
<div id="method-i-get_border_color" class="method-detail ">
|
|
965
|
-
|
|
966
660
|
<div class="method-heading">
|
|
967
661
|
<span class="method-name">get_border_color</span><span
|
|
968
662
|
class="method-args">(direction)</span>
|
|
969
|
-
|
|
970
663
|
<span class="method-click-advice">click to toggle source</span>
|
|
971
|
-
|
|
972
664
|
</div>
|
|
973
|
-
|
|
974
665
|
|
|
975
666
|
<div class="method-description">
|
|
976
667
|
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
668
|
|
|
981
|
-
|
|
982
669
|
<div class="method-source-code" id="get_border_color-source">
|
|
983
670
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 37</span>
|
|
984
671
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_border_color</span>(<span class="ruby-identifier">direction</span>)
|
|
@@ -986,33 +673,21 @@
|
|
|
986
673
|
<span class="ruby-identifier">get_cell_border</span>.<span class="ruby-identifier">get_edge_color</span>(<span class="ruby-identifier">direction</span>)
|
|
987
674
|
<span class="ruby-keyword">end</span></pre>
|
|
988
675
|
</div>
|
|
989
|
-
|
|
990
676
|
</div>
|
|
991
677
|
|
|
992
|
-
|
|
993
678
|
|
|
994
|
-
|
|
995
679
|
</div>
|
|
996
680
|
|
|
997
|
-
|
|
998
681
|
<div id="method-i-horizontal_alignment" class="method-detail ">
|
|
999
|
-
|
|
1000
682
|
<div class="method-heading">
|
|
1001
683
|
<span class="method-name">horizontal_alignment</span><span
|
|
1002
684
|
class="method-args">()</span>
|
|
1003
|
-
|
|
1004
685
|
<span class="method-click-advice">click to toggle source</span>
|
|
1005
|
-
|
|
1006
686
|
</div>
|
|
1007
|
-
|
|
1008
687
|
|
|
1009
688
|
<div class="method-description">
|
|
1010
689
|
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
690
|
|
|
1015
|
-
|
|
1016
691
|
<div class="method-source-code" id="horizontal_alignment-source">
|
|
1017
692
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 118</span>
|
|
1018
693
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">horizontal_alignment</span>()
|
|
@@ -1022,33 +697,21 @@
|
|
|
1022
697
|
<span class="ruby-identifier">xf_obj</span>.<span class="ruby-identifier">alignment</span>.<span class="ruby-identifier">horizontal</span>
|
|
1023
698
|
<span class="ruby-keyword">end</span></pre>
|
|
1024
699
|
</div>
|
|
1025
|
-
|
|
1026
700
|
</div>
|
|
1027
701
|
|
|
1028
|
-
|
|
1029
702
|
|
|
1030
|
-
|
|
1031
703
|
</div>
|
|
1032
704
|
|
|
1033
|
-
|
|
1034
705
|
<div id="method-i-is_bolded" class="method-detail ">
|
|
1035
|
-
|
|
1036
706
|
<div class="method-heading">
|
|
1037
707
|
<span class="method-name">is_bolded</span><span
|
|
1038
708
|
class="method-args">()</span>
|
|
1039
|
-
|
|
1040
709
|
<span class="method-click-advice">click to toggle source</span>
|
|
1041
|
-
|
|
1042
710
|
</div>
|
|
1043
|
-
|
|
1044
711
|
|
|
1045
712
|
<div class="method-description">
|
|
1046
713
|
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
714
|
|
|
1051
|
-
|
|
1052
715
|
<div class="method-source-code" id="is_bolded-source">
|
|
1053
716
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 83</span>
|
|
1054
717
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">is_bolded</span>()
|
|
@@ -1056,33 +719,21 @@
|
|
|
1056
719
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_bold</span>
|
|
1057
720
|
<span class="ruby-keyword">end</span></pre>
|
|
1058
721
|
</div>
|
|
1059
|
-
|
|
1060
722
|
</div>
|
|
1061
723
|
|
|
1062
|
-
|
|
1063
724
|
|
|
1064
|
-
|
|
1065
725
|
</div>
|
|
1066
726
|
|
|
1067
|
-
|
|
1068
727
|
<div id="method-i-is_italicized" class="method-detail ">
|
|
1069
|
-
|
|
1070
728
|
<div class="method-heading">
|
|
1071
729
|
<span class="method-name">is_italicized</span><span
|
|
1072
730
|
class="method-args">()</span>
|
|
1073
|
-
|
|
1074
731
|
<span class="method-click-advice">click to toggle source</span>
|
|
1075
|
-
|
|
1076
732
|
</div>
|
|
1077
|
-
|
|
1078
733
|
|
|
1079
734
|
<div class="method-description">
|
|
1080
735
|
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
736
|
|
|
1085
|
-
|
|
1086
737
|
<div class="method-source-code" id="is_italicized-source">
|
|
1087
738
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 78</span>
|
|
1088
739
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">is_italicized</span>()
|
|
@@ -1090,33 +741,21 @@
|
|
|
1090
741
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_italic</span>
|
|
1091
742
|
<span class="ruby-keyword">end</span></pre>
|
|
1092
743
|
</div>
|
|
1093
|
-
|
|
1094
744
|
</div>
|
|
1095
745
|
|
|
1096
|
-
|
|
1097
746
|
|
|
1098
|
-
|
|
1099
747
|
</div>
|
|
1100
748
|
|
|
1101
|
-
|
|
1102
749
|
<div id="method-i-is_struckthrough" class="method-detail ">
|
|
1103
|
-
|
|
1104
750
|
<div class="method-heading">
|
|
1105
751
|
<span class="method-name">is_struckthrough</span><span
|
|
1106
752
|
class="method-args">()</span>
|
|
1107
|
-
|
|
1108
753
|
<span class="method-click-advice">click to toggle source</span>
|
|
1109
|
-
|
|
1110
754
|
</div>
|
|
1111
|
-
|
|
1112
755
|
|
|
1113
756
|
<div class="method-description">
|
|
1114
757
|
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
758
|
|
|
1119
|
-
|
|
1120
759
|
<div class="method-source-code" id="is_struckthrough-source">
|
|
1121
760
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 93</span>
|
|
1122
761
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">is_struckthrough</span>()
|
|
@@ -1124,33 +763,21 @@
|
|
|
1124
763
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_strikethrough</span>
|
|
1125
764
|
<span class="ruby-keyword">end</span></pre>
|
|
1126
765
|
</div>
|
|
1127
|
-
|
|
1128
766
|
</div>
|
|
1129
767
|
|
|
1130
|
-
|
|
1131
768
|
|
|
1132
|
-
|
|
1133
769
|
</div>
|
|
1134
770
|
|
|
1135
|
-
|
|
1136
771
|
<div id="method-i-is_underlined" class="method-detail ">
|
|
1137
|
-
|
|
1138
772
|
<div class="method-heading">
|
|
1139
773
|
<span class="method-name">is_underlined</span><span
|
|
1140
774
|
class="method-args">()</span>
|
|
1141
|
-
|
|
1142
775
|
<span class="method-click-advice">click to toggle source</span>
|
|
1143
|
-
|
|
1144
776
|
</div>
|
|
1145
|
-
|
|
1146
777
|
|
|
1147
778
|
<div class="method-description">
|
|
1148
779
|
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
780
|
|
|
1153
|
-
|
|
1154
781
|
<div class="method-source-code" id="is_underlined-source">
|
|
1155
782
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 88</span>
|
|
1156
783
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">is_underlined</span>()
|
|
@@ -1158,33 +785,21 @@
|
|
|
1158
785
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_underlined</span>
|
|
1159
786
|
<span class="ruby-keyword">end</span></pre>
|
|
1160
787
|
</div>
|
|
1161
|
-
|
|
1162
788
|
</div>
|
|
1163
789
|
|
|
1164
|
-
|
|
1165
790
|
|
|
1166
|
-
|
|
1167
791
|
</div>
|
|
1168
792
|
|
|
1169
|
-
|
|
1170
793
|
<div id="method-i-remove_formula" class="method-detail ">
|
|
1171
|
-
|
|
1172
794
|
<div class="method-heading">
|
|
1173
795
|
<span class="method-name">remove_formula</span><span
|
|
1174
796
|
class="method-args">()</span>
|
|
1175
|
-
|
|
1176
797
|
<span class="method-click-advice">click to toggle source</span>
|
|
1177
|
-
|
|
1178
798
|
</div>
|
|
1179
|
-
|
|
1180
799
|
|
|
1181
800
|
<div class="method-description">
|
|
1182
801
|
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
802
|
|
|
1187
|
-
|
|
1188
803
|
<div class="method-source-code" id="remove_formula-source">
|
|
1189
804
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 22</span>
|
|
1190
805
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">remove_formula</span>
|
|
@@ -1197,33 +812,21 @@
|
|
|
1197
812
|
}
|
|
1198
813
|
<span class="ruby-keyword">end</span></pre>
|
|
1199
814
|
</div>
|
|
1200
|
-
|
|
1201
815
|
</div>
|
|
1202
816
|
|
|
1203
|
-
|
|
1204
817
|
|
|
1205
|
-
|
|
1206
818
|
</div>
|
|
1207
819
|
|
|
1208
|
-
|
|
1209
820
|
<div id="method-i-set_number_format" class="method-detail ">
|
|
1210
|
-
|
|
1211
821
|
<div class="method-heading">
|
|
1212
822
|
<span class="method-name">set_number_format</span><span
|
|
1213
823
|
class="method-args">(format_code)</span>
|
|
1214
|
-
|
|
1215
824
|
<span class="method-click-advice">click to toggle source</span>
|
|
1216
|
-
|
|
1217
825
|
</div>
|
|
1218
|
-
|
|
1219
826
|
|
|
1220
827
|
<div class="method-description">
|
|
1221
828
|
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
829
|
|
|
1226
|
-
|
|
1227
830
|
<div class="method-source-code" id="set_number_format-source">
|
|
1228
831
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 153</span>
|
|
1229
832
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">set_number_format</span>(<span class="ruby-identifier">format_code</span>)
|
|
@@ -1233,33 +836,21 @@
|
|
|
1233
836
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">style_index</span> = <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">register_new_xf</span>(<span class="ruby-identifier">new_xf</span>)
|
|
1234
837
|
<span class="ruby-keyword">end</span></pre>
|
|
1235
838
|
</div>
|
|
1236
|
-
|
|
1237
839
|
</div>
|
|
1238
840
|
|
|
1239
|
-
|
|
1240
841
|
|
|
1241
|
-
|
|
1242
842
|
</div>
|
|
1243
843
|
|
|
1244
|
-
|
|
1245
844
|
<div id="method-i-text_indent" class="method-detail ">
|
|
1246
|
-
|
|
1247
845
|
<div class="method-heading">
|
|
1248
846
|
<span class="method-name">text_indent</span><span
|
|
1249
847
|
class="method-args">()</span>
|
|
1250
|
-
|
|
1251
848
|
<span class="method-click-advice">click to toggle source</span>
|
|
1252
|
-
|
|
1253
849
|
</div>
|
|
1254
|
-
|
|
1255
850
|
|
|
1256
851
|
<div class="method-description">
|
|
1257
852
|
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
853
|
|
|
1262
|
-
|
|
1263
854
|
<div class="method-source-code" id="text_indent-source">
|
|
1264
855
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 146</span>
|
|
1265
856
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">text_indent</span>()
|
|
@@ -1269,33 +860,21 @@
|
|
|
1269
860
|
<span class="ruby-identifier">xf_obj</span>.<span class="ruby-identifier">alignment</span>.<span class="ruby-identifier">indent</span>
|
|
1270
861
|
<span class="ruby-keyword">end</span></pre>
|
|
1271
862
|
</div>
|
|
1272
|
-
|
|
1273
863
|
</div>
|
|
1274
864
|
|
|
1275
|
-
|
|
1276
865
|
|
|
1277
|
-
|
|
1278
866
|
</div>
|
|
1279
867
|
|
|
1280
|
-
|
|
1281
868
|
<div id="method-i-text_rotation" class="method-detail ">
|
|
1282
|
-
|
|
1283
869
|
<div class="method-heading">
|
|
1284
870
|
<span class="method-name">text_rotation</span><span
|
|
1285
871
|
class="method-args">()</span>
|
|
1286
|
-
|
|
1287
872
|
<span class="method-click-advice">click to toggle source</span>
|
|
1288
|
-
|
|
1289
873
|
</div>
|
|
1290
|
-
|
|
1291
874
|
|
|
1292
875
|
<div class="method-description">
|
|
1293
876
|
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
877
|
|
|
1298
|
-
|
|
1299
878
|
<div class="method-source-code" id="text_rotation-source">
|
|
1300
879
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 139</span>
|
|
1301
880
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">text_rotation</span>
|
|
@@ -1305,33 +884,21 @@
|
|
|
1305
884
|
<span class="ruby-identifier">xf_obj</span>.<span class="ruby-identifier">alignment</span>.<span class="ruby-identifier">text_rotation</span>
|
|
1306
885
|
<span class="ruby-keyword">end</span></pre>
|
|
1307
886
|
</div>
|
|
1308
|
-
|
|
1309
887
|
</div>
|
|
1310
888
|
|
|
1311
|
-
|
|
1312
889
|
|
|
1313
|
-
|
|
1314
890
|
</div>
|
|
1315
891
|
|
|
1316
|
-
|
|
1317
892
|
<div id="method-i-text_wrap" class="method-detail ">
|
|
1318
|
-
|
|
1319
893
|
<div class="method-heading">
|
|
1320
894
|
<span class="method-name">text_wrap</span><span
|
|
1321
895
|
class="method-args">()</span>
|
|
1322
|
-
|
|
1323
896
|
<span class="method-click-advice">click to toggle source</span>
|
|
1324
|
-
|
|
1325
897
|
</div>
|
|
1326
|
-
|
|
1327
898
|
|
|
1328
899
|
<div class="method-description">
|
|
1329
900
|
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
901
|
|
|
1334
|
-
|
|
1335
902
|
<div class="method-source-code" id="text_wrap-source">
|
|
1336
903
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 132</span>
|
|
1337
904
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">text_wrap</span>()
|
|
@@ -1341,33 +908,21 @@
|
|
|
1341
908
|
<span class="ruby-identifier">xf_obj</span>.<span class="ruby-identifier">alignment</span>.<span class="ruby-identifier">wrap_text</span>
|
|
1342
909
|
<span class="ruby-keyword">end</span></pre>
|
|
1343
910
|
</div>
|
|
1344
|
-
|
|
1345
911
|
</div>
|
|
1346
912
|
|
|
1347
|
-
|
|
1348
913
|
|
|
1349
|
-
|
|
1350
914
|
</div>
|
|
1351
915
|
|
|
1352
|
-
|
|
1353
916
|
<div id="method-i-vertical_alignment" class="method-detail ">
|
|
1354
|
-
|
|
1355
917
|
<div class="method-heading">
|
|
1356
918
|
<span class="method-name">vertical_alignment</span><span
|
|
1357
919
|
class="method-args">()</span>
|
|
1358
|
-
|
|
1359
920
|
<span class="method-click-advice">click to toggle source</span>
|
|
1360
|
-
|
|
1361
921
|
</div>
|
|
1362
|
-
|
|
1363
922
|
|
|
1364
923
|
<div class="method-description">
|
|
1365
924
|
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
925
|
|
|
1370
|
-
|
|
1371
926
|
<div class="method-source-code" id="vertical_alignment-source">
|
|
1372
927
|
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/cell.rb, line 125</span>
|
|
1373
928
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">vertical_alignment</span>()
|
|
@@ -1377,24 +932,20 @@
|
|
|
1377
932
|
<span class="ruby-identifier">xf_obj</span>.<span class="ruby-identifier">alignment</span>.<span class="ruby-identifier">vertical</span>
|
|
1378
933
|
<span class="ruby-keyword">end</span></pre>
|
|
1379
934
|
</div>
|
|
1380
|
-
|
|
1381
935
|
</div>
|
|
1382
936
|
|
|
1383
|
-
|
|
1384
937
|
|
|
1385
|
-
|
|
1386
938
|
</div>
|
|
1387
939
|
|
|
1388
|
-
|
|
1389
940
|
</section>
|
|
1390
|
-
|
|
941
|
+
|
|
1391
942
|
</section>
|
|
1392
943
|
</main>
|
|
1393
944
|
|
|
1394
945
|
|
|
1395
946
|
<footer id="validator-badges" role="contentinfo">
|
|
1396
947
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
1397
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.
|
|
948
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
|
|
1398
949
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
1399
950
|
</footer>
|
|
1400
951
|
|