spire-xls 15.5.0__py3-none-win_amd64.whl → 15.11.1__py3-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- spire/xls/AddtionalFormatWrapper.py +116 -132
- spire/xls/Average.py +18 -4
- spire/xls/CellBaseStyle.py +13 -6
- spire/xls/CellBorder.py +25 -20
- spire/xls/CellRange.py +315 -277
- spire/xls/CellStyle.py +26 -12
- spire/xls/CellStyleFlag.py +187 -57
- spire/xls/CellStyleObject.py +55 -79
- spire/xls/CellValueChangedEventArgs.py +3 -9
- spire/xls/ColorScale.py +31 -39
- spire/xls/CommentsRange.py +185 -95
- spire/xls/CommonWrapper.py +23 -8
- spire/xls/ConverterSetting.py +34 -36
- spire/xls/DBConnection.py +41 -8
- spire/xls/DVAspect.py +8 -2
- spire/xls/DataBar.py +29 -28
- spire/xls/DocumentProperty.py +87 -39
- spire/xls/Excel2016Charttype.py +14 -2
- spire/xls/ExcelComment.py +1 -2
- spire/xls/ExcelCommentObject.py +212 -122
- spire/xls/ExcelFont.py +94 -73
- spire/xls/ExcelGradient.py +70 -24
- spire/xls/ExcelInterior.py +43 -27
- spire/xls/ExportTableOptions.py +38 -9
- spire/xls/ExternalConnection.py +85 -20
- spire/xls/ExternalLink.py +26 -10
- spire/xls/FileFormat.py +32 -4
- spire/xls/Font.py +165 -112
- spire/xls/FontArrayWrapper.py +135 -36
- spire/xls/FontWrapper.py +207 -103
- spire/xls/Format3D.py +130 -30
- spire/xls/GeomertyAdjustValue.py +22 -10
- spire/xls/GetText.py +8 -2
- spire/xls/GoalSeek.py +44 -14
- spire/xls/GoalSeekResult.py +36 -3
- spire/xls/GradientArrayWrapper.py +92 -28
- spire/xls/GradientStops.py +75 -25
- spire/xls/GradientType.py +10 -2
- spire/xls/GroupShape.py +1 -2
- spire/xls/HPageBreak.py +2 -2
- spire/xls/HTMLOptions.py +7 -19
- spire/xls/HyperLink.py +2 -2
- spire/xls/LOGFONT.py +78 -30
- spire/xls/MsoTextFrame.py +102 -0
- spire/xls/OColor.py +62 -29
- spire/xls/OdsPageBackground.py +5 -10
- spire/xls/PageColRow.py +21 -10
- spire/xls/PageSetup.py +2 -3
- spire/xls/PaperSizeEntry.py +6 -0
- spire/xls/PicStretch.py +47 -14
- spire/xls/PicTile.py +35 -10
- spire/xls/QueryTableXls.py +19 -6
- spire/xls/RTFCommentArray.py +59 -22
- spire/xls/RTFStringArray.py +59 -22
- spire/xls/RangeRichTextString.py +22 -10
- spire/xls/ReferRangeArea.py +33 -18
- spire/xls/RichText.py +11 -9
- spire/xls/RichTextObject.py +63 -32
- spire/xls/RichTextShape.py +90 -33
- spire/xls/RichTextString.py +62 -24
- spire/xls/RtfTextWriter.py +68 -22
- spire/xls/SaveShapeTypeOption.py +19 -37
- spire/xls/ShapeGlow.py +35 -15
- spire/xls/ShapeReflection.py +55 -18
- spire/xls/StyleArrayWrapper.py +169 -78
- spire/xls/TextBoxShapeBase.py +63 -30
- spire/xls/TextSaveOptions.py +39 -17
- spire/xls/TopBottom.py +18 -6
- spire/xls/VPageBreak.py +4 -5
- spire/xls/Validation.py +12 -6
- spire/xls/WebQueryConnection.py +52 -20
- spire/xls/Workbook.py +884 -916
- spire/xls/Worksheet.py +507 -421
- spire/xls/WriteProtection.py +3 -6
- spire/xls/XlsAddInFunction.py +36 -22
- spire/xls/XlsArcShape.py +157 -41
- spire/xls/XlsBitmapShape.py +141 -43
- spire/xls/XlsBorder.py +73 -31
- spire/xls/XlsBorderArrayWrapper.py +50 -14
- spire/xls/XlsButtonShape.py +59 -17
- spire/xls/XlsCheckBoxShape.py +72 -18
- spire/xls/XlsComboBoxShape.py +53 -16
- spire/xls/XlsComment.py +109 -31
- spire/xls/XlsDataValidationTable.py +46 -17
- spire/xls/XlsDocumentProperty.py +163 -44
- spire/xls/XlsEventArgs.py +33 -24
- spire/xls/XlsEventHandler.py +10 -4
- spire/xls/XlsFill.py +64 -20
- spire/xls/XlsFont.py +202 -66
- spire/xls/XlsGradient.py +90 -26
- spire/xls/XlsGradientStop.py +57 -12
- spire/xls/XlsGroupBoxShape.py +36 -10
- spire/xls/XlsHPageBreak.py +47 -24
- spire/xls/XlsHyperLink.py +111 -42
- spire/xls/XlsLabelShape.py +27 -8
- spire/xls/XlsLineShape.py +188 -48
- spire/xls/XlsListBoxShape.py +63 -14
- spire/xls/XlsName.py +779 -331
- spire/xls/XlsObject.py +2 -4
- spire/xls/XlsOvalShape.py +79 -21
- spire/xls/XlsPageSetup.py +71 -32
- spire/xls/XlsPageSetupBase.py +29 -58
- spire/xls/XlsPrstGeomShape.py +29 -10
- spire/xls/XlsRadioButtonShape.py +84 -42
- spire/xls/XlsRange.py +907 -1087
- spire/xls/XlsRectangleShape.py +70 -23
- spire/xls/XlsScrollBarShape.py +78 -18
- spire/xls/XlsShape.py +396 -183
- spire/xls/XlsShapeFill.py +401 -92
- spire/xls/XlsShapeLineFormat.py +201 -44
- spire/xls/XlsSpinnerShape.py +57 -14
- spire/xls/XlsStyle.py +54 -23
- spire/xls/XlsTextBoxShape.py +263 -60
- spire/xls/XlsVPageBreak.py +9 -14
- spire/xls/XlsValidation.py +325 -72
- spire/xls/XlsValidationWrapper.py +217 -49
- spire/xls/XlsWorkbook.py +573 -88
- spire/xls/XlsWorksheet.py +1312 -1232
- spire/xls/XlsWorksheetBase.py +279 -185
- spire/xls/__init__.py +531 -529
- spire/xls/autofilter/AutoFitterOptions.py +91 -0
- spire/xls/autofilter/ColorFilter.py +61 -0
- spire/xls/autofilter/CustomFilter.py +207 -0
- spire/xls/autofilter/CustomFilterCollection.py +146 -0
- spire/xls/autofilter/DateTimeGroupItem.py +196 -0
- spire/xls/autofilter/DynamicFilter.py +89 -0
- spire/xls/autofilter/FilterColumn.py +289 -0
- spire/xls/autofilter/MultipleFilterCollection.py +218 -0
- spire/xls/autofilter/Top10Filter.py +109 -0
- spire/xls/autofilter/XlsAutoFiltersCollection.py +146 -0
- spire/xls/charts/Chart.py +369 -0
- spire/xls/charts/ChartArea.py +58 -0
- spire/xls/charts/ChartBackgroundMode.py +17 -0
- spire/xls/charts/ChartCategoryAxis.py +88 -0
- spire/xls/charts/ChartDataLabels.py +40 -0
- spire/xls/charts/ChartDataPoint.py +40 -0
- spire/xls/charts/ChartFormat.py +68 -0
- spire/xls/charts/ChartGridLine.py +26 -0
- spire/xls/charts/ChartLegend.py +40 -0
- spire/xls/charts/ChartLegendEntriesColl.py +165 -0
- spire/xls/charts/ChartLegendEntry.py +26 -0
- spire/xls/charts/ChartPlotArea.py +60 -0
- spire/xls/charts/ChartSerie.py +147 -0
- spire/xls/charts/ChartSerieDataFormat.py +54 -0
- spire/xls/charts/ChartSeriesAxis.py +68 -0
- spire/xls/charts/ChartShadow.py +288 -0
- spire/xls/charts/ChartSheet.py +269 -0
- spire/xls/charts/ChartTextArea.py +898 -0
- spire/xls/charts/ChartValueAxis.py +90 -0
- spire/xls/charts/HistogramAxisFormat.py +32 -0
- spire/xls/charts/XlsChart.py +1667 -0
- spire/xls/charts/XlsChartAxis.py +596 -0
- spire/xls/charts/XlsChartBorder.py +180 -0
- spire/xls/charts/XlsChartCategoryAxis.py +640 -0
- spire/xls/charts/XlsChartDataLabelArea.py +368 -0
- spire/xls/charts/XlsChartDataLabels.py +702 -0
- spire/xls/charts/XlsChartDataPoint.py +105 -0
- spire/xls/charts/XlsChartDataTable.py +373 -0
- spire/xls/charts/XlsChartDropBar.py +295 -0
- spire/xls/charts/XlsChartFill.py +659 -0
- spire/xls/charts/XlsChartFormat.py +1229 -0
- spire/xls/charts/XlsChartFrameFormat.py +613 -0
- spire/xls/charts/XlsChartGridLine.py +167 -0
- spire/xls/charts/XlsChartInterior.py +229 -0
- spire/xls/charts/XlsChartLegend.py +334 -0
- spire/xls/charts/XlsChartLegendArea.py +418 -0
- spire/xls/charts/XlsChartLegendEntry.py +152 -0
- spire/xls/charts/XlsChartSerie.py +607 -0
- spire/xls/charts/XlsChartSerieDataFormat.py +1070 -0
- spire/xls/charts/XlsChartSeriesAxis.py +306 -0
- spire/xls/charts/XlsChartShape.py +1256 -0
- spire/xls/charts/XlsChartTitleArea.py +399 -0
- spire/xls/charts/XlsChartValueAxis.py +344 -0
- spire/xls/charts/XlsChartWallOrFloor.py +349 -0
- spire/xls/charts/__init__.py +0 -0
- spire/xls/collection/AddInFunctionsCollection.py +31 -0
- spire/xls/collection/ArcShapeCollection.py +94 -0
- spire/xls/collection/AutoFiltersCollection.py +539 -0
- spire/xls/collection/BordersCollection.py +196 -0
- spire/xls/collection/BordersCollectionArrayWrapper.py +129 -0
- spire/xls/collection/BuiltInDocumentProperties.py +12 -0
- spire/xls/collection/ButtonShapeCollection.py +70 -0
- spire/xls/collection/ChartDataPointsCollection.py +72 -0
- spire/xls/collection/ChartFormatCollection.py +58 -0
- spire/xls/collection/ChartSeries.py +187 -0
- spire/xls/collection/ChartsCollection.py +119 -0
- spire/xls/collection/CollectionBase.py +201 -0
- spire/xls/collection/CollectionExtended.py +96 -0
- spire/xls/collection/ComboBoxCollection.py +89 -0
- spire/xls/collection/CommentsCollection.py +134 -0
- spire/xls/collection/DataConnections.py +25 -0
- spire/xls/collection/ExternalLinkCollection.py +26 -0
- spire/xls/collection/GroupBoxCollection.py +70 -0
- spire/xls/collection/GroupShapeCollection.py +45 -0
- spire/xls/collection/HPageBreaksCollection.py +116 -0
- spire/xls/collection/HyperLinksCollection.py +72 -0
- spire/xls/collection/ListObjectCollection.py +48 -0
- spire/xls/collection/OvalShapeCollection.py +89 -0
- spire/xls/collection/PicturesCollection.py +574 -0
- spire/xls/collection/PrstGeomShapeCollection.py +128 -0
- spire/xls/collection/QueryTableCollection.py +25 -0
- spire/xls/collection/RadioButtonCollection.py +139 -0
- spire/xls/collection/RangesCollection.py +556 -0
- spire/xls/collection/ShapeCollectionBase.py +87 -0
- spire/xls/collection/StylesCollection.py +140 -0
- spire/xls/collection/VPageBreaksCollection.py +95 -0
- spire/xls/collection/WorksheetsCollection.py +363 -0
- spire/xls/collection/XlsAddInFunctionsCollection.py +108 -0
- spire/xls/collection/XlsBordersCollection.py +98 -0
- spire/xls/collection/XlsBuiltInDocumentProperties.py +611 -0
- spire/xls/collection/XlsChartDataPointsCollection.py +119 -0
- spire/xls/collection/XlsChartFormatCollection.py +160 -0
- spire/xls/collection/XlsChartsCollection.py +91 -0
- spire/xls/collection/XlsCommentsCollection.py +116 -0
- spire/xls/collection/XlsDataValidationCollection.py +157 -0
- spire/xls/collection/XlsFontsCollection.py +52 -0
- spire/xls/collection/XlsHPageBreaksCollection.py +87 -0
- spire/xls/collection/XlsHyperLinksCollection.py +104 -0
- spire/xls/collection/XlsRangesCollection.py +1641 -0
- spire/xls/collection/XlsStylesCollection.py +74 -0
- spire/xls/collection/XlsVPageBreaksCollection.py +81 -0
- spire/xls/collection/XlsWorkbookObjectsCollection.py +95 -0
- spire/xls/collection/XlsWorksheetsCollection.py +423 -0
- spire/xls/collection/__init__.py +0 -0
- spire/xls/collection/pivot_table/PivotConditionalFormatCollection.py +38 -0
- spire/xls/collection/pivot_table/PivotTableFields.py +108 -0
- spire/xls/collection/pivot_table/XlsPivotCachesCollection.py +124 -0
- spire/xls/collection/pivot_table/XlsPivotTablesCollection.py +132 -0
- spire/xls/collection/pivot_table/__init__.py +0 -0
- spire/xls/conditional_formatting/ColorConditionValue.py +102 -0
- spire/xls/conditional_formatting/CondFormatCollectionWrapper.py +153 -0
- spire/xls/conditional_formatting/ConditionValue.py +83 -0
- spire/xls/conditional_formatting/ConditionValuePosition.py +16 -0
- spire/xls/conditional_formatting/ConditionalFormat.py +13 -0
- spire/xls/conditional_formatting/ConditionalFormatScope.py +16 -0
- spire/xls/conditional_formatting/ConditionalFormatWrapper.py +1271 -0
- spire/xls/conditional_formatting/ConditionalFormats.py +65 -0
- spire/xls/conditional_formatting/DataBarBorder.py +51 -0
- spire/xls/conditional_formatting/NegativeBarFormat.py +90 -0
- spire/xls/conditional_formatting/XlsConditionValue.py +134 -0
- spire/xls/conditional_formatting/XlsConditionalFormat.py +1163 -0
- spire/xls/conditional_formatting/XlsConditionalFormats.py +684 -0
- spire/xls/conditional_formatting/__init__.py +0 -0
- spire/xls/enums/AlertStyleType.py +17 -0
- spire/xls/enums/AutoFormatOptions.py +22 -0
- spire/xls/enums/AutoFormatType.py +31 -0
- spire/xls/enums/AverageType.py +24 -0
- spire/xls/enums/AxisLineIdentifierType.py +18 -0
- spire/xls/enums/AxisTextDirectionType.py +17 -0
- spire/xls/enums/AxisType.py +17 -0
- spire/xls/enums/BaseFormatType.py +16 -0
- spire/xls/enums/BordersLineType.py +22 -0
- spire/xls/enums/BubbleSizeType.py +16 -0
- spire/xls/enums/BuiltInPropertyType.py +49 -0
- spire/xls/enums/BuiltInStyles.py +65 -0
- spire/xls/enums/CategoryType.py +17 -0
- spire/xls/enums/CellDataType.py +22 -0
- spire/xls/enums/CellFormatType.py +20 -0
- spire/xls/enums/ChartBaseUnitType.py +17 -0
- spire/xls/enums/ChartDisplayUnitType.py +25 -0
- spire/xls/enums/ChartLinePatternType.py +23 -0
- spire/xls/enums/ChartLineWeightType.py +18 -0
- spire/xls/enums/ChartMarkerType.py +26 -0
- spire/xls/enums/ChartParagraphType.py +17 -0
- spire/xls/enums/ChartPieType.py +17 -0
- spire/xls/enums/ChartPlotEmptyType.py +17 -0
- spire/xls/enums/CheckState.py +17 -0
- spire/xls/enums/ColorType.py +17 -0
- spire/xls/enums/CommentHAlignType.py +20 -0
- spire/xls/enums/CommentVAlignType.py +19 -0
- spire/xls/enums/ComparisonOperatorType.py +23 -0
- spire/xls/enums/ConditionalFormatType.py +32 -0
- spire/xls/enums/DataLabelPositionType.py +25 -0
- spire/xls/enums/DataSourceType.py +18 -0
- spire/xls/enums/DropLineStyleType.py +17 -0
- spire/xls/enums/ErrorBarIncludeType.py +18 -0
- spire/xls/enums/ErrorBarType.py +19 -0
- spire/xls/enums/ExcelCalculationMode.py +17 -0
- spire/xls/enums/ExcelChartType.py +95 -0
- spire/xls/enums/ExcelColors.py +120 -0
- spire/xls/enums/ExcelComboType.py +21 -0
- spire/xls/enums/ExcelHorizontalAlignment.py +20 -0
- spire/xls/enums/ExcelPatternType.py +51 -0
- spire/xls/enums/ExcelQuartileCalculation.py +16 -0
- spire/xls/enums/ExcelShapeType.py +40 -0
- spire/xls/enums/ExcelSheetType.py +19 -0
- spire/xls/enums/ExcelTreeMapLabelOption.py +17 -0
- spire/xls/enums/ExcelVersion.py +23 -0
- spire/xls/enums/ExcelVerticalAlignment.py +20 -0
- spire/xls/enums/ExpandCollapseFlags.py +17 -0
- spire/xls/enums/FilterConditionType.py +20 -0
- spire/xls/enums/FilterDataType.py +21 -0
- spire/xls/enums/FontUnderlineType.py +19 -0
- spire/xls/enums/FontVertialAlignmentType.py +17 -0
- spire/xls/enums/GradientColorType.py +17 -0
- spire/xls/enums/GradientPatternType.py +63 -0
- spire/xls/enums/GradientPresetType.py +38 -0
- spire/xls/enums/GradientStyleType.py +20 -0
- spire/xls/enums/GradientTextureType.py +39 -0
- spire/xls/enums/GradientVariantsType.py +18 -0
- spire/xls/enums/HorizontalAlignType.py +22 -0
- spire/xls/enums/HyperLinkType.py +19 -0
- spire/xls/enums/IgnoreErrorType.py +23 -0
- spire/xls/enums/ImageFormatType.py +17 -0
- spire/xls/enums/ImageType.py +16 -0
- spire/xls/enums/LegendPositionType.py +20 -0
- spire/xls/enums/LegendSpacingType.py +17 -0
- spire/xls/enums/LineStyleType.py +28 -0
- spire/xls/enums/OleObjectType.py +50 -0
- spire/xls/enums/OrderBy.py +18 -0
- spire/xls/enums/OrderType.py +16 -0
- spire/xls/enums/PageBreakExtentType.py +16 -0
- spire/xls/enums/PageBreakType.py +17 -0
- spire/xls/enums/PageOrientationType.py +16 -0
- spire/xls/enums/PagesOrderType.py +16 -0
- spire/xls/enums/PaperSizeType.py +134 -0
- spire/xls/enums/PivotGroupByTypes.py +22 -0
- spire/xls/enums/PrintCommentType.py +17 -0
- spire/xls/enums/PrintErrorsType.py +18 -0
- spire/xls/enums/ReadingOrderType.py +17 -0
- spire/xls/enums/RectangleStyleType.py +16 -0
- spire/xls/enums/ResizeBehaveType.py +17 -0
- spire/xls/enums/ShapeArrowLengthType.py +17 -0
- spire/xls/enums/ShapeArrowStyleType.py +20 -0
- spire/xls/enums/ShapeArrowWidthType.py +17 -0
- spire/xls/enums/ShapeDashLineStyleType.py +22 -0
- spire/xls/enums/ShapeFillType.py +21 -0
- spire/xls/enums/ShapeLayerChangeType.py +18 -0
- spire/xls/enums/ShapeLineStyleType.py +19 -0
- spire/xls/enums/SheetProtectionType.py +32 -0
- spire/xls/enums/SortComparsionType.py +18 -0
- spire/xls/enums/SortOrientationType.py +16 -0
- spire/xls/enums/SortedWayType.py +17 -0
- spire/xls/enums/SparklineType.py +17 -0
- spire/xls/enums/SplitType.py +18 -0
- spire/xls/enums/TextDirection.py +19 -0
- spire/xls/enums/TextRotationType.py +18 -0
- spire/xls/enums/ThemeColorType.py +26 -0
- spire/xls/enums/TickLabelPositionType.py +18 -0
- spire/xls/enums/TickMarkType.py +18 -0
- spire/xls/enums/TopBottomType.py +18 -0
- spire/xls/enums/TopFormatType.py +17 -0
- spire/xls/enums/TrendLineType.py +20 -0
- spire/xls/enums/UnknownVariableAction.py +17 -0
- spire/xls/enums/ValidationComparisonOperator.py +22 -0
- spire/xls/enums/VariableTypeAction.py +17 -0
- spire/xls/enums/VerticalAlignType.py +19 -0
- spire/xls/enums/ViewMode.py +17 -0
- spire/xls/enums/WorksheetVisibility.py +17 -0
- spire/xls/enums/XLSXBorderJoinType.py +18 -0
- spire/xls/enums/XLSXChartMaterialType.py +31 -0
- spire/xls/enums/XLSXChartPrespectiveType.py +20 -0
- spire/xls/enums/XLSXChartShadowInnerType.py +24 -0
- spire/xls/enums/XLSXChartShadowOuterType.py +24 -0
- spire/xls/enums/__init__.py +1 -0
- spire/xls/interfaces/IArcShape.py +285 -0
- spire/xls/interfaces/IChart.py +1597 -0
- spire/xls/interfaces/IChartAxis.py +786 -0
- spire/xls/interfaces/IChartBorder.py +203 -0
- spire/xls/interfaces/IChartCategoryAxis.py +522 -0
- spire/xls/interfaces/IChartDataLabels.py +419 -0
- spire/xls/interfaces/IChartDataPoint.py +114 -0
- spire/xls/interfaces/IChartDataTable.py +184 -0
- spire/xls/interfaces/IChartErrorBars.py +340 -0
- spire/xls/interfaces/IChartFillBorder.py +268 -0
- spire/xls/interfaces/IChartFormat.py +521 -0
- spire/xls/interfaces/IChartFrameFormat.py +85 -0
- spire/xls/interfaces/IChartGridLine.py +100 -0
- spire/xls/interfaces/IChartInterior.py +259 -0
- spire/xls/interfaces/IChartLegend.py +453 -0
- spire/xls/interfaces/IChartLegendEntry.py +167 -0
- spire/xls/interfaces/IChartPageSetup.py +51 -0
- spire/xls/interfaces/IChartSerie.py +727 -0
- spire/xls/interfaces/IChartSerieDataFormat.py +519 -0
- spire/xls/interfaces/IChartSeriesAxis.py +118 -0
- spire/xls/interfaces/IChartShape.py +88 -0
- spire/xls/interfaces/IChartTextArea.py +181 -0
- spire/xls/interfaces/IChartTrendLine.py +502 -0
- spire/xls/interfaces/IChartValueAxis.py +586 -0
- spire/xls/interfaces/IChartWallOrFloor.py +40 -0
- spire/xls/interfaces/ICheckBox.py +120 -0
- spire/xls/interfaces/ICloneParent.py +29 -0
- spire/xls/interfaces/IColorConditionValue.py +44 -0
- spire/xls/interfaces/IColorScale.py +39 -0
- spire/xls/interfaces/ICombinedRange.py +109 -0
- spire/xls/interfaces/IComboBoxShape.py +120 -0
- spire/xls/interfaces/IComment.py +110 -0
- spire/xls/interfaces/ICommentShape.py +20 -0
- spire/xls/interfaces/IConditionValue.py +83 -0
- spire/xls/interfaces/IConditionalFormat.py +757 -0
- spire/xls/interfaces/IConditionalFormats.py +66 -0
- spire/xls/interfaces/ICustomDocumentProperties.py +168 -0
- spire/xls/interfaces/IDataBar.py +127 -0
- spire/xls/interfaces/IDataValidation.py +506 -0
- spire/xls/interfaces/IDataValidationTable.py +84 -0
- spire/xls/interfaces/IDigitalSignature.py +111 -0
- spire/xls/interfaces/IDigitalSignatures.py +33 -0
- spire/xls/interfaces/IDocumentProperty.py +276 -0
- spire/xls/interfaces/IErrorIndicator.py +38 -0
- spire/xls/interfaces/IExtendIndex.py +26 -0
- spire/xls/interfaces/IExtendedFormat.py +631 -0
- spire/xls/interfaces/IFont.py +313 -0
- spire/xls/interfaces/IFormat3D.py +307 -0
- spire/xls/interfaces/IGeomPath.py +27 -0
- spire/xls/interfaces/IGeomPathInfo.py +141 -0
- spire/xls/interfaces/IGeomPathShape.py +40 -0
- spire/xls/interfaces/IGlow.py +104 -0
- spire/xls/interfaces/IGradient.py +203 -0
- spire/xls/interfaces/IGroupBox.py +82 -0
- spire/xls/interfaces/IHPageBreak.py +26 -0
- spire/xls/interfaces/IHyperLink.py +137 -0
- spire/xls/interfaces/IIconSet.py +115 -0
- spire/xls/interfaces/IInterior.py +137 -0
- spire/xls/interfaces/IInternalAddtionalFormat.py +277 -0
- spire/xls/interfaces/IInternalFont.py +38 -0
- spire/xls/interfaces/ILabelShape.py +60 -0
- spire/xls/interfaces/ILineShape.py +334 -0
- spire/xls/interfaces/IListObject.py +443 -0
- spire/xls/interfaces/IListObjectColumn.py +196 -0
- spire/xls/interfaces/IMarkersDesigner.py +133 -0
- spire/xls/interfaces/IMigrantRange.py +28 -0
- spire/xls/interfaces/INamedObject.py +27 -0
- spire/xls/interfaces/INamedRange.py +246 -0
- spire/xls/interfaces/INumberFormat.py +90 -0
- spire/xls/interfaces/IOleObject.py +225 -0
- spire/xls/interfaces/IOptimizedUpdate.py +35 -0
- spire/xls/interfaces/IOvalShape.py +201 -0
- spire/xls/interfaces/IPageSetup.py +260 -0
- spire/xls/interfaces/IPageSetupBase.py +849 -0
- spire/xls/interfaces/IPictureShape.py +118 -0
- spire/xls/interfaces/IPropertyData.py +100 -0
- spire/xls/interfaces/IPrstGeomShape.py +103 -0
- spire/xls/interfaces/IRadioButton.py +159 -0
- spire/xls/interfaces/IRectangleShape.py +90 -0
- spire/xls/interfaces/IReflectionEffect.py +217 -0
- spire/xls/interfaces/IScrollBarShape.py +139 -0
- spire/xls/interfaces/IShadow.py +385 -0
- spire/xls/interfaces/IShape.py +620 -0
- spire/xls/interfaces/IShapeFill.py +767 -0
- spire/xls/interfaces/IShapeLineFormat.py +488 -0
- spire/xls/interfaces/ISortColumn.py +138 -0
- spire/xls/interfaces/ISortColumns.py +106 -0
- spire/xls/interfaces/ISortedRule.py +154 -0
- spire/xls/interfaces/ISpinnerShape.py +124 -0
- spire/xls/interfaces/IStyle.py +60 -0
- spire/xls/interfaces/ITabSheet.py +364 -0
- spire/xls/interfaces/ITextBox.py +140 -0
- spire/xls/interfaces/ITextBoxLinkShape.py +48 -0
- spire/xls/interfaces/ITextBoxShape.py +27 -0
- spire/xls/interfaces/ITextFrame.py +146 -0
- spire/xls/interfaces/IVPageBreak.py +26 -0
- spire/xls/interfaces/IWorkbook.py +1736 -0
- spire/xls/interfaces/IWorksheet.py +2638 -0
- spire/xls/interfaces/IXLSRange.py +2241 -0
- spire/xls/interfaces/IXLSRanges.py +40 -0
- spire/xls/interfaces/IconSet.py +125 -0
- spire/xls/interfaces/ImageLocationTypes.py +17 -0
- spire/xls/interfaces/ImportObjectOptions.py +143 -0
- spire/xls/interfaces/InsertMoveOption.py +17 -0
- spire/xls/interfaces/InteriorArrayWrapper.py +181 -0
- spire/xls/interfaces/__init__.py +0 -0
- spire/xls/interfaces/collections/IDataValidationCollection.py +128 -0
- spire/xls/interfaces/collections/IHPageBreaks.py +37 -0
- spire/xls/interfaces/collections/IListObjects.py +34 -0
- spire/xls/interfaces/collections/IOleObjects.py +44 -0
- spire/xls/interfaces/collections/IPrstGeomShapes.py +87 -0
- spire/xls/interfaces/collections/IShapes.py +273 -0
- spire/xls/interfaces/collections/ITextBoxes.py +67 -0
- spire/xls/interfaces/collections/IVPageBreaks.py +37 -0
- spire/xls/interfaces/collections/__init__.py +0 -0
- spire/xls/interfaces/pivot_table/IPivotCache.py +50 -0
- spire/xls/interfaces/pivot_table/IPivotCaches.py +52 -0
- spire/xls/interfaces/pivot_table/IPivotCalculatedFields.py +69 -0
- spire/xls/interfaces/pivot_table/IPivotField.py +372 -0
- spire/xls/interfaces/pivot_table/IPivotTable.py +509 -0
- spire/xls/interfaces/pivot_table/IPivotTableOptions.py +507 -0
- spire/xls/interfaces/pivot_table/__init__.py +0 -0
- spire/xls/interfaces/sorting/__init__.py +0 -0
- spire/xls/lib/Spire.Xls.Base.dll +0 -0
- spire/xls/lib/_init_.py +0 -0
- spire/xls/license/LicenseProvider.py +107 -0
- spire/xls/license/__init__.py +0 -0
- spire/xls/pivot_tables/AutoSortScope.py +29 -0
- spire/xls/pivot_tables/PivotConditionalFormat.py +71 -0
- spire/xls/pivot_tables/PivotDataField.py +163 -0
- spire/xls/pivot_tables/PivotItem.py +228 -0
- spire/xls/pivot_tables/PivotReportFilter.py +199 -0
- spire/xls/pivot_tables/PivotReportFilters.py +95 -0
- spire/xls/pivot_tables/PivotStyle.py +105 -0
- spire/xls/pivot_tables/PivotTableStyle.py +83 -0
- spire/xls/pivot_tables/XlsPivotCache.py +506 -0
- spire/xls/pivot_tables/XlsPivotCacheField.py +276 -0
- spire/xls/pivot_tables/XlsPivotField.py +975 -0
- spire/xls/pivot_tables/XlsPivotTable.py +1189 -0
- spire/xls/pivot_tables/__init__.py +0 -0
- spire/xls/security/__init__.py +0 -0
- spire/xls/sorting/DataSorter.py +152 -0
- spire/xls/sorting/SortColumn.py +115 -0
- spire/xls/sorting/SortColumns.py +194 -0
- spire/xls/sorting/__init__.py +0 -0
- spire/xls/sparkline/ISparklines.py +72 -0
- spire/xls/sparkline/Sparkline.py +89 -0
- spire/xls/sparkline/SparklineCollection.py +107 -0
- spire/xls/sparkline/SparklineGroup.py +592 -0
- spire/xls/sparkline/SparklineGroupCollection.py +67 -0
- spire/xls/sparkline/__init__.py +0 -0
- spire/xls/template_markers/MarkerDesigner.py +171 -0
- spire/xls/template_markers/__init__.py +0 -0
- spire_xls-15.11.1.dist-info/METADATA +197 -0
- spire_xls-15.11.1.dist-info/RECORD +721 -0
- spire/xls/AddInFunctionsCollection.py +0 -29
- spire/xls/AlertStyleType.py +0 -18
- spire/xls/ArcShapeCollection.py +0 -70
- spire/xls/AutoFiltersCollection.py +0 -527
- spire/xls/AutoFitterOptions.py +0 -66
- spire/xls/AutoFormatOptions.py +0 -23
- spire/xls/AutoFormatType.py +0 -32
- spire/xls/AutoSortScope.py +0 -25
- spire/xls/AverageType.py +0 -25
- spire/xls/AxisLineIdentifierType.py +0 -19
- spire/xls/AxisTextDirectionType.py +0 -18
- spire/xls/AxisType.py +0 -18
- spire/xls/BaseFormatType.py +0 -17
- spire/xls/BordersCollection.py +0 -158
- spire/xls/BordersCollectionArrayWrapper.py +0 -95
- spire/xls/BordersLineType.py +0 -23
- spire/xls/BubbleSizeType.py +0 -17
- spire/xls/BuiltInDocumentProperties.py +0 -12
- spire/xls/BuiltInPropertyType.py +0 -50
- spire/xls/BuiltInStyles.py +0 -66
- spire/xls/ButtonShapeCollection.py +0 -70
- spire/xls/CategoryType.py +0 -18
- spire/xls/CellDataType.py +0 -23
- spire/xls/CellFormatType.py +0 -21
- spire/xls/Chart.py +0 -404
- spire/xls/ChartArea.py +0 -61
- spire/xls/ChartBackgroundMode.py +0 -18
- spire/xls/ChartBaseUnitType.py +0 -18
- spire/xls/ChartCategoryAxis.py +0 -93
- spire/xls/ChartDataLabels.py +0 -42
- spire/xls/ChartDataPoint.py +0 -42
- spire/xls/ChartDataPointsCollection.py +0 -75
- spire/xls/ChartDisplayUnitType.py +0 -26
- spire/xls/ChartFormat.py +0 -72
- spire/xls/ChartFormatCollection.py +0 -59
- spire/xls/ChartGridLine.py +0 -27
- spire/xls/ChartLegend.py +0 -42
- spire/xls/ChartLegendEntriesColl.py +0 -128
- spire/xls/ChartLegendEntry.py +0 -27
- spire/xls/ChartLinePatternType.py +0 -24
- spire/xls/ChartLineWeightType.py +0 -19
- spire/xls/ChartMarkerType.py +0 -27
- spire/xls/ChartParagraphType.py +0 -18
- spire/xls/ChartPieType.py +0 -18
- spire/xls/ChartPlotArea.py +0 -53
- spire/xls/ChartPlotEmptyType.py +0 -18
- spire/xls/ChartSerie.py +0 -142
- spire/xls/ChartSerieDataFormat.py +0 -56
- spire/xls/ChartSeries.py +0 -154
- spire/xls/ChartSeriesAxis.py +0 -72
- spire/xls/ChartShadow.py +0 -235
- spire/xls/ChartSheet.py +0 -285
- spire/xls/ChartTextArea.py +0 -782
- spire/xls/ChartValueAxis.py +0 -92
- spire/xls/ChartsCollection.py +0 -113
- spire/xls/CheckState.py +0 -18
- spire/xls/CollectionBase.py +0 -184
- spire/xls/CollectionExtended.py +0 -92
- spire/xls/ColorConditionValue.py +0 -91
- spire/xls/ColorFilter.py +0 -45
- spire/xls/ColorType.py +0 -18
- spire/xls/ComboBoxCollection.py +0 -70
- spire/xls/CommentHAlignType.py +0 -21
- spire/xls/CommentVAlignType.py +0 -20
- spire/xls/CommentsCollection.py +0 -109
- spire/xls/ComparisonOperatorType.py +0 -24
- spire/xls/CondFormatCollectionWrapper.py +0 -125
- spire/xls/ConditionValue.py +0 -82
- spire/xls/ConditionValuePosition.py +0 -16
- spire/xls/ConditionalFormat.py +0 -14
- spire/xls/ConditionalFormatScope.py +0 -16
- spire/xls/ConditionalFormatType.py +0 -33
- spire/xls/ConditionalFormatWrapper.py +0 -986
- spire/xls/ConditionalFormats.py +0 -55
- spire/xls/CustomFilter.py +0 -147
- spire/xls/CustomFilterCollection.py +0 -113
- spire/xls/DataBarBorder.py +0 -47
- spire/xls/DataConnections.py +0 -25
- spire/xls/DataLabelPositionType.py +0 -26
- spire/xls/DataSorter.py +0 -154
- spire/xls/DataSourceType.py +0 -19
- spire/xls/DateTimeGroupItem.py +0 -132
- spire/xls/DropLineStyleType.py +0 -18
- spire/xls/DynamicFilter.py +0 -71
- spire/xls/ErrorBarIncludeType.py +0 -19
- spire/xls/ErrorBarType.py +0 -20
- spire/xls/ExcelCalculationMode.py +0 -18
- spire/xls/ExcelChartType.py +0 -96
- spire/xls/ExcelColors.py +0 -121
- spire/xls/ExcelComboType.py +0 -22
- spire/xls/ExcelHorizontalAlignment.py +0 -21
- spire/xls/ExcelPatternType.py +0 -52
- spire/xls/ExcelQuartileCalculation.py +0 -17
- spire/xls/ExcelShapeType.py +0 -41
- spire/xls/ExcelSheetType.py +0 -20
- spire/xls/ExcelTreeMapLabelOption.py +0 -18
- spire/xls/ExcelVersion.py +0 -24
- spire/xls/ExcelVerticalAlignment.py +0 -21
- spire/xls/ExpandCollapseFlags.py +0 -18
- spire/xls/ExternalLinkCollection.py +0 -25
- spire/xls/FilterColumn.py +0 -258
- spire/xls/FilterConditionType.py +0 -21
- spire/xls/FilterDataType.py +0 -22
- spire/xls/FontUnderlineType.py +0 -20
- spire/xls/FontVertialAlignmentType.py +0 -20
- spire/xls/GradientColorType.py +0 -18
- spire/xls/GradientPatternType.py +0 -64
- spire/xls/GradientPresetType.py +0 -39
- spire/xls/GradientStyleType.py +0 -21
- spire/xls/GradientTextureType.py +0 -40
- spire/xls/GradientVariantsType.py +0 -19
- spire/xls/GroupBoxCollection.py +0 -70
- spire/xls/GroupShapeCollection.py +0 -46
- spire/xls/HPageBreaksCollection.py +0 -108
- spire/xls/HistogramAxisFormat.py +0 -30
- spire/xls/HorizontalAlignType.py +0 -23
- spire/xls/HyperLinkType.py +0 -20
- spire/xls/HyperLinksCollection.py +0 -72
- spire/xls/IArcShape.py +0 -259
- spire/xls/IChart.py +0 -1368
- spire/xls/IChartAxis.py +0 -722
- spire/xls/IChartBorder.py +0 -220
- spire/xls/IChartCategoryAxis.py +0 -410
- spire/xls/IChartDataLabels.py +0 -457
- spire/xls/IChartDataPoint.py +0 -131
- spire/xls/IChartDataTable.py +0 -197
- spire/xls/IChartErrorBars.py +0 -373
- spire/xls/IChartFillBorder.py +0 -303
- spire/xls/IChartFormat.py +0 -571
- spire/xls/IChartFrameFormat.py +0 -93
- spire/xls/IChartGridLine.py +0 -107
- spire/xls/IChartInterior.py +0 -278
- spire/xls/IChartLegend.py +0 -499
- spire/xls/IChartLegendEntry.py +0 -178
- spire/xls/IChartPageSetup.py +0 -56
- spire/xls/IChartSerie.py +0 -779
- spire/xls/IChartSerieDataFormat.py +0 -566
- spire/xls/IChartSeriesAxis.py +0 -128
- spire/xls/IChartShape.py +0 -92
- spire/xls/IChartTextArea.py +0 -197
- spire/xls/IChartTrendLine.py +0 -548
- spire/xls/IChartValueAxis.py +0 -518
- spire/xls/IChartWallOrFloor.py +0 -32
- spire/xls/ICheckBox.py +0 -96
- spire/xls/ICloneParent.py +0 -28
- spire/xls/IColorConditionValue.py +0 -31
- spire/xls/IColorScale.py +0 -32
- spire/xls/ICombinedRange.py +0 -87
- spire/xls/IComboBoxShape.py +0 -95
- spire/xls/IComment.py +0 -85
- spire/xls/ICommentShape.py +0 -12
- spire/xls/IConditionValue.py +0 -68
- spire/xls/IConditionalFormat.py +0 -606
- spire/xls/IConditionalFormats.py +0 -48
- spire/xls/ICustomDocumentProperties.py +0 -128
- spire/xls/IDataBar.py +0 -105
- spire/xls/IDataValidation.py +0 -421
- spire/xls/IDataValidationCollection.py +0 -132
- spire/xls/IDataValidationTable.py +0 -68
- spire/xls/IDigitalSignature.py +0 -99
- spire/xls/IDigitalSignatures.py +0 -29
- spire/xls/IDocumentProperty.py +0 -226
- spire/xls/IErrorIndicator.py +0 -31
- spire/xls/IExtendIndex.py +0 -21
- spire/xls/IExtendedFormat.py +0 -530
- spire/xls/IFont.py +0 -271
- spire/xls/IFormat3D.py +0 -252
- spire/xls/IGeomPath.py +0 -23
- spire/xls/IGeomPathInfo.py +0 -112
- spire/xls/IGeomPathShape.py +0 -30
- spire/xls/IGlow.py +0 -85
- spire/xls/IGradient.py +0 -174
- spire/xls/IGroupBox.py +0 -67
- spire/xls/IHPageBreak.py +0 -22
- spire/xls/IHPageBreaks.py +0 -31
- spire/xls/IHyperLink.py +0 -118
- spire/xls/IIconSet.py +0 -96
- spire/xls/IInterior.py +0 -117
- spire/xls/IInternalAddtionalFormat.py +0 -238
- spire/xls/IInternalFont.py +0 -31
- spire/xls/ILabelShape.py +0 -49
- spire/xls/ILineShape.py +0 -305
- spire/xls/IListObject.py +0 -493
- spire/xls/IListObjectColumn.py +0 -222
- spire/xls/IListObjects.py +0 -31
- spire/xls/IMarkersDesigner.py +0 -113
- spire/xls/IMigrantRange.py +0 -21
- spire/xls/INamedObject.py +0 -22
- spire/xls/INamedRange.py +0 -162
- spire/xls/INumberFormat.py +0 -77
- spire/xls/IOleObject.py +0 -176
- spire/xls/IOleObjects.py +0 -32
- spire/xls/IOptimizedUpdate.py +0 -28
- spire/xls/IOvalShape.py +0 -154
- spire/xls/IPageSetup.py +0 -195
- spire/xls/IPageSetupBase.py +0 -642
- spire/xls/IPictureShape.py +0 -99
- spire/xls/IPivotCache.py +0 -41
- spire/xls/IPivotCaches.py +0 -39
- spire/xls/IPivotCalculatedFields.py +0 -50
- spire/xls/IPivotField.py +0 -291
- spire/xls/IPivotTable.py +0 -393
- spire/xls/IPivotTableOptions.py +0 -428
- spire/xls/IPropertyData.py +0 -70
- spire/xls/IPrstGeomShape.py +0 -71
- spire/xls/IPrstGeomShapes.py +0 -81
- spire/xls/IRadioButton.py +0 -105
- spire/xls/IRectangleShape.py +0 -60
- spire/xls/IReflectionEffect.py +0 -138
- spire/xls/IScrollBarShape.py +0 -140
- spire/xls/IShadow.py +0 -244
- spire/xls/IShape.py +0 -409
- spire/xls/IShapeFill.py +0 -522
- spire/xls/IShapeLineFormat.py +0 -331
- spire/xls/IShapes.py +0 -270
- spire/xls/ISortColumn.py +0 -96
- spire/xls/ISortColumns.py +0 -70
- spire/xls/ISortedRule.py +0 -112
- spire/xls/ISparklines.py +0 -72
- spire/xls/ISpinnerShape.py +0 -102
- spire/xls/IStyle.py +0 -50
- spire/xls/ITabSheet.py +0 -302
- spire/xls/ITextBox.py +0 -116
- spire/xls/ITextBoxLinkShape.py +0 -40
- spire/xls/ITextBoxShape.py +0 -22
- spire/xls/ITextBoxes.py +0 -61
- spire/xls/ITextFrame.py +0 -120
- spire/xls/IVPageBreak.py +0 -22
- spire/xls/IVPageBreaks.py +0 -31
- spire/xls/IWorkbook.py +0 -1806
- spire/xls/IWorksheet.py +0 -2694
- spire/xls/IXLSRange.py +0 -2479
- spire/xls/IXLSRanges.py +0 -35
- spire/xls/IconSet.py +0 -103
- spire/xls/IgnoreErrorType.py +0 -24
- spire/xls/ImageFormatType.py +0 -18
- spire/xls/ImageLocationTypes.py +0 -15
- spire/xls/ImageType.py +0 -17
- spire/xls/ImportObjectOptions.py +0 -89
- spire/xls/InsertMoveOption.py +0 -15
- spire/xls/InteriorArrayWrapper.py +0 -126
- spire/xls/LegendPositionType.py +0 -21
- spire/xls/LegendSpacingType.py +0 -18
- spire/xls/LineStyleType.py +0 -29
- spire/xls/ListObjectCollection.py +0 -45
- spire/xls/MarkerDesigner.py +0 -172
- spire/xls/MultipleFilterCollection.py +0 -166
- spire/xls/NegativeBarFormat.py +0 -82
- spire/xls/OleObjectType.py +0 -51
- spire/xls/OrderBy.py +0 -19
- spire/xls/OrderType.py +0 -17
- spire/xls/OvalShapeCollection.py +0 -70
- spire/xls/PageBreakExtentType.py +0 -17
- spire/xls/PageBreakType.py +0 -18
- spire/xls/PageOrientationType.py +0 -17
- spire/xls/PagesOrderType.py +0 -17
- spire/xls/PaperSizeType.py +0 -135
- spire/xls/PicturesCollection.py +0 -532
- spire/xls/PivotConditionalFormat.py +0 -54
- spire/xls/PivotConditionalFormatCollection.py +0 -38
- spire/xls/PivotDataField.py +0 -118
- spire/xls/PivotGroupByTypes.py +0 -23
- spire/xls/PivotItem.py +0 -161
- spire/xls/PivotReportFilter.py +0 -92
- spire/xls/PivotReportFilters.py +0 -63
- spire/xls/PivotStyle.py +0 -79
- spire/xls/PivotTableFields.py +0 -85
- spire/xls/PivotTableStyle.py +0 -63
- spire/xls/PrintCommentType.py +0 -18
- spire/xls/PrintErrorsType.py +0 -19
- spire/xls/PrstGeomShapeCollection.py +0 -126
- spire/xls/QueryTableCollection.py +0 -25
- spire/xls/RadioButtonCollection.py +0 -137
- spire/xls/RangesCollection.py +0 -537
- spire/xls/ReadingOrderType.py +0 -18
- spire/xls/RectangleStyleType.py +0 -17
- spire/xls/ResizeBehaveType.py +0 -18
- spire/xls/ShapeArrowLengthType.py +0 -18
- spire/xls/ShapeArrowStyleType.py +0 -21
- spire/xls/ShapeArrowWidthType.py +0 -18
- spire/xls/ShapeCollectionBase.py +0 -87
- spire/xls/ShapeDashLineStyleType.py +0 -23
- spire/xls/ShapeFillType.py +0 -22
- spire/xls/ShapeLayerChangeType.py +0 -19
- spire/xls/ShapeLineStyleType.py +0 -20
- spire/xls/SheetProtectionType.py +0 -33
- spire/xls/SortColumn.py +0 -120
- spire/xls/SortColumns.py +0 -185
- spire/xls/SortComparsionType.py +0 -19
- spire/xls/SortOrientationType.py +0 -17
- spire/xls/SortedWayType.py +0 -18
- spire/xls/Sparkline.py +0 -70
- spire/xls/SparklineCollection.py +0 -112
- spire/xls/SparklineGroup.py +0 -523
- spire/xls/SparklineGroupCollection.py +0 -71
- spire/xls/SparklineType.py +0 -18
- spire/xls/SplitType.py +0 -19
- spire/xls/StylesCollection.py +0 -141
- spire/xls/TextDirection.py +0 -20
- spire/xls/TextRotationType.py +0 -19
- spire/xls/ThemeColorType.py +0 -27
- spire/xls/TickLabelPositionType.py +0 -19
- spire/xls/TickMarkType.py +0 -19
- spire/xls/Top10Filter.py +0 -75
- spire/xls/TopBottomType.py +0 -19
- spire/xls/TopFormatType.py +0 -18
- spire/xls/TrendLineType.py +0 -21
- spire/xls/UnknownVariableAction.py +0 -18
- spire/xls/VPageBreaksCollection.py +0 -96
- spire/xls/ValidationComparisonOperator.py +0 -23
- spire/xls/VariableTypeAction.py +0 -19
- spire/xls/VerticalAlignType.py +0 -20
- spire/xls/ViewMode.py +0 -18
- spire/xls/WorksheetVisibility.py +0 -18
- spire/xls/WorksheetsCollection.py +0 -341
- spire/xls/XLSXBorderJoinType.py +0 -19
- spire/xls/XLSXChartMaterialType.py +0 -32
- spire/xls/XLSXChartPrespectiveType.py +0 -21
- spire/xls/XLSXChartShadowInnerType.py +0 -25
- spire/xls/XLSXChartShadowOuterType.py +0 -25
- spire/xls/XlsAddInFunctionsCollection.py +0 -101
- spire/xls/XlsAutoFiltersCollection.py +0 -119
- spire/xls/XlsBordersCollection.py +0 -101
- spire/xls/XlsBuiltInDocumentProperties.py +0 -639
- spire/xls/XlsChart.py +0 -1510
- spire/xls/XlsChartAxis.py +0 -564
- spire/xls/XlsChartBorder.py +0 -165
- spire/xls/XlsChartCategoryAxis.py +0 -656
- spire/xls/XlsChartDataLabelArea.py +0 -387
- spire/xls/XlsChartDataLabels.py +0 -811
- spire/xls/XlsChartDataPoint.py +0 -108
- spire/xls/XlsChartDataPointsCollection.py +0 -120
- spire/xls/XlsChartDataTable.py +0 -393
- spire/xls/XlsChartDropBar.py +0 -301
- spire/xls/XlsChartFill.py +0 -571
- spire/xls/XlsChartFormat.py +0 -1069
- spire/xls/XlsChartFormatCollection.py +0 -162
- spire/xls/XlsChartFrameFormat.py +0 -614
- spire/xls/XlsChartGridLine.py +0 -171
- spire/xls/XlsChartInterior.py +0 -240
- spire/xls/XlsChartLegend.py +0 -355
- spire/xls/XlsChartLegendArea.py +0 -419
- spire/xls/XlsChartLegendEntry.py +0 -156
- spire/xls/XlsChartSerie.py +0 -589
- spire/xls/XlsChartSerieDataFormat.py +0 -1008
- spire/xls/XlsChartSeriesAxis.py +0 -212
- spire/xls/XlsChartShape.py +0 -1142
- spire/xls/XlsChartTitleArea.py +0 -392
- spire/xls/XlsChartValueAxis.py +0 -317
- spire/xls/XlsChartWallOrFloor.py +0 -319
- spire/xls/XlsChartsCollection.py +0 -89
- spire/xls/XlsCommentsCollection.py +0 -87
- spire/xls/XlsConditionValue.py +0 -111
- spire/xls/XlsConditionalFormat.py +0 -1119
- spire/xls/XlsConditionalFormats.py +0 -590
- spire/xls/XlsDataValidationCollection.py +0 -159
- spire/xls/XlsFontsCollection.py +0 -51
- spire/xls/XlsHPageBreaksCollection.py +0 -85
- spire/xls/XlsHyperLinksCollection.py +0 -102
- spire/xls/XlsPivotCache.py +0 -401
- spire/xls/XlsPivotCacheField.py +0 -209
- spire/xls/XlsPivotCachesCollection.py +0 -124
- spire/xls/XlsPivotField.py +0 -885
- spire/xls/XlsPivotTable.py +0 -905
- spire/xls/XlsPivotTablesCollection.py +0 -131
- spire/xls/XlsRangesCollection.py +0 -1566
- spire/xls/XlsStylesCollection.py +0 -73
- spire/xls/XlsVPageBreaksCollection.py +0 -84
- spire/xls/XlsWorkbookObjectsCollection.py +0 -94
- spire/xls/XlsWorksheetsCollection.py +0 -416
- spire_xls-15.5.0.dist-info/METADATA +0 -197
- spire_xls-15.5.0.dist-info/RECORD +0 -703
- /spire/xls/{lib → autofilter}/__init__.py +0 -0
- /spire/xls/{ChartBorder.py → charts/ChartBorder.py} +0 -0
- /spire/xls/{ChartDataTable.py → charts/ChartDataTable.py} +0 -0
- /spire/xls/{ChartDropBar.py → charts/ChartDropBar.py} +0 -0
- /spire/xls/{ChartInterior.py → charts/ChartInterior.py} +0 -0
- /spire/xls/{ChartPageSetup.py → charts/ChartPageSetup.py} +0 -0
- /spire/xls/{ChartTitle.py → charts/ChartTitle.py} +0 -0
- /spire/xls/{ChartWallOrFloor.py → charts/ChartWallOrFloor.py} +0 -0
- /spire/xls/{XlsChartPageSetup.py → charts/XlsChartPageSetup.py} +0 -0
- /spire/xls/{XlsChartPlotArea.py → charts/XlsChartPlotArea.py} +0 -0
- /spire/xls/{CheckBoxCollection.py → collection/CheckBoxCollection.py} +0 -0
- /spire/xls/{CollectionChangeEventArgs.py → collection/CollectionChangeEventArgs.py} +0 -0
- /spire/xls/{FontsCollection.py → collection/FontsCollection.py} +0 -0
- /spire/xls/{GeomertyAdjustValuesCollection.py → collection/GeomertyAdjustValuesCollection.py} +0 -0
- /spire/xls/{LabelShapeCollection.py → collection/LabelShapeCollection.py} +0 -0
- /spire/xls/{LineCollection.py → collection/LineCollection.py} +0 -0
- /spire/xls/{ListBoxCollection.py → collection/ListBoxCollection.py} +0 -0
- /spire/xls/{RectangleCollection.py → collection/RectangleCollection.py} +0 -0
- /spire/xls/{ScrollBarCollection.py → collection/ScrollBarCollection.py} +0 -0
- /spire/xls/{SpinnerShapeCollection.py → collection/SpinnerShapeCollection.py} +0 -0
- /spire/xls/{TextBoxCollection.py → collection/TextBoxCollection.py} +0 -0
- /spire/xls/{WorkbookObjectsCollection.py → collection/WorkbookObjectsCollection.py} +0 -0
- /spire/xls/{WorksheetChartsCollection.py → collection/WorksheetChartsCollection.py} +0 -0
- /spire/xls/{WorksheetConditionalFormats.py → collection/WorksheetConditionalFormats.py} +0 -0
- /spire/xls/{XlsChartSeries.py → collection/XlsChartSeries.py} +0 -0
- /spire/xls/{XlsHeaderFooterShapeCollection.py → collection/XlsHeaderFooterShapeCollection.py} +0 -0
- /spire/xls/{XlsPicturesCollection.py → collection/XlsPicturesCollection.py} +0 -0
- /spire/xls/{XlsWorksheetChartsCollection.py → collection/XlsWorksheetChartsCollection.py} +0 -0
- /spire/xls/{XlsWorksheetConditionalFormats.py → collection/XlsWorksheetConditionalFormats.py} +0 -0
- /spire/xls/{PivotCachesCollection.py → collection/pivot_table/PivotCachesCollection.py} +0 -0
- /spire/xls/{PivotCalculatedFieldsCollection.py → collection/pivot_table/PivotCalculatedFieldsCollection.py} +0 -0
- /spire/xls/{PivotDataFields.py → collection/pivot_table/PivotDataFields.py} +0 -0
- /spire/xls/{PivotTablesCollection.py → collection/pivot_table/PivotTablesCollection.py} +0 -0
- /spire/xls/{AxisTypes.py → enums/AxisTypes.py} +0 -0
- /spire/xls/{CompoundLineType.py → enums/CompoundLineType.py} +0 -0
- /spire/xls/{ConditionValueType.py → enums/ConditionValueType.py} +0 -0
- /spire/xls/{ConditionalTopNType.py → enums/ConditionalTopNType.py} +0 -0
- /spire/xls/{ConnectionDataSourceType.py → enums/ConnectionDataSourceType.py} +0 -0
- /spire/xls/{CopyRangeOptions.py → enums/CopyRangeOptions.py} +0 -0
- /spire/xls/{DataBarAxisPosition.py → enums/DataBarAxisPosition.py} +0 -0
- /spire/xls/{DataBarBorderType.py → enums/DataBarBorderType.py} +0 -0
- /spire/xls/{DataBarFillType.py → enums/DataBarFillType.py} +0 -0
- /spire/xls/{DataBarNegativeColorType.py → enums/DataBarNegativeColorType.py} +0 -0
- /spire/xls/{DataMarkerDirection.py → enums/DataMarkerDirection.py} +0 -0
- /spire/xls/{DateTimeGroupingType.py → enums/DateTimeGroupingType.py} +0 -0
- /spire/xls/{DeleteOption.py → enums/DeleteOption.py} +0 -0
- /spire/xls/{DynamicFilterType.py → enums/DynamicFilterType.py} +0 -0
- /spire/xls/{ExcelClearOptions.py → enums/ExcelClearOptions.py} +0 -0
- /spire/xls/{ExcelFindOptions.py → enums/ExcelFindOptions.py} +0 -0
- /spire/xls/{ExcelSaveType.py → enums/ExcelSaveType.py} +0 -0
- /spire/xls/{ExcelTotalsCalculation.py → enums/ExcelTotalsCalculation.py} +0 -0
- /spire/xls/{FillPictureType.py → enums/FillPictureType.py} +0 -0
- /spire/xls/{FilterOperatorType.py → enums/FilterOperatorType.py} +0 -0
- /spire/xls/{FilterType.py → enums/FilterType.py} +0 -0
- /spire/xls/{FindType.py → enums/FindType.py} +0 -0
- /spire/xls/{GeomertyAdjustValueFormulaType.py → enums/GeomertyAdjustValueFormulaType.py} +0 -0
- /spire/xls/{GroupByType.py → enums/GroupByType.py} +0 -0
- /spire/xls/{HttpContentType.py → enums/HttpContentType.py} +0 -0
- /spire/xls/{IconSetType.py → enums/IconSetType.py} +0 -0
- /spire/xls/{InsertOptionsType.py → enums/InsertOptionsType.py} +0 -0
- /spire/xls/{LineShapeType.py → enums/LineShapeType.py} +0 -0
- /spire/xls/{MeasureUnits.py → enums/MeasureUnits.py} +0 -0
- /spire/xls/{MsoPathType.py → enums/MsoPathType.py} +0 -0
- /spire/xls/{OLEDBCommandType.py → enums/OLEDBCommandType.py} +0 -0
- /spire/xls/{OdsPageBackgroundImagePositionType.py → enums/OdsPageBackgroundImagePositionType.py} +0 -0
- /spire/xls/{OdsPageBackgroundImageType.py → enums/OdsPageBackgroundImageType.py} +0 -0
- /spire/xls/{OdsPageBackgroundType.py → enums/OdsPageBackgroundType.py} +0 -0
- /spire/xls/{OleLinkType.py → enums/OleLinkType.py} +0 -0
- /spire/xls/{PathFillMode.py → enums/PathFillMode.py} +0 -0
- /spire/xls/{PdfConformanceLevel.py → enums/PdfConformanceLevel.py} +0 -0
- /spire/xls/{PivotAutoFomatTypes.py → enums/PivotAutoFomatTypes.py} +0 -0
- /spire/xls/{PivotBuiltInStyles.py → enums/PivotBuiltInStyles.py} +0 -0
- /spire/xls/{PivotDataType.py → enums/PivotDataType.py} +0 -0
- /spire/xls/{PivotFieldFormatType.py → enums/PivotFieldFormatType.py} +0 -0
- /spire/xls/{PivotFieldSortType.py → enums/PivotFieldSortType.py} +0 -0
- /spire/xls/{PivotItemType.py → enums/PivotItemType.py} +0 -0
- /spire/xls/{PivotLabelFilterType.py → enums/PivotLabelFilterType.py} +0 -0
- /spire/xls/{PivotPageAreaFieldsOrderType.py → enums/PivotPageAreaFieldsOrderType.py} +0 -0
- /spire/xls/{PivotTableElement.py → enums/PivotTableElement.py} +0 -0
- /spire/xls/{PivotTableLayoutType.py → enums/PivotTableLayoutType.py} +0 -0
- /spire/xls/{PivotValueFilterType.py → enums/PivotValueFilterType.py} +0 -0
- /spire/xls/{PresetTextEffect.py → enums/PresetTextEffect.py} +0 -0
- /spire/xls/{PrintingPageType.py → enums/PrintingPageType.py} +0 -0
- /spire/xls/{PropertyType.py → enums/PropertyType.py} +0 -0
- /spire/xls/{PrstGeomShapeType.py → enums/PrstGeomShapeType.py} +0 -0
- /spire/xls/{RectangleShapeType.py → enums/RectangleShapeType.py} +0 -0
- /spire/xls/{RelationShip.py → enums/RelationShip.py} +0 -0
- /spire/xls/{RenameStrategy.py → enums/RenameStrategy.py} +0 -0
- /spire/xls/{RtfTags.py → enums/RtfTags.py} +0 -0
- /spire/xls/{SelectionType.py → enums/SelectionType.py} +0 -0
- /spire/xls/{SparklineEmptyCells.py → enums/SparklineEmptyCells.py} +0 -0
- /spire/xls/{SpartlineVerticalAxisType.py → enums/SpartlineVerticalAxisType.py} +0 -0
- /spire/xls/{StrikeThroughStyle.py → enums/StrikeThroughStyle.py} +0 -0
- /spire/xls/{StyleDefineType.py → enums/StyleDefineType.py} +0 -0
- /spire/xls/{SubtotalTypes.py → enums/SubtotalTypes.py} +0 -0
- /spire/xls/{TRangeValueType.py → enums/TRangeValueType.py} +0 -0
- /spire/xls/{TableBuiltInStyles.py → enums/TableBuiltInStyles.py} +0 -0
- /spire/xls/{TextDirectionType.py → enums/TextDirectionType.py} +0 -0
- /spire/xls/{TextVerticalValue.py → enums/TextVerticalValue.py} +0 -0
- /spire/xls/{TimePeriodType.py → enums/TimePeriodType.py} +0 -0
- /spire/xls/{UnderlineStyle.py → enums/UnderlineStyle.py} +0 -0
- /spire/xls/{WorksheetCopyType.py → enums/WorksheetCopyType.py} +0 -0
- /spire/xls/{XLSXChartBevelType.py → enums/XLSXChartBevelType.py} +0 -0
- /spire/xls/{XLSXChartLightingType.py → enums/XLSXChartLightingType.py} +0 -0
- /spire/xls/{XLSXPivotItemType.py → enums/XLSXPivotItemType.py} +0 -0
- /spire/xls/{XmlOpenType.py → enums/XmlOpenType.py} +0 -0
- /spire/xls/{IAddInFunction.py → interfaces/IAddInFunction.py} +0 -0
- /spire/xls/{IAutoFilter.py → interfaces/IAutoFilter.py} +0 -0
- /spire/xls/{IAutoFilterCondition.py → interfaces/IAutoFilterCondition.py} +0 -0
- /spire/xls/{IAutoFilters.py → interfaces/IAutoFilters.py} +0 -0
- /spire/xls/{IBorder.py → interfaces/IBorder.py} +0 -0
- /spire/xls/{IBuiltInDocumentProperties.py → interfaces/IBuiltInDocumentProperties.py} +0 -0
- /spire/xls/{IButtonShape.py → interfaces/IButtonShape.py} +0 -0
- /spire/xls/{IChartDropBar.py → interfaces/IChartDropBar.py} +0 -0
- /spire/xls/{IExcelApplication.py → interfaces/IExcelApplication.py} +0 -0
- /spire/xls/{IInternalWorksheet.py → interfaces/IInternalWorksheet.py} +0 -0
- /spire/xls/{IListBox.py → interfaces/IListBox.py} +0 -0
- /spire/xls/{IRichTextString.py → interfaces/IRichTextString.py} +0 -0
- /spire/xls/{IAddInFunctions.py → interfaces/collections/IAddInFunctions.py} +0 -0
- /spire/xls/{IArcShapes.py → interfaces/collections/IArcShapes.py} +0 -0
- /spire/xls/{IBorders.py → interfaces/collections/IBorders.py} +0 -0
- /spire/xls/{IButtonShapes.py → interfaces/collections/IButtonShapes.py} +0 -0
- /spire/xls/{IChartDataPoints.py → interfaces/collections/IChartDataPoints.py} +0 -0
- /spire/xls/{IChartLegendEntries.py → interfaces/collections/IChartLegendEntries.py} +0 -0
- /spire/xls/{IChartSeries.py → interfaces/collections/IChartSeries.py} +0 -0
- /spire/xls/{IChartShapes.py → interfaces/collections/IChartShapes.py} +0 -0
- /spire/xls/{IChartTrendLines.py → interfaces/collections/IChartTrendLines.py} +0 -0
- /spire/xls/{ICharts.py → interfaces/collections/ICharts.py} +0 -0
- /spire/xls/{ICheckBoxes.py → interfaces/collections/ICheckBoxes.py} +0 -0
- /spire/xls/{IComboBoxes.py → interfaces/collections/IComboBoxes.py} +0 -0
- /spire/xls/{IComments.py → interfaces/collections/IComments.py} +0 -0
- /spire/xls/{IConditionalFormatsCollection.py → interfaces/collections/IConditionalFormatsCollection.py} +0 -0
- /spire/xls/{IGroupBoxes.py → interfaces/collections/IGroupBoxes.py} +0 -0
- /spire/xls/{IHyperLinks.py → interfaces/collections/IHyperLinks.py} +0 -0
- /spire/xls/{ILabelShapes.py → interfaces/collections/ILabelShapes.py} +0 -0
- /spire/xls/{ILines.py → interfaces/collections/ILines.py} +0 -0
- /spire/xls/{IListBoxes.py → interfaces/collections/IListBoxes.py} +0 -0
- /spire/xls/{INameRanges.py → interfaces/collections/INameRanges.py} +0 -0
- /spire/xls/{IOvalShapes.py → interfaces/collections/IOvalShapes.py} +0 -0
- /spire/xls/{IPictures.py → interfaces/collections/IPictures.py} +0 -0
- /spire/xls/{IRadioButtons.py → interfaces/collections/IRadioButtons.py} +0 -0
- /spire/xls/{IRectangleShapes.py → interfaces/collections/IRectangleShapes.py} +0 -0
- /spire/xls/{IScrollBarShapes.py → interfaces/collections/IScrollBarShapes.py} +0 -0
- /spire/xls/{ISpinnerShapes.py → interfaces/collections/ISpinnerShapes.py} +0 -0
- /spire/xls/{IStyles.py → interfaces/collections/IStyles.py} +0 -0
- /spire/xls/{ITabSheets.py → interfaces/collections/ITabSheets.py} +0 -0
- /spire/xls/{IWorksheetGroup.py → interfaces/collections/IWorksheetGroup.py} +0 -0
- /spire/xls/{IWorksheets.py → interfaces/collections/IWorksheets.py} +0 -0
- /spire/xls/{IPivotDataField.py → interfaces/pivot_table/IPivotDataField.py} +0 -0
- /spire/xls/{IPivotDataFields.py → interfaces/pivot_table/IPivotDataFields.py} +0 -0
- /spire/xls/{IPivotFields.py → interfaces/pivot_table/IPivotFields.py} +0 -0
- /spire/xls/{IPivotTables.py → interfaces/pivot_table/IPivotTables.py} +0 -0
- /spire/xls/{IDataSort.py → interfaces/sorting/IDataSort.py} +0 -0
- /spire/xls/{PivotCache.py → pivot_tables/PivotCache.py} +0 -0
- /spire/xls/{PivotField.py → pivot_tables/PivotField.py} +0 -0
- /spire/xls/{PivotTable.py → pivot_tables/PivotTable.py} +0 -0
- /spire/xls/{EncryptedKeyInfo.py → security/EncryptedKeyInfo.py} +0 -0
- /spire/xls/{ISparkline.py → sparkline/ISparkline.py} +0 -0
- /spire/xls/{ISparklineGroup.py → sparkline/ISparklineGroup.py} +0 -0
- {spire_xls-15.5.0.dist-info → spire_xls-15.11.1.dist-info}/WHEEL +0 -0
- {spire_xls-15.5.0.dist-info → spire_xls-15.11.1.dist-info}/top_level.txt +0 -0
spire/xls/XlsWorkbook.py
CHANGED
|
@@ -11,9 +11,29 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
11
11
|
|
|
12
12
|
"""
|
|
13
13
|
|
|
14
|
+
@property
|
|
15
|
+
|
|
16
|
+
def PivotCaches(self)->'XlsPivotCachesCollection':
|
|
17
|
+
"""
|
|
18
|
+
Returns pivot caches collection. Read-only.
|
|
19
|
+
Example::
|
|
20
|
+
|
|
21
|
+
#Create worksheet
|
|
22
|
+
workbook = Workbook()
|
|
23
|
+
workbook.LoadFromFile("Sample.xlsx")
|
|
24
|
+
worksheet = workbook.Worksheets[0]
|
|
25
|
+
#Gets pivot caches collection
|
|
26
|
+
pivotCaches = workbook.PivotCaches
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
raise NotImplementedError("use Workbook.PivotCaches instead")
|
|
30
|
+
|
|
14
31
|
def CreateTemplateMarkersProcessor(self)->'IMarkersDesigner':
|
|
15
32
|
"""
|
|
33
|
+
Creates and returns a template markers processor for the workbook.
|
|
16
34
|
|
|
35
|
+
Returns:
|
|
36
|
+
IMarkersDesigner: The template markers processor instance.
|
|
17
37
|
"""
|
|
18
38
|
GetDllLibXls().XlsWorkbook_CreateTemplateMarkersProcessor.argtypes=[c_void_p]
|
|
19
39
|
GetDllLibXls().XlsWorkbook_CreateTemplateMarkersProcessor.restype=c_void_p
|
|
@@ -26,12 +46,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
26
46
|
|
|
27
47
|
def Close(self ,Filename:str):
|
|
28
48
|
"""
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
File name in which workbook will be saved if SaveChanges is true.
|
|
34
|
-
</param>
|
|
49
|
+
Closes the workbook and saves changes to the specified file.
|
|
50
|
+
|
|
51
|
+
Args:
|
|
52
|
+
Filename (str): The file name to save changes to.
|
|
35
53
|
"""
|
|
36
54
|
|
|
37
55
|
GetDllLibXls().XlsWorkbook_Close.argtypes=[c_void_p ,c_void_p]
|
|
@@ -41,7 +59,11 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
41
59
|
|
|
42
60
|
def Close(self ,SaveChanges:bool,Filename:str):
|
|
43
61
|
"""
|
|
62
|
+
Closes the workbook, optionally saving changes to the specified file.
|
|
44
63
|
|
|
64
|
+
Args:
|
|
65
|
+
SaveChanges (bool): Whether to save changes before closing.
|
|
66
|
+
Filename (str): The file name to save changes to.
|
|
45
67
|
"""
|
|
46
68
|
|
|
47
69
|
GetDllLibXls().XlsWorkbook_CloseSF.argtypes=[c_void_p ,c_bool,c_void_p]
|
|
@@ -51,16 +73,18 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
51
73
|
|
|
52
74
|
def Close(self ,saveChanges:bool):
|
|
53
75
|
"""
|
|
76
|
+
Closes the workbook, optionally saving changes.
|
|
54
77
|
|
|
78
|
+
Args:
|
|
79
|
+
saveChanges (bool): Whether to save changes before closing.
|
|
55
80
|
"""
|
|
56
|
-
|
|
57
81
|
GetDllLibXls().XlsWorkbook_CloseS.argtypes=[c_void_p ,c_bool]
|
|
58
82
|
CallCFunction(GetDllLibXls().XlsWorkbook_CloseS, self.Ptr, saveChanges)
|
|
59
83
|
|
|
60
84
|
@dispatch
|
|
61
85
|
def Close(self):
|
|
62
86
|
"""
|
|
63
|
-
|
|
87
|
+
Closes the workbook without saving changes.
|
|
64
88
|
"""
|
|
65
89
|
GetDllLibXls().XlsWorkbook_Close1.argtypes=[c_void_p]
|
|
66
90
|
CallCFunction(GetDllLibXls().XlsWorkbook_Close1, self.Ptr)
|
|
@@ -68,20 +92,30 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
68
92
|
|
|
69
93
|
def AddFont(self ,fontToAdd:'IFont')->'IFont':
|
|
70
94
|
"""
|
|
95
|
+
Adds a font to the workbook and returns the new font object.
|
|
96
|
+
|
|
97
|
+
Args:
|
|
98
|
+
fontToAdd (IFont): The font to add.
|
|
71
99
|
|
|
100
|
+
Returns:
|
|
101
|
+
IFont: The added font object.
|
|
72
102
|
"""
|
|
73
103
|
intPtrfontToAdd:c_void_p = fontToAdd.Ptr
|
|
74
104
|
|
|
75
105
|
GetDllLibXls().XlsWorkbook_AddFont.argtypes=[c_void_p ,c_void_p]
|
|
76
106
|
GetDllLibXls().XlsWorkbook_AddFont.restype=c_void_p
|
|
77
107
|
intPtr = CallCFunction(GetDllLibXls().XlsWorkbook_AddFont, self.Ptr, intPtrfontToAdd)
|
|
78
|
-
|
|
79
|
-
|
|
108
|
+
if intPtr==None:
|
|
109
|
+
return None
|
|
110
|
+
if isinstance(fontToAdd,XlsFont):
|
|
111
|
+
return XlsFont(intPtr)
|
|
112
|
+
elif isinstance(fontToAdd,FontWrapper):
|
|
113
|
+
return FontWrapper(intPtr)
|
|
80
114
|
|
|
81
115
|
|
|
82
116
|
def Activate(self):
|
|
83
117
|
"""
|
|
84
|
-
|
|
118
|
+
Activates the workbook window.
|
|
85
119
|
"""
|
|
86
120
|
GetDllLibXls().XlsWorkbook_Activate.argtypes=[c_void_p]
|
|
87
121
|
CallCFunction(GetDllLibXls().XlsWorkbook_Activate, self.Ptr)
|
|
@@ -104,7 +138,13 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
104
138
|
|
|
105
139
|
def PixelsToWidth(self ,pixels:float)->float:
|
|
106
140
|
"""
|
|
141
|
+
Converts a pixel value to a column width value.
|
|
107
142
|
|
|
143
|
+
Args:
|
|
144
|
+
pixels (float): The pixel value to convert.
|
|
145
|
+
|
|
146
|
+
Returns:
|
|
147
|
+
float: The corresponding column width.
|
|
108
148
|
"""
|
|
109
149
|
|
|
110
150
|
GetDllLibXls().XlsWorkbook_PixelsToWidth.argtypes=[c_void_p ,c_double]
|
|
@@ -128,9 +168,14 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
128
168
|
|
|
129
169
|
def DecodeName(self ,name:str)->str:
|
|
130
170
|
"""
|
|
171
|
+
Decodes the specified name string.
|
|
172
|
+
|
|
173
|
+
Args:
|
|
174
|
+
name (str): The name to decode.
|
|
131
175
|
|
|
176
|
+
Returns:
|
|
177
|
+
str: The decoded name string.
|
|
132
178
|
"""
|
|
133
|
-
|
|
134
179
|
GetDllLibXls().XlsWorkbook_DecodeName.argtypes=[c_void_p ,c_void_p]
|
|
135
180
|
GetDllLibXls().XlsWorkbook_DecodeName.restype=c_void_p
|
|
136
181
|
ret = PtrToStr(CallCFunction(GetDllLibXls().XlsWorkbook_DecodeName, self.Ptr, name))
|
|
@@ -140,9 +185,14 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
140
185
|
|
|
141
186
|
def EncodeName(self ,strName:str)->str:
|
|
142
187
|
"""
|
|
188
|
+
Encodes the specified name string.
|
|
189
|
+
|
|
190
|
+
Args:
|
|
191
|
+
strName (str): The name to encode.
|
|
143
192
|
|
|
193
|
+
Returns:
|
|
194
|
+
str: The encoded name string.
|
|
144
195
|
"""
|
|
145
|
-
|
|
146
196
|
GetDllLibXls().XlsWorkbook_EncodeName.argtypes=[c_void_p ,c_void_p]
|
|
147
197
|
GetDllLibXls().XlsWorkbook_EncodeName.restype=c_void_p
|
|
148
198
|
ret = PtrToStr(CallCFunction(GetDllLibXls().XlsWorkbook_EncodeName, self.Ptr, strName))
|
|
@@ -152,7 +202,13 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
152
202
|
|
|
153
203
|
def GetBookIndex(self ,referenceIndex:int)->int:
|
|
154
204
|
"""
|
|
205
|
+
Gets the book index for the specified reference index.
|
|
206
|
+
|
|
207
|
+
Args:
|
|
208
|
+
referenceIndex (int): The reference index to look up.
|
|
155
209
|
|
|
210
|
+
Returns:
|
|
211
|
+
int: The corresponding book index.
|
|
156
212
|
"""
|
|
157
213
|
|
|
158
214
|
GetDllLibXls().XlsWorkbook_GetBookIndex.argtypes=[c_void_p ,c_int]
|
|
@@ -163,7 +219,13 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
163
219
|
|
|
164
220
|
def IsExternalReference(self ,reference:int)->bool:
|
|
165
221
|
"""
|
|
222
|
+
Determines whether the specified reference is an external reference.
|
|
223
|
+
|
|
224
|
+
Args:
|
|
225
|
+
reference (int): The reference to check.
|
|
166
226
|
|
|
227
|
+
Returns:
|
|
228
|
+
bool: True if the reference is external, otherwise False.
|
|
167
229
|
"""
|
|
168
230
|
|
|
169
231
|
GetDllLibXls().XlsWorkbook_IsExternalReference.argtypes=[c_void_p ,c_int]
|
|
@@ -174,7 +236,13 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
174
236
|
|
|
175
237
|
def IsFormatted(self ,xfIndex:int)->bool:
|
|
176
238
|
"""
|
|
239
|
+
Checks if the specified XF index is formatted.
|
|
177
240
|
|
|
241
|
+
Args:
|
|
242
|
+
xfIndex (int): The XF index to check.
|
|
243
|
+
|
|
244
|
+
Returns:
|
|
245
|
+
bool: True if formatted, otherwise False.
|
|
178
246
|
"""
|
|
179
247
|
|
|
180
248
|
GetDllLibXls().XlsWorkbook_IsFormatted.argtypes=[c_void_p ,c_int]
|
|
@@ -184,7 +252,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
184
252
|
|
|
185
253
|
def GetMaxDigitWidth(self)->float:
|
|
186
254
|
"""
|
|
255
|
+
Gets the maximum digit width for the workbook.
|
|
187
256
|
|
|
257
|
+
Returns:
|
|
258
|
+
float: The maximum digit width.
|
|
188
259
|
"""
|
|
189
260
|
GetDllLibXls().XlsWorkbook_GetMaxDigitWidth.argtypes=[c_void_p]
|
|
190
261
|
GetDllLibXls().XlsWorkbook_GetMaxDigitWidth.restype=c_double
|
|
@@ -193,7 +264,7 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
193
264
|
|
|
194
265
|
def Dispose(self):
|
|
195
266
|
"""
|
|
196
|
-
|
|
267
|
+
Releases all resources used by the workbook.
|
|
197
268
|
"""
|
|
198
269
|
GetDllLibXls().XlsWorkbook_Dispose.argtypes=[c_void_p]
|
|
199
270
|
CallCFunction(GetDllLibXls().XlsWorkbook_Dispose, self.Ptr)
|
|
@@ -201,7 +272,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
201
272
|
@property
|
|
202
273
|
def IsVScrollBarVisible(self)->bool:
|
|
203
274
|
"""
|
|
275
|
+
Indicates whether the vertical scroll bar is visible in the workbook window.
|
|
204
276
|
|
|
277
|
+
Returns:
|
|
278
|
+
bool: True if the vertical scroll bar is visible, otherwise False.
|
|
205
279
|
"""
|
|
206
280
|
GetDllLibXls().XlsWorkbook_get_IsVScrollBarVisible.argtypes=[c_void_p]
|
|
207
281
|
GetDllLibXls().XlsWorkbook_get_IsVScrollBarVisible.restype=c_bool
|
|
@@ -216,7 +290,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
216
290
|
@property
|
|
217
291
|
def Loading(self)->bool:
|
|
218
292
|
"""
|
|
293
|
+
Indicates whether the workbook is currently loading.
|
|
219
294
|
|
|
295
|
+
Returns:
|
|
296
|
+
bool: True if the workbook is loading, otherwise False.
|
|
220
297
|
"""
|
|
221
298
|
GetDllLibXls().XlsWorkbook_get_Loading.argtypes=[c_void_p]
|
|
222
299
|
GetDllLibXls().XlsWorkbook_get_Loading.restype=c_bool
|
|
@@ -226,7 +303,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
226
303
|
@property
|
|
227
304
|
def IsWindowProtection(self)->bool:
|
|
228
305
|
"""
|
|
306
|
+
Indicates whether window protection is enabled for the workbook.
|
|
229
307
|
|
|
308
|
+
Returns:
|
|
309
|
+
bool: True if window protection is enabled, otherwise False.
|
|
230
310
|
"""
|
|
231
311
|
GetDllLibXls().XlsWorkbook_get_IsWindowProtection.argtypes=[c_void_p]
|
|
232
312
|
GetDllLibXls().XlsWorkbook_get_IsWindowProtection.restype=c_bool
|
|
@@ -236,7 +316,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
236
316
|
@property
|
|
237
317
|
def MaxColumnCount(self)->int:
|
|
238
318
|
"""
|
|
319
|
+
Gets the maximum number of columns supported by the workbook.
|
|
239
320
|
|
|
321
|
+
Returns:
|
|
322
|
+
int: The maximum column count.
|
|
240
323
|
"""
|
|
241
324
|
GetDllLibXls().XlsWorkbook_get_MaxColumnCount.argtypes=[c_void_p]
|
|
242
325
|
GetDllLibXls().XlsWorkbook_get_MaxColumnCount.restype=c_int
|
|
@@ -246,7 +329,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
246
329
|
@property
|
|
247
330
|
def MaxRowCount(self)->int:
|
|
248
331
|
"""
|
|
332
|
+
Gets the maximum number of rows supported by the workbook.
|
|
249
333
|
|
|
334
|
+
Returns:
|
|
335
|
+
int: The maximum row count.
|
|
250
336
|
"""
|
|
251
337
|
GetDllLibXls().XlsWorkbook_get_MaxRowCount.argtypes=[c_void_p]
|
|
252
338
|
GetDllLibXls().XlsWorkbook_get_MaxRowCount.restype=c_int
|
|
@@ -256,7 +342,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
256
342
|
@property
|
|
257
343
|
def MaxDigitWidth(self)->float:
|
|
258
344
|
"""
|
|
345
|
+
Gets the maximum digit width used in the workbook.
|
|
259
346
|
|
|
347
|
+
Returns:
|
|
348
|
+
float: The maximum digit width.
|
|
260
349
|
"""
|
|
261
350
|
GetDllLibXls().XlsWorkbook_get_MaxDigitWidth.argtypes=[c_void_p]
|
|
262
351
|
GetDllLibXls().XlsWorkbook_get_MaxDigitWidth.restype=c_double
|
|
@@ -267,7 +356,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
267
356
|
|
|
268
357
|
def PasswordToOpen(self)->str:
|
|
269
358
|
"""
|
|
359
|
+
Gets the password required to open the workbook, if set.
|
|
270
360
|
|
|
361
|
+
Returns:
|
|
362
|
+
str: The password to open the workbook.
|
|
271
363
|
"""
|
|
272
364
|
GetDllLibXls().XlsWorkbook_get_PasswordToOpen.argtypes=[c_void_p]
|
|
273
365
|
GetDllLibXls().XlsWorkbook_get_PasswordToOpen.restype=c_void_p
|
|
@@ -283,7 +375,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
283
375
|
@property
|
|
284
376
|
def ReadOnly(self)->bool:
|
|
285
377
|
"""
|
|
378
|
+
Indicates whether the workbook is read-only.
|
|
286
379
|
|
|
380
|
+
Returns:
|
|
381
|
+
bool: True if the workbook is read-only, otherwise False.
|
|
287
382
|
"""
|
|
288
383
|
GetDllLibXls().XlsWorkbook_get_ReadOnly.argtypes=[c_void_p]
|
|
289
384
|
GetDllLibXls().XlsWorkbook_get_ReadOnly.restype=c_bool
|
|
@@ -293,7 +388,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
293
388
|
@property
|
|
294
389
|
def ReadOnlyRecommended(self)->bool:
|
|
295
390
|
"""
|
|
391
|
+
Indicates whether the workbook is read-only recommended.
|
|
296
392
|
|
|
393
|
+
Returns:
|
|
394
|
+
bool: True if the workbook is read-only recommended, otherwise False.
|
|
297
395
|
"""
|
|
298
396
|
GetDllLibXls().XlsWorkbook_get_ReadOnlyRecommended.argtypes=[c_void_p]
|
|
299
397
|
GetDllLibXls().XlsWorkbook_get_ReadOnlyRecommended.restype=c_bool
|
|
@@ -309,7 +407,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
309
407
|
|
|
310
408
|
def RowSeparator(self)->str:
|
|
311
409
|
"""
|
|
410
|
+
Gets the row separator used in the workbook.
|
|
312
411
|
|
|
412
|
+
Returns:
|
|
413
|
+
str: The row separator.
|
|
313
414
|
"""
|
|
314
415
|
GetDllLibXls().XlsWorkbook_get_RowSeparator.argtypes=[c_void_p]
|
|
315
416
|
GetDllLibXls().XlsWorkbook_get_RowSeparator.restype=c_void_p
|
|
@@ -321,12 +422,15 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
321
422
|
|
|
322
423
|
def Styles(self)->'IStyles':
|
|
323
424
|
"""
|
|
425
|
+
Gets the collection of styles in the workbook.
|
|
324
426
|
|
|
427
|
+
Returns:
|
|
428
|
+
IStyles: The collection of styles.
|
|
325
429
|
"""
|
|
326
430
|
GetDllLibXls().XlsWorkbook_get_Styles.argtypes=[c_void_p]
|
|
327
431
|
GetDllLibXls().XlsWorkbook_get_Styles.restype=c_void_p
|
|
328
432
|
intPtr = CallCFunction(GetDllLibXls().XlsWorkbook_get_Styles, self.Ptr)
|
|
329
|
-
ret = None if intPtr==None else
|
|
433
|
+
ret = None if intPtr==None else XlsStylesCollection(intPtr)
|
|
330
434
|
return ret
|
|
331
435
|
|
|
332
436
|
|
|
@@ -334,19 +438,25 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
334
438
|
|
|
335
439
|
def TabSheets(self)->'ITabSheets':
|
|
336
440
|
"""
|
|
441
|
+
Gets the collection of tab sheets in the workbook.
|
|
337
442
|
|
|
443
|
+
Returns:
|
|
444
|
+
ITabSheets: The collection of tab sheets.
|
|
338
445
|
"""
|
|
339
446
|
GetDllLibXls().XlsWorkbook_get_TabSheets.argtypes=[c_void_p]
|
|
340
447
|
GetDllLibXls().XlsWorkbook_get_TabSheets.restype=c_void_p
|
|
341
448
|
intPtr = CallCFunction(GetDllLibXls().XlsWorkbook_get_TabSheets, self.Ptr)
|
|
342
|
-
ret = None if intPtr==None else
|
|
449
|
+
ret = None if intPtr==None else XlsWorkbookObjectsCollection(intPtr)
|
|
343
450
|
return ret
|
|
344
451
|
|
|
345
452
|
|
|
346
453
|
@property
|
|
347
454
|
def ThrowOnUnknownNames(self)->bool:
|
|
348
455
|
"""
|
|
456
|
+
Indicates whether the workbook should throw an exception when encountering unknown names.
|
|
349
457
|
|
|
458
|
+
Returns:
|
|
459
|
+
bool: True if the workbook should throw an exception, otherwise False.
|
|
350
460
|
"""
|
|
351
461
|
GetDllLibXls().XlsWorkbook_get_ThrowOnUnknownNames.argtypes=[c_void_p]
|
|
352
462
|
GetDllLibXls().XlsWorkbook_get_ThrowOnUnknownNames.restype=c_bool
|
|
@@ -361,7 +471,13 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
361
471
|
|
|
362
472
|
def ContainsFont(self ,font:'XlsFont')->bool:
|
|
363
473
|
"""
|
|
474
|
+
Checks if the workbook contains a specific font.
|
|
475
|
+
|
|
476
|
+
Args:
|
|
477
|
+
font (XlsFont): The font to check for.
|
|
364
478
|
|
|
479
|
+
Returns:
|
|
480
|
+
bool: True if the font is found, otherwise False.
|
|
365
481
|
"""
|
|
366
482
|
intPtrfont:c_void_p = font.Ptr
|
|
367
483
|
|
|
@@ -373,7 +489,13 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
373
489
|
|
|
374
490
|
def FileWidthToPixels(self ,fileWidth:float)->float:
|
|
375
491
|
"""
|
|
492
|
+
Converts a file width value to a pixel value.
|
|
376
493
|
|
|
494
|
+
Args:
|
|
495
|
+
fileWidth (float): The file width value to convert.
|
|
496
|
+
|
|
497
|
+
Returns:
|
|
498
|
+
float: The corresponding pixel value.
|
|
377
499
|
"""
|
|
378
500
|
|
|
379
501
|
GetDllLibXls().XlsWorkbook_FileWidthToPixels.argtypes=[c_void_p ,c_double]
|
|
@@ -384,7 +506,13 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
384
506
|
|
|
385
507
|
def WidthToFileWidth(self ,width:float)->float:
|
|
386
508
|
"""
|
|
509
|
+
Converts a pixel width value to a file width value.
|
|
510
|
+
|
|
511
|
+
Args:
|
|
512
|
+
width (float): The pixel width value to convert.
|
|
387
513
|
|
|
514
|
+
Returns:
|
|
515
|
+
float: The corresponding file width.
|
|
388
516
|
"""
|
|
389
517
|
|
|
390
518
|
GetDllLibXls().XlsWorkbook_WidthToFileWidth.argtypes=[c_void_p ,c_double]
|
|
@@ -394,7 +522,7 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
394
522
|
|
|
395
523
|
def CopyToClipboard(self):
|
|
396
524
|
"""
|
|
397
|
-
|
|
525
|
+
Copies the workbook to the clipboard.
|
|
398
526
|
"""
|
|
399
527
|
GetDllLibXls().XlsWorkbook_CopyToClipboard.argtypes=[c_void_p]
|
|
400
528
|
CallCFunction(GetDllLibXls().XlsWorkbook_CopyToClipboard, self.Ptr)
|
|
@@ -402,7 +530,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
402
530
|
|
|
403
531
|
def SetWriteProtectionPassword(self ,password:str):
|
|
404
532
|
"""
|
|
533
|
+
Sets the write protection password for the workbook.
|
|
405
534
|
|
|
535
|
+
Args:
|
|
536
|
+
password (str): The password to set for write protection.
|
|
406
537
|
"""
|
|
407
538
|
|
|
408
539
|
GetDllLibXls().XlsWorkbook_SetWriteProtectionPassword.argtypes=[c_void_p ,c_void_p]
|
|
@@ -411,7 +542,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
411
542
|
|
|
412
543
|
def Clone(self)->'IWorkbook':
|
|
413
544
|
"""
|
|
545
|
+
Clones the workbook and returns a new workbook object.
|
|
414
546
|
|
|
547
|
+
Returns:
|
|
548
|
+
IWorkbook: A new workbook object that is a copy of the current workbook.
|
|
415
549
|
"""
|
|
416
550
|
GetDllLibXls().XlsWorkbook_Clone.argtypes=[c_void_p]
|
|
417
551
|
GetDllLibXls().XlsWorkbook_Clone.restype=c_void_p
|
|
@@ -423,7 +557,7 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
423
557
|
@dispatch
|
|
424
558
|
def Unprotect(self):
|
|
425
559
|
"""
|
|
426
|
-
|
|
560
|
+
Removes write protection from the workbook.
|
|
427
561
|
"""
|
|
428
562
|
GetDllLibXls().XlsWorkbook_Unprotect.argtypes=[c_void_p]
|
|
429
563
|
CallCFunction(GetDllLibXls().XlsWorkbook_Unprotect, self.Ptr)
|
|
@@ -432,7 +566,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
432
566
|
|
|
433
567
|
def Unprotect(self ,password:str):
|
|
434
568
|
"""
|
|
569
|
+
Removes write protection from the workbook using a specified password.
|
|
435
570
|
|
|
571
|
+
Args:
|
|
572
|
+
password (str): The password used to remove write protection.
|
|
436
573
|
"""
|
|
437
574
|
|
|
438
575
|
GetDllLibXls().XlsWorkbook_UnprotectP.argtypes=[c_void_p ,c_void_p]
|
|
@@ -442,7 +579,11 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
442
579
|
|
|
443
580
|
def Protect(self ,bIsProtectWindow:bool,bIsProtectContent:bool):
|
|
444
581
|
"""
|
|
582
|
+
Protects the workbook with specified window and content protection settings.
|
|
445
583
|
|
|
584
|
+
Args:
|
|
585
|
+
bIsProtectWindow (bool): Whether to protect the workbook window.
|
|
586
|
+
bIsProtectContent (bool): Whether to protect the workbook content.
|
|
446
587
|
"""
|
|
447
588
|
|
|
448
589
|
GetDllLibXls().XlsWorkbook_Protect.argtypes=[c_void_p ,c_bool,c_bool]
|
|
@@ -452,7 +593,12 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
452
593
|
|
|
453
594
|
def Protect(self ,bIsProtectWindow:bool,bIsProtectContent:bool,password:str):
|
|
454
595
|
"""
|
|
596
|
+
Protects the workbook with specified window and content protection settings, using a password.
|
|
455
597
|
|
|
598
|
+
Args:
|
|
599
|
+
bIsProtectWindow (bool): Whether to protect the workbook window.
|
|
600
|
+
bIsProtectContent (bool): Whether to protect the workbook content.
|
|
601
|
+
password (str): The password used to protect the workbook.
|
|
456
602
|
"""
|
|
457
603
|
|
|
458
604
|
GetDllLibXls().XlsWorkbook_ProtectBBP.argtypes=[c_void_p ,c_bool,c_bool,c_void_p]
|
|
@@ -461,7 +607,11 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
461
607
|
|
|
462
608
|
def SetSeparators(self ,argumentsSeparator:int,arrayRowsSeparator:int):
|
|
463
609
|
"""
|
|
610
|
+
Sets the separators for the workbook.
|
|
464
611
|
|
|
612
|
+
Args:
|
|
613
|
+
argumentsSeparator (int): The separator for arguments.
|
|
614
|
+
arrayRowsSeparator (int): The separator for array rows.
|
|
465
615
|
"""
|
|
466
616
|
|
|
467
617
|
GetDllLibXls().XlsWorkbook_SetSeparators.argtypes=[c_void_p ,c_void_p,c_void_p]
|
|
@@ -471,7 +621,11 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
471
621
|
|
|
472
622
|
def SaveAs(self ,stream:Stream,separator:str):
|
|
473
623
|
"""
|
|
624
|
+
Saves the workbook to a stream using a specified separator.
|
|
474
625
|
|
|
626
|
+
Args:
|
|
627
|
+
stream (Stream): The stream to save the workbook to.
|
|
628
|
+
separator (str): The separator to use for the workbook.
|
|
475
629
|
"""
|
|
476
630
|
intPtrstream:c_void_p = stream.Ptr
|
|
477
631
|
|
|
@@ -482,7 +636,11 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
482
636
|
|
|
483
637
|
def SaveAs(self ,fileName:str,separator:str):
|
|
484
638
|
"""
|
|
639
|
+
Saves the workbook to a file using a specified separator.
|
|
485
640
|
|
|
641
|
+
Args:
|
|
642
|
+
fileName (str): The name of the file to save the workbook to.
|
|
643
|
+
separator (str): The separator to use for the workbook.
|
|
486
644
|
"""
|
|
487
645
|
|
|
488
646
|
GetDllLibXls().XlsWorkbook_SaveAsFS.argtypes=[c_void_p ,c_void_p,c_void_p]
|
|
@@ -492,7 +650,14 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
492
650
|
|
|
493
651
|
def SaveAsImages(self ,dpiX:float,dpiY:float)->List[Stream]:
|
|
494
652
|
"""
|
|
653
|
+
Saves the workbook as images with specified DPI values.
|
|
654
|
+
|
|
655
|
+
Args:
|
|
656
|
+
dpiX (float): The horizontal DPI value.
|
|
657
|
+
dpiY (float): The vertical DPI value.
|
|
495
658
|
|
|
659
|
+
Returns:
|
|
660
|
+
List[Stream]: A list of Stream objects containing the saved images.
|
|
496
661
|
"""
|
|
497
662
|
|
|
498
663
|
GetDllLibXls().XlsWorkbook_SaveAsImages.argtypes=[c_void_p ,c_float,c_float]
|
|
@@ -506,7 +671,15 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
506
671
|
|
|
507
672
|
def SaveAsImages(self ,sheetIndex:int,dpiX:float,dpiY:float)->Stream:
|
|
508
673
|
"""
|
|
674
|
+
Saves the specified sheet of the workbook as an image with specified DPI values.
|
|
509
675
|
|
|
676
|
+
Args:
|
|
677
|
+
sheetIndex (int): The index of the sheet to save.
|
|
678
|
+
dpiX (float): The horizontal DPI value.
|
|
679
|
+
dpiY (float): The vertical DPI value.
|
|
680
|
+
|
|
681
|
+
Returns:
|
|
682
|
+
Stream: A Stream object containing the saved image.
|
|
510
683
|
"""
|
|
511
684
|
|
|
512
685
|
GetDllLibXls().XlsWorkbook_SaveAsImagesSDD.argtypes=[c_void_p ,c_int,c_float,c_float]
|
|
@@ -520,7 +693,19 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
520
693
|
|
|
521
694
|
def SaveAsImages(self ,sheetIndex:int,firstRow:int,firstColumn:int,lastRow:int,lastColumn:int,dpiX:float,dpiY:float)->Stream:
|
|
522
695
|
"""
|
|
696
|
+
Saves the specified range of the workbook as an image with specified DPI values.
|
|
697
|
+
|
|
698
|
+
Args:
|
|
699
|
+
sheetIndex (int): The index of the sheet to save.
|
|
700
|
+
firstRow (int): The first row of the range to save.
|
|
701
|
+
firstColumn (int): The first column of the range to save.
|
|
702
|
+
lastRow (int): The last row of the range to save.
|
|
703
|
+
lastColumn (int): The last column of the range to save.
|
|
704
|
+
dpiX (float): The horizontal DPI value.
|
|
705
|
+
dpiY (float): The vertical DPI value.
|
|
523
706
|
|
|
707
|
+
Returns:
|
|
708
|
+
Stream: A Stream object containing the saved image.
|
|
524
709
|
"""
|
|
525
710
|
|
|
526
711
|
GetDllLibXls().XlsWorkbook_SaveAsImagesSFFLLDD.argtypes=[c_void_p ,c_int,c_int,c_int,c_int,c_int,c_float,c_float]
|
|
@@ -533,7 +718,15 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
533
718
|
|
|
534
719
|
def SaveAsEmfStream(self ,sheetIndex:int,EmfStream:'Stream',firstRow:int,firstColumn:int,lastRow:int,lastColumn:int):
|
|
535
720
|
"""
|
|
721
|
+
Saves the specified range of the workbook as an EMF stream.
|
|
536
722
|
|
|
723
|
+
Args:
|
|
724
|
+
sheetIndex (int): The index of the sheet to save.
|
|
725
|
+
EmfStream (Stream): The stream to save the EMF image to.
|
|
726
|
+
firstRow (int): The first row of the range to save.
|
|
727
|
+
firstColumn (int): The first column of the range to save.
|
|
728
|
+
lastRow (int): The last row of the range to save.
|
|
729
|
+
lastColumn (int): The last column of the range to save.
|
|
537
730
|
"""
|
|
538
731
|
intPtrEmfStream:c_void_p = EmfStream.Ptr
|
|
539
732
|
|
|
@@ -541,26 +734,39 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
541
734
|
CallCFunction(GetDllLibXls().XlsWorkbook_SaveAsEmfStream, self.Ptr, sheetIndex,intPtrEmfStream,firstRow,firstColumn,lastRow,lastColumn)
|
|
542
735
|
|
|
543
736
|
|
|
544
|
-
def SaveChartAsEmfImage(self ,worksheet:'Worksheet',chartIndex:int,imageOrPrintOptions:'ConverterSetting',emfStream:'Stream')->'Stream':
|
|
545
|
-
|
|
737
|
+
# def SaveChartAsEmfImage(self ,worksheet:'Worksheet',chartIndex:int,imageOrPrintOptions:'ConverterSetting',emfStream:'Stream')->'Stream':
|
|
738
|
+
# """
|
|
739
|
+
# Saves the specified chart of the worksheet as an EMF image.
|
|
546
740
|
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
741
|
+
# Args:
|
|
742
|
+
# worksheet (Worksheet): The worksheet containing the chart.
|
|
743
|
+
# chartIndex (int): The index of the chart to save.
|
|
744
|
+
# imageOrPrintOptions (ConverterSetting): The options for the image or print.
|
|
745
|
+
# emfStream (Stream): The stream to save the EMF image to.
|
|
746
|
+
# """
|
|
747
|
+
# intPtrworksheet:c_void_p = worksheet.Ptr
|
|
748
|
+
# intPtrimageOrPrintOptions:c_void_p = imageOrPrintOptions.Ptr
|
|
749
|
+
# intPtremfStream:c_void_p = emfStream.Ptr
|
|
551
750
|
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
751
|
+
# GetDllLibXls().XlsWorkbook_SaveChartAsEmfImage.argtypes=[c_void_p ,c_void_p,c_int,c_void_p,c_void_p]
|
|
752
|
+
# GetDllLibXls().XlsWorkbook_SaveChartAsEmfImage.restype=c_void_p
|
|
753
|
+
# intPtr = CallCFunction(GetDllLibXls().XlsWorkbook_SaveChartAsEmfImage, self.Ptr, intPtrworksheet,chartIndex,intPtrimageOrPrintOptions,intPtremfStream)
|
|
754
|
+
# ret = None if intPtr==None else Stream(intPtr)
|
|
755
|
+
# return ret
|
|
557
756
|
|
|
558
757
|
|
|
559
758
|
@dispatch
|
|
560
759
|
|
|
561
760
|
def SaveChartAsImage(self ,worksheet:Worksheet,imageOrPrintOptions:ConverterSetting)->List[Stream]:
|
|
562
761
|
"""
|
|
762
|
+
Saves the specified chart of the worksheet as an image.
|
|
563
763
|
|
|
764
|
+
Args:
|
|
765
|
+
worksheet (Worksheet): The worksheet containing the chart.
|
|
766
|
+
imageOrPrintOptions (ConverterSetting): The options for the image or print.
|
|
767
|
+
|
|
768
|
+
Returns:
|
|
769
|
+
List[Stream]: A list of Stream objects containing the saved images.
|
|
564
770
|
"""
|
|
565
771
|
intPtrworksheet:c_void_p = worksheet.Ptr
|
|
566
772
|
intPtrimageOrPrintOptions:c_void_p = imageOrPrintOptions.Ptr
|
|
@@ -576,7 +782,14 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
576
782
|
|
|
577
783
|
def SaveChartAsImage(self ,chartSheet:ChartSheet,imageOrPrintOptions:ConverterSetting)->Stream:
|
|
578
784
|
"""
|
|
785
|
+
Saves the specified chart of the worksheet as an image.
|
|
786
|
+
|
|
787
|
+
Args:
|
|
788
|
+
chartSheet (ChartSheet): The chart sheet to save.
|
|
789
|
+
imageOrPrintOptions (ConverterSetting): The options for the image or print.
|
|
579
790
|
|
|
791
|
+
Returns:
|
|
792
|
+
Stream: A Stream object containing the saved image.
|
|
580
793
|
"""
|
|
581
794
|
intPtrchartSheet:c_void_p = chartSheet.Ptr
|
|
582
795
|
intPtrimageOrPrintOptions:c_void_p = imageOrPrintOptions.Ptr
|
|
@@ -592,6 +805,12 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
592
805
|
|
|
593
806
|
def SaveChartAsImage(self ,worksheet:Worksheet,charIndex:int,imageOrPrintOptions:ConverterSetting)->Stream:
|
|
594
807
|
"""
|
|
808
|
+
Saves the specified chart of the worksheet as an image.
|
|
809
|
+
|
|
810
|
+
Args:
|
|
811
|
+
worksheet (Worksheet): The worksheet containing the chart.
|
|
812
|
+
charIndex (int): The index of the chart to save.
|
|
813
|
+
imageOrPrintOptions (ConverterSetting): The options for the image or print.
|
|
595
814
|
|
|
596
815
|
"""
|
|
597
816
|
intPtrworksheet:c_void_p = worksheet.Ptr
|
|
@@ -608,10 +827,16 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
608
827
|
|
|
609
828
|
def FindOne(self ,findValue:float,flags:FindType)->IXLSRange:
|
|
610
829
|
"""
|
|
830
|
+
Finds a range in the workbook that contains the specified value.
|
|
611
831
|
|
|
832
|
+
Args:
|
|
833
|
+
findValue (float): The value to find.
|
|
834
|
+
flags (FindType): The flags for the search.
|
|
835
|
+
|
|
836
|
+
Returns:
|
|
837
|
+
IXLSRange: The range that contains the specified value.
|
|
612
838
|
"""
|
|
613
839
|
enumflags:c_int = flags.value
|
|
614
|
-
|
|
615
840
|
GetDllLibXls().XlsWorkbook_FindOne.argtypes=[c_void_p ,c_double,c_int]
|
|
616
841
|
GetDllLibXls().XlsWorkbook_FindOne.restype=c_void_p
|
|
617
842
|
intPtr = CallCFunction(GetDllLibXls().XlsWorkbook_FindOne, self.Ptr, findValue,enumflags)
|
|
@@ -623,7 +848,14 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
623
848
|
|
|
624
849
|
def FindOne(self ,findValue:str,flags:FindType)->IXLSRange:
|
|
625
850
|
"""
|
|
851
|
+
Finds a range in the workbook that contains the specified value.
|
|
626
852
|
|
|
853
|
+
Args:
|
|
854
|
+
findValue (str): The value to find.
|
|
855
|
+
flags (FindType): The flags for the search.
|
|
856
|
+
|
|
857
|
+
Returns:
|
|
858
|
+
IXLSRange: The range that contains the specified value.
|
|
627
859
|
"""
|
|
628
860
|
enumflags:c_int = flags.value
|
|
629
861
|
|
|
@@ -638,7 +870,13 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
638
870
|
|
|
639
871
|
def FindOne(self ,findValue:bool)->IXLSRange:
|
|
640
872
|
"""
|
|
873
|
+
Finds a range in the workbook that contains the specified value.
|
|
874
|
+
|
|
875
|
+
Args:
|
|
876
|
+
findValue (bool): The value to find.
|
|
641
877
|
|
|
878
|
+
Returns:
|
|
879
|
+
IXLSRange: The range that contains the specified value.
|
|
642
880
|
"""
|
|
643
881
|
|
|
644
882
|
GetDllLibXls().XlsWorkbook_FindOneF.argtypes=[c_void_p ,c_bool]
|
|
@@ -652,7 +890,13 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
652
890
|
|
|
653
891
|
def FindOne(self ,findValue:DateTime)->IXLSRange:
|
|
654
892
|
"""
|
|
893
|
+
Finds a range in the workbook that contains the specified value.
|
|
655
894
|
|
|
895
|
+
Args:
|
|
896
|
+
findValue (DateTime): The value to find.
|
|
897
|
+
|
|
898
|
+
Returns:
|
|
899
|
+
IXLSRange: The range that contains the specified value.
|
|
656
900
|
"""
|
|
657
901
|
intPtrfindValue:c_void_p = findValue.Ptr
|
|
658
902
|
|
|
@@ -667,7 +911,13 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
667
911
|
|
|
668
912
|
def FindOne(self ,findValue:TimeSpan)->IXLSRange:
|
|
669
913
|
"""
|
|
914
|
+
Finds a range in the workbook that contains the specified value.
|
|
915
|
+
|
|
916
|
+
Args:
|
|
917
|
+
findValue (TimeSpan): The value to find.
|
|
670
918
|
|
|
919
|
+
Returns:
|
|
920
|
+
IXLSRange: The range that contains the specified value.
|
|
671
921
|
"""
|
|
672
922
|
intPtrfindValue:c_void_p = findValue.Ptr
|
|
673
923
|
|
|
@@ -691,6 +941,7 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
691
941
|
# intPtr = CallCFunction(GetDllLibXls().XlsWorkbook_FindAll, self.Ptr, findValue,enumflags)
|
|
692
942
|
# ret = None if intPtr==None else ListCellRanges(intPtr)
|
|
693
943
|
# return ret
|
|
944
|
+
#
|
|
694
945
|
|
|
695
946
|
|
|
696
947
|
# @dispatch
|
|
@@ -756,7 +1007,11 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
756
1007
|
|
|
757
1008
|
def Replace(self ,oldValue:str,newValue:str):
|
|
758
1009
|
"""
|
|
1010
|
+
Replaces all occurrences of a specified value with a new value in the workbook.
|
|
759
1011
|
|
|
1012
|
+
Args:
|
|
1013
|
+
oldValue (str): The value to replace.
|
|
1014
|
+
newValue (str): The new value.
|
|
760
1015
|
"""
|
|
761
1016
|
|
|
762
1017
|
GetDllLibXls().XlsWorkbook_Replace.argtypes=[c_void_p ,c_void_p,c_void_p]
|
|
@@ -766,7 +1021,11 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
766
1021
|
|
|
767
1022
|
def Replace(self ,oldValue:str,newValue:DateTime):
|
|
768
1023
|
"""
|
|
1024
|
+
Replaces all occurrences of a specified value with a new value in the workbook.
|
|
769
1025
|
|
|
1026
|
+
Args:
|
|
1027
|
+
oldValue (str): The value to replace.
|
|
1028
|
+
newValue (DateTime): The new value.
|
|
770
1029
|
"""
|
|
771
1030
|
intPtrnewValue:c_void_p = newValue.Ptr
|
|
772
1031
|
|
|
@@ -777,7 +1036,11 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
777
1036
|
|
|
778
1037
|
def Replace(self ,oldValue:str,newValue:float):
|
|
779
1038
|
"""
|
|
1039
|
+
Replaces all occurrences of a specified value with a new value in the workbook.
|
|
780
1040
|
|
|
1041
|
+
Args:
|
|
1042
|
+
oldValue (str): The value to replace.
|
|
1043
|
+
newValue (float): The new value.
|
|
781
1044
|
"""
|
|
782
1045
|
|
|
783
1046
|
GetDllLibXls().XlsWorkbook_ReplaceON1.argtypes=[c_void_p ,c_void_p,c_double]
|
|
@@ -787,7 +1050,12 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
787
1050
|
|
|
788
1051
|
def Replace(self ,oldValue:str,newValues:List[str],isVertical:bool):
|
|
789
1052
|
"""
|
|
1053
|
+
Replaces all occurrences of a specified value with a new value in the workbook.
|
|
790
1054
|
|
|
1055
|
+
Args:
|
|
1056
|
+
oldValue (str): The value to replace.
|
|
1057
|
+
newValues (List[str]): The new values.
|
|
1058
|
+
isVertical (bool): Whether the new values are in a vertical format.
|
|
791
1059
|
"""
|
|
792
1060
|
#arraynewValues:ArrayTypenewValues = ""
|
|
793
1061
|
countnewValues = len(newValues)
|
|
@@ -804,7 +1072,12 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
804
1072
|
|
|
805
1073
|
def Replace(self ,oldValue:str,newValues:List[int],isVertical:bool):
|
|
806
1074
|
"""
|
|
1075
|
+
Replaces all occurrences of a specified value with a new value in the workbook.
|
|
807
1076
|
|
|
1077
|
+
Args:
|
|
1078
|
+
oldValue (str): The value to replace.
|
|
1079
|
+
newValues (List[int]): The new values.
|
|
1080
|
+
isVertical (bool): Whether the new values are in a vertical format.
|
|
808
1081
|
"""
|
|
809
1082
|
#arraynewValues:ArrayTypenewValues = ""
|
|
810
1083
|
countnewValues = len(newValues)
|
|
@@ -821,7 +1094,12 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
821
1094
|
|
|
822
1095
|
def Replace(self ,oldValue:str,newValues:List[float],isVertical:bool):
|
|
823
1096
|
"""
|
|
1097
|
+
Replaces all occurrences of a specified value with a new value in the workbook.
|
|
824
1098
|
|
|
1099
|
+
Args:
|
|
1100
|
+
oldValue (str): The value to replace.
|
|
1101
|
+
newValues (List[float]): The new values.
|
|
1102
|
+
isVertical (bool): Whether the new values are in a vertical format.
|
|
825
1103
|
"""
|
|
826
1104
|
#arraynewValues:ArrayTypenewValues = ""
|
|
827
1105
|
countnewValues = len(newValues)
|
|
@@ -862,12 +1140,15 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
862
1140
|
|
|
863
1141
|
def CreateFont(self)->IFont:
|
|
864
1142
|
"""
|
|
1143
|
+
Creates a new font object.
|
|
865
1144
|
|
|
1145
|
+
Returns:
|
|
1146
|
+
IFont: The new font object.
|
|
866
1147
|
"""
|
|
867
1148
|
GetDllLibXls().XlsWorkbook_CreateFont.argtypes=[c_void_p]
|
|
868
1149
|
GetDllLibXls().XlsWorkbook_CreateFont.restype=c_void_p
|
|
869
1150
|
intPtr = CallCFunction(GetDllLibXls().XlsWorkbook_CreateFont, self.Ptr)
|
|
870
|
-
ret = None if intPtr==None else
|
|
1151
|
+
ret = None if intPtr==None else FontWrapper(intPtr)
|
|
871
1152
|
return ret
|
|
872
1153
|
|
|
873
1154
|
|
|
@@ -875,14 +1156,20 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
875
1156
|
|
|
876
1157
|
def CreateFont(self ,nativeFont:Font)->IFont:
|
|
877
1158
|
"""
|
|
1159
|
+
Creates a new font object using a native font.
|
|
1160
|
+
|
|
1161
|
+
Args:
|
|
1162
|
+
nativeFont (Font): The native font to use.
|
|
878
1163
|
|
|
1164
|
+
Returns:
|
|
1165
|
+
IFont: The new font object.
|
|
879
1166
|
"""
|
|
880
1167
|
intPtrnativeFont:c_void_p = nativeFont.Ptr
|
|
881
1168
|
|
|
882
1169
|
GetDllLibXls().XlsWorkbook_CreateFontN.argtypes=[c_void_p ,c_void_p]
|
|
883
1170
|
GetDllLibXls().XlsWorkbook_CreateFontN.restype=c_void_p
|
|
884
1171
|
intPtr = CallCFunction(GetDllLibXls().XlsWorkbook_CreateFontN, self.Ptr, intPtrnativeFont)
|
|
885
|
-
ret = None if intPtr==None else
|
|
1172
|
+
ret = None if intPtr==None else FontWrapper(intPtr)
|
|
886
1173
|
return ret
|
|
887
1174
|
|
|
888
1175
|
|
|
@@ -890,7 +1177,13 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
890
1177
|
|
|
891
1178
|
def CreateFont(self ,baseFont:IFont)->IFont:
|
|
892
1179
|
"""
|
|
1180
|
+
Creates a new font object using a base font.
|
|
893
1181
|
|
|
1182
|
+
Args:
|
|
1183
|
+
baseFont (IFont): The base font to use.
|
|
1184
|
+
|
|
1185
|
+
Returns:
|
|
1186
|
+
IFont: The new font object.
|
|
894
1187
|
"""
|
|
895
1188
|
intPtrbaseFont:c_void_p = baseFont.Ptr
|
|
896
1189
|
|
|
@@ -902,13 +1195,18 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
902
1195
|
|
|
903
1196
|
|
|
904
1197
|
@dispatch
|
|
905
|
-
|
|
906
1198
|
def CreateFont(self ,baseFont:IFont,bAddToCollection:bool)->IFont:
|
|
907
1199
|
"""
|
|
1200
|
+
Creates a new font based on an existing font, optionally adding it to the workbook's font collection.
|
|
1201
|
+
|
|
1202
|
+
Args:
|
|
1203
|
+
baseFont (IFont): The base font to copy properties from.
|
|
1204
|
+
bAddToCollection (bool): Whether to add the new font to the workbook's font collection.
|
|
908
1205
|
|
|
1206
|
+
Returns:
|
|
1207
|
+
IFont: The newly created font.
|
|
909
1208
|
"""
|
|
910
1209
|
intPtrbaseFont:c_void_p = baseFont.Ptr
|
|
911
|
-
|
|
912
1210
|
GetDllLibXls().XlsWorkbook_CreateFontBB.argtypes=[c_void_p ,c_void_p,c_bool]
|
|
913
1211
|
GetDllLibXls().XlsWorkbook_CreateFontBB.restype=c_void_p
|
|
914
1212
|
intPtr = CallCFunction(GetDllLibXls().XlsWorkbook_CreateFontBB, self.Ptr, intPtrbaseFont,bAddToCollection)
|
|
@@ -917,13 +1215,17 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
917
1215
|
|
|
918
1216
|
|
|
919
1217
|
@dispatch
|
|
920
|
-
|
|
921
1218
|
def SetColorOrGetNearest(self ,color:Color)->ExcelColors:
|
|
922
1219
|
"""
|
|
1220
|
+
Sets a color in the workbook's palette or returns the nearest matching color if the exact color is not available.
|
|
923
1221
|
|
|
1222
|
+
Args:
|
|
1223
|
+
color (Color): The color to set or find nearest match for.
|
|
1224
|
+
|
|
1225
|
+
Returns:
|
|
1226
|
+
ExcelColors: The nearest matching Excel color.
|
|
924
1227
|
"""
|
|
925
1228
|
intPtrcolor:c_void_p = color.Ptr
|
|
926
|
-
|
|
927
1229
|
GetDllLibXls().XlsWorkbook_SetColorOrGetNearest.argtypes=[c_void_p ,c_void_p]
|
|
928
1230
|
GetDllLibXls().XlsWorkbook_SetColorOrGetNearest.restype=c_int
|
|
929
1231
|
ret = CallCFunction(GetDllLibXls().XlsWorkbook_SetColorOrGetNearest, self.Ptr, intPtrcolor)
|
|
@@ -933,27 +1235,36 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
933
1235
|
|
|
934
1236
|
def SetActiveWorksheet(self ,sheet:'XlsWorksheetBase'):
|
|
935
1237
|
"""
|
|
1238
|
+
Sets the specified worksheet as the active worksheet in the workbook.
|
|
936
1239
|
|
|
1240
|
+
Args:
|
|
1241
|
+
sheet (XlsWorksheetBase): The worksheet to set as active.
|
|
937
1242
|
"""
|
|
938
1243
|
intPtrsheet:c_void_p = sheet.Ptr
|
|
939
|
-
|
|
940
1244
|
GetDllLibXls().XlsWorkbook_SetActiveWorksheet.argtypes=[c_void_p ,c_void_p]
|
|
941
1245
|
CallCFunction(GetDllLibXls().XlsWorkbook_SetActiveWorksheet, self.Ptr, intPtrsheet)
|
|
942
1246
|
|
|
943
1247
|
def SetChanged(self):
|
|
944
1248
|
"""
|
|
945
|
-
|
|
1249
|
+
Marks the workbook as having unsaved changes.
|
|
1250
|
+
This method is called when modifications are made to the workbook that need to be saved.
|
|
946
1251
|
"""
|
|
947
1252
|
GetDllLibXls().XlsWorkbook_SetChanged.argtypes=[c_void_p]
|
|
948
1253
|
CallCFunction(GetDllLibXls().XlsWorkbook_SetChanged, self.Ptr)
|
|
949
1254
|
|
|
950
1255
|
@dispatch
|
|
951
|
-
|
|
952
1256
|
def SetColorOrGetNearest(self ,r:int,g:int,b:int)->ExcelColors:
|
|
953
1257
|
"""
|
|
1258
|
+
Sets a color in the workbook's palette or returns the nearest matching color based on RGB values.
|
|
954
1259
|
|
|
1260
|
+
Args:
|
|
1261
|
+
r (int): The red component (0-255).
|
|
1262
|
+
g (int): The green component (0-255).
|
|
1263
|
+
b (int): The blue component (0-255).
|
|
1264
|
+
|
|
1265
|
+
Returns:
|
|
1266
|
+
ExcelColors: The nearest matching Excel color.
|
|
955
1267
|
"""
|
|
956
|
-
|
|
957
1268
|
GetDllLibXls().XlsWorkbook_SetColorOrGetNearestRGB.argtypes=[c_void_p ,c_int,c_int,c_int]
|
|
958
1269
|
GetDllLibXls().XlsWorkbook_SetColorOrGetNearestRGB.restype=c_int
|
|
959
1270
|
ret = CallCFunction(GetDllLibXls().XlsWorkbook_SetColorOrGetNearestRGB, self.Ptr, r,g,b)
|
|
@@ -963,20 +1274,26 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
963
1274
|
|
|
964
1275
|
def SetMaxDigitWidth(self ,w:int):
|
|
965
1276
|
"""
|
|
1277
|
+
Sets the maximum width of digits in the workbook.
|
|
966
1278
|
|
|
1279
|
+
Args:
|
|
1280
|
+
w (int): The maximum digit width to set.
|
|
967
1281
|
"""
|
|
968
|
-
|
|
969
1282
|
GetDllLibXls().XlsWorkbook_SetMaxDigitWidth.argtypes=[c_void_p ,c_int]
|
|
970
1283
|
CallCFunction(GetDllLibXls().XlsWorkbook_SetMaxDigitWidth, self.Ptr, w)
|
|
971
1284
|
|
|
972
1285
|
@dispatch
|
|
973
|
-
|
|
974
1286
|
def GetNearestColor(self ,color:Color)->ExcelColors:
|
|
975
1287
|
"""
|
|
1288
|
+
Gets the nearest matching Excel color for the specified color.
|
|
976
1289
|
|
|
1290
|
+
Args:
|
|
1291
|
+
color (Color): The color to find the nearest match for.
|
|
1292
|
+
|
|
1293
|
+
Returns:
|
|
1294
|
+
ExcelColors: The nearest matching Excel color.
|
|
977
1295
|
"""
|
|
978
1296
|
intPtrcolor:c_void_p = color.Ptr
|
|
979
|
-
|
|
980
1297
|
GetDllLibXls().XlsWorkbook_GetNearestColor.argtypes=[c_void_p ,c_void_p]
|
|
981
1298
|
GetDllLibXls().XlsWorkbook_GetNearestColor.restype=c_int
|
|
982
1299
|
ret = CallCFunction(GetDllLibXls().XlsWorkbook_GetNearestColor, self.Ptr, intPtrcolor)
|
|
@@ -984,13 +1301,18 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
984
1301
|
return objwraped
|
|
985
1302
|
|
|
986
1303
|
@dispatch
|
|
987
|
-
|
|
988
1304
|
def GetNearestColor(self ,color:Color,iStartIndex:int)->ExcelColors:
|
|
989
1305
|
"""
|
|
1306
|
+
Gets the nearest matching Excel color for the specified color, starting from a specific index.
|
|
990
1307
|
|
|
1308
|
+
Args:
|
|
1309
|
+
color (Color): The color to find the nearest match for.
|
|
1310
|
+
iStartIndex (int): The index to start searching from in the color palette.
|
|
1311
|
+
|
|
1312
|
+
Returns:
|
|
1313
|
+
ExcelColors: The nearest matching Excel color.
|
|
991
1314
|
"""
|
|
992
1315
|
intPtrcolor:c_void_p = color.Ptr
|
|
993
|
-
|
|
994
1316
|
GetDllLibXls().XlsWorkbook_GetNearestColorCI.argtypes=[c_void_p ,c_void_p,c_int]
|
|
995
1317
|
GetDllLibXls().XlsWorkbook_GetNearestColorCI.restype=c_int
|
|
996
1318
|
ret = CallCFunction(GetDllLibXls().XlsWorkbook_GetNearestColorCI, self.Ptr, intPtrcolor,iStartIndex)
|
|
@@ -998,46 +1320,58 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
998
1320
|
return objwraped
|
|
999
1321
|
|
|
1000
1322
|
@dispatch
|
|
1001
|
-
|
|
1002
1323
|
def GetNearestColor(self ,r:int,g:int,b:int)->ExcelColors:
|
|
1003
1324
|
"""
|
|
1325
|
+
Gets the nearest matching Excel color for the specified RGB values.
|
|
1326
|
+
|
|
1327
|
+
Args:
|
|
1328
|
+
r (int): The red component (0-255).
|
|
1329
|
+
g (int): The green component (0-255).
|
|
1330
|
+
b (int): The blue component (0-255).
|
|
1004
1331
|
|
|
1332
|
+
Returns:
|
|
1333
|
+
ExcelColors: The nearest matching Excel color.
|
|
1005
1334
|
"""
|
|
1006
|
-
|
|
1007
1335
|
GetDllLibXls().XlsWorkbook_GetNearestColorRGB.argtypes=[c_void_p ,c_int,c_int,c_int]
|
|
1008
1336
|
GetDllLibXls().XlsWorkbook_GetNearestColorRGB.restype=c_int
|
|
1009
1337
|
ret = CallCFunction(GetDllLibXls().XlsWorkbook_GetNearestColorRGB, self.Ptr, r,g,b)
|
|
1010
1338
|
objwraped = ExcelColors(ret)
|
|
1011
1339
|
return objwraped
|
|
1012
1340
|
|
|
1013
|
-
|
|
1014
1341
|
def GetPaletteColor(self ,color:'ExcelColors')->'Color':
|
|
1015
1342
|
"""
|
|
1343
|
+
Gets the Color object corresponding to the specified Excel color.
|
|
1344
|
+
|
|
1345
|
+
Args:
|
|
1346
|
+
color (ExcelColors): The Excel color to get the Color object for.
|
|
1016
1347
|
|
|
1348
|
+
Returns:
|
|
1349
|
+
Color: The Color object corresponding to the Excel color.
|
|
1017
1350
|
"""
|
|
1018
1351
|
enumcolor:c_int = color.value
|
|
1019
|
-
|
|
1020
1352
|
GetDllLibXls().XlsWorkbook_GetPaletteColor.argtypes=[c_void_p ,c_int]
|
|
1021
1353
|
GetDllLibXls().XlsWorkbook_GetPaletteColor.restype=c_void_p
|
|
1022
1354
|
intPtr = CallCFunction(GetDllLibXls().XlsWorkbook_GetPaletteColor, self.Ptr, enumcolor)
|
|
1023
1355
|
ret = None if intPtr==None else Color(intPtr)
|
|
1024
1356
|
return ret
|
|
1025
1357
|
|
|
1026
|
-
|
|
1027
1358
|
def ResetPalette(self):
|
|
1028
1359
|
"""
|
|
1029
|
-
|
|
1360
|
+
Resets the workbook's color palette to its default state.
|
|
1361
|
+
This will restore all colors to their original Excel default values.
|
|
1030
1362
|
"""
|
|
1031
1363
|
GetDllLibXls().XlsWorkbook_ResetPalette.argtypes=[c_void_p]
|
|
1032
1364
|
CallCFunction(GetDllLibXls().XlsWorkbook_ResetPalette, self.Ptr)
|
|
1033
1365
|
|
|
1034
|
-
|
|
1035
1366
|
def SetPaletteColor(self ,index:int,color:'Color'):
|
|
1036
1367
|
"""
|
|
1368
|
+
Sets a specific color in the workbook's palette.
|
|
1037
1369
|
|
|
1370
|
+
Args:
|
|
1371
|
+
index (int): The index in the palette where to set the color.
|
|
1372
|
+
color (Color): The color to set in the palette.
|
|
1038
1373
|
"""
|
|
1039
1374
|
intPtrcolor:c_void_p = color.Ptr
|
|
1040
|
-
|
|
1041
1375
|
GetDllLibXls().XlsWorkbook_SetPaletteColor.argtypes=[c_void_p ,c_int,c_void_p]
|
|
1042
1376
|
CallCFunction(GetDllLibXls().XlsWorkbook_SetPaletteColor, self.Ptr, index,intPtrcolor)
|
|
1043
1377
|
|
|
@@ -1070,7 +1404,11 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1070
1404
|
|
|
1071
1405
|
def SaveAs(self ,stream:Stream,saveType:ExcelSaveType):
|
|
1072
1406
|
"""
|
|
1407
|
+
Saves the workbook to a stream with the specified save type.
|
|
1073
1408
|
|
|
1409
|
+
Args:
|
|
1410
|
+
stream (Stream): The stream to save the workbook to.
|
|
1411
|
+
saveType (ExcelSaveType): The type of Excel file to save as.
|
|
1074
1412
|
"""
|
|
1075
1413
|
intPtrstream:c_void_p = stream.Ptr
|
|
1076
1414
|
enumsaveType:c_int = saveType.value
|
|
@@ -1079,10 +1417,14 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1079
1417
|
CallCFunction(GetDllLibXls().XlsWorkbook_SaveAsSS, self.Ptr, intPtrstream,enumsaveType)
|
|
1080
1418
|
|
|
1081
1419
|
@dispatch
|
|
1082
|
-
|
|
1083
1420
|
def SaveAs(self ,stream:Stream,saveType:ExcelSaveType,version:ExcelVersion):
|
|
1084
1421
|
"""
|
|
1422
|
+
Saves the workbook to a stream with the specified save type and Excel version.
|
|
1085
1423
|
|
|
1424
|
+
Args:
|
|
1425
|
+
stream (Stream): The stream to save the workbook to.
|
|
1426
|
+
saveType (ExcelSaveType): The type of Excel file to save as.
|
|
1427
|
+
version (ExcelVersion): The Excel version to save as.
|
|
1086
1428
|
"""
|
|
1087
1429
|
intPtrstream:c_void_p = stream.Ptr
|
|
1088
1430
|
enumsaveType:c_int = saveType.value
|
|
@@ -1092,21 +1434,25 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1092
1434
|
CallCFunction(GetDllLibXls().XlsWorkbook_SaveAsSSV, self.Ptr, intPtrstream,enumsaveType,enumversion)
|
|
1093
1435
|
|
|
1094
1436
|
@dispatch
|
|
1095
|
-
|
|
1096
1437
|
def SaveAs(self ,stream:Stream):
|
|
1097
1438
|
"""
|
|
1439
|
+
Saves the workbook to a stream using the default save type.
|
|
1098
1440
|
|
|
1441
|
+
Args:
|
|
1442
|
+
stream (Stream): The stream to save the workbook to.
|
|
1099
1443
|
"""
|
|
1100
1444
|
intPtrstream:c_void_p = stream.Ptr
|
|
1101
|
-
|
|
1102
1445
|
GetDllLibXls().XlsWorkbook_SaveAsS.argtypes=[c_void_p ,c_void_p]
|
|
1103
1446
|
CallCFunction(GetDllLibXls().XlsWorkbook_SaveAsS, self.Ptr, intPtrstream)
|
|
1104
1447
|
|
|
1105
1448
|
@dispatch
|
|
1106
|
-
|
|
1107
1449
|
def SaveAs(self ,fileName:str,saveType:ExcelSaveType):
|
|
1108
1450
|
"""
|
|
1451
|
+
Saves the workbook to a file with the specified save type.
|
|
1109
1452
|
|
|
1453
|
+
Args:
|
|
1454
|
+
fileName (str): The name of the file to save to.
|
|
1455
|
+
saveType (ExcelSaveType): The type of Excel file to save as.
|
|
1110
1456
|
"""
|
|
1111
1457
|
enumsaveType:c_int = saveType.value
|
|
1112
1458
|
|
|
@@ -1114,10 +1460,14 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1114
1460
|
CallCFunction(GetDllLibXls().XlsWorkbook_SaveAsFS1, self.Ptr, fileName,enumsaveType)
|
|
1115
1461
|
|
|
1116
1462
|
@dispatch
|
|
1117
|
-
|
|
1118
1463
|
def SaveAs(self ,fileName:str,saveType:ExcelSaveType,version:ExcelVersion):
|
|
1119
1464
|
"""
|
|
1465
|
+
Saves the workbook to a file with the specified save type and Excel version.
|
|
1120
1466
|
|
|
1467
|
+
Args:
|
|
1468
|
+
fileName (str): The name of the file to save to.
|
|
1469
|
+
saveType (ExcelSaveType): The type of Excel file to save as.
|
|
1470
|
+
version (ExcelVersion): The Excel version to save as.
|
|
1121
1471
|
"""
|
|
1122
1472
|
enumsaveType:c_int = saveType.value
|
|
1123
1473
|
enumversion:c_int = version.value
|
|
@@ -1129,61 +1479,73 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1129
1479
|
|
|
1130
1480
|
def SaveToXlsm(self ,fileName:str):
|
|
1131
1481
|
"""
|
|
1482
|
+
Saves the workbook as an XLSM file (Excel workbook with macros).
|
|
1132
1483
|
|
|
1484
|
+
Args:
|
|
1485
|
+
fileName (str): The name of the file to save to.
|
|
1133
1486
|
"""
|
|
1134
1487
|
|
|
1135
1488
|
GetDllLibXls().XlsWorkbook_SaveToXlsm.argtypes=[c_void_p ,c_void_p]
|
|
1136
1489
|
CallCFunction(GetDllLibXls().XlsWorkbook_SaveToXlsm, self.Ptr, fileName)
|
|
1137
1490
|
|
|
1138
1491
|
@dispatch
|
|
1139
|
-
|
|
1140
1492
|
def SaveToXlsm(self ,stream:Stream):
|
|
1141
1493
|
"""
|
|
1494
|
+
Saves the workbook as an XLSM file (Excel workbook with macros) to a stream.
|
|
1142
1495
|
|
|
1496
|
+
Args:
|
|
1497
|
+
stream (Stream): The stream to save the workbook to.
|
|
1143
1498
|
"""
|
|
1144
1499
|
intPtrstream:c_void_p = stream.Ptr
|
|
1145
|
-
|
|
1146
1500
|
GetDllLibXls().XlsWorkbook_SaveToXlsmS.argtypes=[c_void_p ,c_void_p]
|
|
1147
1501
|
CallCFunction(GetDllLibXls().XlsWorkbook_SaveToXlsmS, self.Ptr, intPtrstream)
|
|
1148
1502
|
|
|
1149
1503
|
@dispatch
|
|
1150
|
-
|
|
1151
1504
|
def SaveToPdf(self ,stream:Stream):
|
|
1152
1505
|
"""
|
|
1506
|
+
Saves the workbook as a PDF file to a stream.
|
|
1153
1507
|
|
|
1508
|
+
Args:
|
|
1509
|
+
stream (Stream): The stream to save the PDF to.
|
|
1154
1510
|
"""
|
|
1155
1511
|
intPtrstream:c_void_p = stream.Ptr
|
|
1156
|
-
|
|
1157
1512
|
GetDllLibXls().XlsWorkbook_SaveToPdf.argtypes=[c_void_p ,c_void_p]
|
|
1158
1513
|
CallCFunction(GetDllLibXls().XlsWorkbook_SaveToPdf, self.Ptr, intPtrstream)
|
|
1159
1514
|
|
|
1160
1515
|
@dispatch
|
|
1161
|
-
|
|
1162
1516
|
def SaveToPdf(self ,fileName:str):
|
|
1163
1517
|
"""
|
|
1518
|
+
Saves the workbook as a PDF file.
|
|
1164
1519
|
|
|
1520
|
+
Args:
|
|
1521
|
+
fileName (str): The name of the PDF file to save to.
|
|
1165
1522
|
"""
|
|
1166
1523
|
|
|
1167
1524
|
GetDllLibXls().XlsWorkbook_SaveToPdfF.argtypes=[c_void_p ,c_void_p]
|
|
1168
1525
|
CallCFunction(GetDllLibXls().XlsWorkbook_SaveToPdfF, self.Ptr, fileName)
|
|
1169
1526
|
|
|
1170
1527
|
@dispatch
|
|
1171
|
-
|
|
1172
1528
|
def SaveAsImageOrXps(self ,stream:Stream,fileFormat:FileFormat):
|
|
1173
1529
|
"""
|
|
1530
|
+
Saves the workbook as an image or XPS file to a stream.
|
|
1174
1531
|
|
|
1532
|
+
Args:
|
|
1533
|
+
stream (Stream): The stream to save the file to.
|
|
1534
|
+
fileFormat (FileFormat): The format to save the file as (image or XPS).
|
|
1175
1535
|
"""
|
|
1176
1536
|
intPtrstream:c_void_p = stream.Ptr
|
|
1177
1537
|
enumfileFormat:c_int = fileFormat.value
|
|
1178
|
-
|
|
1179
1538
|
GetDllLibXls().XlsWorkbook_SaveAsImageOrXps.argtypes=[c_void_p ,c_void_p,c_int]
|
|
1180
1539
|
CallCFunction(GetDllLibXls().XlsWorkbook_SaveAsImageOrXps, self.Ptr, intPtrstream,enumfileFormat)
|
|
1181
1540
|
|
|
1182
1541
|
@dispatch
|
|
1183
|
-
|
|
1184
1542
|
def SaveAsImageOrXps(self ,fileName:str,fileFormat:FileFormat):
|
|
1185
1543
|
"""
|
|
1544
|
+
Saves the workbook as an image or XPS file.
|
|
1186
1545
|
|
|
1546
|
+
Args:
|
|
1547
|
+
fileName (str): The name of the file to save to.
|
|
1548
|
+
fileFormat (FileFormat): The format to save the file as (image or XPS).
|
|
1187
1549
|
"""
|
|
1188
1550
|
enumfileFormat:c_int = fileFormat.value
|
|
1189
1551
|
|
|
@@ -1193,7 +1555,11 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1193
1555
|
|
|
1194
1556
|
def SaveAsHtml(self ,fileName:str,saveOption:'HTMLOptions'):
|
|
1195
1557
|
"""
|
|
1558
|
+
Saves the workbook as an HTML file with specified options.
|
|
1196
1559
|
|
|
1560
|
+
Args:
|
|
1561
|
+
fileName (str): The name of the HTML file to save to.
|
|
1562
|
+
saveOption (HTMLOptions): The options for saving as HTML.
|
|
1197
1563
|
"""
|
|
1198
1564
|
intPtrsaveOption:c_void_p = saveOption.Ptr
|
|
1199
1565
|
|
|
@@ -1201,10 +1567,12 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1201
1567
|
CallCFunction(GetDllLibXls().XlsWorkbook_SaveAsHtml, self.Ptr, fileName,intPtrsaveOption)
|
|
1202
1568
|
|
|
1203
1569
|
@dispatch
|
|
1204
|
-
|
|
1205
1570
|
def SaveAs(self ,FileName:str):
|
|
1206
1571
|
"""
|
|
1572
|
+
Saves the workbook to a file using the default save type.
|
|
1207
1573
|
|
|
1574
|
+
Args:
|
|
1575
|
+
FileName (str): The name of the file to save to.
|
|
1208
1576
|
"""
|
|
1209
1577
|
|
|
1210
1578
|
GetDllLibXls().XlsWorkbook_SaveAsF.argtypes=[c_void_p ,c_void_p]
|
|
@@ -1212,7 +1580,8 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1212
1580
|
|
|
1213
1581
|
def Save(self):
|
|
1214
1582
|
"""
|
|
1215
|
-
|
|
1583
|
+
Saves the workbook using its current file name and format.
|
|
1584
|
+
If the workbook hasn't been saved before, this will throw an exception.
|
|
1216
1585
|
"""
|
|
1217
1586
|
GetDllLibXls().XlsWorkbook_Save.argtypes=[c_void_p]
|
|
1218
1587
|
CallCFunction(GetDllLibXls().XlsWorkbook_Save, self.Ptr)
|
|
@@ -1220,7 +1589,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1220
1589
|
@property
|
|
1221
1590
|
def StandardRowHeight(self)->float:
|
|
1222
1591
|
"""
|
|
1592
|
+
Gets the standard row height of the workbook.
|
|
1223
1593
|
|
|
1594
|
+
Returns:
|
|
1595
|
+
float: The standard row height.
|
|
1224
1596
|
"""
|
|
1225
1597
|
GetDllLibXls().XlsWorkbook_get_StandardRowHeight.argtypes=[c_void_p]
|
|
1226
1598
|
GetDllLibXls().XlsWorkbook_get_StandardRowHeight.restype=c_double
|
|
@@ -1235,7 +1607,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1235
1607
|
@property
|
|
1236
1608
|
def StandardRowHeightInPixels(self)->int:
|
|
1237
1609
|
"""
|
|
1610
|
+
Gets the standard row height in pixels.
|
|
1238
1611
|
|
|
1612
|
+
Returns:
|
|
1613
|
+
int: The standard row height in pixels.
|
|
1239
1614
|
"""
|
|
1240
1615
|
GetDllLibXls().XlsWorkbook_get_StandardRowHeightInPixels.argtypes=[c_void_p]
|
|
1241
1616
|
GetDllLibXls().XlsWorkbook_get_StandardRowHeightInPixels.restype=c_int
|
|
@@ -1250,7 +1625,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1250
1625
|
@property
|
|
1251
1626
|
def MaxXFCount(self)->int:
|
|
1252
1627
|
"""
|
|
1628
|
+
Gets the maximum number of XF records allowed in the workbook.
|
|
1253
1629
|
|
|
1630
|
+
Returns:
|
|
1631
|
+
int: The maximum XF count.
|
|
1254
1632
|
"""
|
|
1255
1633
|
GetDllLibXls().XlsWorkbook_get_MaxXFCount.argtypes=[c_void_p]
|
|
1256
1634
|
GetDllLibXls().XlsWorkbook_get_MaxXFCount.restype=c_int
|
|
@@ -1260,7 +1638,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1260
1638
|
@property
|
|
1261
1639
|
def MaxIndent(self)->int:
|
|
1262
1640
|
"""
|
|
1641
|
+
Gets the maximum indent level allowed in the workbook.
|
|
1263
1642
|
|
|
1643
|
+
Returns:
|
|
1644
|
+
int: The maximum indent level.
|
|
1264
1645
|
"""
|
|
1265
1646
|
GetDllLibXls().XlsWorkbook_get_MaxIndent.argtypes=[c_void_p]
|
|
1266
1647
|
GetDllLibXls().XlsWorkbook_get_MaxIndent.restype=c_int
|
|
@@ -1271,7 +1652,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1271
1652
|
|
|
1272
1653
|
def Version(self)->'ExcelVersion':
|
|
1273
1654
|
"""
|
|
1655
|
+
Gets the Excel version of the workbook.
|
|
1274
1656
|
|
|
1657
|
+
Returns:
|
|
1658
|
+
ExcelVersion: The Excel version.
|
|
1275
1659
|
"""
|
|
1276
1660
|
GetDllLibXls().XlsWorkbook_get_Version.argtypes=[c_void_p]
|
|
1277
1661
|
GetDllLibXls().XlsWorkbook_get_Version.restype=c_int
|
|
@@ -1288,12 +1672,15 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1288
1672
|
|
|
1289
1673
|
def Worksheets(self)->'IWorksheets':
|
|
1290
1674
|
"""
|
|
1675
|
+
Gets the collection of worksheets in the workbook.
|
|
1291
1676
|
|
|
1677
|
+
Returns:
|
|
1678
|
+
IWorksheets: The collection of worksheets.
|
|
1292
1679
|
"""
|
|
1293
1680
|
GetDllLibXls().XlsWorkbook_get_Worksheets.argtypes=[c_void_p]
|
|
1294
1681
|
GetDllLibXls().XlsWorkbook_get_Worksheets.restype=c_void_p
|
|
1295
1682
|
intPtr = CallCFunction(GetDllLibXls().XlsWorkbook_get_Worksheets, self.Ptr)
|
|
1296
|
-
ret = None if intPtr==None else
|
|
1683
|
+
ret = None if intPtr==None else XlsWorksheetsCollection(intPtr)
|
|
1297
1684
|
return ret
|
|
1298
1685
|
|
|
1299
1686
|
|
|
@@ -1301,7 +1688,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1301
1688
|
|
|
1302
1689
|
def InnerAddInFunctions(self)->'XlsAddInFunctionsCollection':
|
|
1303
1690
|
"""
|
|
1691
|
+
Gets the collection of add-in functions in the workbook.
|
|
1304
1692
|
|
|
1693
|
+
Returns:
|
|
1694
|
+
XlsAddInFunctionsCollection: The collection of add-in functions.
|
|
1305
1695
|
"""
|
|
1306
1696
|
GetDllLibXls().XlsWorkbook_get_InnerAddInFunctions.argtypes=[c_void_p]
|
|
1307
1697
|
GetDllLibXls().XlsWorkbook_get_InnerAddInFunctions.restype=c_void_p
|
|
@@ -1314,12 +1704,15 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1314
1704
|
|
|
1315
1705
|
def InnerFonts(self)->'XlsFontsCollection':
|
|
1316
1706
|
"""
|
|
1707
|
+
Gets the collection of fonts in the workbook.
|
|
1317
1708
|
|
|
1709
|
+
Returns:
|
|
1710
|
+
XlsFontsCollection: The collection of fonts.
|
|
1318
1711
|
"""
|
|
1319
1712
|
GetDllLibXls().XlsWorkbook_get_InnerFonts.argtypes=[c_void_p]
|
|
1320
1713
|
GetDllLibXls().XlsWorkbook_get_InnerFonts.restype=c_void_p
|
|
1321
1714
|
intPtr = CallCFunction(GetDllLibXls().XlsWorkbook_get_InnerFonts, self.Ptr)
|
|
1322
|
-
ret = None if intPtr==None else
|
|
1715
|
+
ret = None if intPtr==None else FontsCollection(intPtr)
|
|
1323
1716
|
return ret
|
|
1324
1717
|
|
|
1325
1718
|
|
|
@@ -1355,7 +1748,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1355
1748
|
|
|
1356
1749
|
def Names(self)->'INameRanges':
|
|
1357
1750
|
"""
|
|
1751
|
+
Gets the collection of named ranges in the workbook.
|
|
1358
1752
|
|
|
1753
|
+
Returns:
|
|
1754
|
+
INameRanges: The collection of named ranges.
|
|
1359
1755
|
"""
|
|
1360
1756
|
GetDllLibXls().XlsWorkbook_get_Names.argtypes=[c_void_p]
|
|
1361
1757
|
GetDllLibXls().XlsWorkbook_get_Names.restype=c_void_p
|
|
@@ -1368,7 +1764,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1368
1764
|
|
|
1369
1765
|
def DataConns(self)->'DataConnections':
|
|
1370
1766
|
"""
|
|
1767
|
+
Gets the collection of data connections in the workbook.
|
|
1371
1768
|
|
|
1769
|
+
Returns:
|
|
1770
|
+
DataConnections: The collection of data connections.
|
|
1372
1771
|
"""
|
|
1373
1772
|
GetDllLibXls().XlsWorkbook_get_DataConns.argtypes=[c_void_p]
|
|
1374
1773
|
GetDllLibXls().XlsWorkbook_get_DataConns.restype=c_void_p
|
|
@@ -1381,7 +1780,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1381
1780
|
|
|
1382
1781
|
def ExternalLinks(self)->'ExternalLinkCollection':
|
|
1383
1782
|
"""
|
|
1783
|
+
Gets the collection of external links in the workbook.
|
|
1384
1784
|
|
|
1785
|
+
Returns:
|
|
1786
|
+
ExternalLinkCollection: The collection of external links.
|
|
1385
1787
|
"""
|
|
1386
1788
|
GetDllLibXls().XlsWorkbook_get_ExternalLinks.argtypes=[c_void_p]
|
|
1387
1789
|
GetDllLibXls().XlsWorkbook_get_ExternalLinks.restype=c_void_p
|
|
@@ -1393,7 +1795,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1393
1795
|
@property
|
|
1394
1796
|
def ObjectCount(self)->int:
|
|
1395
1797
|
"""
|
|
1798
|
+
Gets the total number of objects in the workbook.
|
|
1396
1799
|
|
|
1800
|
+
Returns:
|
|
1801
|
+
int: The total number of objects.
|
|
1397
1802
|
"""
|
|
1398
1803
|
GetDllLibXls().XlsWorkbook_get_ObjectCount.argtypes=[c_void_p]
|
|
1399
1804
|
GetDllLibXls().XlsWorkbook_get_ObjectCount.restype=c_int
|
|
@@ -1404,7 +1809,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1404
1809
|
|
|
1405
1810
|
def OleSize(self)->'IXLSRange':
|
|
1406
1811
|
"""
|
|
1812
|
+
Gets or sets the OLE size range of the workbook.
|
|
1407
1813
|
|
|
1814
|
+
Returns:
|
|
1815
|
+
IXLSRange: The OLE size range.
|
|
1408
1816
|
"""
|
|
1409
1817
|
GetDllLibXls().XlsWorkbook_get_OleSize.argtypes=[c_void_p]
|
|
1410
1818
|
GetDllLibXls().XlsWorkbook_get_OleSize.restype=c_void_p
|
|
@@ -1472,7 +1880,7 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1472
1880
|
GetDllLibXls().XlsWorkbook_get_Palette.argtypes=[c_void_p]
|
|
1473
1881
|
GetDllLibXls().XlsWorkbook_get_Palette.restype=IntPtrArray
|
|
1474
1882
|
intPtrArray = CallCFunction(GetDllLibXls().XlsWorkbook_get_Palette, self.Ptr)
|
|
1475
|
-
ret =
|
|
1883
|
+
ret = GetObjVectorFromArray(intPtrArray, Color)
|
|
1476
1884
|
return ret
|
|
1477
1885
|
|
|
1478
1886
|
|
|
@@ -1526,7 +1934,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1526
1934
|
@property
|
|
1527
1935
|
def DisableMacrosStart(self)->bool:
|
|
1528
1936
|
"""
|
|
1937
|
+
Gets or sets whether macros are disabled when the workbook starts.
|
|
1529
1938
|
|
|
1939
|
+
Returns:
|
|
1940
|
+
bool: True if macros are disabled on startup, otherwise False.
|
|
1530
1941
|
"""
|
|
1531
1942
|
GetDllLibXls().XlsWorkbook_get_DisableMacrosStart.argtypes=[c_void_p]
|
|
1532
1943
|
GetDllLibXls().XlsWorkbook_get_DisableMacrosStart.restype=c_bool
|
|
@@ -1541,7 +1952,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1541
1952
|
@property
|
|
1542
1953
|
def FirstCharSize(self)->int:
|
|
1543
1954
|
"""
|
|
1955
|
+
Gets or sets the size of the first character in the workbook.
|
|
1544
1956
|
|
|
1957
|
+
Returns:
|
|
1958
|
+
int: The size of the first character.
|
|
1545
1959
|
"""
|
|
1546
1960
|
GetDllLibXls().XlsWorkbook_get_FirstCharSize.argtypes=[c_void_p]
|
|
1547
1961
|
GetDllLibXls().XlsWorkbook_get_FirstCharSize.restype=c_int
|
|
@@ -1556,7 +1970,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1556
1970
|
@property
|
|
1557
1971
|
def SecondCharSize(self)->int:
|
|
1558
1972
|
"""
|
|
1973
|
+
Gets or sets the size of the second character in the workbook.
|
|
1559
1974
|
|
|
1975
|
+
Returns:
|
|
1976
|
+
int: The size of the second character.
|
|
1560
1977
|
"""
|
|
1561
1978
|
GetDllLibXls().XlsWorkbook_get_SecondCharSize.argtypes=[c_void_p]
|
|
1562
1979
|
GetDllLibXls().XlsWorkbook_get_SecondCharSize.restype=c_int
|
|
@@ -1572,7 +1989,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1572
1989
|
|
|
1573
1990
|
def FullFileName(self)->str:
|
|
1574
1991
|
"""
|
|
1992
|
+
Gets the full path and name of the workbook file.
|
|
1575
1993
|
|
|
1994
|
+
Returns:
|
|
1995
|
+
str: The complete file path and name.
|
|
1576
1996
|
"""
|
|
1577
1997
|
GetDllLibXls().XlsWorkbook_get_FullFileName.argtypes=[c_void_p]
|
|
1578
1998
|
GetDllLibXls().XlsWorkbook_get_FullFileName.restype=c_void_p
|
|
@@ -1583,7 +2003,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1583
2003
|
@property
|
|
1584
2004
|
def HasDuplicatedNames(self)->bool:
|
|
1585
2005
|
"""
|
|
2006
|
+
Gets or sets whether the workbook contains duplicate named ranges.
|
|
1586
2007
|
|
|
2008
|
+
Returns:
|
|
2009
|
+
bool: True if the workbook has duplicate names, otherwise False.
|
|
1587
2010
|
"""
|
|
1588
2011
|
GetDllLibXls().XlsWorkbook_get_HasDuplicatedNames.argtypes=[c_void_p]
|
|
1589
2012
|
GetDllLibXls().XlsWorkbook_get_HasDuplicatedNames.restype=c_bool
|
|
@@ -1598,7 +2021,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1598
2021
|
@property
|
|
1599
2022
|
def HasMacros(self)->bool:
|
|
1600
2023
|
"""
|
|
2024
|
+
Gets whether the workbook contains macros.
|
|
1601
2025
|
|
|
2026
|
+
Returns:
|
|
2027
|
+
bool: True if the workbook has macros, otherwise False.
|
|
1602
2028
|
"""
|
|
1603
2029
|
GetDllLibXls().XlsWorkbook_get_HasMacros.argtypes=[c_void_p]
|
|
1604
2030
|
GetDllLibXls().XlsWorkbook_get_HasMacros.restype=c_bool
|
|
@@ -1608,7 +2034,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1608
2034
|
@property
|
|
1609
2035
|
def Saved(self)->bool:
|
|
1610
2036
|
"""
|
|
2037
|
+
Gets or sets whether the workbook has been saved.
|
|
1611
2038
|
|
|
2039
|
+
Returns:
|
|
2040
|
+
bool: True if the workbook has been saved, otherwise False.
|
|
1612
2041
|
"""
|
|
1613
2042
|
GetDllLibXls().XlsWorkbook_get_Saved.argtypes=[c_void_p]
|
|
1614
2043
|
GetDllLibXls().XlsWorkbook_get_Saved.restype=c_bool
|
|
@@ -1623,7 +2052,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1623
2052
|
@property
|
|
1624
2053
|
def Saving(self)->bool:
|
|
1625
2054
|
"""
|
|
2055
|
+
Gets whether the workbook is currently being saved.
|
|
1626
2056
|
|
|
2057
|
+
Returns:
|
|
2058
|
+
bool: True if the workbook is being saved, otherwise False.
|
|
1627
2059
|
"""
|
|
1628
2060
|
GetDllLibXls().XlsWorkbook_get_Saving.argtypes=[c_void_p]
|
|
1629
2061
|
GetDllLibXls().XlsWorkbook_get_Saving.restype=c_bool
|
|
@@ -1634,7 +2066,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1634
2066
|
|
|
1635
2067
|
def Author(self)->str:
|
|
1636
2068
|
"""
|
|
2069
|
+
Gets or sets the author of the workbook.
|
|
1637
2070
|
|
|
2071
|
+
Returns:
|
|
2072
|
+
str: The name of the workbook author.
|
|
1638
2073
|
"""
|
|
1639
2074
|
GetDllLibXls().XlsWorkbook_get_Author.argtypes=[c_void_p]
|
|
1640
2075
|
GetDllLibXls().XlsWorkbook_get_Author.restype=c_void_p
|
|
@@ -1651,19 +2086,25 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1651
2086
|
|
|
1652
2087
|
def AddInFunctions(self)->'IAddInFunctions':
|
|
1653
2088
|
"""
|
|
2089
|
+
Gets the collection of add-in functions in the workbook.
|
|
1654
2090
|
|
|
2091
|
+
Returns:
|
|
2092
|
+
IAddInFunctions: The collection of add-in functions.
|
|
1655
2093
|
"""
|
|
1656
2094
|
GetDllLibXls().XlsWorkbook_get_AddInFunctions.argtypes=[c_void_p]
|
|
1657
2095
|
GetDllLibXls().XlsWorkbook_get_AddInFunctions.restype=c_void_p
|
|
1658
2096
|
intPtr = CallCFunction(GetDllLibXls().XlsWorkbook_get_AddInFunctions, self.Ptr)
|
|
1659
|
-
ret = None if intPtr==None else
|
|
2097
|
+
ret = None if intPtr==None else XlsAddInFunctionsCollection(intPtr)
|
|
1660
2098
|
return ret
|
|
1661
2099
|
|
|
1662
2100
|
|
|
1663
2101
|
@property
|
|
1664
2102
|
def Allow3DRangesInDataValidation(self)->bool:
|
|
1665
2103
|
"""
|
|
2104
|
+
Gets or sets whether 3D ranges are allowed in data validation.
|
|
1666
2105
|
|
|
2106
|
+
Returns:
|
|
2107
|
+
bool: True if 3D ranges are allowed, otherwise False.
|
|
1667
2108
|
"""
|
|
1668
2109
|
GetDllLibXls().XlsWorkbook_get_Allow3DRangesInDataValidation.argtypes=[c_void_p]
|
|
1669
2110
|
GetDllLibXls().XlsWorkbook_get_Allow3DRangesInDataValidation.restype=c_bool
|
|
@@ -1679,7 +2120,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1679
2120
|
|
|
1680
2121
|
def ArgumentsSeparator(self)->str:
|
|
1681
2122
|
"""
|
|
2123
|
+
Gets the separator used for function arguments in the workbook.
|
|
1682
2124
|
|
|
2125
|
+
Returns:
|
|
2126
|
+
str: The arguments separator character.
|
|
1683
2127
|
"""
|
|
1684
2128
|
GetDllLibXls().XlsWorkbook_get_ArgumentsSeparator.argtypes=[c_void_p]
|
|
1685
2129
|
GetDllLibXls().XlsWorkbook_get_ArgumentsSeparator.restype=c_void_p
|
|
@@ -1691,12 +2135,15 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1691
2135
|
|
|
1692
2136
|
def BuiltInDocumentProperties(self)->'IBuiltInDocumentProperties':
|
|
1693
2137
|
"""
|
|
2138
|
+
Gets the collection of built-in document properties.
|
|
1694
2139
|
|
|
2140
|
+
Returns:
|
|
2141
|
+
IBuiltInDocumentProperties: The collection of built-in document properties.
|
|
1695
2142
|
"""
|
|
1696
2143
|
GetDllLibXls().XlsWorkbook_get_BuiltInDocumentProperties.argtypes=[c_void_p]
|
|
1697
2144
|
GetDllLibXls().XlsWorkbook_get_BuiltInDocumentProperties.restype=c_void_p
|
|
1698
2145
|
intPtr = CallCFunction(GetDllLibXls().XlsWorkbook_get_BuiltInDocumentProperties, self.Ptr)
|
|
1699
|
-
ret = None if intPtr==None else
|
|
2146
|
+
ret = None if intPtr==None else XlsBuiltInDocumentProperties(intPtr)
|
|
1700
2147
|
return ret
|
|
1701
2148
|
|
|
1702
2149
|
|
|
@@ -1704,34 +2151,26 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1704
2151
|
|
|
1705
2152
|
def Charts(self)->'ICharts':
|
|
1706
2153
|
"""
|
|
2154
|
+
Gets the collection of charts in the workbook.
|
|
1707
2155
|
|
|
2156
|
+
Returns:
|
|
2157
|
+
ICharts: The collection of charts.
|
|
1708
2158
|
"""
|
|
1709
2159
|
GetDllLibXls().XlsWorkbook_get_Charts.argtypes=[c_void_p]
|
|
1710
2160
|
GetDllLibXls().XlsWorkbook_get_Charts.restype=c_void_p
|
|
1711
2161
|
intPtr = CallCFunction(GetDllLibXls().XlsWorkbook_get_Charts, self.Ptr)
|
|
1712
|
-
ret = None if intPtr==None else
|
|
2162
|
+
ret = None if intPtr==None else XlsChartsCollection(intPtr)
|
|
1713
2163
|
return ret
|
|
1714
2164
|
|
|
1715
2165
|
|
|
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
2166
|
@property
|
|
1731
2167
|
|
|
1732
2168
|
def CustomDocumentProperties(self)->'ICustomDocumentProperties':
|
|
1733
2169
|
"""
|
|
2170
|
+
Gets the collection of custom document properties.
|
|
1734
2171
|
|
|
2172
|
+
Returns:
|
|
2173
|
+
ICustomDocumentProperties: The collection of custom document properties.
|
|
1735
2174
|
"""
|
|
1736
2175
|
GetDllLibXls().XlsWorkbook_get_CustomDocumentProperties.argtypes=[c_void_p]
|
|
1737
2176
|
GetDllLibXls().XlsWorkbook_get_CustomDocumentProperties.restype=c_void_p
|
|
@@ -1743,7 +2182,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1743
2182
|
@property
|
|
1744
2183
|
def CurrentObjectId(self)->int:
|
|
1745
2184
|
"""
|
|
2185
|
+
Gets or sets the current object ID in the workbook.
|
|
1746
2186
|
|
|
2187
|
+
Returns:
|
|
2188
|
+
int: The current object ID.
|
|
1747
2189
|
"""
|
|
1748
2190
|
GetDllLibXls().XlsWorkbook_get_CurrentObjectId.argtypes=[c_void_p]
|
|
1749
2191
|
GetDllLibXls().XlsWorkbook_get_CurrentObjectId.restype=c_int
|
|
@@ -1758,7 +2200,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1758
2200
|
@property
|
|
1759
2201
|
def CurrentShapeId(self)->int:
|
|
1760
2202
|
"""
|
|
2203
|
+
Gets or sets the current shape ID in the workbook.
|
|
1761
2204
|
|
|
2205
|
+
Returns:
|
|
2206
|
+
int: The current shape ID.
|
|
1762
2207
|
"""
|
|
1763
2208
|
GetDllLibXls().XlsWorkbook_get_CurrentShapeId.argtypes=[c_void_p]
|
|
1764
2209
|
GetDllLibXls().XlsWorkbook_get_CurrentShapeId.restype=c_int
|
|
@@ -1773,7 +2218,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1773
2218
|
@property
|
|
1774
2219
|
def CurrentHeaderId(self)->int:
|
|
1775
2220
|
"""
|
|
2221
|
+
Gets or sets the current header ID in the workbook.
|
|
1776
2222
|
|
|
2223
|
+
Returns:
|
|
2224
|
+
int: The current header ID.
|
|
1777
2225
|
"""
|
|
1778
2226
|
GetDllLibXls().XlsWorkbook_get_CurrentHeaderId.argtypes=[c_void_p]
|
|
1779
2227
|
GetDllLibXls().XlsWorkbook_get_CurrentHeaderId.restype=c_int
|
|
@@ -1788,7 +2236,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1788
2236
|
@property
|
|
1789
2237
|
def DefaultXFIndex(self)->int:
|
|
1790
2238
|
"""
|
|
2239
|
+
Gets or sets the default XF (extended format) index in the workbook.
|
|
1791
2240
|
|
|
2241
|
+
Returns:
|
|
2242
|
+
int: The default XF index.
|
|
1792
2243
|
"""
|
|
1793
2244
|
GetDllLibXls().XlsWorkbook_get_DefaultXFIndex.argtypes=[c_void_p]
|
|
1794
2245
|
GetDllLibXls().XlsWorkbook_get_DefaultXFIndex.restype=c_int
|
|
@@ -1803,7 +2254,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1803
2254
|
@property
|
|
1804
2255
|
def DetectDateTimeInValue(self)->bool:
|
|
1805
2256
|
"""
|
|
2257
|
+
Gets or sets whether to automatically detect date/time values in cell values.
|
|
1806
2258
|
|
|
2259
|
+
Returns:
|
|
2260
|
+
bool: True if date/time detection is enabled, otherwise False.
|
|
1807
2261
|
"""
|
|
1808
2262
|
GetDllLibXls().XlsWorkbook_get_DetectDateTimeInValue.argtypes=[c_void_p]
|
|
1809
2263
|
GetDllLibXls().XlsWorkbook_get_DetectDateTimeInValue.restype=c_bool
|
|
@@ -1818,7 +2272,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1818
2272
|
@property
|
|
1819
2273
|
def DisplayedTab(self)->int:
|
|
1820
2274
|
"""
|
|
2275
|
+
Gets or sets the index of the currently displayed tab.
|
|
1821
2276
|
|
|
2277
|
+
Returns:
|
|
2278
|
+
int: The index of the displayed tab.
|
|
1822
2279
|
"""
|
|
1823
2280
|
GetDllLibXls().XlsWorkbook_get_DisplayedTab.argtypes=[c_void_p]
|
|
1824
2281
|
GetDllLibXls().XlsWorkbook_get_DisplayedTab.restype=c_int
|
|
@@ -1833,7 +2290,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1833
2290
|
@property
|
|
1834
2291
|
def DisplayWorkbookTabs(self)->bool:
|
|
1835
2292
|
"""
|
|
2293
|
+
Gets or sets whether to display workbook tabs.
|
|
1836
2294
|
|
|
2295
|
+
Returns:
|
|
2296
|
+
bool: True if workbook tabs are displayed, otherwise False.
|
|
1837
2297
|
"""
|
|
1838
2298
|
GetDllLibXls().XlsWorkbook_get_DisplayWorkbookTabs.argtypes=[c_void_p]
|
|
1839
2299
|
GetDllLibXls().XlsWorkbook_get_DisplayWorkbookTabs.restype=c_bool
|
|
@@ -1848,7 +2308,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1848
2308
|
@property
|
|
1849
2309
|
def IsCellProtection(self)->bool:
|
|
1850
2310
|
"""
|
|
2311
|
+
Gets whether cell protection is enabled in the workbook.
|
|
1851
2312
|
|
|
2313
|
+
Returns:
|
|
2314
|
+
bool: True if cell protection is enabled, otherwise False.
|
|
1852
2315
|
"""
|
|
1853
2316
|
GetDllLibXls().XlsWorkbook_get_IsCellProtection.argtypes=[c_void_p]
|
|
1854
2317
|
GetDllLibXls().XlsWorkbook_get_IsCellProtection.restype=c_bool
|
|
@@ -1858,7 +2321,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1858
2321
|
@property
|
|
1859
2322
|
def IsDisplayPrecision(self)->bool:
|
|
1860
2323
|
"""
|
|
2324
|
+
Gets or sets whether to display values with full precision.
|
|
1861
2325
|
|
|
2326
|
+
Returns:
|
|
2327
|
+
bool: True if full precision display is enabled, otherwise False.
|
|
1862
2328
|
"""
|
|
1863
2329
|
GetDllLibXls().XlsWorkbook_get_IsDisplayPrecision.argtypes=[c_void_p]
|
|
1864
2330
|
GetDllLibXls().XlsWorkbook_get_IsDisplayPrecision.restype=c_bool
|
|
@@ -1873,7 +2339,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1873
2339
|
@property
|
|
1874
2340
|
def IsHScrollBarVisible(self)->bool:
|
|
1875
2341
|
"""
|
|
2342
|
+
Gets or sets whether the horizontal scroll bar is visible.
|
|
1876
2343
|
|
|
2344
|
+
Returns:
|
|
2345
|
+
bool: True if the horizontal scroll bar is visible, otherwise False.
|
|
1877
2346
|
"""
|
|
1878
2347
|
GetDllLibXls().XlsWorkbook_get_IsHScrollBarVisible.argtypes=[c_void_p]
|
|
1879
2348
|
GetDllLibXls().XlsWorkbook_get_IsHScrollBarVisible.restype=c_bool
|
|
@@ -1888,7 +2357,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1888
2357
|
@property
|
|
1889
2358
|
def IsLoaded(self)->bool:
|
|
1890
2359
|
"""
|
|
2360
|
+
Gets whether the workbook is currently loaded.
|
|
1891
2361
|
|
|
2362
|
+
Returns:
|
|
2363
|
+
bool: True if the workbook is loaded, otherwise False.
|
|
1892
2364
|
"""
|
|
1893
2365
|
GetDllLibXls().XlsWorkbook_get_IsLoaded.argtypes=[c_void_p]
|
|
1894
2366
|
GetDllLibXls().XlsWorkbook_get_IsLoaded.restype=c_bool
|
|
@@ -1898,7 +2370,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1898
2370
|
@property
|
|
1899
2371
|
def IsRightToLeft(self)->bool:
|
|
1900
2372
|
"""
|
|
2373
|
+
Gets or sets whether the workbook uses right-to-left text direction.
|
|
1901
2374
|
|
|
2375
|
+
Returns:
|
|
2376
|
+
bool: True if right-to-left text direction is enabled, otherwise False.
|
|
1902
2377
|
"""
|
|
1903
2378
|
GetDllLibXls().XlsWorkbook_get_IsRightToLeft.argtypes=[c_void_p]
|
|
1904
2379
|
GetDllLibXls().XlsWorkbook_get_IsRightToLeft.restype=c_bool
|
|
@@ -1914,7 +2389,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1914
2389
|
|
|
1915
2390
|
def DEF_COMENT_PARSE_COLOR()->'Color':
|
|
1916
2391
|
"""
|
|
2392
|
+
Gets the default color used for parsing comments.
|
|
1917
2393
|
|
|
2394
|
+
Returns:
|
|
2395
|
+
Color: The default comment parse color.
|
|
1918
2396
|
"""
|
|
1919
2397
|
#GetDllLibXls().XlsWorkbook_DEF_COMENT_PARSE_COLOR.argtypes=[]
|
|
1920
2398
|
GetDllLibXls().XlsWorkbook_DEF_COMENT_PARSE_COLOR.restype=c_void_p
|
|
@@ -1926,7 +2404,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1926
2404
|
@staticmethod
|
|
1927
2405
|
def DEF_FIRST_USER_COLOR()->int:
|
|
1928
2406
|
"""
|
|
2407
|
+
Gets the index of the first user-modifiable color in the palette.
|
|
1929
2408
|
|
|
2409
|
+
Returns:
|
|
2410
|
+
int: Index of the first user color (8 in default Excel palette).
|
|
1930
2411
|
"""
|
|
1931
2412
|
#GetDllLibXls().XlsWorkbook_DEF_FIRST_USER_COLOR.argtypes=[]
|
|
1932
2413
|
GetDllLibXls().XlsWorkbook_DEF_FIRST_USER_COLOR.restype=c_int
|
|
@@ -1937,7 +2418,10 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1937
2418
|
|
|
1938
2419
|
def DEF_BAD_SHEET_NAME()->str:
|
|
1939
2420
|
"""
|
|
2421
|
+
Gets the placeholder name used for invalid sheet names.
|
|
1940
2422
|
|
|
2423
|
+
Returns:
|
|
2424
|
+
str: Default bad sheet name placeholder.
|
|
1941
2425
|
"""
|
|
1942
2426
|
#GetDllLibXls().XlsWorkbook_DEF_BAD_SHEET_NAME.argtypes=[]
|
|
1943
2427
|
GetDllLibXls().XlsWorkbook_DEF_BAD_SHEET_NAME.restype=c_void_p
|
|
@@ -1945,3 +2429,4 @@ class XlsWorkbook ( XlsObject, IWorkbook) :
|
|
|
1945
2429
|
return ret
|
|
1946
2430
|
|
|
1947
2431
|
|
|
2432
|
+
|