spire-xls 15.5.0__py3-none-win_amd64.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.dll +0 -0
- spire/xls/lib/__init__.py +0 -0
- spire/xls/lib/libSkiaSharp.dll +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,885 @@
|
|
|
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 XlsPivotField ( SpireObject, IPivotField, ICloneParent) :
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
def AddLabelFilter(self ,type:'PivotLabelFilterType',value1:'SpireObject',value2:'SpireObject'):
|
|
15
|
+
"""
|
|
16
|
+
<summary>
|
|
17
|
+
Add label filter for pivot field, only for row and column field.
|
|
18
|
+
</summary>
|
|
19
|
+
<param name="type">Filter type.</param>
|
|
20
|
+
<param name="value1">First filter value.</param>
|
|
21
|
+
<param name="value2">Second filter value, only for Between and NotBetween type.</param>
|
|
22
|
+
"""
|
|
23
|
+
enumtype:c_int = type.value
|
|
24
|
+
intPtrvalue1:c_void_p = value1.Ptr
|
|
25
|
+
intPtrvalue2:c_void_p = None if value2==None else value2.Ptr
|
|
26
|
+
|
|
27
|
+
GetDllLibXls().XlsPivotField_AddLabelFilter.argtypes=[c_void_p ,c_int,c_void_p,c_void_p]
|
|
28
|
+
CallCFunction(GetDllLibXls().XlsPivotField_AddLabelFilter,self.Ptr, enumtype,intPtrvalue1,intPtrvalue2)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
def AddValueFilter(self ,type:'PivotValueFilterType',dataField:'IPivotDataField',value1:'SpireObject',value2:'SpireObject'):
|
|
32
|
+
"""
|
|
33
|
+
<summary>
|
|
34
|
+
Add value filter for pivot field, only for row and column field.
|
|
35
|
+
</summary>
|
|
36
|
+
<param name="type">Filter type.</param>
|
|
37
|
+
<param name="dataField">Filter data field.</param>
|
|
38
|
+
<param name="value1">First filter value.</param>
|
|
39
|
+
<param name="value2">Second filter value, only for Between and NotBetween type.</param>
|
|
40
|
+
"""
|
|
41
|
+
enumtype:c_int = type.value
|
|
42
|
+
intPtrdataField:c_void_p = dataField.Ptr
|
|
43
|
+
intPtrvalue1:c_void_p = value1.Ptr
|
|
44
|
+
intPtrvalue2:c_void_p = None if value2==None else value2.Ptr
|
|
45
|
+
|
|
46
|
+
GetDllLibXls().XlsPivotField_AddValueFilter.argtypes=[c_void_p ,c_int,c_void_p,c_void_p,c_void_p]
|
|
47
|
+
CallCFunction(GetDllLibXls().XlsPivotField_AddValueFilter,self.Ptr, enumtype,intPtrdataField,intPtrvalue1,intPtrvalue2)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
@dispatch
|
|
52
|
+
|
|
53
|
+
def CreateGroup(self ,start:DateTime,end:DateTime,groupByArray:List[PivotGroupByTypes]):
|
|
54
|
+
"""
|
|
55
|
+
<summary>
|
|
56
|
+
Create group for current field.
|
|
57
|
+
</summary>
|
|
58
|
+
<param name="start">The start date time</param>
|
|
59
|
+
<param name="end">The end date time</param>
|
|
60
|
+
<param name="groupByArray">The array of group by types</param>
|
|
61
|
+
"""
|
|
62
|
+
intPtrstart:c_void_p = start.Ptr
|
|
63
|
+
intPtrend:c_void_p = end.Ptr
|
|
64
|
+
#arraygroupByArray:ArrayTypegroupByArray = ""
|
|
65
|
+
countgroupByArray = len(groupByArray)
|
|
66
|
+
ArrayTypegroupByArray = c_int * countgroupByArray
|
|
67
|
+
arraygroupByArray = ArrayTypegroupByArray()
|
|
68
|
+
for i in range(0, countgroupByArray):
|
|
69
|
+
arraygroupByArray[i] = groupByArray[i].value
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
GetDllLibXls().XlsPivotField_CreateGroup.argtypes=[c_void_p ,c_void_p,c_void_p,ArrayTypegroupByArray,c_int]
|
|
73
|
+
CallCFunction(GetDllLibXls().XlsPivotField_CreateGroup,self.Ptr, intPtrstart,intPtrend,arraygroupByArray,countgroupByArray)
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
@dispatch
|
|
77
|
+
|
|
78
|
+
def CreateGroup(self ,start:DateTime,end:DateTime,groupByArray:List[PivotGroupByTypes],days:int):
|
|
79
|
+
"""
|
|
80
|
+
<summary>
|
|
81
|
+
Create group for current field.
|
|
82
|
+
</summary>
|
|
83
|
+
<param name="start">The start date time</param>
|
|
84
|
+
<param name="end">The end date time</param>
|
|
85
|
+
<param name="groupByArray">The array of group by types</param>
|
|
86
|
+
<param name="days">The days</param>
|
|
87
|
+
"""
|
|
88
|
+
intPtrstart:c_void_p = start.Ptr
|
|
89
|
+
intPtrend:c_void_p = end.Ptr
|
|
90
|
+
#arraygroupByArray:ArrayTypegroupByArray = ""
|
|
91
|
+
countgroupByArray = len(groupByArray)
|
|
92
|
+
ArrayTypegroupByArray = c_int * countgroupByArray
|
|
93
|
+
arraygroupByArray = ArrayTypegroupByArray()
|
|
94
|
+
for i in range(0, countgroupByArray):
|
|
95
|
+
arraygroupByArray[i] = groupByArray[i].value
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
GetDllLibXls().XlsPivotField_CreateGroupSEGD.argtypes=[c_void_p ,c_void_p,c_void_p,ArrayTypegroupByArray,c_int,c_int]
|
|
99
|
+
CallCFunction(GetDllLibXls().XlsPivotField_CreateGroupSEGD,self.Ptr, intPtrstart,intPtrend,arraygroupByArray,countgroupByArray,days)
|
|
100
|
+
|
|
101
|
+
@dispatch
|
|
102
|
+
|
|
103
|
+
def CreateGroup(self ,startValue:float,endValue:float,intervalValue:float):
|
|
104
|
+
"""
|
|
105
|
+
<summary>
|
|
106
|
+
Create group for current field.
|
|
107
|
+
</summary>
|
|
108
|
+
<param name="startValue">The start number value</param>
|
|
109
|
+
<param name="endValue">The end number value</param>
|
|
110
|
+
<param name="intervalValue">The interval number value</param>
|
|
111
|
+
"""
|
|
112
|
+
|
|
113
|
+
GetDllLibXls().XlsPivotField_CreateGroupSEI.argtypes=[c_void_p ,c_double,c_double,c_double]
|
|
114
|
+
CallCFunction(GetDllLibXls().XlsPivotField_CreateGroupSEI,self.Ptr, startValue,endValue,intervalValue)
|
|
115
|
+
|
|
116
|
+
@property
|
|
117
|
+
def CustomName(self)->str:
|
|
118
|
+
"""
|
|
119
|
+
|
|
120
|
+
"""
|
|
121
|
+
GetDllLibXls().XlsPivotField_get_CustomName.argtypes=[c_void_p]
|
|
122
|
+
GetDllLibXls().XlsPivotField_get_CustomName.restype=c_void_p
|
|
123
|
+
ret = PtrToStr(CallCFunction(GetDllLibXls().XlsPivotField_get_CustomName, self.Ptr))
|
|
124
|
+
return ret
|
|
125
|
+
|
|
126
|
+
@CustomName.setter
|
|
127
|
+
def CustomName(self, value:str):
|
|
128
|
+
GetDllLibXls().XlsPivotField_set_CustomName.argtypes=[c_void_p, c_void_p]
|
|
129
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_CustomName, self.Ptr, value)
|
|
130
|
+
|
|
131
|
+
@property
|
|
132
|
+
|
|
133
|
+
def Parent(self)->'PivotTableFields':
|
|
134
|
+
"""
|
|
135
|
+
|
|
136
|
+
"""
|
|
137
|
+
GetDllLibXls().XlsPivotField_get_Parent.argtypes=[c_void_p]
|
|
138
|
+
GetDllLibXls().XlsPivotField_get_Parent.restype=c_void_p
|
|
139
|
+
intPtr = CallCFunction(GetDllLibXls().XlsPivotField_get_Parent, self.Ptr)
|
|
140
|
+
ret = None if intPtr==None else PivotTableFields(intPtr)
|
|
141
|
+
return ret
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
@property
|
|
145
|
+
|
|
146
|
+
def Name(self)->str:
|
|
147
|
+
"""
|
|
148
|
+
|
|
149
|
+
"""
|
|
150
|
+
GetDllLibXls().XlsPivotField_get_Name.argtypes=[c_void_p]
|
|
151
|
+
GetDllLibXls().XlsPivotField_get_Name.restype=c_void_p
|
|
152
|
+
ret = PtrToStr(CallCFunction(GetDllLibXls().XlsPivotField_get_Name, self.Ptr))
|
|
153
|
+
return ret
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
@property
|
|
157
|
+
|
|
158
|
+
def Axis(self)->'AxisTypes':
|
|
159
|
+
"""
|
|
160
|
+
|
|
161
|
+
"""
|
|
162
|
+
GetDllLibXls().XlsPivotField_get_Axis.argtypes=[c_void_p]
|
|
163
|
+
GetDllLibXls().XlsPivotField_get_Axis.restype=c_int
|
|
164
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_Axis, self.Ptr)
|
|
165
|
+
objwraped = AxisTypes(ret)
|
|
166
|
+
return objwraped
|
|
167
|
+
|
|
168
|
+
@Axis.setter
|
|
169
|
+
def Axis(self, value:'AxisTypes'):
|
|
170
|
+
GetDllLibXls().XlsPivotField_set_Axis.argtypes=[c_void_p, c_int]
|
|
171
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_Axis, self.Ptr, value.value)
|
|
172
|
+
|
|
173
|
+
@property
|
|
174
|
+
|
|
175
|
+
def NumberFormat(self)->str:
|
|
176
|
+
"""
|
|
177
|
+
|
|
178
|
+
"""
|
|
179
|
+
GetDllLibXls().XlsPivotField_get_NumberFormat.argtypes=[c_void_p]
|
|
180
|
+
GetDllLibXls().XlsPivotField_get_NumberFormat.restype=c_void_p
|
|
181
|
+
ret = PtrToStr(CallCFunction(GetDllLibXls().XlsPivotField_get_NumberFormat, self.Ptr))
|
|
182
|
+
return ret
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
@NumberFormat.setter
|
|
186
|
+
def NumberFormat(self, value:str):
|
|
187
|
+
GetDllLibXls().XlsPivotField_set_NumberFormat.argtypes=[c_void_p, c_wchar_p]
|
|
188
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_NumberFormat, self.Ptr, value)
|
|
189
|
+
|
|
190
|
+
@property
|
|
191
|
+
|
|
192
|
+
def Subtotals(self)->'SubtotalTypes':
|
|
193
|
+
"""
|
|
194
|
+
|
|
195
|
+
"""
|
|
196
|
+
GetDllLibXls().XlsPivotField_get_Subtotals.argtypes=[c_void_p]
|
|
197
|
+
GetDllLibXls().XlsPivotField_get_Subtotals.restype=c_int
|
|
198
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_Subtotals, self.Ptr)
|
|
199
|
+
objwraped = SubtotalTypes(ret)
|
|
200
|
+
return objwraped
|
|
201
|
+
|
|
202
|
+
@Subtotals.setter
|
|
203
|
+
def Subtotals(self, value:'SubtotalTypes'):
|
|
204
|
+
GetDllLibXls().XlsPivotField_set_Subtotals.argtypes=[c_void_p, c_int]
|
|
205
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_Subtotals, self.Ptr, value.value)
|
|
206
|
+
|
|
207
|
+
@property
|
|
208
|
+
def CanDragToRow(self)->bool:
|
|
209
|
+
"""
|
|
210
|
+
|
|
211
|
+
"""
|
|
212
|
+
GetDllLibXls().XlsPivotField_get_CanDragToRow.argtypes=[c_void_p]
|
|
213
|
+
GetDllLibXls().XlsPivotField_get_CanDragToRow.restype=c_bool
|
|
214
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_CanDragToRow, self.Ptr)
|
|
215
|
+
return ret
|
|
216
|
+
|
|
217
|
+
@CanDragToRow.setter
|
|
218
|
+
def CanDragToRow(self, value:bool):
|
|
219
|
+
GetDllLibXls().XlsPivotField_set_CanDragToRow.argtypes=[c_void_p, c_bool]
|
|
220
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_CanDragToRow, self.Ptr, value)
|
|
221
|
+
|
|
222
|
+
@property
|
|
223
|
+
def CanDragToColumn(self)->bool:
|
|
224
|
+
"""
|
|
225
|
+
|
|
226
|
+
"""
|
|
227
|
+
GetDllLibXls().XlsPivotField_get_CanDragToColumn.argtypes=[c_void_p]
|
|
228
|
+
GetDllLibXls().XlsPivotField_get_CanDragToColumn.restype=c_bool
|
|
229
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_CanDragToColumn, self.Ptr)
|
|
230
|
+
return ret
|
|
231
|
+
|
|
232
|
+
@CanDragToColumn.setter
|
|
233
|
+
def CanDragToColumn(self, value:bool):
|
|
234
|
+
GetDllLibXls().XlsPivotField_set_CanDragToColumn.argtypes=[c_void_p, c_bool]
|
|
235
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_CanDragToColumn, self.Ptr, value)
|
|
236
|
+
|
|
237
|
+
@property
|
|
238
|
+
def CanDragToPage(self)->bool:
|
|
239
|
+
"""
|
|
240
|
+
|
|
241
|
+
"""
|
|
242
|
+
GetDllLibXls().XlsPivotField_get_CanDragToPage.argtypes=[c_void_p]
|
|
243
|
+
GetDllLibXls().XlsPivotField_get_CanDragToPage.restype=c_bool
|
|
244
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_CanDragToPage, self.Ptr)
|
|
245
|
+
return ret
|
|
246
|
+
|
|
247
|
+
@CanDragToPage.setter
|
|
248
|
+
def CanDragToPage(self, value:bool):
|
|
249
|
+
GetDllLibXls().XlsPivotField_set_CanDragToPage.argtypes=[c_void_p, c_bool]
|
|
250
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_CanDragToPage, self.Ptr, value)
|
|
251
|
+
|
|
252
|
+
@property
|
|
253
|
+
def CanDragOff(self)->bool:
|
|
254
|
+
"""
|
|
255
|
+
|
|
256
|
+
"""
|
|
257
|
+
GetDllLibXls().XlsPivotField_get_CanDragOff.argtypes=[c_void_p]
|
|
258
|
+
GetDllLibXls().XlsPivotField_get_CanDragOff.restype=c_bool
|
|
259
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_CanDragOff, self.Ptr)
|
|
260
|
+
return ret
|
|
261
|
+
|
|
262
|
+
@CanDragOff.setter
|
|
263
|
+
def CanDragOff(self, value:bool):
|
|
264
|
+
GetDllLibXls().XlsPivotField_set_CanDragOff.argtypes=[c_void_p, c_bool]
|
|
265
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_CanDragOff, self.Ptr, value)
|
|
266
|
+
|
|
267
|
+
@property
|
|
268
|
+
def CanDragToData(self)->bool:
|
|
269
|
+
"""
|
|
270
|
+
|
|
271
|
+
"""
|
|
272
|
+
GetDllLibXls().XlsPivotField_get_CanDragToData.argtypes=[c_void_p]
|
|
273
|
+
GetDllLibXls().XlsPivotField_get_CanDragToData.restype=c_bool
|
|
274
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_CanDragToData, self.Ptr)
|
|
275
|
+
return ret
|
|
276
|
+
|
|
277
|
+
@CanDragToData.setter
|
|
278
|
+
def CanDragToData(self, value:bool):
|
|
279
|
+
GetDllLibXls().XlsPivotField_set_CanDragToData.argtypes=[c_void_p, c_bool]
|
|
280
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_CanDragToData, self.Ptr, value)
|
|
281
|
+
|
|
282
|
+
@property
|
|
283
|
+
def DataField(self)->bool:
|
|
284
|
+
"""
|
|
285
|
+
|
|
286
|
+
"""
|
|
287
|
+
GetDllLibXls().XlsPivotField_get_DataField.argtypes=[c_void_p]
|
|
288
|
+
GetDllLibXls().XlsPivotField_get_DataField.restype=c_bool
|
|
289
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_DataField, self.Ptr)
|
|
290
|
+
return ret
|
|
291
|
+
|
|
292
|
+
@DataField.setter
|
|
293
|
+
def DataField(self, value:bool):
|
|
294
|
+
GetDllLibXls().XlsPivotField_set_DataField.argtypes=[c_void_p, c_bool]
|
|
295
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_DataField, self.Ptr, value)
|
|
296
|
+
|
|
297
|
+
@property
|
|
298
|
+
def IsDataField(self)->bool:
|
|
299
|
+
"""
|
|
300
|
+
|
|
301
|
+
"""
|
|
302
|
+
GetDllLibXls().XlsPivotField_get_IsDataField.argtypes=[c_void_p]
|
|
303
|
+
GetDllLibXls().XlsPivotField_get_IsDataField.restype=c_bool
|
|
304
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_IsDataField, self.Ptr)
|
|
305
|
+
return ret
|
|
306
|
+
|
|
307
|
+
@property
|
|
308
|
+
def NumberFormatIndex(self)->int:
|
|
309
|
+
"""
|
|
310
|
+
|
|
311
|
+
"""
|
|
312
|
+
GetDllLibXls().XlsPivotField_get_NumberFormatIndex.argtypes=[c_void_p]
|
|
313
|
+
GetDllLibXls().XlsPivotField_get_NumberFormatIndex.restype=c_int
|
|
314
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_NumberFormatIndex, self.Ptr)
|
|
315
|
+
return ret
|
|
316
|
+
|
|
317
|
+
@NumberFormatIndex.setter
|
|
318
|
+
def NumberFormatIndex(self, value:int):
|
|
319
|
+
GetDllLibXls().XlsPivotField_set_NumberFormatIndex.argtypes=[c_void_p, c_int]
|
|
320
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_NumberFormatIndex, self.Ptr, value)
|
|
321
|
+
|
|
322
|
+
@property
|
|
323
|
+
|
|
324
|
+
def SubtotalCaption(self)->str:
|
|
325
|
+
"""
|
|
326
|
+
<summary>
|
|
327
|
+
Specifies the custom text that is displayed for the subtotals caption.
|
|
328
|
+
</summary>
|
|
329
|
+
"""
|
|
330
|
+
GetDllLibXls().XlsPivotField_get_SubtotalCaption.argtypes=[c_void_p]
|
|
331
|
+
GetDllLibXls().XlsPivotField_get_SubtotalCaption.restype=c_void_p
|
|
332
|
+
ret = PtrToStr(CallCFunction(GetDllLibXls().XlsPivotField_get_SubtotalCaption, self.Ptr))
|
|
333
|
+
return ret
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
@SubtotalCaption.setter
|
|
337
|
+
def SubtotalCaption(self, value:str):
|
|
338
|
+
GetDllLibXls().XlsPivotField_set_SubtotalCaption.argtypes=[c_void_p, c_wchar_p]
|
|
339
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_SubtotalCaption, self.Ptr, value)
|
|
340
|
+
|
|
341
|
+
@property
|
|
342
|
+
def SubtotalTop(self)->bool:
|
|
343
|
+
"""
|
|
344
|
+
<summary>
|
|
345
|
+
Get or set whether show
|
|
346
|
+
</summary>
|
|
347
|
+
"""
|
|
348
|
+
GetDllLibXls().XlsPivotField_get_SubtotalTop.argtypes=[c_void_p]
|
|
349
|
+
GetDllLibXls().XlsPivotField_get_SubtotalTop.restype=c_bool
|
|
350
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_SubtotalTop, self.Ptr)
|
|
351
|
+
return ret
|
|
352
|
+
|
|
353
|
+
@SubtotalTop.setter
|
|
354
|
+
def SubtotalTop(self, value:bool):
|
|
355
|
+
GetDllLibXls().XlsPivotField_set_SubtotalTop.argtypes=[c_void_p, c_bool]
|
|
356
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_SubtotalTop, self.Ptr, value)
|
|
357
|
+
|
|
358
|
+
@property
|
|
359
|
+
def IsAutoShow(self)->bool:
|
|
360
|
+
"""
|
|
361
|
+
<summary>
|
|
362
|
+
Autoshow is enabled.
|
|
363
|
+
</summary>
|
|
364
|
+
"""
|
|
365
|
+
GetDllLibXls().XlsPivotField_get_IsAutoShow.argtypes=[c_void_p]
|
|
366
|
+
GetDllLibXls().XlsPivotField_get_IsAutoShow.restype=c_bool
|
|
367
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_IsAutoShow, self.Ptr)
|
|
368
|
+
return ret
|
|
369
|
+
|
|
370
|
+
@IsAutoShow.setter
|
|
371
|
+
def IsAutoShow(self, value:bool):
|
|
372
|
+
GetDllLibXls().XlsPivotField_set_IsAutoShow.argtypes=[c_void_p, c_bool]
|
|
373
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_IsAutoShow, self.Ptr, value)
|
|
374
|
+
|
|
375
|
+
@property
|
|
376
|
+
def IsDragToHide(self)->bool:
|
|
377
|
+
"""
|
|
378
|
+
<summary>
|
|
379
|
+
User can remove field from fiew.
|
|
380
|
+
</summary>
|
|
381
|
+
"""
|
|
382
|
+
GetDllLibXls().XlsPivotField_get_IsDragToHide.argtypes=[c_void_p]
|
|
383
|
+
GetDllLibXls().XlsPivotField_get_IsDragToHide.restype=c_bool
|
|
384
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_IsDragToHide, self.Ptr)
|
|
385
|
+
return ret
|
|
386
|
+
|
|
387
|
+
@IsDragToHide.setter
|
|
388
|
+
def IsDragToHide(self, value:bool):
|
|
389
|
+
GetDllLibXls().XlsPivotField_set_IsDragToHide.argtypes=[c_void_p, c_bool]
|
|
390
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_IsDragToHide, self.Ptr, value)
|
|
391
|
+
|
|
392
|
+
@property
|
|
393
|
+
def ShowNewItemsInFilter(self)->bool:
|
|
394
|
+
"""
|
|
395
|
+
<summary>
|
|
396
|
+
Specifies a boolean value that indicates whether manual filter is in inclusive mode.
|
|
397
|
+
</summary>
|
|
398
|
+
"""
|
|
399
|
+
GetDllLibXls().XlsPivotField_get_ShowNewItemsInFilter.argtypes=[c_void_p]
|
|
400
|
+
GetDllLibXls().XlsPivotField_get_ShowNewItemsInFilter.restype=c_bool
|
|
401
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_ShowNewItemsInFilter, self.Ptr)
|
|
402
|
+
return ret
|
|
403
|
+
|
|
404
|
+
@ShowNewItemsInFilter.setter
|
|
405
|
+
def ShowNewItemsInFilter(self, value:bool):
|
|
406
|
+
GetDllLibXls().XlsPivotField_set_ShowNewItemsInFilter.argtypes=[c_void_p, c_bool]
|
|
407
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_ShowNewItemsInFilter, self.Ptr, value)
|
|
408
|
+
|
|
409
|
+
@property
|
|
410
|
+
def ShowNewItemsOnRefresh(self)->bool:
|
|
411
|
+
"""
|
|
412
|
+
<summary>
|
|
413
|
+
Specifies a boolean value that indicates whether new items that appear after a refresh
|
|
414
|
+
should be hidden by default.
|
|
415
|
+
</summary>
|
|
416
|
+
"""
|
|
417
|
+
GetDllLibXls().XlsPivotField_get_ShowNewItemsOnRefresh.argtypes=[c_void_p]
|
|
418
|
+
GetDllLibXls().XlsPivotField_get_ShowNewItemsOnRefresh.restype=c_bool
|
|
419
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_ShowNewItemsOnRefresh, self.Ptr)
|
|
420
|
+
return ret
|
|
421
|
+
|
|
422
|
+
@ShowNewItemsOnRefresh.setter
|
|
423
|
+
def ShowNewItemsOnRefresh(self, value:bool):
|
|
424
|
+
GetDllLibXls().XlsPivotField_set_ShowNewItemsOnRefresh.argtypes=[c_void_p, c_bool]
|
|
425
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_ShowNewItemsOnRefresh, self.Ptr, value)
|
|
426
|
+
|
|
427
|
+
@property
|
|
428
|
+
def ShowBlankRow(self)->bool:
|
|
429
|
+
"""
|
|
430
|
+
<summary>
|
|
431
|
+
True if a blank row is inserted after the specified row field in a PivotTable report.
|
|
432
|
+
</summary>
|
|
433
|
+
"""
|
|
434
|
+
GetDllLibXls().XlsPivotField_get_ShowBlankRow.argtypes=[c_void_p]
|
|
435
|
+
GetDllLibXls().XlsPivotField_get_ShowBlankRow.restype=c_bool
|
|
436
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_ShowBlankRow, self.Ptr)
|
|
437
|
+
return ret
|
|
438
|
+
|
|
439
|
+
@ShowBlankRow.setter
|
|
440
|
+
def ShowBlankRow(self, value:bool):
|
|
441
|
+
GetDllLibXls().XlsPivotField_set_ShowBlankRow.argtypes=[c_void_p, c_bool]
|
|
442
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_ShowBlankRow, self.Ptr, value)
|
|
443
|
+
|
|
444
|
+
@property
|
|
445
|
+
def ShowPageBreak(self)->bool:
|
|
446
|
+
"""
|
|
447
|
+
<summary>
|
|
448
|
+
True if a page break is inserted after each field.
|
|
449
|
+
</summary>
|
|
450
|
+
"""
|
|
451
|
+
GetDllLibXls().XlsPivotField_get_ShowPageBreak.argtypes=[c_void_p]
|
|
452
|
+
GetDllLibXls().XlsPivotField_get_ShowPageBreak.restype=c_bool
|
|
453
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_ShowPageBreak, self.Ptr)
|
|
454
|
+
return ret
|
|
455
|
+
|
|
456
|
+
@ShowPageBreak.setter
|
|
457
|
+
def ShowPageBreak(self, value:bool):
|
|
458
|
+
GetDllLibXls().XlsPivotField_set_ShowPageBreak.argtypes=[c_void_p, c_bool]
|
|
459
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_ShowPageBreak, self.Ptr, value)
|
|
460
|
+
|
|
461
|
+
@property
|
|
462
|
+
def ItemsPerPage(self)->int:
|
|
463
|
+
"""
|
|
464
|
+
<summary>
|
|
465
|
+
Specifies the number of items showed per page in the PivotTable.
|
|
466
|
+
</summary>
|
|
467
|
+
"""
|
|
468
|
+
GetDllLibXls().XlsPivotField_get_ItemsPerPage.argtypes=[c_void_p]
|
|
469
|
+
GetDllLibXls().XlsPivotField_get_ItemsPerPage.restype=c_int
|
|
470
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_ItemsPerPage, self.Ptr)
|
|
471
|
+
return ret
|
|
472
|
+
|
|
473
|
+
@ItemsPerPage.setter
|
|
474
|
+
def ItemsPerPage(self, value:int):
|
|
475
|
+
GetDllLibXls().XlsPivotField_set_ItemsPerPage.argtypes=[c_void_p, c_int]
|
|
476
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_ItemsPerPage, self.Ptr, value)
|
|
477
|
+
|
|
478
|
+
@property
|
|
479
|
+
def IsMultiSelected(self)->bool:
|
|
480
|
+
"""
|
|
481
|
+
<summary>
|
|
482
|
+
Specifies a boolean value that indicates whether the field can have multiple items
|
|
483
|
+
selected in the page field.
|
|
484
|
+
</summary>
|
|
485
|
+
"""
|
|
486
|
+
GetDllLibXls().XlsPivotField_get_IsMultiSelected.argtypes=[c_void_p]
|
|
487
|
+
GetDllLibXls().XlsPivotField_get_IsMultiSelected.restype=c_bool
|
|
488
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_IsMultiSelected, self.Ptr)
|
|
489
|
+
return ret
|
|
490
|
+
|
|
491
|
+
@IsMultiSelected.setter
|
|
492
|
+
def IsMultiSelected(self, value:bool):
|
|
493
|
+
GetDllLibXls().XlsPivotField_set_IsMultiSelected.argtypes=[c_void_p, c_bool]
|
|
494
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_IsMultiSelected, self.Ptr, value)
|
|
495
|
+
|
|
496
|
+
@property
|
|
497
|
+
def IsShowAllItems(self)->bool:
|
|
498
|
+
"""
|
|
499
|
+
<summary>
|
|
500
|
+
Show all items for this field.
|
|
501
|
+
</summary>
|
|
502
|
+
"""
|
|
503
|
+
GetDllLibXls().XlsPivotField_get_IsShowAllItems.argtypes=[c_void_p]
|
|
504
|
+
GetDllLibXls().XlsPivotField_get_IsShowAllItems.restype=c_bool
|
|
505
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_IsShowAllItems, self.Ptr)
|
|
506
|
+
return ret
|
|
507
|
+
|
|
508
|
+
@IsShowAllItems.setter
|
|
509
|
+
def IsShowAllItems(self, value:bool):
|
|
510
|
+
GetDllLibXls().XlsPivotField_set_IsShowAllItems.argtypes=[c_void_p, c_bool]
|
|
511
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_IsShowAllItems, self.Ptr, value)
|
|
512
|
+
|
|
513
|
+
@property
|
|
514
|
+
def ShowOutline(self)->bool:
|
|
515
|
+
"""
|
|
516
|
+
<summary>
|
|
517
|
+
Specifies a boolean value that indicates whether the items in this field should be shown
|
|
518
|
+
in Outline form.
|
|
519
|
+
If the parameter is true, the field layout is "Show item labels in outline form".
|
|
520
|
+
If the parameter is false, the field layout is "Show item labels in tabular form".
|
|
521
|
+
</summary>
|
|
522
|
+
"""
|
|
523
|
+
GetDllLibXls().XlsPivotField_get_ShowOutline.argtypes=[c_void_p]
|
|
524
|
+
GetDllLibXls().XlsPivotField_get_ShowOutline.restype=c_bool
|
|
525
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_ShowOutline, self.Ptr)
|
|
526
|
+
return ret
|
|
527
|
+
|
|
528
|
+
@ShowOutline.setter
|
|
529
|
+
def ShowOutline(self, value:bool):
|
|
530
|
+
GetDllLibXls().XlsPivotField_set_ShowOutline.argtypes=[c_void_p, c_bool]
|
|
531
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_ShowOutline, self.Ptr, value)
|
|
532
|
+
|
|
533
|
+
@property
|
|
534
|
+
def ShowDropDown(self)->bool:
|
|
535
|
+
"""
|
|
536
|
+
<summary>
|
|
537
|
+
True if the flag for the specified PivotTable field or PivotTable item is set to "drilled" (expanded, or visible).
|
|
538
|
+
</summary>
|
|
539
|
+
"""
|
|
540
|
+
GetDllLibXls().XlsPivotField_get_ShowDropDown.argtypes=[c_void_p]
|
|
541
|
+
GetDllLibXls().XlsPivotField_get_ShowDropDown.restype=c_bool
|
|
542
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_ShowDropDown, self.Ptr)
|
|
543
|
+
return ret
|
|
544
|
+
|
|
545
|
+
@ShowDropDown.setter
|
|
546
|
+
def ShowDropDown(self, value:bool):
|
|
547
|
+
GetDllLibXls().XlsPivotField_set_ShowDropDown.argtypes=[c_void_p, c_bool]
|
|
548
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_ShowDropDown, self.Ptr, value)
|
|
549
|
+
|
|
550
|
+
@property
|
|
551
|
+
def ShowPropAsCaption(self)->bool:
|
|
552
|
+
"""
|
|
553
|
+
<summary>
|
|
554
|
+
Specifies a boolean value that indicates whether to show the property as a member
|
|
555
|
+
caption.
|
|
556
|
+
</summary>
|
|
557
|
+
"""
|
|
558
|
+
GetDllLibXls().XlsPivotField_get_ShowPropAsCaption.argtypes=[c_void_p]
|
|
559
|
+
GetDllLibXls().XlsPivotField_get_ShowPropAsCaption.restype=c_bool
|
|
560
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_ShowPropAsCaption, self.Ptr)
|
|
561
|
+
return ret
|
|
562
|
+
|
|
563
|
+
@ShowPropAsCaption.setter
|
|
564
|
+
def ShowPropAsCaption(self, value:bool):
|
|
565
|
+
GetDllLibXls().XlsPivotField_set_ShowPropAsCaption.argtypes=[c_void_p, c_bool]
|
|
566
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_ShowPropAsCaption, self.Ptr, value)
|
|
567
|
+
|
|
568
|
+
@property
|
|
569
|
+
def ShowToolTip(self)->bool:
|
|
570
|
+
"""
|
|
571
|
+
<summary>
|
|
572
|
+
Specifies a boolean value that indicates whether to show the member property value in a
|
|
573
|
+
tooltip on the appropriate PivotTable cells.
|
|
574
|
+
</summary>
|
|
575
|
+
"""
|
|
576
|
+
GetDllLibXls().XlsPivotField_get_ShowToolTip.argtypes=[c_void_p]
|
|
577
|
+
GetDllLibXls().XlsPivotField_get_ShowToolTip.restype=c_bool
|
|
578
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_ShowToolTip, self.Ptr)
|
|
579
|
+
return ret
|
|
580
|
+
|
|
581
|
+
@ShowToolTip.setter
|
|
582
|
+
def ShowToolTip(self, value:bool):
|
|
583
|
+
GetDllLibXls().XlsPivotField_set_ShowToolTip.argtypes=[c_void_p, c_bool]
|
|
584
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_ShowToolTip, self.Ptr, value)
|
|
585
|
+
|
|
586
|
+
@property
|
|
587
|
+
|
|
588
|
+
def SortType(self)->PivotFieldSortType:
|
|
589
|
+
"""
|
|
590
|
+
<summary>
|
|
591
|
+
Specifies the type of sort that is applied to this field.
|
|
592
|
+
</summary>
|
|
593
|
+
"""
|
|
594
|
+
GetDllLibXls().XlsPivotField_get_SortType.argtypes=[c_void_p]
|
|
595
|
+
GetDllLibXls().XlsPivotField_get_SortType.restype=c_int
|
|
596
|
+
intPtr = CallCFunction(GetDllLibXls().XlsPivotField_get_SortType, self.Ptr)
|
|
597
|
+
ret = None if intPtr==None else PivotFieldSortType(intPtr)
|
|
598
|
+
return ret
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
@SortType.setter
|
|
603
|
+
def SortType(self, value:PivotFieldSortType):
|
|
604
|
+
GetDllLibXls().XlsPivotField_set_SortType.argtypes=[c_void_p, c_int]
|
|
605
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_SortType, self.Ptr, value.value)
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
@property
|
|
609
|
+
|
|
610
|
+
def Caption(self)->str:
|
|
611
|
+
"""
|
|
612
|
+
<summary>
|
|
613
|
+
Specifies the unique name of the member property to be used as a caption for the field
|
|
614
|
+
and field items.
|
|
615
|
+
</summary>
|
|
616
|
+
"""
|
|
617
|
+
GetDllLibXls().XlsPivotField_get_Caption.argtypes=[c_void_p]
|
|
618
|
+
GetDllLibXls().XlsPivotField_get_Caption.restype=c_void_p
|
|
619
|
+
ret = PtrToStr(CallCFunction(GetDllLibXls().XlsPivotField_get_Caption, self.Ptr))
|
|
620
|
+
return ret
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
@Caption.setter
|
|
624
|
+
def Caption(self, value:str):
|
|
625
|
+
GetDllLibXls().XlsPivotField_set_Caption.argtypes=[c_void_p, c_wchar_p]
|
|
626
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_Caption, self.Ptr, value)
|
|
627
|
+
|
|
628
|
+
@property
|
|
629
|
+
def Compact(self)->bool:
|
|
630
|
+
"""
|
|
631
|
+
<summary>
|
|
632
|
+
Specifies a boolean value that indicates whether the application will display fields
|
|
633
|
+
compactly in the sheet on which this PivotTable resides
|
|
634
|
+
</summary>
|
|
635
|
+
"""
|
|
636
|
+
GetDllLibXls().XlsPivotField_get_Compact.argtypes=[c_void_p]
|
|
637
|
+
GetDllLibXls().XlsPivotField_get_Compact.restype=c_bool
|
|
638
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_Compact, self.Ptr)
|
|
639
|
+
return ret
|
|
640
|
+
|
|
641
|
+
@Compact.setter
|
|
642
|
+
def Compact(self, value:bool):
|
|
643
|
+
GetDllLibXls().XlsPivotField_set_Compact.argtypes=[c_void_p, c_bool]
|
|
644
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_Compact, self.Ptr, value)
|
|
645
|
+
|
|
646
|
+
@property
|
|
647
|
+
|
|
648
|
+
def Formula(self)->str:
|
|
649
|
+
"""
|
|
650
|
+
<summary>
|
|
651
|
+
Specifies the formula for the calculated field
|
|
652
|
+
</summary>
|
|
653
|
+
"""
|
|
654
|
+
GetDllLibXls().XlsPivotField_get_Formula.argtypes=[c_void_p]
|
|
655
|
+
GetDllLibXls().XlsPivotField_get_Formula.restype=c_void_p
|
|
656
|
+
ret = PtrToStr(CallCFunction(GetDllLibXls().XlsPivotField_get_Formula, self.Ptr))
|
|
657
|
+
return ret
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
@Formula.setter
|
|
661
|
+
def Formula(self, value:str):
|
|
662
|
+
GetDllLibXls().XlsPivotField_set_Formula.argtypes=[c_void_p, c_wchar_p]
|
|
663
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_Formula, self.Ptr, value)
|
|
664
|
+
|
|
665
|
+
@property
|
|
666
|
+
def IsFormulaField(self)->bool:
|
|
667
|
+
"""
|
|
668
|
+
<summary>
|
|
669
|
+
Indicates whether this field is formula field
|
|
670
|
+
</summary>
|
|
671
|
+
"""
|
|
672
|
+
GetDllLibXls().XlsPivotField_get_IsFormulaField.argtypes=[c_void_p]
|
|
673
|
+
GetDllLibXls().XlsPivotField_get_IsFormulaField.restype=c_bool
|
|
674
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_IsFormulaField, self.Ptr)
|
|
675
|
+
return ret
|
|
676
|
+
|
|
677
|
+
@property
|
|
678
|
+
def RepeatItemLabels(self)->bool:
|
|
679
|
+
"""
|
|
680
|
+
<summary>
|
|
681
|
+
True if the field repeat item labels.
|
|
682
|
+
</summary>
|
|
683
|
+
"""
|
|
684
|
+
GetDllLibXls().XlsPivotField_get_RepeatItemLabels.argtypes=[c_void_p]
|
|
685
|
+
GetDllLibXls().XlsPivotField_get_RepeatItemLabels.restype=c_bool
|
|
686
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_RepeatItemLabels, self.Ptr)
|
|
687
|
+
return ret
|
|
688
|
+
|
|
689
|
+
@RepeatItemLabels.setter
|
|
690
|
+
def RepeatItemLabels(self, value:bool):
|
|
691
|
+
GetDllLibXls().XlsPivotField_set_RepeatItemLabels.argtypes=[c_void_p, c_bool]
|
|
692
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_RepeatItemLabels, self.Ptr, value)
|
|
693
|
+
|
|
694
|
+
@property
|
|
695
|
+
|
|
696
|
+
def AutoSort(self)->'AutoSortScope':
|
|
697
|
+
"""
|
|
698
|
+
<summary>
|
|
699
|
+
Preserves the sorting elements of the field
|
|
700
|
+
</summary>
|
|
701
|
+
"""
|
|
702
|
+
GetDllLibXls().XlsPivotField_get_AutoSort.argtypes=[c_void_p]
|
|
703
|
+
GetDllLibXls().XlsPivotField_get_AutoSort.restype=c_void_p
|
|
704
|
+
intPtr = CallCFunction(GetDllLibXls().XlsPivotField_get_AutoSort, self.Ptr)
|
|
705
|
+
ret = None if intPtr==None else AutoSortScope(intPtr)
|
|
706
|
+
return ret
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
@AutoSort.setter
|
|
710
|
+
def AutoSort(self, value:'AutoSortScope'):
|
|
711
|
+
GetDllLibXls().XlsPivotField_set_AutoSort.argtypes=[c_void_p, c_void_p]
|
|
712
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_AutoSort, self.Ptr, value.Ptr)
|
|
713
|
+
|
|
714
|
+
@property
|
|
715
|
+
|
|
716
|
+
def ShowDataAs(self)->'PivotFieldFormatType':
|
|
717
|
+
"""
|
|
718
|
+
|
|
719
|
+
"""
|
|
720
|
+
GetDllLibXls().XlsPivotField_get_ShowDataAs.argtypes=[c_void_p]
|
|
721
|
+
GetDllLibXls().XlsPivotField_get_ShowDataAs.restype=c_int
|
|
722
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_get_ShowDataAs, self.Ptr)
|
|
723
|
+
objwraped = PivotFieldFormatType(ret)
|
|
724
|
+
return objwraped
|
|
725
|
+
|
|
726
|
+
@ShowDataAs.setter
|
|
727
|
+
def ShowDataAs(self, value:'PivotFieldFormatType'):
|
|
728
|
+
GetDllLibXls().XlsPivotField_set_ShowDataAs.argtypes=[c_void_p, c_int]
|
|
729
|
+
CallCFunction(GetDllLibXls().XlsPivotField_set_ShowDataAs, self.Ptr, value.value)
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
def AddItemOption(self ,index:int):
|
|
733
|
+
"""
|
|
734
|
+
<summary>
|
|
735
|
+
Represents the index of item and itemoptions key pairs
|
|
736
|
+
</summary>
|
|
737
|
+
"""
|
|
738
|
+
|
|
739
|
+
GetDllLibXls().XlsPivotField_AddItemOption.argtypes=[c_void_p ,c_int]
|
|
740
|
+
CallCFunction(GetDllLibXls().XlsPivotField_AddItemOption, self.Ptr, index)
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
def IsHiddenItemDetail(self ,index:int)->bool:
|
|
744
|
+
"""
|
|
745
|
+
<summary>
|
|
746
|
+
Indicates whether the specific PivotItem is hidden detail.
|
|
747
|
+
Must call after pivottable CalculateData function.
|
|
748
|
+
</summary>
|
|
749
|
+
<param name="index">the index of the pivotItem in the pivotField.</param>
|
|
750
|
+
<returns>whether the specific PivotItem is hidden detail</returns>
|
|
751
|
+
"""
|
|
752
|
+
|
|
753
|
+
GetDllLibXls().XlsPivotField_IsHiddenItemDetail.argtypes=[c_void_p ,c_int]
|
|
754
|
+
GetDllLibXls().XlsPivotField_IsHiddenItemDetail.restype=c_bool
|
|
755
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_IsHiddenItemDetail, self.Ptr, index)
|
|
756
|
+
return ret
|
|
757
|
+
|
|
758
|
+
@dispatch
|
|
759
|
+
|
|
760
|
+
def HideItemDetail(self ,index:int,isHiddenDetail:bool):
|
|
761
|
+
"""
|
|
762
|
+
<summary>
|
|
763
|
+
Sets whether the specific PivotItem in a pivot field is hidden detail.
|
|
764
|
+
Must call after pivottable CalculateData function.
|
|
765
|
+
</summary>
|
|
766
|
+
<param name="index">the index of the pivotItem in the pivotField.</param>
|
|
767
|
+
<param name="isHiddenDetail">whether the specific PivotItem is hidden</param>
|
|
768
|
+
"""
|
|
769
|
+
|
|
770
|
+
GetDllLibXls().XlsPivotField_HideItemDetail.argtypes=[c_void_p ,c_int,c_bool]
|
|
771
|
+
CallCFunction(GetDllLibXls().XlsPivotField_HideItemDetail, self.Ptr, index,isHiddenDetail)
|
|
772
|
+
|
|
773
|
+
@dispatch
|
|
774
|
+
|
|
775
|
+
def HideItemDetail(self ,itemValue:str,isHiddenDetail:bool):
|
|
776
|
+
"""
|
|
777
|
+
<summary>
|
|
778
|
+
Sets whether the PivotItems in a pivot field is hidden detail.That is collapse/expand this field.
|
|
779
|
+
Must call after pivottable CalculateData function.
|
|
780
|
+
</summary>
|
|
781
|
+
<param name="itemValue">the value of the pivotItem in the pivotField.</param>
|
|
782
|
+
<param name="isHiddenDetail">whether the specific PivotItem is hidden</param>
|
|
783
|
+
"""
|
|
784
|
+
|
|
785
|
+
GetDllLibXls().XlsPivotField_HideItemDetailII.argtypes=[c_void_p ,c_void_p,c_bool]
|
|
786
|
+
CallCFunction(GetDllLibXls().XlsPivotField_HideItemDetailII, self.Ptr, itemValue,isHiddenDetail)
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
def HideDetail(self ,isHiddenDetail:bool):
|
|
790
|
+
"""
|
|
791
|
+
<summary>
|
|
792
|
+
Sets whether the PivotItems in a pivot field is hidden detail.That is collapse/expand this field.
|
|
793
|
+
Must call after pivottable CalculateData function.
|
|
794
|
+
</summary>
|
|
795
|
+
<param name="isHiddenDetail">whether DetailItems is hidden</param>
|
|
796
|
+
"""
|
|
797
|
+
|
|
798
|
+
GetDllLibXls().XlsPivotField_HideDetail.argtypes=[c_void_p ,c_bool]
|
|
799
|
+
CallCFunction(GetDllLibXls().XlsPivotField_HideDetail, self.Ptr, isHiddenDetail)
|
|
800
|
+
|
|
801
|
+
|
|
802
|
+
def IsHiddenItem(self ,index:int)->bool:
|
|
803
|
+
"""
|
|
804
|
+
<summary>
|
|
805
|
+
Indicates whether the specific PivotItem is hidden.
|
|
806
|
+
Must call after pivottable CalculateData function.
|
|
807
|
+
</summary>
|
|
808
|
+
<param name="index">the index of the pivotItem in the pivotField.</param>
|
|
809
|
+
<returns>whether the specific PivotItem is hidden</returns>
|
|
810
|
+
"""
|
|
811
|
+
|
|
812
|
+
GetDllLibXls().XlsPivotField_IsHiddenItem.argtypes=[c_void_p ,c_int]
|
|
813
|
+
GetDllLibXls().XlsPivotField_IsHiddenItem.restype=c_bool
|
|
814
|
+
ret = CallCFunction(GetDllLibXls().XlsPivotField_IsHiddenItem, self.Ptr, index)
|
|
815
|
+
return ret
|
|
816
|
+
|
|
817
|
+
@dispatch
|
|
818
|
+
|
|
819
|
+
def HideItem(self ,index:int,isHidden:bool):
|
|
820
|
+
"""
|
|
821
|
+
<summary>
|
|
822
|
+
Sets whether the specific PivotItem in a data field is hidden.
|
|
823
|
+
Must call after pivottable CalculateData function.
|
|
824
|
+
</summary>
|
|
825
|
+
<param name="index">the index of the pivotItem in the pivotField.</param>
|
|
826
|
+
<param name="isHidden">whether the specific PivotItem is hidden</param>
|
|
827
|
+
"""
|
|
828
|
+
|
|
829
|
+
GetDllLibXls().XlsPivotField_HideItem.argtypes=[c_void_p ,c_int,c_bool]
|
|
830
|
+
CallCFunction(GetDllLibXls().XlsPivotField_HideItem, self.Ptr, index,isHidden)
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
def HideAllItem(self ,isHidden:bool):
|
|
834
|
+
"""
|
|
835
|
+
<summary>
|
|
836
|
+
Sets whether the all PivotItem in a data field is hidden.
|
|
837
|
+
Must call after pivottable CalculateData function.
|
|
838
|
+
</summary>
|
|
839
|
+
<param name="isHidden">whether the specific PivotItem is hidden</param>
|
|
840
|
+
"""
|
|
841
|
+
|
|
842
|
+
GetDllLibXls().XlsPivotField_HideAllItem.argtypes=[c_void_p ,c_bool]
|
|
843
|
+
CallCFunction(GetDllLibXls().XlsPivotField_HideAllItem, self.Ptr, isHidden)
|
|
844
|
+
|
|
845
|
+
@dispatch
|
|
846
|
+
|
|
847
|
+
def HideItem(self ,itemValue:str,isHidden:bool):
|
|
848
|
+
"""
|
|
849
|
+
<summary>
|
|
850
|
+
Sets whether the specific PivotItem in a data field is hidden.
|
|
851
|
+
Must call after pivottable CalculateData function.
|
|
852
|
+
</summary>
|
|
853
|
+
<param name="itemValue">the value of the pivotItem in the pivotField.</param>
|
|
854
|
+
<param name="isHidden">whether the specific PivotItem is hidden</param>
|
|
855
|
+
"""
|
|
856
|
+
|
|
857
|
+
GetDllLibXls().XlsPivotField_HideItemII.argtypes=[c_void_p ,c_void_p,c_bool]
|
|
858
|
+
CallCFunction(GetDllLibXls().XlsPivotField_HideItemII, self.Ptr, itemValue,isHidden)
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
def Sort(self ,isAscendSort:bool,sortByField:'PivotDataField'):
|
|
862
|
+
"""
|
|
863
|
+
<summary>
|
|
864
|
+
Sort row fildes or col fields by data field.
|
|
865
|
+
</summary>
|
|
866
|
+
"""
|
|
867
|
+
intPtrsortByField:c_void_p = sortByField.Ptr
|
|
868
|
+
|
|
869
|
+
GetDllLibXls().XlsPivotField_Sort.argtypes=[c_void_p ,c_bool,c_void_p]
|
|
870
|
+
CallCFunction(GetDllLibXls().XlsPivotField_Sort, self.Ptr, isAscendSort,intPtrsortByField)
|
|
871
|
+
|
|
872
|
+
|
|
873
|
+
def Clone(self ,parent:'SpireObject')->'SpireObject':
|
|
874
|
+
"""
|
|
875
|
+
|
|
876
|
+
"""
|
|
877
|
+
intPtrparent:c_void_p = parent.Ptr
|
|
878
|
+
|
|
879
|
+
GetDllLibXls().XlsPivotField_Clone.argtypes=[c_void_p ,c_void_p]
|
|
880
|
+
GetDllLibXls().XlsPivotField_Clone.restype=c_void_p
|
|
881
|
+
intPtr = CallCFunction(GetDllLibXls().XlsPivotField_Clone, self.Ptr, intPtrparent)
|
|
882
|
+
ret = None if intPtr==None else SpireObject(intPtr)
|
|
883
|
+
return ret
|
|
884
|
+
|
|
885
|
+
|