rubyXL 3.4.18 → 3.4.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +36 -29
- data/README.rdoc +9 -8
- data/VERSION +1 -1
- data/lib/rubyXL/convenience_methods/cell.rb +9 -4
- data/lib/rubyXL/convenience_methods/workbook.rb +8 -0
- data/lib/rubyXL/objects/font.rb +1 -1
- data/lib/rubyXL/objects/ooxml_object.rb +7 -5
- data/lib/rubyXL/objects/reference.rb +2 -5
- data/lib/rubyXL/objects/simple_types.rb +2 -0
- data/lib/rubyXL/objects/text.rb +2 -1
- data/rdoc/README_rdoc.html +17 -24
- data/rdoc/RubyXL/AExtension.html +2 -2
- data/rdoc/RubyXL/AExtensionStorageArea.html +2 -2
- data/rdoc/RubyXL/ActiveX.html +2 -2
- data/rdoc/RubyXL/ActiveXBinary.html +2 -2
- data/rdoc/RubyXL/AdjustHandleList.html +2 -2
- data/rdoc/RubyXL/Alignment.html +2 -2
- data/rdoc/RubyXL/AlternateContent.html +2 -2
- data/rdoc/RubyXL/Authors.html +2 -2
- data/rdoc/RubyXL/AutoFilter.html +2 -2
- data/rdoc/RubyXL/AutoFilterColumn.html +2 -2
- data/rdoc/RubyXL/BinaryImageFile.html +2 -2
- data/rdoc/RubyXL/BodyProperties.html +2 -2
- data/rdoc/RubyXL/BooleanNode.html +2 -2
- data/rdoc/RubyXL/BooleanValue.html +2 -2
- data/rdoc/RubyXL/Border.html +2 -2
- data/rdoc/RubyXL/BorderEdge.html +2 -2
- data/rdoc/RubyXL/Borders.html +2 -2
- data/rdoc/RubyXL/Break.html +2 -2
- data/rdoc/RubyXL/BreakList.html +2 -2
- data/rdoc/RubyXL/CT_AdjPoint2D.html +2 -2
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +2 -2
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +2 -2
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +2 -2
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +2 -2
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +2 -2
- data/rdoc/RubyXL/CT_Backdrop.html +2 -2
- data/rdoc/RubyXL/CT_Bevel.html +2 -2
- data/rdoc/RubyXL/CT_BiLevelEffect.html +2 -2
- data/rdoc/RubyXL/CT_BlendEffect.html +2 -2
- data/rdoc/RubyXL/CT_Blip.html +2 -2
- data/rdoc/RubyXL/CT_BlipFillProperties.html +2 -2
- data/rdoc/RubyXL/CT_BlurEffect.html +2 -2
- data/rdoc/RubyXL/CT_Camera.html +2 -2
- data/rdoc/RubyXL/CT_Color.html +2 -2
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +2 -2
- data/rdoc/RubyXL/CT_ColorMapping.html +2 -2
- data/rdoc/RubyXL/CT_ColorScheme.html +2 -2
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +2 -2
- data/rdoc/RubyXL/CT_ConnectionSite.html +2 -2
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +2 -2
- data/rdoc/RubyXL/CT_DashStop.html +2 -2
- data/rdoc/RubyXL/CT_DashStopList.html +2 -2
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +2 -2
- data/rdoc/RubyXL/CT_DuotoneEffect.html +2 -2
- data/rdoc/RubyXL/CT_EffectContainer.html +2 -2
- data/rdoc/RubyXL/CT_EffectList.html +2 -2
- data/rdoc/RubyXL/CT_EffectReference.html +2 -2
- data/rdoc/RubyXL/CT_EffectStyleItem.html +2 -2
- data/rdoc/RubyXL/CT_EffectStyleList.html +2 -2
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +2 -2
- data/rdoc/RubyXL/CT_FillEffect.html +2 -2
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +2 -2
- data/rdoc/RubyXL/CT_FillStyleList.html +2 -2
- data/rdoc/RubyXL/CT_FlatText.html +2 -2
- data/rdoc/RubyXL/CT_FontCollection.html +2 -2
- data/rdoc/RubyXL/CT_FontReference.html +2 -2
- data/rdoc/RubyXL/CT_GeomGuideList.html +2 -2
- data/rdoc/RubyXL/CT_GlowEffect.html +2 -2
- data/rdoc/RubyXL/CT_GradientFillProperties.html +2 -2
- data/rdoc/RubyXL/CT_GradientStop.html +2 -2
- data/rdoc/RubyXL/CT_GradientStopList.html +2 -2
- data/rdoc/RubyXL/CT_HSLEffect.html +2 -2
- data/rdoc/RubyXL/CT_HslColor.html +2 -2
- data/rdoc/RubyXL/CT_Hyperlink.html +2 -2
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +2 -2
- data/rdoc/RubyXL/CT_LightRig.html +2 -2
- data/rdoc/RubyXL/CT_LineEndProperties.html +2 -2
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +2 -2
- data/rdoc/RubyXL/CT_LineProperties.html +2 -2
- data/rdoc/RubyXL/CT_LineStyleList.html +2 -2
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +2 -2
- data/rdoc/RubyXL/CT_LuminanceEffect.html +2 -2
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +2 -2
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +2 -2
- data/rdoc/RubyXL/CT_Path2D.html +2 -2
- data/rdoc/RubyXL/CT_Path2DArcTo.html +2 -2
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +2 -2
- data/rdoc/RubyXL/CT_Path2DList.html +2 -2
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +2 -2
- data/rdoc/RubyXL/CT_Path2DTo.html +2 -2
- data/rdoc/RubyXL/CT_PathShadeProperties.html +2 -2
- data/rdoc/RubyXL/CT_PatternFillProperties.html +2 -2
- data/rdoc/RubyXL/CT_Point3D.html +2 -2
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +2 -2
- data/rdoc/RubyXL/CT_PresetColor.html +2 -2
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +2 -2
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +2 -2
- data/rdoc/RubyXL/CT_PresetTextShape.html +2 -2
- data/rdoc/RubyXL/CT_ReflectionEffect.html +2 -2
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +2 -2
- data/rdoc/RubyXL/CT_RelativeRect.html +2 -2
- data/rdoc/RubyXL/CT_SRgbColor.html +2 -2
- data/rdoc/RubyXL/CT_ScRgbColor.html +2 -2
- data/rdoc/RubyXL/CT_Scene3D.html +2 -2
- data/rdoc/RubyXL/CT_SchemeColor.html +2 -2
- data/rdoc/RubyXL/CT_Shape3D.html +2 -2
- data/rdoc/RubyXL/CT_ShapeStyle.html +2 -2
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +2 -2
- data/rdoc/RubyXL/CT_SphereCoords.html +2 -2
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +2 -2
- data/rdoc/RubyXL/CT_StyleMatrix.html +2 -2
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +2 -2
- data/rdoc/RubyXL/CT_SupplementalFont.html +2 -2
- data/rdoc/RubyXL/CT_SystemColor.html +2 -2
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +2 -2
- data/rdoc/RubyXL/CT_TextBlipBullet.html +2 -2
- data/rdoc/RubyXL/CT_TextCharBullet.html +2 -2
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +2 -2
- data/rdoc/RubyXL/CT_TextFont.html +2 -2
- data/rdoc/RubyXL/CT_TextListStyle.html +2 -2
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +2 -2
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +2 -2
- data/rdoc/RubyXL/CT_TextSpacing.html +2 -2
- data/rdoc/RubyXL/CT_TextTabStop.html +2 -2
- data/rdoc/RubyXL/CT_TextTabStopList.html +2 -2
- data/rdoc/RubyXL/CT_TileInfoProperties.html +2 -2
- data/rdoc/RubyXL/CT_TintEffect.html +2 -2
- data/rdoc/RubyXL/CT_Transform2D.html +2 -2
- data/rdoc/RubyXL/CT_TransformEffect.html +2 -2
- data/rdoc/RubyXL/CT_Vector3D.html +2 -2
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +2 -2
- data/rdoc/RubyXL/CalculationChain.html +2 -2
- data/rdoc/RubyXL/CalculationChainCell.html +2 -2
- data/rdoc/RubyXL/CalculationProperties.html +2 -2
- data/rdoc/RubyXL/Cell.html +2 -2
- data/rdoc/RubyXL/CellConvenienceMethods.html +55 -32
- data/rdoc/RubyXL/CellExt.html +2 -2
- data/rdoc/RubyXL/CellSmartTag.html +2 -2
- data/rdoc/RubyXL/CellSmartTagProperty.html +2 -2
- data/rdoc/RubyXL/CellSmartTags.html +2 -2
- data/rdoc/RubyXL/CellStyle.html +2 -2
- data/rdoc/RubyXL/CellStyleXFs.html +2 -2
- data/rdoc/RubyXL/CellStyles.html +2 -2
- data/rdoc/RubyXL/CellValue.html +2 -2
- data/rdoc/RubyXL/CellWatch.html +2 -2
- data/rdoc/RubyXL/CellWatches.html +2 -2
- data/rdoc/RubyXL/CellXFs.html +2 -2
- data/rdoc/RubyXL/ChartColorsFile.html +2 -2
- data/rdoc/RubyXL/ChartFile.html +2 -2
- data/rdoc/RubyXL/ChartStyleFile.html +2 -2
- data/rdoc/RubyXL/ChartUserShapesFile.html +2 -2
- data/rdoc/RubyXL/Chartsheet.html +2 -2
- data/rdoc/RubyXL/ChartsheetPageSetup.html +2 -2
- data/rdoc/RubyXL/ChartsheetProperties.html +2 -2
- data/rdoc/RubyXL/ChartsheetProtection.html +2 -2
- data/rdoc/RubyXL/ChartsheetView.html +2 -2
- data/rdoc/RubyXL/ChartsheetViews.html +2 -2
- data/rdoc/RubyXL/Color.html +3 -3
- data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +2 -2
- data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +2 -2
- data/rdoc/RubyXL/ColorConvenienceClasses.html +2 -2
- data/rdoc/RubyXL/ColorConvenienceMethods.html +2 -2
- data/rdoc/RubyXL/ColorFilter.html +2 -2
- data/rdoc/RubyXL/ColorScale.html +2 -2
- data/rdoc/RubyXL/ColorSet.html +2 -2
- data/rdoc/RubyXL/Colors.html +2 -2
- data/rdoc/RubyXL/ColumnRange.html +2 -2
- data/rdoc/RubyXL/ColumnRanges.html +2 -2
- data/rdoc/RubyXL/Comment.html +2 -2
- data/rdoc/RubyXL/CommentList.html +2 -2
- data/rdoc/RubyXL/CommentsFile.html +2 -2
- data/rdoc/RubyXL/ConditionalFormatValue.html +2 -2
- data/rdoc/RubyXL/ConditionalFormatting.html +2 -2
- data/rdoc/RubyXL/ConditionalFormattingRule.html +2 -2
- data/rdoc/RubyXL/Connection.html +2 -2
- data/rdoc/RubyXL/ConnectionTable.html +2 -2
- data/rdoc/RubyXL/ConnectionTables.html +2 -2
- data/rdoc/RubyXL/ConnectionTextField.html +2 -2
- data/rdoc/RubyXL/ConnectionTextFields.html +2 -2
- data/rdoc/RubyXL/Connections.html +2 -2
- data/rdoc/RubyXL/ContentTypeDefault.html +2 -2
- data/rdoc/RubyXL/ContentTypeOverride.html +2 -2
- data/rdoc/RubyXL/ContentTypes.html +2 -2
- data/rdoc/RubyXL/ControlPropertiesFile.html +2 -2
- data/rdoc/RubyXL/CorePropertiesFile.html +2 -2
- data/rdoc/RubyXL/CustomColor.html +2 -2
- data/rdoc/RubyXL/CustomColorList.html +2 -2
- data/rdoc/RubyXL/CustomFilter.html +2 -2
- data/rdoc/RubyXL/CustomFilters.html +2 -2
- data/rdoc/RubyXL/CustomGeometry.html +2 -2
- data/rdoc/RubyXL/CustomProperties.html +2 -2
- data/rdoc/RubyXL/CustomPropertiesFile.html +2 -2
- data/rdoc/RubyXL/CustomProperty.html +2 -2
- data/rdoc/RubyXL/CustomPropertyFile.html +2 -2
- data/rdoc/RubyXL/CustomSheetView.html +2 -2
- data/rdoc/RubyXL/CustomSheetViews.html +2 -2
- data/rdoc/RubyXL/CustomWorkbookView.html +2 -2
- data/rdoc/RubyXL/CustomWorkbookViews.html +2 -2
- data/rdoc/RubyXL/CustomXMLFile.html +2 -2
- data/rdoc/RubyXL/DXF.html +2 -2
- data/rdoc/RubyXL/DXFs.html +2 -2
- data/rdoc/RubyXL/DataBar.html +2 -2
- data/rdoc/RubyXL/DataConsolidate.html +2 -2
- data/rdoc/RubyXL/DataConsolidationReference.html +2 -2
- data/rdoc/RubyXL/DataConsolidationReferences.html +2 -2
- data/rdoc/RubyXL/DataType.html +2 -2
- data/rdoc/RubyXL/DataValidation.html +2 -2
- data/rdoc/RubyXL/DataValidations.html +2 -2
- data/rdoc/RubyXL/DateGroupItem.html +2 -2
- data/rdoc/RubyXL/DefinedName.html +2 -2
- data/rdoc/RubyXL/DefinedNameExt.html +2 -2
- data/rdoc/RubyXL/DefinedNames.html +2 -2
- data/rdoc/RubyXL/DefinedNamesExt.html +2 -2
- data/rdoc/RubyXL/DocumentPropertiesFile.html +2 -2
- data/rdoc/RubyXL/DrawingFile.html +2 -2
- data/rdoc/RubyXL/DynamicFilter.html +2 -2
- data/rdoc/RubyXL/EmbeddedControl.html +2 -2
- data/rdoc/RubyXL/EmbeddedControls.html +2 -2
- data/rdoc/RubyXL/Extension.html +2 -2
- data/rdoc/RubyXL/ExtensionStorageArea.html +2 -2
- data/rdoc/RubyXL/Extents.html +2 -2
- data/rdoc/RubyXL/ExternalBook.html +2 -2
- data/rdoc/RubyXL/ExternalLinksFile.html +2 -2
- data/rdoc/RubyXL/ExternalReference.html +2 -2
- data/rdoc/RubyXL/ExternalReferences.html +2 -2
- data/rdoc/RubyXL/ExtraColorSchemeList.html +2 -2
- data/rdoc/RubyXL/FieldItem.html +2 -2
- data/rdoc/RubyXL/FileRecoveryProperties.html +2 -2
- data/rdoc/RubyXL/FileSharing.html +2 -2
- data/rdoc/RubyXL/FileVersion.html +2 -2
- data/rdoc/RubyXL/Fill.html +2 -2
- data/rdoc/RubyXL/Fills.html +2 -2
- data/rdoc/RubyXL/FilterContainer.html +2 -2
- data/rdoc/RubyXL/FloatNode.html +2 -2
- data/rdoc/RubyXL/FloatValue.html +2 -2
- data/rdoc/RubyXL/Font.html +3 -3
- data/rdoc/RubyXL/FontConvenienceMethods.html +3 -3
- data/rdoc/RubyXL/FontScheme.html +2 -2
- data/rdoc/RubyXL/Fonts.html +2 -2
- data/rdoc/RubyXL/Formula.html +2 -2
- data/rdoc/RubyXL/FunctionGroup.html +2 -2
- data/rdoc/RubyXL/FunctionGroups.html +2 -2
- data/rdoc/RubyXL/GenericStorageObject.html +2 -2
- data/rdoc/RubyXL/GradientFill.html +2 -2
- data/rdoc/RubyXL/HeaderFooterSettings.html +2 -2
- data/rdoc/RubyXL/Hyperlink.html +2 -2
- data/rdoc/RubyXL/HyperlinkRelFile.html +2 -2
- data/rdoc/RubyXL/Hyperlinks.html +2 -2
- data/rdoc/RubyXL/IconFilter.html +2 -2
- data/rdoc/RubyXL/IconSet.html +2 -2
- data/rdoc/RubyXL/IgnoredError.html +2 -2
- data/rdoc/RubyXL/IgnoredErrors.html +2 -2
- data/rdoc/RubyXL/IndexedColors.html +2 -2
- data/rdoc/RubyXL/InputCells.html +2 -2
- data/rdoc/RubyXL/IntegerNode.html +2 -2
- data/rdoc/RubyXL/IntegerValue.html +2 -2
- data/rdoc/RubyXL/LegacyCell.html +2 -2
- data/rdoc/RubyXL/LegacyWorksheet.html +2 -2
- data/rdoc/RubyXL/MRUColors.html +2 -2
- data/rdoc/RubyXL/MacrosFile.html +2 -2
- data/rdoc/RubyXL/MergedCell.html +2 -2
- data/rdoc/RubyXL/MergedCells.html +2 -2
- data/rdoc/RubyXL/NumFmt.html +2 -2
- data/rdoc/RubyXL/NumberFormat.html +2 -2
- data/rdoc/RubyXL/NumberFormats.html +2 -2
- data/rdoc/RubyXL/OLEObject.html +2 -2
- data/rdoc/RubyXL/OLEObjectFile.html +2 -2
- data/rdoc/RubyXL/OLEObjects.html +2 -2
- data/rdoc/RubyXL/OLESize.html +2 -2
- data/rdoc/RubyXL/OOXMLContainerObject.html +8 -8
- data/rdoc/RubyXL/OOXMLIgnored.html +2 -2
- data/rdoc/RubyXL/OOXMLObject.html +3 -3
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +17 -16
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +15 -14
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +2 -2
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +8 -8
- data/rdoc/RubyXL/OdbcOleDbProperties.html +2 -2
- data/rdoc/RubyXL/Offset.html +2 -2
- data/rdoc/RubyXL/OlapProperties.html +2 -2
- data/rdoc/RubyXL/OleItem.html +2 -2
- data/rdoc/RubyXL/OleItems.html +2 -2
- data/rdoc/RubyXL/OleLink.html +2 -2
- data/rdoc/RubyXL/OutlineProperties.html +2 -2
- data/rdoc/RubyXL/PageMargins.html +2 -2
- data/rdoc/RubyXL/PageSetup.html +2 -2
- data/rdoc/RubyXL/PageSetupProperties.html +2 -2
- data/rdoc/RubyXL/Pane.html +2 -2
- data/rdoc/RubyXL/Parser.html +2 -2
- data/rdoc/RubyXL/PatternFill.html +2 -2
- data/rdoc/RubyXL/PhoneticProperties.html +2 -2
- data/rdoc/RubyXL/PhoneticRun.html +2 -2
- data/rdoc/RubyXL/PivotArea.html +2 -2
- data/rdoc/RubyXL/PivotCache.html +2 -2
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +2 -2
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +2 -2
- data/rdoc/RubyXL/PivotCaches.html +2 -2
- data/rdoc/RubyXL/PivotReference.html +2 -2
- data/rdoc/RubyXL/PivotReferences.html +2 -2
- data/rdoc/RubyXL/PivotTableFile.html +2 -2
- data/rdoc/RubyXL/PivotTableSelection.html +2 -2
- data/rdoc/RubyXL/PresetGeometry.html +2 -2
- data/rdoc/RubyXL/PrintOptions.html +2 -2
- data/rdoc/RubyXL/PrinterSettingsFile.html +2 -2
- data/rdoc/RubyXL/ProtectedRange.html +2 -2
- data/rdoc/RubyXL/ProtectedRanges.html +2 -2
- data/rdoc/RubyXL/Protection.html +2 -2
- data/rdoc/RubyXL/QueryParameter.html +2 -2
- data/rdoc/RubyXL/QueryParameters.html +2 -2
- data/rdoc/RubyXL/QueryTable.html +2 -2
- data/rdoc/RubyXL/QueryTableDeletedField.html +2 -2
- data/rdoc/RubyXL/QueryTableDeletedFields.html +2 -2
- data/rdoc/RubyXL/QueryTableField.html +2 -2
- data/rdoc/RubyXL/QueryTableFields.html +2 -2
- data/rdoc/RubyXL/QueryTableRefresh.html +2 -2
- data/rdoc/RubyXL/RID.html +2 -2
- data/rdoc/RubyXL/RawOOXML.html +2 -2
- data/rdoc/RubyXL/Reference.html +4 -7
- data/rdoc/RubyXL/Relationship.html +2 -2
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +2 -2
- data/rdoc/RubyXL/RelationshipSupport.html +2 -2
- data/rdoc/RubyXL/RevisionPointer.html +2 -2
- data/rdoc/RubyXL/RichText.html +4 -3
- data/rdoc/RubyXL/RichTextRun.html +2 -2
- data/rdoc/RubyXL/Row.html +2 -2
- data/rdoc/RubyXL/RowExt.html +2 -2
- data/rdoc/RubyXL/RunProperties.html +2 -2
- data/rdoc/RubyXL/Scenario.html +2 -2
- data/rdoc/RubyXL/Scenarios.html +2 -2
- data/rdoc/RubyXL/Selection.html +2 -2
- data/rdoc/RubyXL/ShapeGuide.html +2 -2
- data/rdoc/RubyXL/ShapeTextRectangle.html +2 -2
- data/rdoc/RubyXL/SharedStringsTable.html +2 -2
- data/rdoc/RubyXL/Sheet.html +2 -2
- data/rdoc/RubyXL/SheetCalculationProperties.html +2 -2
- data/rdoc/RubyXL/SheetData.html +2 -2
- data/rdoc/RubyXL/SheetDataExt.html +2 -2
- data/rdoc/RubyXL/SheetDataSet.html +2 -2
- data/rdoc/RubyXL/SheetName.html +2 -2
- data/rdoc/RubyXL/SheetNames.html +2 -2
- data/rdoc/RubyXL/Sheets.html +2 -2
- data/rdoc/RubyXL/SlicerCacheFile.html +2 -2
- data/rdoc/RubyXL/SlicerFile.html +2 -2
- data/rdoc/RubyXL/SmartTagProperties.html +2 -2
- data/rdoc/RubyXL/SmartTagType.html +2 -2
- data/rdoc/RubyXL/SmartTagTypes.html +2 -2
- data/rdoc/RubyXL/SmartTags.html +2 -2
- data/rdoc/RubyXL/SortCondition.html +2 -2
- data/rdoc/RubyXL/SortState.html +2 -2
- data/rdoc/RubyXL/Sqref.html +4 -4
- data/rdoc/RubyXL/Stop.html +2 -2
- data/rdoc/RubyXL/StringNode.html +2 -2
- data/rdoc/RubyXL/StringNodeW3C.html +2 -2
- data/rdoc/RubyXL/StringValue.html +2 -2
- data/rdoc/RubyXL/Stylesheet.html +2 -2
- data/rdoc/RubyXL/TableFile.html +2 -2
- data/rdoc/RubyXL/TableParts.html +2 -2
- data/rdoc/RubyXL/TableStyle.html +2 -2
- data/rdoc/RubyXL/TableStyles.html +2 -2
- data/rdoc/RubyXL/Text.html +2 -2
- data/rdoc/RubyXL/TextImportSettings.html +2 -2
- data/rdoc/RubyXL/Theme.html +2 -2
- data/rdoc/RubyXL/ThemeElements.html +2 -2
- data/rdoc/RubyXL/ThumbnailFile.html +2 -2
- data/rdoc/RubyXL/Top10.html +2 -2
- data/rdoc/RubyXL/VMLDrawingFile.html +3 -3
- data/rdoc/RubyXL/Variant.html +2 -2
- data/rdoc/RubyXL/Vector.html +2 -2
- data/rdoc/RubyXL/VectorValue.html +2 -2
- data/rdoc/RubyXL/VisualProperties.html +2 -2
- data/rdoc/RubyXL/WebPublishObject.html +2 -2
- data/rdoc/RubyXL/WebPublishObjects.html +2 -2
- data/rdoc/RubyXL/WebPublishingItem.html +2 -2
- data/rdoc/RubyXL/WebPublishingItems.html +2 -2
- data/rdoc/RubyXL/WebPublishingProperties.html +2 -2
- data/rdoc/RubyXL/WebQueryProperties.html +2 -2
- data/rdoc/RubyXL/Workbook.html +2 -2
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +47 -3
- data/rdoc/RubyXL/WorkbookProperties.html +2 -2
- data/rdoc/RubyXL/WorkbookProtection.html +2 -2
- data/rdoc/RubyXL/WorkbookRoot.html +2 -2
- data/rdoc/RubyXL/WorkbookView.html +2 -2
- data/rdoc/RubyXL/WorkbookViews.html +2 -2
- data/rdoc/RubyXL/Worksheet.html +2 -2
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +3 -3
- data/rdoc/RubyXL/WorksheetDimensions.html +2 -2
- data/rdoc/RubyXL/WorksheetFormatProperties.html +2 -2
- data/rdoc/RubyXL/WorksheetProperties.html +2 -2
- data/rdoc/RubyXL/WorksheetProtection.html +2 -2
- data/rdoc/RubyXL/WorksheetView.html +2 -2
- data/rdoc/RubyXL/WorksheetViews.html +2 -2
- data/rdoc/RubyXL/XF.html +2 -2
- data/rdoc/RubyXL.html +4 -2
- data/rdoc/created.rid +9 -9
- data/rdoc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/rdoc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/rdoc/index.html +3 -3
- data/rdoc/js/navigation.js.gz +0 -0
- data/rdoc/js/search_index.js +1 -1
- data/rdoc/js/search_index.js.gz +0 -0
- data/rdoc/js/searcher.js.gz +0 -0
- data/rdoc/table_of_contents.html +18 -3
- data/rubyXL.gemspec +3 -3
- data/spec/lib/cell_spec.rb +9 -0
- data/spec/lib/rgb_color_spec.rb +14 -2
- data/spec/lib/workbook_spec.rb +11 -0
- data/spec/lib/worksheet_spec.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 474d2b39dac1700addee159716c6b4f3b5f4e0fb6e345009581b21651cd0a108
|
4
|
+
data.tar.gz: 828d1c9fe9b798d9fc993be81407811c79cf73d0dd81fd767dcf80b40f6367d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b48f5c71dac79e26bb8217d9684f5f02ca0ebec3817094468c379c63ed6885ae90ef4bb1a52403cbea9235bc30b53d5988f1d8de24aa1507e05b4d41cb036ee
|
7
|
+
data.tar.gz: 2c38fb075641d53089ec6a57a1784dc6ad6ec014f8b7b1a957a06bd44a8b453acea456e2b726fbc889bd11fc5a09af4e2a8bd2967eb99a6a935fdeb9ac2d8e40
|
data/Gemfile.lock
CHANGED
@@ -6,28 +6,32 @@ GEM
|
|
6
6
|
builder (3.2.4)
|
7
7
|
descendants_tracker (0.0.4)
|
8
8
|
thread_safe (~> 0.3, >= 0.3.1)
|
9
|
-
diff-lcs (1.
|
9
|
+
diff-lcs (1.5.0)
|
10
10
|
docile (1.4.0)
|
11
|
-
faraday (1.
|
11
|
+
faraday (1.10.0)
|
12
12
|
faraday-em_http (~> 1.0)
|
13
13
|
faraday-em_synchrony (~> 1.0)
|
14
14
|
faraday-excon (~> 1.1)
|
15
|
-
faraday-httpclient (~> 1.0
|
15
|
+
faraday-httpclient (~> 1.0)
|
16
|
+
faraday-multipart (~> 1.0)
|
16
17
|
faraday-net_http (~> 1.0)
|
17
|
-
faraday-net_http_persistent (~> 1.
|
18
|
+
faraday-net_http_persistent (~> 1.0)
|
18
19
|
faraday-patron (~> 1.0)
|
19
20
|
faraday-rack (~> 1.0)
|
20
|
-
|
21
|
+
faraday-retry (~> 1.0)
|
21
22
|
ruby2_keywords (>= 0.0.4)
|
22
23
|
faraday-em_http (1.0.0)
|
23
24
|
faraday-em_synchrony (1.0.0)
|
24
25
|
faraday-excon (1.1.0)
|
25
26
|
faraday-httpclient (1.0.1)
|
27
|
+
faraday-multipart (1.0.3)
|
28
|
+
multipart-post (>= 1.2, < 3)
|
26
29
|
faraday-net_http (1.0.1)
|
27
30
|
faraday-net_http_persistent (1.2.0)
|
28
31
|
faraday-patron (1.0.0)
|
29
32
|
faraday-rack (1.0.0)
|
30
|
-
|
33
|
+
faraday-retry (1.0.3)
|
34
|
+
git (1.10.2)
|
31
35
|
rchardet (~> 1.8)
|
32
36
|
github_api (0.19.0)
|
33
37
|
addressable (~> 2.4)
|
@@ -49,43 +53,45 @@ GEM
|
|
49
53
|
rake
|
50
54
|
rdoc
|
51
55
|
semver2
|
52
|
-
jwt (2.
|
56
|
+
jwt (2.3.0)
|
53
57
|
kamelcase (0.0.2)
|
54
58
|
semver2 (~> 3)
|
55
|
-
mini_portile2 (2.
|
59
|
+
mini_portile2 (2.8.0)
|
56
60
|
multi_json (1.15.0)
|
57
61
|
multi_xml (0.6.0)
|
58
62
|
multipart-post (2.1.1)
|
59
|
-
nokogiri (1.
|
60
|
-
mini_portile2 (~> 2.
|
63
|
+
nokogiri (1.13.3)
|
64
|
+
mini_portile2 (~> 2.8.0)
|
61
65
|
racc (~> 1.4)
|
62
|
-
oauth2 (1.4.
|
63
|
-
faraday (>= 0.
|
66
|
+
oauth2 (1.4.9)
|
67
|
+
faraday (>= 0.17.3, < 3.0)
|
64
68
|
jwt (>= 1.0, < 3.0)
|
65
69
|
multi_json (~> 1.3)
|
66
70
|
multi_xml (~> 0.5)
|
67
71
|
rack (>= 1.2, < 3)
|
68
|
-
psych (4.0.
|
72
|
+
psych (4.0.3)
|
73
|
+
stringio
|
69
74
|
public_suffix (4.0.6)
|
70
|
-
racc (1.
|
75
|
+
racc (1.6.0)
|
71
76
|
rack (2.2.3)
|
72
77
|
rake (13.0.6)
|
73
78
|
rchardet (1.8.0)
|
74
|
-
rdoc (6.
|
75
|
-
|
76
|
-
|
77
|
-
rspec-
|
78
|
-
rspec-
|
79
|
-
|
80
|
-
|
81
|
-
|
79
|
+
rdoc (6.4.0)
|
80
|
+
psych (>= 4.0.0)
|
81
|
+
rspec (3.11.0)
|
82
|
+
rspec-core (~> 3.11.0)
|
83
|
+
rspec-expectations (~> 3.11.0)
|
84
|
+
rspec-mocks (~> 3.11.0)
|
85
|
+
rspec-core (3.11.0)
|
86
|
+
rspec-support (~> 3.11.0)
|
87
|
+
rspec-expectations (3.11.0)
|
82
88
|
diff-lcs (>= 1.2.0, < 2.0)
|
83
|
-
rspec-support (~> 3.
|
84
|
-
rspec-mocks (3.
|
89
|
+
rspec-support (~> 3.11.0)
|
90
|
+
rspec-mocks (3.11.0)
|
85
91
|
diff-lcs (>= 1.2.0, < 2.0)
|
86
|
-
rspec-support (~> 3.
|
87
|
-
rspec-support (3.
|
88
|
-
rspec_junit_formatter (0.
|
92
|
+
rspec-support (~> 3.11.0)
|
93
|
+
rspec-support (3.11.0)
|
94
|
+
rspec_junit_formatter (0.5.1)
|
89
95
|
rspec-core (>= 2, < 4, != 2.12.0)
|
90
96
|
ruby-prof (1.4.3)
|
91
97
|
ruby2_keywords (0.0.5)
|
@@ -96,7 +102,8 @@ GEM
|
|
96
102
|
simplecov-html (~> 0.11)
|
97
103
|
simplecov_json_formatter (~> 0.1)
|
98
104
|
simplecov-html (0.12.3)
|
99
|
-
simplecov_json_formatter (0.1.
|
105
|
+
simplecov_json_formatter (0.1.4)
|
106
|
+
stringio (3.0.1)
|
100
107
|
thread_safe (0.3.6)
|
101
108
|
|
102
109
|
PLATFORMS
|
@@ -114,4 +121,4 @@ DEPENDENCIES
|
|
114
121
|
simplecov
|
115
122
|
|
116
123
|
BUNDLED WITH
|
117
|
-
2.
|
124
|
+
2.3.5
|
data/README.rdoc
CHANGED
@@ -138,25 +138,25 @@ Please note: these methods are being phased out in favor of the OOXML object mod
|
|
138
138
|
|
139
139
|
==== Changing Alignment
|
140
140
|
===== Horizontal
|
141
|
-
center, distributed, justify, left, right
|
141
|
+
# Possible alignments: center, distributed, justify, left, right
|
142
142
|
worksheet.sheet_data[0][0].change_horizontal_alignment('center') # Sets A1 to be centered
|
143
143
|
worksheet.change_row_horizontal_alignment(0, 'justify') # Sets first row to be justified
|
144
144
|
worksheet.change_column_horizontal_alignment(0, 'right') # Sets first column to be right-aligned
|
145
145
|
|
146
146
|
===== Vertical
|
147
|
-
bottom, center, distributed, top
|
147
|
+
# Possible alignments: bottom, center, distributed, top
|
148
148
|
worksheet.sheet_data[0][0].change_vertical_alignment('bottom') # Sets A1 to be bottom aligned
|
149
149
|
worksheet.change_row_vertical_alignment(0, 'distributed') # Sets first row to be distributed vertically
|
150
150
|
worksheet.change_column_vertical_alignment(0, 'top') # Sets first column to be top aligned
|
151
151
|
|
152
152
|
===== Rotation
|
153
|
+
# Possible values:
|
154
|
+
# * 0-90 - degrees counterclockwise, around the bottom LEFT corner of the cell;
|
155
|
+
# * 91-179 - degrees clockwise, around the bottom RIGHT corner of the cell;
|
156
|
+
# * 180-254 - degrees clockwise, around the bottom LEFT corner of the cell, text becomes progressively invisible
|
157
|
+
# * 255 - text is in normal rotation but displayed vertically (one letter under another), line feed starts new line to the right of the previous.
|
153
158
|
worksheet.sheet_data[0][0].change_text_rotation(90) # Sets A1 to be rotated by 90 degrees
|
154
159
|
|
155
|
-
Values:
|
156
|
-
* 0-90 - degrees counterclockwise, around the bottom LEFT corner of the cell;
|
157
|
-
* 91-179 - degrees clockwise, around the bottom RIGHT corner of the cell;
|
158
|
-
* 180-254 - degrees clockwise, around the bottom LEFT corner of the cell, text becomes progressively invisible
|
159
|
-
* 255 - text is in normal rotation but displayed vertically (one letter under another), line feed starts new line to the right of the previous.
|
160
160
|
|
161
161
|
==== Changing Row Height
|
162
162
|
worksheet.change_row_height(0, 30) # Sets first row height to 30
|
@@ -211,6 +211,7 @@ WARNING: Use of this method WILL break formulas referencing cells which have bee
|
|
211
211
|
cell = worksheet[0][0]
|
212
212
|
cell.set_number_format '0.0000%' # For formats, see https://support.office.com/en-us/article/5026bbd6-04bc-48cd-bf33-80f18b4eae68
|
213
213
|
cell.change_text_wrap(true) # Makes the text in the cell to wrap.
|
214
|
+
cell.change_shrink_to_fit(true) # Makes the text in the cell to shrink to fit.
|
214
215
|
cell.change_text_indent(1) # Indents the text in the cell by 1 level
|
215
216
|
|
216
217
|
== I/O
|
@@ -252,5 +253,5 @@ Take a look at the files in spec/lib/ for rspecs on most methods
|
|
252
253
|
|
253
254
|
== Copyright
|
254
255
|
|
255
|
-
Copyright (c) 2011 Vivek Bhagwat, 2013-
|
256
|
+
Copyright (c) 2011 Vivek Bhagwat, 2013-2022 Wesha.
|
256
257
|
See LICENSE.txt for further details.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.4.
|
1
|
+
3.4.22
|
@@ -9,12 +9,12 @@ module RubyXL
|
|
9
9
|
self.formula = RubyXL::Formula.new(:expression => formula_expression)
|
10
10
|
else
|
11
11
|
self.datatype = case data
|
12
|
-
when Date, Numeric then nil
|
12
|
+
when Date, Time, Numeric then nil
|
13
13
|
else RubyXL::DataType::RAW_STRING
|
14
14
|
end
|
15
15
|
end
|
16
16
|
|
17
|
-
data = workbook.date_to_num(data) if data.is_a?(Date)
|
17
|
+
data = workbook.date_to_num(data) if data.is_a?(Date) || data.is_a?(Time)
|
18
18
|
|
19
19
|
self.raw_value = data
|
20
20
|
end
|
@@ -54,6 +54,11 @@ module RubyXL
|
|
54
54
|
self.style_index = workbook.modify_alignment(self.style_index) { |a| a.wrap_text = wrap }
|
55
55
|
end
|
56
56
|
|
57
|
+
def change_shrink_to_fit(shrink_to_fit = false)
|
58
|
+
validate_worksheet
|
59
|
+
self.style_index = workbook.modify_alignment(self.style_index) { |a| a.shrink_to_fit = shrink_to_fit }
|
60
|
+
end
|
61
|
+
|
57
62
|
def change_text_rotation(rot)
|
58
63
|
validate_worksheet
|
59
64
|
self.style_index = workbook.modify_alignment(self.style_index) { |a| a.text_rotation = rot }
|
@@ -135,12 +140,12 @@ module RubyXL
|
|
135
140
|
return nil if xf_obj.alignment.nil?
|
136
141
|
xf_obj.alignment.wrap_text
|
137
142
|
end
|
138
|
-
|
143
|
+
|
139
144
|
def text_rotation
|
140
145
|
validate_worksheet
|
141
146
|
xf_obj = get_cell_xf
|
142
147
|
return nil if xf_obj.alignment.nil?
|
143
|
-
xf_obj.alignment.text_rotation
|
148
|
+
xf_obj.alignment.text_rotation
|
144
149
|
end
|
145
150
|
|
146
151
|
def text_indent()
|
@@ -130,6 +130,14 @@ module RubyXL
|
|
130
130
|
self.defined_names && self.defined_names.find { |n| n.name == name }
|
131
131
|
end
|
132
132
|
|
133
|
+
def title
|
134
|
+
self.root.core_properties.dc_title && self.root.core_properties.dc_title.value
|
135
|
+
end
|
136
|
+
|
137
|
+
def title=(v)
|
138
|
+
self.root.core_properties.dc_title = v && RubyXL::StringNode.new(:value => v)
|
139
|
+
end
|
140
|
+
|
133
141
|
end
|
134
142
|
|
135
143
|
RubyXL::Workbook.send(:include, RubyXL::WorkbookConvenienceMethods) # ruby 2.1 compat
|
data/lib/rubyXL/objects/font.rb
CHANGED
@@ -21,7 +21,7 @@ module RubyXL
|
|
21
21
|
define_child_node(RubyXL::BooleanValue, :node_name => :extend)
|
22
22
|
define_child_node(RubyXL::Color)
|
23
23
|
define_child_node(RubyXL::FloatValue, :node_name => :sz)
|
24
|
-
define_child_node(RubyXL::
|
24
|
+
define_child_node(RubyXL::StringValue, :node_name => :u) # ST_UnderlineValues (http://www.datypic.com/sc/ooxml/e-ssml_u-1.html)
|
25
25
|
define_child_node(RubyXL::StringValue, :node_name => :vertAlign)
|
26
26
|
define_child_node(RubyXL::StringValue, :node_name => :scheme)
|
27
27
|
define_element_name 'font'
|
@@ -12,10 +12,10 @@ module RubyXL
|
|
12
12
|
# addressing variable by name creates it in the context of defining class, while calling
|
13
13
|
# the setter/getter method addresses it in the context of descendant class,
|
14
14
|
# which is what we need.
|
15
|
-
def obtain_class_variable(var_name, default =
|
15
|
+
def obtain_class_variable(var_name, default = nil)
|
16
16
|
self.class_variable_get(var_name)
|
17
17
|
rescue NameError
|
18
|
-
self.class_variable_set(var_name, default)
|
18
|
+
self.class_variable_set(var_name, default || {})
|
19
19
|
end
|
20
20
|
|
21
21
|
# Defines an attribute of OOXML object.
|
@@ -45,9 +45,10 @@ module RubyXL
|
|
45
45
|
# The value of the element will be accessible as a <tt>String</tt> by calling +obj.expression+
|
46
46
|
# define_attribute(:errorStyle, %w{ stop warning information }, :default => 'stop',)
|
47
47
|
# A <tt>String</tt> attribute named 'errorStyle' will be accessible as +obj.error_style+, valid values are <tt>"stop"</tt>, <tt>"warning"</tt>, <tt>"information"</tt>
|
48
|
-
def define_attribute(attr_name, attr_type, extra_params =
|
48
|
+
def define_attribute(attr_name, attr_type, extra_params = nil)
|
49
49
|
attrs = obtain_class_variable(:@@ooxml_attributes)
|
50
|
-
attr_hash =
|
50
|
+
attr_hash = { :attr_type => attr_type }
|
51
|
+
attr_hash.merge!(extra_params) if extra_params
|
51
52
|
attr_hash[:accessor] ||= accessorize(attr_name)
|
52
53
|
attrs[attr_name.to_s] = attr_hash
|
53
54
|
self.send(:attr_accessor, attr_hash[:accessor]) unless attr_hash[:computed]
|
@@ -224,8 +225,9 @@ module RubyXL
|
|
224
225
|
end
|
225
226
|
private :obtain_class_variable
|
226
227
|
|
227
|
-
def initialize(params =
|
228
|
+
def initialize(params = nil)
|
228
229
|
@local_namespaces = nil
|
230
|
+
params ||= {}
|
229
231
|
|
230
232
|
obtain_class_variable(:@@ooxml_attributes).each_value { |v|
|
231
233
|
instance_variable_set("@#{v[:accessor]}", params[v[:accessor]]) unless v[:computed]
|
@@ -71,7 +71,7 @@ module RubyXL
|
|
71
71
|
end
|
72
72
|
|
73
73
|
# Converts +row+ and +col+ zero-based indices to Excel-style cell reference
|
74
|
-
#
|
74
|
+
# <0> A...Z, AA...AZ, BA... ...ZZ, AAA... ...AZZ, BAA... ...XFD <16383>
|
75
75
|
def self.ind2ref(row = 0, col = 0)
|
76
76
|
str = ''
|
77
77
|
|
@@ -88,10 +88,7 @@ module RubyXL
|
|
88
88
|
# Converts Excel-style cell reference to +row+ and +col+ zero-based indices.
|
89
89
|
def self.ref2ind(str)
|
90
90
|
return [ -1, -1 ] unless str =~ /\A([A-Z]+)(\d+)\Z/
|
91
|
-
|
92
|
-
col = 0
|
93
|
-
$1.each_byte { |chr| col = col * 26 + (chr - 64) }
|
94
|
-
[ $2.to_i - 1, col - 1 ]
|
91
|
+
[ $2.to_i - 1, $1.each_byte.inject(0) { |col, chr| col * 26 + (chr - 64) } - 1 ]
|
95
92
|
end
|
96
93
|
|
97
94
|
end
|
@@ -223,6 +223,8 @@ module RubyXL
|
|
223
223
|
|
224
224
|
ST_TextUnderlineType = %w{ none words sng dbl heavy dotted dottedHeavy dash dashHeavy dashLong dashLongHeavy
|
225
225
|
dotDash dotDashHeavy dotDotDash dotDotDashHeavy wavy wavyHeavy wavyDbl }
|
226
|
+
ST_UnderlineValues = %w{ single double singleAccounting doubleAccounting none }
|
227
|
+
|
226
228
|
ST_TextStrikeType = %w{ noStrike sngStrike dblStrike }
|
227
229
|
ST_TextCapsType = %w{ none small all }
|
228
230
|
|
data/lib/rubyXL/objects/text.rb
CHANGED
@@ -85,7 +85,8 @@ module RubyXL
|
|
85
85
|
define_element_name 'is'
|
86
86
|
|
87
87
|
def to_s
|
88
|
-
|
88
|
+
# `dup` here unfreezes the string since it's not a constant but initial value
|
89
|
+
str = if t.nil? then ''.dup else t.to_s end
|
89
90
|
r && r.each { |rtr| str << rtr.to_s if rtr }
|
90
91
|
str
|
91
92
|
end
|
data/rdoc/README_rdoc.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>README - rubyXL 3.4.
|
7
|
+
<title>README - rubyXL 3.4.22</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "./";
|
@@ -297,38 +297,30 @@
|
|
297
297
|
|
298
298
|
<h5 id="label-Horizontal">Horizontal<span><a href="#label-Horizontal">¶</a> <a href="#top">↑</a></span></h5>
|
299
299
|
|
300
|
-
<
|
301
|
-
|
302
|
-
<pre class="ruby"><span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">sheet_data</span>[<span class="ruby-value">0</span>][<span class="ruby-value">0</span>].<span class="ruby-identifier">change_horizontal_alignment</span>(<span class="ruby-string">'center'</span>) <span class="ruby-comment"># Sets A1 to be centered</span>
|
300
|
+
<pre class="ruby"><span class="ruby-comment"># Possible alignments: center, distributed, justify, left, right</span>
|
301
|
+
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">sheet_data</span>[<span class="ruby-value">0</span>][<span class="ruby-value">0</span>].<span class="ruby-identifier">change_horizontal_alignment</span>(<span class="ruby-string">'center'</span>) <span class="ruby-comment"># Sets A1 to be centered</span>
|
303
302
|
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">change_row_horizontal_alignment</span>(<span class="ruby-value">0</span>, <span class="ruby-string">'justify'</span>) <span class="ruby-comment"># Sets first row to be justified</span>
|
304
303
|
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">change_column_horizontal_alignment</span>(<span class="ruby-value">0</span>, <span class="ruby-string">'right'</span>) <span class="ruby-comment"># Sets first column to be right-aligned</span>
|
305
304
|
</pre>
|
306
305
|
|
307
306
|
<h5 id="label-Vertical">Vertical<span><a href="#label-Vertical">¶</a> <a href="#top">↑</a></span></h5>
|
308
307
|
|
309
|
-
<
|
310
|
-
|
311
|
-
<pre class="ruby"><span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">sheet_data</span>[<span class="ruby-value">0</span>][<span class="ruby-value">0</span>].<span class="ruby-identifier">change_vertical_alignment</span>(<span class="ruby-string">'bottom'</span>) <span class="ruby-comment"># Sets A1 to be bottom aligned</span>
|
308
|
+
<pre class="ruby"><span class="ruby-comment"># Possible alignments: bottom, center, distributed, top</span>
|
309
|
+
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">sheet_data</span>[<span class="ruby-value">0</span>][<span class="ruby-value">0</span>].<span class="ruby-identifier">change_vertical_alignment</span>(<span class="ruby-string">'bottom'</span>) <span class="ruby-comment"># Sets A1 to be bottom aligned</span>
|
312
310
|
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">change_row_vertical_alignment</span>(<span class="ruby-value">0</span>, <span class="ruby-string">'distributed'</span>) <span class="ruby-comment"># Sets first row to be distributed vertically</span>
|
313
311
|
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">change_column_vertical_alignment</span>(<span class="ruby-value">0</span>, <span class="ruby-string">'top'</span>) <span class="ruby-comment"># Sets first column to be top aligned</span>
|
314
312
|
</pre>
|
315
313
|
|
316
314
|
<h5 id="label-Rotation">Rotation<span><a href="#label-Rotation">¶</a> <a href="#top">↑</a></span></h5>
|
317
315
|
|
318
|
-
<pre class="ruby"><span class="ruby-
|
316
|
+
<pre class="ruby"><span class="ruby-comment"># Possible values:</span>
|
317
|
+
<span class="ruby-comment"># * 0-90 - degrees counterclockwise, around the bottom LEFT corner of the cell;</span>
|
318
|
+
<span class="ruby-comment"># * 91-179 - degrees clockwise, around the bottom RIGHT corner of the cell;</span>
|
319
|
+
<span class="ruby-comment"># * 180-254 - degrees clockwise, around the bottom LEFT corner of the cell, text becomes progressively invisible</span>
|
320
|
+
<span class="ruby-comment"># * 255 - text is in normal rotation but displayed vertically (one letter under another), line feed starts new line to the right of the previous.</span>
|
321
|
+
<span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">sheet_data</span>[<span class="ruby-value">0</span>][<span class="ruby-value">0</span>].<span class="ruby-identifier">change_text_rotation</span>(<span class="ruby-value">90</span>) <span class="ruby-comment"># Sets A1 to be rotated by 90 degrees</span>
|
319
322
|
</pre>
|
320
323
|
|
321
|
-
<p>Values:</p>
|
322
|
-
<ul><li>
|
323
|
-
<p>0-90 - degrees counterclockwise, around the bottom LEFT corner of the cell;</p>
|
324
|
-
</li><li>
|
325
|
-
<p>91-179 - degrees clockwise, around the bottom RIGHT corner of the cell;</p>
|
326
|
-
</li><li>
|
327
|
-
<p>180-254 - degrees clockwise, around the bottom LEFT corner of the cell, text becomes progressively invisible</p>
|
328
|
-
</li><li>
|
329
|
-
<p>255 - text is in normal rotation but displayed vertically (one letter under another), line feed starts new line to the right of the previous.</p>
|
330
|
-
</li></ul>
|
331
|
-
|
332
324
|
<h4 id="label-Changing+Row+Height">Changing Row Height<span><a href="#label-Changing+Row+Height">¶</a> <a href="#top">↑</a></span></h4>
|
333
325
|
|
334
326
|
<pre class="ruby"><span class="ruby-identifier">worksheet</span>.<span class="ruby-identifier">change_row_height</span>(<span class="ruby-value">0</span>, <span class="ruby-value">30</span>) <span class="ruby-comment"># Sets first row height to 30</span>
|
@@ -407,6 +399,7 @@
|
|
407
399
|
<pre class="ruby"><span class="ruby-identifier">cell</span> = <span class="ruby-identifier">worksheet</span>[<span class="ruby-value">0</span>][<span class="ruby-value">0</span>]
|
408
400
|
<span class="ruby-identifier">cell</span>.<span class="ruby-identifier">set_number_format</span> <span class="ruby-string">'0.0000%'</span> <span class="ruby-comment"># For formats, see https://support.office.com/en-us/article/5026bbd6-04bc-48cd-bf33-80f18b4eae68</span>
|
409
401
|
<span class="ruby-identifier">cell</span>.<span class="ruby-identifier">change_text_wrap</span>(<span class="ruby-keyword">true</span>) <span class="ruby-comment"># Makes the text in the cell to wrap.</span>
|
402
|
+
<span class="ruby-identifier">cell</span>.<span class="ruby-identifier">change_shrink_to_fit</span>(<span class="ruby-keyword">true</span>) <span class="ruby-comment"># Makes the text in the cell to shrink to fit.</span>
|
410
403
|
<span class="ruby-identifier">cell</span>.<span class="ruby-identifier">change_text_indent</span>(<span class="ruby-value">1</span>) <span class="ruby-comment"># Indents the text in the cell by 1 level</span>
|
411
404
|
</pre>
|
412
405
|
|
@@ -446,9 +439,9 @@
|
|
446
439
|
|
447
440
|
<h2 id="label-Contributing+to+rubyXL">Contributing to rubyXL<span><a href="#label-Contributing+to+rubyXL">¶</a> <a href="#top">↑</a></span></h2>
|
448
441
|
<ul><li>
|
449
|
-
<p>Check out the latest master to make sure the feature hasn
|
442
|
+
<p>Check out the latest master to make sure the feature hasn’t been implemented or the bug hasn’t been fixed yet</p>
|
450
443
|
</li><li>
|
451
|
-
<p>Check out the issue tracker to make sure someone already hasn
|
444
|
+
<p>Check out the issue tracker to make sure someone already hasn’t requested it and/or contributed it</p>
|
452
445
|
</li><li>
|
453
446
|
<p>Fork the project</p>
|
454
447
|
</li><li>
|
@@ -456,14 +449,14 @@
|
|
456
449
|
</li><li>
|
457
450
|
<p>Commit and push until you are happy with your contribution</p>
|
458
451
|
</li><li>
|
459
|
-
<p>Make sure to add tests for it. This is important so I don
|
452
|
+
<p>Make sure to add tests for it. This is important so I don’t break it in a future version unintentionally.</p>
|
460
453
|
</li><li>
|
461
454
|
<p>Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.</p>
|
462
455
|
</li></ul>
|
463
456
|
|
464
457
|
<h2 id="label-Copyright">Copyright<span><a href="#label-Copyright">¶</a> <a href="#top">↑</a></span></h2>
|
465
458
|
|
466
|
-
<p>Copyright © 2011 Vivek Bhagwat, 2013-
|
459
|
+
<p>Copyright © 2011 Vivek Bhagwat, 2013-2022 Wesha. See LICENSE.txt for further details.</p>
|
467
460
|
|
468
461
|
</main>
|
469
462
|
|
@@ -471,7 +464,7 @@
|
|
471
464
|
|
472
465
|
<footer id="validator-badges" role="contentinfo">
|
473
466
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
474
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
467
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.
|
475
468
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
476
469
|
</footer>
|
477
470
|
|
data/rdoc/RubyXL/AExtension.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::AExtension - rubyXL 3.4.
|
7
|
+
<title>class RubyXL::AExtension - rubyXL 3.4.22</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -177,7 +177,7 @@
|
|
177
177
|
|
178
178
|
<footer id="validator-badges" role="contentinfo">
|
179
179
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
180
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
180
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.
|
181
181
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
182
182
|
</footer>
|
183
183
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::AExtensionStorageArea - rubyXL 3.4.
|
7
|
+
<title>class RubyXL::AExtensionStorageArea - rubyXL 3.4.22</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -91,7 +91,7 @@
|
|
91
91
|
|
92
92
|
<footer id="validator-badges" role="contentinfo">
|
93
93
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
94
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
94
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.
|
95
95
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
96
96
|
</footer>
|
97
97
|
|
data/rdoc/RubyXL/ActiveX.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::ActiveX - rubyXL 3.4.
|
7
|
+
<title>class RubyXL::ActiveX - rubyXL 3.4.22</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -148,7 +148,7 @@
|
|
148
148
|
|
149
149
|
<footer id="validator-badges" role="contentinfo">
|
150
150
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
151
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
151
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.
|
152
152
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
153
153
|
</footer>
|
154
154
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::ActiveXBinary - rubyXL 3.4.
|
7
|
+
<title>class RubyXL::ActiveXBinary - rubyXL 3.4.22</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -100,7 +100,7 @@
|
|
100
100
|
|
101
101
|
<footer id="validator-badges" role="contentinfo">
|
102
102
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
103
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
103
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.
|
104
104
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
105
105
|
</footer>
|
106
106
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::AdjustHandleList - rubyXL 3.4.
|
7
|
+
<title>class RubyXL::AdjustHandleList - rubyXL 3.4.22</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -93,7 +93,7 @@
|
|
93
93
|
|
94
94
|
<footer id="validator-badges" role="contentinfo">
|
95
95
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
96
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
96
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.
|
97
97
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
98
98
|
</footer>
|
99
99
|
|
data/rdoc/RubyXL/Alignment.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::Alignment - rubyXL 3.4.
|
7
|
+
<title>class RubyXL::Alignment - rubyXL 3.4.22</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -93,7 +93,7 @@
|
|
93
93
|
|
94
94
|
<footer id="validator-badges" role="contentinfo">
|
95
95
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
96
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
96
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.
|
97
97
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
98
98
|
</footer>
|
99
99
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::AlternateContent - rubyXL 3.4.
|
7
|
+
<title>class RubyXL::AlternateContent - rubyXL 3.4.22</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -91,7 +91,7 @@
|
|
91
91
|
|
92
92
|
<footer id="validator-badges" role="contentinfo">
|
93
93
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
94
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
94
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.
|
95
95
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
96
96
|
</footer>
|
97
97
|
|
data/rdoc/RubyXL/Authors.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::Authors - rubyXL 3.4.
|
7
|
+
<title>class RubyXL::Authors - rubyXL 3.4.22</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -93,7 +93,7 @@
|
|
93
93
|
|
94
94
|
<footer id="validator-badges" role="contentinfo">
|
95
95
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
96
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
96
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.
|
97
97
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
98
98
|
</footer>
|
99
99
|
|
data/rdoc/RubyXL/AutoFilter.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::AutoFilter - rubyXL 3.4.
|
7
|
+
<title>class RubyXL::AutoFilter - rubyXL 3.4.22</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -93,7 +93,7 @@
|
|
93
93
|
|
94
94
|
<footer id="validator-badges" role="contentinfo">
|
95
95
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
96
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
96
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.
|
97
97
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
98
98
|
</footer>
|
99
99
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>class RubyXL::AutoFilterColumn - rubyXL 3.4.
|
7
|
+
<title>class RubyXL::AutoFilterColumn - rubyXL 3.4.22</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
@@ -93,7 +93,7 @@
|
|
93
93
|
|
94
94
|
<footer id="validator-badges" role="contentinfo">
|
95
95
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
96
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
96
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.
|
97
97
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
98
98
|
</footer>
|
99
99
|
|