rubyXL 2.5.2 → 2.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/Gemfile.lock +13 -11
- data/README.rdoc +3 -0
- data/VERSION +1 -1
- data/lib/rubyXL/cell.rb +29 -26
- data/lib/rubyXL/objects/data_validation.rb +0 -1
- data/lib/rubyXL/objects/workbook.rb +2 -1
- data/lib/rubyXL/objects/worksheet.rb +1 -1
- data/lib/rubyXL/worksheet.rb +3 -7
- data/rdoc/README_rdoc.html +6 -1
- data/rdoc/RubyXL.html +1 -1
- data/rdoc/RubyXL/AExtension.html +1 -1
- data/rdoc/RubyXL/AExtensionStorageArea.html +1 -1
- data/rdoc/RubyXL/AdjustHandleList.html +1 -1
- data/rdoc/RubyXL/Alignment.html +1 -1
- data/rdoc/RubyXL/AlternateContent.html +1 -1
- data/rdoc/RubyXL/AutoFilter.html +1 -1
- data/rdoc/RubyXL/AutoFilterColumn.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/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/Chartsheet.html +1 -1
- data/rdoc/RubyXL/ChartsheetPageSetup.html +1 -1
- data/rdoc/RubyXL/ChartsheetProperties.html +1 -1
- data/rdoc/RubyXL/ChartsheetProtection.html +1 -1
- data/rdoc/RubyXL/ChartsheetView.html +1 -1
- data/rdoc/RubyXL/ChartsheetViews.html +1 -1
- data/rdoc/RubyXL/Color.html +1 -1
- data/rdoc/RubyXL/ColorFilter.html +1 -1
- data/rdoc/RubyXL/ColorScale.html +1 -1
- data/rdoc/RubyXL/ColorSet.html +1 -1
- data/rdoc/RubyXL/Colors.html +1 -1
- data/rdoc/RubyXL/ColumnRange.html +1 -1
- data/rdoc/RubyXL/ColumnRanges.html +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/CoreProperties.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/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/DXF.html +1 -1
- data/rdoc/RubyXL/DXFs.html +1 -1
- data/rdoc/RubyXL/DataBar.html +1 -1
- data/rdoc/RubyXL/DataConsolidate.html +1 -1
- data/rdoc/RubyXL/DataConsolidationReference.html +1 -1
- data/rdoc/RubyXL/DataConsolidationReferences.html +1 -1
- data/rdoc/RubyXL/DataType.html +1 -1
- data/rdoc/RubyXL/DataValidation.html +1 -1
- data/rdoc/RubyXL/DataValidations.html +1 -1
- data/rdoc/RubyXL/DateGroupItem.html +1 -1
- data/rdoc/RubyXL/DefinedName.html +1 -1
- data/rdoc/RubyXL/DefinedNames.html +1 -1
- data/rdoc/RubyXL/DocumentProperties.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/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/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/GenericStorage.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/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 +61 -56
- data/rdoc/RubyXL/LegacyWorkbook.html +1 -1
- data/rdoc/RubyXL/LegacyWorksheet.html +82 -131
- data/rdoc/RubyXL/MRUColors.html +1 -1
- data/rdoc/RubyXL/MergedCell.html +1 -1
- data/rdoc/RubyXL/MergedCells.html +1 -1
- data/rdoc/RubyXL/NumFmt.html +1 -1
- data/rdoc/RubyXL/NumberFormat.html +1 -1
- data/rdoc/RubyXL/NumberFormats.html +1 -1
- data/rdoc/RubyXL/OLEObject.html +1 -1
- data/rdoc/RubyXL/OLEObjects.html +1 -1
- data/rdoc/RubyXL/OLESize.html +1 -1
- data/rdoc/RubyXL/OOXMLContainerObject.html +1 -1
- data/rdoc/RubyXL/OOXMLObject.html +1 -1
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +1 -1
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +1 -1
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +1 -1
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +1 -1
- data/rdoc/RubyXL/Offset.html +1 -1
- data/rdoc/RubyXL/OutlineProperties.html +1 -1
- data/rdoc/RubyXL/PageMargins.html +1 -1
- data/rdoc/RubyXL/PageSetup.html +1 -1
- data/rdoc/RubyXL/PageSetupProperties.html +1 -1
- data/rdoc/RubyXL/Pane.html +1 -1
- data/rdoc/RubyXL/Parser.html +1 -1
- data/rdoc/RubyXL/PatternFill.html +1 -1
- data/rdoc/RubyXL/PhoneticProperties.html +1 -1
- data/rdoc/RubyXL/PhoneticRun.html +1 -1
- data/rdoc/RubyXL/PivotArea.html +1 -1
- data/rdoc/RubyXL/PivotCache.html +1 -1
- data/rdoc/RubyXL/PivotCaches.html +1 -1
- data/rdoc/RubyXL/PivotReference.html +1 -1
- data/rdoc/RubyXL/PivotReferences.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/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/RichText.html +1 -1
- data/rdoc/RubyXL/RichTextRun.html +1 -1
- data/rdoc/RubyXL/RootRelationships.html +1 -1
- data/rdoc/RubyXL/Row.html +1 -1
- data/rdoc/RubyXL/RunProperties.html +1 -1
- data/rdoc/RubyXL/Scenario.html +1 -1
- data/rdoc/RubyXL/Scenarios.html +1 -1
- data/rdoc/RubyXL/Selection.html +1 -1
- data/rdoc/RubyXL/ShapeGuide.html +1 -1
- data/rdoc/RubyXL/ShapeTextRectangle.html +1 -1
- data/rdoc/RubyXL/SharedStringsTable.html +1 -1
- data/rdoc/RubyXL/Sheet.html +1 -1
- data/rdoc/RubyXL/SheetCalculationProperties.html +1 -1
- data/rdoc/RubyXL/SheetData.html +1 -1
- data/rdoc/RubyXL/Sheets.html +1 -1
- data/rdoc/RubyXL/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/TableParts.html +1 -1
- data/rdoc/RubyXL/TableStyle.html +1 -1
- data/rdoc/RubyXL/TableStyles.html +1 -1
- data/rdoc/RubyXL/Text.html +1 -1
- data/rdoc/RubyXL/Theme.html +1 -1
- data/rdoc/RubyXL/ThemeElements.html +1 -1
- data/rdoc/RubyXL/Top10.html +1 -1
- data/rdoc/RubyXL/Variant.html +1 -1
- data/rdoc/RubyXL/Vector.html +1 -1
- data/rdoc/RubyXL/VectorValue.html +1 -1
- data/rdoc/RubyXL/VisualProperties.html +1 -1
- data/rdoc/RubyXL/WebPublishObject.html +1 -1
- data/rdoc/RubyXL/WebPublishObjects.html +1 -1
- data/rdoc/RubyXL/WebPublishingItem.html +1 -1
- data/rdoc/RubyXL/WebPublishingItems.html +1 -1
- data/rdoc/RubyXL/WebPublishingProperties.html +1 -1
- data/rdoc/RubyXL/Workbook.html +1 -1
- data/rdoc/RubyXL/WorkbookProperties.html +1 -1
- data/rdoc/RubyXL/WorkbookProtection.html +1 -1
- data/rdoc/RubyXL/WorkbookRelationships.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/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 +7 -7
- data/rdoc/index.html +2 -2
- data/rdoc/js/search_index.js +1 -1
- data/rdoc/table_of_contents.html +3 -2
- data/rubyXL.gemspec +5 -2
- data/spec/lib/cell_spec.rb +1 -1
- data/spec/lib/parser_spec.rb +9 -0
- metadata +15 -1
data/rdoc/RubyXL/FieldItem.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>class RubyXL::FileRecoveryProperties - rubyXL 2.5.
|
|
7
|
+
<title>class RubyXL::FileRecoveryProperties - rubyXL 2.5.3</title>
|
|
8
8
|
|
|
9
9
|
<link href="../fonts.css" rel="stylesheet">
|
|
10
10
|
<link href="../rdoc.css" rel="stylesheet">
|
data/rdoc/RubyXL/Fill.html
CHANGED
data/rdoc/RubyXL/Fills.html
CHANGED
data/rdoc/RubyXL/FloatNode.html
CHANGED
data/rdoc/RubyXL/FloatValue.html
CHANGED
data/rdoc/RubyXL/Font.html
CHANGED
data/rdoc/RubyXL/FontScheme.html
CHANGED
data/rdoc/RubyXL/Fonts.html
CHANGED
data/rdoc/RubyXL/Formula.html
CHANGED
data/rdoc/RubyXL/Hyperlink.html
CHANGED
data/rdoc/RubyXL/Hyperlinks.html
CHANGED
data/rdoc/RubyXL/IconFilter.html
CHANGED
data/rdoc/RubyXL/IconSet.html
CHANGED
data/rdoc/RubyXL/InputCells.html
CHANGED
data/rdoc/RubyXL/LegacyCell.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>module RubyXL::LegacyCell - rubyXL 2.5.
|
|
7
|
+
<title>module RubyXL::LegacyCell - rubyXL 2.5.3</title>
|
|
8
8
|
|
|
9
9
|
<link href="../fonts.css" rel="stylesheet">
|
|
10
10
|
<link href="../rdoc.css" rel="stylesheet">
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
|
|
224
224
|
|
|
225
225
|
<div class="method-source-code" id="border_bottom-source">
|
|
226
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
226
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 243</span>
|
|
227
227
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">border_bottom</span>()
|
|
228
228
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_border</span>(<span class="ruby-value">:bottom</span>)
|
|
229
229
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -256,7 +256,7 @@
|
|
|
256
256
|
|
|
257
257
|
|
|
258
258
|
<div class="method-source-code" id="border_diagonal-source">
|
|
259
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
259
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 248</span>
|
|
260
260
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">border_diagonal</span>()
|
|
261
261
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_border</span>(<span class="ruby-value">:diagonal</span>)
|
|
262
262
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -289,7 +289,7 @@
|
|
|
289
289
|
|
|
290
290
|
|
|
291
291
|
<div class="method-source-code" id="border_left-source">
|
|
292
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
292
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 233</span>
|
|
293
293
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">border_left</span>()
|
|
294
294
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_border</span>(<span class="ruby-value">:left</span>)
|
|
295
295
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -322,7 +322,7 @@
|
|
|
322
322
|
|
|
323
323
|
|
|
324
324
|
<div class="method-source-code" id="border_right-source">
|
|
325
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
325
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 238</span>
|
|
326
326
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">border_right</span>()
|
|
327
327
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_border</span>(<span class="ruby-value">:right</span>)
|
|
328
328
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
|
|
356
356
|
|
|
357
357
|
<div class="method-source-code" id="border_top-source">
|
|
358
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
358
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 228</span>
|
|
359
359
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">border_top</span>()
|
|
360
360
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_border</span>(<span class="ruby-value">:top</span>)
|
|
361
361
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -373,7 +373,7 @@
|
|
|
373
373
|
|
|
374
374
|
<div class="method-heading">
|
|
375
375
|
<span class="method-name">change_border_bottom</span><span
|
|
376
|
-
class="method-args">(weight='thin')</span>
|
|
376
|
+
class="method-args">(weight = 'thin')</span>
|
|
377
377
|
|
|
378
378
|
<span class="method-click-advice">click to toggle source</span>
|
|
379
379
|
|
|
@@ -389,7 +389,7 @@
|
|
|
389
389
|
|
|
390
390
|
<div class="method-source-code" id="change_border_bottom-source">
|
|
391
391
|
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 133</span>
|
|
392
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_bottom</span>(<span class="ruby-identifier">weight</span
|
|
392
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_bottom</span>(<span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
393
393
|
<span class="ruby-identifier">change_border</span>(<span class="ruby-value">:bottom</span>, <span class="ruby-identifier">weight</span>)
|
|
394
394
|
<span class="ruby-keyword">end</span></pre>
|
|
395
395
|
</div>
|
|
@@ -406,7 +406,7 @@
|
|
|
406
406
|
|
|
407
407
|
<div class="method-heading">
|
|
408
408
|
<span class="method-name">change_border_diagonal</span><span
|
|
409
|
-
class="method-args">(weight='thin')</span>
|
|
409
|
+
class="method-args">(weight = 'thin')</span>
|
|
410
410
|
|
|
411
411
|
<span class="method-click-advice">click to toggle source</span>
|
|
412
412
|
|
|
@@ -422,7 +422,7 @@
|
|
|
422
422
|
|
|
423
423
|
<div class="method-source-code" id="change_border_diagonal-source">
|
|
424
424
|
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 138</span>
|
|
425
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_diagonal</span>(<span class="ruby-identifier">weight</span
|
|
425
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_diagonal</span>(<span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
426
426
|
<span class="ruby-identifier">change_border</span>(<span class="ruby-value">:diagonal</span>, <span class="ruby-identifier">weight</span>)
|
|
427
427
|
<span class="ruby-keyword">end</span></pre>
|
|
428
428
|
</div>
|
|
@@ -439,7 +439,7 @@
|
|
|
439
439
|
|
|
440
440
|
<div class="method-heading">
|
|
441
441
|
<span class="method-name">change_border_left</span><span
|
|
442
|
-
class="method-args">(weight='thin')</span>
|
|
442
|
+
class="method-args">(weight = 'thin')</span>
|
|
443
443
|
|
|
444
444
|
<span class="method-click-advice">click to toggle source</span>
|
|
445
445
|
|
|
@@ -455,7 +455,7 @@
|
|
|
455
455
|
|
|
456
456
|
<div class="method-source-code" id="change_border_left-source">
|
|
457
457
|
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 123</span>
|
|
458
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_left</span>(<span class="ruby-identifier">weight</span
|
|
458
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_left</span>(<span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
459
459
|
<span class="ruby-identifier">change_border</span>(<span class="ruby-value">:left</span>, <span class="ruby-identifier">weight</span>)
|
|
460
460
|
<span class="ruby-keyword">end</span></pre>
|
|
461
461
|
</div>
|
|
@@ -472,7 +472,7 @@
|
|
|
472
472
|
|
|
473
473
|
<div class="method-heading">
|
|
474
474
|
<span class="method-name">change_border_right</span><span
|
|
475
|
-
class="method-args">(weight='thin')</span>
|
|
475
|
+
class="method-args">(weight = 'thin')</span>
|
|
476
476
|
|
|
477
477
|
<span class="method-click-advice">click to toggle source</span>
|
|
478
478
|
|
|
@@ -488,7 +488,7 @@
|
|
|
488
488
|
|
|
489
489
|
<div class="method-source-code" id="change_border_right-source">
|
|
490
490
|
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 128</span>
|
|
491
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_right</span>(<span class="ruby-identifier">weight</span
|
|
491
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_right</span>(<span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
492
492
|
<span class="ruby-identifier">change_border</span>(<span class="ruby-value">:right</span>, <span class="ruby-identifier">weight</span>)
|
|
493
493
|
<span class="ruby-keyword">end</span></pre>
|
|
494
494
|
</div>
|
|
@@ -505,7 +505,7 @@
|
|
|
505
505
|
|
|
506
506
|
<div class="method-heading">
|
|
507
507
|
<span class="method-name">change_border_top</span><span
|
|
508
|
-
class="method-args">(weight='thin')</span>
|
|
508
|
+
class="method-args">(weight = 'thin')</span>
|
|
509
509
|
|
|
510
510
|
<span class="method-click-advice">click to toggle source</span>
|
|
511
511
|
|
|
@@ -521,7 +521,7 @@
|
|
|
521
521
|
|
|
522
522
|
<div class="method-source-code" id="change_border_top-source">
|
|
523
523
|
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 118</span>
|
|
524
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_top</span>(<span class="ruby-identifier">weight</span
|
|
524
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_top</span>(<span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
525
525
|
<span class="ruby-identifier">change_border</span>(<span class="ruby-value">:top</span>, <span class="ruby-identifier">weight</span>)
|
|
526
526
|
<span class="ruby-keyword">end</span></pre>
|
|
527
527
|
</div>
|
|
@@ -538,7 +538,7 @@
|
|
|
538
538
|
|
|
539
539
|
<div class="method-heading">
|
|
540
540
|
<span class="method-name">change_contents</span><span
|
|
541
|
-
class="method-args">(data,
|
|
541
|
+
class="method-args">(data, formula_expression = nil)</span>
|
|
542
542
|
|
|
543
543
|
<span class="method-click-advice">click to toggle source</span>
|
|
544
544
|
|
|
@@ -547,24 +547,29 @@
|
|
|
547
547
|
|
|
548
548
|
<div class="method-description">
|
|
549
549
|
|
|
550
|
-
|
|
550
|
+
|
|
551
551
|
|
|
552
552
|
|
|
553
553
|
|
|
554
554
|
|
|
555
555
|
<div class="method-source-code" id="change_contents-source">
|
|
556
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
557
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_contents</span>(<span class="ruby-identifier">data</span>, <span class="ruby-identifier">
|
|
556
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 142</span>
|
|
557
|
+
<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>)
|
|
558
558
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
559
|
-
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">datatype</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">DataType</span><span class="ruby-operator">::</span><span class="ruby-constant">RAW_STRING</span>
|
|
560
559
|
|
|
561
|
-
<span class="ruby-keyword">
|
|
562
|
-
|
|
563
|
-
|
|
560
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">formula_expression</span> <span class="ruby-keyword">then</span>
|
|
561
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">datatype</span> = <span class="ruby-keyword">nil</span>
|
|
562
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">formula</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Formula</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:expression</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">formula_expression</span>)
|
|
563
|
+
<span class="ruby-keyword">else</span>
|
|
564
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">datatype</span> = <span class="ruby-keyword">case</span> <span class="ruby-identifier">data</span>
|
|
565
|
+
<span class="ruby-keyword">when</span> <span class="ruby-constant">Date</span>, <span class="ruby-constant">Integer</span>, <span class="ruby-constant">Float</span> <span class="ruby-keyword">then</span> <span class="ruby-keyword">nil</span>
|
|
566
|
+
<span class="ruby-keyword">else</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">DataType</span><span class="ruby-operator">::</span><span class="ruby-constant">RAW_STRING</span>
|
|
567
|
+
<span class="ruby-keyword">end</span>
|
|
564
568
|
<span class="ruby-keyword">end</span>
|
|
565
569
|
|
|
570
|
+
<span class="ruby-identifier">data</span> = <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">date_to_num</span>(<span class="ruby-identifier">data</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">data</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Date</span>)
|
|
571
|
+
|
|
566
572
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">raw_value</span> = <span class="ruby-identifier">data</span>
|
|
567
|
-
<span class="ruby-ivar">@formula</span> = <span class="ruby-identifier">formula</span>
|
|
568
573
|
<span class="ruby-keyword">end</span></pre>
|
|
569
574
|
</div>
|
|
570
575
|
|
|
@@ -615,7 +620,7 @@
|
|
|
615
620
|
|
|
616
621
|
<div class="method-heading">
|
|
617
622
|
<span class="method-name">change_font_bold</span><span
|
|
618
|
-
class="method-args">(bolded=false)</span>
|
|
623
|
+
class="method-args">(bolded = false)</span>
|
|
619
624
|
|
|
620
625
|
<span class="method-click-advice">click to toggle source</span>
|
|
621
626
|
|
|
@@ -631,7 +636,7 @@
|
|
|
631
636
|
|
|
632
637
|
<div class="method-source-code" id="change_font_bold-source">
|
|
633
638
|
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 67</span>
|
|
634
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_bold</span>(<span class="ruby-identifier">bolded</span
|
|
639
|
+
<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>)
|
|
635
640
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
636
641
|
|
|
637
642
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">dup</span>
|
|
@@ -652,7 +657,7 @@
|
|
|
652
657
|
|
|
653
658
|
<div class="method-heading">
|
|
654
659
|
<span class="method-name">change_font_color</span><span
|
|
655
|
-
class="method-args">(font_color='000000')</span>
|
|
660
|
+
class="method-args">(font_color = '000000')</span>
|
|
656
661
|
|
|
657
662
|
<span class="method-click-advice">click to toggle source</span>
|
|
658
663
|
|
|
@@ -668,7 +673,7 @@
|
|
|
668
673
|
|
|
669
674
|
<div class="method-source-code" id="change_font_color-source">
|
|
670
675
|
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 48</span>
|
|
671
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_color</span>(<span class="ruby-identifier">font_color</span
|
|
676
|
+
<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>)
|
|
672
677
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
673
678
|
<span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">font_color</span>)
|
|
674
679
|
|
|
@@ -690,7 +695,7 @@
|
|
|
690
695
|
|
|
691
696
|
<div class="method-heading">
|
|
692
697
|
<span class="method-name">change_font_italics</span><span
|
|
693
|
-
class="method-args">(italicized=false)</span>
|
|
698
|
+
class="method-args">(italicized = false)</span>
|
|
694
699
|
|
|
695
700
|
<span class="method-click-advice">click to toggle source</span>
|
|
696
701
|
|
|
@@ -706,7 +711,7 @@
|
|
|
706
711
|
|
|
707
712
|
<div class="method-source-code" id="change_font_italics-source">
|
|
708
713
|
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 58</span>
|
|
709
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_italics</span>(<span class="ruby-identifier">italicized</span
|
|
714
|
+
<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>)
|
|
710
715
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
711
716
|
|
|
712
717
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">dup</span>
|
|
@@ -764,7 +769,7 @@
|
|
|
764
769
|
|
|
765
770
|
<div class="method-heading">
|
|
766
771
|
<span class="method-name">change_font_size</span><span
|
|
767
|
-
class="method-args">(font_size=10)</span>
|
|
772
|
+
class="method-args">(font_size = 10)</span>
|
|
768
773
|
|
|
769
774
|
<span class="method-click-advice">click to toggle source</span>
|
|
770
775
|
|
|
@@ -780,7 +785,7 @@
|
|
|
780
785
|
|
|
781
786
|
<div class="method-source-code" id="change_font_size-source">
|
|
782
787
|
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 38</span>
|
|
783
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_size</span>(<span class="ruby-identifier">font_size</span
|
|
788
|
+
<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>)
|
|
784
789
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
785
790
|
<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>)
|
|
786
791
|
|
|
@@ -802,7 +807,7 @@
|
|
|
802
807
|
|
|
803
808
|
<div class="method-heading">
|
|
804
809
|
<span class="method-name">change_font_strikethrough</span><span
|
|
805
|
-
class="method-args">(struckthrough=false)</span>
|
|
810
|
+
class="method-args">(struckthrough = false)</span>
|
|
806
811
|
|
|
807
812
|
<span class="method-click-advice">click to toggle source</span>
|
|
808
813
|
|
|
@@ -818,7 +823,7 @@
|
|
|
818
823
|
|
|
819
824
|
<div class="method-source-code" id="change_font_strikethrough-source">
|
|
820
825
|
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 84</span>
|
|
821
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_strikethrough</span>(<span class="ruby-identifier">struckthrough</span
|
|
826
|
+
<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>)
|
|
822
827
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
823
828
|
|
|
824
829
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">dup</span>
|
|
@@ -839,7 +844,7 @@
|
|
|
839
844
|
|
|
840
845
|
<div class="method-heading">
|
|
841
846
|
<span class="method-name">change_font_underline</span><span
|
|
842
|
-
class="method-args">(underlined=false)</span>
|
|
847
|
+
class="method-args">(underlined = false)</span>
|
|
843
848
|
|
|
844
849
|
<span class="method-click-advice">click to toggle source</span>
|
|
845
850
|
|
|
@@ -855,7 +860,7 @@
|
|
|
855
860
|
|
|
856
861
|
<div class="method-source-code" id="change_font_underline-source">
|
|
857
862
|
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 76</span>
|
|
858
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_underline</span>(<span class="ruby-identifier">underlined</span
|
|
863
|
+
<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>)
|
|
859
864
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
860
865
|
|
|
861
866
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">dup</span>
|
|
@@ -876,7 +881,7 @@
|
|
|
876
881
|
|
|
877
882
|
<div class="method-heading">
|
|
878
883
|
<span class="method-name">change_horizontal_alignment</span><span
|
|
879
|
-
class="method-args">(alignment='center')</span>
|
|
884
|
+
class="method-args">(alignment = 'center')</span>
|
|
880
885
|
|
|
881
886
|
<span class="method-click-advice">click to toggle source</span>
|
|
882
887
|
|
|
@@ -892,7 +897,7 @@
|
|
|
892
897
|
|
|
893
898
|
<div class="method-source-code" id="change_horizontal_alignment-source">
|
|
894
899
|
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 100</span>
|
|
895
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_horizontal_alignment</span>(<span class="ruby-identifier">alignment</span
|
|
900
|
+
<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>)
|
|
896
901
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
897
902
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">style_index</span> = <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">modify_alignment</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">style_index</span>, <span class="ruby-keyword">true</span>, <span class="ruby-identifier">alignment</span>)
|
|
898
903
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -910,7 +915,7 @@
|
|
|
910
915
|
|
|
911
916
|
<div class="method-heading">
|
|
912
917
|
<span class="method-name">change_text_wrap</span><span
|
|
913
|
-
class="method-args">(wrap=false)</span>
|
|
918
|
+
class="method-args">(wrap = false)</span>
|
|
914
919
|
|
|
915
920
|
<span class="method-click-advice">click to toggle source</span>
|
|
916
921
|
|
|
@@ -926,7 +931,7 @@
|
|
|
926
931
|
|
|
927
932
|
<div class="method-source-code" id="change_text_wrap-source">
|
|
928
933
|
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 112</span>
|
|
929
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_text_wrap</span>(<span class="ruby-identifier">wrap</span
|
|
934
|
+
<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>)
|
|
930
935
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
931
936
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">style_index</span> = <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">modify_text_wrap</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">style_index</span>, <span class="ruby-identifier">wrap</span>)
|
|
932
937
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -944,7 +949,7 @@
|
|
|
944
949
|
|
|
945
950
|
<div class="method-heading">
|
|
946
951
|
<span class="method-name">change_vertical_alignment</span><span
|
|
947
|
-
class="method-args">(alignment='center')</span>
|
|
952
|
+
class="method-args">(alignment = 'center')</span>
|
|
948
953
|
|
|
949
954
|
<span class="method-click-advice">click to toggle source</span>
|
|
950
955
|
|
|
@@ -960,7 +965,7 @@
|
|
|
960
965
|
|
|
961
966
|
<div class="method-source-code" id="change_vertical_alignment-source">
|
|
962
967
|
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 106</span>
|
|
963
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_vertical_alignment</span>(<span class="ruby-identifier">alignment</span
|
|
968
|
+
<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>)
|
|
964
969
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
965
970
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">style_index</span> = <span class="ruby-identifier">workbook</span>.<span class="ruby-identifier">modify_alignment</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">style_index</span>, <span class="ruby-keyword">false</span>, <span class="ruby-identifier">alignment</span>)
|
|
966
971
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -993,7 +998,7 @@
|
|
|
993
998
|
|
|
994
999
|
|
|
995
1000
|
<div class="method-source-code" id="fill_color-source">
|
|
996
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
1001
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 198</span>
|
|
997
1002
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">fill_color</span>()
|
|
998
1003
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
999
1004
|
<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>)
|
|
@@ -1027,7 +1032,7 @@
|
|
|
1027
1032
|
|
|
1028
1033
|
|
|
1029
1034
|
<div class="method-source-code" id="font_color-source">
|
|
1030
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
1035
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 192</span>
|
|
1031
1036
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">font_color</span>()
|
|
1032
1037
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1033
1038
|
<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>
|
|
@@ -1061,7 +1066,7 @@
|
|
|
1061
1066
|
|
|
1062
1067
|
|
|
1063
1068
|
<div class="method-source-code" id="font_name-source">
|
|
1064
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
1069
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 182</span>
|
|
1065
1070
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">font_name</span>()
|
|
1066
1071
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1067
1072
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">get_name</span>
|
|
@@ -1095,7 +1100,7 @@
|
|
|
1095
1100
|
|
|
1096
1101
|
|
|
1097
1102
|
<div class="method-source-code" id="font_size-source">
|
|
1098
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
1103
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 187</span>
|
|
1099
1104
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">font_size</span>()
|
|
1100
1105
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1101
1106
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">get_size</span>
|
|
@@ -1129,7 +1134,7 @@
|
|
|
1129
1134
|
|
|
1130
1135
|
|
|
1131
1136
|
<div class="method-source-code" id="horizontal_alignment-source">
|
|
1132
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
1137
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 204</span>
|
|
1133
1138
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">horizontal_alignment</span>()
|
|
1134
1139
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1135
1140
|
<span class="ruby-identifier">xf_obj</span> = <span class="ruby-identifier">get_cell_xf</span>
|
|
@@ -1165,10 +1170,10 @@
|
|
|
1165
1170
|
|
|
1166
1171
|
|
|
1167
1172
|
<div class="method-source-code" id="inspect-source">
|
|
1168
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
1173
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 252</span>
|
|
1169
1174
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">inspect</span>
|
|
1170
1175
|
<span class="ruby-identifier">str</span> = <span class="ruby-node">"#<#{self.class}(#{row},#{column}): #{raw_value.inspect}"</span>
|
|
1171
|
-
<span class="ruby-identifier">str</span> <span class="ruby-operator">+=</span> <span class="ruby-node">" =#{
|
|
1176
|
+
<span class="ruby-identifier">str</span> <span class="ruby-operator">+=</span> <span class="ruby-node">" =#{self.formula.expression}"</span> <span class="ruby-keyword">if</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">formula</span>
|
|
1172
1177
|
<span class="ruby-identifier">str</span> <span class="ruby-operator">+=</span> <span class="ruby-node">", datatype = #{self.datatype}, style_index = #{self.style_index}>"</span>
|
|
1173
1178
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">str</span>
|
|
1174
1179
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1201,7 +1206,7 @@
|
|
|
1201
1206
|
|
|
1202
1207
|
|
|
1203
1208
|
<div class="method-source-code" id="is_bolded-source">
|
|
1204
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
1209
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 167</span>
|
|
1205
1210
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_bolded</span>()
|
|
1206
1211
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1207
1212
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_bold</span>
|
|
@@ -1235,7 +1240,7 @@
|
|
|
1235
1240
|
|
|
1236
1241
|
|
|
1237
1242
|
<div class="method-source-code" id="is_italicized-source">
|
|
1238
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
1243
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 161</span>
|
|
1239
1244
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_italicized</span>()
|
|
1240
1245
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1241
1246
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_italic</span>
|
|
@@ -1269,7 +1274,7 @@
|
|
|
1269
1274
|
|
|
1270
1275
|
|
|
1271
1276
|
<div class="method-source-code" id="is_struckthrough-source">
|
|
1272
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
1277
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 177</span>
|
|
1273
1278
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_struckthrough</span>()
|
|
1274
1279
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1275
1280
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_strikethrough</span>
|
|
@@ -1303,7 +1308,7 @@
|
|
|
1303
1308
|
|
|
1304
1309
|
|
|
1305
1310
|
<div class="method-source-code" id="is_underlined-source">
|
|
1306
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
1311
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 172</span>
|
|
1307
1312
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_underlined</span>()
|
|
1308
1313
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1309
1314
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_underlined</span>
|
|
@@ -1337,7 +1342,7 @@
|
|
|
1337
1342
|
|
|
1338
1343
|
|
|
1339
1344
|
<div class="method-source-code" id="text_wrap-source">
|
|
1340
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
1345
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 220</span>
|
|
1341
1346
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">text_wrap</span>()
|
|
1342
1347
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1343
1348
|
<span class="ruby-identifier">xf_obj</span> = <span class="ruby-identifier">get_cell_xf</span>
|
|
@@ -1373,7 +1378,7 @@
|
|
|
1373
1378
|
|
|
1374
1379
|
|
|
1375
1380
|
<div class="method-source-code" id="vertical_alignment-source">
|
|
1376
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
1381
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 212</span>
|
|
1377
1382
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">vertical_alignment</span>()
|
|
1378
1383
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1379
1384
|
<span class="ruby-identifier">xf_obj</span> = <span class="ruby-identifier">get_cell_xf</span>
|