rubyXL 3.4.3 → 3.4.4
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 +59 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +92 -0
- data/README.rdoc +6 -1
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/lib/rubyXL.rb +1 -0
- data/lib/rubyXL/objects/chartsheet.rb +2 -2
- data/lib/rubyXL/objects/color.rb +2 -1
- data/lib/rubyXL/objects/connection.rb +175 -0
- data/lib/rubyXL/objects/query_table.rb +104 -0
- data/lib/rubyXL/objects/relationships.rb +7 -2
- data/lib/rubyXL/objects/simple_types.rb +13 -0
- data/lib/rubyXL/objects/workbook.rb +2 -0
- data/lib/rubyXL/objects/worksheet.rb +3 -0
- data/rdoc/README_rdoc.html +55 -95
- data/rdoc/RubyXL.html +52 -23
- data/rdoc/RubyXL/AExtension.html +8 -11
- data/rdoc/RubyXL/AExtensionStorageArea.html +3 -5
- data/rdoc/RubyXL/ActiveX.html +4 -6
- data/rdoc/RubyXL/ActiveXBinary.html +3 -5
- data/rdoc/RubyXL/AdjustHandleList.html +4 -7
- data/rdoc/RubyXL/Alignment.html +4 -7
- data/rdoc/RubyXL/AlternateContent.html +3 -5
- data/rdoc/RubyXL/Authors.html +4 -7
- data/rdoc/RubyXL/AutoFilter.html +4 -7
- data/rdoc/RubyXL/AutoFilterColumn.html +4 -7
- data/rdoc/RubyXL/BinaryImageFile.html +3 -5
- data/rdoc/RubyXL/BodyProperties.html +4 -7
- data/rdoc/RubyXL/BooleanNode.html +3 -5
- data/rdoc/RubyXL/BooleanValue.html +3 -5
- data/rdoc/RubyXL/Border.html +9 -12
- data/rdoc/RubyXL/BorderEdge.html +6 -8
- data/rdoc/RubyXL/Borders.html +6 -9
- data/rdoc/RubyXL/Break.html +4 -7
- data/rdoc/RubyXL/BreakList.html +4 -7
- data/rdoc/RubyXL/CT_AdjPoint2D.html +4 -7
- data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +4 -7
- data/rdoc/RubyXL/CT_AlphaModulateEffect.html +4 -7
- data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +4 -7
- data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +4 -7
- data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +4 -7
- data/rdoc/RubyXL/CT_Backdrop.html +4 -7
- data/rdoc/RubyXL/CT_Bevel.html +4 -7
- data/rdoc/RubyXL/CT_BiLevelEffect.html +4 -7
- data/rdoc/RubyXL/CT_BlendEffect.html +4 -7
- data/rdoc/RubyXL/CT_Blip.html +4 -7
- data/rdoc/RubyXL/CT_BlipFillProperties.html +4 -7
- data/rdoc/RubyXL/CT_BlurEffect.html +4 -7
- data/rdoc/RubyXL/CT_Camera.html +4 -7
- data/rdoc/RubyXL/CT_Color.html +4 -7
- data/rdoc/RubyXL/CT_ColorChangeEffect.html +4 -7
- data/rdoc/RubyXL/CT_ColorMapping.html +4 -7
- data/rdoc/RubyXL/CT_ColorScheme.html +4 -7
- data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +4 -7
- data/rdoc/RubyXL/CT_ConnectionSite.html +4 -7
- data/rdoc/RubyXL/CT_ConnectionSiteList.html +4 -7
- data/rdoc/RubyXL/CT_DashStop.html +4 -7
- data/rdoc/RubyXL/CT_DashStopList.html +4 -7
- data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +4 -7
- data/rdoc/RubyXL/CT_DuotoneEffect.html +4 -7
- data/rdoc/RubyXL/CT_EffectContainer.html +4 -7
- data/rdoc/RubyXL/CT_EffectList.html +4 -7
- data/rdoc/RubyXL/CT_EffectReference.html +4 -7
- data/rdoc/RubyXL/CT_EffectStyleItem.html +4 -7
- data/rdoc/RubyXL/CT_EffectStyleList.html +4 -7
- data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +4 -7
- data/rdoc/RubyXL/CT_FillEffect.html +4 -7
- data/rdoc/RubyXL/CT_FillOverlayEffect.html +4 -7
- data/rdoc/RubyXL/CT_FillStyleList.html +4 -7
- data/rdoc/RubyXL/CT_FlatText.html +4 -7
- data/rdoc/RubyXL/CT_FontCollection.html +4 -7
- data/rdoc/RubyXL/CT_FontReference.html +4 -7
- data/rdoc/RubyXL/CT_GeomGuideList.html +4 -7
- data/rdoc/RubyXL/CT_GlowEffect.html +4 -7
- data/rdoc/RubyXL/CT_GradientFillProperties.html +4 -7
- data/rdoc/RubyXL/CT_GradientStop.html +4 -7
- data/rdoc/RubyXL/CT_GradientStopList.html +4 -7
- data/rdoc/RubyXL/CT_HSLEffect.html +4 -7
- data/rdoc/RubyXL/CT_HslColor.html +4 -7
- data/rdoc/RubyXL/CT_Hyperlink.html +4 -7
- data/rdoc/RubyXL/CT_InnerShadowEffect.html +4 -7
- data/rdoc/RubyXL/CT_LightRig.html +4 -7
- data/rdoc/RubyXL/CT_LineEndProperties.html +4 -7
- data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +4 -7
- data/rdoc/RubyXL/CT_LineProperties.html +4 -7
- data/rdoc/RubyXL/CT_LineStyleList.html +4 -7
- data/rdoc/RubyXL/CT_LinearShadeProperties.html +4 -7
- data/rdoc/RubyXL/CT_LuminanceEffect.html +4 -7
- data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +4 -7
- data/rdoc/RubyXL/CT_OuterShadowEffect.html +4 -7
- data/rdoc/RubyXL/CT_Path2D.html +4 -7
- data/rdoc/RubyXL/CT_Path2DArcTo.html +4 -7
- data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +4 -7
- data/rdoc/RubyXL/CT_Path2DList.html +4 -7
- data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +4 -7
- data/rdoc/RubyXL/CT_Path2DTo.html +4 -7
- data/rdoc/RubyXL/CT_PathShadeProperties.html +4 -7
- data/rdoc/RubyXL/CT_PatternFillProperties.html +4 -7
- data/rdoc/RubyXL/CT_Point3D.html +4 -7
- data/rdoc/RubyXL/CT_PolarAdjustHandle.html +4 -7
- data/rdoc/RubyXL/CT_PresetColor.html +4 -7
- data/rdoc/RubyXL/CT_PresetLineDashProperties.html +4 -7
- data/rdoc/RubyXL/CT_PresetShadowEffect.html +4 -7
- data/rdoc/RubyXL/CT_PresetTextShape.html +4 -7
- data/rdoc/RubyXL/CT_ReflectionEffect.html +4 -7
- data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +4 -7
- data/rdoc/RubyXL/CT_RelativeRect.html +4 -7
- data/rdoc/RubyXL/CT_SRgbColor.html +4 -7
- data/rdoc/RubyXL/CT_ScRgbColor.html +4 -7
- data/rdoc/RubyXL/CT_Scene3D.html +4 -7
- data/rdoc/RubyXL/CT_SchemeColor.html +4 -7
- data/rdoc/RubyXL/CT_Shape3D.html +4 -7
- data/rdoc/RubyXL/CT_ShapeStyle.html +4 -7
- data/rdoc/RubyXL/CT_SoftEdgesEffect.html +4 -7
- data/rdoc/RubyXL/CT_SphereCoords.html +4 -7
- data/rdoc/RubyXL/CT_StretchInfoProperties.html +4 -7
- data/rdoc/RubyXL/CT_StyleMatrix.html +4 -7
- data/rdoc/RubyXL/CT_StyleMatrixReference.html +4 -7
- data/rdoc/RubyXL/CT_SupplementalFont.html +4 -7
- data/rdoc/RubyXL/CT_SystemColor.html +4 -7
- data/rdoc/RubyXL/CT_TextAutonumberBullet.html +4 -7
- data/rdoc/RubyXL/CT_TextBlipBullet.html +4 -7
- data/rdoc/RubyXL/CT_TextCharBullet.html +4 -7
- data/rdoc/RubyXL/CT_TextCharacterProperties.html +4 -7
- data/rdoc/RubyXL/CT_TextFont.html +4 -7
- data/rdoc/RubyXL/CT_TextListStyle.html +4 -7
- data/rdoc/RubyXL/CT_TextNormalAutofit.html +4 -7
- data/rdoc/RubyXL/CT_TextParagraphProperties.html +4 -7
- data/rdoc/RubyXL/CT_TextSpacing.html +4 -7
- data/rdoc/RubyXL/CT_TextTabStop.html +4 -7
- data/rdoc/RubyXL/CT_TextTabStopList.html +4 -7
- data/rdoc/RubyXL/CT_TileInfoProperties.html +4 -7
- data/rdoc/RubyXL/CT_TintEffect.html +4 -7
- data/rdoc/RubyXL/CT_Transform2D.html +4 -7
- data/rdoc/RubyXL/CT_TransformEffect.html +4 -7
- data/rdoc/RubyXL/CT_Vector3D.html +4 -7
- data/rdoc/RubyXL/CT_XYAdjustHandle.html +4 -7
- data/rdoc/RubyXL/CalculationChain.html +5 -8
- data/rdoc/RubyXL/CalculationChainCell.html +4 -7
- data/rdoc/RubyXL/CalculationProperties.html +4 -7
- data/rdoc/RubyXL/Cell.html +19 -24
- data/rdoc/RubyXL/CellConvenienceMethods.html +43 -46
- data/rdoc/RubyXL/CellExt.html +4 -7
- data/rdoc/RubyXL/CellSmartTag.html +4 -7
- data/rdoc/RubyXL/CellSmartTagProperty.html +4 -7
- data/rdoc/RubyXL/CellSmartTags.html +4 -7
- data/rdoc/RubyXL/CellStyle.html +4 -7
- data/rdoc/RubyXL/CellStyleXFs.html +6 -9
- data/rdoc/RubyXL/CellStyles.html +6 -9
- data/rdoc/RubyXL/CellValue.html +5 -8
- data/rdoc/RubyXL/CellWatch.html +4 -7
- data/rdoc/RubyXL/CellWatches.html +4 -7
- data/rdoc/RubyXL/CellXFs.html +7 -10
- data/rdoc/RubyXL/ChartColorsFile.html +3 -5
- data/rdoc/RubyXL/ChartFile.html +4 -6
- data/rdoc/RubyXL/ChartStyleFile.html +3 -5
- data/rdoc/RubyXL/ChartUserShapesFile.html +3 -5
- data/rdoc/RubyXL/Chartsheet.html +5 -8
- data/rdoc/RubyXL/ChartsheetPageSetup.html +4 -7
- data/rdoc/RubyXL/ChartsheetProperties.html +4 -7
- data/rdoc/RubyXL/ChartsheetProtection.html +4 -7
- data/rdoc/RubyXL/ChartsheetView.html +4 -7
- data/rdoc/RubyXL/ChartsheetViews.html +4 -7
- data/rdoc/RubyXL/Color.html +6 -9
- data/rdoc/RubyXL/ColorConvenienceClasses.html +3 -5
- data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +5 -7
- data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +7 -10
- data/rdoc/RubyXL/ColorConvenienceMethods.html +4 -6
- data/rdoc/RubyXL/ColorFilter.html +4 -7
- data/rdoc/RubyXL/ColorScale.html +4 -7
- data/rdoc/RubyXL/ColorSet.html +4 -7
- data/rdoc/RubyXL/Colors.html +4 -7
- data/rdoc/RubyXL/ColumnRange.html +8 -11
- data/rdoc/RubyXL/ColumnRanges.html +8 -11
- data/rdoc/RubyXL/Comment.html +4 -7
- data/rdoc/RubyXL/CommentList.html +4 -7
- data/rdoc/RubyXL/CommentsFile.html +5 -8
- data/rdoc/RubyXL/ConditionalFormatValue.html +4 -7
- data/rdoc/RubyXL/ConditionalFormatting.html +4 -7
- data/rdoc/RubyXL/ConditionalFormattingRule.html +4 -7
- data/rdoc/RubyXL/Connection.html +103 -0
- data/rdoc/RubyXL/ConnectionTable.html +103 -0
- data/rdoc/RubyXL/ConnectionTables.html +103 -0
- data/rdoc/RubyXL/ConnectionTextField.html +103 -0
- data/rdoc/RubyXL/ConnectionTextFields.html +103 -0
- data/rdoc/RubyXL/Connections.html +173 -0
- data/rdoc/RubyXL/ContentTypeDefault.html +3 -5
- data/rdoc/RubyXL/ContentTypeOverride.html +3 -5
- data/rdoc/RubyXL/ContentTypes.html +9 -11
- data/rdoc/RubyXL/ControlPropertiesFile.html +3 -5
- data/rdoc/RubyXL/CorePropertiesFile.html +14 -16
- data/rdoc/RubyXL/CustomColor.html +4 -7
- data/rdoc/RubyXL/CustomColorList.html +4 -7
- data/rdoc/RubyXL/CustomFilter.html +4 -7
- data/rdoc/RubyXL/CustomFilters.html +4 -7
- data/rdoc/RubyXL/CustomGeometry.html +4 -7
- data/rdoc/RubyXL/CustomProperties.html +4 -7
- data/rdoc/RubyXL/CustomPropertiesFile.html +3 -5
- data/rdoc/RubyXL/CustomProperty.html +4 -7
- data/rdoc/RubyXL/CustomPropertyFile.html +3 -5
- data/rdoc/RubyXL/CustomSheetView.html +4 -7
- data/rdoc/RubyXL/CustomSheetViews.html +4 -7
- data/rdoc/RubyXL/CustomWorkbookView.html +4 -7
- data/rdoc/RubyXL/CustomWorkbookViews.html +4 -7
- data/rdoc/RubyXL/CustomXMLFile.html +3 -5
- data/rdoc/RubyXL/DXF.html +4 -7
- data/rdoc/RubyXL/DXFs.html +4 -7
- data/rdoc/RubyXL/DataBar.html +4 -7
- data/rdoc/RubyXL/DataConsolidate.html +4 -7
- data/rdoc/RubyXL/DataConsolidationReference.html +4 -7
- data/rdoc/RubyXL/DataConsolidationReferences.html +4 -7
- data/rdoc/RubyXL/DataType.html +4 -7
- data/rdoc/RubyXL/DataValidation.html +4 -7
- data/rdoc/RubyXL/DataValidations.html +4 -7
- data/rdoc/RubyXL/DateGroupItem.html +4 -7
- data/rdoc/RubyXL/DefinedName.html +4 -7
- data/rdoc/RubyXL/DefinedNameExt.html +4 -7
- data/rdoc/RubyXL/DefinedNames.html +4 -7
- data/rdoc/RubyXL/DefinedNamesExt.html +4 -7
- data/rdoc/RubyXL/DocumentPropertiesFile.html +8 -11
- data/rdoc/RubyXL/DrawingFile.html +4 -6
- data/rdoc/RubyXL/DynamicFilter.html +4 -7
- data/rdoc/RubyXL/EmbeddedControl.html +4 -7
- data/rdoc/RubyXL/EmbeddedControls.html +4 -7
- data/rdoc/RubyXL/Extension.html +4 -7
- data/rdoc/RubyXL/ExtensionStorageArea.html +4 -7
- data/rdoc/RubyXL/Extents.html +4 -7
- data/rdoc/RubyXL/ExternalBook.html +4 -7
- data/rdoc/RubyXL/ExternalLinksFile.html +4 -6
- data/rdoc/RubyXL/ExternalReference.html +4 -7
- data/rdoc/RubyXL/ExternalReferences.html +4 -7
- data/rdoc/RubyXL/ExtraColorSchemeList.html +4 -7
- data/rdoc/RubyXL/FieldItem.html +4 -7
- data/rdoc/RubyXL/FileRecoveryProperties.html +4 -7
- data/rdoc/RubyXL/FileSharing.html +4 -7
- data/rdoc/RubyXL/FileVersion.html +4 -7
- data/rdoc/RubyXL/Fill.html +6 -9
- data/rdoc/RubyXL/Fills.html +6 -9
- data/rdoc/RubyXL/FilterContainer.html +4 -7
- data/rdoc/RubyXL/FloatNode.html +3 -5
- data/rdoc/RubyXL/FloatValue.html +3 -5
- data/rdoc/RubyXL/Font.html +8 -12
- data/rdoc/RubyXL/FontConvenienceMethods.html +25 -28
- data/rdoc/RubyXL/FontScheme.html +4 -7
- data/rdoc/RubyXL/Fonts.html +6 -9
- data/rdoc/RubyXL/Formula.html +4 -7
- data/rdoc/RubyXL/FunctionGroup.html +4 -7
- data/rdoc/RubyXL/FunctionGroups.html +4 -7
- data/rdoc/RubyXL/GenericStorageObject.html +6 -8
- data/rdoc/RubyXL/GradientFill.html +4 -7
- data/rdoc/RubyXL/HeaderFooterSettings.html +4 -7
- data/rdoc/RubyXL/Hyperlink.html +4 -7
- data/rdoc/RubyXL/HyperlinkRelFile.html +3 -5
- data/rdoc/RubyXL/Hyperlinks.html +4 -7
- data/rdoc/RubyXL/IconFilter.html +4 -7
- data/rdoc/RubyXL/IconSet.html +4 -7
- data/rdoc/RubyXL/IgnoredError.html +4 -7
- data/rdoc/RubyXL/IgnoredErrors.html +4 -7
- data/rdoc/RubyXL/IndexedColors.html +4 -7
- data/rdoc/RubyXL/InputCells.html +4 -7
- data/rdoc/RubyXL/IntegerNode.html +3 -5
- data/rdoc/RubyXL/IntegerValue.html +3 -5
- data/rdoc/RubyXL/LegacyCell.html +4 -6
- data/rdoc/RubyXL/LegacyWorksheet.html +10 -12
- data/rdoc/RubyXL/MRUColors.html +4 -7
- data/rdoc/RubyXL/MacrosFile.html +3 -5
- data/rdoc/RubyXL/MergedCell.html +4 -7
- data/rdoc/RubyXL/MergedCells.html +4 -7
- data/rdoc/RubyXL/NumFmt.html +4 -7
- data/rdoc/RubyXL/NumberFormat.html +6 -9
- data/rdoc/RubyXL/NumberFormats.html +6 -10
- data/rdoc/RubyXL/OLEObject.html +4 -7
- data/rdoc/RubyXL/OLEObjectFile.html +3 -5
- data/rdoc/RubyXL/OLEObjects.html +4 -7
- data/rdoc/RubyXL/OLESize.html +4 -7
- data/rdoc/RubyXL/OOXMLContainerObject.html +13 -18
- data/rdoc/RubyXL/OOXMLIgnored.html +5 -7
- data/rdoc/RubyXL/OOXMLObject.html +4 -8
- data/rdoc/RubyXL/OOXMLObjectClassMethods.html +49 -96
- data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +20 -44
- data/rdoc/RubyXL/OOXMLRelationshipsFile.html +28 -27
- data/rdoc/RubyXL/OOXMLTopLevelObject.html +19 -32
- data/rdoc/RubyXL/OdbcOleDbProperties.html +103 -0
- data/rdoc/RubyXL/Offset.html +4 -7
- data/rdoc/RubyXL/OlapProperties.html +103 -0
- data/rdoc/RubyXL/OutlineProperties.html +4 -7
- data/rdoc/RubyXL/PageMargins.html +4 -7
- data/rdoc/RubyXL/PageSetup.html +4 -7
- data/rdoc/RubyXL/PageSetupProperties.html +4 -7
- data/rdoc/RubyXL/Pane.html +4 -7
- data/rdoc/RubyXL/Parser.html +8 -11
- data/rdoc/RubyXL/PatternFill.html +4 -7
- data/rdoc/RubyXL/PhoneticProperties.html +4 -7
- data/rdoc/RubyXL/PhoneticRun.html +4 -7
- data/rdoc/RubyXL/PivotArea.html +4 -7
- data/rdoc/RubyXL/PivotCache.html +4 -7
- data/rdoc/RubyXL/PivotCacheDefinitionFile.html +3 -5
- data/rdoc/RubyXL/PivotCacheRecordsFile.html +3 -5
- data/rdoc/RubyXL/PivotCaches.html +4 -7
- data/rdoc/RubyXL/PivotReference.html +4 -7
- data/rdoc/RubyXL/PivotReferences.html +4 -7
- data/rdoc/RubyXL/PivotTableFile.html +3 -5
- data/rdoc/RubyXL/PivotTableSelection.html +4 -7
- data/rdoc/RubyXL/PresetGeometry.html +4 -7
- data/rdoc/RubyXL/PrintOptions.html +4 -7
- data/rdoc/RubyXL/PrinterSettingsFile.html +3 -5
- data/rdoc/RubyXL/ProtectedRange.html +4 -7
- data/rdoc/RubyXL/ProtectedRanges.html +4 -7
- data/rdoc/RubyXL/Protection.html +4 -7
- data/rdoc/RubyXL/QueryParameter.html +103 -0
- data/rdoc/RubyXL/QueryParameters.html +103 -0
- data/rdoc/RubyXL/QueryTable.html +184 -0
- data/rdoc/RubyXL/QueryTableDeletedField.html +103 -0
- data/rdoc/RubyXL/QueryTableDeletedFields.html +103 -0
- data/rdoc/RubyXL/QueryTableField.html +103 -0
- data/rdoc/RubyXL/QueryTableFields.html +103 -0
- data/rdoc/RubyXL/QueryTableRefresh.html +103 -0
- data/rdoc/RubyXL/RID.html +3 -5
- data/rdoc/RubyXL/RawOOXML.html +6 -9
- data/rdoc/RubyXL/Reference.html +18 -25
- data/rdoc/RubyXL/Relationship.html +3 -5
- data/rdoc/RubyXL/RelationshipSupport.html +19 -20
- data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +5 -7
- data/rdoc/RubyXL/RevisionPointer.html +4 -10
- data/rdoc/RubyXL/RichText.html +5 -8
- data/rdoc/RubyXL/RichTextRun.html +5 -8
- data/rdoc/RubyXL/Row.html +13 -16
- data/rdoc/RubyXL/RowExt.html +4 -7
- data/rdoc/RubyXL/RunProperties.html +4 -7
- data/rdoc/RubyXL/Scenario.html +4 -7
- data/rdoc/RubyXL/Scenarios.html +4 -7
- data/rdoc/RubyXL/Selection.html +6 -9
- data/rdoc/RubyXL/ShapeGuide.html +4 -7
- data/rdoc/RubyXL/ShapeTextRectangle.html +4 -7
- data/rdoc/RubyXL/SharedStringsTable.html +18 -21
- data/rdoc/RubyXL/Sheet.html +4 -7
- data/rdoc/RubyXL/SheetCalculationProperties.html +4 -7
- data/rdoc/RubyXL/SheetData.html +6 -9
- data/rdoc/RubyXL/SheetDataExt.html +4 -7
- data/rdoc/RubyXL/SheetDataSet.html +4 -7
- data/rdoc/RubyXL/SheetName.html +4 -7
- data/rdoc/RubyXL/SheetNames.html +4 -7
- data/rdoc/RubyXL/Sheets.html +4 -7
- data/rdoc/RubyXL/SlicerCacheFile.html +3 -5
- data/rdoc/RubyXL/SlicerFile.html +3 -5
- data/rdoc/RubyXL/SmartTagProperties.html +4 -7
- data/rdoc/RubyXL/SmartTagType.html +4 -7
- data/rdoc/RubyXL/SmartTagTypes.html +4 -7
- data/rdoc/RubyXL/SmartTags.html +4 -7
- data/rdoc/RubyXL/SortCondition.html +4 -7
- data/rdoc/RubyXL/SortState.html +4 -7
- data/rdoc/RubyXL/Sqref.html +5 -7
- data/rdoc/RubyXL/Stop.html +4 -7
- data/rdoc/RubyXL/StringNode.html +3 -5
- data/rdoc/RubyXL/StringNodeW3C.html +6 -8
- data/rdoc/RubyXL/StringValue.html +3 -5
- data/rdoc/RubyXL/Stylesheet.html +17 -20
- data/rdoc/RubyXL/TableFile.html +3 -5
- data/rdoc/RubyXL/TableParts.html +3 -5
- data/rdoc/RubyXL/TableStyle.html +4 -7
- data/rdoc/RubyXL/TableStyles.html +4 -7
- data/rdoc/RubyXL/Text.html +7 -13
- data/rdoc/RubyXL/TextImportSettings.html +103 -0
- data/rdoc/RubyXL/Theme.html +10 -13
- data/rdoc/RubyXL/ThemeElements.html +4 -7
- data/rdoc/RubyXL/ThumbnailFile.html +3 -5
- data/rdoc/RubyXL/Top10.html +4 -7
- data/rdoc/RubyXL/VMLDrawingFile.html +4 -7
- data/rdoc/RubyXL/Variant.html +4 -7
- data/rdoc/RubyXL/Vector.html +5 -8
- data/rdoc/RubyXL/VectorValue.html +3 -5
- data/rdoc/RubyXL/VisualProperties.html +4 -7
- data/rdoc/RubyXL/WebPublishObject.html +4 -7
- data/rdoc/RubyXL/WebPublishObjects.html +4 -7
- data/rdoc/RubyXL/WebPublishingItem.html +4 -7
- data/rdoc/RubyXL/WebPublishingItems.html +4 -7
- data/rdoc/RubyXL/WebPublishingProperties.html +4 -7
- data/rdoc/RubyXL/WebQueryProperties.html +103 -0
- data/rdoc/RubyXL/Workbook.html +67 -72
- data/rdoc/RubyXL/WorkbookConvenienceMethods.html +24 -28
- data/rdoc/RubyXL/WorkbookProperties.html +4 -7
- data/rdoc/RubyXL/WorkbookProtection.html +4 -7
- data/rdoc/RubyXL/WorkbookRoot.html +8 -10
- data/rdoc/RubyXL/WorkbookView.html +4 -7
- data/rdoc/RubyXL/WorkbookViews.html +4 -7
- data/rdoc/RubyXL/Worksheet.html +16 -19
- data/rdoc/RubyXL/WorksheetConvenienceMethods.html +98 -113
- data/rdoc/RubyXL/WorksheetDimensions.html +4 -7
- data/rdoc/RubyXL/WorksheetFormatProperties.html +3 -5
- data/rdoc/RubyXL/WorksheetProperties.html +4 -7
- data/rdoc/RubyXL/WorksheetProtection.html +4 -7
- data/rdoc/RubyXL/WorksheetView.html +4 -7
- data/rdoc/RubyXL/WorksheetViews.html +4 -7
- data/rdoc/RubyXL/XF.html +4 -7
- data/rdoc/created.rid +13 -11
- data/rdoc/index.html +40 -4
- data/rdoc/js/navigation.js +3 -4
- data/rdoc/js/navigation.js.gz +0 -0
- data/rdoc/js/search_index.js +1 -1
- data/rdoc/js/search_index.js.gz +0 -0
- data/rdoc/js/searcher.js.gz +0 -0
- data/rdoc/table_of_contents.html +69 -4
- data/rubyXL.gemspec +29 -4
- data/test/test_parse_write.rb +15 -15
- metadata +39 -3
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>class RubyXL::WebPublishingItems - rubyXL 3.4.
|
|
7
|
+
<title>class RubyXL::WebPublishingItems - rubyXL 3.4.4</title>
|
|
8
8
|
|
|
9
9
|
<script type="text/javascript">
|
|
10
10
|
var rdoc_rel_prefix = "../";
|
|
@@ -76,14 +76,11 @@
|
|
|
76
76
|
|
|
77
77
|
<section class="description">
|
|
78
78
|
|
|
79
|
-
<p><a
|
|
80
|
-
href="http://www.datypic.com/sc/ooxml/e-ssml_webPublishItems-1.html">www.datypic.com/sc/ooxml/e-ssml_webPublishItems-1.html</a></p>
|
|
79
|
+
<p><a href="http://www.datypic.com/sc/ooxml/e-ssml_webPublishItems-1.html">www.datypic.com/sc/ooxml/e-ssml_webPublishItems-1.html</a></p>
|
|
81
80
|
|
|
82
81
|
</section>
|
|
83
82
|
|
|
84
83
|
|
|
85
|
-
|
|
86
|
-
|
|
87
84
|
<section id="5Buntitled-5D" class="documentation-section">
|
|
88
85
|
|
|
89
86
|
|
|
@@ -99,8 +96,8 @@ href="http://www.datypic.com/sc/ooxml/e-ssml_webPublishItems-1.html">www.datypic
|
|
|
99
96
|
|
|
100
97
|
|
|
101
98
|
<footer id="validator-badges" role="contentinfo">
|
|
102
|
-
<p><a href="
|
|
103
|
-
<p>Generated by <a href="https://
|
|
99
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
100
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.1.
|
|
104
101
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
105
102
|
</footer>
|
|
106
103
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>class RubyXL::WebPublishingProperties - rubyXL 3.4.
|
|
7
|
+
<title>class RubyXL::WebPublishingProperties - rubyXL 3.4.4</title>
|
|
8
8
|
|
|
9
9
|
<script type="text/javascript">
|
|
10
10
|
var rdoc_rel_prefix = "../";
|
|
@@ -76,14 +76,11 @@
|
|
|
76
76
|
|
|
77
77
|
<section class="description">
|
|
78
78
|
|
|
79
|
-
<p><a
|
|
80
|
-
href="http://www.datypic.com/sc/ooxml/e-ssml_webPublishing-1.html">www.datypic.com/sc/ooxml/e-ssml_webPublishing-1.html</a></p>
|
|
79
|
+
<p><a href="http://www.datypic.com/sc/ooxml/e-ssml_webPublishing-1.html">www.datypic.com/sc/ooxml/e-ssml_webPublishing-1.html</a></p>
|
|
81
80
|
|
|
82
81
|
</section>
|
|
83
82
|
|
|
84
83
|
|
|
85
|
-
|
|
86
|
-
|
|
87
84
|
<section id="5Buntitled-5D" class="documentation-section">
|
|
88
85
|
|
|
89
86
|
|
|
@@ -99,8 +96,8 @@ href="http://www.datypic.com/sc/ooxml/e-ssml_webPublishing-1.html">www.datypic.c
|
|
|
99
96
|
|
|
100
97
|
|
|
101
98
|
<footer id="validator-badges" role="contentinfo">
|
|
102
|
-
<p><a href="
|
|
103
|
-
<p>Generated by <a href="https://
|
|
99
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
100
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.1.
|
|
104
101
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
105
102
|
</footer>
|
|
106
103
|
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
|
|
3
|
+
<html>
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
|
|
7
|
+
<title>class RubyXL::WebQueryProperties - rubyXL 3.4.4</title>
|
|
8
|
+
|
|
9
|
+
<script type="text/javascript">
|
|
10
|
+
var rdoc_rel_prefix = "../";
|
|
11
|
+
var index_rel_prefix = "../";
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<script src="../js/jquery.js"></script>
|
|
15
|
+
<script src="../js/darkfish.js"></script>
|
|
16
|
+
|
|
17
|
+
<link href="../css/fonts.css" rel="stylesheet">
|
|
18
|
+
<link href="../css/rdoc.css" rel="stylesheet">
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
<body id="top" role="document" class="class">
|
|
23
|
+
<nav role="navigation">
|
|
24
|
+
<div id="project-navigation">
|
|
25
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
|
26
|
+
<h2>
|
|
27
|
+
<a href="../index.html" rel="home">Home</a>
|
|
28
|
+
</h2>
|
|
29
|
+
|
|
30
|
+
<div id="table-of-contents-navigation">
|
|
31
|
+
<a href="../table_of_contents.html#pages">Pages</a>
|
|
32
|
+
<a href="../table_of_contents.html#classes">Classes</a>
|
|
33
|
+
<a href="../table_of_contents.html#methods">Methods</a>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
|
|
37
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
|
38
|
+
<form action="#" method="get" accept-charset="utf-8">
|
|
39
|
+
<div id="search-field-wrapper">
|
|
40
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
|
41
|
+
aria-autocomplete="list" aria-controls="search-results"
|
|
42
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
|
43
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
<ul id="search-results" aria-label="Search Results"
|
|
47
|
+
aria-busy="false" aria-expanded="false"
|
|
48
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
|
49
|
+
</form>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
</div>
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
<div id="class-metadata">
|
|
57
|
+
|
|
58
|
+
<div id="parent-class-section" class="nav-section">
|
|
59
|
+
<h3>Parent</h3>
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
<p class="link">OOXMLObject
|
|
63
|
+
|
|
64
|
+
</div>
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
</div>
|
|
70
|
+
</nav>
|
|
71
|
+
|
|
72
|
+
<main role="main" aria-labelledby="class-RubyXL::WebQueryProperties">
|
|
73
|
+
<h1 id="class-RubyXL::WebQueryProperties" class="class">
|
|
74
|
+
class RubyXL::WebQueryProperties
|
|
75
|
+
</h1>
|
|
76
|
+
|
|
77
|
+
<section class="description">
|
|
78
|
+
|
|
79
|
+
<p><a href="http://www.datypic.com/sc/ooxml/e-ssml_webPr-1.html">www.datypic.com/sc/ooxml/e-ssml_webPr-1.html</a></p>
|
|
80
|
+
|
|
81
|
+
</section>
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
</section>
|
|
95
|
+
</main>
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
<footer id="validator-badges" role="contentinfo">
|
|
99
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
100
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.1.
|
|
101
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
102
|
+
</footer>
|
|
103
|
+
|
data/rdoc/RubyXL/Workbook.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
|
-
<title>class RubyXL::Workbook - rubyXL 3.4.
|
|
7
|
+
<title>class RubyXL::Workbook - rubyXL 3.4.4</title>
|
|
8
8
|
|
|
9
9
|
<script type="text/javascript">
|
|
10
10
|
var rdoc_rel_prefix = "../";
|
|
@@ -155,14 +155,11 @@
|
|
|
155
155
|
|
|
156
156
|
<section class="description">
|
|
157
157
|
|
|
158
|
-
<p><a
|
|
159
|
-
href="http://www.datypic.com/sc/ooxml/e-ssml_workbook.html">www.datypic.com/sc/ooxml/e-ssml_workbook.html</a></p>
|
|
158
|
+
<p><a href="http://www.datypic.com/sc/ooxml/e-ssml_workbook.html">www.datypic.com/sc/ooxml/e-ssml_workbook.html</a></p>
|
|
160
159
|
|
|
161
160
|
</section>
|
|
162
161
|
|
|
163
162
|
|
|
164
|
-
|
|
165
|
-
|
|
166
163
|
<section id="5Buntitled-5D" class="documentation-section">
|
|
167
164
|
|
|
168
165
|
|
|
@@ -197,8 +194,7 @@ href="http://www.datypic.com/sc/ooxml/e-ssml_workbook.html">www.datypic.com/sc/o
|
|
|
197
194
|
|
|
198
195
|
<dt id="DATE1899">DATE1899
|
|
199
196
|
|
|
200
|
-
<dd><p>Subtracting one day to accomodate for erroneous 1900 leap year
|
|
201
|
-
compatibility only for 1900 based dates</p>
|
|
197
|
+
<dd><p>Subtracting one day to accomodate for erroneous 1900 leap year compatibility only for 1900 based dates</p>
|
|
202
198
|
|
|
203
199
|
|
|
204
200
|
<dt id="DATE1904">DATE1904
|
|
@@ -218,8 +214,7 @@ compatibility only for 1900 based dates</p>
|
|
|
218
214
|
|
|
219
215
|
<dt id="SHEET_NAME_FORBIDDEN_CHARS">SHEET_NAME_FORBIDDEN_CHARS
|
|
220
216
|
|
|
221
|
-
<dd><p><a
|
|
222
|
-
href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-use-in-worksheet-names">www.accountingweb.com/technology/excel/seven-characters-you-cant-use-in-worksheet-names</a></p>
|
|
217
|
+
<dd><p><a href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-use-in-worksheet-names">www.accountingweb.com/technology/excel/seven-characters-you-cant-use-in-worksheet-names</a></p>
|
|
223
218
|
|
|
224
219
|
|
|
225
220
|
<dt id="SHEET_NAME_TEMPLATE">SHEET_NAME_TEMPLATE
|
|
@@ -265,7 +260,7 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
265
260
|
|
|
266
261
|
<div class="method-heading">
|
|
267
262
|
<span class="method-name">new</span><span
|
|
268
|
-
class="method-args">(worksheets = [], src_file_path = nil, creator = nil, modifier = nil, created_at = nil, company =
|
|
263
|
+
class="method-args">(worksheets = [], src_file_path = nil, creator = nil, modifier = nil, created_at = nil, company = '', application = APPLICATION, appversion = APPVERSION, date1904 = 0)</span>
|
|
269
264
|
|
|
270
265
|
<span class="method-click-advice">click to toggle source</span>
|
|
271
266
|
|
|
@@ -279,14 +274,14 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
279
274
|
|
|
280
275
|
<div class="method-calls-super">
|
|
281
276
|
Calls superclass method
|
|
282
|
-
<a href="OOXMLObjectInstanceMethods.html#method-c-new">RubyXL::OOXMLObjectInstanceMethods
|
|
277
|
+
<a href="OOXMLObjectInstanceMethods.html#method-c-new"><code>RubyXL::OOXMLObjectInstanceMethods::new</code></a>
|
|
283
278
|
</div>
|
|
284
279
|
|
|
285
280
|
|
|
286
281
|
|
|
287
282
|
<div class="method-source-code" id="new-source">
|
|
288
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
289
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">worksheets</span> = [], <span class="ruby-identifier">src_file_path</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">creator</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">modifier</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">created_at</span> = <span class="ruby-keyword">nil</span>,
|
|
283
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 434</span>
|
|
284
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">worksheets</span> = [], <span class="ruby-identifier">src_file_path</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">creator</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">modifier</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">created_at</span> = <span class="ruby-keyword">nil</span>,
|
|
290
285
|
<span class="ruby-identifier">company</span> = <span class="ruby-string">''</span>, <span class="ruby-identifier">application</span> = <span class="ruby-constant">APPLICATION</span>, <span class="ruby-identifier">appversion</span> = <span class="ruby-constant">APPVERSION</span>, <span class="ruby-identifier">date1904</span> = <span class="ruby-value">0</span>)
|
|
291
286
|
<span class="ruby-keyword">super</span>()
|
|
292
287
|
|
|
@@ -350,8 +345,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
350
345
|
|
|
351
346
|
|
|
352
347
|
<div class="method-source-code" id="5B-5D-source">
|
|
353
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
354
|
-
<span class="ruby-keyword">def</span> <span class="ruby-
|
|
348
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 465</span>
|
|
349
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">[]</span>(<span class="ruby-identifier">ind</span>)
|
|
355
350
|
<span class="ruby-keyword">case</span> <span class="ruby-identifier">ind</span>
|
|
356
351
|
<span class="ruby-keyword">when</span> <span class="ruby-constant">Integer</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">worksheets</span>[<span class="ruby-identifier">ind</span>]
|
|
357
352
|
<span class="ruby-keyword">when</span> <span class="ruby-constant">String</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">worksheets</span>.<span class="ruby-identifier">find</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">ws</span><span class="ruby-operator">|</span> <span class="ruby-identifier">ws</span>.<span class="ruby-identifier">sheet_name</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">ind</span> }
|
|
@@ -388,8 +383,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
388
383
|
|
|
389
384
|
|
|
390
385
|
<div class="method-source-code" id="add_worksheet-source">
|
|
391
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
392
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">add_worksheet</span>(<span class="ruby-identifier">name</span> = <span class="ruby-keyword">nil</span>)
|
|
386
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 475</span>
|
|
387
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">add_worksheet</span>(<span class="ruby-identifier">name</span> = <span class="ruby-keyword">nil</span>)
|
|
393
388
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">name</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-keyword">then</span>
|
|
394
389
|
<span class="ruby-identifier">n</span> = <span class="ruby-value">0</span>
|
|
395
390
|
|
|
@@ -398,7 +393,7 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
398
393
|
<span class="ruby-keyword">end</span> <span class="ruby-keyword">until</span> <span class="ruby-keyword">self</span>[<span class="ruby-identifier">name</span>].<span class="ruby-identifier">nil?</span>
|
|
399
394
|
<span class="ruby-keyword">end</span>
|
|
400
395
|
|
|
401
|
-
<span class="ruby-identifier">new_worksheet</span> = <span class="ruby-constant">Worksheet</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:workbook</span>
|
|
396
|
+
<span class="ruby-identifier">new_worksheet</span> = <span class="ruby-constant">Worksheet</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:workbook</span> <span class="ruby-operator">=></span> <span class="ruby-keyword">self</span>, <span class="ruby-value">:sheet_name</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">name</span>)
|
|
402
397
|
<span class="ruby-identifier">worksheets</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">new_worksheet</span>
|
|
403
398
|
<span class="ruby-identifier">new_worksheet</span>
|
|
404
399
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -431,8 +426,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
431
426
|
|
|
432
427
|
|
|
433
428
|
<div class="method-source-code" id="application-source">
|
|
434
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
435
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">application</span>
|
|
429
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 514</span>
|
|
430
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">application</span>
|
|
436
431
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">application</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">application</span>.<span class="ruby-identifier">value</span>
|
|
437
432
|
<span class="ruby-keyword">end</span></pre>
|
|
438
433
|
</div>
|
|
@@ -464,8 +459,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
464
459
|
|
|
465
460
|
|
|
466
461
|
<div class="method-source-code" id="application-3D-source">
|
|
467
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
468
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">application=</span>(<span class="ruby-identifier">v</span>)
|
|
462
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 518</span>
|
|
463
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">application=</span>(<span class="ruby-identifier">v</span>)
|
|
469
464
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">application</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">StringNode</span>.<span class="ruby-identifier">new</span>
|
|
470
465
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">application</span>.<span class="ruby-identifier">value</span> = <span class="ruby-identifier">v</span>
|
|
471
466
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -498,8 +493,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
498
493
|
|
|
499
494
|
|
|
500
495
|
<div class="method-source-code" id="appversion-source">
|
|
501
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
502
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">appversion</span>
|
|
496
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 523</span>
|
|
497
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">appversion</span>
|
|
503
498
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">app_version</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">app_version</span>.<span class="ruby-identifier">value</span>
|
|
504
499
|
<span class="ruby-keyword">end</span></pre>
|
|
505
500
|
</div>
|
|
@@ -531,8 +526,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
531
526
|
|
|
532
527
|
|
|
533
528
|
<div class="method-source-code" id="appversion-3D-source">
|
|
534
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
535
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">appversion=</span>(<span class="ruby-identifier">v</span>)
|
|
529
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 527</span>
|
|
530
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">appversion=</span>(<span class="ruby-identifier">v</span>)
|
|
536
531
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">app_version</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">StringNode</span>.<span class="ruby-identifier">new</span>
|
|
537
532
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">app_version</span>.<span class="ruby-identifier">value</span> = <span class="ruby-identifier">v</span>
|
|
538
533
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -565,8 +560,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
565
560
|
|
|
566
561
|
|
|
567
562
|
<div class="method-source-code" id="before_write_xml-source">
|
|
568
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
569
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">before_write_xml</span>
|
|
563
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 363</span>
|
|
564
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">before_write_xml</span>
|
|
570
565
|
<span class="ruby-identifier">max_sheet_id</span> = <span class="ruby-identifier">worksheets</span>.<span class="ruby-identifier">collect</span>(<span class="ruby-operator">&</span><span class="ruby-value">:sheet_id</span>).<span class="ruby-identifier">compact</span>.<span class="ruby-identifier">max</span> <span class="ruby-operator">||</span> <span class="ruby-value">0</span>
|
|
571
566
|
|
|
572
567
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">sheets</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Sheets</span>.<span class="ruby-identifier">new</span>
|
|
@@ -576,10 +571,10 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
576
571
|
|
|
577
572
|
<span class="ruby-identifier">raise</span> <span class="ruby-node">"Worksheet name '#{sheet.sheet_name}' contains forbidden characters"</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">sheet</span>.<span class="ruby-identifier">sheet_name</span> <span class="ruby-operator">=~</span> <span class="ruby-constant">SHEET_NAME_FORBIDDEN_CHARS</span>
|
|
578
573
|
|
|
579
|
-
<span class="ruby-identifier">sheets</span> <span class="ruby-operator"><<</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Sheet</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:name</span>
|
|
580
|
-
<span class="ruby-value">:sheet_id</span>
|
|
581
|
-
<span class="ruby-value">:state</span>
|
|
582
|
-
<span class="ruby-value">:r_id</span>
|
|
574
|
+
<span class="ruby-identifier">sheets</span> <span class="ruby-operator"><<</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Sheet</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:name</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">sheet</span>.<span class="ruby-identifier">sheet_name</span>[<span class="ruby-value">0</span><span class="ruby-operator">..</span><span class="ruby-value">30</span>], <span class="ruby-comment"># Max sheet name length is 31 char</span>
|
|
575
|
+
<span class="ruby-value">:sheet_id</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">sheet</span>.<span class="ruby-identifier">sheet_id</span> <span class="ruby-operator">||</span> (<span class="ruby-identifier">max_sheet_id</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>),
|
|
576
|
+
<span class="ruby-value">:state</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">sheet</span>.<span class="ruby-identifier">state</span>,
|
|
577
|
+
<span class="ruby-value">:r_id</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">rel</span>.<span class="ruby-identifier">id</span>)
|
|
583
578
|
}
|
|
584
579
|
|
|
585
580
|
<span class="ruby-keyword">true</span>
|
|
@@ -613,8 +608,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
613
608
|
|
|
614
609
|
|
|
615
610
|
<div class="method-source-code" id="company-source">
|
|
616
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
617
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">company</span>
|
|
611
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 505</span>
|
|
612
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">company</span>
|
|
618
613
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">company</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">company</span>.<span class="ruby-identifier">value</span>
|
|
619
614
|
<span class="ruby-keyword">end</span></pre>
|
|
620
615
|
</div>
|
|
@@ -646,8 +641,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
646
641
|
|
|
647
642
|
|
|
648
643
|
<div class="method-source-code" id="company-3D-source">
|
|
649
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
650
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">company=</span>(<span class="ruby-identifier">v</span>)
|
|
644
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 509</span>
|
|
645
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">company=</span>(<span class="ruby-identifier">v</span>)
|
|
651
646
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">company</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">StringNode</span>.<span class="ruby-identifier">new</span>
|
|
652
647
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">document_properties</span>.<span class="ruby-identifier">company</span>.<span class="ruby-identifier">value</span> = <span class="ruby-identifier">v</span>
|
|
653
648
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -680,8 +675,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
680
675
|
|
|
681
676
|
|
|
682
677
|
<div class="method-source-code" id="content_type-source">
|
|
683
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
684
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">content_type</span>
|
|
678
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 311</span>
|
|
679
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">content_type</span>
|
|
685
680
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">macros</span> <span class="ruby-keyword">then</span> <span class="ruby-constant">CONTENT_TYPE_WITH_MACROS</span> <span class="ruby-keyword">else</span> <span class="ruby-constant">CONTENT_TYPE</span> <span class="ruby-keyword">end</span>
|
|
686
681
|
<span class="ruby-keyword">end</span></pre>
|
|
687
682
|
</div>
|
|
@@ -713,8 +708,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
713
708
|
|
|
714
709
|
|
|
715
710
|
<div class="method-source-code" id="created_at-source">
|
|
716
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
717
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">created_at</span>
|
|
711
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 489</span>
|
|
712
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">created_at</span>
|
|
718
713
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">created_at</span>
|
|
719
714
|
<span class="ruby-keyword">end</span></pre>
|
|
720
715
|
</div>
|
|
@@ -746,8 +741,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
746
741
|
|
|
747
742
|
|
|
748
743
|
<div class="method-source-code" id="created_at-3D-source">
|
|
749
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
750
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">created_at=</span>(<span class="ruby-identifier">v</span>)
|
|
744
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 493</span>
|
|
745
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">created_at=</span>(<span class="ruby-identifier">v</span>)
|
|
751
746
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">created_at</span> = <span class="ruby-identifier">v</span>
|
|
752
747
|
<span class="ruby-keyword">end</span></pre>
|
|
753
748
|
</div>
|
|
@@ -779,8 +774,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
779
774
|
|
|
780
775
|
|
|
781
776
|
<div class="method-source-code" id="creator-source">
|
|
782
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
783
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">creator</span>
|
|
777
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 532</span>
|
|
778
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">creator</span>
|
|
784
779
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">creator</span>
|
|
785
780
|
<span class="ruby-keyword">end</span></pre>
|
|
786
781
|
</div>
|
|
@@ -812,8 +807,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
812
807
|
|
|
813
808
|
|
|
814
809
|
<div class="method-source-code" id="creator-3D-source">
|
|
815
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
816
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">creator=</span>(<span class="ruby-identifier">v</span>)
|
|
810
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 536</span>
|
|
811
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">creator=</span>(<span class="ruby-identifier">v</span>)
|
|
817
812
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">creator</span> = <span class="ruby-identifier">v</span>
|
|
818
813
|
<span class="ruby-keyword">end</span></pre>
|
|
819
814
|
</div>
|
|
@@ -845,8 +840,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
845
840
|
|
|
846
841
|
|
|
847
842
|
<div class="method-source-code" id="date1904-source">
|
|
848
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
849
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">date1904</span>
|
|
843
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 548</span>
|
|
844
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">date1904</span>
|
|
850
845
|
<span class="ruby-identifier">workbook_properties</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">workbook_properties</span>.<span class="ruby-identifier">date1904</span>
|
|
851
846
|
<span class="ruby-keyword">end</span></pre>
|
|
852
847
|
</div>
|
|
@@ -878,8 +873,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
878
873
|
|
|
879
874
|
|
|
880
875
|
<div class="method-source-code" id="date1904-3D-source">
|
|
881
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
882
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">date1904=</span>(<span class="ruby-identifier">v</span>)
|
|
876
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 552</span>
|
|
877
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">date1904=</span>(<span class="ruby-identifier">v</span>)
|
|
883
878
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">workbook_properties</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">WorkbookProperties</span>.<span class="ruby-identifier">new</span>
|
|
884
879
|
<span class="ruby-identifier">workbook_properties</span>.<span class="ruby-identifier">date1904</span> = <span class="ruby-identifier">v</span>
|
|
885
880
|
<span class="ruby-keyword">end</span></pre>
|
|
@@ -912,8 +907,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
912
907
|
|
|
913
908
|
|
|
914
909
|
<div class="method-source-code" id="date_to_num-source">
|
|
915
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
916
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">date_to_num</span>(<span class="ruby-identifier">date</span>)
|
|
910
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 416</span>
|
|
911
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">date_to_num</span>(<span class="ruby-identifier">date</span>)
|
|
917
912
|
<span class="ruby-identifier">date</span> <span class="ruby-operator">&&</span> (<span class="ruby-identifier">date</span>.<span class="ruby-identifier">ajd</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">base_date</span>().<span class="ruby-identifier">ajd</span>).<span class="ruby-identifier">to_f</span>
|
|
918
913
|
<span class="ruby-keyword">end</span></pre>
|
|
919
914
|
</div>
|
|
@@ -945,8 +940,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
945
940
|
|
|
946
941
|
|
|
947
942
|
<div class="method-source-code" id="modified_at-source">
|
|
948
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
949
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">modified_at</span>
|
|
943
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 497</span>
|
|
944
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">modified_at</span>
|
|
950
945
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">modified_at</span>
|
|
951
946
|
<span class="ruby-keyword">end</span></pre>
|
|
952
947
|
</div>
|
|
@@ -978,8 +973,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
978
973
|
|
|
979
974
|
|
|
980
975
|
<div class="method-source-code" id="modified_at-3D-source">
|
|
981
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
982
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">modified_at=</span>(<span class="ruby-identifier">v</span>)
|
|
976
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 501</span>
|
|
977
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">modified_at=</span>(<span class="ruby-identifier">v</span>)
|
|
983
978
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">modified_at</span> = <span class="ruby-identifier">v</span>
|
|
984
979
|
<span class="ruby-keyword">end</span></pre>
|
|
985
980
|
</div>
|
|
@@ -1011,8 +1006,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
1011
1006
|
|
|
1012
1007
|
|
|
1013
1008
|
<div class="method-source-code" id="modifier-source">
|
|
1014
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
1015
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">modifier</span>
|
|
1009
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 540</span>
|
|
1010
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">modifier</span>
|
|
1016
1011
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">modifier</span>
|
|
1017
1012
|
<span class="ruby-keyword">end</span></pre>
|
|
1018
1013
|
</div>
|
|
@@ -1044,8 +1039,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
1044
1039
|
|
|
1045
1040
|
|
|
1046
1041
|
<div class="method-source-code" id="modifier-3D-source">
|
|
1047
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
1048
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">modifier=</span>(<span class="ruby-identifier">v</span>)
|
|
1042
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 544</span>
|
|
1043
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">modifier=</span>(<span class="ruby-identifier">v</span>)
|
|
1049
1044
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">core_properties</span>.<span class="ruby-identifier">modifier</span> = <span class="ruby-identifier">v</span>
|
|
1050
1045
|
<span class="ruby-keyword">end</span></pre>
|
|
1051
1046
|
</div>
|
|
@@ -1077,8 +1072,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
1077
1072
|
|
|
1078
1073
|
|
|
1079
1074
|
<div class="method-source-code" id="num_to_date-source">
|
|
1080
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
1081
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">num_to_date</span>(<span class="ruby-identifier">num</span>)
|
|
1075
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 420</span>
|
|
1076
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">num_to_date</span>(<span class="ruby-identifier">num</span>)
|
|
1082
1077
|
<span class="ruby-comment"># Bug-for-bug Excel compatibility (https://support.microsoft.com/kb/214058/)</span>
|
|
1083
1078
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">num</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">num</span> <span class="ruby-operator"><</span> <span class="ruby-constant">MARCH_1_1900</span> <span class="ruby-keyword">then</span>
|
|
1084
1079
|
<span class="ruby-identifier">num</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">workbook_properties</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">workbook_properties</span>.<span class="ruby-identifier">date1904</span>
|
|
@@ -1115,8 +1110,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
1115
1110
|
|
|
1116
1111
|
|
|
1117
1112
|
<div class="method-source-code" id="related_objects-source">
|
|
1118
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
1119
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">related_objects</span>
|
|
1113
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 315</span>
|
|
1114
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">related_objects</span>
|
|
1120
1115
|
[ <span class="ruby-identifier">calculation_chain</span>, <span class="ruby-identifier">stylesheet</span>, <span class="ruby-identifier">theme</span>, <span class="ruby-identifier">shared_strings_container</span>, <span class="ruby-identifier">macros</span> ] <span class="ruby-operator">+</span> <span class="ruby-ivar">@worksheets</span>
|
|
1121
1116
|
<span class="ruby-keyword">end</span></pre>
|
|
1122
1117
|
</div>
|
|
@@ -1148,8 +1143,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
1148
1143
|
|
|
1149
1144
|
|
|
1150
1145
|
<div class="method-source-code" id="save-source">
|
|
1151
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
1152
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">save</span>(<span class="ruby-identifier">dst_file_path</span> = <span class="ruby-keyword">nil</span>)
|
|
1146
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 392</span>
|
|
1147
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">save</span>(<span class="ruby-identifier">dst_file_path</span> = <span class="ruby-keyword">nil</span>)
|
|
1153
1148
|
<span class="ruby-identifier">dst_file_path</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">root</span>.<span class="ruby-identifier">source_file_path</span>
|
|
1154
1149
|
|
|
1155
1150
|
<span class="ruby-identifier">extension</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">extname</span>(<span class="ruby-identifier">dst_file_path</span>)
|
|
@@ -1194,8 +1189,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
1194
1189
|
|
|
1195
1190
|
|
|
1196
1191
|
<div class="method-source-code" id="stream-source">
|
|
1197
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
1198
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">stream</span>
|
|
1192
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 387</span>
|
|
1193
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">stream</span>
|
|
1199
1194
|
<span class="ruby-identifier">root</span>.<span class="ruby-identifier">stream</span>
|
|
1200
1195
|
<span class="ruby-keyword">end</span></pre>
|
|
1201
1196
|
</div>
|
|
@@ -1255,8 +1250,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
1255
1250
|
|
|
1256
1251
|
|
|
1257
1252
|
<div class="method-source-code" id="xlsx_path-source">
|
|
1258
|
-
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line
|
|
1259
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">xlsx_path</span>
|
|
1253
|
+
<pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 382</span>
|
|
1254
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">xlsx_path</span>
|
|
1260
1255
|
<span class="ruby-constant">ROOT</span>.<span class="ruby-identifier">join</span>(<span class="ruby-string">'xl'</span>, <span class="ruby-string">'workbook.xml'</span>)
|
|
1261
1256
|
<span class="ruby-keyword">end</span></pre>
|
|
1262
1257
|
</div>
|
|
@@ -1276,8 +1271,8 @@ href="http://www.accountingweb.com/technology/excel/seven-characters-you-cant-us
|
|
|
1276
1271
|
|
|
1277
1272
|
|
|
1278
1273
|
<footer id="validator-badges" role="contentinfo">
|
|
1279
|
-
<p><a href="
|
|
1280
|
-
<p>Generated by <a href="https://
|
|
1274
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
1275
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.1.
|
|
1281
1276
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
1282
1277
|
</footer>
|
|
1283
1278
|
|