spire-xls 15.5.0__py3-none-win_amd64.whl → 15.11.1__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/xls/AddtionalFormatWrapper.py +116 -132
- spire/xls/Average.py +18 -4
- spire/xls/CellBaseStyle.py +13 -6
- spire/xls/CellBorder.py +25 -20
- spire/xls/CellRange.py +315 -277
- spire/xls/CellStyle.py +26 -12
- spire/xls/CellStyleFlag.py +187 -57
- spire/xls/CellStyleObject.py +55 -79
- spire/xls/CellValueChangedEventArgs.py +3 -9
- spire/xls/ColorScale.py +31 -39
- spire/xls/CommentsRange.py +185 -95
- spire/xls/CommonWrapper.py +23 -8
- spire/xls/ConverterSetting.py +34 -36
- spire/xls/DBConnection.py +41 -8
- spire/xls/DVAspect.py +8 -2
- spire/xls/DataBar.py +29 -28
- spire/xls/DocumentProperty.py +87 -39
- spire/xls/Excel2016Charttype.py +14 -2
- spire/xls/ExcelComment.py +1 -2
- spire/xls/ExcelCommentObject.py +212 -122
- spire/xls/ExcelFont.py +94 -73
- spire/xls/ExcelGradient.py +70 -24
- spire/xls/ExcelInterior.py +43 -27
- spire/xls/ExportTableOptions.py +38 -9
- spire/xls/ExternalConnection.py +85 -20
- spire/xls/ExternalLink.py +26 -10
- spire/xls/FileFormat.py +32 -4
- spire/xls/Font.py +165 -112
- spire/xls/FontArrayWrapper.py +135 -36
- spire/xls/FontWrapper.py +207 -103
- spire/xls/Format3D.py +130 -30
- spire/xls/GeomertyAdjustValue.py +22 -10
- spire/xls/GetText.py +8 -2
- spire/xls/GoalSeek.py +44 -14
- spire/xls/GoalSeekResult.py +36 -3
- spire/xls/GradientArrayWrapper.py +92 -28
- spire/xls/GradientStops.py +75 -25
- spire/xls/GradientType.py +10 -2
- spire/xls/GroupShape.py +1 -2
- spire/xls/HPageBreak.py +2 -2
- spire/xls/HTMLOptions.py +7 -19
- spire/xls/HyperLink.py +2 -2
- spire/xls/LOGFONT.py +78 -30
- spire/xls/MsoTextFrame.py +102 -0
- spire/xls/OColor.py +62 -29
- spire/xls/OdsPageBackground.py +5 -10
- spire/xls/PageColRow.py +21 -10
- spire/xls/PageSetup.py +2 -3
- spire/xls/PaperSizeEntry.py +6 -0
- spire/xls/PicStretch.py +47 -14
- spire/xls/PicTile.py +35 -10
- spire/xls/QueryTableXls.py +19 -6
- spire/xls/RTFCommentArray.py +59 -22
- spire/xls/RTFStringArray.py +59 -22
- spire/xls/RangeRichTextString.py +22 -10
- spire/xls/ReferRangeArea.py +33 -18
- spire/xls/RichText.py +11 -9
- spire/xls/RichTextObject.py +63 -32
- spire/xls/RichTextShape.py +90 -33
- spire/xls/RichTextString.py +62 -24
- spire/xls/RtfTextWriter.py +68 -22
- spire/xls/SaveShapeTypeOption.py +19 -37
- spire/xls/ShapeGlow.py +35 -15
- spire/xls/ShapeReflection.py +55 -18
- spire/xls/StyleArrayWrapper.py +169 -78
- spire/xls/TextBoxShapeBase.py +63 -30
- spire/xls/TextSaveOptions.py +39 -17
- spire/xls/TopBottom.py +18 -6
- spire/xls/VPageBreak.py +4 -5
- spire/xls/Validation.py +12 -6
- spire/xls/WebQueryConnection.py +52 -20
- spire/xls/Workbook.py +884 -916
- spire/xls/Worksheet.py +507 -421
- spire/xls/WriteProtection.py +3 -6
- spire/xls/XlsAddInFunction.py +36 -22
- spire/xls/XlsArcShape.py +157 -41
- spire/xls/XlsBitmapShape.py +141 -43
- spire/xls/XlsBorder.py +73 -31
- spire/xls/XlsBorderArrayWrapper.py +50 -14
- spire/xls/XlsButtonShape.py +59 -17
- spire/xls/XlsCheckBoxShape.py +72 -18
- spire/xls/XlsComboBoxShape.py +53 -16
- spire/xls/XlsComment.py +109 -31
- spire/xls/XlsDataValidationTable.py +46 -17
- spire/xls/XlsDocumentProperty.py +163 -44
- spire/xls/XlsEventArgs.py +33 -24
- spire/xls/XlsEventHandler.py +10 -4
- spire/xls/XlsFill.py +64 -20
- spire/xls/XlsFont.py +202 -66
- spire/xls/XlsGradient.py +90 -26
- spire/xls/XlsGradientStop.py +57 -12
- spire/xls/XlsGroupBoxShape.py +36 -10
- spire/xls/XlsHPageBreak.py +47 -24
- spire/xls/XlsHyperLink.py +111 -42
- spire/xls/XlsLabelShape.py +27 -8
- spire/xls/XlsLineShape.py +188 -48
- spire/xls/XlsListBoxShape.py +63 -14
- spire/xls/XlsName.py +779 -331
- spire/xls/XlsObject.py +2 -4
- spire/xls/XlsOvalShape.py +79 -21
- spire/xls/XlsPageSetup.py +71 -32
- spire/xls/XlsPageSetupBase.py +29 -58
- spire/xls/XlsPrstGeomShape.py +29 -10
- spire/xls/XlsRadioButtonShape.py +84 -42
- spire/xls/XlsRange.py +907 -1087
- spire/xls/XlsRectangleShape.py +70 -23
- spire/xls/XlsScrollBarShape.py +78 -18
- spire/xls/XlsShape.py +396 -183
- spire/xls/XlsShapeFill.py +401 -92
- spire/xls/XlsShapeLineFormat.py +201 -44
- spire/xls/XlsSpinnerShape.py +57 -14
- spire/xls/XlsStyle.py +54 -23
- spire/xls/XlsTextBoxShape.py +263 -60
- spire/xls/XlsVPageBreak.py +9 -14
- spire/xls/XlsValidation.py +325 -72
- spire/xls/XlsValidationWrapper.py +217 -49
- spire/xls/XlsWorkbook.py +573 -88
- spire/xls/XlsWorksheet.py +1312 -1232
- spire/xls/XlsWorksheetBase.py +279 -185
- spire/xls/__init__.py +531 -529
- spire/xls/autofilter/AutoFitterOptions.py +91 -0
- spire/xls/autofilter/ColorFilter.py +61 -0
- spire/xls/autofilter/CustomFilter.py +207 -0
- spire/xls/autofilter/CustomFilterCollection.py +146 -0
- spire/xls/autofilter/DateTimeGroupItem.py +196 -0
- spire/xls/autofilter/DynamicFilter.py +89 -0
- spire/xls/autofilter/FilterColumn.py +289 -0
- spire/xls/autofilter/MultipleFilterCollection.py +218 -0
- spire/xls/autofilter/Top10Filter.py +109 -0
- spire/xls/autofilter/XlsAutoFiltersCollection.py +146 -0
- spire/xls/charts/Chart.py +369 -0
- spire/xls/charts/ChartArea.py +58 -0
- spire/xls/charts/ChartBackgroundMode.py +17 -0
- spire/xls/charts/ChartCategoryAxis.py +88 -0
- spire/xls/charts/ChartDataLabels.py +40 -0
- spire/xls/charts/ChartDataPoint.py +40 -0
- spire/xls/charts/ChartFormat.py +68 -0
- spire/xls/charts/ChartGridLine.py +26 -0
- spire/xls/charts/ChartLegend.py +40 -0
- spire/xls/charts/ChartLegendEntriesColl.py +165 -0
- spire/xls/charts/ChartLegendEntry.py +26 -0
- spire/xls/charts/ChartPlotArea.py +60 -0
- spire/xls/charts/ChartSerie.py +147 -0
- spire/xls/charts/ChartSerieDataFormat.py +54 -0
- spire/xls/charts/ChartSeriesAxis.py +68 -0
- spire/xls/charts/ChartShadow.py +288 -0
- spire/xls/charts/ChartSheet.py +269 -0
- spire/xls/charts/ChartTextArea.py +898 -0
- spire/xls/charts/ChartValueAxis.py +90 -0
- spire/xls/charts/HistogramAxisFormat.py +32 -0
- spire/xls/charts/XlsChart.py +1667 -0
- spire/xls/charts/XlsChartAxis.py +596 -0
- spire/xls/charts/XlsChartBorder.py +180 -0
- spire/xls/charts/XlsChartCategoryAxis.py +640 -0
- spire/xls/charts/XlsChartDataLabelArea.py +368 -0
- spire/xls/charts/XlsChartDataLabels.py +702 -0
- spire/xls/charts/XlsChartDataPoint.py +105 -0
- spire/xls/charts/XlsChartDataTable.py +373 -0
- spire/xls/charts/XlsChartDropBar.py +295 -0
- spire/xls/charts/XlsChartFill.py +659 -0
- spire/xls/charts/XlsChartFormat.py +1229 -0
- spire/xls/charts/XlsChartFrameFormat.py +613 -0
- spire/xls/charts/XlsChartGridLine.py +167 -0
- spire/xls/charts/XlsChartInterior.py +229 -0
- spire/xls/charts/XlsChartLegend.py +334 -0
- spire/xls/charts/XlsChartLegendArea.py +418 -0
- spire/xls/charts/XlsChartLegendEntry.py +152 -0
- spire/xls/charts/XlsChartSerie.py +607 -0
- spire/xls/charts/XlsChartSerieDataFormat.py +1070 -0
- spire/xls/charts/XlsChartSeriesAxis.py +306 -0
- spire/xls/charts/XlsChartShape.py +1256 -0
- spire/xls/charts/XlsChartTitleArea.py +399 -0
- spire/xls/charts/XlsChartValueAxis.py +344 -0
- spire/xls/charts/XlsChartWallOrFloor.py +349 -0
- spire/xls/charts/__init__.py +0 -0
- spire/xls/collection/AddInFunctionsCollection.py +31 -0
- spire/xls/collection/ArcShapeCollection.py +94 -0
- spire/xls/collection/AutoFiltersCollection.py +539 -0
- spire/xls/collection/BordersCollection.py +196 -0
- spire/xls/collection/BordersCollectionArrayWrapper.py +129 -0
- spire/xls/collection/BuiltInDocumentProperties.py +12 -0
- spire/xls/collection/ButtonShapeCollection.py +70 -0
- spire/xls/collection/ChartDataPointsCollection.py +72 -0
- spire/xls/collection/ChartFormatCollection.py +58 -0
- spire/xls/collection/ChartSeries.py +187 -0
- spire/xls/collection/ChartsCollection.py +119 -0
- spire/xls/collection/CollectionBase.py +201 -0
- spire/xls/collection/CollectionExtended.py +96 -0
- spire/xls/collection/ComboBoxCollection.py +89 -0
- spire/xls/collection/CommentsCollection.py +134 -0
- spire/xls/collection/DataConnections.py +25 -0
- spire/xls/collection/ExternalLinkCollection.py +26 -0
- spire/xls/collection/GroupBoxCollection.py +70 -0
- spire/xls/collection/GroupShapeCollection.py +45 -0
- spire/xls/collection/HPageBreaksCollection.py +116 -0
- spire/xls/collection/HyperLinksCollection.py +72 -0
- spire/xls/collection/ListObjectCollection.py +48 -0
- spire/xls/collection/OvalShapeCollection.py +89 -0
- spire/xls/collection/PicturesCollection.py +574 -0
- spire/xls/collection/PrstGeomShapeCollection.py +128 -0
- spire/xls/collection/QueryTableCollection.py +25 -0
- spire/xls/collection/RadioButtonCollection.py +139 -0
- spire/xls/collection/RangesCollection.py +556 -0
- spire/xls/collection/ShapeCollectionBase.py +87 -0
- spire/xls/collection/StylesCollection.py +140 -0
- spire/xls/collection/VPageBreaksCollection.py +95 -0
- spire/xls/collection/WorksheetsCollection.py +363 -0
- spire/xls/collection/XlsAddInFunctionsCollection.py +108 -0
- spire/xls/collection/XlsBordersCollection.py +98 -0
- spire/xls/collection/XlsBuiltInDocumentProperties.py +611 -0
- spire/xls/collection/XlsChartDataPointsCollection.py +119 -0
- spire/xls/collection/XlsChartFormatCollection.py +160 -0
- spire/xls/collection/XlsChartsCollection.py +91 -0
- spire/xls/collection/XlsCommentsCollection.py +116 -0
- spire/xls/collection/XlsDataValidationCollection.py +157 -0
- spire/xls/collection/XlsFontsCollection.py +52 -0
- spire/xls/collection/XlsHPageBreaksCollection.py +87 -0
- spire/xls/collection/XlsHyperLinksCollection.py +104 -0
- spire/xls/collection/XlsRangesCollection.py +1641 -0
- spire/xls/collection/XlsStylesCollection.py +74 -0
- spire/xls/collection/XlsVPageBreaksCollection.py +81 -0
- spire/xls/collection/XlsWorkbookObjectsCollection.py +95 -0
- spire/xls/collection/XlsWorksheetsCollection.py +423 -0
- spire/xls/collection/__init__.py +0 -0
- spire/xls/collection/pivot_table/PivotConditionalFormatCollection.py +38 -0
- spire/xls/collection/pivot_table/PivotTableFields.py +108 -0
- spire/xls/collection/pivot_table/XlsPivotCachesCollection.py +124 -0
- spire/xls/collection/pivot_table/XlsPivotTablesCollection.py +132 -0
- spire/xls/collection/pivot_table/__init__.py +0 -0
- spire/xls/conditional_formatting/ColorConditionValue.py +102 -0
- spire/xls/conditional_formatting/CondFormatCollectionWrapper.py +153 -0
- spire/xls/conditional_formatting/ConditionValue.py +83 -0
- spire/xls/conditional_formatting/ConditionValuePosition.py +16 -0
- spire/xls/conditional_formatting/ConditionalFormat.py +13 -0
- spire/xls/conditional_formatting/ConditionalFormatScope.py +16 -0
- spire/xls/conditional_formatting/ConditionalFormatWrapper.py +1271 -0
- spire/xls/conditional_formatting/ConditionalFormats.py +65 -0
- spire/xls/conditional_formatting/DataBarBorder.py +51 -0
- spire/xls/conditional_formatting/NegativeBarFormat.py +90 -0
- spire/xls/conditional_formatting/XlsConditionValue.py +134 -0
- spire/xls/conditional_formatting/XlsConditionalFormat.py +1163 -0
- spire/xls/conditional_formatting/XlsConditionalFormats.py +684 -0
- spire/xls/conditional_formatting/__init__.py +0 -0
- spire/xls/enums/AlertStyleType.py +17 -0
- spire/xls/enums/AutoFormatOptions.py +22 -0
- spire/xls/enums/AutoFormatType.py +31 -0
- spire/xls/enums/AverageType.py +24 -0
- spire/xls/enums/AxisLineIdentifierType.py +18 -0
- spire/xls/enums/AxisTextDirectionType.py +17 -0
- spire/xls/enums/AxisType.py +17 -0
- spire/xls/enums/BaseFormatType.py +16 -0
- spire/xls/enums/BordersLineType.py +22 -0
- spire/xls/enums/BubbleSizeType.py +16 -0
- spire/xls/enums/BuiltInPropertyType.py +49 -0
- spire/xls/enums/BuiltInStyles.py +65 -0
- spire/xls/enums/CategoryType.py +17 -0
- spire/xls/enums/CellDataType.py +22 -0
- spire/xls/enums/CellFormatType.py +20 -0
- spire/xls/enums/ChartBaseUnitType.py +17 -0
- spire/xls/enums/ChartDisplayUnitType.py +25 -0
- spire/xls/enums/ChartLinePatternType.py +23 -0
- spire/xls/enums/ChartLineWeightType.py +18 -0
- spire/xls/enums/ChartMarkerType.py +26 -0
- spire/xls/enums/ChartParagraphType.py +17 -0
- spire/xls/enums/ChartPieType.py +17 -0
- spire/xls/enums/ChartPlotEmptyType.py +17 -0
- spire/xls/enums/CheckState.py +17 -0
- spire/xls/enums/ColorType.py +17 -0
- spire/xls/enums/CommentHAlignType.py +20 -0
- spire/xls/enums/CommentVAlignType.py +19 -0
- spire/xls/enums/ComparisonOperatorType.py +23 -0
- spire/xls/enums/ConditionalFormatType.py +32 -0
- spire/xls/enums/DataLabelPositionType.py +25 -0
- spire/xls/enums/DataSourceType.py +18 -0
- spire/xls/enums/DropLineStyleType.py +17 -0
- spire/xls/enums/ErrorBarIncludeType.py +18 -0
- spire/xls/enums/ErrorBarType.py +19 -0
- spire/xls/enums/ExcelCalculationMode.py +17 -0
- spire/xls/enums/ExcelChartType.py +95 -0
- spire/xls/enums/ExcelColors.py +120 -0
- spire/xls/enums/ExcelComboType.py +21 -0
- spire/xls/enums/ExcelHorizontalAlignment.py +20 -0
- spire/xls/enums/ExcelPatternType.py +51 -0
- spire/xls/enums/ExcelQuartileCalculation.py +16 -0
- spire/xls/enums/ExcelShapeType.py +40 -0
- spire/xls/enums/ExcelSheetType.py +19 -0
- spire/xls/enums/ExcelTreeMapLabelOption.py +17 -0
- spire/xls/enums/ExcelVersion.py +23 -0
- spire/xls/enums/ExcelVerticalAlignment.py +20 -0
- spire/xls/enums/ExpandCollapseFlags.py +17 -0
- spire/xls/enums/FilterConditionType.py +20 -0
- spire/xls/enums/FilterDataType.py +21 -0
- spire/xls/enums/FontUnderlineType.py +19 -0
- spire/xls/enums/FontVertialAlignmentType.py +17 -0
- spire/xls/enums/GradientColorType.py +17 -0
- spire/xls/enums/GradientPatternType.py +63 -0
- spire/xls/enums/GradientPresetType.py +38 -0
- spire/xls/enums/GradientStyleType.py +20 -0
- spire/xls/enums/GradientTextureType.py +39 -0
- spire/xls/enums/GradientVariantsType.py +18 -0
- spire/xls/enums/HorizontalAlignType.py +22 -0
- spire/xls/enums/HyperLinkType.py +19 -0
- spire/xls/enums/IgnoreErrorType.py +23 -0
- spire/xls/enums/ImageFormatType.py +17 -0
- spire/xls/enums/ImageType.py +16 -0
- spire/xls/enums/LegendPositionType.py +20 -0
- spire/xls/enums/LegendSpacingType.py +17 -0
- spire/xls/enums/LineStyleType.py +28 -0
- spire/xls/enums/OleObjectType.py +50 -0
- spire/xls/enums/OrderBy.py +18 -0
- spire/xls/enums/OrderType.py +16 -0
- spire/xls/enums/PageBreakExtentType.py +16 -0
- spire/xls/enums/PageBreakType.py +17 -0
- spire/xls/enums/PageOrientationType.py +16 -0
- spire/xls/enums/PagesOrderType.py +16 -0
- spire/xls/enums/PaperSizeType.py +134 -0
- spire/xls/enums/PivotGroupByTypes.py +22 -0
- spire/xls/enums/PrintCommentType.py +17 -0
- spire/xls/enums/PrintErrorsType.py +18 -0
- spire/xls/enums/ReadingOrderType.py +17 -0
- spire/xls/enums/RectangleStyleType.py +16 -0
- spire/xls/enums/ResizeBehaveType.py +17 -0
- spire/xls/enums/ShapeArrowLengthType.py +17 -0
- spire/xls/enums/ShapeArrowStyleType.py +20 -0
- spire/xls/enums/ShapeArrowWidthType.py +17 -0
- spire/xls/enums/ShapeDashLineStyleType.py +22 -0
- spire/xls/enums/ShapeFillType.py +21 -0
- spire/xls/enums/ShapeLayerChangeType.py +18 -0
- spire/xls/enums/ShapeLineStyleType.py +19 -0
- spire/xls/enums/SheetProtectionType.py +32 -0
- spire/xls/enums/SortComparsionType.py +18 -0
- spire/xls/enums/SortOrientationType.py +16 -0
- spire/xls/enums/SortedWayType.py +17 -0
- spire/xls/enums/SparklineType.py +17 -0
- spire/xls/enums/SplitType.py +18 -0
- spire/xls/enums/TextDirection.py +19 -0
- spire/xls/enums/TextRotationType.py +18 -0
- spire/xls/enums/ThemeColorType.py +26 -0
- spire/xls/enums/TickLabelPositionType.py +18 -0
- spire/xls/enums/TickMarkType.py +18 -0
- spire/xls/enums/TopBottomType.py +18 -0
- spire/xls/enums/TopFormatType.py +17 -0
- spire/xls/enums/TrendLineType.py +20 -0
- spire/xls/enums/UnknownVariableAction.py +17 -0
- spire/xls/enums/ValidationComparisonOperator.py +22 -0
- spire/xls/enums/VariableTypeAction.py +17 -0
- spire/xls/enums/VerticalAlignType.py +19 -0
- spire/xls/enums/ViewMode.py +17 -0
- spire/xls/enums/WorksheetVisibility.py +17 -0
- spire/xls/enums/XLSXBorderJoinType.py +18 -0
- spire/xls/enums/XLSXChartMaterialType.py +31 -0
- spire/xls/enums/XLSXChartPrespectiveType.py +20 -0
- spire/xls/enums/XLSXChartShadowInnerType.py +24 -0
- spire/xls/enums/XLSXChartShadowOuterType.py +24 -0
- spire/xls/enums/__init__.py +1 -0
- spire/xls/interfaces/IArcShape.py +285 -0
- spire/xls/interfaces/IChart.py +1597 -0
- spire/xls/interfaces/IChartAxis.py +786 -0
- spire/xls/interfaces/IChartBorder.py +203 -0
- spire/xls/interfaces/IChartCategoryAxis.py +522 -0
- spire/xls/interfaces/IChartDataLabels.py +419 -0
- spire/xls/interfaces/IChartDataPoint.py +114 -0
- spire/xls/interfaces/IChartDataTable.py +184 -0
- spire/xls/interfaces/IChartErrorBars.py +340 -0
- spire/xls/interfaces/IChartFillBorder.py +268 -0
- spire/xls/interfaces/IChartFormat.py +521 -0
- spire/xls/interfaces/IChartFrameFormat.py +85 -0
- spire/xls/interfaces/IChartGridLine.py +100 -0
- spire/xls/interfaces/IChartInterior.py +259 -0
- spire/xls/interfaces/IChartLegend.py +453 -0
- spire/xls/interfaces/IChartLegendEntry.py +167 -0
- spire/xls/interfaces/IChartPageSetup.py +51 -0
- spire/xls/interfaces/IChartSerie.py +727 -0
- spire/xls/interfaces/IChartSerieDataFormat.py +519 -0
- spire/xls/interfaces/IChartSeriesAxis.py +118 -0
- spire/xls/interfaces/IChartShape.py +88 -0
- spire/xls/interfaces/IChartTextArea.py +181 -0
- spire/xls/interfaces/IChartTrendLine.py +502 -0
- spire/xls/interfaces/IChartValueAxis.py +586 -0
- spire/xls/interfaces/IChartWallOrFloor.py +40 -0
- spire/xls/interfaces/ICheckBox.py +120 -0
- spire/xls/interfaces/ICloneParent.py +29 -0
- spire/xls/interfaces/IColorConditionValue.py +44 -0
- spire/xls/interfaces/IColorScale.py +39 -0
- spire/xls/interfaces/ICombinedRange.py +109 -0
- spire/xls/interfaces/IComboBoxShape.py +120 -0
- spire/xls/interfaces/IComment.py +110 -0
- spire/xls/interfaces/ICommentShape.py +20 -0
- spire/xls/interfaces/IConditionValue.py +83 -0
- spire/xls/interfaces/IConditionalFormat.py +757 -0
- spire/xls/interfaces/IConditionalFormats.py +66 -0
- spire/xls/interfaces/ICustomDocumentProperties.py +168 -0
- spire/xls/interfaces/IDataBar.py +127 -0
- spire/xls/interfaces/IDataValidation.py +506 -0
- spire/xls/interfaces/IDataValidationTable.py +84 -0
- spire/xls/interfaces/IDigitalSignature.py +111 -0
- spire/xls/interfaces/IDigitalSignatures.py +33 -0
- spire/xls/interfaces/IDocumentProperty.py +276 -0
- spire/xls/interfaces/IErrorIndicator.py +38 -0
- spire/xls/interfaces/IExtendIndex.py +26 -0
- spire/xls/interfaces/IExtendedFormat.py +631 -0
- spire/xls/interfaces/IFont.py +313 -0
- spire/xls/interfaces/IFormat3D.py +307 -0
- spire/xls/interfaces/IGeomPath.py +27 -0
- spire/xls/interfaces/IGeomPathInfo.py +141 -0
- spire/xls/interfaces/IGeomPathShape.py +40 -0
- spire/xls/interfaces/IGlow.py +104 -0
- spire/xls/interfaces/IGradient.py +203 -0
- spire/xls/interfaces/IGroupBox.py +82 -0
- spire/xls/interfaces/IHPageBreak.py +26 -0
- spire/xls/interfaces/IHyperLink.py +137 -0
- spire/xls/interfaces/IIconSet.py +115 -0
- spire/xls/interfaces/IInterior.py +137 -0
- spire/xls/interfaces/IInternalAddtionalFormat.py +277 -0
- spire/xls/interfaces/IInternalFont.py +38 -0
- spire/xls/interfaces/ILabelShape.py +60 -0
- spire/xls/interfaces/ILineShape.py +334 -0
- spire/xls/interfaces/IListObject.py +443 -0
- spire/xls/interfaces/IListObjectColumn.py +196 -0
- spire/xls/interfaces/IMarkersDesigner.py +133 -0
- spire/xls/interfaces/IMigrantRange.py +28 -0
- spire/xls/interfaces/INamedObject.py +27 -0
- spire/xls/interfaces/INamedRange.py +246 -0
- spire/xls/interfaces/INumberFormat.py +90 -0
- spire/xls/interfaces/IOleObject.py +225 -0
- spire/xls/interfaces/IOptimizedUpdate.py +35 -0
- spire/xls/interfaces/IOvalShape.py +201 -0
- spire/xls/interfaces/IPageSetup.py +260 -0
- spire/xls/interfaces/IPageSetupBase.py +849 -0
- spire/xls/interfaces/IPictureShape.py +118 -0
- spire/xls/interfaces/IPropertyData.py +100 -0
- spire/xls/interfaces/IPrstGeomShape.py +103 -0
- spire/xls/interfaces/IRadioButton.py +159 -0
- spire/xls/interfaces/IRectangleShape.py +90 -0
- spire/xls/interfaces/IReflectionEffect.py +217 -0
- spire/xls/interfaces/IScrollBarShape.py +139 -0
- spire/xls/interfaces/IShadow.py +385 -0
- spire/xls/interfaces/IShape.py +620 -0
- spire/xls/interfaces/IShapeFill.py +767 -0
- spire/xls/interfaces/IShapeLineFormat.py +488 -0
- spire/xls/interfaces/ISortColumn.py +138 -0
- spire/xls/interfaces/ISortColumns.py +106 -0
- spire/xls/interfaces/ISortedRule.py +154 -0
- spire/xls/interfaces/ISpinnerShape.py +124 -0
- spire/xls/interfaces/IStyle.py +60 -0
- spire/xls/interfaces/ITabSheet.py +364 -0
- spire/xls/interfaces/ITextBox.py +140 -0
- spire/xls/interfaces/ITextBoxLinkShape.py +48 -0
- spire/xls/interfaces/ITextBoxShape.py +27 -0
- spire/xls/interfaces/ITextFrame.py +146 -0
- spire/xls/interfaces/IVPageBreak.py +26 -0
- spire/xls/interfaces/IWorkbook.py +1736 -0
- spire/xls/interfaces/IWorksheet.py +2638 -0
- spire/xls/interfaces/IXLSRange.py +2241 -0
- spire/xls/interfaces/IXLSRanges.py +40 -0
- spire/xls/interfaces/IconSet.py +125 -0
- spire/xls/interfaces/ImageLocationTypes.py +17 -0
- spire/xls/interfaces/ImportObjectOptions.py +143 -0
- spire/xls/interfaces/InsertMoveOption.py +17 -0
- spire/xls/interfaces/InteriorArrayWrapper.py +181 -0
- spire/xls/interfaces/__init__.py +0 -0
- spire/xls/interfaces/collections/IDataValidationCollection.py +128 -0
- spire/xls/interfaces/collections/IHPageBreaks.py +37 -0
- spire/xls/interfaces/collections/IListObjects.py +34 -0
- spire/xls/interfaces/collections/IOleObjects.py +44 -0
- spire/xls/interfaces/collections/IPrstGeomShapes.py +87 -0
- spire/xls/interfaces/collections/IShapes.py +273 -0
- spire/xls/interfaces/collections/ITextBoxes.py +67 -0
- spire/xls/interfaces/collections/IVPageBreaks.py +37 -0
- spire/xls/interfaces/collections/__init__.py +0 -0
- spire/xls/interfaces/pivot_table/IPivotCache.py +50 -0
- spire/xls/interfaces/pivot_table/IPivotCaches.py +52 -0
- spire/xls/interfaces/pivot_table/IPivotCalculatedFields.py +69 -0
- spire/xls/interfaces/pivot_table/IPivotField.py +372 -0
- spire/xls/interfaces/pivot_table/IPivotTable.py +509 -0
- spire/xls/interfaces/pivot_table/IPivotTableOptions.py +507 -0
- spire/xls/interfaces/pivot_table/__init__.py +0 -0
- spire/xls/interfaces/sorting/__init__.py +0 -0
- spire/xls/lib/Spire.Xls.Base.dll +0 -0
- spire/xls/lib/_init_.py +0 -0
- spire/xls/license/LicenseProvider.py +107 -0
- spire/xls/license/__init__.py +0 -0
- spire/xls/pivot_tables/AutoSortScope.py +29 -0
- spire/xls/pivot_tables/PivotConditionalFormat.py +71 -0
- spire/xls/pivot_tables/PivotDataField.py +163 -0
- spire/xls/pivot_tables/PivotItem.py +228 -0
- spire/xls/pivot_tables/PivotReportFilter.py +199 -0
- spire/xls/pivot_tables/PivotReportFilters.py +95 -0
- spire/xls/pivot_tables/PivotStyle.py +105 -0
- spire/xls/pivot_tables/PivotTableStyle.py +83 -0
- spire/xls/pivot_tables/XlsPivotCache.py +506 -0
- spire/xls/pivot_tables/XlsPivotCacheField.py +276 -0
- spire/xls/pivot_tables/XlsPivotField.py +975 -0
- spire/xls/pivot_tables/XlsPivotTable.py +1189 -0
- spire/xls/pivot_tables/__init__.py +0 -0
- spire/xls/security/__init__.py +0 -0
- spire/xls/sorting/DataSorter.py +152 -0
- spire/xls/sorting/SortColumn.py +115 -0
- spire/xls/sorting/SortColumns.py +194 -0
- spire/xls/sorting/__init__.py +0 -0
- spire/xls/sparkline/ISparklines.py +72 -0
- spire/xls/sparkline/Sparkline.py +89 -0
- spire/xls/sparkline/SparklineCollection.py +107 -0
- spire/xls/sparkline/SparklineGroup.py +592 -0
- spire/xls/sparkline/SparklineGroupCollection.py +67 -0
- spire/xls/sparkline/__init__.py +0 -0
- spire/xls/template_markers/MarkerDesigner.py +171 -0
- spire/xls/template_markers/__init__.py +0 -0
- spire_xls-15.11.1.dist-info/METADATA +197 -0
- spire_xls-15.11.1.dist-info/RECORD +721 -0
- spire/xls/AddInFunctionsCollection.py +0 -29
- spire/xls/AlertStyleType.py +0 -18
- spire/xls/ArcShapeCollection.py +0 -70
- spire/xls/AutoFiltersCollection.py +0 -527
- spire/xls/AutoFitterOptions.py +0 -66
- spire/xls/AutoFormatOptions.py +0 -23
- spire/xls/AutoFormatType.py +0 -32
- spire/xls/AutoSortScope.py +0 -25
- spire/xls/AverageType.py +0 -25
- spire/xls/AxisLineIdentifierType.py +0 -19
- spire/xls/AxisTextDirectionType.py +0 -18
- spire/xls/AxisType.py +0 -18
- spire/xls/BaseFormatType.py +0 -17
- spire/xls/BordersCollection.py +0 -158
- spire/xls/BordersCollectionArrayWrapper.py +0 -95
- spire/xls/BordersLineType.py +0 -23
- spire/xls/BubbleSizeType.py +0 -17
- spire/xls/BuiltInDocumentProperties.py +0 -12
- spire/xls/BuiltInPropertyType.py +0 -50
- spire/xls/BuiltInStyles.py +0 -66
- spire/xls/ButtonShapeCollection.py +0 -70
- spire/xls/CategoryType.py +0 -18
- spire/xls/CellDataType.py +0 -23
- spire/xls/CellFormatType.py +0 -21
- spire/xls/Chart.py +0 -404
- spire/xls/ChartArea.py +0 -61
- spire/xls/ChartBackgroundMode.py +0 -18
- spire/xls/ChartBaseUnitType.py +0 -18
- spire/xls/ChartCategoryAxis.py +0 -93
- spire/xls/ChartDataLabels.py +0 -42
- spire/xls/ChartDataPoint.py +0 -42
- spire/xls/ChartDataPointsCollection.py +0 -75
- spire/xls/ChartDisplayUnitType.py +0 -26
- spire/xls/ChartFormat.py +0 -72
- spire/xls/ChartFormatCollection.py +0 -59
- spire/xls/ChartGridLine.py +0 -27
- spire/xls/ChartLegend.py +0 -42
- spire/xls/ChartLegendEntriesColl.py +0 -128
- spire/xls/ChartLegendEntry.py +0 -27
- spire/xls/ChartLinePatternType.py +0 -24
- spire/xls/ChartLineWeightType.py +0 -19
- spire/xls/ChartMarkerType.py +0 -27
- spire/xls/ChartParagraphType.py +0 -18
- spire/xls/ChartPieType.py +0 -18
- spire/xls/ChartPlotArea.py +0 -53
- spire/xls/ChartPlotEmptyType.py +0 -18
- spire/xls/ChartSerie.py +0 -142
- spire/xls/ChartSerieDataFormat.py +0 -56
- spire/xls/ChartSeries.py +0 -154
- spire/xls/ChartSeriesAxis.py +0 -72
- spire/xls/ChartShadow.py +0 -235
- spire/xls/ChartSheet.py +0 -285
- spire/xls/ChartTextArea.py +0 -782
- spire/xls/ChartValueAxis.py +0 -92
- spire/xls/ChartsCollection.py +0 -113
- spire/xls/CheckState.py +0 -18
- spire/xls/CollectionBase.py +0 -184
- spire/xls/CollectionExtended.py +0 -92
- spire/xls/ColorConditionValue.py +0 -91
- spire/xls/ColorFilter.py +0 -45
- spire/xls/ColorType.py +0 -18
- spire/xls/ComboBoxCollection.py +0 -70
- spire/xls/CommentHAlignType.py +0 -21
- spire/xls/CommentVAlignType.py +0 -20
- spire/xls/CommentsCollection.py +0 -109
- spire/xls/ComparisonOperatorType.py +0 -24
- spire/xls/CondFormatCollectionWrapper.py +0 -125
- spire/xls/ConditionValue.py +0 -82
- spire/xls/ConditionValuePosition.py +0 -16
- spire/xls/ConditionalFormat.py +0 -14
- spire/xls/ConditionalFormatScope.py +0 -16
- spire/xls/ConditionalFormatType.py +0 -33
- spire/xls/ConditionalFormatWrapper.py +0 -986
- spire/xls/ConditionalFormats.py +0 -55
- spire/xls/CustomFilter.py +0 -147
- spire/xls/CustomFilterCollection.py +0 -113
- spire/xls/DataBarBorder.py +0 -47
- spire/xls/DataConnections.py +0 -25
- spire/xls/DataLabelPositionType.py +0 -26
- spire/xls/DataSorter.py +0 -154
- spire/xls/DataSourceType.py +0 -19
- spire/xls/DateTimeGroupItem.py +0 -132
- spire/xls/DropLineStyleType.py +0 -18
- spire/xls/DynamicFilter.py +0 -71
- spire/xls/ErrorBarIncludeType.py +0 -19
- spire/xls/ErrorBarType.py +0 -20
- spire/xls/ExcelCalculationMode.py +0 -18
- spire/xls/ExcelChartType.py +0 -96
- spire/xls/ExcelColors.py +0 -121
- spire/xls/ExcelComboType.py +0 -22
- spire/xls/ExcelHorizontalAlignment.py +0 -21
- spire/xls/ExcelPatternType.py +0 -52
- spire/xls/ExcelQuartileCalculation.py +0 -17
- spire/xls/ExcelShapeType.py +0 -41
- spire/xls/ExcelSheetType.py +0 -20
- spire/xls/ExcelTreeMapLabelOption.py +0 -18
- spire/xls/ExcelVersion.py +0 -24
- spire/xls/ExcelVerticalAlignment.py +0 -21
- spire/xls/ExpandCollapseFlags.py +0 -18
- spire/xls/ExternalLinkCollection.py +0 -25
- spire/xls/FilterColumn.py +0 -258
- spire/xls/FilterConditionType.py +0 -21
- spire/xls/FilterDataType.py +0 -22
- spire/xls/FontUnderlineType.py +0 -20
- spire/xls/FontVertialAlignmentType.py +0 -20
- spire/xls/GradientColorType.py +0 -18
- spire/xls/GradientPatternType.py +0 -64
- spire/xls/GradientPresetType.py +0 -39
- spire/xls/GradientStyleType.py +0 -21
- spire/xls/GradientTextureType.py +0 -40
- spire/xls/GradientVariantsType.py +0 -19
- spire/xls/GroupBoxCollection.py +0 -70
- spire/xls/GroupShapeCollection.py +0 -46
- spire/xls/HPageBreaksCollection.py +0 -108
- spire/xls/HistogramAxisFormat.py +0 -30
- spire/xls/HorizontalAlignType.py +0 -23
- spire/xls/HyperLinkType.py +0 -20
- spire/xls/HyperLinksCollection.py +0 -72
- spire/xls/IArcShape.py +0 -259
- spire/xls/IChart.py +0 -1368
- spire/xls/IChartAxis.py +0 -722
- spire/xls/IChartBorder.py +0 -220
- spire/xls/IChartCategoryAxis.py +0 -410
- spire/xls/IChartDataLabels.py +0 -457
- spire/xls/IChartDataPoint.py +0 -131
- spire/xls/IChartDataTable.py +0 -197
- spire/xls/IChartErrorBars.py +0 -373
- spire/xls/IChartFillBorder.py +0 -303
- spire/xls/IChartFormat.py +0 -571
- spire/xls/IChartFrameFormat.py +0 -93
- spire/xls/IChartGridLine.py +0 -107
- spire/xls/IChartInterior.py +0 -278
- spire/xls/IChartLegend.py +0 -499
- spire/xls/IChartLegendEntry.py +0 -178
- spire/xls/IChartPageSetup.py +0 -56
- spire/xls/IChartSerie.py +0 -779
- spire/xls/IChartSerieDataFormat.py +0 -566
- spire/xls/IChartSeriesAxis.py +0 -128
- spire/xls/IChartShape.py +0 -92
- spire/xls/IChartTextArea.py +0 -197
- spire/xls/IChartTrendLine.py +0 -548
- spire/xls/IChartValueAxis.py +0 -518
- spire/xls/IChartWallOrFloor.py +0 -32
- spire/xls/ICheckBox.py +0 -96
- spire/xls/ICloneParent.py +0 -28
- spire/xls/IColorConditionValue.py +0 -31
- spire/xls/IColorScale.py +0 -32
- spire/xls/ICombinedRange.py +0 -87
- spire/xls/IComboBoxShape.py +0 -95
- spire/xls/IComment.py +0 -85
- spire/xls/ICommentShape.py +0 -12
- spire/xls/IConditionValue.py +0 -68
- spire/xls/IConditionalFormat.py +0 -606
- spire/xls/IConditionalFormats.py +0 -48
- spire/xls/ICustomDocumentProperties.py +0 -128
- spire/xls/IDataBar.py +0 -105
- spire/xls/IDataValidation.py +0 -421
- spire/xls/IDataValidationCollection.py +0 -132
- spire/xls/IDataValidationTable.py +0 -68
- spire/xls/IDigitalSignature.py +0 -99
- spire/xls/IDigitalSignatures.py +0 -29
- spire/xls/IDocumentProperty.py +0 -226
- spire/xls/IErrorIndicator.py +0 -31
- spire/xls/IExtendIndex.py +0 -21
- spire/xls/IExtendedFormat.py +0 -530
- spire/xls/IFont.py +0 -271
- spire/xls/IFormat3D.py +0 -252
- spire/xls/IGeomPath.py +0 -23
- spire/xls/IGeomPathInfo.py +0 -112
- spire/xls/IGeomPathShape.py +0 -30
- spire/xls/IGlow.py +0 -85
- spire/xls/IGradient.py +0 -174
- spire/xls/IGroupBox.py +0 -67
- spire/xls/IHPageBreak.py +0 -22
- spire/xls/IHPageBreaks.py +0 -31
- spire/xls/IHyperLink.py +0 -118
- spire/xls/IIconSet.py +0 -96
- spire/xls/IInterior.py +0 -117
- spire/xls/IInternalAddtionalFormat.py +0 -238
- spire/xls/IInternalFont.py +0 -31
- spire/xls/ILabelShape.py +0 -49
- spire/xls/ILineShape.py +0 -305
- spire/xls/IListObject.py +0 -493
- spire/xls/IListObjectColumn.py +0 -222
- spire/xls/IListObjects.py +0 -31
- spire/xls/IMarkersDesigner.py +0 -113
- spire/xls/IMigrantRange.py +0 -21
- spire/xls/INamedObject.py +0 -22
- spire/xls/INamedRange.py +0 -162
- spire/xls/INumberFormat.py +0 -77
- spire/xls/IOleObject.py +0 -176
- spire/xls/IOleObjects.py +0 -32
- spire/xls/IOptimizedUpdate.py +0 -28
- spire/xls/IOvalShape.py +0 -154
- spire/xls/IPageSetup.py +0 -195
- spire/xls/IPageSetupBase.py +0 -642
- spire/xls/IPictureShape.py +0 -99
- spire/xls/IPivotCache.py +0 -41
- spire/xls/IPivotCaches.py +0 -39
- spire/xls/IPivotCalculatedFields.py +0 -50
- spire/xls/IPivotField.py +0 -291
- spire/xls/IPivotTable.py +0 -393
- spire/xls/IPivotTableOptions.py +0 -428
- spire/xls/IPropertyData.py +0 -70
- spire/xls/IPrstGeomShape.py +0 -71
- spire/xls/IPrstGeomShapes.py +0 -81
- spire/xls/IRadioButton.py +0 -105
- spire/xls/IRectangleShape.py +0 -60
- spire/xls/IReflectionEffect.py +0 -138
- spire/xls/IScrollBarShape.py +0 -140
- spire/xls/IShadow.py +0 -244
- spire/xls/IShape.py +0 -409
- spire/xls/IShapeFill.py +0 -522
- spire/xls/IShapeLineFormat.py +0 -331
- spire/xls/IShapes.py +0 -270
- spire/xls/ISortColumn.py +0 -96
- spire/xls/ISortColumns.py +0 -70
- spire/xls/ISortedRule.py +0 -112
- spire/xls/ISparklines.py +0 -72
- spire/xls/ISpinnerShape.py +0 -102
- spire/xls/IStyle.py +0 -50
- spire/xls/ITabSheet.py +0 -302
- spire/xls/ITextBox.py +0 -116
- spire/xls/ITextBoxLinkShape.py +0 -40
- spire/xls/ITextBoxShape.py +0 -22
- spire/xls/ITextBoxes.py +0 -61
- spire/xls/ITextFrame.py +0 -120
- spire/xls/IVPageBreak.py +0 -22
- spire/xls/IVPageBreaks.py +0 -31
- spire/xls/IWorkbook.py +0 -1806
- spire/xls/IWorksheet.py +0 -2694
- spire/xls/IXLSRange.py +0 -2479
- spire/xls/IXLSRanges.py +0 -35
- spire/xls/IconSet.py +0 -103
- spire/xls/IgnoreErrorType.py +0 -24
- spire/xls/ImageFormatType.py +0 -18
- spire/xls/ImageLocationTypes.py +0 -15
- spire/xls/ImageType.py +0 -17
- spire/xls/ImportObjectOptions.py +0 -89
- spire/xls/InsertMoveOption.py +0 -15
- spire/xls/InteriorArrayWrapper.py +0 -126
- spire/xls/LegendPositionType.py +0 -21
- spire/xls/LegendSpacingType.py +0 -18
- spire/xls/LineStyleType.py +0 -29
- spire/xls/ListObjectCollection.py +0 -45
- spire/xls/MarkerDesigner.py +0 -172
- spire/xls/MultipleFilterCollection.py +0 -166
- spire/xls/NegativeBarFormat.py +0 -82
- spire/xls/OleObjectType.py +0 -51
- spire/xls/OrderBy.py +0 -19
- spire/xls/OrderType.py +0 -17
- spire/xls/OvalShapeCollection.py +0 -70
- spire/xls/PageBreakExtentType.py +0 -17
- spire/xls/PageBreakType.py +0 -18
- spire/xls/PageOrientationType.py +0 -17
- spire/xls/PagesOrderType.py +0 -17
- spire/xls/PaperSizeType.py +0 -135
- spire/xls/PicturesCollection.py +0 -532
- spire/xls/PivotConditionalFormat.py +0 -54
- spire/xls/PivotConditionalFormatCollection.py +0 -38
- spire/xls/PivotDataField.py +0 -118
- spire/xls/PivotGroupByTypes.py +0 -23
- spire/xls/PivotItem.py +0 -161
- spire/xls/PivotReportFilter.py +0 -92
- spire/xls/PivotReportFilters.py +0 -63
- spire/xls/PivotStyle.py +0 -79
- spire/xls/PivotTableFields.py +0 -85
- spire/xls/PivotTableStyle.py +0 -63
- spire/xls/PrintCommentType.py +0 -18
- spire/xls/PrintErrorsType.py +0 -19
- spire/xls/PrstGeomShapeCollection.py +0 -126
- spire/xls/QueryTableCollection.py +0 -25
- spire/xls/RadioButtonCollection.py +0 -137
- spire/xls/RangesCollection.py +0 -537
- spire/xls/ReadingOrderType.py +0 -18
- spire/xls/RectangleStyleType.py +0 -17
- spire/xls/ResizeBehaveType.py +0 -18
- spire/xls/ShapeArrowLengthType.py +0 -18
- spire/xls/ShapeArrowStyleType.py +0 -21
- spire/xls/ShapeArrowWidthType.py +0 -18
- spire/xls/ShapeCollectionBase.py +0 -87
- spire/xls/ShapeDashLineStyleType.py +0 -23
- spire/xls/ShapeFillType.py +0 -22
- spire/xls/ShapeLayerChangeType.py +0 -19
- spire/xls/ShapeLineStyleType.py +0 -20
- spire/xls/SheetProtectionType.py +0 -33
- spire/xls/SortColumn.py +0 -120
- spire/xls/SortColumns.py +0 -185
- spire/xls/SortComparsionType.py +0 -19
- spire/xls/SortOrientationType.py +0 -17
- spire/xls/SortedWayType.py +0 -18
- spire/xls/Sparkline.py +0 -70
- spire/xls/SparklineCollection.py +0 -112
- spire/xls/SparklineGroup.py +0 -523
- spire/xls/SparklineGroupCollection.py +0 -71
- spire/xls/SparklineType.py +0 -18
- spire/xls/SplitType.py +0 -19
- spire/xls/StylesCollection.py +0 -141
- spire/xls/TextDirection.py +0 -20
- spire/xls/TextRotationType.py +0 -19
- spire/xls/ThemeColorType.py +0 -27
- spire/xls/TickLabelPositionType.py +0 -19
- spire/xls/TickMarkType.py +0 -19
- spire/xls/Top10Filter.py +0 -75
- spire/xls/TopBottomType.py +0 -19
- spire/xls/TopFormatType.py +0 -18
- spire/xls/TrendLineType.py +0 -21
- spire/xls/UnknownVariableAction.py +0 -18
- spire/xls/VPageBreaksCollection.py +0 -96
- spire/xls/ValidationComparisonOperator.py +0 -23
- spire/xls/VariableTypeAction.py +0 -19
- spire/xls/VerticalAlignType.py +0 -20
- spire/xls/ViewMode.py +0 -18
- spire/xls/WorksheetVisibility.py +0 -18
- spire/xls/WorksheetsCollection.py +0 -341
- spire/xls/XLSXBorderJoinType.py +0 -19
- spire/xls/XLSXChartMaterialType.py +0 -32
- spire/xls/XLSXChartPrespectiveType.py +0 -21
- spire/xls/XLSXChartShadowInnerType.py +0 -25
- spire/xls/XLSXChartShadowOuterType.py +0 -25
- spire/xls/XlsAddInFunctionsCollection.py +0 -101
- spire/xls/XlsAutoFiltersCollection.py +0 -119
- spire/xls/XlsBordersCollection.py +0 -101
- spire/xls/XlsBuiltInDocumentProperties.py +0 -639
- spire/xls/XlsChart.py +0 -1510
- spire/xls/XlsChartAxis.py +0 -564
- spire/xls/XlsChartBorder.py +0 -165
- spire/xls/XlsChartCategoryAxis.py +0 -656
- spire/xls/XlsChartDataLabelArea.py +0 -387
- spire/xls/XlsChartDataLabels.py +0 -811
- spire/xls/XlsChartDataPoint.py +0 -108
- spire/xls/XlsChartDataPointsCollection.py +0 -120
- spire/xls/XlsChartDataTable.py +0 -393
- spire/xls/XlsChartDropBar.py +0 -301
- spire/xls/XlsChartFill.py +0 -571
- spire/xls/XlsChartFormat.py +0 -1069
- spire/xls/XlsChartFormatCollection.py +0 -162
- spire/xls/XlsChartFrameFormat.py +0 -614
- spire/xls/XlsChartGridLine.py +0 -171
- spire/xls/XlsChartInterior.py +0 -240
- spire/xls/XlsChartLegend.py +0 -355
- spire/xls/XlsChartLegendArea.py +0 -419
- spire/xls/XlsChartLegendEntry.py +0 -156
- spire/xls/XlsChartSerie.py +0 -589
- spire/xls/XlsChartSerieDataFormat.py +0 -1008
- spire/xls/XlsChartSeriesAxis.py +0 -212
- spire/xls/XlsChartShape.py +0 -1142
- spire/xls/XlsChartTitleArea.py +0 -392
- spire/xls/XlsChartValueAxis.py +0 -317
- spire/xls/XlsChartWallOrFloor.py +0 -319
- spire/xls/XlsChartsCollection.py +0 -89
- spire/xls/XlsCommentsCollection.py +0 -87
- spire/xls/XlsConditionValue.py +0 -111
- spire/xls/XlsConditionalFormat.py +0 -1119
- spire/xls/XlsConditionalFormats.py +0 -590
- spire/xls/XlsDataValidationCollection.py +0 -159
- spire/xls/XlsFontsCollection.py +0 -51
- spire/xls/XlsHPageBreaksCollection.py +0 -85
- spire/xls/XlsHyperLinksCollection.py +0 -102
- spire/xls/XlsPivotCache.py +0 -401
- spire/xls/XlsPivotCacheField.py +0 -209
- spire/xls/XlsPivotCachesCollection.py +0 -124
- spire/xls/XlsPivotField.py +0 -885
- spire/xls/XlsPivotTable.py +0 -905
- spire/xls/XlsPivotTablesCollection.py +0 -131
- spire/xls/XlsRangesCollection.py +0 -1566
- spire/xls/XlsStylesCollection.py +0 -73
- spire/xls/XlsVPageBreaksCollection.py +0 -84
- spire/xls/XlsWorkbookObjectsCollection.py +0 -94
- spire/xls/XlsWorksheetsCollection.py +0 -416
- spire_xls-15.5.0.dist-info/METADATA +0 -197
- spire_xls-15.5.0.dist-info/RECORD +0 -703
- /spire/xls/{lib → autofilter}/__init__.py +0 -0
- /spire/xls/{ChartBorder.py → charts/ChartBorder.py} +0 -0
- /spire/xls/{ChartDataTable.py → charts/ChartDataTable.py} +0 -0
- /spire/xls/{ChartDropBar.py → charts/ChartDropBar.py} +0 -0
- /spire/xls/{ChartInterior.py → charts/ChartInterior.py} +0 -0
- /spire/xls/{ChartPageSetup.py → charts/ChartPageSetup.py} +0 -0
- /spire/xls/{ChartTitle.py → charts/ChartTitle.py} +0 -0
- /spire/xls/{ChartWallOrFloor.py → charts/ChartWallOrFloor.py} +0 -0
- /spire/xls/{XlsChartPageSetup.py → charts/XlsChartPageSetup.py} +0 -0
- /spire/xls/{XlsChartPlotArea.py → charts/XlsChartPlotArea.py} +0 -0
- /spire/xls/{CheckBoxCollection.py → collection/CheckBoxCollection.py} +0 -0
- /spire/xls/{CollectionChangeEventArgs.py → collection/CollectionChangeEventArgs.py} +0 -0
- /spire/xls/{FontsCollection.py → collection/FontsCollection.py} +0 -0
- /spire/xls/{GeomertyAdjustValuesCollection.py → collection/GeomertyAdjustValuesCollection.py} +0 -0
- /spire/xls/{LabelShapeCollection.py → collection/LabelShapeCollection.py} +0 -0
- /spire/xls/{LineCollection.py → collection/LineCollection.py} +0 -0
- /spire/xls/{ListBoxCollection.py → collection/ListBoxCollection.py} +0 -0
- /spire/xls/{RectangleCollection.py → collection/RectangleCollection.py} +0 -0
- /spire/xls/{ScrollBarCollection.py → collection/ScrollBarCollection.py} +0 -0
- /spire/xls/{SpinnerShapeCollection.py → collection/SpinnerShapeCollection.py} +0 -0
- /spire/xls/{TextBoxCollection.py → collection/TextBoxCollection.py} +0 -0
- /spire/xls/{WorkbookObjectsCollection.py → collection/WorkbookObjectsCollection.py} +0 -0
- /spire/xls/{WorksheetChartsCollection.py → collection/WorksheetChartsCollection.py} +0 -0
- /spire/xls/{WorksheetConditionalFormats.py → collection/WorksheetConditionalFormats.py} +0 -0
- /spire/xls/{XlsChartSeries.py → collection/XlsChartSeries.py} +0 -0
- /spire/xls/{XlsHeaderFooterShapeCollection.py → collection/XlsHeaderFooterShapeCollection.py} +0 -0
- /spire/xls/{XlsPicturesCollection.py → collection/XlsPicturesCollection.py} +0 -0
- /spire/xls/{XlsWorksheetChartsCollection.py → collection/XlsWorksheetChartsCollection.py} +0 -0
- /spire/xls/{XlsWorksheetConditionalFormats.py → collection/XlsWorksheetConditionalFormats.py} +0 -0
- /spire/xls/{PivotCachesCollection.py → collection/pivot_table/PivotCachesCollection.py} +0 -0
- /spire/xls/{PivotCalculatedFieldsCollection.py → collection/pivot_table/PivotCalculatedFieldsCollection.py} +0 -0
- /spire/xls/{PivotDataFields.py → collection/pivot_table/PivotDataFields.py} +0 -0
- /spire/xls/{PivotTablesCollection.py → collection/pivot_table/PivotTablesCollection.py} +0 -0
- /spire/xls/{AxisTypes.py → enums/AxisTypes.py} +0 -0
- /spire/xls/{CompoundLineType.py → enums/CompoundLineType.py} +0 -0
- /spire/xls/{ConditionValueType.py → enums/ConditionValueType.py} +0 -0
- /spire/xls/{ConditionalTopNType.py → enums/ConditionalTopNType.py} +0 -0
- /spire/xls/{ConnectionDataSourceType.py → enums/ConnectionDataSourceType.py} +0 -0
- /spire/xls/{CopyRangeOptions.py → enums/CopyRangeOptions.py} +0 -0
- /spire/xls/{DataBarAxisPosition.py → enums/DataBarAxisPosition.py} +0 -0
- /spire/xls/{DataBarBorderType.py → enums/DataBarBorderType.py} +0 -0
- /spire/xls/{DataBarFillType.py → enums/DataBarFillType.py} +0 -0
- /spire/xls/{DataBarNegativeColorType.py → enums/DataBarNegativeColorType.py} +0 -0
- /spire/xls/{DataMarkerDirection.py → enums/DataMarkerDirection.py} +0 -0
- /spire/xls/{DateTimeGroupingType.py → enums/DateTimeGroupingType.py} +0 -0
- /spire/xls/{DeleteOption.py → enums/DeleteOption.py} +0 -0
- /spire/xls/{DynamicFilterType.py → enums/DynamicFilterType.py} +0 -0
- /spire/xls/{ExcelClearOptions.py → enums/ExcelClearOptions.py} +0 -0
- /spire/xls/{ExcelFindOptions.py → enums/ExcelFindOptions.py} +0 -0
- /spire/xls/{ExcelSaveType.py → enums/ExcelSaveType.py} +0 -0
- /spire/xls/{ExcelTotalsCalculation.py → enums/ExcelTotalsCalculation.py} +0 -0
- /spire/xls/{FillPictureType.py → enums/FillPictureType.py} +0 -0
- /spire/xls/{FilterOperatorType.py → enums/FilterOperatorType.py} +0 -0
- /spire/xls/{FilterType.py → enums/FilterType.py} +0 -0
- /spire/xls/{FindType.py → enums/FindType.py} +0 -0
- /spire/xls/{GeomertyAdjustValueFormulaType.py → enums/GeomertyAdjustValueFormulaType.py} +0 -0
- /spire/xls/{GroupByType.py → enums/GroupByType.py} +0 -0
- /spire/xls/{HttpContentType.py → enums/HttpContentType.py} +0 -0
- /spire/xls/{IconSetType.py → enums/IconSetType.py} +0 -0
- /spire/xls/{InsertOptionsType.py → enums/InsertOptionsType.py} +0 -0
- /spire/xls/{LineShapeType.py → enums/LineShapeType.py} +0 -0
- /spire/xls/{MeasureUnits.py → enums/MeasureUnits.py} +0 -0
- /spire/xls/{MsoPathType.py → enums/MsoPathType.py} +0 -0
- /spire/xls/{OLEDBCommandType.py → enums/OLEDBCommandType.py} +0 -0
- /spire/xls/{OdsPageBackgroundImagePositionType.py → enums/OdsPageBackgroundImagePositionType.py} +0 -0
- /spire/xls/{OdsPageBackgroundImageType.py → enums/OdsPageBackgroundImageType.py} +0 -0
- /spire/xls/{OdsPageBackgroundType.py → enums/OdsPageBackgroundType.py} +0 -0
- /spire/xls/{OleLinkType.py → enums/OleLinkType.py} +0 -0
- /spire/xls/{PathFillMode.py → enums/PathFillMode.py} +0 -0
- /spire/xls/{PdfConformanceLevel.py → enums/PdfConformanceLevel.py} +0 -0
- /spire/xls/{PivotAutoFomatTypes.py → enums/PivotAutoFomatTypes.py} +0 -0
- /spire/xls/{PivotBuiltInStyles.py → enums/PivotBuiltInStyles.py} +0 -0
- /spire/xls/{PivotDataType.py → enums/PivotDataType.py} +0 -0
- /spire/xls/{PivotFieldFormatType.py → enums/PivotFieldFormatType.py} +0 -0
- /spire/xls/{PivotFieldSortType.py → enums/PivotFieldSortType.py} +0 -0
- /spire/xls/{PivotItemType.py → enums/PivotItemType.py} +0 -0
- /spire/xls/{PivotLabelFilterType.py → enums/PivotLabelFilterType.py} +0 -0
- /spire/xls/{PivotPageAreaFieldsOrderType.py → enums/PivotPageAreaFieldsOrderType.py} +0 -0
- /spire/xls/{PivotTableElement.py → enums/PivotTableElement.py} +0 -0
- /spire/xls/{PivotTableLayoutType.py → enums/PivotTableLayoutType.py} +0 -0
- /spire/xls/{PivotValueFilterType.py → enums/PivotValueFilterType.py} +0 -0
- /spire/xls/{PresetTextEffect.py → enums/PresetTextEffect.py} +0 -0
- /spire/xls/{PrintingPageType.py → enums/PrintingPageType.py} +0 -0
- /spire/xls/{PropertyType.py → enums/PropertyType.py} +0 -0
- /spire/xls/{PrstGeomShapeType.py → enums/PrstGeomShapeType.py} +0 -0
- /spire/xls/{RectangleShapeType.py → enums/RectangleShapeType.py} +0 -0
- /spire/xls/{RelationShip.py → enums/RelationShip.py} +0 -0
- /spire/xls/{RenameStrategy.py → enums/RenameStrategy.py} +0 -0
- /spire/xls/{RtfTags.py → enums/RtfTags.py} +0 -0
- /spire/xls/{SelectionType.py → enums/SelectionType.py} +0 -0
- /spire/xls/{SparklineEmptyCells.py → enums/SparklineEmptyCells.py} +0 -0
- /spire/xls/{SpartlineVerticalAxisType.py → enums/SpartlineVerticalAxisType.py} +0 -0
- /spire/xls/{StrikeThroughStyle.py → enums/StrikeThroughStyle.py} +0 -0
- /spire/xls/{StyleDefineType.py → enums/StyleDefineType.py} +0 -0
- /spire/xls/{SubtotalTypes.py → enums/SubtotalTypes.py} +0 -0
- /spire/xls/{TRangeValueType.py → enums/TRangeValueType.py} +0 -0
- /spire/xls/{TableBuiltInStyles.py → enums/TableBuiltInStyles.py} +0 -0
- /spire/xls/{TextDirectionType.py → enums/TextDirectionType.py} +0 -0
- /spire/xls/{TextVerticalValue.py → enums/TextVerticalValue.py} +0 -0
- /spire/xls/{TimePeriodType.py → enums/TimePeriodType.py} +0 -0
- /spire/xls/{UnderlineStyle.py → enums/UnderlineStyle.py} +0 -0
- /spire/xls/{WorksheetCopyType.py → enums/WorksheetCopyType.py} +0 -0
- /spire/xls/{XLSXChartBevelType.py → enums/XLSXChartBevelType.py} +0 -0
- /spire/xls/{XLSXChartLightingType.py → enums/XLSXChartLightingType.py} +0 -0
- /spire/xls/{XLSXPivotItemType.py → enums/XLSXPivotItemType.py} +0 -0
- /spire/xls/{XmlOpenType.py → enums/XmlOpenType.py} +0 -0
- /spire/xls/{IAddInFunction.py → interfaces/IAddInFunction.py} +0 -0
- /spire/xls/{IAutoFilter.py → interfaces/IAutoFilter.py} +0 -0
- /spire/xls/{IAutoFilterCondition.py → interfaces/IAutoFilterCondition.py} +0 -0
- /spire/xls/{IAutoFilters.py → interfaces/IAutoFilters.py} +0 -0
- /spire/xls/{IBorder.py → interfaces/IBorder.py} +0 -0
- /spire/xls/{IBuiltInDocumentProperties.py → interfaces/IBuiltInDocumentProperties.py} +0 -0
- /spire/xls/{IButtonShape.py → interfaces/IButtonShape.py} +0 -0
- /spire/xls/{IChartDropBar.py → interfaces/IChartDropBar.py} +0 -0
- /spire/xls/{IExcelApplication.py → interfaces/IExcelApplication.py} +0 -0
- /spire/xls/{IInternalWorksheet.py → interfaces/IInternalWorksheet.py} +0 -0
- /spire/xls/{IListBox.py → interfaces/IListBox.py} +0 -0
- /spire/xls/{IRichTextString.py → interfaces/IRichTextString.py} +0 -0
- /spire/xls/{IAddInFunctions.py → interfaces/collections/IAddInFunctions.py} +0 -0
- /spire/xls/{IArcShapes.py → interfaces/collections/IArcShapes.py} +0 -0
- /spire/xls/{IBorders.py → interfaces/collections/IBorders.py} +0 -0
- /spire/xls/{IButtonShapes.py → interfaces/collections/IButtonShapes.py} +0 -0
- /spire/xls/{IChartDataPoints.py → interfaces/collections/IChartDataPoints.py} +0 -0
- /spire/xls/{IChartLegendEntries.py → interfaces/collections/IChartLegendEntries.py} +0 -0
- /spire/xls/{IChartSeries.py → interfaces/collections/IChartSeries.py} +0 -0
- /spire/xls/{IChartShapes.py → interfaces/collections/IChartShapes.py} +0 -0
- /spire/xls/{IChartTrendLines.py → interfaces/collections/IChartTrendLines.py} +0 -0
- /spire/xls/{ICharts.py → interfaces/collections/ICharts.py} +0 -0
- /spire/xls/{ICheckBoxes.py → interfaces/collections/ICheckBoxes.py} +0 -0
- /spire/xls/{IComboBoxes.py → interfaces/collections/IComboBoxes.py} +0 -0
- /spire/xls/{IComments.py → interfaces/collections/IComments.py} +0 -0
- /spire/xls/{IConditionalFormatsCollection.py → interfaces/collections/IConditionalFormatsCollection.py} +0 -0
- /spire/xls/{IGroupBoxes.py → interfaces/collections/IGroupBoxes.py} +0 -0
- /spire/xls/{IHyperLinks.py → interfaces/collections/IHyperLinks.py} +0 -0
- /spire/xls/{ILabelShapes.py → interfaces/collections/ILabelShapes.py} +0 -0
- /spire/xls/{ILines.py → interfaces/collections/ILines.py} +0 -0
- /spire/xls/{IListBoxes.py → interfaces/collections/IListBoxes.py} +0 -0
- /spire/xls/{INameRanges.py → interfaces/collections/INameRanges.py} +0 -0
- /spire/xls/{IOvalShapes.py → interfaces/collections/IOvalShapes.py} +0 -0
- /spire/xls/{IPictures.py → interfaces/collections/IPictures.py} +0 -0
- /spire/xls/{IRadioButtons.py → interfaces/collections/IRadioButtons.py} +0 -0
- /spire/xls/{IRectangleShapes.py → interfaces/collections/IRectangleShapes.py} +0 -0
- /spire/xls/{IScrollBarShapes.py → interfaces/collections/IScrollBarShapes.py} +0 -0
- /spire/xls/{ISpinnerShapes.py → interfaces/collections/ISpinnerShapes.py} +0 -0
- /spire/xls/{IStyles.py → interfaces/collections/IStyles.py} +0 -0
- /spire/xls/{ITabSheets.py → interfaces/collections/ITabSheets.py} +0 -0
- /spire/xls/{IWorksheetGroup.py → interfaces/collections/IWorksheetGroup.py} +0 -0
- /spire/xls/{IWorksheets.py → interfaces/collections/IWorksheets.py} +0 -0
- /spire/xls/{IPivotDataField.py → interfaces/pivot_table/IPivotDataField.py} +0 -0
- /spire/xls/{IPivotDataFields.py → interfaces/pivot_table/IPivotDataFields.py} +0 -0
- /spire/xls/{IPivotFields.py → interfaces/pivot_table/IPivotFields.py} +0 -0
- /spire/xls/{IPivotTables.py → interfaces/pivot_table/IPivotTables.py} +0 -0
- /spire/xls/{IDataSort.py → interfaces/sorting/IDataSort.py} +0 -0
- /spire/xls/{PivotCache.py → pivot_tables/PivotCache.py} +0 -0
- /spire/xls/{PivotField.py → pivot_tables/PivotField.py} +0 -0
- /spire/xls/{PivotTable.py → pivot_tables/PivotTable.py} +0 -0
- /spire/xls/{EncryptedKeyInfo.py → security/EncryptedKeyInfo.py} +0 -0
- /spire/xls/{ISparkline.py → sparkline/ISparkline.py} +0 -0
- /spire/xls/{ISparklineGroup.py → sparkline/ISparklineGroup.py} +0 -0
- {spire_xls-15.5.0.dist-info → spire_xls-15.11.1.dist-info}/WHEEL +0 -0
- {spire_xls-15.5.0.dist-info → spire_xls-15.11.1.dist-info}/top_level.txt +0 -0
spire/xls/ExcelFont.py
CHANGED
|
@@ -7,15 +7,18 @@ from ctypes import *
|
|
|
7
7
|
import abc
|
|
8
8
|
|
|
9
9
|
class ExcelFont ( SpireObject, IFont) :
|
|
10
|
-
"""
|
|
11
|
-
|
|
10
|
+
"""Represents a font in an Excel workbook.
|
|
11
|
+
|
|
12
|
+
This class encapsulates the properties and methods for managing font formatting in Excel,
|
|
13
|
+
including font name, size, style (bold, italic, etc.), color, and other attributes.
|
|
14
|
+
It implements the IFont interface to provide standard font manipulation functionality.
|
|
12
15
|
"""
|
|
13
16
|
@property
|
|
14
17
|
def IsItalic(self)->bool:
|
|
15
|
-
"""
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
"""Gets or sets whether the font style is italic.
|
|
19
|
+
|
|
20
|
+
Returns:
|
|
21
|
+
bool: True if the font style is italic; otherwise, False.
|
|
19
22
|
"""
|
|
20
23
|
GetDllLibXls().ExcelFont_get_IsItalic.argtypes=[c_void_p]
|
|
21
24
|
GetDllLibXls().ExcelFont_get_IsItalic.restype=c_bool
|
|
@@ -30,10 +33,10 @@ class ExcelFont ( SpireObject, IFont) :
|
|
|
30
33
|
@property
|
|
31
34
|
|
|
32
35
|
def KnownColor(self)->'ExcelColors':
|
|
33
|
-
"""
|
|
34
|
-
|
|
35
|
-
Returns
|
|
36
|
-
|
|
36
|
+
"""Gets or sets the primary Excel color of the font using predefined Excel colors.
|
|
37
|
+
|
|
38
|
+
Returns:
|
|
39
|
+
ExcelColors: An enumeration value representing the predefined Excel color.
|
|
37
40
|
"""
|
|
38
41
|
GetDllLibXls().ExcelFont_get_KnownColor.argtypes=[c_void_p]
|
|
39
42
|
GetDllLibXls().ExcelFont_get_KnownColor.restype=c_int
|
|
@@ -49,10 +52,10 @@ class ExcelFont ( SpireObject, IFont) :
|
|
|
49
52
|
@property
|
|
50
53
|
|
|
51
54
|
def Color(self)->'Color':
|
|
52
|
-
"""
|
|
53
|
-
|
|
54
|
-
Returns
|
|
55
|
-
|
|
55
|
+
"""Gets or sets the primary color of the font using RGB values.
|
|
56
|
+
|
|
57
|
+
Returns:
|
|
58
|
+
Color: A Color object representing the RGB color of the font.
|
|
56
59
|
"""
|
|
57
60
|
GetDllLibXls().ExcelFont_get_Color.argtypes=[c_void_p]
|
|
58
61
|
GetDllLibXls().ExcelFont_get_Color.restype=c_void_p
|
|
@@ -67,39 +70,44 @@ class ExcelFont ( SpireObject, IFont) :
|
|
|
67
70
|
CallCFunction(GetDllLibXls().ExcelFont_set_Color, self.Ptr, value.Ptr)
|
|
68
71
|
|
|
69
72
|
|
|
70
|
-
def SetThemeColor(self ,
|
|
71
|
-
"""
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
def SetThemeColor(self ,theme_type:'ThemeColorType',tint:float):
|
|
74
|
+
"""Sets the theme color for the font.
|
|
75
|
+
|
|
76
|
+
Args:
|
|
77
|
+
theme_type (ThemeColorType): The theme color type to apply.
|
|
78
|
+
tint (float): The tint value to apply to the theme color, between -1.0 and 1.0.
|
|
79
|
+
Positive values lighten the color, negative values darken it.
|
|
77
80
|
"""
|
|
78
|
-
enumtype:c_int =
|
|
81
|
+
enumtype:c_int = theme_type.value
|
|
79
82
|
|
|
80
83
|
GetDllLibXls().ExcelFont_SetThemeColor.argtypes=[c_void_p ,c_int,c_double]
|
|
81
84
|
CallCFunction(GetDllLibXls().ExcelFont_SetThemeColor, self.Ptr, enumtype,tint)
|
|
82
85
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
86
|
+
|
|
87
|
+
def GetThemeColor(self)->Tuple[bool,ThemeColorType,float]:
|
|
88
|
+
|
|
89
|
+
GetDllLibXls().ExcelFont_GetThemeColor_bool.argtypes=[c_void_p ]
|
|
90
|
+
GetDllLibXls().ExcelFont_GetThemeColor_bool.restype=c_bool
|
|
91
|
+
ret = CallCFunction(GetDllLibXls().ExcelFont_GetThemeColor_bool, self.Ptr)
|
|
92
|
+
if not ret:
|
|
93
|
+
return False,None,None
|
|
94
|
+
GetDllLibXls().ExcelFont_GetThemeColor_Type.argtypes=[c_void_p ]
|
|
95
|
+
GetDllLibXls().ExcelFont_GetThemeColor_Type.restype=c_void_p
|
|
96
|
+
ret_type = CallCFunction(GetDllLibXls().ExcelFont_GetThemeColor_Type, self.Ptr)
|
|
97
|
+
theme_type = None if ret_type is None else ThemeColorType(ret_type)
|
|
98
|
+
|
|
99
|
+
GetDllLibXls().ExcelFont_GetThemeColor_Tint.argtypes=[c_void_p ]
|
|
100
|
+
GetDllLibXls().ExcelFont_GetThemeColor_Tint.restype=c_double
|
|
101
|
+
theme_tint = CallCFunction(GetDllLibXls().ExcelFont_GetThemeColor_Tint, self.Ptr)
|
|
102
|
+
|
|
103
|
+
return True,theme_type,theme_tint
|
|
95
104
|
|
|
96
105
|
|
|
97
106
|
@property
|
|
98
107
|
def IsBold(self)->bool:
|
|
99
108
|
"""
|
|
100
|
-
<summary>
|
|
101
109
|
True if the font is bold.
|
|
102
|
-
|
|
110
|
+
|
|
103
111
|
"""
|
|
104
112
|
GetDllLibXls().ExcelFont_get_IsBold.argtypes=[c_void_p]
|
|
105
113
|
GetDllLibXls().ExcelFont_get_IsBold.restype=c_bool
|
|
@@ -115,9 +123,8 @@ class ExcelFont ( SpireObject, IFont) :
|
|
|
115
123
|
|
|
116
124
|
def FontName(self)->str:
|
|
117
125
|
"""
|
|
118
|
-
<summary>
|
|
119
126
|
Returns or sets the font name. Read / write string.
|
|
120
|
-
|
|
127
|
+
|
|
121
128
|
"""
|
|
122
129
|
GetDllLibXls().ExcelFont_get_FontName.argtypes=[c_void_p]
|
|
123
130
|
GetDllLibXls().ExcelFont_get_FontName.restype=c_void_p
|
|
@@ -133,9 +140,8 @@ class ExcelFont ( SpireObject, IFont) :
|
|
|
133
140
|
@property
|
|
134
141
|
def Size(self)->float:
|
|
135
142
|
"""
|
|
136
|
-
<summary>
|
|
137
143
|
Returns or sets the size of the font. Read / write integer.
|
|
138
|
-
|
|
144
|
+
|
|
139
145
|
"""
|
|
140
146
|
GetDllLibXls().ExcelFont_get_Size.argtypes=[c_void_p]
|
|
141
147
|
GetDllLibXls().ExcelFont_get_Size.restype=c_double
|
|
@@ -150,10 +156,8 @@ class ExcelFont ( SpireObject, IFont) :
|
|
|
150
156
|
@property
|
|
151
157
|
def IsStrikethrough(self)->bool:
|
|
152
158
|
"""
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
Read / write Boolean
|
|
156
|
-
</summary>
|
|
159
|
+
True if the font is struck through with a horizontal line. Read / write Boolean
|
|
160
|
+
|
|
157
161
|
"""
|
|
158
162
|
GetDllLibXls().ExcelFont_get_IsStrikethrough.argtypes=[c_void_p]
|
|
159
163
|
GetDllLibXls().ExcelFont_get_IsStrikethrough.restype=c_bool
|
|
@@ -185,10 +189,8 @@ class ExcelFont ( SpireObject, IFont) :
|
|
|
185
189
|
@property
|
|
186
190
|
def IsSubscript(self)->bool:
|
|
187
191
|
"""
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
False by default. Read / write Boolean.
|
|
191
|
-
</summary>
|
|
192
|
+
True if the font is formatted as subscript. False by default. Read / write Boolean.
|
|
193
|
+
|
|
192
194
|
"""
|
|
193
195
|
GetDllLibXls().ExcelFont_get_IsSubscript.argtypes=[c_void_p]
|
|
194
196
|
GetDllLibXls().ExcelFont_get_IsSubscript.restype=c_bool
|
|
@@ -203,10 +205,8 @@ class ExcelFont ( SpireObject, IFont) :
|
|
|
203
205
|
@property
|
|
204
206
|
def IsSuperscript(self)->bool:
|
|
205
207
|
"""
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
Read/write Boolean
|
|
209
|
-
</summary>
|
|
208
|
+
True if the font is formatted as superscript. False by default. Read/write Boolean
|
|
209
|
+
|
|
210
210
|
"""
|
|
211
211
|
GetDllLibXls().ExcelFont_get_IsSuperscript.argtypes=[c_void_p]
|
|
212
212
|
GetDllLibXls().ExcelFont_get_IsSuperscript.restype=c_bool
|
|
@@ -220,10 +220,13 @@ class ExcelFont ( SpireObject, IFont) :
|
|
|
220
220
|
|
|
221
221
|
@property
|
|
222
222
|
def IsAutoColor(self)->bool:
|
|
223
|
-
"""
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
223
|
+
"""Gets whether the font color is automatically selected.
|
|
224
|
+
|
|
225
|
+
When True, Excel automatically determines the font color based on the background
|
|
226
|
+
or other contextual factors.
|
|
227
|
+
|
|
228
|
+
Returns:
|
|
229
|
+
bool: True if the font color is automatically selected; otherwise, False.
|
|
227
230
|
"""
|
|
228
231
|
GetDllLibXls().ExcelFont_get_IsAutoColor.argtypes=[c_void_p]
|
|
229
232
|
GetDllLibXls().ExcelFont_get_IsAutoColor.restype=c_bool
|
|
@@ -233,10 +236,13 @@ class ExcelFont ( SpireObject, IFont) :
|
|
|
233
236
|
@property
|
|
234
237
|
|
|
235
238
|
def Underline(self)->'FontUnderlineType':
|
|
236
|
-
"""
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
239
|
+
"""Gets or sets the type of underline applied to the font.
|
|
240
|
+
|
|
241
|
+
This property allows for different underline styles such as single, double,
|
|
242
|
+
accounting, etc.
|
|
243
|
+
|
|
244
|
+
Returns:
|
|
245
|
+
FontUnderlineType: An enumeration value representing the underline type.
|
|
240
246
|
"""
|
|
241
247
|
GetDllLibXls().ExcelFont_get_Underline.argtypes=[c_void_p]
|
|
242
248
|
GetDllLibXls().ExcelFont_get_Underline.restype=c_int
|
|
@@ -252,8 +258,12 @@ class ExcelFont ( SpireObject, IFont) :
|
|
|
252
258
|
@property
|
|
253
259
|
|
|
254
260
|
def VerticalAlignment(self)->'FontVertialAlignmentType':
|
|
255
|
-
"""
|
|
256
|
-
|
|
261
|
+
"""Gets or sets the vertical alignment of the font.
|
|
262
|
+
|
|
263
|
+
This property controls whether text appears as normal, subscript, or superscript.
|
|
264
|
+
|
|
265
|
+
Returns:
|
|
266
|
+
FontVertialAlignmentType: An enumeration value representing the vertical alignment.
|
|
257
267
|
"""
|
|
258
268
|
GetDllLibXls().ExcelFont_get_VerticalAlignment.argtypes=[c_void_p]
|
|
259
269
|
GetDllLibXls().ExcelFont_get_VerticalAlignment.restype=c_int
|
|
@@ -268,11 +278,13 @@ class ExcelFont ( SpireObject, IFont) :
|
|
|
268
278
|
|
|
269
279
|
|
|
270
280
|
def GenerateNativeFont(self)->'Font':
|
|
271
|
-
"""
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
281
|
+
"""Generates a system font object based on this Excel font.
|
|
282
|
+
|
|
283
|
+
This method creates a Font object that can be used with the system's drawing
|
|
284
|
+
functions, representing the same visual attributes as this Excel font.
|
|
285
|
+
|
|
286
|
+
Returns:
|
|
287
|
+
Font: A system Font object with the same properties as this Excel font.
|
|
276
288
|
"""
|
|
277
289
|
GetDllLibXls().ExcelFont_GenerateNativeFont.argtypes=[c_void_p]
|
|
278
290
|
GetDllLibXls().ExcelFont_GenerateNativeFont.restype=c_void_p
|
|
@@ -284,8 +296,12 @@ class ExcelFont ( SpireObject, IFont) :
|
|
|
284
296
|
@property
|
|
285
297
|
|
|
286
298
|
def Parent(self)->'SpireObject':
|
|
287
|
-
"""
|
|
288
|
-
|
|
299
|
+
"""Gets the parent object of this font.
|
|
300
|
+
|
|
301
|
+
The parent object is typically the cell, range, or style that contains this font.
|
|
302
|
+
|
|
303
|
+
Returns:
|
|
304
|
+
SpireObject: The parent object that contains this font.
|
|
289
305
|
"""
|
|
290
306
|
GetDllLibXls().ExcelFont_get_Parent.argtypes=[c_void_p]
|
|
291
307
|
GetDllLibXls().ExcelFont_get_Parent.restype=c_void_p
|
|
@@ -295,15 +311,20 @@ class ExcelFont ( SpireObject, IFont) :
|
|
|
295
311
|
|
|
296
312
|
|
|
297
313
|
def BeginUpdate(self):
|
|
298
|
-
"""
|
|
299
|
-
|
|
314
|
+
"""Begins a batch update operation on the font.
|
|
315
|
+
|
|
316
|
+
This method marks the start of a series of changes to the font properties.
|
|
317
|
+
Multiple property changes can be made more efficiently by calling BeginUpdate
|
|
318
|
+
before making the changes and EndUpdate after all changes are complete.
|
|
300
319
|
"""
|
|
301
320
|
GetDllLibXls().ExcelFont_BeginUpdate.argtypes=[c_void_p]
|
|
302
321
|
CallCFunction(GetDllLibXls().ExcelFont_BeginUpdate, self.Ptr)
|
|
303
322
|
|
|
304
323
|
def EndUpdate(self):
|
|
305
|
-
"""
|
|
306
|
-
|
|
324
|
+
"""Ends a batch update operation on the font.
|
|
325
|
+
|
|
326
|
+
This method should be called after BeginUpdate and all desired property
|
|
327
|
+
changes have been made. It applies all pending changes to the font properties.
|
|
307
328
|
"""
|
|
308
329
|
GetDllLibXls().ExcelFont_EndUpdate.argtypes=[c_void_p]
|
|
309
330
|
CallCFunction(GetDllLibXls().ExcelFont_EndUpdate, self.Ptr)
|
spire/xls/ExcelGradient.py
CHANGED
|
@@ -7,14 +7,19 @@ from ctypes import *
|
|
|
7
7
|
import abc
|
|
8
8
|
|
|
9
9
|
class ExcelGradient ( SpireObject, IGradient) :
|
|
10
|
-
"""
|
|
11
|
-
|
|
10
|
+
"""Represents a gradient fill effect in Excel.
|
|
11
|
+
|
|
12
|
+
This class encapsulates the properties and methods for managing gradient fill effects
|
|
13
|
+
in Excel shapes, cells, and other objects. It provides functionality to set gradient colors,
|
|
14
|
+
styles, and variants, supporting both two-color and preset gradients.
|
|
12
15
|
"""
|
|
13
16
|
@property
|
|
14
17
|
|
|
15
18
|
def BackColor(self)->'Color':
|
|
16
|
-
"""
|
|
17
|
-
|
|
19
|
+
"""Gets or sets the ending color of the gradient.
|
|
20
|
+
|
|
21
|
+
Returns:
|
|
22
|
+
Color: A Color object representing the ending color of the gradient.
|
|
18
23
|
"""
|
|
19
24
|
GetDllLibXls().ExcelGradient_get_BackColor.argtypes=[c_void_p]
|
|
20
25
|
GetDllLibXls().ExcelGradient_get_BackColor.restype=c_void_p
|
|
@@ -31,9 +36,12 @@ class ExcelGradient ( SpireObject, IGradient) :
|
|
|
31
36
|
@property
|
|
32
37
|
|
|
33
38
|
def BackColorObject(self)->'OColor':
|
|
39
|
+
"""Gets the ending color object of the gradient.
|
|
40
|
+
|
|
41
|
+
Returns:
|
|
42
|
+
OColor: An OColor object representing the ending color of the gradient.
|
|
34
43
|
"""
|
|
35
|
-
|
|
36
|
-
"""
|
|
44
|
+
from spire.xls.OColor import OColor
|
|
37
45
|
GetDllLibXls().ExcelGradient_get_BackColorObject.argtypes=[c_void_p]
|
|
38
46
|
GetDllLibXls().ExcelGradient_get_BackColorObject.restype=c_void_p
|
|
39
47
|
intPtr = CallCFunction(GetDllLibXls().ExcelGradient_get_BackColorObject, self.Ptr)
|
|
@@ -44,8 +52,10 @@ class ExcelGradient ( SpireObject, IGradient) :
|
|
|
44
52
|
@property
|
|
45
53
|
|
|
46
54
|
def BackKnownColor(self)->'ExcelColors':
|
|
47
|
-
"""
|
|
48
|
-
|
|
55
|
+
"""Gets or sets the ending color of the gradient using predefined Excel colors.
|
|
56
|
+
|
|
57
|
+
Returns:
|
|
58
|
+
ExcelColors: An enumeration value representing the predefined Excel color.
|
|
49
59
|
"""
|
|
50
60
|
GetDllLibXls().ExcelGradient_get_BackKnownColor.argtypes=[c_void_p]
|
|
51
61
|
GetDllLibXls().ExcelGradient_get_BackKnownColor.restype=c_int
|
|
@@ -61,8 +71,10 @@ class ExcelGradient ( SpireObject, IGradient) :
|
|
|
61
71
|
@property
|
|
62
72
|
|
|
63
73
|
def ForeColor(self)->'Color':
|
|
64
|
-
"""
|
|
65
|
-
|
|
74
|
+
"""Gets or sets the starting color of the gradient.
|
|
75
|
+
|
|
76
|
+
Returns:
|
|
77
|
+
Color: A Color object representing the starting color of the gradient.
|
|
66
78
|
"""
|
|
67
79
|
GetDllLibXls().ExcelGradient_get_ForeColor.argtypes=[c_void_p]
|
|
68
80
|
GetDllLibXls().ExcelGradient_get_ForeColor.restype=c_void_p
|
|
@@ -79,8 +91,10 @@ class ExcelGradient ( SpireObject, IGradient) :
|
|
|
79
91
|
@property
|
|
80
92
|
|
|
81
93
|
def ForeKnownColor(self)->'ExcelColors':
|
|
82
|
-
"""
|
|
83
|
-
|
|
94
|
+
"""Gets or sets the starting color of the gradient using predefined Excel colors.
|
|
95
|
+
|
|
96
|
+
Returns:
|
|
97
|
+
ExcelColors: An enumeration value representing the predefined Excel color.
|
|
84
98
|
"""
|
|
85
99
|
GetDllLibXls().ExcelGradient_get_ForeKnownColor.argtypes=[c_void_p]
|
|
86
100
|
GetDllLibXls().ExcelGradient_get_ForeKnownColor.restype=c_int
|
|
@@ -96,9 +110,12 @@ class ExcelGradient ( SpireObject, IGradient) :
|
|
|
96
110
|
@property
|
|
97
111
|
|
|
98
112
|
def ForeColorObject(self)->'OColor':
|
|
113
|
+
"""Gets the starting color object of the gradient.
|
|
114
|
+
|
|
115
|
+
Returns:
|
|
116
|
+
OColor: An OColor object representing the starting color of the gradient.
|
|
99
117
|
"""
|
|
100
|
-
|
|
101
|
-
"""
|
|
118
|
+
from spire.xls.OColor import OColor
|
|
102
119
|
GetDllLibXls().ExcelGradient_get_ForeColorObject.argtypes=[c_void_p]
|
|
103
120
|
GetDllLibXls().ExcelGradient_get_ForeColorObject.restype=c_void_p
|
|
104
121
|
intPtr = CallCFunction(GetDllLibXls().ExcelGradient_get_ForeColorObject, self.Ptr)
|
|
@@ -109,8 +126,13 @@ class ExcelGradient ( SpireObject, IGradient) :
|
|
|
109
126
|
@property
|
|
110
127
|
|
|
111
128
|
def GradientStyle(self)->'GradientStyleType':
|
|
112
|
-
"""
|
|
113
|
-
|
|
129
|
+
"""Gets or sets the style of the gradient.
|
|
130
|
+
|
|
131
|
+
The gradient style determines the direction and pattern of the gradient fill,
|
|
132
|
+
such as horizontal, vertical, diagonal, or radial.
|
|
133
|
+
|
|
134
|
+
Returns:
|
|
135
|
+
GradientStyleType: An enumeration value representing the gradient style.
|
|
114
136
|
"""
|
|
115
137
|
GetDllLibXls().ExcelGradient_get_GradientStyle.argtypes=[c_void_p]
|
|
116
138
|
GetDllLibXls().ExcelGradient_get_GradientStyle.restype=c_int
|
|
@@ -126,8 +148,13 @@ class ExcelGradient ( SpireObject, IGradient) :
|
|
|
126
148
|
@property
|
|
127
149
|
|
|
128
150
|
def GradientVariant(self)->'GradientVariantsType':
|
|
129
|
-
"""
|
|
130
|
-
|
|
151
|
+
"""Gets or sets the variant of the gradient.
|
|
152
|
+
|
|
153
|
+
The gradient variant determines the intensity and distribution of colors in the gradient,
|
|
154
|
+
such as the number of color bands or the smoothness of the transition.
|
|
155
|
+
|
|
156
|
+
Returns:
|
|
157
|
+
GradientVariantsType: An enumeration value representing the gradient variant.
|
|
131
158
|
"""
|
|
132
159
|
GetDllLibXls().ExcelGradient_get_GradientVariant.argtypes=[c_void_p]
|
|
133
160
|
GetDllLibXls().ExcelGradient_get_GradientVariant.restype=c_int
|
|
@@ -142,8 +169,19 @@ class ExcelGradient ( SpireObject, IGradient) :
|
|
|
142
169
|
|
|
143
170
|
|
|
144
171
|
def CompareTo(self ,gradient:'IGradient')->int:
|
|
145
|
-
"""
|
|
146
|
-
|
|
172
|
+
"""Compares this gradient with another gradient object.
|
|
173
|
+
|
|
174
|
+
This method compares the current gradient with the specified gradient object
|
|
175
|
+
and returns an integer that indicates their relative position in the sort order.
|
|
176
|
+
|
|
177
|
+
Args:
|
|
178
|
+
gradient (IGradient): The gradient to compare with this instance.
|
|
179
|
+
|
|
180
|
+
Returns:
|
|
181
|
+
int: A value that indicates the relative order of the objects being compared.
|
|
182
|
+
Less than zero: This instance precedes the specified object in the sort order.
|
|
183
|
+
Zero: This instance occurs in the same position in the sort order as the specified object.
|
|
184
|
+
Greater than zero: This instance follows the specified object in the sort order.
|
|
147
185
|
"""
|
|
148
186
|
intPtrgradient:c_void_p = gradient.Ptr
|
|
149
187
|
|
|
@@ -154,8 +192,10 @@ class ExcelGradient ( SpireObject, IGradient) :
|
|
|
154
192
|
|
|
155
193
|
@dispatch
|
|
156
194
|
def TwoColorGradient(self):
|
|
157
|
-
"""
|
|
158
|
-
|
|
195
|
+
"""Creates a two-color gradient with default style and variant.
|
|
196
|
+
|
|
197
|
+
This method configures the gradient to use two colors (the fore color and back color)
|
|
198
|
+
with default gradient style and variant settings.
|
|
159
199
|
"""
|
|
160
200
|
GetDllLibXls().ExcelGradient_TwoColorGradient.argtypes=[c_void_p]
|
|
161
201
|
CallCFunction(GetDllLibXls().ExcelGradient_TwoColorGradient, self.Ptr)
|
|
@@ -163,8 +203,14 @@ class ExcelGradient ( SpireObject, IGradient) :
|
|
|
163
203
|
@dispatch
|
|
164
204
|
|
|
165
205
|
def TwoColorGradient(self ,style:GradientStyleType,variant:GradientVariantsType):
|
|
166
|
-
"""
|
|
167
|
-
|
|
206
|
+
"""Creates a two-color gradient with the specified style and variant.
|
|
207
|
+
|
|
208
|
+
This method configures the gradient to use two colors (the fore color and back color)
|
|
209
|
+
with the specified gradient style and variant settings.
|
|
210
|
+
|
|
211
|
+
Args:
|
|
212
|
+
style (GradientStyleType): The style of the gradient (horizontal, vertical, diagonal, etc.).
|
|
213
|
+
variant (GradientVariantsType): The variant of the gradient determining color distribution.
|
|
168
214
|
"""
|
|
169
215
|
enumstyle:c_int = style.value
|
|
170
216
|
enumvariant:c_int = variant.value
|
spire/xls/ExcelInterior.py
CHANGED
|
@@ -7,16 +7,21 @@ from ctypes import *
|
|
|
7
7
|
import abc
|
|
8
8
|
|
|
9
9
|
class ExcelInterior ( SpireObject, IInterior) :
|
|
10
|
-
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
"""Used to get or set interior settings for Excel cells and shapes.
|
|
11
|
+
|
|
12
|
+
This class encapsulates the properties and methods for managing the interior formatting
|
|
13
|
+
of cells and shapes in Excel, including background colors, patterns, and gradient effects.
|
|
14
|
+
It implements the IInterior interface to provide standard interior formatting functionality.
|
|
14
15
|
"""
|
|
15
16
|
@property
|
|
16
17
|
|
|
17
18
|
def PatternKnownColor(self)->'ExcelColors':
|
|
18
|
-
"""
|
|
19
|
-
|
|
19
|
+
"""Gets or sets the pattern color using predefined Excel colors.
|
|
20
|
+
|
|
21
|
+
This property determines the color of the pattern applied to the cell or shape interior.
|
|
22
|
+
|
|
23
|
+
Returns:
|
|
24
|
+
ExcelColors: An enumeration value representing the predefined Excel color for the pattern.
|
|
20
25
|
"""
|
|
21
26
|
GetDllLibXls().ExcelInterior_get_PatternKnownColor.argtypes=[c_void_p]
|
|
22
27
|
GetDllLibXls().ExcelInterior_get_PatternKnownColor.restype=c_int
|
|
@@ -32,8 +37,12 @@ class ExcelInterior ( SpireObject, IInterior) :
|
|
|
32
37
|
@property
|
|
33
38
|
|
|
34
39
|
def PatternColor(self)->'Color':
|
|
35
|
-
"""
|
|
36
|
-
|
|
40
|
+
"""Gets or sets the pattern color using RGB values.
|
|
41
|
+
|
|
42
|
+
This property determines the color of the pattern applied to the cell or shape interior.
|
|
43
|
+
|
|
44
|
+
Returns:
|
|
45
|
+
Color: A Color object representing the RGB color of the pattern.
|
|
37
46
|
"""
|
|
38
47
|
GetDllLibXls().ExcelInterior_get_PatternColor.argtypes=[c_void_p]
|
|
39
48
|
GetDllLibXls().ExcelInterior_get_PatternColor.restype=c_void_p
|
|
@@ -50,8 +59,12 @@ class ExcelInterior ( SpireObject, IInterior) :
|
|
|
50
59
|
@property
|
|
51
60
|
|
|
52
61
|
def KnownColor(self)->'ExcelColors':
|
|
53
|
-
"""
|
|
54
|
-
|
|
62
|
+
"""Gets or sets the background color using predefined Excel colors.
|
|
63
|
+
|
|
64
|
+
This property determines the background color of the cell or shape interior.
|
|
65
|
+
|
|
66
|
+
Returns:
|
|
67
|
+
ExcelColors: An enumeration value representing the predefined Excel color for the background.
|
|
55
68
|
"""
|
|
56
69
|
GetDllLibXls().ExcelInterior_get_KnownColor.argtypes=[c_void_p]
|
|
57
70
|
GetDllLibXls().ExcelInterior_get_KnownColor.restype=c_int
|
|
@@ -67,8 +80,12 @@ class ExcelInterior ( SpireObject, IInterior) :
|
|
|
67
80
|
@property
|
|
68
81
|
|
|
69
82
|
def Color(self)->'Color':
|
|
70
|
-
"""
|
|
71
|
-
|
|
83
|
+
"""Gets or sets the background color using RGB values.
|
|
84
|
+
|
|
85
|
+
This property determines the background color of the cell or shape interior.
|
|
86
|
+
|
|
87
|
+
Returns:
|
|
88
|
+
Color: A Color object representing the RGB color of the background.
|
|
72
89
|
"""
|
|
73
90
|
GetDllLibXls().ExcelInterior_get_Color.argtypes=[c_void_p]
|
|
74
91
|
GetDllLibXls().ExcelInterior_get_Color.restype=c_void_p
|
|
@@ -85,10 +102,13 @@ class ExcelInterior ( SpireObject, IInterior) :
|
|
|
85
102
|
@property
|
|
86
103
|
|
|
87
104
|
def Gradient(self)->'ExcelGradient':
|
|
88
|
-
"""
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
105
|
+
"""Gets the gradient object for this interior.
|
|
106
|
+
|
|
107
|
+
The gradient object contains properties for configuring gradient fill effects,
|
|
108
|
+
including colors, style, and variants.
|
|
109
|
+
|
|
110
|
+
Returns:
|
|
111
|
+
ExcelGradient: The gradient object for this interior.
|
|
92
112
|
"""
|
|
93
113
|
GetDllLibXls().ExcelInterior_get_Gradient.argtypes=[c_void_p]
|
|
94
114
|
GetDllLibXls().ExcelInterior_get_Gradient.restype=c_void_p
|
|
@@ -100,8 +120,13 @@ class ExcelInterior ( SpireObject, IInterior) :
|
|
|
100
120
|
@property
|
|
101
121
|
|
|
102
122
|
def FillPattern(self)->'ExcelPatternType':
|
|
103
|
-
"""
|
|
104
|
-
|
|
123
|
+
"""Gets or sets the fill pattern for the interior.
|
|
124
|
+
|
|
125
|
+
This property determines the pattern used to fill the cell or shape interior,
|
|
126
|
+
such as solid, dotted, striped, etc.
|
|
127
|
+
|
|
128
|
+
Returns:
|
|
129
|
+
ExcelPatternType: An enumeration value representing the fill pattern type.
|
|
105
130
|
"""
|
|
106
131
|
GetDllLibXls().ExcelInterior_get_FillPattern.argtypes=[c_void_p]
|
|
107
132
|
GetDllLibXls().ExcelInterior_get_FillPattern.restype=c_int
|
|
@@ -115,14 +140,5 @@ class ExcelInterior ( SpireObject, IInterior) :
|
|
|
115
140
|
CallCFunction(GetDllLibXls().ExcelInterior_set_FillPattern, self.Ptr, value.value)
|
|
116
141
|
|
|
117
142
|
|
|
118
|
-
def m_interior(self)->'IInterior':
|
|
119
|
-
"""
|
|
120
|
-
|
|
121
|
-
"""
|
|
122
|
-
GetDllLibXls().ExcelInterior_m_interior.argtypes=[c_void_p]
|
|
123
|
-
GetDllLibXls().ExcelInterior_m_interior.restype=c_void_p
|
|
124
|
-
intPtr = CallCFunction(GetDllLibXls().ExcelInterior_m_interior, self.Ptr)
|
|
125
|
-
ret = None if intPtr==None else ExcelInterior(intPtr)
|
|
126
|
-
return ret
|
|
127
143
|
|
|
128
144
|
|
spire/xls/ExportTableOptions.py
CHANGED
|
@@ -7,13 +7,27 @@ from ctypes import *
|
|
|
7
7
|
import abc
|
|
8
8
|
|
|
9
9
|
class ExportTableOptions (SpireObject) :
|
|
10
|
+
"""Represents options for exporting Excel tables to other formats.
|
|
11
|
+
|
|
12
|
+
This class provides properties to control the behavior when exporting Excel tables
|
|
13
|
+
to other formats such as DataTable, CSV, etc. It allows customization of data formatting,
|
|
14
|
+
column names handling, and formula calculation during the export process.
|
|
10
15
|
"""
|
|
16
|
+
@dispatch
|
|
17
|
+
def __init__(self):
|
|
18
|
+
GetDllLibXls().ExportTableOptions_Create.restype = c_void_p
|
|
19
|
+
intPtr = CallCFunction(GetDllLibXls().ExportTableOptions_Create)
|
|
20
|
+
super(ExportTableOptions, self).__init__(intPtr)
|
|
11
21
|
|
|
12
|
-
"""
|
|
13
22
|
@property
|
|
14
23
|
def KeepDataFormat(self)->bool:
|
|
15
|
-
"""
|
|
16
|
-
|
|
24
|
+
"""Gets or sets whether to keep the original data format when exporting.
|
|
25
|
+
|
|
26
|
+
When set to True, the exported data will maintain the same formatting as in Excel.
|
|
27
|
+
When set to False, the data may be converted to native types in the target format.
|
|
28
|
+
|
|
29
|
+
Returns:
|
|
30
|
+
bool: True if the original data format should be kept; otherwise, False.
|
|
17
31
|
"""
|
|
18
32
|
GetDllLibXls().ExportTableOptions_get_KeepDataFormat.argtypes=[c_void_p]
|
|
19
33
|
GetDllLibXls().ExportTableOptions_get_KeepDataFormat.restype=c_bool
|
|
@@ -27,8 +41,13 @@ class ExportTableOptions (SpireObject) :
|
|
|
27
41
|
|
|
28
42
|
@property
|
|
29
43
|
def ExportColumnNames(self)->bool:
|
|
30
|
-
"""
|
|
31
|
-
|
|
44
|
+
"""Gets or sets whether to export column names when exporting.
|
|
45
|
+
|
|
46
|
+
When set to True, the first row of the exported data will contain column names.
|
|
47
|
+
When set to False, only the data will be exported without column names.
|
|
48
|
+
|
|
49
|
+
Returns:
|
|
50
|
+
bool: True if column names should be exported; otherwise, False.
|
|
32
51
|
"""
|
|
33
52
|
GetDllLibXls().ExportTableOptions_get_ExportColumnNames.argtypes=[c_void_p]
|
|
34
53
|
GetDllLibXls().ExportTableOptions_get_ExportColumnNames.restype=c_bool
|
|
@@ -43,8 +62,13 @@ class ExportTableOptions (SpireObject) :
|
|
|
43
62
|
@property
|
|
44
63
|
|
|
45
64
|
def RenameStrategy(self)->'RenameStrategy':
|
|
46
|
-
"""
|
|
47
|
-
|
|
65
|
+
"""Gets or sets the strategy for renaming columns when exporting.
|
|
66
|
+
|
|
67
|
+
This property determines how column names are handled when there are duplicates or invalid names
|
|
68
|
+
in the target format.
|
|
69
|
+
|
|
70
|
+
Returns:
|
|
71
|
+
RenameStrategy: An enumeration value representing the strategy for renaming columns.
|
|
48
72
|
"""
|
|
49
73
|
GetDllLibXls().ExportTableOptions_get_RenameStrategy.argtypes=[c_void_p]
|
|
50
74
|
GetDllLibXls().ExportTableOptions_get_RenameStrategy.restype=c_int
|
|
@@ -59,8 +83,13 @@ class ExportTableOptions (SpireObject) :
|
|
|
59
83
|
|
|
60
84
|
@property
|
|
61
85
|
def ComputedFormulaValue(self)->bool:
|
|
62
|
-
"""
|
|
63
|
-
|
|
86
|
+
"""Gets or sets whether to export the computed values of formulas.
|
|
87
|
+
|
|
88
|
+
When set to True, the result of formula calculations will be exported.
|
|
89
|
+
When set to False, the formulas themselves may be exported depending on the target format.
|
|
90
|
+
|
|
91
|
+
Returns:
|
|
92
|
+
bool: True if computed formula values should be exported; otherwise, False.
|
|
64
93
|
"""
|
|
65
94
|
GetDllLibXls().ExportTableOptions_get_ComputedFormulaValue.argtypes=[c_void_p]
|
|
66
95
|
GetDllLibXls().ExportTableOptions_get_ComputedFormulaValue.restype=c_bool
|