rubyXL 2.5.1 → 2.5.2
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 +7 -0
- data/VERSION +1 -1
- data/lib/rubyXL/cell.rb +12 -4
- data/lib/rubyXL/objects/content_types.rb +9 -2
- data/lib/rubyXL/objects/sheet_data.rb +1 -1
- data/lib/rubyXL/workbook.rb +1 -1
- data/lib/rubyXL/worksheet.rb +2 -2
- data/rdoc/README_rdoc.html +27 -27
- 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 +3 -3
- data/rdoc/RubyXL/CalculationChainCell.html +1 -1
- data/rdoc/RubyXL/CalculationProperties.html +1 -1
- data/rdoc/RubyXL/Cell.html +2 -2
- 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 +3 -3
- 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 +25 -18
- 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 +145 -0
- 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 +7 -7
- 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 +4 -4
- 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 +59 -83
- data/rdoc/RubyXL/LegacyWorkbook.html +21 -21
- data/rdoc/RubyXL/LegacyWorksheet.html +30 -30
- 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 +2 -2
- 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 +12 -12
- 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 +8 -8
- 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 +5 -5
- 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 +3 -3
- 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 +2 -2
- 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 +2 -2
- 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 +35 -35
- data/rdoc/index.html +4 -2
- data/rdoc/js/search_index.js +1 -1
- data/rdoc/table_of_contents.html +5 -2
- data/rubyXL.gemspec +7 -5
- data/spec/lib/cell_spec.rb +18 -4
- metadata +93 -80
data/rdoc/RubyXL/Extension.html
CHANGED
data/rdoc/RubyXL/Extents.html
CHANGED
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.2</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
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>class RubyXL::GenericStorage - rubyXL 2.5.
|
|
7
|
+
<title>class RubyXL::GenericStorage - rubyXL 2.5.2</title>
|
|
8
8
|
|
|
9
9
|
<link href="../fonts.css" rel="stylesheet">
|
|
10
10
|
<link href="../rdoc.css" rel="stylesheet">
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
<pre><span class="ruby-comment"># File lib/rubyXL/generic_storage.rb, line 5</span>
|
|
166
166
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">local_dir_path</span>)
|
|
167
167
|
<span class="ruby-ivar">@local_dir_path</span> = <span class="ruby-identifier">local_dir_path</span>
|
|
168
|
-
<span class="ruby-ivar">@mode</span> = <span class="ruby-string"
|
|
168
|
+
<span class="ruby-ivar">@mode</span> = <span class="ruby-string">'r'</span>
|
|
169
169
|
<span class="ruby-keyword">super</span>
|
|
170
170
|
<span class="ruby-keyword">end</span></pre>
|
|
171
171
|
</div>
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
<div class="method-source-code" id="binary-source">
|
|
243
243
|
<pre><span class="ruby-comment"># File lib/rubyXL/generic_storage.rb, line 11</span>
|
|
244
244
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">binary</span>
|
|
245
|
-
<span class="ruby-ivar">@mode</span> = <span class="ruby-string"
|
|
245
|
+
<span class="ruby-ivar">@mode</span> = <span class="ruby-string">'rb'</span>
|
|
246
246
|
<span class="ruby-keyword">self</span>
|
|
247
247
|
<span class="ruby-keyword">end</span></pre>
|
|
248
248
|
</div>
|
|
@@ -278,7 +278,7 @@
|
|
|
278
278
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">load_dir</span>(<span class="ruby-identifier">root_dir</span>)
|
|
279
279
|
<span class="ruby-identifier">dirpath</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">root_dir</span>, <span class="ruby-ivar">@local_dir_path</span>)
|
|
280
280
|
<span class="ruby-keyword">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>(<span class="ruby-identifier">dirpath</span>) <span class="ruby-keyword">then</span>
|
|
281
|
-
(<span class="ruby-constant">Dir</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">dirpath</span>).<span class="ruby-identifier">entries</span> <span class="ruby-operator">-</span> [<span class="ruby-string"
|
|
281
|
+
(<span class="ruby-constant">Dir</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">dirpath</span>).<span class="ruby-identifier">entries</span> <span class="ruby-operator">-</span> [<span class="ruby-string">'.'</span>, <span class="ruby-string">'..'</span>, <span class="ruby-string">'.DS_Store'</span>, <span class="ruby-string">'_rels'</span>]).<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">filename</span><span class="ruby-operator">|</span>
|
|
282
282
|
<span class="ruby-comment"># Making sure that the file will be automatically closed immediately after it has been read</span>
|
|
283
283
|
<span class="ruby-keyword">self</span>[<span class="ruby-identifier">filename</span>] = <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">dirpath</span>, <span class="ruby-identifier">filename</span>), <span class="ruby-ivar">@mode</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">read</span> }
|
|
284
284
|
}
|
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.2</title>
|
|
8
8
|
|
|
9
9
|
<link href="../fonts.css" rel="stylesheet">
|
|
10
10
|
<link href="../rdoc.css" rel="stylesheet">
|
|
@@ -160,30 +160,6 @@
|
|
|
160
160
|
|
|
161
161
|
|
|
162
162
|
|
|
163
|
-
<section class="constants-list">
|
|
164
|
-
<header>
|
|
165
|
-
<h3>Constants</h3>
|
|
166
|
-
</header>
|
|
167
|
-
<dl>
|
|
168
|
-
|
|
169
|
-
<dt id="ERROR">ERROR
|
|
170
|
-
|
|
171
|
-
<dd>
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
<dt id="RAW_STRING">RAW_STRING
|
|
175
|
-
|
|
176
|
-
<dd>
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
<dt id="SHARED_STRING">SHARED_STRING
|
|
180
|
-
|
|
181
|
-
<dd>
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
</dl>
|
|
185
|
-
</section>
|
|
186
|
-
|
|
187
163
|
|
|
188
164
|
|
|
189
165
|
<section class="attribute-method-details" class="method-section">
|
|
@@ -241,13 +217,13 @@
|
|
|
241
217
|
|
|
242
218
|
<div class="method-description">
|
|
243
219
|
|
|
244
|
-
<p>returns cell
|
|
220
|
+
<p>returns cell's bottom border</p>
|
|
245
221
|
|
|
246
222
|
|
|
247
223
|
|
|
248
224
|
|
|
249
225
|
<div class="method-source-code" id="border_bottom-source">
|
|
250
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
226
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 239</span>
|
|
251
227
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">border_bottom</span>()
|
|
252
228
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_border</span>(<span class="ruby-value">:bottom</span>)
|
|
253
229
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -274,13 +250,13 @@
|
|
|
274
250
|
|
|
275
251
|
<div class="method-description">
|
|
276
252
|
|
|
277
|
-
<p>returns cell
|
|
253
|
+
<p>returns cell's diagonal border</p>
|
|
278
254
|
|
|
279
255
|
|
|
280
256
|
|
|
281
257
|
|
|
282
258
|
<div class="method-source-code" id="border_diagonal-source">
|
|
283
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
259
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 244</span>
|
|
284
260
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">border_diagonal</span>()
|
|
285
261
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_border</span>(<span class="ruby-value">:diagonal</span>)
|
|
286
262
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -307,13 +283,13 @@
|
|
|
307
283
|
|
|
308
284
|
<div class="method-description">
|
|
309
285
|
|
|
310
|
-
<p>returns cell
|
|
286
|
+
<p>returns cell's left border</p>
|
|
311
287
|
|
|
312
288
|
|
|
313
289
|
|
|
314
290
|
|
|
315
291
|
<div class="method-source-code" id="border_left-source">
|
|
316
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
292
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 229</span>
|
|
317
293
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">border_left</span>()
|
|
318
294
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_border</span>(<span class="ruby-value">:left</span>)
|
|
319
295
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -340,13 +316,13 @@
|
|
|
340
316
|
|
|
341
317
|
<div class="method-description">
|
|
342
318
|
|
|
343
|
-
<p>returns cell
|
|
319
|
+
<p>returns cell's right border</p>
|
|
344
320
|
|
|
345
321
|
|
|
346
322
|
|
|
347
323
|
|
|
348
324
|
<div class="method-source-code" id="border_right-source">
|
|
349
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
325
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 234</span>
|
|
350
326
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">border_right</span>()
|
|
351
327
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_border</span>(<span class="ruby-value">:right</span>)
|
|
352
328
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -373,13 +349,13 @@
|
|
|
373
349
|
|
|
374
350
|
<div class="method-description">
|
|
375
351
|
|
|
376
|
-
<p>returns cell
|
|
352
|
+
<p>returns cell's top border</p>
|
|
377
353
|
|
|
378
354
|
|
|
379
355
|
|
|
380
356
|
|
|
381
357
|
<div class="method-source-code" id="border_top-source">
|
|
382
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
358
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 224</span>
|
|
383
359
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">border_top</span>()
|
|
384
360
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_border</span>(<span class="ruby-value">:top</span>)
|
|
385
361
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -412,8 +388,8 @@
|
|
|
412
388
|
|
|
413
389
|
|
|
414
390
|
<div class="method-source-code" id="change_border_bottom-source">
|
|
415
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
416
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_bottom</span>(<span class="ruby-identifier">weight</span>=<span class="ruby-string"
|
|
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>=<span class="ruby-string">'thin'</span>)
|
|
417
393
|
<span class="ruby-identifier">change_border</span>(<span class="ruby-value">:bottom</span>, <span class="ruby-identifier">weight</span>)
|
|
418
394
|
<span class="ruby-keyword">end</span></pre>
|
|
419
395
|
</div>
|
|
@@ -445,8 +421,8 @@
|
|
|
445
421
|
|
|
446
422
|
|
|
447
423
|
<div class="method-source-code" id="change_border_diagonal-source">
|
|
448
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
449
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_diagonal</span>(<span class="ruby-identifier">weight</span>=<span class="ruby-string"
|
|
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>=<span class="ruby-string">'thin'</span>)
|
|
450
426
|
<span class="ruby-identifier">change_border</span>(<span class="ruby-value">:diagonal</span>, <span class="ruby-identifier">weight</span>)
|
|
451
427
|
<span class="ruby-keyword">end</span></pre>
|
|
452
428
|
</div>
|
|
@@ -478,8 +454,8 @@
|
|
|
478
454
|
|
|
479
455
|
|
|
480
456
|
<div class="method-source-code" id="change_border_left-source">
|
|
481
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
482
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_left</span>(<span class="ruby-identifier">weight</span>=<span class="ruby-string"
|
|
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>=<span class="ruby-string">'thin'</span>)
|
|
483
459
|
<span class="ruby-identifier">change_border</span>(<span class="ruby-value">:left</span>, <span class="ruby-identifier">weight</span>)
|
|
484
460
|
<span class="ruby-keyword">end</span></pre>
|
|
485
461
|
</div>
|
|
@@ -511,8 +487,8 @@
|
|
|
511
487
|
|
|
512
488
|
|
|
513
489
|
<div class="method-source-code" id="change_border_right-source">
|
|
514
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
515
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_right</span>(<span class="ruby-identifier">weight</span>=<span class="ruby-string"
|
|
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>=<span class="ruby-string">'thin'</span>)
|
|
516
492
|
<span class="ruby-identifier">change_border</span>(<span class="ruby-value">:right</span>, <span class="ruby-identifier">weight</span>)
|
|
517
493
|
<span class="ruby-keyword">end</span></pre>
|
|
518
494
|
</div>
|
|
@@ -544,8 +520,8 @@
|
|
|
544
520
|
|
|
545
521
|
|
|
546
522
|
<div class="method-source-code" id="change_border_top-source">
|
|
547
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
548
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_border_top</span>(<span class="ruby-identifier">weight</span>=<span class="ruby-string"
|
|
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>=<span class="ruby-string">'thin'</span>)
|
|
549
525
|
<span class="ruby-identifier">change_border</span>(<span class="ruby-value">:top</span>, <span class="ruby-identifier">weight</span>)
|
|
550
526
|
<span class="ruby-keyword">end</span></pre>
|
|
551
527
|
</div>
|
|
@@ -577,14 +553,14 @@
|
|
|
577
553
|
|
|
578
554
|
|
|
579
555
|
<div class="method-source-code" id="change_contents-source">
|
|
580
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
556
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 143</span>
|
|
581
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</span>=<span class="ruby-keyword">nil</span>)
|
|
582
558
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
583
|
-
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">datatype</span> = <span class="ruby-constant">RAW_STRING</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>
|
|
584
560
|
|
|
585
561
|
<span class="ruby-keyword">case</span> <span class="ruby-identifier">data</span>
|
|
586
562
|
<span class="ruby-keyword">when</span> <span class="ruby-constant">Date</span> <span class="ruby-keyword">then</span> <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>)
|
|
587
|
-
<span class="ruby-keyword">when</span> <span class="ruby-constant">Integer</span>, <span class="ruby-constant">Float</span> <span class="ruby-keyword">then</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">datatype</span> = <span class="ruby-string"
|
|
563
|
+
<span class="ruby-keyword">when</span> <span class="ruby-constant">Integer</span>, <span class="ruby-constant">Float</span> <span class="ruby-keyword">then</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">datatype</span> = <span class="ruby-string">''</span>
|
|
588
564
|
<span class="ruby-keyword">end</span>
|
|
589
565
|
|
|
590
566
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">raw_value</span> = <span class="ruby-identifier">data</span>
|
|
@@ -619,8 +595,8 @@
|
|
|
619
595
|
|
|
620
596
|
|
|
621
597
|
<div class="method-source-code" id="change_fill-source">
|
|
622
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
623
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_fill</span>(<span class="ruby-identifier">rgb</span>=<span class="ruby-string"
|
|
598
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 22</span>
|
|
599
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_fill</span>(<span class="ruby-identifier">rgb</span>=<span class="ruby-string">'ffffff'</span>)
|
|
624
600
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
625
601
|
<span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">rgb</span>)
|
|
626
602
|
<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>)
|
|
@@ -654,7 +630,7 @@
|
|
|
654
630
|
|
|
655
631
|
|
|
656
632
|
<div class="method-source-code" id="change_font_bold-source">
|
|
657
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
633
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 67</span>
|
|
658
634
|
<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>)
|
|
659
635
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
660
636
|
|
|
@@ -691,8 +667,8 @@
|
|
|
691
667
|
|
|
692
668
|
|
|
693
669
|
<div class="method-source-code" id="change_font_color-source">
|
|
694
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
695
|
-
<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"
|
|
670
|
+
<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>=<span class="ruby-string">'000000'</span>)
|
|
696
672
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
697
673
|
<span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">font_color</span>)
|
|
698
674
|
|
|
@@ -729,7 +705,7 @@
|
|
|
729
705
|
|
|
730
706
|
|
|
731
707
|
<div class="method-source-code" id="change_font_italics-source">
|
|
732
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
708
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 58</span>
|
|
733
709
|
<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>)
|
|
734
710
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
735
711
|
|
|
@@ -766,8 +742,8 @@
|
|
|
766
742
|
|
|
767
743
|
|
|
768
744
|
<div class="method-source-code" id="change_font_name-source">
|
|
769
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
770
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_name</span>(<span class="ruby-identifier">new_font_name</span> = <span class="ruby-string"
|
|
745
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 29</span>
|
|
746
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_font_name</span>(<span class="ruby-identifier">new_font_name</span> = <span class="ruby-string">'Verdana'</span>)
|
|
771
747
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
772
748
|
|
|
773
749
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">dup</span>
|
|
@@ -803,10 +779,10 @@
|
|
|
803
779
|
|
|
804
780
|
|
|
805
781
|
<div class="method-source-code" id="change_font_size-source">
|
|
806
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
782
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 38</span>
|
|
807
783
|
<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>)
|
|
808
784
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
809
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-string"
|
|
785
|
+
<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>)
|
|
810
786
|
|
|
811
787
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">dup</span>
|
|
812
788
|
<span class="ruby-identifier">font</span>.<span class="ruby-identifier">set_size</span>(<span class="ruby-identifier">font_size</span>)
|
|
@@ -841,7 +817,7 @@
|
|
|
841
817
|
|
|
842
818
|
|
|
843
819
|
<div class="method-source-code" id="change_font_strikethrough-source">
|
|
844
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
820
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 84</span>
|
|
845
821
|
<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>)
|
|
846
822
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
847
823
|
|
|
@@ -878,7 +854,7 @@
|
|
|
878
854
|
|
|
879
855
|
|
|
880
856
|
<div class="method-source-code" id="change_font_underline-source">
|
|
881
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
857
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 76</span>
|
|
882
858
|
<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>)
|
|
883
859
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
884
860
|
|
|
@@ -915,8 +891,8 @@
|
|
|
915
891
|
|
|
916
892
|
|
|
917
893
|
<div class="method-source-code" id="change_horizontal_alignment-source">
|
|
918
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
919
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_horizontal_alignment</span>(<span class="ruby-identifier">alignment</span>=<span class="ruby-string"
|
|
894
|
+
<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>=<span class="ruby-string">'center'</span>)
|
|
920
896
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
921
897
|
<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>)
|
|
922
898
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -949,7 +925,7 @@
|
|
|
949
925
|
|
|
950
926
|
|
|
951
927
|
<div class="method-source-code" id="change_text_wrap-source">
|
|
952
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
928
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 112</span>
|
|
953
929
|
<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>)
|
|
954
930
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
955
931
|
<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>)
|
|
@@ -983,8 +959,8 @@
|
|
|
983
959
|
|
|
984
960
|
|
|
985
961
|
<div class="method-source-code" id="change_vertical_alignment-source">
|
|
986
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
987
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_vertical_alignment</span>(<span class="ruby-identifier">alignment</span>=<span class="ruby-string"
|
|
962
|
+
<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>=<span class="ruby-string">'center'</span>)
|
|
988
964
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
989
965
|
<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>)
|
|
990
966
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1011,13 +987,13 @@
|
|
|
1011
987
|
|
|
1012
988
|
<div class="method-description">
|
|
1013
989
|
|
|
1014
|
-
<p>returns cell
|
|
990
|
+
<p>returns cell's fill color</p>
|
|
1015
991
|
|
|
1016
992
|
|
|
1017
993
|
|
|
1018
994
|
|
|
1019
995
|
<div class="method-source-code" id="fill_color-source">
|
|
1020
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
996
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 194</span>
|
|
1021
997
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">fill_color</span>()
|
|
1022
998
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1023
999
|
<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>)
|
|
@@ -1051,10 +1027,10 @@
|
|
|
1051
1027
|
|
|
1052
1028
|
|
|
1053
1029
|
<div class="method-source-code" id="font_color-source">
|
|
1054
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
1030
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 188</span>
|
|
1055
1031
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">font_color</span>()
|
|
1056
1032
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1057
|
-
<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"
|
|
1033
|
+
<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>
|
|
1058
1034
|
<span class="ruby-keyword">end</span></pre>
|
|
1059
1035
|
</div>
|
|
1060
1036
|
|
|
@@ -1085,7 +1061,7 @@
|
|
|
1085
1061
|
|
|
1086
1062
|
|
|
1087
1063
|
<div class="method-source-code" id="font_name-source">
|
|
1088
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
1064
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 178</span>
|
|
1089
1065
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">font_name</span>()
|
|
1090
1066
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1091
1067
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">get_name</span>
|
|
@@ -1119,7 +1095,7 @@
|
|
|
1119
1095
|
|
|
1120
1096
|
|
|
1121
1097
|
<div class="method-source-code" id="font_size-source">
|
|
1122
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
1098
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 183</span>
|
|
1123
1099
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">font_size</span>()
|
|
1124
1100
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1125
1101
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">get_size</span>
|
|
@@ -1147,13 +1123,13 @@
|
|
|
1147
1123
|
|
|
1148
1124
|
<div class="method-description">
|
|
1149
1125
|
|
|
1150
|
-
<p>returns cell
|
|
1126
|
+
<p>returns cell's horizontal alignment</p>
|
|
1151
1127
|
|
|
1152
1128
|
|
|
1153
1129
|
|
|
1154
1130
|
|
|
1155
1131
|
<div class="method-source-code" id="horizontal_alignment-source">
|
|
1156
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
1132
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 200</span>
|
|
1157
1133
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">horizontal_alignment</span>()
|
|
1158
1134
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1159
1135
|
<span class="ruby-identifier">xf_obj</span> = <span class="ruby-identifier">get_cell_xf</span>
|
|
@@ -1189,7 +1165,7 @@
|
|
|
1189
1165
|
|
|
1190
1166
|
|
|
1191
1167
|
<div class="method-source-code" id="inspect-source">
|
|
1192
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
1168
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 248</span>
|
|
1193
1169
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">inspect</span>
|
|
1194
1170
|
<span class="ruby-identifier">str</span> = <span class="ruby-node">"#<#{self.class}(#{row},#{column}): #{raw_value.inspect}"</span>
|
|
1195
1171
|
<span class="ruby-identifier">str</span> <span class="ruby-operator">+=</span> <span class="ruby-node">" =#{@formula}"</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@formula</span>
|
|
@@ -1225,7 +1201,7 @@
|
|
|
1225
1201
|
|
|
1226
1202
|
|
|
1227
1203
|
<div class="method-source-code" id="is_bolded-source">
|
|
1228
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
1204
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 163</span>
|
|
1229
1205
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_bolded</span>()
|
|
1230
1206
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1231
1207
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_bold</span>
|
|
@@ -1259,7 +1235,7 @@
|
|
|
1259
1235
|
|
|
1260
1236
|
|
|
1261
1237
|
<div class="method-source-code" id="is_italicized-source">
|
|
1262
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
1238
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 157</span>
|
|
1263
1239
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_italicized</span>()
|
|
1264
1240
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1265
1241
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_italic</span>
|
|
@@ -1293,7 +1269,7 @@
|
|
|
1293
1269
|
|
|
1294
1270
|
|
|
1295
1271
|
<div class="method-source-code" id="is_struckthrough-source">
|
|
1296
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
1272
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 173</span>
|
|
1297
1273
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_struckthrough</span>()
|
|
1298
1274
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1299
1275
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_strikethrough</span>
|
|
@@ -1327,7 +1303,7 @@
|
|
|
1327
1303
|
|
|
1328
1304
|
|
|
1329
1305
|
<div class="method-source-code" id="is_underlined-source">
|
|
1330
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
1306
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 168</span>
|
|
1331
1307
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_underlined</span>()
|
|
1332
1308
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1333
1309
|
<span class="ruby-identifier">get_cell_font</span>.<span class="ruby-identifier">is_underlined</span>
|
|
@@ -1355,13 +1331,13 @@
|
|
|
1355
1331
|
|
|
1356
1332
|
<div class="method-description">
|
|
1357
1333
|
|
|
1358
|
-
<p>returns cell
|
|
1334
|
+
<p>returns cell's wrap</p>
|
|
1359
1335
|
|
|
1360
1336
|
|
|
1361
1337
|
|
|
1362
1338
|
|
|
1363
1339
|
<div class="method-source-code" id="text_wrap-source">
|
|
1364
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
1340
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 216</span>
|
|
1365
1341
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">text_wrap</span>()
|
|
1366
1342
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1367
1343
|
<span class="ruby-identifier">xf_obj</span> = <span class="ruby-identifier">get_cell_xf</span>
|
|
@@ -1391,13 +1367,13 @@
|
|
|
1391
1367
|
|
|
1392
1368
|
<div class="method-description">
|
|
1393
1369
|
|
|
1394
|
-
<p>returns cell
|
|
1370
|
+
<p>returns cell's vertical alignment</p>
|
|
1395
1371
|
|
|
1396
1372
|
|
|
1397
1373
|
|
|
1398
1374
|
|
|
1399
1375
|
<div class="method-source-code" id="vertical_alignment-source">
|
|
1400
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
1376
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 208</span>
|
|
1401
1377
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">vertical_alignment</span>()
|
|
1402
1378
|
<span class="ruby-identifier">validate_worksheet</span>
|
|
1403
1379
|
<span class="ruby-identifier">xf_obj</span> = <span class="ruby-identifier">get_cell_xf</span>
|
|
@@ -1433,7 +1409,7 @@
|
|
|
1433
1409
|
|
|
1434
1410
|
|
|
1435
1411
|
<div class="method-source-code" id="workbook-source">
|
|
1436
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line
|
|
1412
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/cell.rb, line 17</span>
|
|
1437
1413
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">workbook</span>
|
|
1438
1414
|
<span class="ruby-ivar">@worksheet</span>.<span class="ruby-identifier">workbook</span>
|
|
1439
1415
|
<span class="ruby-keyword">end</span></pre>
|