spire-xls 15.5.0__py3-none-macosx_10_7_universal.whl
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.
- spire/__init__.py +0 -0
- spire/xls/AddInFunctionsCollection.py +29 -0
- spire/xls/AddtionalFormatWrapper.py +976 -0
- spire/xls/AlertStyleType.py +18 -0
- spire/xls/ArcShapeCollection.py +70 -0
- spire/xls/AutoFiltersCollection.py +527 -0
- spire/xls/AutoFitterOptions.py +66 -0
- spire/xls/AutoFormatOptions.py +23 -0
- spire/xls/AutoFormatType.py +32 -0
- spire/xls/AutoSortScope.py +25 -0
- spire/xls/Average.py +29 -0
- spire/xls/AverageType.py +25 -0
- spire/xls/AxisLineIdentifierType.py +19 -0
- spire/xls/AxisTextDirectionType.py +18 -0
- spire/xls/AxisType.py +18 -0
- spire/xls/AxisTypes.py +18 -0
- spire/xls/BaseFormatType.py +17 -0
- spire/xls/BordersCollection.py +158 -0
- spire/xls/BordersCollectionArrayWrapper.py +95 -0
- spire/xls/BordersLineType.py +23 -0
- spire/xls/BubbleSizeType.py +17 -0
- spire/xls/BuiltInDocumentProperties.py +12 -0
- spire/xls/BuiltInPropertyType.py +50 -0
- spire/xls/BuiltInStyles.py +66 -0
- spire/xls/ButtonShapeCollection.py +70 -0
- spire/xls/CategoryType.py +18 -0
- spire/xls/CellBaseStyle.py +26 -0
- spire/xls/CellBorder.py +154 -0
- spire/xls/CellDataType.py +23 -0
- spire/xls/CellFormatType.py +21 -0
- spire/xls/CellRange.py +915 -0
- spire/xls/CellStyle.py +85 -0
- spire/xls/CellStyleFlag.py +432 -0
- spire/xls/CellStyleObject.py +617 -0
- spire/xls/CellValueChangedEventArgs.py +75 -0
- spire/xls/CellValueChangedEventHandler.py +52 -0
- spire/xls/Chart.py +404 -0
- spire/xls/ChartArea.py +61 -0
- spire/xls/ChartBackgroundMode.py +18 -0
- spire/xls/ChartBaseUnitType.py +18 -0
- spire/xls/ChartBorder.py +12 -0
- spire/xls/ChartCategoryAxis.py +93 -0
- spire/xls/ChartDataLabels.py +42 -0
- spire/xls/ChartDataPoint.py +42 -0
- spire/xls/ChartDataPointsCollection.py +75 -0
- spire/xls/ChartDataTable.py +12 -0
- spire/xls/ChartDisplayUnitType.py +26 -0
- spire/xls/ChartDropBar.py +12 -0
- spire/xls/ChartFormat.py +72 -0
- spire/xls/ChartFormatCollection.py +59 -0
- spire/xls/ChartGridLine.py +27 -0
- spire/xls/ChartInterior.py +12 -0
- spire/xls/ChartLegend.py +42 -0
- spire/xls/ChartLegendEntriesColl.py +128 -0
- spire/xls/ChartLegendEntry.py +27 -0
- spire/xls/ChartLinePatternType.py +24 -0
- spire/xls/ChartLineWeightType.py +19 -0
- spire/xls/ChartMarkerType.py +27 -0
- spire/xls/ChartPageSetup.py +12 -0
- spire/xls/ChartParagraphType.py +18 -0
- spire/xls/ChartPieType.py +18 -0
- spire/xls/ChartPlotArea.py +53 -0
- spire/xls/ChartPlotEmptyType.py +18 -0
- spire/xls/ChartSerie.py +142 -0
- spire/xls/ChartSerieDataFormat.py +56 -0
- spire/xls/ChartSeries.py +154 -0
- spire/xls/ChartSeriesAxis.py +72 -0
- spire/xls/ChartShadow.py +235 -0
- spire/xls/ChartSheet.py +285 -0
- spire/xls/ChartTextArea.py +782 -0
- spire/xls/ChartTitle.py +12 -0
- spire/xls/ChartValueAxis.py +92 -0
- spire/xls/ChartWallOrFloor.py +12 -0
- spire/xls/ChartsCollection.py +113 -0
- spire/xls/CheckBoxCollection.py +70 -0
- spire/xls/CheckState.py +18 -0
- spire/xls/CollectionBase.py +184 -0
- spire/xls/CollectionChangeEventArgs.py +36 -0
- spire/xls/CollectionExtended.py +92 -0
- spire/xls/ColorConditionValue.py +91 -0
- spire/xls/ColorFilter.py +45 -0
- spire/xls/ColorScale.py +172 -0
- spire/xls/ColorType.py +18 -0
- spire/xls/ComboBoxCollection.py +70 -0
- spire/xls/CommentHAlignType.py +21 -0
- spire/xls/CommentVAlignType.py +20 -0
- spire/xls/CommentsCollection.py +109 -0
- spire/xls/CommentsRange.py +578 -0
- spire/xls/CommonWrapper.py +40 -0
- spire/xls/ComparisonOperatorType.py +24 -0
- spire/xls/CompoundLineType.py +18 -0
- spire/xls/CondFormatCollectionWrapper.py +125 -0
- spire/xls/ConditionValue.py +82 -0
- spire/xls/ConditionValuePosition.py +16 -0
- spire/xls/ConditionValueType.py +20 -0
- spire/xls/ConditionalFormat.py +14 -0
- spire/xls/ConditionalFormatScope.py +16 -0
- spire/xls/ConditionalFormatType.py +33 -0
- spire/xls/ConditionalFormatWrapper.py +986 -0
- spire/xls/ConditionalFormats.py +55 -0
- spire/xls/ConditionalTopNType.py +17 -0
- spire/xls/ConnectionDataSourceType.py +26 -0
- spire/xls/ConverterSetting.py +347 -0
- spire/xls/CopyRangeOptions.py +23 -0
- spire/xls/CustomFilter.py +147 -0
- spire/xls/CustomFilterCollection.py +113 -0
- spire/xls/DBConnection.py +198 -0
- spire/xls/DVAspect.py +15 -0
- spire/xls/DataBar.py +220 -0
- spire/xls/DataBarAxisPosition.py +16 -0
- spire/xls/DataBarBorder.py +47 -0
- spire/xls/DataBarBorderType.py +15 -0
- spire/xls/DataBarFillType.py +15 -0
- spire/xls/DataBarNegativeColorType.py +15 -0
- spire/xls/DataConnections.py +25 -0
- spire/xls/DataLabelPositionType.py +26 -0
- spire/xls/DataMarkerDirection.py +17 -0
- spire/xls/DataSorter.py +154 -0
- spire/xls/DataSourceType.py +19 -0
- spire/xls/DateTimeGroupItem.py +132 -0
- spire/xls/DateTimeGroupingType.py +19 -0
- spire/xls/DeleteOption.py +15 -0
- spire/xls/DocumentProperty.py +304 -0
- spire/xls/DropLineStyleType.py +18 -0
- spire/xls/DynamicFilter.py +71 -0
- spire/xls/DynamicFilterType.py +48 -0
- spire/xls/EncryptedKeyInfo.py +12 -0
- spire/xls/ErrorBarIncludeType.py +19 -0
- spire/xls/ErrorBarType.py +20 -0
- spire/xls/Excel2016Charttype.py +20 -0
- spire/xls/ExcelAddInFunction.py +12 -0
- spire/xls/ExcelCalculationMode.py +18 -0
- spire/xls/ExcelChartType.py +96 -0
- spire/xls/ExcelClearOptions.py +18 -0
- spire/xls/ExcelColors.py +121 -0
- spire/xls/ExcelComboType.py +22 -0
- spire/xls/ExcelComment.py +27 -0
- spire/xls/ExcelCommentObject.py +618 -0
- spire/xls/ExcelFindOptions.py +16 -0
- spire/xls/ExcelFont.py +310 -0
- spire/xls/ExcelGradient.py +174 -0
- spire/xls/ExcelHorizontalAlignment.py +21 -0
- spire/xls/ExcelInterior.py +128 -0
- spire/xls/ExcelPatternType.py +52 -0
- spire/xls/ExcelPicture.py +12 -0
- spire/xls/ExcelQuartileCalculation.py +17 -0
- spire/xls/ExcelSaveType.py +15 -0
- spire/xls/ExcelShapeType.py +41 -0
- spire/xls/ExcelSheetType.py +20 -0
- spire/xls/ExcelTotalsCalculation.py +23 -0
- spire/xls/ExcelTreeMapLabelOption.py +18 -0
- spire/xls/ExcelVersion.py +24 -0
- spire/xls/ExcelVerticalAlignment.py +21 -0
- spire/xls/ExpandCollapseFlags.py +18 -0
- spire/xls/ExportTableOptions.py +74 -0
- spire/xls/ExternalConnection.py +147 -0
- spire/xls/ExternalLink.py +58 -0
- spire/xls/ExternalLinkCollection.py +25 -0
- spire/xls/FileFormat.py +40 -0
- spire/xls/FillPictureType.py +16 -0
- spire/xls/FilterColumn.py +258 -0
- spire/xls/FilterConditionType.py +21 -0
- spire/xls/FilterDataType.py +22 -0
- spire/xls/FilterOperatorType.py +20 -0
- spire/xls/FilterType.py +20 -0
- spire/xls/FindType.py +19 -0
- spire/xls/Font.py +376 -0
- spire/xls/FontArrayWrapper.py +265 -0
- spire/xls/FontUnderlineType.py +20 -0
- spire/xls/FontVertialAlignmentType.py +20 -0
- spire/xls/FontWrapper.py +450 -0
- spire/xls/FontsCollection.py +87 -0
- spire/xls/Format3D.py +235 -0
- spire/xls/GeomertyAdjustValue.py +63 -0
- spire/xls/GeomertyAdjustValueFormulaType.py +30 -0
- spire/xls/GeomertyAdjustValuesCollection.py +39 -0
- spire/xls/GetText.py +15 -0
- spire/xls/GoalSeek.py +65 -0
- spire/xls/GoalSeekResult.py +57 -0
- spire/xls/GradientArrayWrapper.py +188 -0
- spire/xls/GradientColorType.py +18 -0
- spire/xls/GradientPatternType.py +64 -0
- spire/xls/GradientPresetType.py +39 -0
- spire/xls/GradientStops.py +146 -0
- spire/xls/GradientStyleType.py +21 -0
- spire/xls/GradientTextureType.py +40 -0
- spire/xls/GradientType.py +17 -0
- spire/xls/GradientVariantsType.py +19 -0
- spire/xls/GroupBoxCollection.py +70 -0
- spire/xls/GroupByType.py +15 -0
- spire/xls/GroupShape.py +21 -0
- spire/xls/GroupShapeCollection.py +46 -0
- spire/xls/HPageBreak.py +32 -0
- spire/xls/HPageBreaksCollection.py +108 -0
- spire/xls/HTMLOptions.py +144 -0
- spire/xls/HistogramAxisFormat.py +30 -0
- spire/xls/HorizontalAlignType.py +23 -0
- spire/xls/HttpContentType.py +18 -0
- spire/xls/HyperLink.py +32 -0
- spire/xls/HyperLinkType.py +20 -0
- spire/xls/HyperLinksCollection.py +72 -0
- spire/xls/IAddInFunction.py +22 -0
- spire/xls/IAddInFunctions.py +50 -0
- spire/xls/IArcShape.py +259 -0
- spire/xls/IArcShapes.py +50 -0
- spire/xls/IAutoFilter.py +167 -0
- spire/xls/IAutoFilterCondition.py +123 -0
- spire/xls/IAutoFilters.py +49 -0
- spire/xls/IBorder.py +116 -0
- spire/xls/IBorders.py +106 -0
- spire/xls/IBuiltInDocumentProperties.py +579 -0
- spire/xls/IButtonShape.py +12 -0
- spire/xls/IButtonShapes.py +50 -0
- spire/xls/IChart.py +1368 -0
- spire/xls/IChartAxis.py +722 -0
- spire/xls/IChartBorder.py +220 -0
- spire/xls/IChartCategoryAxis.py +410 -0
- spire/xls/IChartDataLabels.py +457 -0
- spire/xls/IChartDataPoint.py +131 -0
- spire/xls/IChartDataPoints.py +31 -0
- spire/xls/IChartDataTable.py +197 -0
- spire/xls/IChartDropBar.py +12 -0
- spire/xls/IChartErrorBars.py +373 -0
- spire/xls/IChartFillBorder.py +303 -0
- spire/xls/IChartFormat.py +571 -0
- spire/xls/IChartFrameFormat.py +93 -0
- spire/xls/IChartGridLine.py +107 -0
- spire/xls/IChartInterior.py +278 -0
- spire/xls/IChartLegend.py +499 -0
- spire/xls/IChartLegendEntries.py +30 -0
- spire/xls/IChartLegendEntry.py +178 -0
- spire/xls/IChartPageSetup.py +56 -0
- spire/xls/IChartSerie.py +779 -0
- spire/xls/IChartSerieDataFormat.py +566 -0
- spire/xls/IChartSeries.py +39 -0
- spire/xls/IChartSeriesAxis.py +128 -0
- spire/xls/IChartShape.py +92 -0
- spire/xls/IChartShapes.py +39 -0
- spire/xls/IChartTextArea.py +197 -0
- spire/xls/IChartTrendLine.py +548 -0
- spire/xls/IChartTrendLines.py +79 -0
- spire/xls/IChartValueAxis.py +518 -0
- spire/xls/IChartWallOrFloor.py +32 -0
- spire/xls/ICharts.py +70 -0
- spire/xls/ICheckBox.py +96 -0
- spire/xls/ICheckBoxes.py +50 -0
- spire/xls/ICloneParent.py +28 -0
- spire/xls/IColorConditionValue.py +31 -0
- spire/xls/IColorScale.py +32 -0
- spire/xls/ICombinedRange.py +87 -0
- spire/xls/IComboBoxShape.py +95 -0
- spire/xls/IComboBoxes.py +50 -0
- spire/xls/IComment.py +85 -0
- spire/xls/ICommentShape.py +12 -0
- spire/xls/IComments.py +50 -0
- spire/xls/IConditionValue.py +68 -0
- spire/xls/IConditionalFormat.py +606 -0
- spire/xls/IConditionalFormats.py +48 -0
- spire/xls/IConditionalFormatsCollection.py +134 -0
- spire/xls/ICustomDocumentProperties.py +128 -0
- spire/xls/IDataBar.py +105 -0
- spire/xls/IDataSort.py +95 -0
- spire/xls/IDataValidation.py +421 -0
- spire/xls/IDataValidationCollection.py +132 -0
- spire/xls/IDataValidationTable.py +68 -0
- spire/xls/IDigitalSignature.py +99 -0
- spire/xls/IDigitalSignatures.py +29 -0
- spire/xls/IDocumentProperty.py +226 -0
- spire/xls/IErrorIndicator.py +31 -0
- spire/xls/IExcelApplication.py +22 -0
- spire/xls/IExtendIndex.py +21 -0
- spire/xls/IExtendedFormat.py +530 -0
- spire/xls/IFont.py +271 -0
- spire/xls/IFormat3D.py +252 -0
- spire/xls/IGeomPath.py +23 -0
- spire/xls/IGeomPathInfo.py +112 -0
- spire/xls/IGeomPathShape.py +30 -0
- spire/xls/IGlow.py +85 -0
- spire/xls/IGradient.py +174 -0
- spire/xls/IGroupBox.py +67 -0
- spire/xls/IGroupBoxes.py +50 -0
- spire/xls/IHPageBreak.py +22 -0
- spire/xls/IHPageBreaks.py +31 -0
- spire/xls/IHyperLink.py +118 -0
- spire/xls/IHyperLinks.py +48 -0
- spire/xls/IIconSet.py +96 -0
- spire/xls/IInterior.py +117 -0
- spire/xls/IInternalAddtionalFormat.py +238 -0
- spire/xls/IInternalFont.py +31 -0
- spire/xls/IInternalWorksheet.py +132 -0
- spire/xls/ILabelShape.py +49 -0
- spire/xls/ILabelShapes.py +50 -0
- spire/xls/ILineShape.py +305 -0
- spire/xls/ILines.py +50 -0
- spire/xls/IListBox.py +86 -0
- spire/xls/IListBoxes.py +50 -0
- spire/xls/IListObject.py +493 -0
- spire/xls/IListObjectColumn.py +222 -0
- spire/xls/IListObjects.py +31 -0
- spire/xls/IMarkersDesigner.py +113 -0
- spire/xls/IMigrantRange.py +21 -0
- spire/xls/INameRanges.py +162 -0
- spire/xls/INamedObject.py +22 -0
- spire/xls/INamedRange.py +162 -0
- spire/xls/INumberFormat.py +77 -0
- spire/xls/IOleObject.py +176 -0
- spire/xls/IOleObjects.py +32 -0
- spire/xls/IOptimizedUpdate.py +28 -0
- spire/xls/IOvalShape.py +154 -0
- spire/xls/IOvalShapes.py +50 -0
- spire/xls/IPageSetup.py +195 -0
- spire/xls/IPageSetupBase.py +642 -0
- spire/xls/IPictureShape.py +99 -0
- spire/xls/IPictures.py +250 -0
- spire/xls/IPivotCache.py +41 -0
- spire/xls/IPivotCaches.py +39 -0
- spire/xls/IPivotCalculatedFields.py +50 -0
- spire/xls/IPivotDataField.py +68 -0
- spire/xls/IPivotDataFields.py +50 -0
- spire/xls/IPivotField.py +291 -0
- spire/xls/IPivotFields.py +41 -0
- spire/xls/IPivotTable.py +393 -0
- spire/xls/IPivotTableOptions.py +428 -0
- spire/xls/IPivotTables.py +68 -0
- spire/xls/IPropertyData.py +70 -0
- spire/xls/IPrstGeomShape.py +71 -0
- spire/xls/IPrstGeomShapes.py +81 -0
- spire/xls/IRadioButton.py +105 -0
- spire/xls/IRadioButtons.py +71 -0
- spire/xls/IRectangleShape.py +60 -0
- spire/xls/IRectangleShapes.py +50 -0
- spire/xls/IReflectionEffect.py +138 -0
- spire/xls/IRichTextString.py +93 -0
- spire/xls/IScrollBarShape.py +140 -0
- spire/xls/IScrollBarShapes.py +50 -0
- spire/xls/IShadow.py +244 -0
- spire/xls/IShape.py +409 -0
- spire/xls/IShapeFill.py +522 -0
- spire/xls/IShapeLineFormat.py +331 -0
- spire/xls/IShapes.py +270 -0
- spire/xls/ISortColumn.py +96 -0
- spire/xls/ISortColumns.py +70 -0
- spire/xls/ISortedRule.py +112 -0
- spire/xls/ISparkline.py +68 -0
- spire/xls/ISparklineGroup.py +428 -0
- spire/xls/ISparklines.py +72 -0
- spire/xls/ISpinnerShape.py +102 -0
- spire/xls/ISpinnerShapes.py +50 -0
- spire/xls/IStyle.py +50 -0
- spire/xls/IStyles.py +69 -0
- spire/xls/ITabSheet.py +302 -0
- spire/xls/ITabSheets.py +57 -0
- spire/xls/ITextBox.py +116 -0
- spire/xls/ITextBoxLinkShape.py +40 -0
- spire/xls/ITextBoxShape.py +22 -0
- spire/xls/ITextBoxes.py +61 -0
- spire/xls/ITextFrame.py +120 -0
- spire/xls/IVPageBreak.py +22 -0
- spire/xls/IVPageBreaks.py +31 -0
- spire/xls/IWorkbook.py +1806 -0
- spire/xls/IWorksheet.py +2694 -0
- spire/xls/IWorksheetGroup.py +48 -0
- spire/xls/IWorksheets.py +159 -0
- spire/xls/IXLSRange.py +2479 -0
- spire/xls/IXLSRanges.py +35 -0
- spire/xls/IconSet.py +103 -0
- spire/xls/IconSetType.py +35 -0
- spire/xls/IgnoreErrorType.py +24 -0
- spire/xls/ImageFormatType.py +18 -0
- spire/xls/ImageLocationTypes.py +15 -0
- spire/xls/ImageType.py +17 -0
- spire/xls/ImportObjectOptions.py +89 -0
- spire/xls/InsertMoveOption.py +15 -0
- spire/xls/InsertOptionsType.py +16 -0
- spire/xls/InteriorArrayWrapper.py +126 -0
- spire/xls/LOGFONT.py +140 -0
- spire/xls/LabelShapeCollection.py +71 -0
- spire/xls/LegendPositionType.py +21 -0
- spire/xls/LegendSpacingType.py +18 -0
- spire/xls/LineCollection.py +85 -0
- spire/xls/LineShapeType.py +17 -0
- spire/xls/LineStyleType.py +29 -0
- spire/xls/ListBoxCollection.py +71 -0
- spire/xls/ListObjectCollection.py +45 -0
- spire/xls/MarkerDesigner.py +172 -0
- spire/xls/MeasureUnits.py +21 -0
- spire/xls/MsoPathInfo.py +38 -0
- spire/xls/MsoPathType.py +21 -0
- spire/xls/MultipleFilterCollection.py +166 -0
- spire/xls/NegativeBarFormat.py +82 -0
- spire/xls/OColor.py +165 -0
- spire/xls/OLEDBCommandType.py +19 -0
- spire/xls/OdsPageBackground.py +129 -0
- spire/xls/OdsPageBackgroundImagePositionType.py +22 -0
- spire/xls/OdsPageBackgroundImageType.py +16 -0
- spire/xls/OdsPageBackgroundType.py +16 -0
- spire/xls/OleLinkType.py +15 -0
- spire/xls/OleObjectType.py +51 -0
- spire/xls/OrderBy.py +19 -0
- spire/xls/OrderType.py +17 -0
- spire/xls/OvalShapeCollection.py +70 -0
- spire/xls/PageBreakExtentType.py +17 -0
- spire/xls/PageBreakType.py +18 -0
- spire/xls/PageColRow.py +48 -0
- spire/xls/PageOrientationType.py +17 -0
- spire/xls/PageSetup.py +14 -0
- spire/xls/PagesOrderType.py +17 -0
- spire/xls/PaperSizeEntry.py +30 -0
- spire/xls/PaperSizeType.py +135 -0
- spire/xls/PathFillMode.py +19 -0
- spire/xls/PdfConformanceLevel.py +20 -0
- spire/xls/PicStretch.py +104 -0
- spire/xls/PicTile.py +72 -0
- spire/xls/PicturesCollection.py +532 -0
- spire/xls/PivotAutoFomatTypes.py +35 -0
- spire/xls/PivotBuiltInStyles.py +97 -0
- spire/xls/PivotCache.py +12 -0
- spire/xls/PivotCachesCollection.py +12 -0
- spire/xls/PivotCalculatedFieldsCollection.py +38 -0
- spire/xls/PivotConditionalFormat.py +54 -0
- spire/xls/PivotConditionalFormatCollection.py +38 -0
- spire/xls/PivotDataField.py +118 -0
- spire/xls/PivotDataFields.py +104 -0
- spire/xls/PivotDataType.py +21 -0
- spire/xls/PivotField.py +12 -0
- spire/xls/PivotFieldFormatType.py +28 -0
- spire/xls/PivotFieldSortType.py +16 -0
- spire/xls/PivotGroupByTypes.py +23 -0
- spire/xls/PivotItem.py +161 -0
- spire/xls/PivotItemType.py +28 -0
- spire/xls/PivotLabelFilterType.py +27 -0
- spire/xls/PivotPageAreaFieldsOrderType.py +15 -0
- spire/xls/PivotReportFilter.py +92 -0
- spire/xls/PivotReportFilters.py +63 -0
- spire/xls/PivotStyle.py +79 -0
- spire/xls/PivotTable.py +12 -0
- spire/xls/PivotTableElement.py +38 -0
- spire/xls/PivotTableFields.py +85 -0
- spire/xls/PivotTableLayoutType.py +16 -0
- spire/xls/PivotTableStyle.py +63 -0
- spire/xls/PivotTablesCollection.py +12 -0
- spire/xls/PivotValueFilterType.py +21 -0
- spire/xls/PresetTextEffect.py +43 -0
- spire/xls/PrintCommentType.py +18 -0
- spire/xls/PrintErrorsType.py +19 -0
- spire/xls/PrintingPageType.py +16 -0
- spire/xls/PropertyType.py +31 -0
- spire/xls/PrstGeomShapeCollection.py +126 -0
- spire/xls/PrstGeomShapeType.py +201 -0
- spire/xls/QueryTableCollection.py +25 -0
- spire/xls/QueryTableXls.py +42 -0
- spire/xls/RTFCommentArray.py +112 -0
- spire/xls/RTFStringArray.py +112 -0
- spire/xls/RadioButtonCollection.py +137 -0
- spire/xls/RangeRichTextString.py +42 -0
- spire/xls/RangesCollection.py +537 -0
- spire/xls/ReadingOrderType.py +18 -0
- spire/xls/RectangleCollection.py +71 -0
- spire/xls/RectangleShapeType.py +22 -0
- spire/xls/RectangleStyleType.py +17 -0
- spire/xls/ReferRangeArea.py +88 -0
- spire/xls/RelationShip.py +15 -0
- spire/xls/RenameStrategy.py +16 -0
- spire/xls/ResizeBehaveType.py +18 -0
- spire/xls/RichText.py +49 -0
- spire/xls/RichTextObject.py +133 -0
- spire/xls/RichTextShape.py +168 -0
- spire/xls/RichTextString.py +126 -0
- spire/xls/RtfTags.py +30 -0
- spire/xls/RtfTextWriter.py +629 -0
- spire/xls/SaveShapeTypeOption.py +310 -0
- spire/xls/ScrollBarCollection.py +71 -0
- spire/xls/SelectionType.py +16 -0
- spire/xls/ShapeArrowLengthType.py +18 -0
- spire/xls/ShapeArrowStyleType.py +21 -0
- spire/xls/ShapeArrowWidthType.py +18 -0
- spire/xls/ShapeCollectionBase.py +87 -0
- spire/xls/ShapeDashLineStyleType.py +23 -0
- spire/xls/ShapeFillType.py +22 -0
- spire/xls/ShapeGeomPath.py +26 -0
- spire/xls/ShapeGlow.py +91 -0
- spire/xls/ShapeLayerChangeType.py +19 -0
- spire/xls/ShapeLineStyleType.py +20 -0
- spire/xls/ShapeReflection.py +131 -0
- spire/xls/ShapeSegmentPath.py +26 -0
- spire/xls/SheetProtectionType.py +33 -0
- spire/xls/SortColumn.py +120 -0
- spire/xls/SortColumns.py +185 -0
- spire/xls/SortComparsionType.py +19 -0
- spire/xls/SortOrientationType.py +17 -0
- spire/xls/SortedWayType.py +18 -0
- spire/xls/Sparkline.py +70 -0
- spire/xls/SparklineCollection.py +112 -0
- spire/xls/SparklineEmptyCells.py +16 -0
- spire/xls/SparklineGroup.py +523 -0
- spire/xls/SparklineGroupCollection.py +71 -0
- spire/xls/SparklineType.py +18 -0
- spire/xls/SpartlineVerticalAxisType.py +16 -0
- spire/xls/SpinnerShapeCollection.py +70 -0
- spire/xls/SplitType.py +19 -0
- spire/xls/StrikeThroughStyle.py +17 -0
- spire/xls/StringUtil.py +12 -0
- spire/xls/StyleArrayWrapper.py +621 -0
- spire/xls/StyleDefineType.py +15 -0
- spire/xls/StylesCollection.py +141 -0
- spire/xls/SubtotalTypes.py +26 -0
- spire/xls/TRangeValueType.py +19 -0
- spire/xls/TableBuiltInStyles.py +75 -0
- spire/xls/TextBoxCollection.py +70 -0
- spire/xls/TextBoxShapeBase.py +140 -0
- spire/xls/TextDirection.py +20 -0
- spire/xls/TextDirectionType.py +16 -0
- spire/xls/TextRotationType.py +19 -0
- spire/xls/TextSaveOptions.py +85 -0
- spire/xls/TextVerticalValue.py +19 -0
- spire/xls/ThemeColorType.py +27 -0
- spire/xls/TickLabelPositionType.py +19 -0
- spire/xls/TickMarkType.py +19 -0
- spire/xls/TimePeriodType.py +23 -0
- spire/xls/Top10Filter.py +75 -0
- spire/xls/TopBottom.py +44 -0
- spire/xls/TopBottomType.py +19 -0
- spire/xls/TopFormatType.py +18 -0
- spire/xls/TrendLineType.py +21 -0
- spire/xls/UnderlineStyle.py +32 -0
- spire/xls/UnknownVariableAction.py +18 -0
- spire/xls/UtilityMethods.py +55 -0
- spire/xls/VPageBreak.py +34 -0
- spire/xls/VPageBreaksCollection.py +96 -0
- spire/xls/Validation.py +33 -0
- spire/xls/ValidationComparisonOperator.py +23 -0
- spire/xls/VariableTypeAction.py +19 -0
- spire/xls/VerticalAlignType.py +20 -0
- spire/xls/ViewMode.py +18 -0
- spire/xls/WebQueryConnection.py +224 -0
- spire/xls/Workbook.py +3152 -0
- spire/xls/WorkbookObjectsCollection.py +25 -0
- spire/xls/Worksheet.py +1319 -0
- spire/xls/WorksheetChartsCollection.py +83 -0
- spire/xls/WorksheetConditionalFormats.py +12 -0
- spire/xls/WorksheetCopyType.py +31 -0
- spire/xls/WorksheetVisibility.py +18 -0
- spire/xls/WorksheetsCollection.py +341 -0
- spire/xls/WriteProtection.py +64 -0
- spire/xls/XLSXBorderJoinType.py +19 -0
- spire/xls/XLSXChartBevelType.py +26 -0
- spire/xls/XLSXChartLightingType.py +40 -0
- spire/xls/XLSXChartMaterialType.py +32 -0
- spire/xls/XLSXChartPrespectiveType.py +21 -0
- spire/xls/XLSXChartShadowInnerType.py +25 -0
- spire/xls/XLSXChartShadowOuterType.py +25 -0
- spire/xls/XLSXPivotItemType.py +28 -0
- spire/xls/XlsAddInFunction.py +78 -0
- spire/xls/XlsAddInFunctionsCollection.py +101 -0
- spire/xls/XlsArcShape.py +331 -0
- spire/xls/XlsAutoFiltersCollection.py +119 -0
- spire/xls/XlsBitmapShape.py +297 -0
- spire/xls/XlsBorder.py +172 -0
- spire/xls/XlsBorderArrayWrapper.py +116 -0
- spire/xls/XlsBordersCollection.py +101 -0
- spire/xls/XlsBuiltInDocumentProperties.py +639 -0
- spire/xls/XlsButtonShape.py +137 -0
- spire/xls/XlsChart.py +1510 -0
- spire/xls/XlsChartAxis.py +564 -0
- spire/xls/XlsChartBorder.py +165 -0
- spire/xls/XlsChartCategoryAxis.py +656 -0
- spire/xls/XlsChartDataLabelArea.py +387 -0
- spire/xls/XlsChartDataLabels.py +811 -0
- spire/xls/XlsChartDataPoint.py +108 -0
- spire/xls/XlsChartDataPointsCollection.py +120 -0
- spire/xls/XlsChartDataTable.py +393 -0
- spire/xls/XlsChartDropBar.py +301 -0
- spire/xls/XlsChartFill.py +571 -0
- spire/xls/XlsChartFormat.py +1069 -0
- spire/xls/XlsChartFormatCollection.py +162 -0
- spire/xls/XlsChartFrameFormat.py +614 -0
- spire/xls/XlsChartGridLine.py +171 -0
- spire/xls/XlsChartInterior.py +240 -0
- spire/xls/XlsChartLegend.py +355 -0
- spire/xls/XlsChartLegendArea.py +419 -0
- spire/xls/XlsChartLegendEntry.py +156 -0
- spire/xls/XlsChartPageSetup.py +56 -0
- spire/xls/XlsChartPlotArea.py +12 -0
- spire/xls/XlsChartSerie.py +589 -0
- spire/xls/XlsChartSerieDataFormat.py +1008 -0
- spire/xls/XlsChartSeries.py +111 -0
- spire/xls/XlsChartSeriesAxis.py +212 -0
- spire/xls/XlsChartShape.py +1142 -0
- spire/xls/XlsChartTitleArea.py +392 -0
- spire/xls/XlsChartValueAxis.py +317 -0
- spire/xls/XlsChartWallOrFloor.py +319 -0
- spire/xls/XlsChartsCollection.py +89 -0
- spire/xls/XlsCheckBoxShape.py +156 -0
- spire/xls/XlsComboBoxShape.py +128 -0
- spire/xls/XlsComment.py +234 -0
- spire/xls/XlsCommentsCollection.py +87 -0
- spire/xls/XlsConditionValue.py +111 -0
- spire/xls/XlsConditionalFormat.py +1119 -0
- spire/xls/XlsConditionalFormats.py +590 -0
- spire/xls/XlsDataValidationCollection.py +159 -0
- spire/xls/XlsDataValidationTable.py +105 -0
- spire/xls/XlsDocumentProperty.py +370 -0
- spire/xls/XlsEventArgs.py +93 -0
- spire/xls/XlsEventHandler.py +52 -0
- spire/xls/XlsFill.py +139 -0
- spire/xls/XlsFont.py +364 -0
- spire/xls/XlsFontStyle.py +12 -0
- spire/xls/XlsFontsCollection.py +51 -0
- spire/xls/XlsGradient.py +185 -0
- spire/xls/XlsGradientStop.py +85 -0
- spire/xls/XlsGroupBoxShape.py +88 -0
- spire/xls/XlsHPageBreak.py +105 -0
- spire/xls/XlsHPageBreaksCollection.py +85 -0
- spire/xls/XlsHeaderFooterShapeCollection.py +57 -0
- spire/xls/XlsHyperLink.py +229 -0
- spire/xls/XlsHyperLinksCollection.py +102 -0
- spire/xls/XlsLabelShape.py +73 -0
- spire/xls/XlsLineShape.py +367 -0
- spire/xls/XlsListBoxShape.py +124 -0
- spire/xls/XlsName.py +1871 -0
- spire/xls/XlsObject.py +36 -0
- spire/xls/XlsOvalShape.py +176 -0
- spire/xls/XlsPageSetup.py +220 -0
- spire/xls/XlsPageSetupBase.py +1354 -0
- spire/xls/XlsPicturesCollection.py +365 -0
- spire/xls/XlsPivotCache.py +401 -0
- spire/xls/XlsPivotCacheField.py +209 -0
- spire/xls/XlsPivotCachesCollection.py +124 -0
- spire/xls/XlsPivotField.py +885 -0
- spire/xls/XlsPivotTable.py +905 -0
- spire/xls/XlsPivotTablesCollection.py +131 -0
- spire/xls/XlsPrstGeomShape.py +97 -0
- spire/xls/XlsRadioButtonShape.py +188 -0
- spire/xls/XlsRange.py +3193 -0
- spire/xls/XlsRangesCollection.py +1566 -0
- spire/xls/XlsRectangleShape.py +174 -0
- spire/xls/XlsScrollBarShape.py +146 -0
- spire/xls/XlsShape.py +967 -0
- spire/xls/XlsShapeFill.py +627 -0
- spire/xls/XlsShapeLineFormat.py +341 -0
- spire/xls/XlsSpinnerShape.py +116 -0
- spire/xls/XlsStyle.py +106 -0
- spire/xls/XlsStylesCollection.py +73 -0
- spire/xls/XlsTextBoxShape.py +480 -0
- spire/xls/XlsVPageBreak.py +98 -0
- spire/xls/XlsVPageBreaksCollection.py +84 -0
- spire/xls/XlsValidation.py +520 -0
- spire/xls/XlsValidationWrapper.py +397 -0
- spire/xls/XlsWorkbook.py +1947 -0
- spire/xls/XlsWorkbookObjectsCollection.py +94 -0
- spire/xls/XlsWorksheet.py +4352 -0
- spire/xls/XlsWorksheetBase.py +1273 -0
- spire/xls/XlsWorksheetChartsCollection.py +25 -0
- spire/xls/XlsWorksheetConditionalFormats.py +215 -0
- spire/xls/XlsWorksheetsCollection.py +416 -0
- spire/xls/XmlOpenType.py +14 -0
- spire/xls/__init__.py +723 -0
- spire/xls/common/Boolean.py +192 -0
- spire/xls/common/Byte.py +256 -0
- spire/xls/common/Char.py +740 -0
- spire/xls/common/Color.py +2187 -0
- spire/xls/common/Common.py +150 -0
- spire/xls/common/CultureInfo.py +565 -0
- spire/xls/common/DateTime.py +1147 -0
- spire/xls/common/Double.py +438 -0
- spire/xls/common/EmfType.py +23 -0
- spire/xls/common/Encoding.py +928 -0
- spire/xls/common/FontStyle.py +25 -0
- spire/xls/common/GraphicsUnit.py +27 -0
- spire/xls/common/ICollection.py +70 -0
- spire/xls/common/IDictionary.py +122 -0
- spire/xls/common/IEnumerable.py +41 -0
- spire/xls/common/IEnumerator.py +60 -0
- spire/xls/common/IList.py +145 -0
- spire/xls/common/Int16.py +272 -0
- spire/xls/common/Int32.py +280 -0
- spire/xls/common/Int64.py +256 -0
- spire/xls/common/License.py +175 -0
- spire/xls/common/PixelFormat.py +43 -0
- spire/xls/common/Point.py +298 -0
- spire/xls/common/PointF.py +274 -0
- spire/xls/common/Rectangle.py +449 -0
- spire/xls/common/RectangleF.py +436 -0
- spire/xls/common/Regex.py +962 -0
- spire/xls/common/RegexOptions.py +29 -0
- spire/xls/common/Single.py +416 -0
- spire/xls/common/Size.py +271 -0
- spire/xls/common/SizeF.py +259 -0
- spire/xls/common/SpireObject.py +79 -0
- spire/xls/common/Stream.py +550 -0
- spire/xls/common/String.py +1878 -0
- spire/xls/common/TimeSpan.py +872 -0
- spire/xls/common/UInt16.py +272 -0
- spire/xls/common/UInt32.py +272 -0
- spire/xls/common/UInt64.py +272 -0
- spire/xls/common/__init__.py +316 -0
- spire/xls/lib/Spire.Xls.Base.dylib +0 -0
- spire/xls/lib/__init__.py +0 -0
- spire/xls/lib/libSkiaSharp.dylib +0 -0
- spire_xls-15.5.0.dist-info/METADATA +197 -0
- spire_xls-15.5.0.dist-info/RECORD +703 -0
- spire_xls-15.5.0.dist-info/WHEEL +5 -0
- spire_xls-15.5.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,548 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
from plum import dispatch
|
|
3
|
+
from typing import TypeVar,Union,Generic,List,Tuple
|
|
4
|
+
from spire.xls.common import *
|
|
5
|
+
from spire.xls import *
|
|
6
|
+
from spire.xls.ChartBorder import *
|
|
7
|
+
from ctypes import *
|
|
8
|
+
import abc
|
|
9
|
+
|
|
10
|
+
class IChartTrendLine (SpireObject) :
|
|
11
|
+
"""
|
|
12
|
+
<summary>
|
|
13
|
+
Represents ChartTrendLine interface.
|
|
14
|
+
</summary>
|
|
15
|
+
"""
|
|
16
|
+
@property
|
|
17
|
+
|
|
18
|
+
def Chart3DOptions(self)->'IFormat3D':
|
|
19
|
+
"""
|
|
20
|
+
<summary>
|
|
21
|
+
Gets the IThreeDFormat object. Read-only.[Deprecated]
|
|
22
|
+
</summary>
|
|
23
|
+
"""
|
|
24
|
+
GetDllLibXls().IChartTrendLine_get_Chart3DOptions.argtypes=[c_void_p]
|
|
25
|
+
GetDllLibXls().IChartTrendLine_get_Chart3DOptions.restype=c_void_p
|
|
26
|
+
intPtr = CallCFunction(GetDllLibXls().IChartTrendLine_get_Chart3DOptions, self.Ptr)
|
|
27
|
+
ret = None if intPtr==None else Format3D(intPtr)
|
|
28
|
+
return ret
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
@property
|
|
32
|
+
|
|
33
|
+
def Shadow(self)->'IShadow':
|
|
34
|
+
"""
|
|
35
|
+
<summary>
|
|
36
|
+
Gets the shadow.Read-only.
|
|
37
|
+
<example>The following code illustrates how to access and format the IShadow for IChartTrendLine:
|
|
38
|
+
<code>
|
|
39
|
+
//Create worksheet
|
|
40
|
+
Workbook workbook = new Workbook();
|
|
41
|
+
workbook.LoadFromFile("Sample.xlsx");
|
|
42
|
+
Worksheet worksheet = workbook.Worksheets[0];
|
|
43
|
+
//Create chart
|
|
44
|
+
Chart chart = worksheet.Charts.Add(ExcelChartType.ScatterMarkers);
|
|
45
|
+
//Add serie and set serie Y and X Values
|
|
46
|
+
IChartSerie serie = chart.Series.Add();
|
|
47
|
+
serie.Values = worksheet.Range["A2:C2"];
|
|
48
|
+
serie.CategoryLabels = worksheet.Range["A1:C1"];
|
|
49
|
+
//Get chart trendlines collection and Add trendline
|
|
50
|
+
IChartTrendLines trendLines = serie.TrendLines;
|
|
51
|
+
IChartTrendLine trendline = trendLines.Add();
|
|
52
|
+
//Set trendline shadow color
|
|
53
|
+
trendline.Shadow.Color = Color.Red;
|
|
54
|
+
//Set trendline shadow outer presets
|
|
55
|
+
trendline.Shadow.ShadowOuterType = XLSXChartShadowOuterType.OffsetDiagonalTopRight;
|
|
56
|
+
//Save to file
|
|
57
|
+
workbook.SaveToFile("Chart.xlsx");
|
|
58
|
+
</code>
|
|
59
|
+
</example>
|
|
60
|
+
</summary>
|
|
61
|
+
"""
|
|
62
|
+
GetDllLibXls().IChartTrendLine_get_Shadow.argtypes=[c_void_p]
|
|
63
|
+
GetDllLibXls().IChartTrendLine_get_Shadow.restype=c_void_p
|
|
64
|
+
intPtr = CallCFunction(GetDllLibXls().IChartTrendLine_get_Shadow, self.Ptr)
|
|
65
|
+
ret = None if intPtr==None else ChartShadow(intPtr)
|
|
66
|
+
return ret
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
|
|
71
|
+
def Border(self)->'IChartBorder':
|
|
72
|
+
"""
|
|
73
|
+
<summary>
|
|
74
|
+
Represents border object. Read only.
|
|
75
|
+
<example>The following code illustrates how to access and format the IChartBorder for IChartTrendLine:
|
|
76
|
+
<code>
|
|
77
|
+
//Create worksheet
|
|
78
|
+
Workbook workbook = new Workbook();
|
|
79
|
+
workbook.LoadFromFile("Sample.xlsx");
|
|
80
|
+
Worksheet worksheet = workbook.Worksheets[0];
|
|
81
|
+
//Create chart
|
|
82
|
+
IChart chart = worksheet.Charts.Add();
|
|
83
|
+
//Add serie and set serie Y and X Values
|
|
84
|
+
IChartSerie serie = chart.Series.Add();
|
|
85
|
+
serie.Values = worksheet.Range["A2:C2"];
|
|
86
|
+
serie.CategoryLabels = worksheet.Range["A1:C1"];
|
|
87
|
+
//Get chart trendlines collection
|
|
88
|
+
IChartTrendLines trendLines = serie.TrendLines;
|
|
89
|
+
//Add trendline
|
|
90
|
+
IChartTrendLine trendline = trendLines.Add();
|
|
91
|
+
//Set trendline broder properties
|
|
92
|
+
trendline.Border.Color = Color.Red;
|
|
93
|
+
//Save to file
|
|
94
|
+
workbook.SaveToFile("Chart.xlsx");
|
|
95
|
+
</code>
|
|
96
|
+
</example>
|
|
97
|
+
</summary>
|
|
98
|
+
"""
|
|
99
|
+
GetDllLibXls().IChartTrendLine_get_Border.argtypes=[c_void_p]
|
|
100
|
+
GetDllLibXls().IChartTrendLine_get_Border.restype=c_void_p
|
|
101
|
+
intPtr = CallCFunction(GetDllLibXls().IChartTrendLine_get_Border, self.Ptr)
|
|
102
|
+
ret = None if intPtr==None else ChartBorder(intPtr)
|
|
103
|
+
return ret
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
def Backward(self)->float:
|
|
108
|
+
"""
|
|
109
|
+
<summary>
|
|
110
|
+
Represents number of periods that the trendline extends backward.
|
|
111
|
+
<example>The following code illustrates how to set backward forecast value for IChartTrendLine object:
|
|
112
|
+
<code>
|
|
113
|
+
//Create worksheet
|
|
114
|
+
Workbook workbook = new Workbook();
|
|
115
|
+
workbook.LoadFromFile("Sample.xlsx");
|
|
116
|
+
Worksheet worksheet = workbook.Worksheets[0];
|
|
117
|
+
//Create chart
|
|
118
|
+
Chart chart = worksheet.Charts.Add(ExcelChartType.ScatterMarkers);
|
|
119
|
+
//Add serie and set serie Y and X Values
|
|
120
|
+
IChartSerie serie = chart.Series.Add();
|
|
121
|
+
serie.Values = worksheet.Range["A2:C2"];
|
|
122
|
+
serie.CategoryLabels = worksheet.Range["A1:C1"];
|
|
123
|
+
//Set X axis minimum and maximum values
|
|
124
|
+
chart.PrimaryCategoryAxis.MinValue = -2;
|
|
125
|
+
chart.PrimaryCategoryAxis.MaxValue = 2;
|
|
126
|
+
//Get chart trendlines collection and Add trendline
|
|
127
|
+
IChartTrendLines trendLines = serie.TrendLines;
|
|
128
|
+
IChartTrendLine trendline = trendLines.Add();
|
|
129
|
+
//Set backward forecast value
|
|
130
|
+
trendline.Backward = 3;
|
|
131
|
+
//Save to file
|
|
132
|
+
workbook.SaveToFile("Chart.xlsx");
|
|
133
|
+
</code>
|
|
134
|
+
</example>
|
|
135
|
+
</summary>
|
|
136
|
+
"""
|
|
137
|
+
GetDllLibXls().IChartTrendLine_get_Backward.argtypes=[c_void_p]
|
|
138
|
+
GetDllLibXls().IChartTrendLine_get_Backward.restype=c_double
|
|
139
|
+
ret = CallCFunction(GetDllLibXls().IChartTrendLine_get_Backward, self.Ptr)
|
|
140
|
+
return ret
|
|
141
|
+
|
|
142
|
+
@Backward.setter
|
|
143
|
+
def Backward(self, value:float):
|
|
144
|
+
GetDllLibXls().IChartTrendLine_set_Backward.argtypes=[c_void_p, c_double]
|
|
145
|
+
CallCFunction(GetDllLibXls().IChartTrendLine_set_Backward, self.Ptr, value)
|
|
146
|
+
|
|
147
|
+
@property
|
|
148
|
+
def Forward(self)->float:
|
|
149
|
+
"""
|
|
150
|
+
<summary>
|
|
151
|
+
Represents number of periods that the trendline extends forward.
|
|
152
|
+
<example>The following code illustrates how to set Forward forecast value for IChartTrendLine object:
|
|
153
|
+
<code>
|
|
154
|
+
//Create worksheet
|
|
155
|
+
Workbook workbook = new Workbook();
|
|
156
|
+
workbook.LoadFromFile("Sample.xlsx");
|
|
157
|
+
Worksheet worksheet = workbook.Worksheets[0];
|
|
158
|
+
//Create chart
|
|
159
|
+
Chart chart = worksheet.Charts.Add(ExcelChartType.ScatterMarkers);
|
|
160
|
+
//Add serie and set serie Y and X Values
|
|
161
|
+
IChartSerie serie = chart.Series.Add();
|
|
162
|
+
serie.Values = worksheet.Range["A2:C2"];
|
|
163
|
+
serie.CategoryLabels = worksheet.Range["A1:C1"];
|
|
164
|
+
//Set X axis minimum and maximum values
|
|
165
|
+
chart.PrimaryCategoryAxis.MinValue = -2;
|
|
166
|
+
chart.PrimaryCategoryAxis.MaxValue = 2;
|
|
167
|
+
//Get chart trendlines collection and Add trendline
|
|
168
|
+
IChartTrendLines trendLines = serie.TrendLines;
|
|
169
|
+
IChartTrendLine trendline = trendLines.Add();
|
|
170
|
+
//Set backward forecast value
|
|
171
|
+
trendline.Forward = 3;
|
|
172
|
+
//Save to file
|
|
173
|
+
workbook.SaveToFile("Chart.xlsx");
|
|
174
|
+
</code>
|
|
175
|
+
</example>
|
|
176
|
+
</summary>
|
|
177
|
+
"""
|
|
178
|
+
GetDllLibXls().IChartTrendLine_get_Forward.argtypes=[c_void_p]
|
|
179
|
+
GetDllLibXls().IChartTrendLine_get_Forward.restype=c_double
|
|
180
|
+
ret = CallCFunction(GetDllLibXls().IChartTrendLine_get_Forward, self.Ptr)
|
|
181
|
+
return ret
|
|
182
|
+
|
|
183
|
+
@Forward.setter
|
|
184
|
+
def Forward(self, value:float):
|
|
185
|
+
GetDllLibXls().IChartTrendLine_set_Forward.argtypes=[c_void_p, c_double]
|
|
186
|
+
CallCFunction(GetDllLibXls().IChartTrendLine_set_Forward, self.Ptr, value)
|
|
187
|
+
|
|
188
|
+
@property
|
|
189
|
+
def DisplayEquation(self)->bool:
|
|
190
|
+
"""
|
|
191
|
+
<summary>
|
|
192
|
+
True if the equation for the trendline is displayed on the chart.
|
|
193
|
+
<example>The following code illustrates how to display equation for IChartTrendLine object:
|
|
194
|
+
<code>
|
|
195
|
+
//Create worksheet
|
|
196
|
+
Workbook workbook = new Workbook();
|
|
197
|
+
workbook.LoadFromFile("Sample.xlsx");
|
|
198
|
+
Worksheet worksheet = workbook.Worksheets[0];
|
|
199
|
+
//Create chart and Get chart serie
|
|
200
|
+
Chart chart = worksheet.Charts.Add(ExcelChartType.ColumnClustered);
|
|
201
|
+
chart.DataRange = worksheet.Range["A1:C3"];
|
|
202
|
+
IChartSerie serie = chart.Series[0];
|
|
203
|
+
//Get chart trendlines collection and Add trendline
|
|
204
|
+
IChartTrendLines trendLines = serie.TrendLines;
|
|
205
|
+
IChartTrendLine trendline = trendLines.Add();
|
|
206
|
+
//Set equation in trendline
|
|
207
|
+
trendline.DisplayEquation = true;
|
|
208
|
+
//Save to file
|
|
209
|
+
workbook.SaveToFile("Chart.xlsx");
|
|
210
|
+
</code>
|
|
211
|
+
</example>
|
|
212
|
+
</summary>
|
|
213
|
+
"""
|
|
214
|
+
GetDllLibXls().IChartTrendLine_get_DisplayEquation.argtypes=[c_void_p]
|
|
215
|
+
GetDllLibXls().IChartTrendLine_get_DisplayEquation.restype=c_bool
|
|
216
|
+
ret = CallCFunction(GetDllLibXls().IChartTrendLine_get_DisplayEquation, self.Ptr)
|
|
217
|
+
return ret
|
|
218
|
+
|
|
219
|
+
@DisplayEquation.setter
|
|
220
|
+
def DisplayEquation(self, value:bool):
|
|
221
|
+
GetDllLibXls().IChartTrendLine_set_DisplayEquation.argtypes=[c_void_p, c_bool]
|
|
222
|
+
CallCFunction(GetDllLibXls().IChartTrendLine_set_DisplayEquation, self.Ptr, value)
|
|
223
|
+
|
|
224
|
+
@property
|
|
225
|
+
def DisplayRSquared(self)->bool:
|
|
226
|
+
"""
|
|
227
|
+
<summary>
|
|
228
|
+
True if the R-squared value of the trendline is displayed on the chart.
|
|
229
|
+
<example>The following code illustrates how to display RSquared for IChartTrendLine object:
|
|
230
|
+
<code>
|
|
231
|
+
//Create worksheet
|
|
232
|
+
Workbook workbook = new Workbook();
|
|
233
|
+
workbook.LoadFromFile("Sample.xlsx");
|
|
234
|
+
Worksheet worksheet = workbook.Worksheets[0];
|
|
235
|
+
//Create chart and Get chart serie
|
|
236
|
+
Chart chart = worksheet.Charts.Add(ExcelChartType.ColumnClustered);
|
|
237
|
+
chart.DataRange = worksheet.Range["A1:C3"];
|
|
238
|
+
IChartSerie serie = chart.Series[0];
|
|
239
|
+
//Get chart trendlines collection and Add trendline
|
|
240
|
+
IChartTrendLines trendLines = serie.TrendLines;
|
|
241
|
+
IChartTrendLine trendline = trendLines.Add();
|
|
242
|
+
//Set RSquared value for trendline
|
|
243
|
+
trendline.DisplayRSquared = true;
|
|
244
|
+
//Save to file
|
|
245
|
+
workbook.SaveToFile("Chart.xlsx");
|
|
246
|
+
</code>
|
|
247
|
+
</example>
|
|
248
|
+
</summary>
|
|
249
|
+
"""
|
|
250
|
+
GetDllLibXls().IChartTrendLine_get_DisplayRSquared.argtypes=[c_void_p]
|
|
251
|
+
GetDllLibXls().IChartTrendLine_get_DisplayRSquared.restype=c_bool
|
|
252
|
+
ret = CallCFunction(GetDllLibXls().IChartTrendLine_get_DisplayRSquared, self.Ptr)
|
|
253
|
+
return ret
|
|
254
|
+
|
|
255
|
+
@DisplayRSquared.setter
|
|
256
|
+
def DisplayRSquared(self, value:bool):
|
|
257
|
+
GetDllLibXls().IChartTrendLine_set_DisplayRSquared.argtypes=[c_void_p, c_bool]
|
|
258
|
+
CallCFunction(GetDllLibXls().IChartTrendLine_set_DisplayRSquared, self.Ptr, value)
|
|
259
|
+
|
|
260
|
+
@property
|
|
261
|
+
def Intercept(self)->float:
|
|
262
|
+
"""
|
|
263
|
+
<summary>
|
|
264
|
+
Represents point where the trendline crosses the value axis.
|
|
265
|
+
<example>The following code illustrates how to set intercept value for IChartTrendLine object:
|
|
266
|
+
<code>
|
|
267
|
+
//Create worksheet
|
|
268
|
+
Workbook workbook = new Workbook();
|
|
269
|
+
workbook.LoadFromFile("Sample.xlsx");
|
|
270
|
+
Worksheet worksheet = workbook.Worksheets[0];
|
|
271
|
+
//Create chart
|
|
272
|
+
Chart chart = worksheet.Charts.Add(ExcelChartType.ScatterMarkers);
|
|
273
|
+
//Add serie and set serie Y and X Values
|
|
274
|
+
IChartSerie serie = chart.Series.Add();
|
|
275
|
+
serie.Values = worksheet.Range["A2:C2"];
|
|
276
|
+
serie.CategoryLabels = worksheet.Range["A1:C1"];
|
|
277
|
+
//Get chart trendlines collection and Add trendline
|
|
278
|
+
IChartTrendLines trendLines = serie.TrendLines;
|
|
279
|
+
IChartTrendLine trendline = trendLines.Add();
|
|
280
|
+
//Set intercept value
|
|
281
|
+
trendline.Intercept = 10;
|
|
282
|
+
//Save to file
|
|
283
|
+
workbook.SaveToFile("Chart.xlsx");
|
|
284
|
+
</code>
|
|
285
|
+
</example>
|
|
286
|
+
</summary>
|
|
287
|
+
"""
|
|
288
|
+
GetDllLibXls().IChartTrendLine_get_Intercept.argtypes=[c_void_p]
|
|
289
|
+
GetDllLibXls().IChartTrendLine_get_Intercept.restype=c_double
|
|
290
|
+
ret = CallCFunction(GetDllLibXls().IChartTrendLine_get_Intercept, self.Ptr)
|
|
291
|
+
return ret
|
|
292
|
+
|
|
293
|
+
@Intercept.setter
|
|
294
|
+
def Intercept(self, value:float):
|
|
295
|
+
GetDllLibXls().IChartTrendLine_set_Intercept.argtypes=[c_void_p, c_double]
|
|
296
|
+
CallCFunction(GetDllLibXls().IChartTrendLine_set_Intercept, self.Ptr, value)
|
|
297
|
+
|
|
298
|
+
@property
|
|
299
|
+
def InterceptIsAuto(self)->bool:
|
|
300
|
+
"""
|
|
301
|
+
<summary>
|
|
302
|
+
True if the point where the trendline crosses the value
|
|
303
|
+
axis is automatically determined by the regression.
|
|
304
|
+
<example>The following code illustrates how to check whether the IChartTrendLine object
|
|
305
|
+
intercept value is automatic or not:
|
|
306
|
+
<code>
|
|
307
|
+
//Create worksheet
|
|
308
|
+
Workbook workbook = new Workbook();
|
|
309
|
+
workbook.LoadFromFile("Sample.xlsx");
|
|
310
|
+
Worksheet worksheet = workbook.Worksheets[0];
|
|
311
|
+
//Create chart
|
|
312
|
+
Chart chart = worksheet.Charts.Add(ExcelChartType.ScatterMarkers);
|
|
313
|
+
//Add serie and set serie Y and X Values
|
|
314
|
+
IChartSerie serie = chart.Series.Add();
|
|
315
|
+
serie.Values = worksheet.Range["A2:C2"];
|
|
316
|
+
serie.CategoryLabels = worksheet.Range["A1:C1"];
|
|
317
|
+
//Get chart trendlines collection and Add trendline
|
|
318
|
+
IChartTrendLines trendLines = serie.TrendLines;
|
|
319
|
+
IChartTrendLine trendline = trendLines.Add();
|
|
320
|
+
//Set intercept value
|
|
321
|
+
trendline.Intercept = 10;
|
|
322
|
+
//Check trendline intercept is automatic
|
|
323
|
+
Console.WriteLine("Is Trendline Intercept value is automatic:" + trendline.InterceptIsAuto.ToString());
|
|
324
|
+
//Save to file
|
|
325
|
+
workbook.SaveToFile("Chart.xlsx");
|
|
326
|
+
</code>
|
|
327
|
+
</example>
|
|
328
|
+
</summary>
|
|
329
|
+
"""
|
|
330
|
+
GetDllLibXls().IChartTrendLine_get_InterceptIsAuto.argtypes=[c_void_p]
|
|
331
|
+
GetDllLibXls().IChartTrendLine_get_InterceptIsAuto.restype=c_bool
|
|
332
|
+
ret = CallCFunction(GetDllLibXls().IChartTrendLine_get_InterceptIsAuto, self.Ptr)
|
|
333
|
+
return ret
|
|
334
|
+
|
|
335
|
+
@property
|
|
336
|
+
|
|
337
|
+
def Type(self)->'TrendLineType':
|
|
338
|
+
"""
|
|
339
|
+
<summary>
|
|
340
|
+
Represents trend line type.
|
|
341
|
+
<example>The following code illustrates how to set TrendLineType for IChartTrendLine object:
|
|
342
|
+
<code>
|
|
343
|
+
//Create worksheet
|
|
344
|
+
Workbook workbook = new Workbook();
|
|
345
|
+
workbook.LoadFromFile("Sample.xlsx");
|
|
346
|
+
Worksheet worksheet = workbook.Worksheets[0];
|
|
347
|
+
//Create chart and Get chart serie
|
|
348
|
+
Chart chart = worksheet.Charts.Add(ExcelChartType.ColumnClustered);
|
|
349
|
+
chart.DataRange = worksheet.Range["A1:C3"];
|
|
350
|
+
IChartSerie serie = chart.Series[0];
|
|
351
|
+
//Get chart trendlines collection and Add trendline
|
|
352
|
+
IChartTrendLines trendLines = serie.TrendLines;
|
|
353
|
+
IChartTrendLine trendline = trendLines.Add();
|
|
354
|
+
//Set trendline type
|
|
355
|
+
trendline.Type = TrendLineType.Polynomial;
|
|
356
|
+
//Save to file
|
|
357
|
+
workbook.SaveToFile("Chart.xlsx");
|
|
358
|
+
</code>
|
|
359
|
+
</example>
|
|
360
|
+
</summary>
|
|
361
|
+
"""
|
|
362
|
+
GetDllLibXls().IChartTrendLine_get_Type.argtypes=[c_void_p]
|
|
363
|
+
GetDllLibXls().IChartTrendLine_get_Type.restype=c_int
|
|
364
|
+
ret = CallCFunction(GetDllLibXls().IChartTrendLine_get_Type, self.Ptr)
|
|
365
|
+
objwraped = TrendLineType(ret)
|
|
366
|
+
return objwraped
|
|
367
|
+
|
|
368
|
+
@Type.setter
|
|
369
|
+
def Type(self, value:'TrendLineType'):
|
|
370
|
+
GetDllLibXls().IChartTrendLine_set_Type.argtypes=[c_void_p, c_int]
|
|
371
|
+
CallCFunction(GetDllLibXls().IChartTrendLine_set_Type, self.Ptr, value.value)
|
|
372
|
+
|
|
373
|
+
@property
|
|
374
|
+
def Order(self)->int:
|
|
375
|
+
"""
|
|
376
|
+
<summary>
|
|
377
|
+
Represents for Moving Averange and Polynomial trend line type order value.
|
|
378
|
+
<example>The following code illustrates how to set order value for IChartTrendLine object:
|
|
379
|
+
<code>
|
|
380
|
+
//Create worksheet
|
|
381
|
+
Workbook workbook = new Workbook();
|
|
382
|
+
workbook.LoadFromFile("Sample.xlsx");
|
|
383
|
+
Worksheet worksheet = workbook.Worksheets[0];
|
|
384
|
+
//Create chart
|
|
385
|
+
Chart chart = worksheet.Charts.Add(ExcelChartType.ColumnClustered);
|
|
386
|
+
//Add serie and set serie Y and X Values
|
|
387
|
+
IChartSerie serie = chart.Series.Add();
|
|
388
|
+
serie.Values = worksheet.Range["A2:C2"];
|
|
389
|
+
serie.CategoryLabels = worksheet.Range["A1:C1"];
|
|
390
|
+
//Get chart trendlines collection and Add trendline
|
|
391
|
+
IChartTrendLines trendLines = serie.TrendLines;
|
|
392
|
+
IChartTrendLine trendline = trendLines.Add();
|
|
393
|
+
//Set trendline type
|
|
394
|
+
trendline.Type = TrendLineType.Polynomial;
|
|
395
|
+
//Set trendline order
|
|
396
|
+
trendline.Order = 6;
|
|
397
|
+
//Save to file
|
|
398
|
+
workbook.SaveToFile("Chart.xlsx");
|
|
399
|
+
</code>
|
|
400
|
+
</example>
|
|
401
|
+
</summary>
|
|
402
|
+
"""
|
|
403
|
+
GetDllLibXls().IChartTrendLine_get_Order.argtypes=[c_void_p]
|
|
404
|
+
GetDllLibXls().IChartTrendLine_get_Order.restype=c_int
|
|
405
|
+
ret = CallCFunction(GetDllLibXls().IChartTrendLine_get_Order, self.Ptr)
|
|
406
|
+
return ret
|
|
407
|
+
|
|
408
|
+
@Order.setter
|
|
409
|
+
def Order(self, value:int):
|
|
410
|
+
GetDllLibXls().IChartTrendLine_set_Order.argtypes=[c_void_p, c_int]
|
|
411
|
+
CallCFunction(GetDllLibXls().IChartTrendLine_set_Order, self.Ptr, value)
|
|
412
|
+
|
|
413
|
+
@property
|
|
414
|
+
def NameIsAuto(self)->bool:
|
|
415
|
+
"""
|
|
416
|
+
<summary>
|
|
417
|
+
Indicates if name is default.
|
|
418
|
+
<example>The following code illustrates how to check whether the IChartTrendLine object name is default or not:
|
|
419
|
+
<code>
|
|
420
|
+
//Create worksheet
|
|
421
|
+
Workbook workbook = new Workbook();
|
|
422
|
+
workbook.LoadFromFile("Sample.xlsx");
|
|
423
|
+
Worksheet worksheet = workbook.Worksheets[0];
|
|
424
|
+
//Create chart and Get chart serie
|
|
425
|
+
Chart chart = worksheet.Charts.Add(ExcelChartType.ColumnClustered);
|
|
426
|
+
chart.DataRange = worksheet.Range["A1:C3"];
|
|
427
|
+
IChartSerie serie = chart.Series[0];
|
|
428
|
+
//Get chart trendlines collection and Add trendline
|
|
429
|
+
IChartTrendLines trendLines = serie.TrendLines;
|
|
430
|
+
IChartTrendLine trendline = trendLines.Add(TrendLineType.Logarithmic);
|
|
431
|
+
//Set trendline name
|
|
432
|
+
trendline.Name = "Trendline 1";
|
|
433
|
+
//Check trendline name is automatic
|
|
434
|
+
Console.WriteLine(trendline.NameIsAuto);
|
|
435
|
+
//Save to file
|
|
436
|
+
workbook.SaveToFile("Chart.xlsx");
|
|
437
|
+
</code>
|
|
438
|
+
</example>
|
|
439
|
+
</summary>
|
|
440
|
+
"""
|
|
441
|
+
GetDllLibXls().IChartTrendLine_get_NameIsAuto.argtypes=[c_void_p]
|
|
442
|
+
GetDllLibXls().IChartTrendLine_get_NameIsAuto.restype=c_bool
|
|
443
|
+
ret = CallCFunction(GetDllLibXls().IChartTrendLine_get_NameIsAuto, self.Ptr)
|
|
444
|
+
return ret
|
|
445
|
+
|
|
446
|
+
@NameIsAuto.setter
|
|
447
|
+
def NameIsAuto(self, value:bool):
|
|
448
|
+
GetDllLibXls().IChartTrendLine_set_NameIsAuto.argtypes=[c_void_p, c_bool]
|
|
449
|
+
CallCFunction(GetDllLibXls().IChartTrendLine_set_NameIsAuto, self.Ptr, value)
|
|
450
|
+
|
|
451
|
+
@property
|
|
452
|
+
|
|
453
|
+
def Name(self)->str:
|
|
454
|
+
"""
|
|
455
|
+
<summary>
|
|
456
|
+
Represents trendline name.
|
|
457
|
+
<example>The following code illustrates how to access name from IChartTrendLine object:
|
|
458
|
+
<code>
|
|
459
|
+
//Create worksheet
|
|
460
|
+
Workbook workbook = new Workbook();
|
|
461
|
+
workbook.LoadFromFile("Sample.xlsx");
|
|
462
|
+
Worksheet worksheet = workbook.Worksheets[0];
|
|
463
|
+
//Create chart and Get chart serie
|
|
464
|
+
Chart chart = worksheet.Charts.Add(ExcelChartType.ColumnClustered);
|
|
465
|
+
chart.DataRange = worksheet.Range["A1:C3"];
|
|
466
|
+
IChartSerie serie = chart.Series[0];
|
|
467
|
+
//Get chart trendlines collection and Add trendline
|
|
468
|
+
IChartTrendLines trendLines = serie.TrendLines;
|
|
469
|
+
IChartTrendLine trendline = trendLines.Add(TrendLineType.Logarithmic);
|
|
470
|
+
//Get trendline Name
|
|
471
|
+
Console.WriteLine(trendline.Name);
|
|
472
|
+
//Save to file
|
|
473
|
+
workbook.SaveToFile("Chart.xlsx");
|
|
474
|
+
</code>
|
|
475
|
+
</example>
|
|
476
|
+
</summary>
|
|
477
|
+
"""
|
|
478
|
+
GetDllLibXls().IChartTrendLine_get_Name.argtypes=[c_void_p]
|
|
479
|
+
GetDllLibXls().IChartTrendLine_get_Name.restype=c_void_p
|
|
480
|
+
ret = PtrToStr(CallCFunction(GetDllLibXls().IChartTrendLine_get_Name, self.Ptr))
|
|
481
|
+
return ret
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
@Name.setter
|
|
485
|
+
def Name(self, value:str):
|
|
486
|
+
GetDllLibXls().IChartTrendLine_set_Name.argtypes=[c_void_p, c_wchar_p]
|
|
487
|
+
CallCFunction(GetDllLibXls().IChartTrendLine_set_Name, self.Ptr, value)
|
|
488
|
+
|
|
489
|
+
@property
|
|
490
|
+
|
|
491
|
+
def DataLabel(self)->'IChartDataLabels':
|
|
492
|
+
"""
|
|
493
|
+
<summary>
|
|
494
|
+
Returns data label. Read only.
|
|
495
|
+
<example>The following code illustrates how to enable and set IChartTextArea text for
|
|
496
|
+
IChartTrendLine object:
|
|
497
|
+
<code>
|
|
498
|
+
//Create worksheet
|
|
499
|
+
Workbook workbook = new Workbook();
|
|
500
|
+
workbook.LoadFromFile("Sample.xlsx");
|
|
501
|
+
Worksheet worksheet = workbook.Worksheets[0];
|
|
502
|
+
//Create chart and Get chart serie
|
|
503
|
+
Chart chart = worksheet.Charts.Add(ExcelChartType.ColumnClustered);
|
|
504
|
+
chart.DataRange = worksheet.Range["A1:C3"];
|
|
505
|
+
IChartSerie serie = chart.Series[0];
|
|
506
|
+
//Get chart trendlines collection and Add trendline
|
|
507
|
+
IChartTrendLines trendLines = serie.TrendLines;
|
|
508
|
+
IChartTrendLine trendline = trendLines.Add();
|
|
509
|
+
//Enable trendline data label by DisplayRSquared
|
|
510
|
+
trendline.DisplayRSquared = true;
|
|
511
|
+
//Set data label text
|
|
512
|
+
trendline.DataLabel.Text = "y=10*x";
|
|
513
|
+
//Save to file
|
|
514
|
+
workbook.SaveToFile("Chart.xlsx");
|
|
515
|
+
</code>
|
|
516
|
+
</example>
|
|
517
|
+
</summary>
|
|
518
|
+
"""
|
|
519
|
+
GetDllLibXls().IChartTrendLine_get_DataLabel.argtypes=[c_void_p]
|
|
520
|
+
GetDllLibXls().IChartTrendLine_get_DataLabel.restype=c_void_p
|
|
521
|
+
intPtr = CallCFunction(GetDllLibXls().IChartTrendLine_get_DataLabel, self.Ptr)
|
|
522
|
+
ret = None if intPtr==None else XlsChartDataLabels(intPtr)
|
|
523
|
+
return ret
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
@property
|
|
527
|
+
|
|
528
|
+
def Formula(self)->str:
|
|
529
|
+
"""
|
|
530
|
+
<summary>
|
|
531
|
+
Return trendline formula. Read only.
|
|
532
|
+
</summary>
|
|
533
|
+
"""
|
|
534
|
+
GetDllLibXls().IChartTrendLine_get_Formula.argtypes=[c_void_p]
|
|
535
|
+
GetDllLibXls().IChartTrendLine_get_Formula.restype=c_void_p
|
|
536
|
+
ret = PtrToStr(CallCFunction(GetDllLibXls().IChartTrendLine_get_Formula, self.Ptr))
|
|
537
|
+
return ret
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
def ClearFormats(self):
|
|
541
|
+
"""
|
|
542
|
+
<summary>
|
|
543
|
+
Clears current trend line.
|
|
544
|
+
</summary>
|
|
545
|
+
"""
|
|
546
|
+
GetDllLibXls().IChartTrendLine_ClearFormats.argtypes=[c_void_p]
|
|
547
|
+
CallCFunction(GetDllLibXls().IChartTrendLine_ClearFormats, self.Ptr)
|
|
548
|
+
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
from plum import dispatch
|
|
3
|
+
from typing import TypeVar,Union,Generic,List,Tuple
|
|
4
|
+
from spire.xls.common import *
|
|
5
|
+
from spire.xls import *
|
|
6
|
+
from ctypes import *
|
|
7
|
+
import abc
|
|
8
|
+
|
|
9
|
+
class IChartTrendLines (SpireObject) :
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
def get_Item(self ,iIndex:int)->'IChartTrendLine':
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
GetDllLibXls().IChartTrendLines_get_Item.argtypes=[c_void_p ,c_int]
|
|
20
|
+
GetDllLibXls().IChartTrendLines_get_Item.restype=c_void_p
|
|
21
|
+
intPtr = CallCFunction(GetDllLibXls().IChartTrendLines_get_Item, self.Ptr, iIndex)
|
|
22
|
+
ret = None if intPtr==None else IChartTrendLine(intPtr)
|
|
23
|
+
return ret
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
@dispatch
|
|
27
|
+
|
|
28
|
+
def Add(self)->IChartTrendLine:
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
"""
|
|
32
|
+
GetDllLibXls().IChartTrendLines_Add.argtypes=[c_void_p]
|
|
33
|
+
GetDllLibXls().IChartTrendLines_Add.restype=c_void_p
|
|
34
|
+
intPtr = CallCFunction(GetDllLibXls().IChartTrendLines_Add, self.Ptr)
|
|
35
|
+
ret = None if intPtr==None else IChartTrendLine(intPtr)
|
|
36
|
+
return ret
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
@dispatch
|
|
40
|
+
|
|
41
|
+
def Add(self ,type:TrendLineType)->IChartTrendLine:
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
"""
|
|
45
|
+
enumtype:c_int = type.value
|
|
46
|
+
|
|
47
|
+
GetDllLibXls().IChartTrendLines_AddT.argtypes=[c_void_p ,c_int]
|
|
48
|
+
GetDllLibXls().IChartTrendLines_AddT.restype=c_void_p
|
|
49
|
+
intPtr = CallCFunction(GetDllLibXls().IChartTrendLines_AddT, self.Ptr, enumtype)
|
|
50
|
+
ret = None if intPtr==None else IChartTrendLine(intPtr)
|
|
51
|
+
return ret
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
def RemoveAt(self ,index:int):
|
|
56
|
+
"""
|
|
57
|
+
|
|
58
|
+
"""
|
|
59
|
+
|
|
60
|
+
GetDllLibXls().IChartTrendLines_RemoveAt.argtypes=[c_void_p ,c_int]
|
|
61
|
+
CallCFunction(GetDllLibXls().IChartTrendLines_RemoveAt, self.Ptr, index)
|
|
62
|
+
|
|
63
|
+
def Clear(self):
|
|
64
|
+
"""
|
|
65
|
+
|
|
66
|
+
"""
|
|
67
|
+
GetDllLibXls().IChartTrendLines_Clear.argtypes=[c_void_p]
|
|
68
|
+
CallCFunction(GetDllLibXls().IChartTrendLines_Clear, self.Ptr)
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def Count(self)->int:
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
"""
|
|
75
|
+
GetDllLibXls().IChartTrendLines_get_Count.argtypes=[c_void_p]
|
|
76
|
+
GetDllLibXls().IChartTrendLines_get_Count.restype=c_int
|
|
77
|
+
ret = CallCFunction(GetDllLibXls().IChartTrendLines_get_Count, self.Ptr)
|
|
78
|
+
return ret
|
|
79
|
+
|