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