rubyXL 2.5.7 → 3.0.0
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/VERSION +1 -1
- data/lib/rubyXL.rb +4 -1
- data/lib/rubyXL/objects/calculation_chain.rb +4 -6
- data/lib/rubyXL/objects/chartsheet.rb +16 -13
- data/lib/rubyXL/objects/color.rb +1 -1
- data/lib/rubyXL/objects/comments.rb +46 -0
- data/lib/rubyXL/objects/content_types.rb +17 -55
- data/lib/rubyXL/objects/document_properties.rb +13 -15
- data/lib/rubyXL/objects/filters.rb +1 -1
- data/lib/rubyXL/objects/ooxml_object.rb +24 -11
- data/lib/rubyXL/objects/reference.rb +1 -1
- data/lib/rubyXL/objects/relationships.rb +147 -31
- data/lib/rubyXL/objects/root.rb +57 -0
- data/lib/rubyXL/objects/shared_strings.rb +4 -5
- data/lib/rubyXL/objects/sheet_data.rb +8 -2
- data/lib/rubyXL/objects/storage.rb +169 -0
- data/lib/rubyXL/objects/stylesheet.rb +4 -5
- data/lib/rubyXL/objects/text.rb +3 -3
- data/lib/rubyXL/objects/theme.rb +4 -6
- data/lib/rubyXL/objects/workbook.rb +50 -22
- data/lib/rubyXL/objects/worksheet.rb +36 -12
- data/lib/rubyXL/parser.rb +23 -97
- data/lib/rubyXL/workbook.rb +29 -41
- data/lib/rubyXL/worksheet.rb +3 -0
- data/rdoc/README_rdoc.html +1 -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/Authors.html +105 -0
- data/rdoc/RubyXL/AutoFilter.html +1 -1
- data/rdoc/RubyXL/AutoFilterColumn.html +1 -1
- data/rdoc/RubyXL/BinaryImageFile.html +105 -0
- 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 +26 -42
- data/rdoc/RubyXL/CalculationChainCell.html +1 -1
- data/rdoc/RubyXL/CalculationProperties.html +1 -1
- data/rdoc/RubyXL/Cell.html +13 -13
- 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 +53 -1
- data/rdoc/RubyXL/CellWatch.html +1 -1
- data/rdoc/RubyXL/CellWatches.html +1 -1
- data/rdoc/RubyXL/CellXFs.html +1 -1
- data/rdoc/RubyXL/ChartColorsFile.html +105 -0
- data/rdoc/RubyXL/ChartFile.html +105 -0
- data/rdoc/RubyXL/ChartRelationshipsFile.html +105 -0
- data/rdoc/RubyXL/ChartStyleFile.html +105 -0
- data/rdoc/RubyXL/ChartUserShapesFile.html +105 -0
- data/rdoc/RubyXL/Chartsheet.html +1 -1
- data/rdoc/RubyXL/ChartsheetPageSetup.html +1 -1
- data/rdoc/RubyXL/ChartsheetProperties.html +1 -1
- data/rdoc/RubyXL/ChartsheetProtection.html +1 -1
- data/rdoc/RubyXL/ChartsheetView.html +1 -1
- data/rdoc/RubyXL/ChartsheetViews.html +1 -1
- data/rdoc/RubyXL/Color.html +2 -2
- data/rdoc/RubyXL/ColorFilter.html +1 -1
- data/rdoc/RubyXL/ColorScale.html +1 -1
- data/rdoc/RubyXL/ColorSet.html +1 -1
- data/rdoc/RubyXL/Colors.html +1 -1
- data/rdoc/RubyXL/ColumnRange.html +1 -1
- data/rdoc/RubyXL/ColumnRanges.html +1 -1
- data/rdoc/RubyXL/Comment.html +108 -0
- data/rdoc/RubyXL/CommentList.html +105 -0
- data/rdoc/RubyXL/{CoreProperties.html → CommentsFile.html} +4 -4
- 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 +87 -63
- data/rdoc/RubyXL/ControlPropertiesFile.html +105 -0
- data/rdoc/RubyXL/CorePropertiesFile.html +105 -0
- data/rdoc/RubyXL/CustomColor.html +1 -1
- data/rdoc/RubyXL/CustomColorList.html +1 -1
- data/rdoc/RubyXL/CustomFilter.html +1 -1
- data/rdoc/RubyXL/CustomFilters.html +1 -1
- data/rdoc/RubyXL/CustomGeometry.html +1 -1
- data/rdoc/RubyXL/CustomProperties.html +1 -1
- data/rdoc/RubyXL/CustomPropertiesFile.html +105 -0
- data/rdoc/RubyXL/CustomProperty.html +1 -1
- data/rdoc/RubyXL/CustomSheetView.html +1 -1
- data/rdoc/RubyXL/CustomSheetViews.html +1 -1
- data/rdoc/RubyXL/CustomWorkbookView.html +1 -1
- data/rdoc/RubyXL/CustomWorkbookViews.html +1 -1
- data/rdoc/RubyXL/CustomXMLFile.html +105 -0
- 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 → DocumentPropertiesFile.html} +59 -83
- data/rdoc/RubyXL/DrawingFile.html +225 -0
- data/rdoc/RubyXL/DrawingRelationshipsFile.html +105 -0
- 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/ExternalLinksFile.html +105 -0
- 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/GenericStorageObject.html +352 -0
- data/rdoc/RubyXL/GradientFill.html +1 -1
- data/rdoc/RubyXL/HeaderFooterSettings.html +1 -1
- data/rdoc/RubyXL/Hyperlink.html +1 -1
- data/rdoc/RubyXL/HyperlinkRelFile.html +105 -0
- data/rdoc/RubyXL/Hyperlinks.html +1 -1
- data/rdoc/RubyXL/IconFilter.html +1 -1
- data/rdoc/RubyXL/IconSet.html +1 -1
- data/rdoc/RubyXL/IgnoredError.html +1 -1
- data/rdoc/RubyXL/IgnoredErrors.html +1 -1
- data/rdoc/RubyXL/IndexedColors.html +1 -1
- data/rdoc/RubyXL/InputCells.html +1 -1
- data/rdoc/RubyXL/IntegerNode.html +1 -1
- data/rdoc/RubyXL/IntegerValue.html +1 -1
- data/rdoc/RubyXL/LegacyCell.html +1 -1
- data/rdoc/RubyXL/LegacyWorkbook.html +48 -343
- data/rdoc/RubyXL/LegacyWorksheet.html +83 -80
- data/rdoc/RubyXL/MRUColors.html +1 -1
- data/rdoc/RubyXL/MacrosFile.html +105 -0
- 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 +3 -3
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +1 -1
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +283 -20
- 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 +35 -139
- data/rdoc/RubyXL/PatternFill.html +1 -1
- data/rdoc/RubyXL/PhoneticProperties.html +1 -1
- data/rdoc/RubyXL/PhoneticRun.html +1 -1
- data/rdoc/RubyXL/PivotArea.html +1 -1
- data/rdoc/RubyXL/PivotCache.html +1 -1
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +105 -0
- data/rdoc/RubyXL/PivotCaches.html +1 -1
- data/rdoc/RubyXL/PivotReference.html +1 -1
- data/rdoc/RubyXL/PivotReferences.html +1 -1
- data/rdoc/RubyXL/PivotTableFile.html +105 -0
- data/rdoc/RubyXL/PivotTableSelection.html +1 -1
- data/rdoc/RubyXL/PresetGeometry.html +1 -1
- data/rdoc/RubyXL/PrintOptions.html +1 -1
- data/rdoc/RubyXL/PrinterSettingsFile.html +119 -0
- 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 +2 -2
- data/rdoc/RubyXL/Relationship.html +1 -1
- data/rdoc/RubyXL/RelationshipSupport.html +98 -0
- 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 +61 -77
- data/rdoc/RubyXL/Sheet.html +1 -1
- data/rdoc/RubyXL/SheetCalculationProperties.html +1 -1
- data/rdoc/RubyXL/SheetData.html +1 -1
- data/rdoc/RubyXL/SheetRelationshipsFile.html +105 -0
- data/rdoc/RubyXL/Sheets.html +1 -1
- data/rdoc/RubyXL/SlicerCacheFile.html +105 -0
- data/rdoc/RubyXL/SlicerFile.html +105 -0
- data/rdoc/RubyXL/SmartTagProperties.html +1 -1
- data/rdoc/RubyXL/SmartTagType.html +1 -1
- data/rdoc/RubyXL/SmartTagTypes.html +1 -1
- data/rdoc/RubyXL/SmartTags.html +1 -1
- data/rdoc/RubyXL/SortCondition.html +1 -1
- data/rdoc/RubyXL/SortState.html +1 -1
- data/rdoc/RubyXL/Sqref.html +1 -1
- data/rdoc/RubyXL/Stop.html +1 -1
- data/rdoc/RubyXL/StringNode.html +1 -1
- data/rdoc/RubyXL/StringNodeW3C.html +1 -1
- data/rdoc/RubyXL/StringValue.html +1 -1
- data/rdoc/RubyXL/Stylesheet.html +1 -1
- data/rdoc/RubyXL/TableFile.html +105 -0
- 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/ThumbnailFile.html +105 -0
- data/rdoc/RubyXL/Top10.html +1 -1
- data/rdoc/RubyXL/VMLDrawingFile.html +105 -0
- 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/WorkbookRoot.html +449 -0
- 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 +30 -28
- data/rdoc/index.html +12 -4
- data/rdoc/js/search_index.js +1 -1
- data/rdoc/table_of_contents.html +160 -98
- data/rubyXL.gemspec +38 -7
- data/test/test_parse_write.rb +4 -4
- metadata +37 -6
- data/lib/rubyXL/generic_storage.rb +0 -42
- data/rdoc/RubyXL/GenericStorage.html +0 -346
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>module RubyXL::LegacyWorksheet - rubyXL
|
|
7
|
+
<title>module RubyXL::LegacyWorksheet - rubyXL 3.0.0</title>
|
|
8
8
|
|
|
9
9
|
<link href="../fonts.css" rel="stylesheet">
|
|
10
10
|
<link href="../rdoc.css" rel="stylesheet">
|
|
@@ -347,6 +347,9 @@
|
|
|
347
347
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">sheet_id</span> = <span class="ruby-identifier">params</span>[<span class="ruby-value">:sheet_id</span>]
|
|
348
348
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">sheet_data</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">SheetData</span>.<span class="ruby-identifier">new</span>
|
|
349
349
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">cols</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">ColumnRanges</span>.<span class="ruby-identifier">new</span>
|
|
350
|
+
<span class="ruby-ivar">@comments</span> = [] <span class="ruby-comment"># Do not optimize! These are arrays, so they will share the pointer!</span>
|
|
351
|
+
<span class="ruby-ivar">@printer_settings</span> = []
|
|
352
|
+
<span class="ruby-ivar">@generic_storage</span> = []
|
|
350
353
|
<span class="ruby-keyword">end</span></pre>
|
|
351
354
|
</div>
|
|
352
355
|
|
|
@@ -385,7 +388,7 @@
|
|
|
385
388
|
|
|
386
389
|
|
|
387
390
|
<div class="method-source-code" id="5B-5D-source">
|
|
388
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
391
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 18</span>
|
|
389
392
|
<span class="ruby-keyword">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
390
393
|
<span class="ruby-identifier">sheet_data</span>[<span class="ruby-identifier">row</span>]
|
|
391
394
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -418,7 +421,7 @@
|
|
|
418
421
|
|
|
419
422
|
|
|
420
423
|
<div class="method-source-code" id="add_cell-source">
|
|
421
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
424
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 334</span>
|
|
422
425
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">add_cell</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">column</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">data</span> = <span class="ruby-string">''</span>, <span class="ruby-identifier">formula</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">overwrite</span> = <span class="ruby-keyword">true</span>)
|
|
423
426
|
<span class="ruby-identifier">validate_workbook</span>
|
|
424
427
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">column</span>)
|
|
@@ -471,7 +474,7 @@
|
|
|
471
474
|
|
|
472
475
|
|
|
473
476
|
<div class="method-source-code" id="add_row-source">
|
|
474
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
477
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 328</span>
|
|
475
478
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">add_row</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">params</span> = {})
|
|
476
479
|
<span class="ruby-identifier">new_row</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Row</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">params</span>)
|
|
477
480
|
<span class="ruby-identifier">new_row</span>.<span class="ruby-identifier">worksheet</span> = <span class="ruby-keyword">self</span>
|
|
@@ -506,7 +509,7 @@
|
|
|
506
509
|
|
|
507
510
|
|
|
508
511
|
<div class="method-source-code" id="change_column_bold-source">
|
|
509
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
512
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 243</span>
|
|
510
513
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_bold</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">bolded</span> = <span class="ruby-keyword">false</span>)
|
|
511
514
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
|
512
515
|
<span class="ruby-identifier">font</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">fonts</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">font_id</span>].<span class="ruby-identifier">dup</span>
|
|
@@ -542,7 +545,7 @@
|
|
|
542
545
|
|
|
543
546
|
|
|
544
547
|
<div class="method-source-code" id="change_column_border_bottom-source">
|
|
545
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
548
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 312</span>
|
|
546
549
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_bottom</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
547
550
|
<span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-value">:bottom</span>, <span class="ruby-identifier">weight</span>)
|
|
548
551
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -575,7 +578,7 @@
|
|
|
575
578
|
|
|
576
579
|
|
|
577
580
|
<div class="method-source-code" id="change_column_border_diagonal-source">
|
|
578
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
581
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 316</span>
|
|
579
582
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_diagonal</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
580
583
|
<span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-value">:diagonal</span>, <span class="ruby-identifier">weight</span>)
|
|
581
584
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -608,7 +611,7 @@
|
|
|
608
611
|
|
|
609
612
|
|
|
610
613
|
<div class="method-source-code" id="change_column_border_left-source">
|
|
611
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
614
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 304</span>
|
|
612
615
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_left</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
613
616
|
<span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-value">:left</span>, <span class="ruby-identifier">weight</span>)
|
|
614
617
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -641,7 +644,7 @@
|
|
|
641
644
|
|
|
642
645
|
|
|
643
646
|
<div class="method-source-code" id="change_column_border_right-source">
|
|
644
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
647
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 308</span>
|
|
645
648
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_right</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
646
649
|
<span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-value">:right</span>, <span class="ruby-identifier">weight</span>)
|
|
647
650
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -674,7 +677,7 @@
|
|
|
674
677
|
|
|
675
678
|
|
|
676
679
|
<div class="method-source-code" id="change_column_border_top-source">
|
|
677
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
680
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 300</span>
|
|
678
681
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_border_top</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
679
682
|
<span class="ruby-identifier">change_column_border</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-value">:top</span>, <span class="ruby-identifier">weight</span>)
|
|
680
683
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -707,7 +710,7 @@
|
|
|
707
710
|
|
|
708
711
|
|
|
709
712
|
<div class="method-source-code" id="change_column_fill-source">
|
|
710
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
713
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 279</span>
|
|
711
714
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_fill</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">color_index</span>=<span class="ruby-string">'ffffff'</span>)
|
|
712
715
|
<span class="ruby-identifier">validate_workbook</span>
|
|
713
716
|
<span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">color_index</span>)
|
|
@@ -749,7 +752,7 @@
|
|
|
749
752
|
|
|
750
753
|
|
|
751
754
|
<div class="method-source-code" id="change_column_font_color-source">
|
|
752
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
755
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 227</span>
|
|
753
756
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_font_color</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">font_color</span>=<span class="ruby-string">'000000'</span>)
|
|
754
757
|
<span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">font_color</span>)
|
|
755
758
|
|
|
@@ -787,7 +790,7 @@
|
|
|
787
790
|
|
|
788
791
|
|
|
789
792
|
<div class="method-source-code" id="change_column_font_name-source">
|
|
790
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
793
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 211</span>
|
|
791
794
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_font_name</span>(<span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">font_name</span> = <span class="ruby-string">'Verdana'</span>)
|
|
792
795
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
|
793
796
|
<span class="ruby-identifier">font</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">fonts</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">font_id</span>].<span class="ruby-identifier">dup</span>
|
|
@@ -823,7 +826,7 @@
|
|
|
823
826
|
|
|
824
827
|
|
|
825
828
|
<div class="method-source-code" id="change_column_font_size-source">
|
|
826
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
829
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 219</span>
|
|
827
830
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_font_size</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">font_size</span>=<span class="ruby-value">10</span>)
|
|
828
831
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
|
829
832
|
<span class="ruby-identifier">font</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">fonts</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">font_id</span>].<span class="ruby-identifier">dup</span>
|
|
@@ -859,7 +862,7 @@
|
|
|
859
862
|
|
|
860
863
|
|
|
861
864
|
<div class="method-source-code" id="change_column_horizontal_alignment-source">
|
|
862
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
865
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 292</span>
|
|
863
866
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_horizontal_alignment</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">alignment</span> = <span class="ruby-string">'center'</span>)
|
|
864
867
|
<span class="ruby-identifier">change_column_alignment</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">alignment</span>,<span class="ruby-keyword">true</span>)
|
|
865
868
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -892,7 +895,7 @@
|
|
|
892
895
|
|
|
893
896
|
|
|
894
897
|
<div class="method-source-code" id="change_column_italics-source">
|
|
895
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
898
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 236</span>
|
|
896
899
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_italics</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">italicized</span> = <span class="ruby-keyword">false</span>)
|
|
897
900
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
|
898
901
|
<span class="ruby-identifier">font</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">fonts</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">font_id</span>].<span class="ruby-identifier">dup</span>
|
|
@@ -928,7 +931,7 @@
|
|
|
928
931
|
|
|
929
932
|
|
|
930
933
|
<div class="method-source-code" id="change_column_strikethrough-source">
|
|
931
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
934
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 257</span>
|
|
932
935
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_strikethrough</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">struckthrough</span>=<span class="ruby-keyword">false</span>)
|
|
933
936
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
|
934
937
|
<span class="ruby-identifier">font</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">fonts</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">font_id</span>].<span class="ruby-identifier">dup</span>
|
|
@@ -964,7 +967,7 @@
|
|
|
964
967
|
|
|
965
968
|
|
|
966
969
|
<div class="method-source-code" id="change_column_underline-source">
|
|
967
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
970
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 250</span>
|
|
968
971
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_underline</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">underlined</span> = <span class="ruby-keyword">false</span>)
|
|
969
972
|
<span class="ruby-identifier">xf</span> = <span class="ruby-identifier">get_col_xf</span>(<span class="ruby-identifier">column_index</span>)
|
|
970
973
|
<span class="ruby-identifier">font</span> = <span class="ruby-ivar">@workbook</span>.<span class="ruby-identifier">fonts</span>[<span class="ruby-identifier">xf</span>.<span class="ruby-identifier">font_id</span>].<span class="ruby-identifier">dup</span>
|
|
@@ -1000,7 +1003,7 @@
|
|
|
1000
1003
|
|
|
1001
1004
|
|
|
1002
1005
|
<div class="method-source-code" id="change_column_vertical_alignment-source">
|
|
1003
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1006
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 296</span>
|
|
1004
1007
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_vertical_alignment</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">alignment</span> = <span class="ruby-string">'center'</span>)
|
|
1005
1008
|
<span class="ruby-identifier">change_column_alignment</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">alignment</span>, <span class="ruby-keyword">false</span>)
|
|
1006
1009
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1034,7 +1037,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1034
1037
|
|
|
1035
1038
|
|
|
1036
1039
|
<div class="method-source-code" id="change_column_width-source">
|
|
1037
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1040
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 275</span>
|
|
1038
1041
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_width</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">width_in_chars</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">ColumnRange</span><span class="ruby-operator">::</span><span class="ruby-constant">DEFAULT_WIDTH</span>)
|
|
1039
1042
|
<span class="ruby-identifier">change_column_width_raw</span>(<span class="ruby-identifier">column_index</span>, ((<span class="ruby-identifier">width_in_chars</span> <span class="ruby-operator">+</span> (<span class="ruby-value">5.0</span> <span class="ruby-operator">/</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Font</span><span class="ruby-operator">::</span><span class="ruby-constant">MAX_DIGIT_WIDTH</span>)) <span class="ruby-operator">*</span> <span class="ruby-value">256</span>).<span class="ruby-identifier">to_i</span> <span class="ruby-operator">/</span> <span class="ruby-value">256.0</span>)
|
|
1040
1043
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1067,7 +1070,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1067
1070
|
|
|
1068
1071
|
|
|
1069
1072
|
<div class="method-source-code" id="change_column_width_raw-source">
|
|
1070
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1073
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 265</span>
|
|
1071
1074
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_column_width_raw</span>(<span class="ruby-identifier">column_index</span>, <span class="ruby-identifier">width</span>)
|
|
1072
1075
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1073
1076
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
|
|
@@ -1104,7 +1107,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1104
1107
|
|
|
1105
1108
|
|
|
1106
1109
|
<div class="method-source-code" id="change_row_bold-source">
|
|
1107
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1110
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 141</span>
|
|
1108
1111
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_bold</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">bolded</span> = <span class="ruby-keyword">false</span>)
|
|
1109
1112
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
1110
1113
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>).<span class="ruby-identifier">dup</span>
|
|
@@ -1140,7 +1143,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1140
1143
|
|
|
1141
1144
|
|
|
1142
1145
|
<div class="method-source-code" id="change_row_border_bottom-source">
|
|
1143
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1146
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 202</span>
|
|
1144
1147
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_border_bottom</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
1145
1148
|
<span class="ruby-identifier">change_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:bottom</span>, <span class="ruby-identifier">weight</span>)
|
|
1146
1149
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1173,7 +1176,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1173
1176
|
|
|
1174
1177
|
|
|
1175
1178
|
<div class="method-source-code" id="change_row_border_diagonal-source">
|
|
1176
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1179
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 206</span>
|
|
1177
1180
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_border_diagonal</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
1178
1181
|
<span class="ruby-identifier">change_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:diagonal</span>, <span class="ruby-identifier">weight</span>)
|
|
1179
1182
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1206,7 +1209,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1206
1209
|
|
|
1207
1210
|
|
|
1208
1211
|
<div class="method-source-code" id="change_row_border_left-source">
|
|
1209
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1212
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 194</span>
|
|
1210
1213
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_border_left</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
1211
1214
|
<span class="ruby-identifier">change_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:left</span>, <span class="ruby-identifier">weight</span>)
|
|
1212
1215
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1239,7 +1242,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1239
1242
|
|
|
1240
1243
|
|
|
1241
1244
|
<div class="method-source-code" id="change_row_border_right-source">
|
|
1242
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1245
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 198</span>
|
|
1243
1246
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_border_right</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
1244
1247
|
<span class="ruby-identifier">change_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:right</span>, <span class="ruby-identifier">weight</span>)
|
|
1245
1248
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1272,7 +1275,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1272
1275
|
|
|
1273
1276
|
|
|
1274
1277
|
<div class="method-source-code" id="change_row_border_top-source">
|
|
1275
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1278
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 190</span>
|
|
1276
1279
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_border_top</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">weight</span> = <span class="ruby-string">'thin'</span>)
|
|
1277
1280
|
<span class="ruby-identifier">change_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:top</span>, <span class="ruby-identifier">weight</span>)
|
|
1278
1281
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1305,7 +1308,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1305
1308
|
|
|
1306
1309
|
|
|
1307
1310
|
<div class="method-source-code" id="change_row_fill-source">
|
|
1308
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1311
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 103</span>
|
|
1309
1312
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_fill</span>(<span class="ruby-identifier">row_index</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">rgb</span> = <span class="ruby-string">'ffffff'</span>)
|
|
1310
1313
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1311
1314
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row_index</span>)
|
|
@@ -1343,7 +1346,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1343
1346
|
|
|
1344
1347
|
|
|
1345
1348
|
<div class="method-source-code" id="change_row_font_color-source">
|
|
1346
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1349
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 126</span>
|
|
1347
1350
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_font_color</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">font_color</span> = <span class="ruby-string">'000000'</span>)
|
|
1348
1351
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
1349
1352
|
<span class="ruby-constant">Color</span>.<span class="ruby-identifier">validate_color</span>(<span class="ruby-identifier">font_color</span>)
|
|
@@ -1380,7 +1383,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1380
1383
|
|
|
1381
1384
|
|
|
1382
1385
|
<div class="method-source-code" id="change_row_font_name-source">
|
|
1383
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1386
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 112</span>
|
|
1384
1387
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_font_name</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">font_name</span> = <span class="ruby-string">'Verdana'</span>)
|
|
1385
1388
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
1386
1389
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>).<span class="ruby-identifier">dup</span>
|
|
@@ -1416,7 +1419,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1416
1419
|
|
|
1417
1420
|
|
|
1418
1421
|
<div class="method-source-code" id="change_row_font_size-source">
|
|
1419
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1422
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 119</span>
|
|
1420
1423
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_font_size</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">font_size</span>=<span class="ruby-value">10</span>)
|
|
1421
1424
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
1422
1425
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>).<span class="ruby-identifier">dup</span>
|
|
@@ -1452,7 +1455,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1452
1455
|
|
|
1453
1456
|
|
|
1454
1457
|
<div class="method-source-code" id="change_row_height-source">
|
|
1455
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1458
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 162</span>
|
|
1456
1459
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_height</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">height</span>=<span class="ruby-value">10</span>)
|
|
1457
1460
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1458
1461
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
@@ -1497,7 +1500,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1497
1500
|
|
|
1498
1501
|
|
|
1499
1502
|
<div class="method-source-code" id="change_row_horizontal_alignment-source">
|
|
1500
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1503
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 178</span>
|
|
1501
1504
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_horizontal_alignment</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>,<span class="ruby-identifier">alignment</span>=<span class="ruby-string">'center'</span>)
|
|
1502
1505
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1503
1506
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
|
|
@@ -1532,7 +1535,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1532
1535
|
|
|
1533
1536
|
|
|
1534
1537
|
<div class="method-source-code" id="change_row_italics-source">
|
|
1535
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1538
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 134</span>
|
|
1536
1539
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_italics</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">italicized</span> = <span class="ruby-keyword">false</span>)
|
|
1537
1540
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
1538
1541
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>).<span class="ruby-identifier">dup</span>
|
|
@@ -1568,7 +1571,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1568
1571
|
|
|
1569
1572
|
|
|
1570
1573
|
<div class="method-source-code" id="change_row_strikethrough-source">
|
|
1571
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1574
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 155</span>
|
|
1572
1575
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_strikethrough</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">struckthrough</span>=<span class="ruby-keyword">false</span>)
|
|
1573
1576
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
1574
1577
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>).<span class="ruby-identifier">dup</span>
|
|
@@ -1604,7 +1607,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1604
1607
|
|
|
1605
1608
|
|
|
1606
1609
|
<div class="method-source-code" id="change_row_underline-source">
|
|
1607
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1610
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 148</span>
|
|
1608
1611
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_underline</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">underlined</span>=<span class="ruby-keyword">false</span>)
|
|
1609
1612
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>)
|
|
1610
1613
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>).<span class="ruby-identifier">dup</span>
|
|
@@ -1640,7 +1643,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
1640
1643
|
|
|
1641
1644
|
|
|
1642
1645
|
<div class="method-source-code" id="change_row_vertical_alignment-source">
|
|
1643
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1646
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 184</span>
|
|
1644
1647
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">change_row_vertical_alignment</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>,<span class="ruby-identifier">alignment</span>=<span class="ruby-string">'center'</span>)
|
|
1645
1648
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1646
1649
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
|
|
@@ -1677,7 +1680,7 @@ specified, method will shift column contents below the deleted cell upward</p>
|
|
|
1677
1680
|
|
|
1678
1681
|
|
|
1679
1682
|
<div class="method-source-code" id="delete_cell-source">
|
|
1680
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1683
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 478</span>
|
|
1681
1684
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">delete_cell</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">shift</span>=<span class="ruby-keyword">nil</span>)
|
|
1682
1685
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1683
1686
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
|
|
@@ -1732,7 +1735,7 @@ specified, method will shift column contents below the deleted cell upward</p>
|
|
|
1732
1735
|
|
|
1733
1736
|
|
|
1734
1737
|
<div class="method-source-code" id="delete_column-source">
|
|
1735
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1738
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 408</span>
|
|
1736
1739
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">delete_column</span>(<span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>)
|
|
1737
1740
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1738
1741
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">column_index</span>)
|
|
@@ -1779,7 +1782,7 @@ specified, method will shift column contents below the deleted cell upward</p>
|
|
|
1779
1782
|
|
|
1780
1783
|
|
|
1781
1784
|
<div class="method-source-code" id="delete_row-source">
|
|
1782
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1785
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 358</span>
|
|
1783
1786
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">delete_row</span>(<span class="ruby-identifier">row_index</span>=<span class="ruby-value">0</span>)
|
|
1784
1787
|
<span class="ruby-identifier">validate_workbook</span>
|
|
1785
1788
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row_index</span>)
|
|
@@ -1824,7 +1827,7 @@ specified, method will shift column contents below the deleted cell upward</p>
|
|
|
1824
1827
|
|
|
1825
1828
|
|
|
1826
1829
|
<div class="method-source-code" id="each-source">
|
|
1827
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1830
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 22</span>
|
|
1828
1831
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">each</span>
|
|
1829
1832
|
<span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">row</span><span class="ruby-operator">|</span> <span class="ruby-keyword">yield</span>(<span class="ruby-identifier">row</span>) }
|
|
1830
1833
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1858,7 +1861,7 @@ information)</p>
|
|
|
1858
1861
|
|
|
1859
1862
|
|
|
1860
1863
|
<div class="method-source-code" id="extract_data-source">
|
|
1861
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1864
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 27</span>
|
|
1862
1865
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">extract_data</span>(<span class="ruby-identifier">args</span> = {})
|
|
1863
1866
|
<span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">row</span><span class="ruby-operator">|</span>
|
|
1864
1867
|
<span class="ruby-identifier">row</span>.<span class="ruby-identifier">cells</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-identifier">c</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">value</span>(<span class="ruby-identifier">args</span>) } <span class="ruby-keyword">unless</span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">nil?</span>
|
|
@@ -1893,7 +1896,7 @@ information)</p>
|
|
|
1893
1896
|
|
|
1894
1897
|
|
|
1895
1898
|
<div class="method-source-code" id="get_column_border_bottom-source">
|
|
1896
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1899
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 655</span>
|
|
1897
1900
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_border_bottom</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
|
|
1898
1901
|
<span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:bottom</span>)
|
|
1899
1902
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1926,7 +1929,7 @@ information)</p>
|
|
|
1926
1929
|
|
|
1927
1930
|
|
|
1928
1931
|
<div class="method-source-code" id="get_column_border_diagonal-source">
|
|
1929
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1932
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 659</span>
|
|
1930
1933
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_border_diagonal</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
|
|
1931
1934
|
<span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:diagonal</span>)
|
|
1932
1935
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1959,7 +1962,7 @@ information)</p>
|
|
|
1959
1962
|
|
|
1960
1963
|
|
|
1961
1964
|
<div class="method-source-code" id="get_column_border_left-source">
|
|
1962
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1965
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 647</span>
|
|
1963
1966
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_border_left</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
|
|
1964
1967
|
<span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:left</span>)
|
|
1965
1968
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -1992,7 +1995,7 @@ information)</p>
|
|
|
1992
1995
|
|
|
1993
1996
|
|
|
1994
1997
|
<div class="method-source-code" id="get_column_border_right-source">
|
|
1995
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
1998
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 651</span>
|
|
1996
1999
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_border_right</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
|
|
1997
2000
|
<span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:right</span>)
|
|
1998
2001
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2025,7 +2028,7 @@ information)</p>
|
|
|
2025
2028
|
|
|
2026
2029
|
|
|
2027
2030
|
<div class="method-source-code" id="get_column_border_top-source">
|
|
2028
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2031
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 643</span>
|
|
2029
2032
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_border_top</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
|
|
2030
2033
|
<span class="ruby-identifier">get_column_border</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:top</span>)
|
|
2031
2034
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2058,7 +2061,7 @@ information)</p>
|
|
|
2058
2061
|
|
|
2059
2062
|
|
|
2060
2063
|
<div class="method-source-code" id="get_column_fill-source">
|
|
2061
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2064
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 627</span>
|
|
2062
2065
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_fill</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
|
|
2063
2066
|
<span class="ruby-identifier">validate_workbook</span>
|
|
2064
2067
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">col</span>)
|
|
@@ -2095,7 +2098,7 @@ information)</p>
|
|
|
2095
2098
|
|
|
2096
2099
|
|
|
2097
2100
|
<div class="method-source-code" id="get_column_font_color-source">
|
|
2098
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2101
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 584</span>
|
|
2099
2102
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_font_color</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
|
|
2100
2103
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
2101
2104
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> (<span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_rgb_color</span> <span class="ruby-operator">||</span> <span class="ruby-string">'000000'</span>)
|
|
@@ -2129,7 +2132,7 @@ information)</p>
|
|
|
2129
2132
|
|
|
2130
2133
|
|
|
2131
2134
|
<div class="method-source-code" id="get_column_font_name-source">
|
|
2132
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2135
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 574</span>
|
|
2133
2136
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_font_name</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
|
|
2134
2137
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
2135
2138
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_name</span>
|
|
@@ -2163,7 +2166,7 @@ information)</p>
|
|
|
2163
2166
|
|
|
2164
2167
|
|
|
2165
2168
|
<div class="method-source-code" id="get_column_font_size-source">
|
|
2166
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2169
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 579</span>
|
|
2167
2170
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_font_size</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
|
|
2168
2171
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
2169
2172
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_size</span>
|
|
@@ -2197,7 +2200,7 @@ information)</p>
|
|
|
2197
2200
|
|
|
2198
2201
|
|
|
2199
2202
|
<div class="method-source-code" id="get_column_horizontal_alignment-source">
|
|
2200
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2203
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 635</span>
|
|
2201
2204
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_horizontal_alignment</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
|
|
2202
2205
|
<span class="ruby-identifier">get_column_alignment</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:horizontal</span>)
|
|
2203
2206
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2230,7 +2233,7 @@ information)</p>
|
|
|
2230
2233
|
|
|
2231
2234
|
|
|
2232
2235
|
<div class="method-source-code" id="get_column_vertical_alignment-source">
|
|
2233
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2236
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 639</span>
|
|
2234
2237
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_vertical_alignment</span>(<span class="ruby-identifier">col</span>=<span class="ruby-value">0</span>)
|
|
2235
2238
|
<span class="ruby-identifier">get_column_alignment</span>(<span class="ruby-identifier">col</span>, <span class="ruby-value">:vertical</span>)
|
|
2236
2239
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2264,7 +2267,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2264
2267
|
|
|
2265
2268
|
|
|
2266
2269
|
<div class="method-source-code" id="get_column_width-source">
|
|
2267
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2270
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 621</span>
|
|
2268
2271
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_width</span>(<span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>)
|
|
2269
2272
|
<span class="ruby-identifier">width</span> = <span class="ruby-identifier">get_column_width_raw</span>(<span class="ruby-identifier">column_index</span>)
|
|
2270
2273
|
<span class="ruby-keyword">return</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">ColumnRange</span><span class="ruby-operator">::</span><span class="ruby-constant">DEFAULT_WIDTH</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">width</span>.<span class="ruby-identifier">nil?</span>
|
|
@@ -2299,7 +2302,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2299
2302
|
|
|
2300
2303
|
|
|
2301
2304
|
<div class="method-source-code" id="get_column_width_raw-source">
|
|
2302
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2305
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 610</span>
|
|
2303
2306
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_column_width_raw</span>(<span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>)
|
|
2304
2307
|
<span class="ruby-identifier">validate_workbook</span>
|
|
2305
2308
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">column_index</span>)
|
|
@@ -2337,7 +2340,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2337
2340
|
|
|
2338
2341
|
|
|
2339
2342
|
<div class="method-source-code" id="get_row_border_bottom-source">
|
|
2340
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2343
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 566</span>
|
|
2341
2344
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_border_bottom</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
2342
2345
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:bottom</span>)
|
|
2343
2346
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2370,7 +2373,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2370
2373
|
|
|
2371
2374
|
|
|
2372
2375
|
<div class="method-source-code" id="get_row_border_diagonal-source">
|
|
2373
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2376
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 570</span>
|
|
2374
2377
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_border_diagonal</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
2375
2378
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:diagonal</span>)
|
|
2376
2379
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2403,7 +2406,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2403
2406
|
|
|
2404
2407
|
|
|
2405
2408
|
<div class="method-source-code" id="get_row_border_left-source">
|
|
2406
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2409
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 558</span>
|
|
2407
2410
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_border_left</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
2408
2411
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:left</span>)
|
|
2409
2412
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2436,7 +2439,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2436
2439
|
|
|
2437
2440
|
|
|
2438
2441
|
<div class="method-source-code" id="get_row_border_right-source">
|
|
2439
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2442
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 562</span>
|
|
2440
2443
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_border_right</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
2441
2444
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:right</span>)
|
|
2442
2445
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2469,7 +2472,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2469
2472
|
|
|
2470
2473
|
|
|
2471
2474
|
<div class="method-source-code" id="get_row_border_top-source">
|
|
2472
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2475
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 554</span>
|
|
2473
2476
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_border_top</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
2474
2477
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_border</span>(<span class="ruby-identifier">row</span>, <span class="ruby-value">:top</span>)
|
|
2475
2478
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2502,7 +2505,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2502
2505
|
|
|
2503
2506
|
|
|
2504
2507
|
<div class="method-source-code" id="get_row_fill-source">
|
|
2505
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2508
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 504</span>
|
|
2506
2509
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_fill</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
2507
2510
|
(<span class="ruby-identifier">row</span> = <span class="ruby-identifier">sheet_data</span>.<span class="ruby-identifier">rows</span>[<span class="ruby-identifier">row</span>]) <span class="ruby-operator">&&</span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">get_fill_color</span>
|
|
2508
2511
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2535,7 +2538,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2535
2538
|
|
|
2536
2539
|
|
|
2537
2540
|
<div class="method-source-code" id="get_row_font_color-source">
|
|
2538
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2541
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 516</span>
|
|
2539
2542
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_font_color</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
2540
2543
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)
|
|
2541
2544
|
<span class="ruby-identifier">color</span> = <span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">color</span>
|
|
@@ -2570,7 +2573,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2570
2573
|
|
|
2571
2574
|
|
|
2572
2575
|
<div class="method-source-code" id="get_row_font_name-source">
|
|
2573
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2576
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 508</span>
|
|
2574
2577
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_font_name</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
2575
2578
|
(<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_name</span>
|
|
2576
2579
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2603,7 +2606,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2603
2606
|
|
|
2604
2607
|
|
|
2605
2608
|
<div class="method-source-code" id="get_row_font_size-source">
|
|
2606
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2609
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 512</span>
|
|
2607
2610
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_font_size</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
2608
2611
|
(<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">get_size</span>
|
|
2609
2612
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2636,7 +2639,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2636
2639
|
|
|
2637
2640
|
|
|
2638
2641
|
<div class="method-source-code" id="get_row_height-source">
|
|
2639
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2642
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 538</span>
|
|
2640
2643
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_height</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
2641
2644
|
<span class="ruby-identifier">validate_workbook</span>
|
|
2642
2645
|
<span class="ruby-identifier">validate_nonnegative</span>(<span class="ruby-identifier">row</span>)
|
|
@@ -2673,7 +2676,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2673
2676
|
|
|
2674
2677
|
|
|
2675
2678
|
<div class="method-source-code" id="get_row_horizontal_alignment-source">
|
|
2676
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2679
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 546</span>
|
|
2677
2680
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_horizontal_alignment</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
2678
2681
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_alignment</span>(<span class="ruby-identifier">row</span>, <span class="ruby-keyword">true</span>)
|
|
2679
2682
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2706,7 +2709,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2706
2709
|
|
|
2707
2710
|
|
|
2708
2711
|
<div class="method-source-code" id="get_row_vertical_alignment-source">
|
|
2709
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2712
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 550</span>
|
|
2710
2713
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_row_vertical_alignment</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
2711
2714
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">get_row_alignment</span>(<span class="ruby-identifier">row</span>, <span class="ruby-keyword">false</span>)
|
|
2712
2715
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -2739,7 +2742,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2739
2742
|
|
|
2740
2743
|
|
|
2741
2744
|
<div class="method-source-code" id="get_table-source">
|
|
2742
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2745
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 33</span>
|
|
2743
2746
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_table</span>(<span class="ruby-identifier">headers</span> = [], <span class="ruby-identifier">opts</span> = {})
|
|
2744
2747
|
<span class="ruby-identifier">validate_workbook</span>
|
|
2745
2748
|
|
|
@@ -2820,7 +2823,7 @@ href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet
|
|
|
2820
2823
|
|
|
2821
2824
|
|
|
2822
2825
|
<div class="method-source-code" id="insert_cell-source">
|
|
2823
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2826
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 455</span>
|
|
2824
2827
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">insert_cell</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">data</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">formula</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">shift</span> = <span class="ruby-keyword">nil</span>)
|
|
2825
2828
|
<span class="ruby-identifier">validate_workbook</span>
|
|
2826
2829
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">col</span>)
|
|
@@ -2871,7 +2874,7 @@ which reference cells which are being “pushed right”</p>
|
|
|
2871
2874
|
|
|
2872
2875
|
|
|
2873
2876
|
<div class="method-source-code" id="insert_column-source">
|
|
2874
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2877
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 428</span>
|
|
2875
2878
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">insert_column</span>(<span class="ruby-identifier">column_index</span> = <span class="ruby-value">0</span>)
|
|
2876
2879
|
<span class="ruby-identifier">validate_workbook</span>
|
|
2877
2880
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">column_index</span>)
|
|
@@ -2929,7 +2932,7 @@ formulas which reference cells which are being “pushed down”</p>
|
|
|
2929
2932
|
|
|
2930
2933
|
|
|
2931
2934
|
<div class="method-source-code" id="insert_row-source">
|
|
2932
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2935
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 376</span>
|
|
2933
2936
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">insert_row</span>(<span class="ruby-identifier">row_index</span> = <span class="ruby-value">0</span>)
|
|
2934
2937
|
<span class="ruby-identifier">validate_workbook</span>
|
|
2935
2938
|
<span class="ruby-identifier">ensure_cell_exists</span>(<span class="ruby-identifier">row_index</span>)
|
|
@@ -2990,7 +2993,7 @@ formulas which reference cells which are being “pushed down”</p>
|
|
|
2990
2993
|
|
|
2991
2994
|
|
|
2992
2995
|
<div class="method-source-code" id="is_column_bolded-source">
|
|
2993
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
2996
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 594</span>
|
|
2994
2997
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_column_bolded</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
|
|
2995
2998
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
2996
2999
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_bold</span>
|
|
@@ -3024,7 +3027,7 @@ formulas which reference cells which are being “pushed down”</p>
|
|
|
3024
3027
|
|
|
3025
3028
|
|
|
3026
3029
|
<div class="method-source-code" id="is_column_italicized-source">
|
|
3027
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
3030
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 589</span>
|
|
3028
3031
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_column_italicized</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
|
|
3029
3032
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
3030
3033
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_italic</span>
|
|
@@ -3058,7 +3061,7 @@ formulas which reference cells which are being “pushed down”</p>
|
|
|
3058
3061
|
|
|
3059
3062
|
|
|
3060
3063
|
<div class="method-source-code" id="is_column_struckthrough-source">
|
|
3061
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
3064
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 604</span>
|
|
3062
3065
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_column_struckthrough</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
|
|
3063
3066
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
3064
3067
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_strikethrough</span>
|
|
@@ -3092,7 +3095,7 @@ formulas which reference cells which are being “pushed down”</p>
|
|
|
3092
3095
|
|
|
3093
3096
|
|
|
3094
3097
|
<div class="method-source-code" id="is_column_underlined-source">
|
|
3095
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
3098
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 599</span>
|
|
3096
3099
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_column_underlined</span>(<span class="ruby-identifier">col</span> = <span class="ruby-value">0</span>)
|
|
3097
3100
|
<span class="ruby-identifier">font</span> = <span class="ruby-identifier">column_font</span>(<span class="ruby-identifier">col</span>)
|
|
3098
3101
|
<span class="ruby-identifier">font</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_underlined</span>
|
|
@@ -3126,7 +3129,7 @@ formulas which reference cells which are being “pushed down”</p>
|
|
|
3126
3129
|
|
|
3127
3130
|
|
|
3128
3131
|
<div class="method-source-code" id="is_row_bolded-source">
|
|
3129
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
3132
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 526</span>
|
|
3130
3133
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_row_bolded</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
3131
3134
|
(<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_bold</span>
|
|
3132
3135
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -3159,7 +3162,7 @@ formulas which reference cells which are being “pushed down”</p>
|
|
|
3159
3162
|
|
|
3160
3163
|
|
|
3161
3164
|
<div class="method-source-code" id="is_row_italicized-source">
|
|
3162
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
3165
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 522</span>
|
|
3163
3166
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_row_italicized</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
3164
3167
|
(<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_italic</span>
|
|
3165
3168
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -3192,7 +3195,7 @@ formulas which reference cells which are being “pushed down”</p>
|
|
|
3192
3195
|
|
|
3193
3196
|
|
|
3194
3197
|
<div class="method-source-code" id="is_row_struckthrough-source">
|
|
3195
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
3198
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 534</span>
|
|
3196
3199
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_row_struckthrough</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
3197
3200
|
(<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_strikethrough</span>
|
|
3198
3201
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -3225,7 +3228,7 @@ formulas which reference cells which are being “pushed down”</p>
|
|
|
3225
3228
|
|
|
3226
3229
|
|
|
3227
3230
|
<div class="method-source-code" id="is_row_underlined-source">
|
|
3228
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
3231
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 530</span>
|
|
3229
3232
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_row_underlined</span>(<span class="ruby-identifier">row</span> = <span class="ruby-value">0</span>)
|
|
3230
3233
|
(<span class="ruby-identifier">font</span> = <span class="ruby-identifier">row_font</span>(<span class="ruby-identifier">row</span>)) <span class="ruby-operator">&&</span> <span class="ruby-identifier">font</span>.<span class="ruby-identifier">is_underlined</span>
|
|
3231
3234
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -3258,7 +3261,7 @@ formulas which reference cells which are being “pushed down”</p>
|
|
|
3258
3261
|
|
|
3259
3262
|
|
|
3260
3263
|
<div class="method-source-code" id="merge_cells-source">
|
|
3261
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line
|
|
3264
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/worksheet.rb, line 321</span>
|
|
3262
3265
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">merge_cells</span>(<span class="ruby-identifier">row1</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">col1</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">row2</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">col2</span> = <span class="ruby-value">0</span>)
|
|
3263
3266
|
<span class="ruby-identifier">validate_workbook</span>
|
|
3264
3267
|
|