spire-xls 15.5.0__py3-none-win_amd64.whl → 15.7.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 +98 -117
- spire/xls/Average.py +18 -4
- spire/xls/CellBaseStyle.py +13 -6
- spire/xls/CellBorder.py +25 -20
- spire/xls/CellRange.py +305 -269
- spire/xls/CellStyle.py +26 -12
- spire/xls/CellStyleFlag.py +181 -58
- spire/xls/CellStyleObject.py +36 -67
- spire/xls/CellValueChangedEventArgs.py +3 -9
- spire/xls/ColorScale.py +31 -39
- spire/xls/CommentsRange.py +185 -84
- spire/xls/CommonWrapper.py +23 -8
- spire/xls/ConverterSetting.py +19 -36
- spire/xls/DBConnection.py +41 -8
- spire/xls/DVAspect.py +8 -2
- spire/xls/DataBar.py +29 -28
- spire/xls/DocumentProperty.py +86 -38
- spire/xls/Excel2016Charttype.py +14 -2
- spire/xls/ExcelComment.py +1 -2
- spire/xls/ExcelCommentObject.py +206 -121
- spire/xls/ExcelFont.py +74 -59
- spire/xls/ExcelGradient.py +68 -24
- spire/xls/ExcelInterior.py +49 -20
- spire/xls/ExportTableOptions.py +33 -10
- spire/xls/ExternalConnection.py +85 -20
- spire/xls/ExternalLink.py +26 -10
- spire/xls/FileFormat.py +32 -4
- spire/xls/Font.py +95 -42
- spire/xls/FontArrayWrapper.py +135 -36
- spire/xls/FontWrapper.py +194 -92
- 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 +74 -24
- spire/xls/GradientType.py +10 -2
- spire/xls/GroupShape.py +1 -2
- spire/xls/HPageBreak.py +1 -2
- spire/xls/HTMLOptions.py +7 -19
- spire/xls/HyperLink.py +1 -2
- spire/xls/LOGFONT.py +78 -30
- 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 +20 -8
- spire/xls/ReferRangeArea.py +39 -16
- spire/xls/RichText.py +10 -8
- spire/xls/RichTextObject.py +63 -32
- spire/xls/RichTextShape.py +88 -32
- spire/xls/RichTextString.py +61 -24
- spire/xls/RtfTextWriter.py +68 -22
- spire/xls/SaveShapeTypeOption.py +19 -37
- spire/xls/ShapeGlow.py +34 -14
- spire/xls/ShapeReflection.py +55 -18
- spire/xls/StyleArrayWrapper.py +169 -78
- spire/xls/TextBoxShapeBase.py +63 -30
- spire/xls/TextSaveOptions.py +33 -18
- spire/xls/TopBottom.py +18 -6
- spire/xls/VPageBreak.py +3 -5
- spire/xls/Validation.py +12 -6
- spire/xls/WebQueryConnection.py +52 -20
- spire/xls/Workbook.py +810 -841
- spire/xls/Worksheet.py +444 -409
- spire/xls/WriteProtection.py +3 -6
- spire/xls/XlsAddInFunction.py +34 -20
- spire/xls/XlsArcShape.py +156 -40
- spire/xls/XlsBitmapShape.py +141 -43
- spire/xls/XlsBorder.py +72 -31
- spire/xls/XlsBorderArrayWrapper.py +50 -14
- spire/xls/XlsButtonShape.py +58 -16
- spire/xls/XlsCheckBoxShape.py +72 -18
- spire/xls/XlsComboBoxShape.py +53 -16
- spire/xls/XlsComment.py +108 -30
- spire/xls/XlsDataValidationTable.py +43 -16
- 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 +182 -52
- 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 +767 -318
- spire/xls/XlsObject.py +2 -4
- spire/xls/XlsOvalShape.py +78 -20
- spire/xls/XlsPageSetup.py +67 -34
- spire/xls/XlsPageSetupBase.py +29 -58
- spire/xls/XlsPrstGeomShape.py +29 -10
- spire/xls/XlsRadioButtonShape.py +94 -22
- spire/xls/XlsRange.py +881 -1077
- spire/xls/XlsRectangleShape.py +69 -22
- spire/xls/XlsScrollBarShape.py +78 -18
- spire/xls/XlsShape.py +391 -180
- spire/xls/XlsShapeFill.py +398 -92
- spire/xls/XlsShapeLineFormat.py +201 -44
- spire/xls/XlsSpinnerShape.py +57 -14
- spire/xls/XlsStyle.py +51 -20
- spire/xls/XlsTextBoxShape.py +263 -60
- spire/xls/XlsVPageBreak.py +9 -14
- spire/xls/XlsValidation.py +318 -68
- spire/xls/XlsValidationWrapper.py +217 -49
- spire/xls/XlsWorkbook.py +529 -65
- spire/xls/XlsWorksheet.py +1211 -1128
- spire/xls/XlsWorksheetBase.py +243 -168
- spire/xls/__init__.py +529 -528
- spire/xls/autofilter/AutoFitterOptions.py +84 -0
- spire/xls/autofilter/ColorFilter.py +61 -0
- spire/xls/autofilter/CustomFilter.py +199 -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 +145 -0
- spire/xls/charts/Chart.py +369 -0
- spire/xls/charts/ChartArea.py +57 -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 +612 -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 +538 -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/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/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/RadioButtonCollection.py +139 -0
- spire/xls/collection/RangesCollection.py +555 -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/XlsCommentsCollection.py +116 -0
- spire/xls/collection/XlsDataValidationCollection.py +155 -0
- spire/xls/collection/XlsHPageBreaksCollection.py +87 -0
- spire/xls/collection/XlsHyperLinksCollection.py +104 -0
- spire/xls/collection/XlsRangesCollection.py +1634 -0
- spire/xls/collection/XlsStylesCollection.py +74 -0
- spire/xls/collection/XlsVPageBreaksCollection.py +81 -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 +123 -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 +1155 -0
- spire/xls/conditional_formatting/XlsConditionalFormats.py +679 -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 +136 -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 +104 -0
- spire/xls/pivot_tables/PivotTableStyle.py +76 -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.7.1.dist-info/METADATA +197 -0
- spire_xls-15.7.1.dist-info/RECORD +720 -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/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/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/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/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/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/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/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/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/XlsRangesCollection.py +0 -1566
- spire/xls/XlsStylesCollection.py +0 -73
- spire/xls/XlsVPageBreaksCollection.py +0 -84
- 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/{ButtonShapeCollection.py → collection/ButtonShapeCollection.py} +0 -0
- /spire/xls/{CheckBoxCollection.py → collection/CheckBoxCollection.py} +0 -0
- /spire/xls/{CollectionChangeEventArgs.py → collection/CollectionChangeEventArgs.py} +0 -0
- /spire/xls/{DataConnections.py → collection/DataConnections.py} +0 -0
- /spire/xls/{ExternalLinkCollection.py → collection/ExternalLinkCollection.py} +0 -0
- /spire/xls/{FontsCollection.py → collection/FontsCollection.py} +0 -0
- /spire/xls/{GeomertyAdjustValuesCollection.py → collection/GeomertyAdjustValuesCollection.py} +0 -0
- /spire/xls/{GroupBoxCollection.py → collection/GroupBoxCollection.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/{QueryTableCollection.py → collection/QueryTableCollection.py} +0 -0
- /spire/xls/{RectangleCollection.py → collection/RectangleCollection.py} +0 -0
- /spire/xls/{ScrollBarCollection.py → collection/ScrollBarCollection.py} +0 -0
- /spire/xls/{ShapeCollectionBase.py → collection/ShapeCollectionBase.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/{XlsChartsCollection.py → collection/XlsChartsCollection.py} +0 -0
- /spire/xls/{XlsFontsCollection.py → collection/XlsFontsCollection.py} +0 -0
- /spire/xls/{XlsHeaderFooterShapeCollection.py → collection/XlsHeaderFooterShapeCollection.py} +0 -0
- /spire/xls/{XlsPicturesCollection.py → collection/XlsPicturesCollection.py} +0 -0
- /spire/xls/{XlsWorkbookObjectsCollection.py → collection/XlsWorkbookObjectsCollection.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/{XlsPivotTablesCollection.py → collection/pivot_table/XlsPivotTablesCollection.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.7.1.dist-info}/WHEEL +0 -0
- {spire_xls-15.5.0.dist-info → spire_xls-15.7.1.dist-info}/top_level.txt +0 -0
spire/xls/XlsWorkbook.py
CHANGED
|
@@ -13,7 +13,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
13
13
|
|
|
14
14
|
def CreateTemplateMarkersProcessor(self)->'IMarkersDesigner':
|
|
15
15
|
"""
|
|
16
|
+
Creates and returns a template markers processor for the workbook.
|
|
16
17
|
|
|
18
|
+
Returns:
|
|
19
|
+
IMarkersDesigner: The template markers processor instance.
|
|
17
20
|
"""
|
|
18
21
|
GetDllLibXls().XlsWorkbook_CreateTemplateMarkersProcessor.argtypes=[c_void_p]
|
|
19
22
|
GetDllLibXls().XlsWorkbook_CreateTemplateMarkersProcessor.restype=c_void_p
|
|
@@ -26,12 +29,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
26
29
|
|
|
27
30
|
def Close(self ,Filename:str):
|
|
28
31
|
"""
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
File name in which workbook will be saved if SaveChanges is true.
|
|
34
|
-
</param>
|
|
32
|
+
Closes the workbook and saves changes to the specified file.
|
|
33
|
+
|
|
34
|
+
Args:
|
|
35
|
+
Filename (str): The file name to save changes to.
|
|
35
36
|
"""
|
|
36
37
|
|
|
37
38
|
GetDllLibXls().XlsWorkbook_Close.argtypes=[c_void_p ,c_void_p]
|
|
@@ -41,7 +42,11 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
41
42
|
|
|
42
43
|
def Close(self ,SaveChanges:bool,Filename:str):
|
|
43
44
|
"""
|
|
45
|
+
Closes the workbook, optionally saving changes to the specified file.
|
|
44
46
|
|
|
47
|
+
Args:
|
|
48
|
+
SaveChanges (bool): Whether to save changes before closing.
|
|
49
|
+
Filename (str): The file name to save changes to.
|
|
45
50
|
"""
|
|
46
51
|
|
|
47
52
|
GetDllLibXls().XlsWorkbook_CloseSF.argtypes=[c_void_p ,c_bool,c_void_p]
|
|
@@ -51,16 +56,18 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
51
56
|
|
|
52
57
|
def Close(self ,saveChanges:bool):
|
|
53
58
|
"""
|
|
59
|
+
Closes the workbook, optionally saving changes.
|
|
54
60
|
|
|
61
|
+
Args:
|
|
62
|
+
saveChanges (bool): Whether to save changes before closing.
|
|
55
63
|
"""
|
|
56
|
-
|
|
57
64
|
GetDllLibXls().XlsWorkbook_CloseS.argtypes=[c_void_p ,c_bool]
|
|
58
65
|
CallCFunction(GetDllLibXls().XlsWorkbook_CloseS, self.Ptr, saveChanges)
|
|
59
66
|
|
|
60
67
|
@dispatch
|
|
61
68
|
def Close(self):
|
|
62
69
|
"""
|
|
63
|
-
|
|
70
|
+
Closes the workbook without saving changes.
|
|
64
71
|
"""
|
|
65
72
|
GetDllLibXls().XlsWorkbook_Close1.argtypes=[c_void_p]
|
|
66
73
|
CallCFunction(GetDllLibXls().XlsWorkbook_Close1, self.Ptr)
|
|
@@ -68,7 +75,13 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
68
75
|
|
|
69
76
|
def AddFont(self ,fontToAdd:'IFont')->'IFont':
|
|
70
77
|
"""
|
|
78
|
+
Adds a font to the workbook and returns the new font object.
|
|
71
79
|
|
|
80
|
+
Args:
|
|
81
|
+
fontToAdd (IFont): The font to add.
|
|
82
|
+
|
|
83
|
+
Returns:
|
|
84
|
+
IFont: The added font object.
|
|
72
85
|
"""
|
|
73
86
|
intPtrfontToAdd:c_void_p = fontToAdd.Ptr
|
|
74
87
|
|
|
@@ -81,7 +94,7 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
81
94
|
|
|
82
95
|
def Activate(self):
|
|
83
96
|
"""
|
|
84
|
-
|
|
97
|
+
Activates the workbook window.
|
|
85
98
|
"""
|
|
86
99
|
GetDllLibXls().XlsWorkbook_Activate.argtypes=[c_void_p]
|
|
87
100
|
CallCFunction(GetDllLibXls().XlsWorkbook_Activate, self.Ptr)
|
|
@@ -104,7 +117,13 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
104
117
|
|
|
105
118
|
def PixelsToWidth(self ,pixels:float)->float:
|
|
106
119
|
"""
|
|
120
|
+
Converts a pixel value to a column width value.
|
|
121
|
+
|
|
122
|
+
Args:
|
|
123
|
+
pixels (float): The pixel value to convert.
|
|
107
124
|
|
|
125
|
+
Returns:
|
|
126
|
+
float: The corresponding column width.
|
|
108
127
|
"""
|
|
109
128
|
|
|
110
129
|
GetDllLibXls().XlsWorkbook_PixelsToWidth.argtypes=[c_void_p ,c_double]
|
|
@@ -128,9 +147,14 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
128
147
|
|
|
129
148
|
def DecodeName(self ,name:str)->str:
|
|
130
149
|
"""
|
|
150
|
+
Decodes the specified name string.
|
|
131
151
|
|
|
152
|
+
Args:
|
|
153
|
+
name (str): The name to decode.
|
|
154
|
+
|
|
155
|
+
Returns:
|
|
156
|
+
str: The decoded name string.
|
|
132
157
|
"""
|
|
133
|
-
|
|
134
158
|
GetDllLibXls().XlsWorkbook_DecodeName.argtypes=[c_void_p ,c_void_p]
|
|
135
159
|
GetDllLibXls().XlsWorkbook_DecodeName.restype=c_void_p
|
|
136
160
|
ret = PtrToStr(CallCFunction(GetDllLibXls().XlsWorkbook_DecodeName, self.Ptr, name))
|
|
@@ -140,9 +164,14 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
140
164
|
|
|
141
165
|
def EncodeName(self ,strName:str)->str:
|
|
142
166
|
"""
|
|
167
|
+
Encodes the specified name string.
|
|
168
|
+
|
|
169
|
+
Args:
|
|
170
|
+
strName (str): The name to encode.
|
|
143
171
|
|
|
172
|
+
Returns:
|
|
173
|
+
str: The encoded name string.
|
|
144
174
|
"""
|
|
145
|
-
|
|
146
175
|
GetDllLibXls().XlsWorkbook_EncodeName.argtypes=[c_void_p ,c_void_p]
|
|
147
176
|
GetDllLibXls().XlsWorkbook_EncodeName.restype=c_void_p
|
|
148
177
|
ret = PtrToStr(CallCFunction(GetDllLibXls().XlsWorkbook_EncodeName, self.Ptr, strName))
|
|
@@ -152,7 +181,13 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
152
181
|
|
|
153
182
|
def GetBookIndex(self ,referenceIndex:int)->int:
|
|
154
183
|
"""
|
|
184
|
+
Gets the book index for the specified reference index.
|
|
185
|
+
|
|
186
|
+
Args:
|
|
187
|
+
referenceIndex (int): The reference index to look up.
|
|
155
188
|
|
|
189
|
+
Returns:
|
|
190
|
+
int: The corresponding book index.
|
|
156
191
|
"""
|
|
157
192
|
|
|
158
193
|
GetDllLibXls().XlsWorkbook_GetBookIndex.argtypes=[c_void_p ,c_int]
|
|
@@ -163,7 +198,13 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
163
198
|
|
|
164
199
|
def IsExternalReference(self ,reference:int)->bool:
|
|
165
200
|
"""
|
|
201
|
+
Determines whether the specified reference is an external reference.
|
|
166
202
|
|
|
203
|
+
Args:
|
|
204
|
+
reference (int): The reference to check.
|
|
205
|
+
|
|
206
|
+
Returns:
|
|
207
|
+
bool: True if the reference is external, otherwise False.
|
|
167
208
|
"""
|
|
168
209
|
|
|
169
210
|
GetDllLibXls().XlsWorkbook_IsExternalReference.argtypes=[c_void_p ,c_int]
|
|
@@ -174,7 +215,13 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
174
215
|
|
|
175
216
|
def IsFormatted(self ,xfIndex:int)->bool:
|
|
176
217
|
"""
|
|
218
|
+
Checks if the specified XF index is formatted.
|
|
219
|
+
|
|
220
|
+
Args:
|
|
221
|
+
xfIndex (int): The XF index to check.
|
|
177
222
|
|
|
223
|
+
Returns:
|
|
224
|
+
bool: True if formatted, otherwise False.
|
|
178
225
|
"""
|
|
179
226
|
|
|
180
227
|
GetDllLibXls().XlsWorkbook_IsFormatted.argtypes=[c_void_p ,c_int]
|
|
@@ -184,7 +231,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
184
231
|
|
|
185
232
|
def GetMaxDigitWidth(self)->float:
|
|
186
233
|
"""
|
|
234
|
+
Gets the maximum digit width for the workbook.
|
|
187
235
|
|
|
236
|
+
Returns:
|
|
237
|
+
float: The maximum digit width.
|
|
188
238
|
"""
|
|
189
239
|
GetDllLibXls().XlsWorkbook_GetMaxDigitWidth.argtypes=[c_void_p]
|
|
190
240
|
GetDllLibXls().XlsWorkbook_GetMaxDigitWidth.restype=c_double
|
|
@@ -193,7 +243,7 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
193
243
|
|
|
194
244
|
def Dispose(self):
|
|
195
245
|
"""
|
|
196
|
-
|
|
246
|
+
Releases all resources used by the workbook.
|
|
197
247
|
"""
|
|
198
248
|
GetDllLibXls().XlsWorkbook_Dispose.argtypes=[c_void_p]
|
|
199
249
|
CallCFunction(GetDllLibXls().XlsWorkbook_Dispose, self.Ptr)
|
|
@@ -201,7 +251,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
201
251
|
@property
|
|
202
252
|
def IsVScrollBarVisible(self)->bool:
|
|
203
253
|
"""
|
|
254
|
+
Indicates whether the vertical scroll bar is visible in the workbook window.
|
|
204
255
|
|
|
256
|
+
Returns:
|
|
257
|
+
bool: True if the vertical scroll bar is visible, otherwise False.
|
|
205
258
|
"""
|
|
206
259
|
GetDllLibXls().XlsWorkbook_get_IsVScrollBarVisible.argtypes=[c_void_p]
|
|
207
260
|
GetDllLibXls().XlsWorkbook_get_IsVScrollBarVisible.restype=c_bool
|
|
@@ -216,7 +269,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
216
269
|
@property
|
|
217
270
|
def Loading(self)->bool:
|
|
218
271
|
"""
|
|
272
|
+
Indicates whether the workbook is currently loading.
|
|
219
273
|
|
|
274
|
+
Returns:
|
|
275
|
+
bool: True if the workbook is loading, otherwise False.
|
|
220
276
|
"""
|
|
221
277
|
GetDllLibXls().XlsWorkbook_get_Loading.argtypes=[c_void_p]
|
|
222
278
|
GetDllLibXls().XlsWorkbook_get_Loading.restype=c_bool
|
|
@@ -226,7 +282,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
226
282
|
@property
|
|
227
283
|
def IsWindowProtection(self)->bool:
|
|
228
284
|
"""
|
|
285
|
+
Indicates whether window protection is enabled for the workbook.
|
|
229
286
|
|
|
287
|
+
Returns:
|
|
288
|
+
bool: True if window protection is enabled, otherwise False.
|
|
230
289
|
"""
|
|
231
290
|
GetDllLibXls().XlsWorkbook_get_IsWindowProtection.argtypes=[c_void_p]
|
|
232
291
|
GetDllLibXls().XlsWorkbook_get_IsWindowProtection.restype=c_bool
|
|
@@ -236,7 +295,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
236
295
|
@property
|
|
237
296
|
def MaxColumnCount(self)->int:
|
|
238
297
|
"""
|
|
298
|
+
Gets the maximum number of columns supported by the workbook.
|
|
239
299
|
|
|
300
|
+
Returns:
|
|
301
|
+
int: The maximum column count.
|
|
240
302
|
"""
|
|
241
303
|
GetDllLibXls().XlsWorkbook_get_MaxColumnCount.argtypes=[c_void_p]
|
|
242
304
|
GetDllLibXls().XlsWorkbook_get_MaxColumnCount.restype=c_int
|
|
@@ -246,7 +308,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
246
308
|
@property
|
|
247
309
|
def MaxRowCount(self)->int:
|
|
248
310
|
"""
|
|
311
|
+
Gets the maximum number of rows supported by the workbook.
|
|
249
312
|
|
|
313
|
+
Returns:
|
|
314
|
+
int: The maximum row count.
|
|
250
315
|
"""
|
|
251
316
|
GetDllLibXls().XlsWorkbook_get_MaxRowCount.argtypes=[c_void_p]
|
|
252
317
|
GetDllLibXls().XlsWorkbook_get_MaxRowCount.restype=c_int
|
|
@@ -256,7 +321,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
256
321
|
@property
|
|
257
322
|
def MaxDigitWidth(self)->float:
|
|
258
323
|
"""
|
|
324
|
+
Gets the maximum digit width used in the workbook.
|
|
259
325
|
|
|
326
|
+
Returns:
|
|
327
|
+
float: The maximum digit width.
|
|
260
328
|
"""
|
|
261
329
|
GetDllLibXls().XlsWorkbook_get_MaxDigitWidth.argtypes=[c_void_p]
|
|
262
330
|
GetDllLibXls().XlsWorkbook_get_MaxDigitWidth.restype=c_double
|
|
@@ -267,7 +335,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
267
335
|
|
|
268
336
|
def PasswordToOpen(self)->str:
|
|
269
337
|
"""
|
|
338
|
+
Gets the password required to open the workbook, if set.
|
|
270
339
|
|
|
340
|
+
Returns:
|
|
341
|
+
str: The password to open the workbook.
|
|
271
342
|
"""
|
|
272
343
|
GetDllLibXls().XlsWorkbook_get_PasswordToOpen.argtypes=[c_void_p]
|
|
273
344
|
GetDllLibXls().XlsWorkbook_get_PasswordToOpen.restype=c_void_p
|
|
@@ -283,7 +354,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
283
354
|
@property
|
|
284
355
|
def ReadOnly(self)->bool:
|
|
285
356
|
"""
|
|
357
|
+
Indicates whether the workbook is read-only.
|
|
286
358
|
|
|
359
|
+
Returns:
|
|
360
|
+
bool: True if the workbook is read-only, otherwise False.
|
|
287
361
|
"""
|
|
288
362
|
GetDllLibXls().XlsWorkbook_get_ReadOnly.argtypes=[c_void_p]
|
|
289
363
|
GetDllLibXls().XlsWorkbook_get_ReadOnly.restype=c_bool
|
|
@@ -293,7 +367,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
293
367
|
@property
|
|
294
368
|
def ReadOnlyRecommended(self)->bool:
|
|
295
369
|
"""
|
|
370
|
+
Indicates whether the workbook is read-only recommended.
|
|
296
371
|
|
|
372
|
+
Returns:
|
|
373
|
+
bool: True if the workbook is read-only recommended, otherwise False.
|
|
297
374
|
"""
|
|
298
375
|
GetDllLibXls().XlsWorkbook_get_ReadOnlyRecommended.argtypes=[c_void_p]
|
|
299
376
|
GetDllLibXls().XlsWorkbook_get_ReadOnlyRecommended.restype=c_bool
|
|
@@ -309,7 +386,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
309
386
|
|
|
310
387
|
def RowSeparator(self)->str:
|
|
311
388
|
"""
|
|
389
|
+
Gets the row separator used in the workbook.
|
|
312
390
|
|
|
391
|
+
Returns:
|
|
392
|
+
str: The row separator.
|
|
313
393
|
"""
|
|
314
394
|
GetDllLibXls().XlsWorkbook_get_RowSeparator.argtypes=[c_void_p]
|
|
315
395
|
GetDllLibXls().XlsWorkbook_get_RowSeparator.restype=c_void_p
|
|
@@ -321,7 +401,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
321
401
|
|
|
322
402
|
def Styles(self)->'IStyles':
|
|
323
403
|
"""
|
|
404
|
+
Gets the collection of styles in the workbook.
|
|
324
405
|
|
|
406
|
+
Returns:
|
|
407
|
+
IStyles: The collection of styles.
|
|
325
408
|
"""
|
|
326
409
|
GetDllLibXls().XlsWorkbook_get_Styles.argtypes=[c_void_p]
|
|
327
410
|
GetDllLibXls().XlsWorkbook_get_Styles.restype=c_void_p
|
|
@@ -334,7 +417,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
334
417
|
|
|
335
418
|
def TabSheets(self)->'ITabSheets':
|
|
336
419
|
"""
|
|
420
|
+
Gets the collection of tab sheets in the workbook.
|
|
337
421
|
|
|
422
|
+
Returns:
|
|
423
|
+
ITabSheets: The collection of tab sheets.
|
|
338
424
|
"""
|
|
339
425
|
GetDllLibXls().XlsWorkbook_get_TabSheets.argtypes=[c_void_p]
|
|
340
426
|
GetDllLibXls().XlsWorkbook_get_TabSheets.restype=c_void_p
|
|
@@ -346,7 +432,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
346
432
|
@property
|
|
347
433
|
def ThrowOnUnknownNames(self)->bool:
|
|
348
434
|
"""
|
|
435
|
+
Indicates whether the workbook should throw an exception when encountering unknown names.
|
|
349
436
|
|
|
437
|
+
Returns:
|
|
438
|
+
bool: True if the workbook should throw an exception, otherwise False.
|
|
350
439
|
"""
|
|
351
440
|
GetDllLibXls().XlsWorkbook_get_ThrowOnUnknownNames.argtypes=[c_void_p]
|
|
352
441
|
GetDllLibXls().XlsWorkbook_get_ThrowOnUnknownNames.restype=c_bool
|
|
@@ -361,7 +450,13 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
361
450
|
|
|
362
451
|
def ContainsFont(self ,font:'XlsFont')->bool:
|
|
363
452
|
"""
|
|
453
|
+
Checks if the workbook contains a specific font.
|
|
364
454
|
|
|
455
|
+
Args:
|
|
456
|
+
font (XlsFont): The font to check for.
|
|
457
|
+
|
|
458
|
+
Returns:
|
|
459
|
+
bool: True if the font is found, otherwise False.
|
|
365
460
|
"""
|
|
366
461
|
intPtrfont:c_void_p = font.Ptr
|
|
367
462
|
|
|
@@ -373,7 +468,13 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
373
468
|
|
|
374
469
|
def FileWidthToPixels(self ,fileWidth:float)->float:
|
|
375
470
|
"""
|
|
471
|
+
Converts a file width value to a pixel value.
|
|
472
|
+
|
|
473
|
+
Args:
|
|
474
|
+
fileWidth (float): The file width value to convert.
|
|
376
475
|
|
|
476
|
+
Returns:
|
|
477
|
+
float: The corresponding pixel value.
|
|
377
478
|
"""
|
|
378
479
|
|
|
379
480
|
GetDllLibXls().XlsWorkbook_FileWidthToPixels.argtypes=[c_void_p ,c_double]
|
|
@@ -384,7 +485,13 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
384
485
|
|
|
385
486
|
def WidthToFileWidth(self ,width:float)->float:
|
|
386
487
|
"""
|
|
488
|
+
Converts a pixel width value to a file width value.
|
|
489
|
+
|
|
490
|
+
Args:
|
|
491
|
+
width (float): The pixel width value to convert.
|
|
387
492
|
|
|
493
|
+
Returns:
|
|
494
|
+
float: The corresponding file width.
|
|
388
495
|
"""
|
|
389
496
|
|
|
390
497
|
GetDllLibXls().XlsWorkbook_WidthToFileWidth.argtypes=[c_void_p ,c_double]
|
|
@@ -394,7 +501,7 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
394
501
|
|
|
395
502
|
def CopyToClipboard(self):
|
|
396
503
|
"""
|
|
397
|
-
|
|
504
|
+
Copies the workbook to the clipboard.
|
|
398
505
|
"""
|
|
399
506
|
GetDllLibXls().XlsWorkbook_CopyToClipboard.argtypes=[c_void_p]
|
|
400
507
|
CallCFunction(GetDllLibXls().XlsWorkbook_CopyToClipboard, self.Ptr)
|
|
@@ -402,7 +509,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
402
509
|
|
|
403
510
|
def SetWriteProtectionPassword(self ,password:str):
|
|
404
511
|
"""
|
|
512
|
+
Sets the write protection password for the workbook.
|
|
405
513
|
|
|
514
|
+
Args:
|
|
515
|
+
password (str): The password to set for write protection.
|
|
406
516
|
"""
|
|
407
517
|
|
|
408
518
|
GetDllLibXls().XlsWorkbook_SetWriteProtectionPassword.argtypes=[c_void_p ,c_void_p]
|
|
@@ -411,7 +521,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
411
521
|
|
|
412
522
|
def Clone(self)->'IWorkbook':
|
|
413
523
|
"""
|
|
524
|
+
Clones the workbook and returns a new workbook object.
|
|
414
525
|
|
|
526
|
+
Returns:
|
|
527
|
+
IWorkbook: A new workbook object that is a copy of the current workbook.
|
|
415
528
|
"""
|
|
416
529
|
GetDllLibXls().XlsWorkbook_Clone.argtypes=[c_void_p]
|
|
417
530
|
GetDllLibXls().XlsWorkbook_Clone.restype=c_void_p
|
|
@@ -423,7 +536,7 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
423
536
|
@dispatch
|
|
424
537
|
def Unprotect(self):
|
|
425
538
|
"""
|
|
426
|
-
|
|
539
|
+
Removes write protection from the workbook.
|
|
427
540
|
"""
|
|
428
541
|
GetDllLibXls().XlsWorkbook_Unprotect.argtypes=[c_void_p]
|
|
429
542
|
CallCFunction(GetDllLibXls().XlsWorkbook_Unprotect, self.Ptr)
|
|
@@ -432,7 +545,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
432
545
|
|
|
433
546
|
def Unprotect(self ,password:str):
|
|
434
547
|
"""
|
|
548
|
+
Removes write protection from the workbook using a specified password.
|
|
435
549
|
|
|
550
|
+
Args:
|
|
551
|
+
password (str): The password used to remove write protection.
|
|
436
552
|
"""
|
|
437
553
|
|
|
438
554
|
GetDllLibXls().XlsWorkbook_UnprotectP.argtypes=[c_void_p ,c_void_p]
|
|
@@ -442,7 +558,11 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
442
558
|
|
|
443
559
|
def Protect(self ,bIsProtectWindow:bool,bIsProtectContent:bool):
|
|
444
560
|
"""
|
|
561
|
+
Protects the workbook with specified window and content protection settings.
|
|
445
562
|
|
|
563
|
+
Args:
|
|
564
|
+
bIsProtectWindow (bool): Whether to protect the workbook window.
|
|
565
|
+
bIsProtectContent (bool): Whether to protect the workbook content.
|
|
446
566
|
"""
|
|
447
567
|
|
|
448
568
|
GetDllLibXls().XlsWorkbook_Protect.argtypes=[c_void_p ,c_bool,c_bool]
|
|
@@ -452,7 +572,12 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
452
572
|
|
|
453
573
|
def Protect(self ,bIsProtectWindow:bool,bIsProtectContent:bool,password:str):
|
|
454
574
|
"""
|
|
575
|
+
Protects the workbook with specified window and content protection settings, using a password.
|
|
455
576
|
|
|
577
|
+
Args:
|
|
578
|
+
bIsProtectWindow (bool): Whether to protect the workbook window.
|
|
579
|
+
bIsProtectContent (bool): Whether to protect the workbook content.
|
|
580
|
+
password (str): The password used to protect the workbook.
|
|
456
581
|
"""
|
|
457
582
|
|
|
458
583
|
GetDllLibXls().XlsWorkbook_ProtectBBP.argtypes=[c_void_p ,c_bool,c_bool,c_void_p]
|
|
@@ -461,7 +586,11 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
461
586
|
|
|
462
587
|
def SetSeparators(self ,argumentsSeparator:int,arrayRowsSeparator:int):
|
|
463
588
|
"""
|
|
589
|
+
Sets the separators for the workbook.
|
|
464
590
|
|
|
591
|
+
Args:
|
|
592
|
+
argumentsSeparator (int): The separator for arguments.
|
|
593
|
+
arrayRowsSeparator (int): The separator for array rows.
|
|
465
594
|
"""
|
|
466
595
|
|
|
467
596
|
GetDllLibXls().XlsWorkbook_SetSeparators.argtypes=[c_void_p ,c_void_p,c_void_p]
|
|
@@ -471,7 +600,11 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
471
600
|
|
|
472
601
|
def SaveAs(self ,stream:Stream,separator:str):
|
|
473
602
|
"""
|
|
603
|
+
Saves the workbook to a stream using a specified separator.
|
|
474
604
|
|
|
605
|
+
Args:
|
|
606
|
+
stream (Stream): The stream to save the workbook to.
|
|
607
|
+
separator (str): The separator to use for the workbook.
|
|
475
608
|
"""
|
|
476
609
|
intPtrstream:c_void_p = stream.Ptr
|
|
477
610
|
|
|
@@ -482,7 +615,11 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
482
615
|
|
|
483
616
|
def SaveAs(self ,fileName:str,separator:str):
|
|
484
617
|
"""
|
|
618
|
+
Saves the workbook to a file using a specified separator.
|
|
485
619
|
|
|
620
|
+
Args:
|
|
621
|
+
fileName (str): The name of the file to save the workbook to.
|
|
622
|
+
separator (str): The separator to use for the workbook.
|
|
486
623
|
"""
|
|
487
624
|
|
|
488
625
|
GetDllLibXls().XlsWorkbook_SaveAsFS.argtypes=[c_void_p ,c_void_p,c_void_p]
|
|
@@ -492,7 +629,14 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
492
629
|
|
|
493
630
|
def SaveAsImages(self ,dpiX:float,dpiY:float)->List[Stream]:
|
|
494
631
|
"""
|
|
632
|
+
Saves the workbook as images with specified DPI values.
|
|
633
|
+
|
|
634
|
+
Args:
|
|
635
|
+
dpiX (float): The horizontal DPI value.
|
|
636
|
+
dpiY (float): The vertical DPI value.
|
|
495
637
|
|
|
638
|
+
Returns:
|
|
639
|
+
List[Stream]: A list of Stream objects containing the saved images.
|
|
496
640
|
"""
|
|
497
641
|
|
|
498
642
|
GetDllLibXls().XlsWorkbook_SaveAsImages.argtypes=[c_void_p ,c_float,c_float]
|
|
@@ -506,7 +650,15 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
506
650
|
|
|
507
651
|
def SaveAsImages(self ,sheetIndex:int,dpiX:float,dpiY:float)->Stream:
|
|
508
652
|
"""
|
|
653
|
+
Saves the specified sheet of the workbook as an image with specified DPI values.
|
|
509
654
|
|
|
655
|
+
Args:
|
|
656
|
+
sheetIndex (int): The index of the sheet to save.
|
|
657
|
+
dpiX (float): The horizontal DPI value.
|
|
658
|
+
dpiY (float): The vertical DPI value.
|
|
659
|
+
|
|
660
|
+
Returns:
|
|
661
|
+
Stream: A Stream object containing the saved image.
|
|
510
662
|
"""
|
|
511
663
|
|
|
512
664
|
GetDllLibXls().XlsWorkbook_SaveAsImagesSDD.argtypes=[c_void_p ,c_int,c_float,c_float]
|
|
@@ -520,7 +672,19 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
520
672
|
|
|
521
673
|
def SaveAsImages(self ,sheetIndex:int,firstRow:int,firstColumn:int,lastRow:int,lastColumn:int,dpiX:float,dpiY:float)->Stream:
|
|
522
674
|
"""
|
|
675
|
+
Saves the specified range of the workbook as an image with specified DPI values.
|
|
676
|
+
|
|
677
|
+
Args:
|
|
678
|
+
sheetIndex (int): The index of the sheet to save.
|
|
679
|
+
firstRow (int): The first row of the range to save.
|
|
680
|
+
firstColumn (int): The first column of the range to save.
|
|
681
|
+
lastRow (int): The last row of the range to save.
|
|
682
|
+
lastColumn (int): The last column of the range to save.
|
|
683
|
+
dpiX (float): The horizontal DPI value.
|
|
684
|
+
dpiY (float): The vertical DPI value.
|
|
523
685
|
|
|
686
|
+
Returns:
|
|
687
|
+
Stream: A Stream object containing the saved image.
|
|
524
688
|
"""
|
|
525
689
|
|
|
526
690
|
GetDllLibXls().XlsWorkbook_SaveAsImagesSFFLLDD.argtypes=[c_void_p ,c_int,c_int,c_int,c_int,c_int,c_float,c_float]
|
|
@@ -533,7 +697,15 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
533
697
|
|
|
534
698
|
def SaveAsEmfStream(self ,sheetIndex:int,EmfStream:'Stream',firstRow:int,firstColumn:int,lastRow:int,lastColumn:int):
|
|
535
699
|
"""
|
|
700
|
+
Saves the specified range of the workbook as an EMF stream.
|
|
536
701
|
|
|
702
|
+
Args:
|
|
703
|
+
sheetIndex (int): The index of the sheet to save.
|
|
704
|
+
EmfStream (Stream): The stream to save the EMF image to.
|
|
705
|
+
firstRow (int): The first row of the range to save.
|
|
706
|
+
firstColumn (int): The first column of the range to save.
|
|
707
|
+
lastRow (int): The last row of the range to save.
|
|
708
|
+
lastColumn (int): The last column of the range to save.
|
|
537
709
|
"""
|
|
538
710
|
intPtrEmfStream:c_void_p = EmfStream.Ptr
|
|
539
711
|
|
|
@@ -543,7 +715,13 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
543
715
|
|
|
544
716
|
def SaveChartAsEmfImage(self ,worksheet:'Worksheet',chartIndex:int,imageOrPrintOptions:'ConverterSetting',emfStream:'Stream')->'Stream':
|
|
545
717
|
"""
|
|
718
|
+
Saves the specified chart of the worksheet as an EMF image.
|
|
546
719
|
|
|
720
|
+
Args:
|
|
721
|
+
worksheet (Worksheet): The worksheet containing the chart.
|
|
722
|
+
chartIndex (int): The index of the chart to save.
|
|
723
|
+
imageOrPrintOptions (ConverterSetting): The options for the image or print.
|
|
724
|
+
emfStream (Stream): The stream to save the EMF image to.
|
|
547
725
|
"""
|
|
548
726
|
intPtrworksheet:c_void_p = worksheet.Ptr
|
|
549
727
|
intPtrimageOrPrintOptions:c_void_p = imageOrPrintOptions.Ptr
|
|
@@ -560,7 +738,14 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
560
738
|
|
|
561
739
|
def SaveChartAsImage(self ,worksheet:Worksheet,imageOrPrintOptions:ConverterSetting)->List[Stream]:
|
|
562
740
|
"""
|
|
741
|
+
Saves the specified chart of the worksheet as an image.
|
|
563
742
|
|
|
743
|
+
Args:
|
|
744
|
+
worksheet (Worksheet): The worksheet containing the chart.
|
|
745
|
+
imageOrPrintOptions (ConverterSetting): The options for the image or print.
|
|
746
|
+
|
|
747
|
+
Returns:
|
|
748
|
+
List[Stream]: A list of Stream objects containing the saved images.
|
|
564
749
|
"""
|
|
565
750
|
intPtrworksheet:c_void_p = worksheet.Ptr
|
|
566
751
|
intPtrimageOrPrintOptions:c_void_p = imageOrPrintOptions.Ptr
|
|
@@ -576,7 +761,14 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
576
761
|
|
|
577
762
|
def SaveChartAsImage(self ,chartSheet:ChartSheet,imageOrPrintOptions:ConverterSetting)->Stream:
|
|
578
763
|
"""
|
|
764
|
+
Saves the specified chart of the worksheet as an image.
|
|
765
|
+
|
|
766
|
+
Args:
|
|
767
|
+
chartSheet (ChartSheet): The chart sheet to save.
|
|
768
|
+
imageOrPrintOptions (ConverterSetting): The options for the image or print.
|
|
579
769
|
|
|
770
|
+
Returns:
|
|
771
|
+
Stream: A Stream object containing the saved image.
|
|
580
772
|
"""
|
|
581
773
|
intPtrchartSheet:c_void_p = chartSheet.Ptr
|
|
582
774
|
intPtrimageOrPrintOptions:c_void_p = imageOrPrintOptions.Ptr
|
|
@@ -592,6 +784,12 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
592
784
|
|
|
593
785
|
def SaveChartAsImage(self ,worksheet:Worksheet,charIndex:int,imageOrPrintOptions:ConverterSetting)->Stream:
|
|
594
786
|
"""
|
|
787
|
+
Saves the specified chart of the worksheet as an image.
|
|
788
|
+
|
|
789
|
+
Args:
|
|
790
|
+
worksheet (Worksheet): The worksheet containing the chart.
|
|
791
|
+
charIndex (int): The index of the chart to save.
|
|
792
|
+
imageOrPrintOptions (ConverterSetting): The options for the image or print.
|
|
595
793
|
|
|
596
794
|
"""
|
|
597
795
|
intPtrworksheet:c_void_p = worksheet.Ptr
|
|
@@ -608,10 +806,16 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
608
806
|
|
|
609
807
|
def FindOne(self ,findValue:float,flags:FindType)->IXLSRange:
|
|
610
808
|
"""
|
|
809
|
+
Finds a range in the workbook that contains the specified value.
|
|
611
810
|
|
|
811
|
+
Args:
|
|
812
|
+
findValue (float): The value to find.
|
|
813
|
+
flags (FindType): The flags for the search.
|
|
814
|
+
|
|
815
|
+
Returns:
|
|
816
|
+
IXLSRange: The range that contains the specified value.
|
|
612
817
|
"""
|
|
613
818
|
enumflags:c_int = flags.value
|
|
614
|
-
|
|
615
819
|
GetDllLibXls().XlsWorkbook_FindOne.argtypes=[c_void_p ,c_double,c_int]
|
|
616
820
|
GetDllLibXls().XlsWorkbook_FindOne.restype=c_void_p
|
|
617
821
|
intPtr = CallCFunction(GetDllLibXls().XlsWorkbook_FindOne, self.Ptr, findValue,enumflags)
|
|
@@ -623,7 +827,14 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
623
827
|
|
|
624
828
|
def FindOne(self ,findValue:str,flags:FindType)->IXLSRange:
|
|
625
829
|
"""
|
|
830
|
+
Finds a range in the workbook that contains the specified value.
|
|
831
|
+
|
|
832
|
+
Args:
|
|
833
|
+
findValue (str): The value to find.
|
|
834
|
+
flags (FindType): The flags for the search.
|
|
626
835
|
|
|
836
|
+
Returns:
|
|
837
|
+
IXLSRange: The range that contains the specified value.
|
|
627
838
|
"""
|
|
628
839
|
enumflags:c_int = flags.value
|
|
629
840
|
|
|
@@ -638,7 +849,13 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
638
849
|
|
|
639
850
|
def FindOne(self ,findValue:bool)->IXLSRange:
|
|
640
851
|
"""
|
|
852
|
+
Finds a range in the workbook that contains the specified value.
|
|
641
853
|
|
|
854
|
+
Args:
|
|
855
|
+
findValue (bool): The value to find.
|
|
856
|
+
|
|
857
|
+
Returns:
|
|
858
|
+
IXLSRange: The range that contains the specified value.
|
|
642
859
|
"""
|
|
643
860
|
|
|
644
861
|
GetDllLibXls().XlsWorkbook_FindOneF.argtypes=[c_void_p ,c_bool]
|
|
@@ -652,7 +869,13 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
652
869
|
|
|
653
870
|
def FindOne(self ,findValue:DateTime)->IXLSRange:
|
|
654
871
|
"""
|
|
872
|
+
Finds a range in the workbook that contains the specified value.
|
|
873
|
+
|
|
874
|
+
Args:
|
|
875
|
+
findValue (DateTime): The value to find.
|
|
655
876
|
|
|
877
|
+
Returns:
|
|
878
|
+
IXLSRange: The range that contains the specified value.
|
|
656
879
|
"""
|
|
657
880
|
intPtrfindValue:c_void_p = findValue.Ptr
|
|
658
881
|
|
|
@@ -667,7 +890,13 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
667
890
|
|
|
668
891
|
def FindOne(self ,findValue:TimeSpan)->IXLSRange:
|
|
669
892
|
"""
|
|
893
|
+
Finds a range in the workbook that contains the specified value.
|
|
894
|
+
|
|
895
|
+
Args:
|
|
896
|
+
findValue (TimeSpan): The value to find.
|
|
670
897
|
|
|
898
|
+
Returns:
|
|
899
|
+
IXLSRange: The range that contains the specified value.
|
|
671
900
|
"""
|
|
672
901
|
intPtrfindValue:c_void_p = findValue.Ptr
|
|
673
902
|
|
|
@@ -691,6 +920,7 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
691
920
|
# intPtr = CallCFunction(GetDllLibXls().XlsWorkbook_FindAll, self.Ptr, findValue,enumflags)
|
|
692
921
|
# ret = None if intPtr==None else ListCellRanges(intPtr)
|
|
693
922
|
# return ret
|
|
923
|
+
#
|
|
694
924
|
|
|
695
925
|
|
|
696
926
|
# @dispatch
|
|
@@ -756,7 +986,11 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
756
986
|
|
|
757
987
|
def Replace(self ,oldValue:str,newValue:str):
|
|
758
988
|
"""
|
|
989
|
+
Replaces all occurrences of a specified value with a new value in the workbook.
|
|
759
990
|
|
|
991
|
+
Args:
|
|
992
|
+
oldValue (str): The value to replace.
|
|
993
|
+
newValue (str): The new value.
|
|
760
994
|
"""
|
|
761
995
|
|
|
762
996
|
GetDllLibXls().XlsWorkbook_Replace.argtypes=[c_void_p ,c_void_p,c_void_p]
|
|
@@ -766,7 +1000,11 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
766
1000
|
|
|
767
1001
|
def Replace(self ,oldValue:str,newValue:DateTime):
|
|
768
1002
|
"""
|
|
1003
|
+
Replaces all occurrences of a specified value with a new value in the workbook.
|
|
769
1004
|
|
|
1005
|
+
Args:
|
|
1006
|
+
oldValue (str): The value to replace.
|
|
1007
|
+
newValue (DateTime): The new value.
|
|
770
1008
|
"""
|
|
771
1009
|
intPtrnewValue:c_void_p = newValue.Ptr
|
|
772
1010
|
|
|
@@ -777,7 +1015,11 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
777
1015
|
|
|
778
1016
|
def Replace(self ,oldValue:str,newValue:float):
|
|
779
1017
|
"""
|
|
1018
|
+
Replaces all occurrences of a specified value with a new value in the workbook.
|
|
780
1019
|
|
|
1020
|
+
Args:
|
|
1021
|
+
oldValue (str): The value to replace.
|
|
1022
|
+
newValue (float): The new value.
|
|
781
1023
|
"""
|
|
782
1024
|
|
|
783
1025
|
GetDllLibXls().XlsWorkbook_ReplaceON1.argtypes=[c_void_p ,c_void_p,c_double]
|
|
@@ -787,7 +1029,12 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
787
1029
|
|
|
788
1030
|
def Replace(self ,oldValue:str,newValues:List[str],isVertical:bool):
|
|
789
1031
|
"""
|
|
1032
|
+
Replaces all occurrences of a specified value with a new value in the workbook.
|
|
790
1033
|
|
|
1034
|
+
Args:
|
|
1035
|
+
oldValue (str): The value to replace.
|
|
1036
|
+
newValues (List[str]): The new values.
|
|
1037
|
+
isVertical (bool): Whether the new values are in a vertical format.
|
|
791
1038
|
"""
|
|
792
1039
|
#arraynewValues:ArrayTypenewValues = ""
|
|
793
1040
|
countnewValues = len(newValues)
|
|
@@ -804,7 +1051,12 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
804
1051
|
|
|
805
1052
|
def Replace(self ,oldValue:str,newValues:List[int],isVertical:bool):
|
|
806
1053
|
"""
|
|
1054
|
+
Replaces all occurrences of a specified value with a new value in the workbook.
|
|
807
1055
|
|
|
1056
|
+
Args:
|
|
1057
|
+
oldValue (str): The value to replace.
|
|
1058
|
+
newValues (List[int]): The new values.
|
|
1059
|
+
isVertical (bool): Whether the new values are in a vertical format.
|
|
808
1060
|
"""
|
|
809
1061
|
#arraynewValues:ArrayTypenewValues = ""
|
|
810
1062
|
countnewValues = len(newValues)
|
|
@@ -821,7 +1073,12 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
821
1073
|
|
|
822
1074
|
def Replace(self ,oldValue:str,newValues:List[float],isVertical:bool):
|
|
823
1075
|
"""
|
|
1076
|
+
Replaces all occurrences of a specified value with a new value in the workbook.
|
|
824
1077
|
|
|
1078
|
+
Args:
|
|
1079
|
+
oldValue (str): The value to replace.
|
|
1080
|
+
newValues (List[float]): The new values.
|
|
1081
|
+
isVertical (bool): Whether the new values are in a vertical format.
|
|
825
1082
|
"""
|
|
826
1083
|
#arraynewValues:ArrayTypenewValues = ""
|
|
827
1084
|
countnewValues = len(newValues)
|
|
@@ -862,7 +1119,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
862
1119
|
|
|
863
1120
|
def CreateFont(self)->IFont:
|
|
864
1121
|
"""
|
|
1122
|
+
Creates a new font object.
|
|
865
1123
|
|
|
1124
|
+
Returns:
|
|
1125
|
+
IFont: The new font object.
|
|
866
1126
|
"""
|
|
867
1127
|
GetDllLibXls().XlsWorkbook_CreateFont.argtypes=[c_void_p]
|
|
868
1128
|
GetDllLibXls().XlsWorkbook_CreateFont.restype=c_void_p
|
|
@@ -875,7 +1135,13 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
875
1135
|
|
|
876
1136
|
def CreateFont(self ,nativeFont:Font)->IFont:
|
|
877
1137
|
"""
|
|
1138
|
+
Creates a new font object using a native font.
|
|
1139
|
+
|
|
1140
|
+
Args:
|
|
1141
|
+
nativeFont (Font): The native font to use.
|
|
878
1142
|
|
|
1143
|
+
Returns:
|
|
1144
|
+
IFont: The new font object.
|
|
879
1145
|
"""
|
|
880
1146
|
intPtrnativeFont:c_void_p = nativeFont.Ptr
|
|
881
1147
|
|
|
@@ -890,7 +1156,13 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
890
1156
|
|
|
891
1157
|
def CreateFont(self ,baseFont:IFont)->IFont:
|
|
892
1158
|
"""
|
|
1159
|
+
Creates a new font object using a base font.
|
|
893
1160
|
|
|
1161
|
+
Args:
|
|
1162
|
+
baseFont (IFont): The base font to use.
|
|
1163
|
+
|
|
1164
|
+
Returns:
|
|
1165
|
+
IFont: The new font object.
|
|
894
1166
|
"""
|
|
895
1167
|
intPtrbaseFont:c_void_p = baseFont.Ptr
|
|
896
1168
|
|
|
@@ -902,13 +1174,18 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
902
1174
|
|
|
903
1175
|
|
|
904
1176
|
@dispatch
|
|
905
|
-
|
|
906
1177
|
def CreateFont(self ,baseFont:IFont,bAddToCollection:bool)->IFont:
|
|
907
1178
|
"""
|
|
1179
|
+
Creates a new font based on an existing font, optionally adding it to the workbook's font collection.
|
|
1180
|
+
|
|
1181
|
+
Args:
|
|
1182
|
+
baseFont (IFont): The base font to copy properties from.
|
|
1183
|
+
bAddToCollection (bool): Whether to add the new font to the workbook's font collection.
|
|
908
1184
|
|
|
1185
|
+
Returns:
|
|
1186
|
+
IFont: The newly created font.
|
|
909
1187
|
"""
|
|
910
1188
|
intPtrbaseFont:c_void_p = baseFont.Ptr
|
|
911
|
-
|
|
912
1189
|
GetDllLibXls().XlsWorkbook_CreateFontBB.argtypes=[c_void_p ,c_void_p,c_bool]
|
|
913
1190
|
GetDllLibXls().XlsWorkbook_CreateFontBB.restype=c_void_p
|
|
914
1191
|
intPtr = CallCFunction(GetDllLibXls().XlsWorkbook_CreateFontBB, self.Ptr, intPtrbaseFont,bAddToCollection)
|
|
@@ -917,13 +1194,17 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
917
1194
|
|
|
918
1195
|
|
|
919
1196
|
@dispatch
|
|
920
|
-
|
|
921
1197
|
def SetColorOrGetNearest(self ,color:Color)->ExcelColors:
|
|
922
1198
|
"""
|
|
1199
|
+
Sets a color in the workbook's palette or returns the nearest matching color if the exact color is not available.
|
|
1200
|
+
|
|
1201
|
+
Args:
|
|
1202
|
+
color (Color): The color to set or find nearest match for.
|
|
923
1203
|
|
|
1204
|
+
Returns:
|
|
1205
|
+
ExcelColors: The nearest matching Excel color.
|
|
924
1206
|
"""
|
|
925
1207
|
intPtrcolor:c_void_p = color.Ptr
|
|
926
|
-
|
|
927
1208
|
GetDllLibXls().XlsWorkbook_SetColorOrGetNearest.argtypes=[c_void_p ,c_void_p]
|
|
928
1209
|
GetDllLibXls().XlsWorkbook_SetColorOrGetNearest.restype=c_int
|
|
929
1210
|
ret = CallCFunction(GetDllLibXls().XlsWorkbook_SetColorOrGetNearest, self.Ptr, intPtrcolor)
|
|
@@ -933,27 +1214,36 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
933
1214
|
|
|
934
1215
|
def SetActiveWorksheet(self ,sheet:'XlsWorksheetBase'):
|
|
935
1216
|
"""
|
|
1217
|
+
Sets the specified worksheet as the active worksheet in the workbook.
|
|
936
1218
|
|
|
1219
|
+
Args:
|
|
1220
|
+
sheet (XlsWorksheetBase): The worksheet to set as active.
|
|
937
1221
|
"""
|
|
938
1222
|
intPtrsheet:c_void_p = sheet.Ptr
|
|
939
|
-
|
|
940
1223
|
GetDllLibXls().XlsWorkbook_SetActiveWorksheet.argtypes=[c_void_p ,c_void_p]
|
|
941
1224
|
CallCFunction(GetDllLibXls().XlsWorkbook_SetActiveWorksheet, self.Ptr, intPtrsheet)
|
|
942
1225
|
|
|
943
1226
|
def SetChanged(self):
|
|
944
1227
|
"""
|
|
945
|
-
|
|
1228
|
+
Marks the workbook as having unsaved changes.
|
|
1229
|
+
This method is called when modifications are made to the workbook that need to be saved.
|
|
946
1230
|
"""
|
|
947
1231
|
GetDllLibXls().XlsWorkbook_SetChanged.argtypes=[c_void_p]
|
|
948
1232
|
CallCFunction(GetDllLibXls().XlsWorkbook_SetChanged, self.Ptr)
|
|
949
1233
|
|
|
950
1234
|
@dispatch
|
|
951
|
-
|
|
952
1235
|
def SetColorOrGetNearest(self ,r:int,g:int,b:int)->ExcelColors:
|
|
953
1236
|
"""
|
|
1237
|
+
Sets a color in the workbook's palette or returns the nearest matching color based on RGB values.
|
|
1238
|
+
|
|
1239
|
+
Args:
|
|
1240
|
+
r (int): The red component (0-255).
|
|
1241
|
+
g (int): The green component (0-255).
|
|
1242
|
+
b (int): The blue component (0-255).
|
|
954
1243
|
|
|
1244
|
+
Returns:
|
|
1245
|
+
ExcelColors: The nearest matching Excel color.
|
|
955
1246
|
"""
|
|
956
|
-
|
|
957
1247
|
GetDllLibXls().XlsWorkbook_SetColorOrGetNearestRGB.argtypes=[c_void_p ,c_int,c_int,c_int]
|
|
958
1248
|
GetDllLibXls().XlsWorkbook_SetColorOrGetNearestRGB.restype=c_int
|
|
959
1249
|
ret = CallCFunction(GetDllLibXls().XlsWorkbook_SetColorOrGetNearestRGB, self.Ptr, r,g,b)
|
|
@@ -963,20 +1253,26 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
963
1253
|
|
|
964
1254
|
def SetMaxDigitWidth(self ,w:int):
|
|
965
1255
|
"""
|
|
1256
|
+
Sets the maximum width of digits in the workbook.
|
|
966
1257
|
|
|
1258
|
+
Args:
|
|
1259
|
+
w (int): The maximum digit width to set.
|
|
967
1260
|
"""
|
|
968
|
-
|
|
969
1261
|
GetDllLibXls().XlsWorkbook_SetMaxDigitWidth.argtypes=[c_void_p ,c_int]
|
|
970
1262
|
CallCFunction(GetDllLibXls().XlsWorkbook_SetMaxDigitWidth, self.Ptr, w)
|
|
971
1263
|
|
|
972
1264
|
@dispatch
|
|
973
|
-
|
|
974
1265
|
def GetNearestColor(self ,color:Color)->ExcelColors:
|
|
975
1266
|
"""
|
|
1267
|
+
Gets the nearest matching Excel color for the specified color.
|
|
976
1268
|
|
|
1269
|
+
Args:
|
|
1270
|
+
color (Color): The color to find the nearest match for.
|
|
1271
|
+
|
|
1272
|
+
Returns:
|
|
1273
|
+
ExcelColors: The nearest matching Excel color.
|
|
977
1274
|
"""
|
|
978
1275
|
intPtrcolor:c_void_p = color.Ptr
|
|
979
|
-
|
|
980
1276
|
GetDllLibXls().XlsWorkbook_GetNearestColor.argtypes=[c_void_p ,c_void_p]
|
|
981
1277
|
GetDllLibXls().XlsWorkbook_GetNearestColor.restype=c_int
|
|
982
1278
|
ret = CallCFunction(GetDllLibXls().XlsWorkbook_GetNearestColor, self.Ptr, intPtrcolor)
|
|
@@ -984,13 +1280,18 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
984
1280
|
return objwraped
|
|
985
1281
|
|
|
986
1282
|
@dispatch
|
|
987
|
-
|
|
988
1283
|
def GetNearestColor(self ,color:Color,iStartIndex:int)->ExcelColors:
|
|
989
1284
|
"""
|
|
1285
|
+
Gets the nearest matching Excel color for the specified color, starting from a specific index.
|
|
990
1286
|
|
|
1287
|
+
Args:
|
|
1288
|
+
color (Color): The color to find the nearest match for.
|
|
1289
|
+
iStartIndex (int): The index to start searching from in the color palette.
|
|
1290
|
+
|
|
1291
|
+
Returns:
|
|
1292
|
+
ExcelColors: The nearest matching Excel color.
|
|
991
1293
|
"""
|
|
992
1294
|
intPtrcolor:c_void_p = color.Ptr
|
|
993
|
-
|
|
994
1295
|
GetDllLibXls().XlsWorkbook_GetNearestColorCI.argtypes=[c_void_p ,c_void_p,c_int]
|
|
995
1296
|
GetDllLibXls().XlsWorkbook_GetNearestColorCI.restype=c_int
|
|
996
1297
|
ret = CallCFunction(GetDllLibXls().XlsWorkbook_GetNearestColorCI, self.Ptr, intPtrcolor,iStartIndex)
|
|
@@ -998,46 +1299,58 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
998
1299
|
return objwraped
|
|
999
1300
|
|
|
1000
1301
|
@dispatch
|
|
1001
|
-
|
|
1002
1302
|
def GetNearestColor(self ,r:int,g:int,b:int)->ExcelColors:
|
|
1003
1303
|
"""
|
|
1304
|
+
Gets the nearest matching Excel color for the specified RGB values.
|
|
1004
1305
|
|
|
1306
|
+
Args:
|
|
1307
|
+
r (int): The red component (0-255).
|
|
1308
|
+
g (int): The green component (0-255).
|
|
1309
|
+
b (int): The blue component (0-255).
|
|
1310
|
+
|
|
1311
|
+
Returns:
|
|
1312
|
+
ExcelColors: The nearest matching Excel color.
|
|
1005
1313
|
"""
|
|
1006
|
-
|
|
1007
1314
|
GetDllLibXls().XlsWorkbook_GetNearestColorRGB.argtypes=[c_void_p ,c_int,c_int,c_int]
|
|
1008
1315
|
GetDllLibXls().XlsWorkbook_GetNearestColorRGB.restype=c_int
|
|
1009
1316
|
ret = CallCFunction(GetDllLibXls().XlsWorkbook_GetNearestColorRGB, self.Ptr, r,g,b)
|
|
1010
1317
|
objwraped = ExcelColors(ret)
|
|
1011
1318
|
return objwraped
|
|
1012
1319
|
|
|
1013
|
-
|
|
1014
1320
|
def GetPaletteColor(self ,color:'ExcelColors')->'Color':
|
|
1015
1321
|
"""
|
|
1322
|
+
Gets the Color object corresponding to the specified Excel color.
|
|
1323
|
+
|
|
1324
|
+
Args:
|
|
1325
|
+
color (ExcelColors): The Excel color to get the Color object for.
|
|
1016
1326
|
|
|
1327
|
+
Returns:
|
|
1328
|
+
Color: The Color object corresponding to the Excel color.
|
|
1017
1329
|
"""
|
|
1018
1330
|
enumcolor:c_int = color.value
|
|
1019
|
-
|
|
1020
1331
|
GetDllLibXls().XlsWorkbook_GetPaletteColor.argtypes=[c_void_p ,c_int]
|
|
1021
1332
|
GetDllLibXls().XlsWorkbook_GetPaletteColor.restype=c_void_p
|
|
1022
1333
|
intPtr = CallCFunction(GetDllLibXls().XlsWorkbook_GetPaletteColor, self.Ptr, enumcolor)
|
|
1023
1334
|
ret = None if intPtr==None else Color(intPtr)
|
|
1024
1335
|
return ret
|
|
1025
1336
|
|
|
1026
|
-
|
|
1027
1337
|
def ResetPalette(self):
|
|
1028
1338
|
"""
|
|
1029
|
-
|
|
1339
|
+
Resets the workbook's color palette to its default state.
|
|
1340
|
+
This will restore all colors to their original Excel default values.
|
|
1030
1341
|
"""
|
|
1031
1342
|
GetDllLibXls().XlsWorkbook_ResetPalette.argtypes=[c_void_p]
|
|
1032
1343
|
CallCFunction(GetDllLibXls().XlsWorkbook_ResetPalette, self.Ptr)
|
|
1033
1344
|
|
|
1034
|
-
|
|
1035
1345
|
def SetPaletteColor(self ,index:int,color:'Color'):
|
|
1036
1346
|
"""
|
|
1347
|
+
Sets a specific color in the workbook's palette.
|
|
1037
1348
|
|
|
1349
|
+
Args:
|
|
1350
|
+
index (int): The index in the palette where to set the color.
|
|
1351
|
+
color (Color): The color to set in the palette.
|
|
1038
1352
|
"""
|
|
1039
1353
|
intPtrcolor:c_void_p = color.Ptr
|
|
1040
|
-
|
|
1041
1354
|
GetDllLibXls().XlsWorkbook_SetPaletteColor.argtypes=[c_void_p ,c_int,c_void_p]
|
|
1042
1355
|
CallCFunction(GetDllLibXls().XlsWorkbook_SetPaletteColor, self.Ptr, index,intPtrcolor)
|
|
1043
1356
|
|
|
@@ -1070,7 +1383,11 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1070
1383
|
|
|
1071
1384
|
def SaveAs(self ,stream:Stream,saveType:ExcelSaveType):
|
|
1072
1385
|
"""
|
|
1386
|
+
Saves the workbook to a stream with the specified save type.
|
|
1073
1387
|
|
|
1388
|
+
Args:
|
|
1389
|
+
stream (Stream): The stream to save the workbook to.
|
|
1390
|
+
saveType (ExcelSaveType): The type of Excel file to save as.
|
|
1074
1391
|
"""
|
|
1075
1392
|
intPtrstream:c_void_p = stream.Ptr
|
|
1076
1393
|
enumsaveType:c_int = saveType.value
|
|
@@ -1079,10 +1396,14 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1079
1396
|
CallCFunction(GetDllLibXls().XlsWorkbook_SaveAsSS, self.Ptr, intPtrstream,enumsaveType)
|
|
1080
1397
|
|
|
1081
1398
|
@dispatch
|
|
1082
|
-
|
|
1083
1399
|
def SaveAs(self ,stream:Stream,saveType:ExcelSaveType,version:ExcelVersion):
|
|
1084
1400
|
"""
|
|
1401
|
+
Saves the workbook to a stream with the specified save type and Excel version.
|
|
1085
1402
|
|
|
1403
|
+
Args:
|
|
1404
|
+
stream (Stream): The stream to save the workbook to.
|
|
1405
|
+
saveType (ExcelSaveType): The type of Excel file to save as.
|
|
1406
|
+
version (ExcelVersion): The Excel version to save as.
|
|
1086
1407
|
"""
|
|
1087
1408
|
intPtrstream:c_void_p = stream.Ptr
|
|
1088
1409
|
enumsaveType:c_int = saveType.value
|
|
@@ -1092,21 +1413,25 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1092
1413
|
CallCFunction(GetDllLibXls().XlsWorkbook_SaveAsSSV, self.Ptr, intPtrstream,enumsaveType,enumversion)
|
|
1093
1414
|
|
|
1094
1415
|
@dispatch
|
|
1095
|
-
|
|
1096
1416
|
def SaveAs(self ,stream:Stream):
|
|
1097
1417
|
"""
|
|
1418
|
+
Saves the workbook to a stream using the default save type.
|
|
1098
1419
|
|
|
1420
|
+
Args:
|
|
1421
|
+
stream (Stream): The stream to save the workbook to.
|
|
1099
1422
|
"""
|
|
1100
1423
|
intPtrstream:c_void_p = stream.Ptr
|
|
1101
|
-
|
|
1102
1424
|
GetDllLibXls().XlsWorkbook_SaveAsS.argtypes=[c_void_p ,c_void_p]
|
|
1103
1425
|
CallCFunction(GetDllLibXls().XlsWorkbook_SaveAsS, self.Ptr, intPtrstream)
|
|
1104
1426
|
|
|
1105
1427
|
@dispatch
|
|
1106
|
-
|
|
1107
1428
|
def SaveAs(self ,fileName:str,saveType:ExcelSaveType):
|
|
1108
1429
|
"""
|
|
1430
|
+
Saves the workbook to a file with the specified save type.
|
|
1109
1431
|
|
|
1432
|
+
Args:
|
|
1433
|
+
fileName (str): The name of the file to save to.
|
|
1434
|
+
saveType (ExcelSaveType): The type of Excel file to save as.
|
|
1110
1435
|
"""
|
|
1111
1436
|
enumsaveType:c_int = saveType.value
|
|
1112
1437
|
|
|
@@ -1114,10 +1439,14 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1114
1439
|
CallCFunction(GetDllLibXls().XlsWorkbook_SaveAsFS1, self.Ptr, fileName,enumsaveType)
|
|
1115
1440
|
|
|
1116
1441
|
@dispatch
|
|
1117
|
-
|
|
1118
1442
|
def SaveAs(self ,fileName:str,saveType:ExcelSaveType,version:ExcelVersion):
|
|
1119
1443
|
"""
|
|
1444
|
+
Saves the workbook to a file with the specified save type and Excel version.
|
|
1120
1445
|
|
|
1446
|
+
Args:
|
|
1447
|
+
fileName (str): The name of the file to save to.
|
|
1448
|
+
saveType (ExcelSaveType): The type of Excel file to save as.
|
|
1449
|
+
version (ExcelVersion): The Excel version to save as.
|
|
1121
1450
|
"""
|
|
1122
1451
|
enumsaveType:c_int = saveType.value
|
|
1123
1452
|
enumversion:c_int = version.value
|
|
@@ -1129,61 +1458,73 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1129
1458
|
|
|
1130
1459
|
def SaveToXlsm(self ,fileName:str):
|
|
1131
1460
|
"""
|
|
1461
|
+
Saves the workbook as an XLSM file (Excel workbook with macros).
|
|
1132
1462
|
|
|
1463
|
+
Args:
|
|
1464
|
+
fileName (str): The name of the file to save to.
|
|
1133
1465
|
"""
|
|
1134
1466
|
|
|
1135
1467
|
GetDllLibXls().XlsWorkbook_SaveToXlsm.argtypes=[c_void_p ,c_void_p]
|
|
1136
1468
|
CallCFunction(GetDllLibXls().XlsWorkbook_SaveToXlsm, self.Ptr, fileName)
|
|
1137
1469
|
|
|
1138
1470
|
@dispatch
|
|
1139
|
-
|
|
1140
1471
|
def SaveToXlsm(self ,stream:Stream):
|
|
1141
1472
|
"""
|
|
1473
|
+
Saves the workbook as an XLSM file (Excel workbook with macros) to a stream.
|
|
1142
1474
|
|
|
1475
|
+
Args:
|
|
1476
|
+
stream (Stream): The stream to save the workbook to.
|
|
1143
1477
|
"""
|
|
1144
1478
|
intPtrstream:c_void_p = stream.Ptr
|
|
1145
|
-
|
|
1146
1479
|
GetDllLibXls().XlsWorkbook_SaveToXlsmS.argtypes=[c_void_p ,c_void_p]
|
|
1147
1480
|
CallCFunction(GetDllLibXls().XlsWorkbook_SaveToXlsmS, self.Ptr, intPtrstream)
|
|
1148
1481
|
|
|
1149
1482
|
@dispatch
|
|
1150
|
-
|
|
1151
1483
|
def SaveToPdf(self ,stream:Stream):
|
|
1152
1484
|
"""
|
|
1485
|
+
Saves the workbook as a PDF file to a stream.
|
|
1153
1486
|
|
|
1487
|
+
Args:
|
|
1488
|
+
stream (Stream): The stream to save the PDF to.
|
|
1154
1489
|
"""
|
|
1155
1490
|
intPtrstream:c_void_p = stream.Ptr
|
|
1156
|
-
|
|
1157
1491
|
GetDllLibXls().XlsWorkbook_SaveToPdf.argtypes=[c_void_p ,c_void_p]
|
|
1158
1492
|
CallCFunction(GetDllLibXls().XlsWorkbook_SaveToPdf, self.Ptr, intPtrstream)
|
|
1159
1493
|
|
|
1160
1494
|
@dispatch
|
|
1161
|
-
|
|
1162
1495
|
def SaveToPdf(self ,fileName:str):
|
|
1163
1496
|
"""
|
|
1497
|
+
Saves the workbook as a PDF file.
|
|
1164
1498
|
|
|
1499
|
+
Args:
|
|
1500
|
+
fileName (str): The name of the PDF file to save to.
|
|
1165
1501
|
"""
|
|
1166
1502
|
|
|
1167
1503
|
GetDllLibXls().XlsWorkbook_SaveToPdfF.argtypes=[c_void_p ,c_void_p]
|
|
1168
1504
|
CallCFunction(GetDllLibXls().XlsWorkbook_SaveToPdfF, self.Ptr, fileName)
|
|
1169
1505
|
|
|
1170
1506
|
@dispatch
|
|
1171
|
-
|
|
1172
1507
|
def SaveAsImageOrXps(self ,stream:Stream,fileFormat:FileFormat):
|
|
1173
1508
|
"""
|
|
1509
|
+
Saves the workbook as an image or XPS file to a stream.
|
|
1174
1510
|
|
|
1511
|
+
Args:
|
|
1512
|
+
stream (Stream): The stream to save the file to.
|
|
1513
|
+
fileFormat (FileFormat): The format to save the file as (image or XPS).
|
|
1175
1514
|
"""
|
|
1176
1515
|
intPtrstream:c_void_p = stream.Ptr
|
|
1177
1516
|
enumfileFormat:c_int = fileFormat.value
|
|
1178
|
-
|
|
1179
1517
|
GetDllLibXls().XlsWorkbook_SaveAsImageOrXps.argtypes=[c_void_p ,c_void_p,c_int]
|
|
1180
1518
|
CallCFunction(GetDllLibXls().XlsWorkbook_SaveAsImageOrXps, self.Ptr, intPtrstream,enumfileFormat)
|
|
1181
1519
|
|
|
1182
1520
|
@dispatch
|
|
1183
|
-
|
|
1184
1521
|
def SaveAsImageOrXps(self ,fileName:str,fileFormat:FileFormat):
|
|
1185
1522
|
"""
|
|
1523
|
+
Saves the workbook as an image or XPS file.
|
|
1186
1524
|
|
|
1525
|
+
Args:
|
|
1526
|
+
fileName (str): The name of the file to save to.
|
|
1527
|
+
fileFormat (FileFormat): The format to save the file as (image or XPS).
|
|
1187
1528
|
"""
|
|
1188
1529
|
enumfileFormat:c_int = fileFormat.value
|
|
1189
1530
|
|
|
@@ -1193,7 +1534,11 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1193
1534
|
|
|
1194
1535
|
def SaveAsHtml(self ,fileName:str,saveOption:'HTMLOptions'):
|
|
1195
1536
|
"""
|
|
1537
|
+
Saves the workbook as an HTML file with specified options.
|
|
1196
1538
|
|
|
1539
|
+
Args:
|
|
1540
|
+
fileName (str): The name of the HTML file to save to.
|
|
1541
|
+
saveOption (HTMLOptions): The options for saving as HTML.
|
|
1197
1542
|
"""
|
|
1198
1543
|
intPtrsaveOption:c_void_p = saveOption.Ptr
|
|
1199
1544
|
|
|
@@ -1201,10 +1546,12 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1201
1546
|
CallCFunction(GetDllLibXls().XlsWorkbook_SaveAsHtml, self.Ptr, fileName,intPtrsaveOption)
|
|
1202
1547
|
|
|
1203
1548
|
@dispatch
|
|
1204
|
-
|
|
1205
1549
|
def SaveAs(self ,FileName:str):
|
|
1206
1550
|
"""
|
|
1551
|
+
Saves the workbook to a file using the default save type.
|
|
1207
1552
|
|
|
1553
|
+
Args:
|
|
1554
|
+
FileName (str): The name of the file to save to.
|
|
1208
1555
|
"""
|
|
1209
1556
|
|
|
1210
1557
|
GetDllLibXls().XlsWorkbook_SaveAsF.argtypes=[c_void_p ,c_void_p]
|
|
@@ -1212,7 +1559,8 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1212
1559
|
|
|
1213
1560
|
def Save(self):
|
|
1214
1561
|
"""
|
|
1215
|
-
|
|
1562
|
+
Saves the workbook using its current file name and format.
|
|
1563
|
+
If the workbook hasn't been saved before, this will throw an exception.
|
|
1216
1564
|
"""
|
|
1217
1565
|
GetDllLibXls().XlsWorkbook_Save.argtypes=[c_void_p]
|
|
1218
1566
|
CallCFunction(GetDllLibXls().XlsWorkbook_Save, self.Ptr)
|
|
@@ -1220,7 +1568,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1220
1568
|
@property
|
|
1221
1569
|
def StandardRowHeight(self)->float:
|
|
1222
1570
|
"""
|
|
1571
|
+
Gets the standard row height of the workbook.
|
|
1223
1572
|
|
|
1573
|
+
Returns:
|
|
1574
|
+
float: The standard row height.
|
|
1224
1575
|
"""
|
|
1225
1576
|
GetDllLibXls().XlsWorkbook_get_StandardRowHeight.argtypes=[c_void_p]
|
|
1226
1577
|
GetDllLibXls().XlsWorkbook_get_StandardRowHeight.restype=c_double
|
|
@@ -1235,7 +1586,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1235
1586
|
@property
|
|
1236
1587
|
def StandardRowHeightInPixels(self)->int:
|
|
1237
1588
|
"""
|
|
1589
|
+
Gets the standard row height in pixels.
|
|
1238
1590
|
|
|
1591
|
+
Returns:
|
|
1592
|
+
int: The standard row height in pixels.
|
|
1239
1593
|
"""
|
|
1240
1594
|
GetDllLibXls().XlsWorkbook_get_StandardRowHeightInPixels.argtypes=[c_void_p]
|
|
1241
1595
|
GetDllLibXls().XlsWorkbook_get_StandardRowHeightInPixels.restype=c_int
|
|
@@ -1250,7 +1604,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1250
1604
|
@property
|
|
1251
1605
|
def MaxXFCount(self)->int:
|
|
1252
1606
|
"""
|
|
1607
|
+
Gets the maximum number of XF records allowed in the workbook.
|
|
1253
1608
|
|
|
1609
|
+
Returns:
|
|
1610
|
+
int: The maximum XF count.
|
|
1254
1611
|
"""
|
|
1255
1612
|
GetDllLibXls().XlsWorkbook_get_MaxXFCount.argtypes=[c_void_p]
|
|
1256
1613
|
GetDllLibXls().XlsWorkbook_get_MaxXFCount.restype=c_int
|
|
@@ -1260,7 +1617,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1260
1617
|
@property
|
|
1261
1618
|
def MaxIndent(self)->int:
|
|
1262
1619
|
"""
|
|
1620
|
+
Gets the maximum indent level allowed in the workbook.
|
|
1263
1621
|
|
|
1622
|
+
Returns:
|
|
1623
|
+
int: The maximum indent level.
|
|
1264
1624
|
"""
|
|
1265
1625
|
GetDllLibXls().XlsWorkbook_get_MaxIndent.argtypes=[c_void_p]
|
|
1266
1626
|
GetDllLibXls().XlsWorkbook_get_MaxIndent.restype=c_int
|
|
@@ -1271,7 +1631,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1271
1631
|
|
|
1272
1632
|
def Version(self)->'ExcelVersion':
|
|
1273
1633
|
"""
|
|
1634
|
+
Gets the Excel version of the workbook.
|
|
1274
1635
|
|
|
1636
|
+
Returns:
|
|
1637
|
+
ExcelVersion: The Excel version.
|
|
1275
1638
|
"""
|
|
1276
1639
|
GetDllLibXls().XlsWorkbook_get_Version.argtypes=[c_void_p]
|
|
1277
1640
|
GetDllLibXls().XlsWorkbook_get_Version.restype=c_int
|
|
@@ -1288,7 +1651,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1288
1651
|
|
|
1289
1652
|
def Worksheets(self)->'IWorksheets':
|
|
1290
1653
|
"""
|
|
1654
|
+
Gets the collection of worksheets in the workbook.
|
|
1291
1655
|
|
|
1656
|
+
Returns:
|
|
1657
|
+
IWorksheets: The collection of worksheets.
|
|
1292
1658
|
"""
|
|
1293
1659
|
GetDllLibXls().XlsWorkbook_get_Worksheets.argtypes=[c_void_p]
|
|
1294
1660
|
GetDllLibXls().XlsWorkbook_get_Worksheets.restype=c_void_p
|
|
@@ -1301,7 +1667,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1301
1667
|
|
|
1302
1668
|
def InnerAddInFunctions(self)->'XlsAddInFunctionsCollection':
|
|
1303
1669
|
"""
|
|
1670
|
+
Gets the collection of add-in functions in the workbook.
|
|
1304
1671
|
|
|
1672
|
+
Returns:
|
|
1673
|
+
XlsAddInFunctionsCollection: The collection of add-in functions.
|
|
1305
1674
|
"""
|
|
1306
1675
|
GetDllLibXls().XlsWorkbook_get_InnerAddInFunctions.argtypes=[c_void_p]
|
|
1307
1676
|
GetDllLibXls().XlsWorkbook_get_InnerAddInFunctions.restype=c_void_p
|
|
@@ -1314,7 +1683,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1314
1683
|
|
|
1315
1684
|
def InnerFonts(self)->'XlsFontsCollection':
|
|
1316
1685
|
"""
|
|
1686
|
+
Gets the collection of fonts in the workbook.
|
|
1317
1687
|
|
|
1688
|
+
Returns:
|
|
1689
|
+
XlsFontsCollection: The collection of fonts.
|
|
1318
1690
|
"""
|
|
1319
1691
|
GetDllLibXls().XlsWorkbook_get_InnerFonts.argtypes=[c_void_p]
|
|
1320
1692
|
GetDllLibXls().XlsWorkbook_get_InnerFonts.restype=c_void_p
|
|
@@ -1355,7 +1727,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1355
1727
|
|
|
1356
1728
|
def Names(self)->'INameRanges':
|
|
1357
1729
|
"""
|
|
1730
|
+
Gets the collection of named ranges in the workbook.
|
|
1358
1731
|
|
|
1732
|
+
Returns:
|
|
1733
|
+
INameRanges: The collection of named ranges.
|
|
1359
1734
|
"""
|
|
1360
1735
|
GetDllLibXls().XlsWorkbook_get_Names.argtypes=[c_void_p]
|
|
1361
1736
|
GetDllLibXls().XlsWorkbook_get_Names.restype=c_void_p
|
|
@@ -1368,7 +1743,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1368
1743
|
|
|
1369
1744
|
def DataConns(self)->'DataConnections':
|
|
1370
1745
|
"""
|
|
1746
|
+
Gets the collection of data connections in the workbook.
|
|
1371
1747
|
|
|
1748
|
+
Returns:
|
|
1749
|
+
DataConnections: The collection of data connections.
|
|
1372
1750
|
"""
|
|
1373
1751
|
GetDllLibXls().XlsWorkbook_get_DataConns.argtypes=[c_void_p]
|
|
1374
1752
|
GetDllLibXls().XlsWorkbook_get_DataConns.restype=c_void_p
|
|
@@ -1381,7 +1759,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1381
1759
|
|
|
1382
1760
|
def ExternalLinks(self)->'ExternalLinkCollection':
|
|
1383
1761
|
"""
|
|
1762
|
+
Gets the collection of external links in the workbook.
|
|
1384
1763
|
|
|
1764
|
+
Returns:
|
|
1765
|
+
ExternalLinkCollection: The collection of external links.
|
|
1385
1766
|
"""
|
|
1386
1767
|
GetDllLibXls().XlsWorkbook_get_ExternalLinks.argtypes=[c_void_p]
|
|
1387
1768
|
GetDllLibXls().XlsWorkbook_get_ExternalLinks.restype=c_void_p
|
|
@@ -1393,7 +1774,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1393
1774
|
@property
|
|
1394
1775
|
def ObjectCount(self)->int:
|
|
1395
1776
|
"""
|
|
1777
|
+
Gets the total number of objects in the workbook.
|
|
1396
1778
|
|
|
1779
|
+
Returns:
|
|
1780
|
+
int: The total number of objects.
|
|
1397
1781
|
"""
|
|
1398
1782
|
GetDllLibXls().XlsWorkbook_get_ObjectCount.argtypes=[c_void_p]
|
|
1399
1783
|
GetDllLibXls().XlsWorkbook_get_ObjectCount.restype=c_int
|
|
@@ -1404,7 +1788,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1404
1788
|
|
|
1405
1789
|
def OleSize(self)->'IXLSRange':
|
|
1406
1790
|
"""
|
|
1791
|
+
Gets or sets the OLE size range of the workbook.
|
|
1407
1792
|
|
|
1793
|
+
Returns:
|
|
1794
|
+
IXLSRange: The OLE size range.
|
|
1408
1795
|
"""
|
|
1409
1796
|
GetDllLibXls().XlsWorkbook_get_OleSize.argtypes=[c_void_p]
|
|
1410
1797
|
GetDllLibXls().XlsWorkbook_get_OleSize.restype=c_void_p
|
|
@@ -1526,7 +1913,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1526
1913
|
@property
|
|
1527
1914
|
def DisableMacrosStart(self)->bool:
|
|
1528
1915
|
"""
|
|
1916
|
+
Gets or sets whether macros are disabled when the workbook starts.
|
|
1529
1917
|
|
|
1918
|
+
Returns:
|
|
1919
|
+
bool: True if macros are disabled on startup, otherwise False.
|
|
1530
1920
|
"""
|
|
1531
1921
|
GetDllLibXls().XlsWorkbook_get_DisableMacrosStart.argtypes=[c_void_p]
|
|
1532
1922
|
GetDllLibXls().XlsWorkbook_get_DisableMacrosStart.restype=c_bool
|
|
@@ -1541,7 +1931,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1541
1931
|
@property
|
|
1542
1932
|
def FirstCharSize(self)->int:
|
|
1543
1933
|
"""
|
|
1934
|
+
Gets or sets the size of the first character in the workbook.
|
|
1544
1935
|
|
|
1936
|
+
Returns:
|
|
1937
|
+
int: The size of the first character.
|
|
1545
1938
|
"""
|
|
1546
1939
|
GetDllLibXls().XlsWorkbook_get_FirstCharSize.argtypes=[c_void_p]
|
|
1547
1940
|
GetDllLibXls().XlsWorkbook_get_FirstCharSize.restype=c_int
|
|
@@ -1556,7 +1949,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1556
1949
|
@property
|
|
1557
1950
|
def SecondCharSize(self)->int:
|
|
1558
1951
|
"""
|
|
1952
|
+
Gets or sets the size of the second character in the workbook.
|
|
1559
1953
|
|
|
1954
|
+
Returns:
|
|
1955
|
+
int: The size of the second character.
|
|
1560
1956
|
"""
|
|
1561
1957
|
GetDllLibXls().XlsWorkbook_get_SecondCharSize.argtypes=[c_void_p]
|
|
1562
1958
|
GetDllLibXls().XlsWorkbook_get_SecondCharSize.restype=c_int
|
|
@@ -1572,7 +1968,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1572
1968
|
|
|
1573
1969
|
def FullFileName(self)->str:
|
|
1574
1970
|
"""
|
|
1971
|
+
Gets the full path and name of the workbook file.
|
|
1575
1972
|
|
|
1973
|
+
Returns:
|
|
1974
|
+
str: The complete file path and name.
|
|
1576
1975
|
"""
|
|
1577
1976
|
GetDllLibXls().XlsWorkbook_get_FullFileName.argtypes=[c_void_p]
|
|
1578
1977
|
GetDllLibXls().XlsWorkbook_get_FullFileName.restype=c_void_p
|
|
@@ -1583,7 +1982,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1583
1982
|
@property
|
|
1584
1983
|
def HasDuplicatedNames(self)->bool:
|
|
1585
1984
|
"""
|
|
1985
|
+
Gets or sets whether the workbook contains duplicate named ranges.
|
|
1586
1986
|
|
|
1987
|
+
Returns:
|
|
1988
|
+
bool: True if the workbook has duplicate names, otherwise False.
|
|
1587
1989
|
"""
|
|
1588
1990
|
GetDllLibXls().XlsWorkbook_get_HasDuplicatedNames.argtypes=[c_void_p]
|
|
1589
1991
|
GetDllLibXls().XlsWorkbook_get_HasDuplicatedNames.restype=c_bool
|
|
@@ -1598,7 +2000,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1598
2000
|
@property
|
|
1599
2001
|
def HasMacros(self)->bool:
|
|
1600
2002
|
"""
|
|
2003
|
+
Gets whether the workbook contains macros.
|
|
1601
2004
|
|
|
2005
|
+
Returns:
|
|
2006
|
+
bool: True if the workbook has macros, otherwise False.
|
|
1602
2007
|
"""
|
|
1603
2008
|
GetDllLibXls().XlsWorkbook_get_HasMacros.argtypes=[c_void_p]
|
|
1604
2009
|
GetDllLibXls().XlsWorkbook_get_HasMacros.restype=c_bool
|
|
@@ -1608,7 +2013,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1608
2013
|
@property
|
|
1609
2014
|
def Saved(self)->bool:
|
|
1610
2015
|
"""
|
|
2016
|
+
Gets or sets whether the workbook has been saved.
|
|
1611
2017
|
|
|
2018
|
+
Returns:
|
|
2019
|
+
bool: True if the workbook has been saved, otherwise False.
|
|
1612
2020
|
"""
|
|
1613
2021
|
GetDllLibXls().XlsWorkbook_get_Saved.argtypes=[c_void_p]
|
|
1614
2022
|
GetDllLibXls().XlsWorkbook_get_Saved.restype=c_bool
|
|
@@ -1623,7 +2031,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1623
2031
|
@property
|
|
1624
2032
|
def Saving(self)->bool:
|
|
1625
2033
|
"""
|
|
2034
|
+
Gets whether the workbook is currently being saved.
|
|
1626
2035
|
|
|
2036
|
+
Returns:
|
|
2037
|
+
bool: True if the workbook is being saved, otherwise False.
|
|
1627
2038
|
"""
|
|
1628
2039
|
GetDllLibXls().XlsWorkbook_get_Saving.argtypes=[c_void_p]
|
|
1629
2040
|
GetDllLibXls().XlsWorkbook_get_Saving.restype=c_bool
|
|
@@ -1634,7 +2045,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1634
2045
|
|
|
1635
2046
|
def Author(self)->str:
|
|
1636
2047
|
"""
|
|
2048
|
+
Gets or sets the author of the workbook.
|
|
1637
2049
|
|
|
2050
|
+
Returns:
|
|
2051
|
+
str: The name of the workbook author.
|
|
1638
2052
|
"""
|
|
1639
2053
|
GetDllLibXls().XlsWorkbook_get_Author.argtypes=[c_void_p]
|
|
1640
2054
|
GetDllLibXls().XlsWorkbook_get_Author.restype=c_void_p
|
|
@@ -1651,7 +2065,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1651
2065
|
|
|
1652
2066
|
def AddInFunctions(self)->'IAddInFunctions':
|
|
1653
2067
|
"""
|
|
2068
|
+
Gets the collection of add-in functions in the workbook.
|
|
1654
2069
|
|
|
2070
|
+
Returns:
|
|
2071
|
+
IAddInFunctions: The collection of add-in functions.
|
|
1655
2072
|
"""
|
|
1656
2073
|
GetDllLibXls().XlsWorkbook_get_AddInFunctions.argtypes=[c_void_p]
|
|
1657
2074
|
GetDllLibXls().XlsWorkbook_get_AddInFunctions.restype=c_void_p
|
|
@@ -1663,7 +2080,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1663
2080
|
@property
|
|
1664
2081
|
def Allow3DRangesInDataValidation(self)->bool:
|
|
1665
2082
|
"""
|
|
2083
|
+
Gets or sets whether 3D ranges are allowed in data validation.
|
|
1666
2084
|
|
|
2085
|
+
Returns:
|
|
2086
|
+
bool: True if 3D ranges are allowed, otherwise False.
|
|
1667
2087
|
"""
|
|
1668
2088
|
GetDllLibXls().XlsWorkbook_get_Allow3DRangesInDataValidation.argtypes=[c_void_p]
|
|
1669
2089
|
GetDllLibXls().XlsWorkbook_get_Allow3DRangesInDataValidation.restype=c_bool
|
|
@@ -1679,7 +2099,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1679
2099
|
|
|
1680
2100
|
def ArgumentsSeparator(self)->str:
|
|
1681
2101
|
"""
|
|
2102
|
+
Gets the separator used for function arguments in the workbook.
|
|
1682
2103
|
|
|
2104
|
+
Returns:
|
|
2105
|
+
str: The arguments separator character.
|
|
1683
2106
|
"""
|
|
1684
2107
|
GetDllLibXls().XlsWorkbook_get_ArgumentsSeparator.argtypes=[c_void_p]
|
|
1685
2108
|
GetDllLibXls().XlsWorkbook_get_ArgumentsSeparator.restype=c_void_p
|
|
@@ -1691,7 +2114,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1691
2114
|
|
|
1692
2115
|
def BuiltInDocumentProperties(self)->'IBuiltInDocumentProperties':
|
|
1693
2116
|
"""
|
|
2117
|
+
Gets the collection of built-in document properties.
|
|
1694
2118
|
|
|
2119
|
+
Returns:
|
|
2120
|
+
IBuiltInDocumentProperties: The collection of built-in document properties.
|
|
1695
2121
|
"""
|
|
1696
2122
|
GetDllLibXls().XlsWorkbook_get_BuiltInDocumentProperties.argtypes=[c_void_p]
|
|
1697
2123
|
GetDllLibXls().XlsWorkbook_get_BuiltInDocumentProperties.restype=c_void_p
|
|
@@ -1704,7 +2130,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1704
2130
|
|
|
1705
2131
|
def Charts(self)->'ICharts':
|
|
1706
2132
|
"""
|
|
2133
|
+
Gets the collection of charts in the workbook.
|
|
1707
2134
|
|
|
2135
|
+
Returns:
|
|
2136
|
+
ICharts: The collection of charts.
|
|
1708
2137
|
"""
|
|
1709
2138
|
GetDllLibXls().XlsWorkbook_get_Charts.argtypes=[c_void_p]
|
|
1710
2139
|
GetDllLibXls().XlsWorkbook_get_Charts.restype=c_void_p
|
|
@@ -1713,25 +2142,14 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1713
2142
|
return ret
|
|
1714
2143
|
|
|
1715
2144
|
|
|
1716
|
-
# @property
|
|
1717
|
-
#
|
|
1718
|
-
# def Chartsheets(self)->'List1':
|
|
1719
|
-
# """
|
|
1720
|
-
#
|
|
1721
|
-
# """
|
|
1722
|
-
# GetDllLibXls().XlsWorkbook_get_Chartsheets.argtypes=[c_void_p]
|
|
1723
|
-
# GetDllLibXls().XlsWorkbook_get_Chartsheets.restype=c_void_p
|
|
1724
|
-
# intPtr = CallCFunction(GetDllLibXls().XlsWorkbook_get_Chartsheets, self.Ptr)
|
|
1725
|
-
# ret = None if intPtr==None else List1(intPtr)
|
|
1726
|
-
# return ret
|
|
1727
|
-
#
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
2145
|
@property
|
|
1731
2146
|
|
|
1732
2147
|
def CustomDocumentProperties(self)->'ICustomDocumentProperties':
|
|
1733
2148
|
"""
|
|
2149
|
+
Gets the collection of custom document properties.
|
|
1734
2150
|
|
|
2151
|
+
Returns:
|
|
2152
|
+
ICustomDocumentProperties: The collection of custom document properties.
|
|
1735
2153
|
"""
|
|
1736
2154
|
GetDllLibXls().XlsWorkbook_get_CustomDocumentProperties.argtypes=[c_void_p]
|
|
1737
2155
|
GetDllLibXls().XlsWorkbook_get_CustomDocumentProperties.restype=c_void_p
|
|
@@ -1743,7 +2161,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1743
2161
|
@property
|
|
1744
2162
|
def CurrentObjectId(self)->int:
|
|
1745
2163
|
"""
|
|
2164
|
+
Gets or sets the current object ID in the workbook.
|
|
1746
2165
|
|
|
2166
|
+
Returns:
|
|
2167
|
+
int: The current object ID.
|
|
1747
2168
|
"""
|
|
1748
2169
|
GetDllLibXls().XlsWorkbook_get_CurrentObjectId.argtypes=[c_void_p]
|
|
1749
2170
|
GetDllLibXls().XlsWorkbook_get_CurrentObjectId.restype=c_int
|
|
@@ -1758,7 +2179,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1758
2179
|
@property
|
|
1759
2180
|
def CurrentShapeId(self)->int:
|
|
1760
2181
|
"""
|
|
2182
|
+
Gets or sets the current shape ID in the workbook.
|
|
1761
2183
|
|
|
2184
|
+
Returns:
|
|
2185
|
+
int: The current shape ID.
|
|
1762
2186
|
"""
|
|
1763
2187
|
GetDllLibXls().XlsWorkbook_get_CurrentShapeId.argtypes=[c_void_p]
|
|
1764
2188
|
GetDllLibXls().XlsWorkbook_get_CurrentShapeId.restype=c_int
|
|
@@ -1773,7 +2197,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1773
2197
|
@property
|
|
1774
2198
|
def CurrentHeaderId(self)->int:
|
|
1775
2199
|
"""
|
|
2200
|
+
Gets or sets the current header ID in the workbook.
|
|
1776
2201
|
|
|
2202
|
+
Returns:
|
|
2203
|
+
int: The current header ID.
|
|
1777
2204
|
"""
|
|
1778
2205
|
GetDllLibXls().XlsWorkbook_get_CurrentHeaderId.argtypes=[c_void_p]
|
|
1779
2206
|
GetDllLibXls().XlsWorkbook_get_CurrentHeaderId.restype=c_int
|
|
@@ -1788,7 +2215,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1788
2215
|
@property
|
|
1789
2216
|
def DefaultXFIndex(self)->int:
|
|
1790
2217
|
"""
|
|
2218
|
+
Gets or sets the default XF (extended format) index in the workbook.
|
|
1791
2219
|
|
|
2220
|
+
Returns:
|
|
2221
|
+
int: The default XF index.
|
|
1792
2222
|
"""
|
|
1793
2223
|
GetDllLibXls().XlsWorkbook_get_DefaultXFIndex.argtypes=[c_void_p]
|
|
1794
2224
|
GetDllLibXls().XlsWorkbook_get_DefaultXFIndex.restype=c_int
|
|
@@ -1803,7 +2233,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1803
2233
|
@property
|
|
1804
2234
|
def DetectDateTimeInValue(self)->bool:
|
|
1805
2235
|
"""
|
|
2236
|
+
Gets or sets whether to automatically detect date/time values in cell values.
|
|
1806
2237
|
|
|
2238
|
+
Returns:
|
|
2239
|
+
bool: True if date/time detection is enabled, otherwise False.
|
|
1807
2240
|
"""
|
|
1808
2241
|
GetDllLibXls().XlsWorkbook_get_DetectDateTimeInValue.argtypes=[c_void_p]
|
|
1809
2242
|
GetDllLibXls().XlsWorkbook_get_DetectDateTimeInValue.restype=c_bool
|
|
@@ -1818,7 +2251,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1818
2251
|
@property
|
|
1819
2252
|
def DisplayedTab(self)->int:
|
|
1820
2253
|
"""
|
|
2254
|
+
Gets or sets the index of the currently displayed tab.
|
|
1821
2255
|
|
|
2256
|
+
Returns:
|
|
2257
|
+
int: The index of the displayed tab.
|
|
1822
2258
|
"""
|
|
1823
2259
|
GetDllLibXls().XlsWorkbook_get_DisplayedTab.argtypes=[c_void_p]
|
|
1824
2260
|
GetDllLibXls().XlsWorkbook_get_DisplayedTab.restype=c_int
|
|
@@ -1833,7 +2269,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1833
2269
|
@property
|
|
1834
2270
|
def DisplayWorkbookTabs(self)->bool:
|
|
1835
2271
|
"""
|
|
2272
|
+
Gets or sets whether to display workbook tabs.
|
|
1836
2273
|
|
|
2274
|
+
Returns:
|
|
2275
|
+
bool: True if workbook tabs are displayed, otherwise False.
|
|
1837
2276
|
"""
|
|
1838
2277
|
GetDllLibXls().XlsWorkbook_get_DisplayWorkbookTabs.argtypes=[c_void_p]
|
|
1839
2278
|
GetDllLibXls().XlsWorkbook_get_DisplayWorkbookTabs.restype=c_bool
|
|
@@ -1848,7 +2287,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1848
2287
|
@property
|
|
1849
2288
|
def IsCellProtection(self)->bool:
|
|
1850
2289
|
"""
|
|
2290
|
+
Gets whether cell protection is enabled in the workbook.
|
|
1851
2291
|
|
|
2292
|
+
Returns:
|
|
2293
|
+
bool: True if cell protection is enabled, otherwise False.
|
|
1852
2294
|
"""
|
|
1853
2295
|
GetDllLibXls().XlsWorkbook_get_IsCellProtection.argtypes=[c_void_p]
|
|
1854
2296
|
GetDllLibXls().XlsWorkbook_get_IsCellProtection.restype=c_bool
|
|
@@ -1858,7 +2300,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1858
2300
|
@property
|
|
1859
2301
|
def IsDisplayPrecision(self)->bool:
|
|
1860
2302
|
"""
|
|
2303
|
+
Gets or sets whether to display values with full precision.
|
|
1861
2304
|
|
|
2305
|
+
Returns:
|
|
2306
|
+
bool: True if full precision display is enabled, otherwise False.
|
|
1862
2307
|
"""
|
|
1863
2308
|
GetDllLibXls().XlsWorkbook_get_IsDisplayPrecision.argtypes=[c_void_p]
|
|
1864
2309
|
GetDllLibXls().XlsWorkbook_get_IsDisplayPrecision.restype=c_bool
|
|
@@ -1873,7 +2318,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1873
2318
|
@property
|
|
1874
2319
|
def IsHScrollBarVisible(self)->bool:
|
|
1875
2320
|
"""
|
|
2321
|
+
Gets or sets whether the horizontal scroll bar is visible.
|
|
1876
2322
|
|
|
2323
|
+
Returns:
|
|
2324
|
+
bool: True if the horizontal scroll bar is visible, otherwise False.
|
|
1877
2325
|
"""
|
|
1878
2326
|
GetDllLibXls().XlsWorkbook_get_IsHScrollBarVisible.argtypes=[c_void_p]
|
|
1879
2327
|
GetDllLibXls().XlsWorkbook_get_IsHScrollBarVisible.restype=c_bool
|
|
@@ -1888,7 +2336,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1888
2336
|
@property
|
|
1889
2337
|
def IsLoaded(self)->bool:
|
|
1890
2338
|
"""
|
|
2339
|
+
Gets whether the workbook is currently loaded.
|
|
1891
2340
|
|
|
2341
|
+
Returns:
|
|
2342
|
+
bool: True if the workbook is loaded, otherwise False.
|
|
1892
2343
|
"""
|
|
1893
2344
|
GetDllLibXls().XlsWorkbook_get_IsLoaded.argtypes=[c_void_p]
|
|
1894
2345
|
GetDllLibXls().XlsWorkbook_get_IsLoaded.restype=c_bool
|
|
@@ -1898,7 +2349,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1898
2349
|
@property
|
|
1899
2350
|
def IsRightToLeft(self)->bool:
|
|
1900
2351
|
"""
|
|
2352
|
+
Gets or sets whether the workbook uses right-to-left text direction.
|
|
1901
2353
|
|
|
2354
|
+
Returns:
|
|
2355
|
+
bool: True if right-to-left text direction is enabled, otherwise False.
|
|
1902
2356
|
"""
|
|
1903
2357
|
GetDllLibXls().XlsWorkbook_get_IsRightToLeft.argtypes=[c_void_p]
|
|
1904
2358
|
GetDllLibXls().XlsWorkbook_get_IsRightToLeft.restype=c_bool
|
|
@@ -1914,7 +2368,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1914
2368
|
|
|
1915
2369
|
def DEF_COMENT_PARSE_COLOR()->'Color':
|
|
1916
2370
|
"""
|
|
2371
|
+
Gets the default color used for parsing comments.
|
|
1917
2372
|
|
|
2373
|
+
Returns:
|
|
2374
|
+
Color: The default comment parse color.
|
|
1918
2375
|
"""
|
|
1919
2376
|
#GetDllLibXls().XlsWorkbook_DEF_COMENT_PARSE_COLOR.argtypes=[]
|
|
1920
2377
|
GetDllLibXls().XlsWorkbook_DEF_COMENT_PARSE_COLOR.restype=c_void_p
|
|
@@ -1926,7 +2383,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1926
2383
|
@staticmethod
|
|
1927
2384
|
def DEF_FIRST_USER_COLOR()->int:
|
|
1928
2385
|
"""
|
|
2386
|
+
Gets the index of the first user-modifiable color in the palette.
|
|
1929
2387
|
|
|
2388
|
+
Returns:
|
|
2389
|
+
int: Index of the first user color (8 in default Excel palette).
|
|
1930
2390
|
"""
|
|
1931
2391
|
#GetDllLibXls().XlsWorkbook_DEF_FIRST_USER_COLOR.argtypes=[]
|
|
1932
2392
|
GetDllLibXls().XlsWorkbook_DEF_FIRST_USER_COLOR.restype=c_int
|
|
@@ -1937,7 +2397,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1937
2397
|
|
|
1938
2398
|
def DEF_BAD_SHEET_NAME()->str:
|
|
1939
2399
|
"""
|
|
2400
|
+
Gets the placeholder name used for invalid sheet names.
|
|
1940
2401
|
|
|
2402
|
+
Returns:
|
|
2403
|
+
str: Default bad sheet name placeholder.
|
|
1941
2404
|
"""
|
|
1942
2405
|
#GetDllLibXls().XlsWorkbook_DEF_BAD_SHEET_NAME.argtypes=[]
|
|
1943
2406
|
GetDllLibXls().XlsWorkbook_DEF_BAD_SHEET_NAME.restype=c_void_p
|
|
@@ -1945,3 +2408,4 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1945
2408
|
return ret
|
|
1946
2409
|
|
|
1947
2410
|
|
|
2411
|
+
|