rubyXL 3.3.33 → 3.4.25
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 +60 -0
- data/Gemfile +9 -8
- data/Gemfile.lock +124 -0
- data/LICENSE.txt +1 -1
- data/README.rdoc +46 -22
- data/Rakefile +29 -29
- data/VERSION +1 -1
- data/lib/rubyXL/cell.rb +2 -29
- data/lib/rubyXL/convenience_methods/cell.rb +276 -0
- data/lib/rubyXL/convenience_methods/color.rb +156 -0
- data/lib/rubyXL/convenience_methods/font.rb +63 -0
- data/lib/rubyXL/convenience_methods/workbook.rb +141 -0
- data/lib/rubyXL/convenience_methods/worksheet.rb +714 -0
- data/lib/rubyXL/convenience_methods.rb +5 -1301
- 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 +8 -12
- data/lib/rubyXL/objects/color.rb +3 -7
- data/lib/rubyXL/objects/column_range.rb +0 -3
- data/lib/rubyXL/objects/comments.rb +1 -4
- data/lib/rubyXL/objects/connection.rb +175 -0
- 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 +11 -15
- data/lib/rubyXL/objects/extensions.rb +0 -2
- data/lib/rubyXL/objects/external_links.rb +30 -8
- data/lib/rubyXL/objects/fill.rb +2 -5
- data/lib/rubyXL/objects/filters.rb +5 -7
- data/lib/rubyXL/objects/font.rb +2 -7
- data/lib/rubyXL/objects/formula.rb +3 -5
- data/lib/rubyXL/objects/ooxml_object.rb +26 -19
- data/lib/rubyXL/objects/query_table.rb +104 -0
- data/lib/rubyXL/objects/reference.rb +6 -8
- data/lib/rubyXL/objects/relationships.rb +13 -13
- data/lib/rubyXL/objects/root.rb +0 -2
- data/lib/rubyXL/objects/shared_strings.rb +3 -6
- data/lib/rubyXL/objects/sheet_common.rb +1 -3
- data/lib/rubyXL/objects/sheet_data.rb +38 -11
- data/lib/rubyXL/objects/simple_types.rb +16 -1
- data/lib/rubyXL/objects/storage.rb +51 -50
- data/lib/rubyXL/objects/stylesheet.rb +8 -15
- data/lib/rubyXL/objects/text.rb +5 -7
- data/lib/rubyXL/objects/theme.rb +5 -8
- data/lib/rubyXL/objects/workbook.rb +140 -33
- data/lib/rubyXL/objects/worksheet.rb +44 -31
- data/lib/rubyXL/parser.rb +1 -3
- data/lib/rubyXL/worksheet.rb +83 -91
- data/lib/rubyXL.rb +1 -1
- data/rdoc/README_rdoc.html +111 -126
- data/rdoc/RubyXL/AExtension.html +20 -60
- data/rdoc/RubyXL/AExtensionStorageArea.html +11 -17
- data/rdoc/RubyXL/ActiveX.html +19 -47
- data/rdoc/RubyXL/ActiveXBinary.html +11 -22
- data/rdoc/RubyXL/AdjustHandleList.html +12 -19
- data/rdoc/RubyXL/Alignment.html +12 -19
- data/rdoc/RubyXL/AlternateContent.html +11 -17
- data/rdoc/RubyXL/Authors.html +12 -19
- data/rdoc/RubyXL/AutoFilter.html +12 -19
- data/rdoc/RubyXL/AutoFilterColumn.html +12 -19
- data/rdoc/RubyXL/BinaryImageFile.html +11 -25
- data/rdoc/RubyXL/BodyProperties.html +12 -19
- data/rdoc/RubyXL/BooleanNode.html +11 -17
- data/rdoc/RubyXL/BooleanValue.html +11 -17
- data/rdoc/RubyXL/Border.html +24 -84
- data/rdoc/RubyXL/BorderEdge.html +19 -52
- data/rdoc/RubyXL/Borders.html +18 -39
- data/rdoc/RubyXL/Break.html +12 -19
- data/rdoc/RubyXL/BreakList.html +12 -19
- data/rdoc/RubyXL/CT_AdjPoint2D.html +12 -19
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +12 -19
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +12 -19
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +12 -19
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +12 -19
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +12 -19
- data/rdoc/RubyXL/CT_Backdrop.html +12 -19
- data/rdoc/RubyXL/CT_Bevel.html +12 -19
- data/rdoc/RubyXL/CT_BiLevelEffect.html +12 -19
- data/rdoc/RubyXL/CT_BlendEffect.html +12 -19
- data/rdoc/RubyXL/CT_Blip.html +12 -19
- data/rdoc/RubyXL/CT_BlipFillProperties.html +12 -19
- data/rdoc/RubyXL/CT_BlurEffect.html +12 -19
- data/rdoc/RubyXL/CT_Camera.html +12 -19
- data/rdoc/RubyXL/CT_Color.html +12 -19
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +12 -19
- data/rdoc/RubyXL/CT_ColorMapping.html +12 -19
- data/rdoc/RubyXL/CT_ColorScheme.html +12 -19
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +12 -19
- data/rdoc/RubyXL/CT_ConnectionSite.html +12 -19
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +12 -19
- data/rdoc/RubyXL/CT_DashStop.html +12 -19
- data/rdoc/RubyXL/CT_DashStopList.html +12 -19
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +12 -19
- data/rdoc/RubyXL/CT_DuotoneEffect.html +12 -19
- data/rdoc/RubyXL/CT_EffectContainer.html +12 -19
- data/rdoc/RubyXL/CT_EffectList.html +12 -19
- data/rdoc/RubyXL/CT_EffectReference.html +12 -19
- data/rdoc/RubyXL/CT_EffectStyleItem.html +12 -19
- data/rdoc/RubyXL/CT_EffectStyleList.html +12 -19
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +12 -19
- data/rdoc/RubyXL/CT_FillEffect.html +12 -19
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +12 -19
- data/rdoc/RubyXL/CT_FillStyleList.html +12 -19
- data/rdoc/RubyXL/CT_FlatText.html +12 -19
- data/rdoc/RubyXL/CT_FontCollection.html +12 -19
- data/rdoc/RubyXL/CT_FontReference.html +12 -19
- data/rdoc/RubyXL/CT_GeomGuideList.html +12 -19
- data/rdoc/RubyXL/CT_GlowEffect.html +12 -19
- data/rdoc/RubyXL/CT_GradientFillProperties.html +12 -19
- data/rdoc/RubyXL/CT_GradientStop.html +12 -19
- data/rdoc/RubyXL/CT_GradientStopList.html +12 -19
- data/rdoc/RubyXL/CT_HSLEffect.html +12 -19
- data/rdoc/RubyXL/CT_HslColor.html +12 -19
- data/rdoc/RubyXL/CT_Hyperlink.html +12 -19
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +12 -19
- data/rdoc/RubyXL/CT_LightRig.html +12 -19
- data/rdoc/RubyXL/CT_LineEndProperties.html +12 -19
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +12 -19
- data/rdoc/RubyXL/CT_LineProperties.html +12 -19
- data/rdoc/RubyXL/CT_LineStyleList.html +12 -19
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +12 -19
- data/rdoc/RubyXL/CT_LuminanceEffect.html +12 -19
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +12 -19
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +12 -19
- data/rdoc/RubyXL/CT_Path2D.html +12 -19
- data/rdoc/RubyXL/CT_Path2DArcTo.html +12 -19
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +12 -19
- data/rdoc/RubyXL/CT_Path2DList.html +12 -19
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +12 -19
- data/rdoc/RubyXL/CT_Path2DTo.html +12 -19
- data/rdoc/RubyXL/CT_PathShadeProperties.html +12 -19
- data/rdoc/RubyXL/CT_PatternFillProperties.html +12 -19
- data/rdoc/RubyXL/CT_Point3D.html +12 -19
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +12 -19
- data/rdoc/RubyXL/CT_PresetColor.html +12 -19
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +12 -19
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +12 -19
- data/rdoc/RubyXL/CT_PresetTextShape.html +12 -19
- data/rdoc/RubyXL/CT_ReflectionEffect.html +12 -19
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +12 -19
- data/rdoc/RubyXL/CT_RelativeRect.html +12 -19
- data/rdoc/RubyXL/CT_SRgbColor.html +12 -19
- data/rdoc/RubyXL/CT_ScRgbColor.html +12 -19
- data/rdoc/RubyXL/CT_Scene3D.html +12 -19
- data/rdoc/RubyXL/CT_SchemeColor.html +12 -19
- data/rdoc/RubyXL/CT_Shape3D.html +12 -19
- data/rdoc/RubyXL/CT_ShapeStyle.html +12 -19
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +12 -19
- data/rdoc/RubyXL/CT_SphereCoords.html +12 -19
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +12 -19
- data/rdoc/RubyXL/CT_StyleMatrix.html +12 -19
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +12 -19
- data/rdoc/RubyXL/CT_SupplementalFont.html +12 -19
- data/rdoc/RubyXL/CT_SystemColor.html +12 -19
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +12 -19
- data/rdoc/RubyXL/CT_TextBlipBullet.html +12 -19
- data/rdoc/RubyXL/CT_TextCharBullet.html +12 -19
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +12 -19
- data/rdoc/RubyXL/CT_TextFont.html +12 -19
- data/rdoc/RubyXL/CT_TextListStyle.html +12 -19
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +12 -19
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +12 -19
- data/rdoc/RubyXL/CT_TextSpacing.html +12 -19
- data/rdoc/RubyXL/CT_TextTabStop.html +12 -19
- data/rdoc/RubyXL/CT_TextTabStopList.html +12 -19
- data/rdoc/RubyXL/CT_TileInfoProperties.html +12 -19
- data/rdoc/RubyXL/CT_TintEffect.html +12 -19
- data/rdoc/RubyXL/CT_Transform2D.html +12 -19
- data/rdoc/RubyXL/CT_TransformEffect.html +12 -19
- data/rdoc/RubyXL/CT_Vector3D.html +12 -19
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +12 -19
- data/rdoc/RubyXL/CalculationChain.html +16 -45
- data/rdoc/RubyXL/CalculationChainCell.html +12 -19
- data/rdoc/RubyXL/CalculationProperties.html +12 -19
- data/rdoc/RubyXL/Cell.html +133 -209
- data/rdoc/RubyXL/CellConvenienceMethods.html +168 -522
- data/rdoc/RubyXL/CellExt.html +12 -19
- data/rdoc/RubyXL/CellSmartTag.html +12 -19
- data/rdoc/RubyXL/CellSmartTagProperty.html +12 -19
- data/rdoc/RubyXL/CellSmartTags.html +12 -19
- data/rdoc/RubyXL/CellStyle.html +12 -19
- data/rdoc/RubyXL/CellStyleXFs.html +18 -39
- data/rdoc/RubyXL/CellStyles.html +18 -39
- data/rdoc/RubyXL/CellValue.html +17 -38
- data/rdoc/RubyXL/CellWatch.html +12 -19
- data/rdoc/RubyXL/CellWatches.html +12 -19
- data/rdoc/RubyXL/CellXFs.html +19 -42
- data/rdoc/RubyXL/ChartColorsFile.html +11 -25
- data/rdoc/RubyXL/ChartFile.html +18 -49
- data/rdoc/RubyXL/ChartStyleFile.html +11 -25
- data/rdoc/RubyXL/ChartUserShapesFile.html +11 -25
- data/rdoc/RubyXL/Chartsheet.html +19 -68
- data/rdoc/RubyXL/ChartsheetPageSetup.html +12 -19
- data/rdoc/RubyXL/ChartsheetProperties.html +12 -19
- data/rdoc/RubyXL/ChartsheetProtection.html +12 -19
- data/rdoc/RubyXL/ChartsheetView.html +12 -19
- data/rdoc/RubyXL/ChartsheetViews.html +12 -19
- data/rdoc/RubyXL/Color.html +18 -55
- data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +18 -65
- data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +28 -88
- data/rdoc/RubyXL/ColorConvenienceClasses.html +9 -14
- data/rdoc/RubyXL/ColorConvenienceMethods.html +14 -33
- data/rdoc/RubyXL/ColorFilter.html +12 -19
- data/rdoc/RubyXL/ColorScale.html +12 -19
- data/rdoc/RubyXL/ColorSet.html +12 -19
- data/rdoc/RubyXL/Colors.html +12 -19
- data/rdoc/RubyXL/ColumnRange.html +22 -74
- data/rdoc/RubyXL/ColumnRanges.html +23 -83
- data/rdoc/RubyXL/Comment.html +12 -19
- data/rdoc/RubyXL/CommentList.html +12 -19
- data/rdoc/RubyXL/CommentsFile.html +17 -51
- data/rdoc/RubyXL/ConditionalFormatValue.html +12 -19
- data/rdoc/RubyXL/ConditionalFormatting.html +12 -19
- data/rdoc/RubyXL/ConditionalFormattingRule.html +12 -19
- data/rdoc/RubyXL/Connection.html +99 -0
- data/rdoc/RubyXL/ConnectionTable.html +99 -0
- data/rdoc/RubyXL/ConnectionTables.html +99 -0
- data/rdoc/RubyXL/ConnectionTextField.html +99 -0
- data/rdoc/RubyXL/ConnectionTextFields.html +99 -0
- data/rdoc/RubyXL/Connections.html +147 -0
- data/rdoc/RubyXL/ContentTypeDefault.html +11 -17
- data/rdoc/RubyXL/ContentTypeOverride.html +11 -17
- data/rdoc/RubyXL/ContentTypes.html +22 -63
- data/rdoc/RubyXL/ControlPropertiesFile.html +13 -22
- data/rdoc/RubyXL/CorePropertiesFile.html +34 -171
- data/rdoc/RubyXL/CustomColor.html +12 -19
- data/rdoc/RubyXL/CustomColorList.html +12 -19
- data/rdoc/RubyXL/CustomFilter.html +12 -19
- data/rdoc/RubyXL/CustomFilters.html +12 -19
- data/rdoc/RubyXL/CustomGeometry.html +12 -19
- data/rdoc/RubyXL/CustomProperties.html +12 -19
- data/rdoc/RubyXL/CustomPropertiesFile.html +11 -25
- data/rdoc/RubyXL/CustomProperty.html +12 -19
- data/rdoc/RubyXL/CustomPropertyFile.html +11 -25
- data/rdoc/RubyXL/CustomSheetView.html +12 -19
- data/rdoc/RubyXL/CustomSheetViews.html +12 -19
- data/rdoc/RubyXL/CustomWorkbookView.html +12 -19
- data/rdoc/RubyXL/CustomWorkbookViews.html +12 -19
- data/rdoc/RubyXL/CustomXMLFile.html +11 -22
- data/rdoc/RubyXL/DXF.html +12 -19
- data/rdoc/RubyXL/DXFs.html +12 -19
- data/rdoc/RubyXL/DataBar.html +12 -19
- data/rdoc/RubyXL/DataConsolidate.html +12 -19
- data/rdoc/RubyXL/DataConsolidationReference.html +12 -19
- data/rdoc/RubyXL/DataConsolidationReferences.html +12 -19
- data/rdoc/RubyXL/DataType.html +10 -39
- data/rdoc/RubyXL/DataValidation.html +12 -19
- data/rdoc/RubyXL/DataValidations.html +12 -19
- data/rdoc/RubyXL/DateGroupItem.html +12 -19
- data/rdoc/RubyXL/DefinedName.html +12 -19
- data/rdoc/RubyXL/DefinedNameExt.html +12 -19
- data/rdoc/RubyXL/DefinedNames.html +12 -19
- data/rdoc/RubyXL/DefinedNamesExt.html +12 -19
- data/rdoc/RubyXL/DocumentPropertiesFile.html +21 -68
- data/rdoc/RubyXL/DrawingFile.html +18 -49
- data/rdoc/RubyXL/DynamicFilter.html +12 -19
- data/rdoc/RubyXL/EmbeddedControl.html +12 -19
- data/rdoc/RubyXL/EmbeddedControls.html +12 -19
- data/rdoc/RubyXL/Extension.html +12 -19
- data/rdoc/RubyXL/ExtensionStorageArea.html +12 -19
- data/rdoc/RubyXL/Extents.html +12 -19
- data/rdoc/RubyXL/ExternalBook.html +12 -19
- data/rdoc/RubyXL/ExternalLinksFile.html +18 -49
- data/rdoc/RubyXL/ExternalReference.html +12 -19
- data/rdoc/RubyXL/ExternalReferences.html +12 -19
- data/rdoc/RubyXL/ExtraColorSchemeList.html +12 -19
- data/rdoc/RubyXL/FieldItem.html +12 -19
- data/rdoc/RubyXL/FileRecoveryProperties.html +12 -19
- data/rdoc/RubyXL/FileSharing.html +12 -19
- data/rdoc/RubyXL/FileVersion.html +12 -19
- data/rdoc/RubyXL/Fill.html +18 -39
- data/rdoc/RubyXL/Fills.html +18 -39
- data/rdoc/RubyXL/FilterContainer.html +12 -19
- data/rdoc/RubyXL/FloatNode.html +11 -17
- data/rdoc/RubyXL/FloatValue.html +11 -17
- data/rdoc/RubyXL/Font.html +21 -59
- data/rdoc/RubyXL/FontConvenienceMethods.html +48 -237
- data/rdoc/RubyXL/FontScheme.html +12 -19
- data/rdoc/RubyXL/Fonts.html +18 -39
- data/rdoc/RubyXL/Formula.html +12 -19
- data/rdoc/RubyXL/FunctionGroup.html +12 -19
- data/rdoc/RubyXL/FunctionGroups.html +12 -19
- data/rdoc/RubyXL/GenericStorageObject.html +21 -84
- data/rdoc/RubyXL/GradientFill.html +12 -19
- data/rdoc/RubyXL/HeaderFooterSettings.html +12 -19
- data/rdoc/RubyXL/Hyperlink.html +12 -19
- data/rdoc/RubyXL/HyperlinkRelFile.html +11 -22
- data/rdoc/RubyXL/Hyperlinks.html +12 -19
- data/rdoc/RubyXL/IconFilter.html +12 -19
- data/rdoc/RubyXL/IconSet.html +12 -19
- data/rdoc/RubyXL/IgnoredError.html +12 -19
- data/rdoc/RubyXL/IgnoredErrors.html +12 -19
- data/rdoc/RubyXL/IndexedColors.html +12 -19
- data/rdoc/RubyXL/InputCells.html +12 -19
- data/rdoc/RubyXL/IntegerNode.html +11 -17
- data/rdoc/RubyXL/IntegerValue.html +11 -17
- data/rdoc/RubyXL/LegacyCell.html +13 -66
- data/rdoc/RubyXL/LegacyWorksheet.html +25 -99
- data/rdoc/RubyXL/MRUColors.html +12 -19
- data/rdoc/RubyXL/MacrosFile.html +11 -25
- data/rdoc/RubyXL/MergedCell.html +12 -19
- data/rdoc/RubyXL/MergedCells.html +12 -19
- data/rdoc/RubyXL/NumFmt.html +12 -19
- data/rdoc/RubyXL/NumberFormat.html +18 -39
- data/rdoc/RubyXL/NumberFormats.html +18 -45
- data/rdoc/RubyXL/OLEObject.html +12 -19
- data/rdoc/RubyXL/OLEObjectFile.html +11 -25
- data/rdoc/RubyXL/OLEObjects.html +12 -19
- data/rdoc/RubyXL/OLESize.html +12 -19
- data/rdoc/RubyXL/OOXMLContainerObject.html +35 -132
- data/rdoc/RubyXL/OOXMLIgnored.html +19 -53
- data/rdoc/RubyXL/OOXMLObject.html +14 -25
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +91 -183
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +48 -185
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +47 -200
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +36 -133
- data/rdoc/RubyXL/OdbcOleDbProperties.html +99 -0
- data/rdoc/RubyXL/Offset.html +12 -19
- data/rdoc/RubyXL/OlapProperties.html +99 -0
- 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 +12 -19
- data/rdoc/RubyXL/PageMargins.html +12 -19
- data/rdoc/RubyXL/PageSetup.html +12 -19
- data/rdoc/RubyXL/PageSetupProperties.html +12 -19
- data/rdoc/RubyXL/Pane.html +12 -19
- data/rdoc/RubyXL/Parser.html +22 -56
- data/rdoc/RubyXL/PatternFill.html +12 -19
- data/rdoc/RubyXL/PhoneticProperties.html +12 -19
- data/rdoc/RubyXL/PhoneticRun.html +12 -19
- data/rdoc/RubyXL/PivotArea.html +12 -19
- data/rdoc/RubyXL/PivotCache.html +12 -19
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +13 -30
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +11 -25
- data/rdoc/RubyXL/PivotCaches.html +12 -19
- data/rdoc/RubyXL/PivotReference.html +12 -19
- data/rdoc/RubyXL/PivotReferences.html +12 -19
- data/rdoc/RubyXL/PivotTableFile.html +13 -30
- data/rdoc/RubyXL/PivotTableSelection.html +12 -19
- data/rdoc/RubyXL/PresetGeometry.html +12 -19
- data/rdoc/RubyXL/PrintOptions.html +12 -19
- data/rdoc/RubyXL/PrinterSettingsFile.html +11 -25
- data/rdoc/RubyXL/ProtectedRange.html +12 -19
- data/rdoc/RubyXL/ProtectedRanges.html +12 -19
- data/rdoc/RubyXL/Protection.html +12 -19
- data/rdoc/RubyXL/QueryParameter.html +99 -0
- data/rdoc/RubyXL/QueryParameters.html +99 -0
- data/rdoc/RubyXL/QueryTable.html +155 -0
- data/rdoc/RubyXL/QueryTableDeletedField.html +99 -0
- data/rdoc/RubyXL/QueryTableDeletedFields.html +99 -0
- data/rdoc/RubyXL/QueryTableField.html +99 -0
- data/rdoc/RubyXL/QueryTableFields.html +99 -0
- data/rdoc/RubyXL/QueryTableRefresh.html +99 -0
- data/rdoc/RubyXL/RID.html +11 -17
- data/rdoc/RubyXL/RawOOXML.html +20 -60
- data/rdoc/RubyXL/Reference.html +62 -228
- data/rdoc/RubyXL/Relationship.html +11 -17
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +13 -32
- data/rdoc/RubyXL/RelationshipSupport.html +25 -120
- data/rdoc/RubyXL/RevisionPointer.html +12 -22
- data/rdoc/RubyXL/RichText.html +19 -39
- data/rdoc/RubyXL/RichTextRun.html +17 -38
- data/rdoc/RubyXL/Row.html +33 -168
- data/rdoc/RubyXL/RowExt.html +12 -19
- data/rdoc/RubyXL/RunProperties.html +12 -19
- data/rdoc/RubyXL/Scenario.html +12 -19
- data/rdoc/RubyXL/Scenarios.html +12 -19
- data/rdoc/RubyXL/Selection.html +16 -37
- data/rdoc/RubyXL/ShapeGuide.html +12 -19
- data/rdoc/RubyXL/ShapeTextRectangle.html +12 -19
- data/rdoc/RubyXL/SharedStringsTable.html +37 -147
- data/rdoc/RubyXL/Sheet.html +12 -19
- data/rdoc/RubyXL/SheetCalculationProperties.html +12 -19
- data/rdoc/RubyXL/SheetData.html +19 -53
- data/rdoc/RubyXL/SheetDataExt.html +12 -19
- data/rdoc/RubyXL/SheetDataSet.html +12 -19
- data/rdoc/RubyXL/SheetMetadata.html +108 -0
- data/rdoc/RubyXL/SheetName.html +12 -19
- data/rdoc/RubyXL/SheetNames.html +12 -19
- data/rdoc/RubyXL/Sheets.html +12 -19
- data/rdoc/RubyXL/SlicerCacheFile.html +11 -25
- data/rdoc/RubyXL/SlicerFile.html +11 -25
- data/rdoc/RubyXL/SmartTagProperties.html +12 -19
- data/rdoc/RubyXL/SmartTagType.html +12 -19
- data/rdoc/RubyXL/SmartTagTypes.html +12 -19
- data/rdoc/RubyXL/SmartTags.html +12 -19
- data/rdoc/RubyXL/SortCondition.html +12 -19
- data/rdoc/RubyXL/SortState.html +12 -19
- data/rdoc/RubyXL/Sqref.html +19 -53
- data/rdoc/RubyXL/Stop.html +12 -19
- data/rdoc/RubyXL/StringNode.html +11 -17
- data/rdoc/RubyXL/StringNodeW3C.html +20 -54
- data/rdoc/RubyXL/StringValue.html +11 -17
- data/rdoc/RubyXL/Stylesheet.html +34 -117
- data/rdoc/RubyXL/TableFile.html +11 -25
- data/rdoc/RubyXL/TableParts.html +11 -17
- data/rdoc/RubyXL/TableStyle.html +12 -19
- data/rdoc/RubyXL/TableStyles.html +12 -19
- data/rdoc/RubyXL/Text.html +22 -67
- data/rdoc/RubyXL/TextImportSettings.html +99 -0
- data/rdoc/RubyXL/Theme.html +19 -75
- data/rdoc/RubyXL/ThemeElements.html +12 -19
- data/rdoc/RubyXL/ThumbnailFile.html +11 -25
- data/rdoc/RubyXL/Top10.html +12 -19
- data/rdoc/RubyXL/VMLDrawingFile.html +14 -32
- data/rdoc/RubyXL/Variant.html +12 -19
- data/rdoc/RubyXL/Vector.html +17 -38
- data/rdoc/RubyXL/VectorValue.html +11 -17
- data/rdoc/RubyXL/VisualProperties.html +12 -19
- data/rdoc/RubyXL/WebPublishObject.html +12 -19
- data/rdoc/RubyXL/WebPublishObjects.html +12 -19
- data/rdoc/RubyXL/WebPublishingItem.html +12 -19
- data/rdoc/RubyXL/WebPublishingItems.html +12 -19
- data/rdoc/RubyXL/WebPublishingProperties.html +12 -19
- data/rdoc/RubyXL/WebQueryProperties.html +99 -0
- data/rdoc/RubyXL/Workbook.html +486 -227
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +130 -888
- data/rdoc/RubyXL/WorkbookProperties.html +12 -19
- data/rdoc/RubyXL/WorkbookProtection.html +12 -19
- data/rdoc/RubyXL/WorkbookRoot.html +27 -114
- data/rdoc/RubyXL/WorkbookView.html +12 -19
- data/rdoc/RubyXL/WorkbookViews.html +12 -19
- data/rdoc/RubyXL/Worksheet.html +92 -121
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +298 -1109
- data/rdoc/RubyXL/WorksheetDimensions.html +12 -19
- data/rdoc/RubyXL/WorksheetFormatProperties.html +11 -17
- data/rdoc/RubyXL/WorksheetProperties.html +12 -19
- data/rdoc/RubyXL/WorksheetProtection.html +12 -19
- data/rdoc/RubyXL/WorksheetView.html +12 -19
- data/rdoc/RubyXL/WorksheetViews.html +12 -19
- data/rdoc/RubyXL/XF.html +12 -19
- data/rdoc/RubyXL.html +39 -318
- data/rdoc/created.rid +45 -38
- data/rdoc/css/rdoc.css +55 -6
- data/rdoc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/rdoc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/rdoc/index.html +33 -373
- data/rdoc/js/darkfish.js +22 -99
- data/rdoc/js/navigation.js +4 -41
- data/rdoc/js/navigation.js.gz +0 -0
- data/rdoc/js/search.js +32 -31
- data/rdoc/js/search_index.js +1 -1
- data/rdoc/js/search_index.js.gz +0 -0
- data/rdoc/js/searcher.js +6 -6
- data/rdoc/js/searcher.js.gz +0 -0
- data/rdoc/table_of_contents.html +205 -45
- data/rubyXL.gemspec +53 -29
- data/spec/lib/cell_spec.rb +57 -6
- data/spec/lib/color_spec.rb +2 -1
- data/spec/lib/parser_spec.rb +24 -27
- data/spec/lib/reference_spec.rb +9 -3
- data/spec/lib/rgb_color_spec.rb +27 -0
- data/spec/lib/stylesheet_spec.rb +8 -11
- data/spec/lib/text_spec.rb +1 -5
- data/spec/lib/workbook_spec.rb +25 -4
- data/spec/lib/worksheet_spec.rb +873 -479
- data/spec/spec_helper.rb +2 -0
- data/test/test_parse_write.rb +15 -15
- metadata +54 -10
- data/rdoc/js/jquery.js +0 -4
|
@@ -4,21 +4,23 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>module RubyXL::FontConvenienceMethods - rubyXL 3.
|
|
7
|
+
<title>module RubyXL::FontConvenienceMethods - rubyXL 3.4.25</title>
|
|
8
8
|
|
|
9
9
|
<script type="text/javascript">
|
|
10
10
|
var rdoc_rel_prefix = "../";
|
|
11
11
|
var index_rel_prefix = "../";
|
|
12
12
|
</script>
|
|
13
13
|
|
|
14
|
-
<script src="../js/
|
|
15
|
-
<script src="../js/
|
|
14
|
+
<script src="../js/navigation.js" defer></script>
|
|
15
|
+
<script src="../js/search.js" defer></script>
|
|
16
|
+
<script src="../js/search_index.js" defer></script>
|
|
17
|
+
<script src="../js/searcher.js" defer></script>
|
|
18
|
+
<script src="../js/darkfish.js" defer></script>
|
|
16
19
|
|
|
17
20
|
<link href="../css/fonts.css" rel="stylesheet">
|
|
18
21
|
<link href="../css/rdoc.css" rel="stylesheet">
|
|
19
22
|
|
|
20
23
|
|
|
21
|
-
|
|
22
24
|
<body id="top" role="document" class="module">
|
|
23
25
|
<nav role="navigation">
|
|
24
26
|
<div id="project-navigation">
|
|
@@ -58,40 +60,26 @@
|
|
|
58
60
|
|
|
59
61
|
|
|
60
62
|
|
|
61
|
-
|
|
63
|
+
|
|
64
|
+
<!-- Method Quickref -->
|
|
62
65
|
<div id="method-list-section" class="nav-section">
|
|
63
66
|
<h3>Methods</h3>
|
|
64
67
|
|
|
65
68
|
<ul class="link-list" role="directory">
|
|
66
|
-
|
|
67
69
|
<li ><a href="#method-i-get_name">#get_name</a>
|
|
68
|
-
|
|
69
70
|
<li ><a href="#method-i-get_rgb_color">#get_rgb_color</a>
|
|
70
|
-
|
|
71
71
|
<li ><a href="#method-i-get_size">#get_size</a>
|
|
72
|
-
|
|
73
72
|
<li ><a href="#method-i-is_bold">#is_bold</a>
|
|
74
|
-
|
|
75
73
|
<li ><a href="#method-i-is_italic">#is_italic</a>
|
|
76
|
-
|
|
77
74
|
<li ><a href="#method-i-is_strikethrough">#is_strikethrough</a>
|
|
78
|
-
|
|
79
75
|
<li ><a href="#method-i-is_underlined">#is_underlined</a>
|
|
80
|
-
|
|
81
76
|
<li ><a href="#method-i-set_bold">#set_bold</a>
|
|
82
|
-
|
|
83
77
|
<li ><a href="#method-i-set_italic">#set_italic</a>
|
|
84
|
-
|
|
85
78
|
<li ><a href="#method-i-set_name">#set_name</a>
|
|
86
|
-
|
|
87
79
|
<li ><a href="#method-i-set_rgb_color">#set_rgb_color</a>
|
|
88
|
-
|
|
89
80
|
<li ><a href="#method-i-set_size">#set_size</a>
|
|
90
|
-
|
|
91
81
|
<li ><a href="#method-i-set_strikethrough">#set_strikethrough</a>
|
|
92
|
-
|
|
93
82
|
<li ><a href="#method-i-set_underline">#set_underline</a>
|
|
94
|
-
|
|
95
83
|
</ul>
|
|
96
84
|
</div>
|
|
97
85
|
|
|
@@ -107,497 +95,320 @@
|
|
|
107
95
|
|
|
108
96
|
</section>
|
|
109
97
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
98
|
<section id="5Buntitled-5D" class="documentation-section">
|
|
114
|
-
|
|
115
99
|
|
|
116
|
-
|
|
117
100
|
|
|
118
|
-
|
|
119
101
|
|
|
120
|
-
|
|
121
102
|
|
|
122
|
-
|
|
103
|
+
|
|
123
104
|
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
|
124
105
|
<header>
|
|
125
106
|
<h3>Public Instance Methods</h3>
|
|
126
107
|
</header>
|
|
127
108
|
|
|
128
|
-
|
|
129
109
|
<div id="method-i-get_name" class="method-detail ">
|
|
130
|
-
|
|
131
110
|
<div class="method-heading">
|
|
132
111
|
<span class="method-name">get_name</span><span
|
|
133
112
|
class="method-args">()</span>
|
|
134
|
-
|
|
135
113
|
<span class="method-click-advice">click to toggle source</span>
|
|
136
|
-
|
|
137
114
|
</div>
|
|
138
|
-
|
|
139
115
|
|
|
140
116
|
<div class="method-description">
|
|
141
117
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
118
|
|
|
146
|
-
|
|
147
119
|
<div class="method-source-code" id="get_name-source">
|
|
148
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
149
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_name</span>
|
|
120
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/font.rb, line 21</span>
|
|
121
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_name</span>
|
|
150
122
|
<span class="ruby-identifier">name</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">name</span>.<span class="ruby-identifier">val</span>
|
|
151
123
|
<span class="ruby-keyword">end</span></pre>
|
|
152
124
|
</div>
|
|
153
|
-
|
|
154
125
|
</div>
|
|
155
126
|
|
|
156
|
-
|
|
157
127
|
|
|
158
|
-
|
|
159
128
|
</div>
|
|
160
129
|
|
|
161
|
-
|
|
162
130
|
<div id="method-i-get_rgb_color" class="method-detail ">
|
|
163
|
-
|
|
164
131
|
<div class="method-heading">
|
|
165
132
|
<span class="method-name">get_rgb_color</span><span
|
|
166
133
|
class="method-args">()</span>
|
|
167
|
-
|
|
168
134
|
<span class="method-click-advice">click to toggle source</span>
|
|
169
|
-
|
|
170
135
|
</div>
|
|
171
|
-
|
|
172
136
|
|
|
173
137
|
<div class="method-description">
|
|
174
138
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
139
|
|
|
179
|
-
|
|
180
140
|
<div class="method-source-code" id="get_rgb_color-source">
|
|
181
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
182
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_rgb_color</span>
|
|
141
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/font.rb, line 29</span>
|
|
142
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_rgb_color</span>
|
|
183
143
|
<span class="ruby-identifier">color</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">color</span>.<span class="ruby-identifier">rgb</span>
|
|
184
144
|
<span class="ruby-keyword">end</span></pre>
|
|
185
145
|
</div>
|
|
186
|
-
|
|
187
146
|
</div>
|
|
188
147
|
|
|
189
|
-
|
|
190
148
|
|
|
191
|
-
|
|
192
149
|
</div>
|
|
193
150
|
|
|
194
|
-
|
|
195
151
|
<div id="method-i-get_size" class="method-detail ">
|
|
196
|
-
|
|
197
152
|
<div class="method-heading">
|
|
198
153
|
<span class="method-name">get_size</span><span
|
|
199
154
|
class="method-args">()</span>
|
|
200
|
-
|
|
201
155
|
<span class="method-click-advice">click to toggle source</span>
|
|
202
|
-
|
|
203
156
|
</div>
|
|
204
|
-
|
|
205
157
|
|
|
206
158
|
<div class="method-description">
|
|
207
159
|
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
160
|
|
|
212
|
-
|
|
213
161
|
<div class="method-source-code" id="get_size-source">
|
|
214
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
215
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_size</span>
|
|
162
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/font.rb, line 25</span>
|
|
163
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_size</span>
|
|
216
164
|
<span class="ruby-identifier">sz</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">sz</span>.<span class="ruby-identifier">val</span>
|
|
217
165
|
<span class="ruby-keyword">end</span></pre>
|
|
218
166
|
</div>
|
|
219
|
-
|
|
220
167
|
</div>
|
|
221
168
|
|
|
222
|
-
|
|
223
169
|
|
|
224
|
-
|
|
225
170
|
</div>
|
|
226
171
|
|
|
227
|
-
|
|
228
172
|
<div id="method-i-is_bold" class="method-detail ">
|
|
229
|
-
|
|
230
173
|
<div class="method-heading">
|
|
231
174
|
<span class="method-name">is_bold</span><span
|
|
232
175
|
class="method-args">()</span>
|
|
233
|
-
|
|
234
176
|
<span class="method-click-advice">click to toggle source</span>
|
|
235
|
-
|
|
236
177
|
</div>
|
|
237
|
-
|
|
238
178
|
|
|
239
179
|
<div class="method-description">
|
|
240
180
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
181
|
|
|
245
|
-
|
|
246
182
|
<div class="method-source-code" id="is_bold-source">
|
|
247
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
248
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_bold</span>
|
|
183
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/font.rb, line 9</span>
|
|
184
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">is_bold</span>
|
|
249
185
|
<span class="ruby-identifier">b</span> <span class="ruby-operator">&&</span> (<span class="ruby-identifier">b</span>.<span class="ruby-identifier">val</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">false</span>)
|
|
250
186
|
<span class="ruby-keyword">end</span></pre>
|
|
251
187
|
</div>
|
|
252
|
-
|
|
253
188
|
</div>
|
|
254
189
|
|
|
255
|
-
|
|
256
190
|
|
|
257
|
-
|
|
258
191
|
</div>
|
|
259
192
|
|
|
260
|
-
|
|
261
193
|
<div id="method-i-is_italic" class="method-detail ">
|
|
262
|
-
|
|
263
194
|
<div class="method-heading">
|
|
264
195
|
<span class="method-name">is_italic</span><span
|
|
265
196
|
class="method-args">()</span>
|
|
266
|
-
|
|
267
197
|
<span class="method-click-advice">click to toggle source</span>
|
|
268
|
-
|
|
269
198
|
</div>
|
|
270
|
-
|
|
271
199
|
|
|
272
200
|
<div class="method-description">
|
|
273
|
-
|
|
274
|
-
<p>Funny enough, but presence of <i> without value (equivalent to `val
|
|
275
|
-
== nul`) means “italic = true”! Same is true for bold, strikethrough, etc</p>
|
|
276
|
-
|
|
277
|
-
|
|
201
|
+
<p>Funny enough, but presence of <i> without value (equivalent to ‘val == nul`) means “italic = true”! Same is true for bold, strikethrough, etc</p>
|
|
278
202
|
|
|
279
|
-
|
|
280
203
|
<div class="method-source-code" id="is_italic-source">
|
|
281
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
282
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_italic</span>
|
|
204
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/font.rb, line 5</span>
|
|
205
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">is_italic</span>
|
|
283
206
|
<span class="ruby-identifier">i</span> <span class="ruby-operator">&&</span> (<span class="ruby-identifier">i</span>.<span class="ruby-identifier">val</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">false</span>)
|
|
284
207
|
<span class="ruby-keyword">end</span></pre>
|
|
285
208
|
</div>
|
|
286
|
-
|
|
287
209
|
</div>
|
|
288
210
|
|
|
289
|
-
|
|
290
211
|
|
|
291
|
-
|
|
292
212
|
</div>
|
|
293
213
|
|
|
294
|
-
|
|
295
214
|
<div id="method-i-is_strikethrough" class="method-detail ">
|
|
296
|
-
|
|
297
215
|
<div class="method-heading">
|
|
298
216
|
<span class="method-name">is_strikethrough</span><span
|
|
299
217
|
class="method-args">()</span>
|
|
300
|
-
|
|
301
218
|
<span class="method-click-advice">click to toggle source</span>
|
|
302
|
-
|
|
303
219
|
</div>
|
|
304
|
-
|
|
305
220
|
|
|
306
221
|
<div class="method-description">
|
|
307
222
|
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
223
|
|
|
312
|
-
|
|
313
224
|
<div class="method-source-code" id="is_strikethrough-source">
|
|
314
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
315
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_strikethrough</span>
|
|
225
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/font.rb, line 17</span>
|
|
226
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">is_strikethrough</span>
|
|
316
227
|
<span class="ruby-identifier">strike</span> <span class="ruby-operator">&&</span> (<span class="ruby-identifier">strike</span>.<span class="ruby-identifier">val</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">false</span>)
|
|
317
228
|
<span class="ruby-keyword">end</span></pre>
|
|
318
229
|
</div>
|
|
319
|
-
|
|
320
230
|
</div>
|
|
321
231
|
|
|
322
|
-
|
|
323
232
|
|
|
324
|
-
|
|
325
233
|
</div>
|
|
326
234
|
|
|
327
|
-
|
|
328
235
|
<div id="method-i-is_underlined" class="method-detail ">
|
|
329
|
-
|
|
330
236
|
<div class="method-heading">
|
|
331
237
|
<span class="method-name">is_underlined</span><span
|
|
332
238
|
class="method-args">()</span>
|
|
333
|
-
|
|
334
239
|
<span class="method-click-advice">click to toggle source</span>
|
|
335
|
-
|
|
336
240
|
</div>
|
|
337
|
-
|
|
338
241
|
|
|
339
242
|
<div class="method-description">
|
|
340
243
|
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
244
|
|
|
345
|
-
|
|
346
245
|
<div class="method-source-code" id="is_underlined-source">
|
|
347
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
348
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_underlined</span>
|
|
246
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/font.rb, line 13</span>
|
|
247
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">is_underlined</span>
|
|
349
248
|
<span class="ruby-identifier">u</span> <span class="ruby-operator">&&</span> (<span class="ruby-identifier">u</span>.<span class="ruby-identifier">val</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">false</span>)
|
|
350
249
|
<span class="ruby-keyword">end</span></pre>
|
|
351
250
|
</div>
|
|
352
|
-
|
|
353
251
|
</div>
|
|
354
252
|
|
|
355
|
-
|
|
356
253
|
|
|
357
|
-
|
|
358
254
|
</div>
|
|
359
255
|
|
|
360
|
-
|
|
361
256
|
<div id="method-i-set_bold" class="method-detail ">
|
|
362
|
-
|
|
363
257
|
<div class="method-heading">
|
|
364
258
|
<span class="method-name">set_bold</span><span
|
|
365
259
|
class="method-args">(val)</span>
|
|
366
|
-
|
|
367
260
|
<span class="method-click-advice">click to toggle source</span>
|
|
368
|
-
|
|
369
261
|
</div>
|
|
370
|
-
|
|
371
262
|
|
|
372
263
|
<div class="method-description">
|
|
373
264
|
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
265
|
|
|
378
|
-
|
|
379
266
|
<div class="method-source-code" id="set_bold-source">
|
|
380
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
381
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">set_bold</span>(<span class="ruby-identifier">val</span>)
|
|
382
|
-
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">b</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">BooleanValue</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:val</span>
|
|
267
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/font.rb, line 37</span>
|
|
268
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">set_bold</span>(<span class="ruby-identifier">val</span>)
|
|
269
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">b</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">BooleanValue</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:val</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">val</span>)
|
|
383
270
|
<span class="ruby-keyword">end</span></pre>
|
|
384
271
|
</div>
|
|
385
|
-
|
|
386
272
|
</div>
|
|
387
273
|
|
|
388
|
-
|
|
389
274
|
|
|
390
|
-
|
|
391
275
|
</div>
|
|
392
276
|
|
|
393
|
-
|
|
394
277
|
<div id="method-i-set_italic" class="method-detail ">
|
|
395
|
-
|
|
396
278
|
<div class="method-heading">
|
|
397
279
|
<span class="method-name">set_italic</span><span
|
|
398
280
|
class="method-args">(val)</span>
|
|
399
|
-
|
|
400
281
|
<span class="method-click-advice">click to toggle source</span>
|
|
401
|
-
|
|
402
282
|
</div>
|
|
403
|
-
|
|
404
283
|
|
|
405
284
|
<div class="method-description">
|
|
406
285
|
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
286
|
|
|
411
|
-
|
|
412
287
|
<div class="method-source-code" id="set_italic-source">
|
|
413
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
414
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">set_italic</span>(<span class="ruby-identifier">val</span>)
|
|
415
|
-
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">i</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">BooleanValue</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:val</span>
|
|
288
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/font.rb, line 33</span>
|
|
289
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">set_italic</span>(<span class="ruby-identifier">val</span>)
|
|
290
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">i</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">BooleanValue</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:val</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">val</span>)
|
|
416
291
|
<span class="ruby-keyword">end</span></pre>
|
|
417
292
|
</div>
|
|
418
|
-
|
|
419
293
|
</div>
|
|
420
294
|
|
|
421
|
-
|
|
422
295
|
|
|
423
|
-
|
|
424
296
|
</div>
|
|
425
297
|
|
|
426
|
-
|
|
427
298
|
<div id="method-i-set_name" class="method-detail ">
|
|
428
|
-
|
|
429
299
|
<div class="method-heading">
|
|
430
300
|
<span class="method-name">set_name</span><span
|
|
431
301
|
class="method-args">(val)</span>
|
|
432
|
-
|
|
433
302
|
<span class="method-click-advice">click to toggle source</span>
|
|
434
|
-
|
|
435
303
|
</div>
|
|
436
|
-
|
|
437
304
|
|
|
438
305
|
<div class="method-description">
|
|
439
306
|
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
307
|
|
|
444
|
-
|
|
445
308
|
<div class="method-source-code" id="set_name-source">
|
|
446
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
447
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">set_name</span>(<span class="ruby-identifier">val</span>)
|
|
448
|
-
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">name</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">StringValue</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:val</span>
|
|
309
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/font.rb, line 49</span>
|
|
310
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">set_name</span>(<span class="ruby-identifier">val</span>)
|
|
311
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">name</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">StringValue</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:val</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">val</span>)
|
|
449
312
|
<span class="ruby-keyword">end</span></pre>
|
|
450
313
|
</div>
|
|
451
|
-
|
|
452
314
|
</div>
|
|
453
315
|
|
|
454
|
-
|
|
455
316
|
|
|
456
|
-
|
|
457
317
|
</div>
|
|
458
318
|
|
|
459
|
-
|
|
460
319
|
<div id="method-i-set_rgb_color" class="method-detail ">
|
|
461
|
-
|
|
462
320
|
<div class="method-heading">
|
|
463
321
|
<span class="method-name">set_rgb_color</span><span
|
|
464
322
|
class="method-args">(font_color)</span>
|
|
465
|
-
|
|
466
323
|
<span class="method-click-advice">click to toggle source</span>
|
|
467
|
-
|
|
468
324
|
</div>
|
|
469
|
-
|
|
470
325
|
|
|
471
326
|
<div class="method-description">
|
|
472
327
|
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
328
|
|
|
477
|
-
|
|
478
329
|
<div class="method-source-code" id="set_rgb_color-source">
|
|
479
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
480
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">set_rgb_color</span>(<span class="ruby-identifier">font_color</span>)
|
|
481
|
-
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">color</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Color</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:rgb</span>
|
|
330
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/font.rb, line 57</span>
|
|
331
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">set_rgb_color</span>(<span class="ruby-identifier">font_color</span>)
|
|
332
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">color</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Color</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:rgb</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">font_color</span>.<span class="ruby-identifier">to_s</span>)
|
|
482
333
|
<span class="ruby-keyword">end</span></pre>
|
|
483
334
|
</div>
|
|
484
|
-
|
|
485
335
|
</div>
|
|
486
336
|
|
|
487
|
-
|
|
488
337
|
|
|
489
|
-
|
|
490
338
|
</div>
|
|
491
339
|
|
|
492
|
-
|
|
493
340
|
<div id="method-i-set_size" class="method-detail ">
|
|
494
|
-
|
|
495
341
|
<div class="method-heading">
|
|
496
342
|
<span class="method-name">set_size</span><span
|
|
497
343
|
class="method-args">(val)</span>
|
|
498
|
-
|
|
499
344
|
<span class="method-click-advice">click to toggle source</span>
|
|
500
|
-
|
|
501
345
|
</div>
|
|
502
|
-
|
|
503
346
|
|
|
504
347
|
<div class="method-description">
|
|
505
348
|
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
349
|
|
|
510
|
-
|
|
511
350
|
<div class="method-source-code" id="set_size-source">
|
|
512
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
513
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">set_size</span>(<span class="ruby-identifier">val</span>)
|
|
514
|
-
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">sz</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">FloatValue</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:val</span>
|
|
351
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/font.rb, line 53</span>
|
|
352
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">set_size</span>(<span class="ruby-identifier">val</span>)
|
|
353
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">sz</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">FloatValue</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:val</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">val</span>)
|
|
515
354
|
<span class="ruby-keyword">end</span></pre>
|
|
516
355
|
</div>
|
|
517
|
-
|
|
518
356
|
</div>
|
|
519
357
|
|
|
520
|
-
|
|
521
358
|
|
|
522
|
-
|
|
523
359
|
</div>
|
|
524
360
|
|
|
525
|
-
|
|
526
361
|
<div id="method-i-set_strikethrough" class="method-detail ">
|
|
527
|
-
|
|
528
362
|
<div class="method-heading">
|
|
529
363
|
<span class="method-name">set_strikethrough</span><span
|
|
530
364
|
class="method-args">(val)</span>
|
|
531
|
-
|
|
532
365
|
<span class="method-click-advice">click to toggle source</span>
|
|
533
|
-
|
|
534
366
|
</div>
|
|
535
|
-
|
|
536
367
|
|
|
537
368
|
<div class="method-description">
|
|
538
369
|
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
370
|
|
|
543
|
-
|
|
544
371
|
<div class="method-source-code" id="set_strikethrough-source">
|
|
545
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
546
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">set_strikethrough</span>(<span class="ruby-identifier">val</span>)
|
|
547
|
-
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">strike</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">BooleanValue</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:val</span>
|
|
372
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/font.rb, line 45</span>
|
|
373
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">set_strikethrough</span>(<span class="ruby-identifier">val</span>)
|
|
374
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">strike</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">BooleanValue</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:val</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">val</span>)
|
|
548
375
|
<span class="ruby-keyword">end</span></pre>
|
|
549
376
|
</div>
|
|
550
|
-
|
|
551
377
|
</div>
|
|
552
378
|
|
|
553
|
-
|
|
554
379
|
|
|
555
|
-
|
|
556
380
|
</div>
|
|
557
381
|
|
|
558
|
-
|
|
559
382
|
<div id="method-i-set_underline" class="method-detail ">
|
|
560
|
-
|
|
561
383
|
<div class="method-heading">
|
|
562
384
|
<span class="method-name">set_underline</span><span
|
|
563
385
|
class="method-args">(val)</span>
|
|
564
|
-
|
|
565
386
|
<span class="method-click-advice">click to toggle source</span>
|
|
566
|
-
|
|
567
387
|
</div>
|
|
568
|
-
|
|
569
388
|
|
|
570
389
|
<div class="method-description">
|
|
571
390
|
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
391
|
|
|
576
|
-
|
|
577
392
|
<div class="method-source-code" id="set_underline-source">
|
|
578
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods.rb, line
|
|
579
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">set_underline</span>(<span class="ruby-identifier">val</span>)
|
|
580
|
-
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">u</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">BooleanValue</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:val</span>
|
|
393
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/convenience_methods/font.rb, line 41</span>
|
|
394
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">set_underline</span>(<span class="ruby-identifier">val</span>)
|
|
395
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">u</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">BooleanValue</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:val</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">val</span>)
|
|
581
396
|
<span class="ruby-keyword">end</span></pre>
|
|
582
397
|
</div>
|
|
583
|
-
|
|
584
398
|
</div>
|
|
585
399
|
|
|
586
|
-
|
|
587
400
|
|
|
588
|
-
|
|
589
401
|
</div>
|
|
590
402
|
|
|
591
|
-
|
|
592
403
|
</section>
|
|
593
|
-
|
|
404
|
+
|
|
594
405
|
</section>
|
|
595
406
|
</main>
|
|
596
407
|
|
|
597
408
|
|
|
598
409
|
<footer id="validator-badges" role="contentinfo">
|
|
599
|
-
<p><a href="
|
|
600
|
-
<p>Generated by <a href="https://
|
|
410
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
411
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.
|
|
601
412
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
602
413
|
</footer>
|
|
603
414
|
|