spire-xls 15.5.0__py3-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- spire/__init__.py +0 -0
- spire/xls/AddInFunctionsCollection.py +29 -0
- spire/xls/AddtionalFormatWrapper.py +976 -0
- spire/xls/AlertStyleType.py +18 -0
- spire/xls/ArcShapeCollection.py +70 -0
- spire/xls/AutoFiltersCollection.py +527 -0
- spire/xls/AutoFitterOptions.py +66 -0
- spire/xls/AutoFormatOptions.py +23 -0
- spire/xls/AutoFormatType.py +32 -0
- spire/xls/AutoSortScope.py +25 -0
- spire/xls/Average.py +29 -0
- spire/xls/AverageType.py +25 -0
- spire/xls/AxisLineIdentifierType.py +19 -0
- spire/xls/AxisTextDirectionType.py +18 -0
- spire/xls/AxisType.py +18 -0
- spire/xls/AxisTypes.py +18 -0
- spire/xls/BaseFormatType.py +17 -0
- spire/xls/BordersCollection.py +158 -0
- spire/xls/BordersCollectionArrayWrapper.py +95 -0
- spire/xls/BordersLineType.py +23 -0
- spire/xls/BubbleSizeType.py +17 -0
- spire/xls/BuiltInDocumentProperties.py +12 -0
- spire/xls/BuiltInPropertyType.py +50 -0
- spire/xls/BuiltInStyles.py +66 -0
- spire/xls/ButtonShapeCollection.py +70 -0
- spire/xls/CategoryType.py +18 -0
- spire/xls/CellBaseStyle.py +26 -0
- spire/xls/CellBorder.py +154 -0
- spire/xls/CellDataType.py +23 -0
- spire/xls/CellFormatType.py +21 -0
- spire/xls/CellRange.py +915 -0
- spire/xls/CellStyle.py +85 -0
- spire/xls/CellStyleFlag.py +432 -0
- spire/xls/CellStyleObject.py +617 -0
- spire/xls/CellValueChangedEventArgs.py +75 -0
- spire/xls/CellValueChangedEventHandler.py +52 -0
- spire/xls/Chart.py +404 -0
- spire/xls/ChartArea.py +61 -0
- spire/xls/ChartBackgroundMode.py +18 -0
- spire/xls/ChartBaseUnitType.py +18 -0
- spire/xls/ChartBorder.py +12 -0
- spire/xls/ChartCategoryAxis.py +93 -0
- spire/xls/ChartDataLabels.py +42 -0
- spire/xls/ChartDataPoint.py +42 -0
- spire/xls/ChartDataPointsCollection.py +75 -0
- spire/xls/ChartDataTable.py +12 -0
- spire/xls/ChartDisplayUnitType.py +26 -0
- spire/xls/ChartDropBar.py +12 -0
- spire/xls/ChartFormat.py +72 -0
- spire/xls/ChartFormatCollection.py +59 -0
- spire/xls/ChartGridLine.py +27 -0
- spire/xls/ChartInterior.py +12 -0
- spire/xls/ChartLegend.py +42 -0
- spire/xls/ChartLegendEntriesColl.py +128 -0
- spire/xls/ChartLegendEntry.py +27 -0
- spire/xls/ChartLinePatternType.py +24 -0
- spire/xls/ChartLineWeightType.py +19 -0
- spire/xls/ChartMarkerType.py +27 -0
- spire/xls/ChartPageSetup.py +12 -0
- spire/xls/ChartParagraphType.py +18 -0
- spire/xls/ChartPieType.py +18 -0
- spire/xls/ChartPlotArea.py +53 -0
- spire/xls/ChartPlotEmptyType.py +18 -0
- spire/xls/ChartSerie.py +142 -0
- spire/xls/ChartSerieDataFormat.py +56 -0
- spire/xls/ChartSeries.py +154 -0
- spire/xls/ChartSeriesAxis.py +72 -0
- spire/xls/ChartShadow.py +235 -0
- spire/xls/ChartSheet.py +285 -0
- spire/xls/ChartTextArea.py +782 -0
- spire/xls/ChartTitle.py +12 -0
- spire/xls/ChartValueAxis.py +92 -0
- spire/xls/ChartWallOrFloor.py +12 -0
- spire/xls/ChartsCollection.py +113 -0
- spire/xls/CheckBoxCollection.py +70 -0
- spire/xls/CheckState.py +18 -0
- spire/xls/CollectionBase.py +184 -0
- spire/xls/CollectionChangeEventArgs.py +36 -0
- spire/xls/CollectionExtended.py +92 -0
- spire/xls/ColorConditionValue.py +91 -0
- spire/xls/ColorFilter.py +45 -0
- spire/xls/ColorScale.py +172 -0
- spire/xls/ColorType.py +18 -0
- spire/xls/ComboBoxCollection.py +70 -0
- spire/xls/CommentHAlignType.py +21 -0
- spire/xls/CommentVAlignType.py +20 -0
- spire/xls/CommentsCollection.py +109 -0
- spire/xls/CommentsRange.py +578 -0
- spire/xls/CommonWrapper.py +40 -0
- spire/xls/ComparisonOperatorType.py +24 -0
- spire/xls/CompoundLineType.py +18 -0
- spire/xls/CondFormatCollectionWrapper.py +125 -0
- spire/xls/ConditionValue.py +82 -0
- spire/xls/ConditionValuePosition.py +16 -0
- spire/xls/ConditionValueType.py +20 -0
- spire/xls/ConditionalFormat.py +14 -0
- spire/xls/ConditionalFormatScope.py +16 -0
- spire/xls/ConditionalFormatType.py +33 -0
- spire/xls/ConditionalFormatWrapper.py +986 -0
- spire/xls/ConditionalFormats.py +55 -0
- spire/xls/ConditionalTopNType.py +17 -0
- spire/xls/ConnectionDataSourceType.py +26 -0
- spire/xls/ConverterSetting.py +347 -0
- spire/xls/CopyRangeOptions.py +23 -0
- spire/xls/CustomFilter.py +147 -0
- spire/xls/CustomFilterCollection.py +113 -0
- spire/xls/DBConnection.py +198 -0
- spire/xls/DVAspect.py +15 -0
- spire/xls/DataBar.py +220 -0
- spire/xls/DataBarAxisPosition.py +16 -0
- spire/xls/DataBarBorder.py +47 -0
- spire/xls/DataBarBorderType.py +15 -0
- spire/xls/DataBarFillType.py +15 -0
- spire/xls/DataBarNegativeColorType.py +15 -0
- spire/xls/DataConnections.py +25 -0
- spire/xls/DataLabelPositionType.py +26 -0
- spire/xls/DataMarkerDirection.py +17 -0
- spire/xls/DataSorter.py +154 -0
- spire/xls/DataSourceType.py +19 -0
- spire/xls/DateTimeGroupItem.py +132 -0
- spire/xls/DateTimeGroupingType.py +19 -0
- spire/xls/DeleteOption.py +15 -0
- spire/xls/DocumentProperty.py +304 -0
- spire/xls/DropLineStyleType.py +18 -0
- spire/xls/DynamicFilter.py +71 -0
- spire/xls/DynamicFilterType.py +48 -0
- spire/xls/EncryptedKeyInfo.py +12 -0
- spire/xls/ErrorBarIncludeType.py +19 -0
- spire/xls/ErrorBarType.py +20 -0
- spire/xls/Excel2016Charttype.py +20 -0
- spire/xls/ExcelAddInFunction.py +12 -0
- spire/xls/ExcelCalculationMode.py +18 -0
- spire/xls/ExcelChartType.py +96 -0
- spire/xls/ExcelClearOptions.py +18 -0
- spire/xls/ExcelColors.py +121 -0
- spire/xls/ExcelComboType.py +22 -0
- spire/xls/ExcelComment.py +27 -0
- spire/xls/ExcelCommentObject.py +618 -0
- spire/xls/ExcelFindOptions.py +16 -0
- spire/xls/ExcelFont.py +310 -0
- spire/xls/ExcelGradient.py +174 -0
- spire/xls/ExcelHorizontalAlignment.py +21 -0
- spire/xls/ExcelInterior.py +128 -0
- spire/xls/ExcelPatternType.py +52 -0
- spire/xls/ExcelPicture.py +12 -0
- spire/xls/ExcelQuartileCalculation.py +17 -0
- spire/xls/ExcelSaveType.py +15 -0
- spire/xls/ExcelShapeType.py +41 -0
- spire/xls/ExcelSheetType.py +20 -0
- spire/xls/ExcelTotalsCalculation.py +23 -0
- spire/xls/ExcelTreeMapLabelOption.py +18 -0
- spire/xls/ExcelVersion.py +24 -0
- spire/xls/ExcelVerticalAlignment.py +21 -0
- spire/xls/ExpandCollapseFlags.py +18 -0
- spire/xls/ExportTableOptions.py +74 -0
- spire/xls/ExternalConnection.py +147 -0
- spire/xls/ExternalLink.py +58 -0
- spire/xls/ExternalLinkCollection.py +25 -0
- spire/xls/FileFormat.py +40 -0
- spire/xls/FillPictureType.py +16 -0
- spire/xls/FilterColumn.py +258 -0
- spire/xls/FilterConditionType.py +21 -0
- spire/xls/FilterDataType.py +22 -0
- spire/xls/FilterOperatorType.py +20 -0
- spire/xls/FilterType.py +20 -0
- spire/xls/FindType.py +19 -0
- spire/xls/Font.py +376 -0
- spire/xls/FontArrayWrapper.py +265 -0
- spire/xls/FontUnderlineType.py +20 -0
- spire/xls/FontVertialAlignmentType.py +20 -0
- spire/xls/FontWrapper.py +450 -0
- spire/xls/FontsCollection.py +87 -0
- spire/xls/Format3D.py +235 -0
- spire/xls/GeomertyAdjustValue.py +63 -0
- spire/xls/GeomertyAdjustValueFormulaType.py +30 -0
- spire/xls/GeomertyAdjustValuesCollection.py +39 -0
- spire/xls/GetText.py +15 -0
- spire/xls/GoalSeek.py +65 -0
- spire/xls/GoalSeekResult.py +57 -0
- spire/xls/GradientArrayWrapper.py +188 -0
- spire/xls/GradientColorType.py +18 -0
- spire/xls/GradientPatternType.py +64 -0
- spire/xls/GradientPresetType.py +39 -0
- spire/xls/GradientStops.py +146 -0
- spire/xls/GradientStyleType.py +21 -0
- spire/xls/GradientTextureType.py +40 -0
- spire/xls/GradientType.py +17 -0
- spire/xls/GradientVariantsType.py +19 -0
- spire/xls/GroupBoxCollection.py +70 -0
- spire/xls/GroupByType.py +15 -0
- spire/xls/GroupShape.py +21 -0
- spire/xls/GroupShapeCollection.py +46 -0
- spire/xls/HPageBreak.py +32 -0
- spire/xls/HPageBreaksCollection.py +108 -0
- spire/xls/HTMLOptions.py +144 -0
- spire/xls/HistogramAxisFormat.py +30 -0
- spire/xls/HorizontalAlignType.py +23 -0
- spire/xls/HttpContentType.py +18 -0
- spire/xls/HyperLink.py +32 -0
- spire/xls/HyperLinkType.py +20 -0
- spire/xls/HyperLinksCollection.py +72 -0
- spire/xls/IAddInFunction.py +22 -0
- spire/xls/IAddInFunctions.py +50 -0
- spire/xls/IArcShape.py +259 -0
- spire/xls/IArcShapes.py +50 -0
- spire/xls/IAutoFilter.py +167 -0
- spire/xls/IAutoFilterCondition.py +123 -0
- spire/xls/IAutoFilters.py +49 -0
- spire/xls/IBorder.py +116 -0
- spire/xls/IBorders.py +106 -0
- spire/xls/IBuiltInDocumentProperties.py +579 -0
- spire/xls/IButtonShape.py +12 -0
- spire/xls/IButtonShapes.py +50 -0
- spire/xls/IChart.py +1368 -0
- spire/xls/IChartAxis.py +722 -0
- spire/xls/IChartBorder.py +220 -0
- spire/xls/IChartCategoryAxis.py +410 -0
- spire/xls/IChartDataLabels.py +457 -0
- spire/xls/IChartDataPoint.py +131 -0
- spire/xls/IChartDataPoints.py +31 -0
- spire/xls/IChartDataTable.py +197 -0
- spire/xls/IChartDropBar.py +12 -0
- spire/xls/IChartErrorBars.py +373 -0
- spire/xls/IChartFillBorder.py +303 -0
- spire/xls/IChartFormat.py +571 -0
- spire/xls/IChartFrameFormat.py +93 -0
- spire/xls/IChartGridLine.py +107 -0
- spire/xls/IChartInterior.py +278 -0
- spire/xls/IChartLegend.py +499 -0
- spire/xls/IChartLegendEntries.py +30 -0
- spire/xls/IChartLegendEntry.py +178 -0
- spire/xls/IChartPageSetup.py +56 -0
- spire/xls/IChartSerie.py +779 -0
- spire/xls/IChartSerieDataFormat.py +566 -0
- spire/xls/IChartSeries.py +39 -0
- spire/xls/IChartSeriesAxis.py +128 -0
- spire/xls/IChartShape.py +92 -0
- spire/xls/IChartShapes.py +39 -0
- spire/xls/IChartTextArea.py +197 -0
- spire/xls/IChartTrendLine.py +548 -0
- spire/xls/IChartTrendLines.py +79 -0
- spire/xls/IChartValueAxis.py +518 -0
- spire/xls/IChartWallOrFloor.py +32 -0
- spire/xls/ICharts.py +70 -0
- spire/xls/ICheckBox.py +96 -0
- spire/xls/ICheckBoxes.py +50 -0
- spire/xls/ICloneParent.py +28 -0
- spire/xls/IColorConditionValue.py +31 -0
- spire/xls/IColorScale.py +32 -0
- spire/xls/ICombinedRange.py +87 -0
- spire/xls/IComboBoxShape.py +95 -0
- spire/xls/IComboBoxes.py +50 -0
- spire/xls/IComment.py +85 -0
- spire/xls/ICommentShape.py +12 -0
- spire/xls/IComments.py +50 -0
- spire/xls/IConditionValue.py +68 -0
- spire/xls/IConditionalFormat.py +606 -0
- spire/xls/IConditionalFormats.py +48 -0
- spire/xls/IConditionalFormatsCollection.py +134 -0
- spire/xls/ICustomDocumentProperties.py +128 -0
- spire/xls/IDataBar.py +105 -0
- spire/xls/IDataSort.py +95 -0
- spire/xls/IDataValidation.py +421 -0
- spire/xls/IDataValidationCollection.py +132 -0
- spire/xls/IDataValidationTable.py +68 -0
- spire/xls/IDigitalSignature.py +99 -0
- spire/xls/IDigitalSignatures.py +29 -0
- spire/xls/IDocumentProperty.py +226 -0
- spire/xls/IErrorIndicator.py +31 -0
- spire/xls/IExcelApplication.py +22 -0
- spire/xls/IExtendIndex.py +21 -0
- spire/xls/IExtendedFormat.py +530 -0
- spire/xls/IFont.py +271 -0
- spire/xls/IFormat3D.py +252 -0
- spire/xls/IGeomPath.py +23 -0
- spire/xls/IGeomPathInfo.py +112 -0
- spire/xls/IGeomPathShape.py +30 -0
- spire/xls/IGlow.py +85 -0
- spire/xls/IGradient.py +174 -0
- spire/xls/IGroupBox.py +67 -0
- spire/xls/IGroupBoxes.py +50 -0
- spire/xls/IHPageBreak.py +22 -0
- spire/xls/IHPageBreaks.py +31 -0
- spire/xls/IHyperLink.py +118 -0
- spire/xls/IHyperLinks.py +48 -0
- spire/xls/IIconSet.py +96 -0
- spire/xls/IInterior.py +117 -0
- spire/xls/IInternalAddtionalFormat.py +238 -0
- spire/xls/IInternalFont.py +31 -0
- spire/xls/IInternalWorksheet.py +132 -0
- spire/xls/ILabelShape.py +49 -0
- spire/xls/ILabelShapes.py +50 -0
- spire/xls/ILineShape.py +305 -0
- spire/xls/ILines.py +50 -0
- spire/xls/IListBox.py +86 -0
- spire/xls/IListBoxes.py +50 -0
- spire/xls/IListObject.py +493 -0
- spire/xls/IListObjectColumn.py +222 -0
- spire/xls/IListObjects.py +31 -0
- spire/xls/IMarkersDesigner.py +113 -0
- spire/xls/IMigrantRange.py +21 -0
- spire/xls/INameRanges.py +162 -0
- spire/xls/INamedObject.py +22 -0
- spire/xls/INamedRange.py +162 -0
- spire/xls/INumberFormat.py +77 -0
- spire/xls/IOleObject.py +176 -0
- spire/xls/IOleObjects.py +32 -0
- spire/xls/IOptimizedUpdate.py +28 -0
- spire/xls/IOvalShape.py +154 -0
- spire/xls/IOvalShapes.py +50 -0
- spire/xls/IPageSetup.py +195 -0
- spire/xls/IPageSetupBase.py +642 -0
- spire/xls/IPictureShape.py +99 -0
- spire/xls/IPictures.py +250 -0
- spire/xls/IPivotCache.py +41 -0
- spire/xls/IPivotCaches.py +39 -0
- spire/xls/IPivotCalculatedFields.py +50 -0
- spire/xls/IPivotDataField.py +68 -0
- spire/xls/IPivotDataFields.py +50 -0
- spire/xls/IPivotField.py +291 -0
- spire/xls/IPivotFields.py +41 -0
- spire/xls/IPivotTable.py +393 -0
- spire/xls/IPivotTableOptions.py +428 -0
- spire/xls/IPivotTables.py +68 -0
- spire/xls/IPropertyData.py +70 -0
- spire/xls/IPrstGeomShape.py +71 -0
- spire/xls/IPrstGeomShapes.py +81 -0
- spire/xls/IRadioButton.py +105 -0
- spire/xls/IRadioButtons.py +71 -0
- spire/xls/IRectangleShape.py +60 -0
- spire/xls/IRectangleShapes.py +50 -0
- spire/xls/IReflectionEffect.py +138 -0
- spire/xls/IRichTextString.py +93 -0
- spire/xls/IScrollBarShape.py +140 -0
- spire/xls/IScrollBarShapes.py +50 -0
- spire/xls/IShadow.py +244 -0
- spire/xls/IShape.py +409 -0
- spire/xls/IShapeFill.py +522 -0
- spire/xls/IShapeLineFormat.py +331 -0
- spire/xls/IShapes.py +270 -0
- spire/xls/ISortColumn.py +96 -0
- spire/xls/ISortColumns.py +70 -0
- spire/xls/ISortedRule.py +112 -0
- spire/xls/ISparkline.py +68 -0
- spire/xls/ISparklineGroup.py +428 -0
- spire/xls/ISparklines.py +72 -0
- spire/xls/ISpinnerShape.py +102 -0
- spire/xls/ISpinnerShapes.py +50 -0
- spire/xls/IStyle.py +50 -0
- spire/xls/IStyles.py +69 -0
- spire/xls/ITabSheet.py +302 -0
- spire/xls/ITabSheets.py +57 -0
- spire/xls/ITextBox.py +116 -0
- spire/xls/ITextBoxLinkShape.py +40 -0
- spire/xls/ITextBoxShape.py +22 -0
- spire/xls/ITextBoxes.py +61 -0
- spire/xls/ITextFrame.py +120 -0
- spire/xls/IVPageBreak.py +22 -0
- spire/xls/IVPageBreaks.py +31 -0
- spire/xls/IWorkbook.py +1806 -0
- spire/xls/IWorksheet.py +2694 -0
- spire/xls/IWorksheetGroup.py +48 -0
- spire/xls/IWorksheets.py +159 -0
- spire/xls/IXLSRange.py +2479 -0
- spire/xls/IXLSRanges.py +35 -0
- spire/xls/IconSet.py +103 -0
- spire/xls/IconSetType.py +35 -0
- spire/xls/IgnoreErrorType.py +24 -0
- spire/xls/ImageFormatType.py +18 -0
- spire/xls/ImageLocationTypes.py +15 -0
- spire/xls/ImageType.py +17 -0
- spire/xls/ImportObjectOptions.py +89 -0
- spire/xls/InsertMoveOption.py +15 -0
- spire/xls/InsertOptionsType.py +16 -0
- spire/xls/InteriorArrayWrapper.py +126 -0
- spire/xls/LOGFONT.py +140 -0
- spire/xls/LabelShapeCollection.py +71 -0
- spire/xls/LegendPositionType.py +21 -0
- spire/xls/LegendSpacingType.py +18 -0
- spire/xls/LineCollection.py +85 -0
- spire/xls/LineShapeType.py +17 -0
- spire/xls/LineStyleType.py +29 -0
- spire/xls/ListBoxCollection.py +71 -0
- spire/xls/ListObjectCollection.py +45 -0
- spire/xls/MarkerDesigner.py +172 -0
- spire/xls/MeasureUnits.py +21 -0
- spire/xls/MsoPathInfo.py +38 -0
- spire/xls/MsoPathType.py +21 -0
- spire/xls/MultipleFilterCollection.py +166 -0
- spire/xls/NegativeBarFormat.py +82 -0
- spire/xls/OColor.py +165 -0
- spire/xls/OLEDBCommandType.py +19 -0
- spire/xls/OdsPageBackground.py +129 -0
- spire/xls/OdsPageBackgroundImagePositionType.py +22 -0
- spire/xls/OdsPageBackgroundImageType.py +16 -0
- spire/xls/OdsPageBackgroundType.py +16 -0
- spire/xls/OleLinkType.py +15 -0
- spire/xls/OleObjectType.py +51 -0
- spire/xls/OrderBy.py +19 -0
- spire/xls/OrderType.py +17 -0
- spire/xls/OvalShapeCollection.py +70 -0
- spire/xls/PageBreakExtentType.py +17 -0
- spire/xls/PageBreakType.py +18 -0
- spire/xls/PageColRow.py +48 -0
- spire/xls/PageOrientationType.py +17 -0
- spire/xls/PageSetup.py +14 -0
- spire/xls/PagesOrderType.py +17 -0
- spire/xls/PaperSizeEntry.py +30 -0
- spire/xls/PaperSizeType.py +135 -0
- spire/xls/PathFillMode.py +19 -0
- spire/xls/PdfConformanceLevel.py +20 -0
- spire/xls/PicStretch.py +104 -0
- spire/xls/PicTile.py +72 -0
- spire/xls/PicturesCollection.py +532 -0
- spire/xls/PivotAutoFomatTypes.py +35 -0
- spire/xls/PivotBuiltInStyles.py +97 -0
- spire/xls/PivotCache.py +12 -0
- spire/xls/PivotCachesCollection.py +12 -0
- spire/xls/PivotCalculatedFieldsCollection.py +38 -0
- spire/xls/PivotConditionalFormat.py +54 -0
- spire/xls/PivotConditionalFormatCollection.py +38 -0
- spire/xls/PivotDataField.py +118 -0
- spire/xls/PivotDataFields.py +104 -0
- spire/xls/PivotDataType.py +21 -0
- spire/xls/PivotField.py +12 -0
- spire/xls/PivotFieldFormatType.py +28 -0
- spire/xls/PivotFieldSortType.py +16 -0
- spire/xls/PivotGroupByTypes.py +23 -0
- spire/xls/PivotItem.py +161 -0
- spire/xls/PivotItemType.py +28 -0
- spire/xls/PivotLabelFilterType.py +27 -0
- spire/xls/PivotPageAreaFieldsOrderType.py +15 -0
- spire/xls/PivotReportFilter.py +92 -0
- spire/xls/PivotReportFilters.py +63 -0
- spire/xls/PivotStyle.py +79 -0
- spire/xls/PivotTable.py +12 -0
- spire/xls/PivotTableElement.py +38 -0
- spire/xls/PivotTableFields.py +85 -0
- spire/xls/PivotTableLayoutType.py +16 -0
- spire/xls/PivotTableStyle.py +63 -0
- spire/xls/PivotTablesCollection.py +12 -0
- spire/xls/PivotValueFilterType.py +21 -0
- spire/xls/PresetTextEffect.py +43 -0
- spire/xls/PrintCommentType.py +18 -0
- spire/xls/PrintErrorsType.py +19 -0
- spire/xls/PrintingPageType.py +16 -0
- spire/xls/PropertyType.py +31 -0
- spire/xls/PrstGeomShapeCollection.py +126 -0
- spire/xls/PrstGeomShapeType.py +201 -0
- spire/xls/QueryTableCollection.py +25 -0
- spire/xls/QueryTableXls.py +42 -0
- spire/xls/RTFCommentArray.py +112 -0
- spire/xls/RTFStringArray.py +112 -0
- spire/xls/RadioButtonCollection.py +137 -0
- spire/xls/RangeRichTextString.py +42 -0
- spire/xls/RangesCollection.py +537 -0
- spire/xls/ReadingOrderType.py +18 -0
- spire/xls/RectangleCollection.py +71 -0
- spire/xls/RectangleShapeType.py +22 -0
- spire/xls/RectangleStyleType.py +17 -0
- spire/xls/ReferRangeArea.py +88 -0
- spire/xls/RelationShip.py +15 -0
- spire/xls/RenameStrategy.py +16 -0
- spire/xls/ResizeBehaveType.py +18 -0
- spire/xls/RichText.py +49 -0
- spire/xls/RichTextObject.py +133 -0
- spire/xls/RichTextShape.py +168 -0
- spire/xls/RichTextString.py +126 -0
- spire/xls/RtfTags.py +30 -0
- spire/xls/RtfTextWriter.py +629 -0
- spire/xls/SaveShapeTypeOption.py +310 -0
- spire/xls/ScrollBarCollection.py +71 -0
- spire/xls/SelectionType.py +16 -0
- spire/xls/ShapeArrowLengthType.py +18 -0
- spire/xls/ShapeArrowStyleType.py +21 -0
- spire/xls/ShapeArrowWidthType.py +18 -0
- spire/xls/ShapeCollectionBase.py +87 -0
- spire/xls/ShapeDashLineStyleType.py +23 -0
- spire/xls/ShapeFillType.py +22 -0
- spire/xls/ShapeGeomPath.py +26 -0
- spire/xls/ShapeGlow.py +91 -0
- spire/xls/ShapeLayerChangeType.py +19 -0
- spire/xls/ShapeLineStyleType.py +20 -0
- spire/xls/ShapeReflection.py +131 -0
- spire/xls/ShapeSegmentPath.py +26 -0
- spire/xls/SheetProtectionType.py +33 -0
- spire/xls/SortColumn.py +120 -0
- spire/xls/SortColumns.py +185 -0
- spire/xls/SortComparsionType.py +19 -0
- spire/xls/SortOrientationType.py +17 -0
- spire/xls/SortedWayType.py +18 -0
- spire/xls/Sparkline.py +70 -0
- spire/xls/SparklineCollection.py +112 -0
- spire/xls/SparklineEmptyCells.py +16 -0
- spire/xls/SparklineGroup.py +523 -0
- spire/xls/SparklineGroupCollection.py +71 -0
- spire/xls/SparklineType.py +18 -0
- spire/xls/SpartlineVerticalAxisType.py +16 -0
- spire/xls/SpinnerShapeCollection.py +70 -0
- spire/xls/SplitType.py +19 -0
- spire/xls/StrikeThroughStyle.py +17 -0
- spire/xls/StringUtil.py +12 -0
- spire/xls/StyleArrayWrapper.py +621 -0
- spire/xls/StyleDefineType.py +15 -0
- spire/xls/StylesCollection.py +141 -0
- spire/xls/SubtotalTypes.py +26 -0
- spire/xls/TRangeValueType.py +19 -0
- spire/xls/TableBuiltInStyles.py +75 -0
- spire/xls/TextBoxCollection.py +70 -0
- spire/xls/TextBoxShapeBase.py +140 -0
- spire/xls/TextDirection.py +20 -0
- spire/xls/TextDirectionType.py +16 -0
- spire/xls/TextRotationType.py +19 -0
- spire/xls/TextSaveOptions.py +85 -0
- spire/xls/TextVerticalValue.py +19 -0
- spire/xls/ThemeColorType.py +27 -0
- spire/xls/TickLabelPositionType.py +19 -0
- spire/xls/TickMarkType.py +19 -0
- spire/xls/TimePeriodType.py +23 -0
- spire/xls/Top10Filter.py +75 -0
- spire/xls/TopBottom.py +44 -0
- spire/xls/TopBottomType.py +19 -0
- spire/xls/TopFormatType.py +18 -0
- spire/xls/TrendLineType.py +21 -0
- spire/xls/UnderlineStyle.py +32 -0
- spire/xls/UnknownVariableAction.py +18 -0
- spire/xls/UtilityMethods.py +55 -0
- spire/xls/VPageBreak.py +34 -0
- spire/xls/VPageBreaksCollection.py +96 -0
- spire/xls/Validation.py +33 -0
- spire/xls/ValidationComparisonOperator.py +23 -0
- spire/xls/VariableTypeAction.py +19 -0
- spire/xls/VerticalAlignType.py +20 -0
- spire/xls/ViewMode.py +18 -0
- spire/xls/WebQueryConnection.py +224 -0
- spire/xls/Workbook.py +3152 -0
- spire/xls/WorkbookObjectsCollection.py +25 -0
- spire/xls/Worksheet.py +1319 -0
- spire/xls/WorksheetChartsCollection.py +83 -0
- spire/xls/WorksheetConditionalFormats.py +12 -0
- spire/xls/WorksheetCopyType.py +31 -0
- spire/xls/WorksheetVisibility.py +18 -0
- spire/xls/WorksheetsCollection.py +341 -0
- spire/xls/WriteProtection.py +64 -0
- spire/xls/XLSXBorderJoinType.py +19 -0
- spire/xls/XLSXChartBevelType.py +26 -0
- spire/xls/XLSXChartLightingType.py +40 -0
- spire/xls/XLSXChartMaterialType.py +32 -0
- spire/xls/XLSXChartPrespectiveType.py +21 -0
- spire/xls/XLSXChartShadowInnerType.py +25 -0
- spire/xls/XLSXChartShadowOuterType.py +25 -0
- spire/xls/XLSXPivotItemType.py +28 -0
- spire/xls/XlsAddInFunction.py +78 -0
- spire/xls/XlsAddInFunctionsCollection.py +101 -0
- spire/xls/XlsArcShape.py +331 -0
- spire/xls/XlsAutoFiltersCollection.py +119 -0
- spire/xls/XlsBitmapShape.py +297 -0
- spire/xls/XlsBorder.py +172 -0
- spire/xls/XlsBorderArrayWrapper.py +116 -0
- spire/xls/XlsBordersCollection.py +101 -0
- spire/xls/XlsBuiltInDocumentProperties.py +639 -0
- spire/xls/XlsButtonShape.py +137 -0
- spire/xls/XlsChart.py +1510 -0
- spire/xls/XlsChartAxis.py +564 -0
- spire/xls/XlsChartBorder.py +165 -0
- spire/xls/XlsChartCategoryAxis.py +656 -0
- spire/xls/XlsChartDataLabelArea.py +387 -0
- spire/xls/XlsChartDataLabels.py +811 -0
- spire/xls/XlsChartDataPoint.py +108 -0
- spire/xls/XlsChartDataPointsCollection.py +120 -0
- spire/xls/XlsChartDataTable.py +393 -0
- spire/xls/XlsChartDropBar.py +301 -0
- spire/xls/XlsChartFill.py +571 -0
- spire/xls/XlsChartFormat.py +1069 -0
- spire/xls/XlsChartFormatCollection.py +162 -0
- spire/xls/XlsChartFrameFormat.py +614 -0
- spire/xls/XlsChartGridLine.py +171 -0
- spire/xls/XlsChartInterior.py +240 -0
- spire/xls/XlsChartLegend.py +355 -0
- spire/xls/XlsChartLegendArea.py +419 -0
- spire/xls/XlsChartLegendEntry.py +156 -0
- spire/xls/XlsChartPageSetup.py +56 -0
- spire/xls/XlsChartPlotArea.py +12 -0
- spire/xls/XlsChartSerie.py +589 -0
- spire/xls/XlsChartSerieDataFormat.py +1008 -0
- spire/xls/XlsChartSeries.py +111 -0
- spire/xls/XlsChartSeriesAxis.py +212 -0
- spire/xls/XlsChartShape.py +1142 -0
- spire/xls/XlsChartTitleArea.py +392 -0
- spire/xls/XlsChartValueAxis.py +317 -0
- spire/xls/XlsChartWallOrFloor.py +319 -0
- spire/xls/XlsChartsCollection.py +89 -0
- spire/xls/XlsCheckBoxShape.py +156 -0
- spire/xls/XlsComboBoxShape.py +128 -0
- spire/xls/XlsComment.py +234 -0
- spire/xls/XlsCommentsCollection.py +87 -0
- spire/xls/XlsConditionValue.py +111 -0
- spire/xls/XlsConditionalFormat.py +1119 -0
- spire/xls/XlsConditionalFormats.py +590 -0
- spire/xls/XlsDataValidationCollection.py +159 -0
- spire/xls/XlsDataValidationTable.py +105 -0
- spire/xls/XlsDocumentProperty.py +370 -0
- spire/xls/XlsEventArgs.py +93 -0
- spire/xls/XlsEventHandler.py +52 -0
- spire/xls/XlsFill.py +139 -0
- spire/xls/XlsFont.py +364 -0
- spire/xls/XlsFontStyle.py +12 -0
- spire/xls/XlsFontsCollection.py +51 -0
- spire/xls/XlsGradient.py +185 -0
- spire/xls/XlsGradientStop.py +85 -0
- spire/xls/XlsGroupBoxShape.py +88 -0
- spire/xls/XlsHPageBreak.py +105 -0
- spire/xls/XlsHPageBreaksCollection.py +85 -0
- spire/xls/XlsHeaderFooterShapeCollection.py +57 -0
- spire/xls/XlsHyperLink.py +229 -0
- spire/xls/XlsHyperLinksCollection.py +102 -0
- spire/xls/XlsLabelShape.py +73 -0
- spire/xls/XlsLineShape.py +367 -0
- spire/xls/XlsListBoxShape.py +124 -0
- spire/xls/XlsName.py +1871 -0
- spire/xls/XlsObject.py +36 -0
- spire/xls/XlsOvalShape.py +176 -0
- spire/xls/XlsPageSetup.py +220 -0
- spire/xls/XlsPageSetupBase.py +1354 -0
- spire/xls/XlsPicturesCollection.py +365 -0
- spire/xls/XlsPivotCache.py +401 -0
- spire/xls/XlsPivotCacheField.py +209 -0
- spire/xls/XlsPivotCachesCollection.py +124 -0
- spire/xls/XlsPivotField.py +885 -0
- spire/xls/XlsPivotTable.py +905 -0
- spire/xls/XlsPivotTablesCollection.py +131 -0
- spire/xls/XlsPrstGeomShape.py +97 -0
- spire/xls/XlsRadioButtonShape.py +188 -0
- spire/xls/XlsRange.py +3193 -0
- spire/xls/XlsRangesCollection.py +1566 -0
- spire/xls/XlsRectangleShape.py +174 -0
- spire/xls/XlsScrollBarShape.py +146 -0
- spire/xls/XlsShape.py +967 -0
- spire/xls/XlsShapeFill.py +627 -0
- spire/xls/XlsShapeLineFormat.py +341 -0
- spire/xls/XlsSpinnerShape.py +116 -0
- spire/xls/XlsStyle.py +106 -0
- spire/xls/XlsStylesCollection.py +73 -0
- spire/xls/XlsTextBoxShape.py +480 -0
- spire/xls/XlsVPageBreak.py +98 -0
- spire/xls/XlsVPageBreaksCollection.py +84 -0
- spire/xls/XlsValidation.py +520 -0
- spire/xls/XlsValidationWrapper.py +397 -0
- spire/xls/XlsWorkbook.py +1947 -0
- spire/xls/XlsWorkbookObjectsCollection.py +94 -0
- spire/xls/XlsWorksheet.py +4352 -0
- spire/xls/XlsWorksheetBase.py +1273 -0
- spire/xls/XlsWorksheetChartsCollection.py +25 -0
- spire/xls/XlsWorksheetConditionalFormats.py +215 -0
- spire/xls/XlsWorksheetsCollection.py +416 -0
- spire/xls/XmlOpenType.py +14 -0
- spire/xls/__init__.py +723 -0
- spire/xls/common/Boolean.py +192 -0
- spire/xls/common/Byte.py +256 -0
- spire/xls/common/Char.py +740 -0
- spire/xls/common/Color.py +2187 -0
- spire/xls/common/Common.py +150 -0
- spire/xls/common/CultureInfo.py +565 -0
- spire/xls/common/DateTime.py +1147 -0
- spire/xls/common/Double.py +438 -0
- spire/xls/common/EmfType.py +23 -0
- spire/xls/common/Encoding.py +928 -0
- spire/xls/common/FontStyle.py +25 -0
- spire/xls/common/GraphicsUnit.py +27 -0
- spire/xls/common/ICollection.py +70 -0
- spire/xls/common/IDictionary.py +122 -0
- spire/xls/common/IEnumerable.py +41 -0
- spire/xls/common/IEnumerator.py +60 -0
- spire/xls/common/IList.py +145 -0
- spire/xls/common/Int16.py +272 -0
- spire/xls/common/Int32.py +280 -0
- spire/xls/common/Int64.py +256 -0
- spire/xls/common/License.py +175 -0
- spire/xls/common/PixelFormat.py +43 -0
- spire/xls/common/Point.py +298 -0
- spire/xls/common/PointF.py +274 -0
- spire/xls/common/Rectangle.py +449 -0
- spire/xls/common/RectangleF.py +436 -0
- spire/xls/common/Regex.py +962 -0
- spire/xls/common/RegexOptions.py +29 -0
- spire/xls/common/Single.py +416 -0
- spire/xls/common/Size.py +271 -0
- spire/xls/common/SizeF.py +259 -0
- spire/xls/common/SpireObject.py +79 -0
- spire/xls/common/Stream.py +550 -0
- spire/xls/common/String.py +1878 -0
- spire/xls/common/TimeSpan.py +872 -0
- spire/xls/common/UInt16.py +272 -0
- spire/xls/common/UInt32.py +272 -0
- spire/xls/common/UInt64.py +272 -0
- spire/xls/common/__init__.py +316 -0
- spire/xls/lib/Spire.Xls.Base.dll +0 -0
- spire/xls/lib/__init__.py +0 -0
- spire/xls/lib/libSkiaSharp.dll +0 -0
- spire_xls-15.5.0.dist-info/METADATA +197 -0
- spire_xls-15.5.0.dist-info/RECORD +703 -0
- spire_xls-15.5.0.dist-info/WHEEL +5 -0
- spire_xls-15.5.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,1878 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
from plum import dispatch
|
|
3
|
+
from typing import TypeVar,Union,Generic,List,Tuple
|
|
4
|
+
if __package__ == "spire.pdf.common":
|
|
5
|
+
from spire.pdf.common import *
|
|
6
|
+
elif __package__ == "spire.xls.common":
|
|
7
|
+
from spire.xls.common import *
|
|
8
|
+
elif __package__ == "spire.doc.common":
|
|
9
|
+
from spire.doc.common import *
|
|
10
|
+
else :
|
|
11
|
+
from spire.presentation.common import *
|
|
12
|
+
#from spire.xls import *
|
|
13
|
+
from ctypes import *
|
|
14
|
+
import abc
|
|
15
|
+
|
|
16
|
+
class String ( SpireObject) :
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
"""
|
|
20
|
+
@dispatch
|
|
21
|
+
def __init__(self):
|
|
22
|
+
dlllib.String_Create.restype = c_void_p
|
|
23
|
+
intPtr = CallCFunction(dlllib.String_Create)
|
|
24
|
+
super(String, self).__init__(intPtr)
|
|
25
|
+
@dispatch
|
|
26
|
+
def __init__(self, value:str):
|
|
27
|
+
if __package__ == "spire.presentation.common":
|
|
28
|
+
valuePtr = StrToPtr(value)
|
|
29
|
+
dlllib.String_CreateV.argtypes=[ c_void_p]
|
|
30
|
+
dlllib.String_CreateV.restype = c_void_p
|
|
31
|
+
intPtr = CallCFunction(dlllib.String_CreateV,valuePtr)
|
|
32
|
+
super(String, self).__init__(intPtr)
|
|
33
|
+
else:
|
|
34
|
+
dlllib.String_CreateV.argtypes=[ c_wchar_p]
|
|
35
|
+
dlllib.String_CreateV.restype = c_void_p
|
|
36
|
+
intPtr = CallCFunction(dlllib.String_CreateV,value)
|
|
37
|
+
super(String, self).__init__(intPtr)
|
|
38
|
+
|
|
39
|
+
def __str__(self):
|
|
40
|
+
return self.Value
|
|
41
|
+
|
|
42
|
+
@property
|
|
43
|
+
def Value(self)->str:
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
"""
|
|
47
|
+
dlllib.String_Value.argtypes=[ c_void_p]
|
|
48
|
+
dlllib.String_Value.restype=c_void_p
|
|
49
|
+
ret = PtrToStr(CallCFunction(dlllib.String_Value, self.Ptr))
|
|
50
|
+
return ret
|
|
51
|
+
|
|
52
|
+
# @staticmethod
|
|
53
|
+
# @dispatch
|
|
54
|
+
|
|
55
|
+
# def Join(separator:str,value:List[str])->str:
|
|
56
|
+
# """
|
|
57
|
+
|
|
58
|
+
# """
|
|
59
|
+
# #arrayvalue:ArrayTypevalue = ""
|
|
60
|
+
# countvalue = len(value)
|
|
61
|
+
# ArrayTypevalue = c_wchar_p * countvalue
|
|
62
|
+
# arrayvalue = ArrayTypevalue()
|
|
63
|
+
# for i in range(0, countvalue):
|
|
64
|
+
# arrayvalue[i] = value[i]
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
# dlllib.String_Join.argtypes=[ c_void_p,ArrayTypevalue,c_int]
|
|
68
|
+
# dlllib.String_Join.restype=c_wchar_p
|
|
69
|
+
# ret = CallCFunction(dlllib.String_Join, separator,arrayvalue,countvalue)
|
|
70
|
+
# return ret
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
# @staticmethod
|
|
74
|
+
# @dispatch
|
|
75
|
+
|
|
76
|
+
# def Join(separator:str,values:List[SpireObject])->str:
|
|
77
|
+
# """
|
|
78
|
+
|
|
79
|
+
# """
|
|
80
|
+
# #arrayvalues:ArrayTypevalues = ""
|
|
81
|
+
# countvalues = len(values)
|
|
82
|
+
# ArrayTypevalues = c_void_p * countvalues
|
|
83
|
+
# arrayvalues = ArrayTypevalues()
|
|
84
|
+
# for i in range(0, countvalues):
|
|
85
|
+
# arrayvalues[i] = values[i].Ptr
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
# dlllib.String_JoinSV.argtypes=[ c_void_p,ArrayTypevalues,c_int]
|
|
89
|
+
# dlllib.String_JoinSV.restype=c_wchar_p
|
|
90
|
+
# ret = CallCFunction(dlllib.String_JoinSV, separator,arrayvalues,countvalue)
|
|
91
|
+
# return ret
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
## @staticmethod
|
|
95
|
+
## @dispatch
|
|
96
|
+
##
|
|
97
|
+
## def Join(separator:str,values:'IEnumerable1')->str:
|
|
98
|
+
## """
|
|
99
|
+
##
|
|
100
|
+
## """
|
|
101
|
+
## intPtrvalues:c_void_p = values.Ptr
|
|
102
|
+
##
|
|
103
|
+
## dlllib.String_JoinSV1.argtypes=[ c_void_p,c_void_p]
|
|
104
|
+
## dlllib.String_JoinSV1.restype=c_wchar_p
|
|
105
|
+
## ret = CallCFunction(dlllib.String_JoinSV1, separator,intPtrvalues)
|
|
106
|
+
## return ret
|
|
107
|
+
##
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
# @staticmethod
|
|
111
|
+
# @dispatch
|
|
112
|
+
|
|
113
|
+
# def Join(separator:str,value:List[str],startIndex:int,count:int)->str:
|
|
114
|
+
# """
|
|
115
|
+
|
|
116
|
+
# """
|
|
117
|
+
# #arrayvalue:ArrayTypevalue = ""
|
|
118
|
+
# countvalue = len(value)
|
|
119
|
+
# ArrayTypevalue = c_wchar_p * countvalue
|
|
120
|
+
# arrayvalue = ArrayTypevalue()
|
|
121
|
+
# for i in range(0, countvalue):
|
|
122
|
+
# arrayvalue[i] = value[i]
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
# dlllib.String_JoinSVSC.argtypes=[ c_void_p,ArrayTypevalue,c_int,c_int,c_int]
|
|
126
|
+
# dlllib.String_JoinSVSC.restype=c_wchar_p
|
|
127
|
+
# ret = CallCFunction(dlllib.String_JoinSVSC, separator,arrayvalue,startIndex,count,countvalue)
|
|
128
|
+
# return ret
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
# @dispatch
|
|
132
|
+
|
|
133
|
+
# def Equals(self ,obj:SpireObject)->bool:
|
|
134
|
+
# """
|
|
135
|
+
|
|
136
|
+
# """
|
|
137
|
+
# intPtrobj:c_void_p = obj.Ptr
|
|
138
|
+
|
|
139
|
+
# dlllib.String_Equals.argtypes=[c_void_p ,c_void_p]
|
|
140
|
+
# dlllib.String_Equals.restype=c_bool
|
|
141
|
+
# ret = CallCFunction(dlllib.String_Equals,self.Ptr, intPtrobj)
|
|
142
|
+
# return ret
|
|
143
|
+
|
|
144
|
+
# @dispatch
|
|
145
|
+
|
|
146
|
+
# def Equals(self ,value:str)->bool:
|
|
147
|
+
# """
|
|
148
|
+
|
|
149
|
+
# """
|
|
150
|
+
|
|
151
|
+
# dlllib.String_EqualsV.argtypes=[c_void_p ,c_void_p]
|
|
152
|
+
# dlllib.String_EqualsV.restype=c_bool
|
|
153
|
+
# ret = CallCFunction(dlllib.String_EqualsV,self.Ptr, value)
|
|
154
|
+
# return ret
|
|
155
|
+
|
|
156
|
+
## @dispatch
|
|
157
|
+
##
|
|
158
|
+
## def Equals(self ,value:str,comparisonType:'StringComparison')->bool:
|
|
159
|
+
## """
|
|
160
|
+
##
|
|
161
|
+
## """
|
|
162
|
+
## enumcomparisonType:c_int = comparisonType.value
|
|
163
|
+
##
|
|
164
|
+
## dlllib.String_EqualsVC.argtypes=[c_void_p ,c_void_p,c_int]
|
|
165
|
+
## dlllib.String_EqualsVC.restype=c_bool
|
|
166
|
+
## ret = CallCFunction(dlllib.String_EqualsVC,self.Ptr, value,enumcomparisonType)
|
|
167
|
+
## return ret
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
# @staticmethod
|
|
171
|
+
# @dispatch
|
|
172
|
+
|
|
173
|
+
# def Equals(a:str,b:str)->bool:
|
|
174
|
+
# """
|
|
175
|
+
|
|
176
|
+
# """
|
|
177
|
+
|
|
178
|
+
# dlllib.String_EqualsAB.argtypes=[ c_void_p,c_void_p]
|
|
179
|
+
# dlllib.String_EqualsAB.restype=c_bool
|
|
180
|
+
# ret = CallCFunction(dlllib.String_EqualsAB, a,b)
|
|
181
|
+
# return ret
|
|
182
|
+
|
|
183
|
+
## @staticmethod
|
|
184
|
+
## @dispatch
|
|
185
|
+
##
|
|
186
|
+
## def Equals(a:str,b:str,comparisonType:'StringComparison')->bool:
|
|
187
|
+
## """
|
|
188
|
+
##
|
|
189
|
+
## """
|
|
190
|
+
## enumcomparisonType:c_int = comparisonType.value
|
|
191
|
+
##
|
|
192
|
+
## dlllib.String_EqualsABC.argtypes=[ c_void_p,c_void_p,c_int]
|
|
193
|
+
## dlllib.String_EqualsABC.restype=c_bool
|
|
194
|
+
## ret = CallCFunction(dlllib.String_EqualsABC, a,b,enumcomparisonType)
|
|
195
|
+
## return ret
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
# @staticmethod
|
|
199
|
+
|
|
200
|
+
# def op_Equality(a:str,b:str)->bool:
|
|
201
|
+
# """
|
|
202
|
+
|
|
203
|
+
# """
|
|
204
|
+
|
|
205
|
+
# dlllib.String_op_Equality.argtypes=[ c_void_p,c_void_p]
|
|
206
|
+
# dlllib.String_op_Equality.restype=c_bool
|
|
207
|
+
# ret = CallCFunction(dlllib.String_op_Equality, a,b)
|
|
208
|
+
# return ret
|
|
209
|
+
|
|
210
|
+
# @staticmethod
|
|
211
|
+
|
|
212
|
+
# def op_Inequality(a:str,b:str)->bool:
|
|
213
|
+
# """
|
|
214
|
+
|
|
215
|
+
# """
|
|
216
|
+
|
|
217
|
+
# dlllib.String_op_Inequality.argtypes=[ c_void_p,c_void_p]
|
|
218
|
+
# dlllib.String_op_Inequality.restype=c_bool
|
|
219
|
+
# ret = CallCFunction(dlllib.String_op_Inequality, a,b)
|
|
220
|
+
# return ret
|
|
221
|
+
|
|
222
|
+
##
|
|
223
|
+
## def CopyTo(self ,sourceIndex:int,destination:'Char[]',destinationIndex:int,count:int):
|
|
224
|
+
## """
|
|
225
|
+
##
|
|
226
|
+
## """
|
|
227
|
+
## #arraydestination:ArrayTypedestination = ""
|
|
228
|
+
## countdestination = len(destination)
|
|
229
|
+
## ArrayTypedestination = c_void_p * countdestination
|
|
230
|
+
## arraydestination = ArrayTypedestination()
|
|
231
|
+
## for i in range(0, countdestination):
|
|
232
|
+
## arraydestination[i] = destination[i].Ptr
|
|
233
|
+
##
|
|
234
|
+
##
|
|
235
|
+
## dlllib.String_CopyTo.argtypes=[c_void_p ,c_int,ArrayTypedestination,c_int,c_int]
|
|
236
|
+
## CallCFunction(dlllib.String_CopyTo,self.Ptr, sourceIndex,arraydestination,destinationIndex,count)
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
## @dispatch
|
|
240
|
+
##
|
|
241
|
+
## def ToCharArray(self)->List[Char]:
|
|
242
|
+
## """
|
|
243
|
+
##
|
|
244
|
+
## """
|
|
245
|
+
## dlllib.String_ToCharArray.argtypes=[c_void_p]
|
|
246
|
+
## dlllib.String_ToCharArray.restype=IntPtrArray
|
|
247
|
+
## intPtrArray = CallCFunction(dlllib.String_ToCharArray,self.Ptr)
|
|
248
|
+
## ret = GetVectorFromArray(intPtrArray, Char)
|
|
249
|
+
## return ret
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
## @dispatch
|
|
253
|
+
##
|
|
254
|
+
## def ToCharArray(self ,startIndex:int,length:int)->List[Char]:
|
|
255
|
+
## """
|
|
256
|
+
##
|
|
257
|
+
## """
|
|
258
|
+
##
|
|
259
|
+
## dlllib.String_ToCharArraySL.argtypes=[c_void_p ,c_int,c_int]
|
|
260
|
+
## dlllib.String_ToCharArraySL.restype=IntPtrArray
|
|
261
|
+
## intPtrArray = CallCFunction(dlllib.String_ToCharArraySL,self.Ptr, startIndex,length)
|
|
262
|
+
## ret = GetObjVectorFromArray(intPtrArray, Char)
|
|
263
|
+
## return ret
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
# @staticmethod
|
|
267
|
+
|
|
268
|
+
# def IsNullOrEmpty(value:str)->bool:
|
|
269
|
+
# """
|
|
270
|
+
|
|
271
|
+
# """
|
|
272
|
+
|
|
273
|
+
# dlllib.String_IsNullOrEmpty.argtypes=[ c_void_p]
|
|
274
|
+
# dlllib.String_IsNullOrEmpty.restype=c_bool
|
|
275
|
+
# ret = CallCFunction(dlllib.String_IsNullOrEmpty, value)
|
|
276
|
+
# return ret
|
|
277
|
+
|
|
278
|
+
# @staticmethod
|
|
279
|
+
|
|
280
|
+
# def IsNullOrWhiteSpace(value:str)->bool:
|
|
281
|
+
# """
|
|
282
|
+
|
|
283
|
+
# """
|
|
284
|
+
|
|
285
|
+
# dlllib.String_IsNullOrWhiteSpace.argtypes=[ c_void_p]
|
|
286
|
+
# dlllib.String_IsNullOrWhiteSpace.restype=c_bool
|
|
287
|
+
# ret = CallCFunction(dlllib.String_IsNullOrWhiteSpace, value)
|
|
288
|
+
# return ret
|
|
289
|
+
|
|
290
|
+
# def GetHashCode(self)->int:
|
|
291
|
+
# """
|
|
292
|
+
|
|
293
|
+
# """
|
|
294
|
+
# dlllib.String_GetHashCode.argtypes=[c_void_p]
|
|
295
|
+
# dlllib.String_GetHashCode.restype=c_int
|
|
296
|
+
# ret = CallCFunction(dlllib.String_GetHashCode,self.Ptr)
|
|
297
|
+
# return ret
|
|
298
|
+
|
|
299
|
+
## @dispatch
|
|
300
|
+
##
|
|
301
|
+
## def Split(self ,separator:'Char[]')->List[str]:
|
|
302
|
+
## """
|
|
303
|
+
##
|
|
304
|
+
## """
|
|
305
|
+
## #arrayseparator:ArrayTypeseparator = ""
|
|
306
|
+
## countseparator = len(separator)
|
|
307
|
+
## ArrayTypeseparator = c_void_p * countseparator
|
|
308
|
+
## arrayseparator = ArrayTypeseparator()
|
|
309
|
+
## for i in range(0, countseparator):
|
|
310
|
+
## arrayseparator[i] = separator[i].Ptr
|
|
311
|
+
##
|
|
312
|
+
##
|
|
313
|
+
## dlllib.String_Split.argtypes=[c_void_p ,ArrayTypeseparator]
|
|
314
|
+
## dlllib.String_Split.restype=IntPtrArray
|
|
315
|
+
## intPtrArray = CallCFunction(dlllib.String_Split,self.Ptr, arrayseparator)
|
|
316
|
+
## ret = GetVectorFromArray(intPtrArray, c_wchar_p)
|
|
317
|
+
## return ret
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
## @dispatch
|
|
321
|
+
##
|
|
322
|
+
## def Split(self ,separator:'Char[]',count:int)->List[str]:
|
|
323
|
+
## """
|
|
324
|
+
##
|
|
325
|
+
## """
|
|
326
|
+
## #arrayseparator:ArrayTypeseparator = ""
|
|
327
|
+
## countseparator = len(separator)
|
|
328
|
+
## ArrayTypeseparator = c_void_p * countseparator
|
|
329
|
+
## arrayseparator = ArrayTypeseparator()
|
|
330
|
+
## for i in range(0, countseparator):
|
|
331
|
+
## arrayseparator[i] = separator[i].Ptr
|
|
332
|
+
##
|
|
333
|
+
##
|
|
334
|
+
## dlllib.String_SplitSC.argtypes=[c_void_p ,ArrayTypeseparator,c_int]
|
|
335
|
+
## dlllib.String_SplitSC.restype=IntPtrArray
|
|
336
|
+
## intPtrArray = CallCFunction(dlllib.String_SplitSC,self.Ptr, arrayseparator,count)
|
|
337
|
+
## ret = GetVectorFromArray(intPtrArray, c_wchar_p)
|
|
338
|
+
## return ret
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
## @dispatch
|
|
342
|
+
##
|
|
343
|
+
## def Split(self ,separator:'Char[]',options:'StringSplitOptions')->List[str]:
|
|
344
|
+
## """
|
|
345
|
+
##
|
|
346
|
+
## """
|
|
347
|
+
## #arrayseparator:ArrayTypeseparator = ""
|
|
348
|
+
## countseparator = len(separator)
|
|
349
|
+
## ArrayTypeseparator = c_void_p * countseparator
|
|
350
|
+
## arrayseparator = ArrayTypeseparator()
|
|
351
|
+
## for i in range(0, countseparator):
|
|
352
|
+
## arrayseparator[i] = separator[i].Ptr
|
|
353
|
+
##
|
|
354
|
+
## enumoptions:c_int = options.value
|
|
355
|
+
##
|
|
356
|
+
## dlllib.String_SplitSO.argtypes=[c_void_p ,ArrayTypeseparator,c_int]
|
|
357
|
+
## dlllib.String_SplitSO.restype=IntPtrArray
|
|
358
|
+
## intPtrArray = CallCFunction(dlllib.String_SplitSO,self.Ptr, arrayseparator,enumoptions)
|
|
359
|
+
## ret = GetVectorFromArray(intPtrArray, c_wchar_p)
|
|
360
|
+
## return ret
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
## @dispatch
|
|
364
|
+
##
|
|
365
|
+
## def Split(self ,separator:'Char[]',count:int,options:'StringSplitOptions')->List[str]:
|
|
366
|
+
## """
|
|
367
|
+
##
|
|
368
|
+
## """
|
|
369
|
+
## #arrayseparator:ArrayTypeseparator = ""
|
|
370
|
+
## countseparator = len(separator)
|
|
371
|
+
## ArrayTypeseparator = c_void_p * countseparator
|
|
372
|
+
## arrayseparator = ArrayTypeseparator()
|
|
373
|
+
## for i in range(0, countseparator):
|
|
374
|
+
## arrayseparator[i] = separator[i].Ptr
|
|
375
|
+
##
|
|
376
|
+
## enumoptions:c_int = options.value
|
|
377
|
+
##
|
|
378
|
+
## dlllib.String_SplitSCO.argtypes=[c_void_p ,ArrayTypeseparator,c_int,c_int]
|
|
379
|
+
## dlllib.String_SplitSCO.restype=IntPtrArray
|
|
380
|
+
## intPtrArray = CallCFunction(dlllib.String_SplitSCO,self.Ptr, arrayseparator,count,enumoptions)
|
|
381
|
+
## ret = GetVectorFromArray(intPtrArray, c_wchar_p)
|
|
382
|
+
## return ret
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
## @dispatch
|
|
386
|
+
##
|
|
387
|
+
## def Split(self ,separator:List[str],options:'StringSplitOptions')->List[str]:
|
|
388
|
+
## """
|
|
389
|
+
##
|
|
390
|
+
## """
|
|
391
|
+
## #arrayseparator:ArrayTypeseparator = ""
|
|
392
|
+
## countseparator = len(separator)
|
|
393
|
+
## ArrayTypeseparator = c_wchar_p * countseparator
|
|
394
|
+
## arrayseparator = ArrayTypeseparator()
|
|
395
|
+
## for i in range(0, countseparator):
|
|
396
|
+
## arrayseparator[i] = separator[i]
|
|
397
|
+
##
|
|
398
|
+
## enumoptions:c_int = options.value
|
|
399
|
+
##
|
|
400
|
+
## dlllib.String_SplitSO1.argtypes=[c_void_p ,ArrayTypeseparator,c_int]
|
|
401
|
+
## dlllib.String_SplitSO1.restype=IntPtrArray
|
|
402
|
+
## intPtrArray = CallCFunction(dlllib.String_SplitSO1,self.Ptr, arrayseparator,enumoptions)
|
|
403
|
+
## ret = GetVectorFromArray(intPtrArray, c_wchar_p)
|
|
404
|
+
## return ret
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
## @dispatch
|
|
408
|
+
##
|
|
409
|
+
## def Split(self ,separator:List[str],count:int,options:'StringSplitOptions')->List[str]:
|
|
410
|
+
## """
|
|
411
|
+
##
|
|
412
|
+
## """
|
|
413
|
+
## #arrayseparator:ArrayTypeseparator = ""
|
|
414
|
+
## countseparator = len(separator)
|
|
415
|
+
## ArrayTypeseparator = c_wchar_p * countseparator
|
|
416
|
+
## arrayseparator = ArrayTypeseparator()
|
|
417
|
+
## for i in range(0, countseparator):
|
|
418
|
+
## arrayseparator[i] = separator[i]
|
|
419
|
+
##
|
|
420
|
+
## enumoptions:c_int = options.value
|
|
421
|
+
##
|
|
422
|
+
## dlllib.String_SplitSCO1.argtypes=[c_void_p ,ArrayTypeseparator,c_int,c_int]
|
|
423
|
+
## dlllib.String_SplitSCO1.restype=IntPtrArray
|
|
424
|
+
## intPtrArray = CallCFunction(dlllib.String_SplitSCO1,self.Ptr, arrayseparator,count,enumoptions)
|
|
425
|
+
## ret = GetVectorFromArray(intPtrArray, c_wchar_p)
|
|
426
|
+
## return ret
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
# @dispatch
|
|
430
|
+
|
|
431
|
+
# def Substring(self ,startIndex:int)->str:
|
|
432
|
+
# """
|
|
433
|
+
|
|
434
|
+
# """
|
|
435
|
+
|
|
436
|
+
# dlllib.String_Substring.argtypes=[c_void_p ,c_int]
|
|
437
|
+
# dlllib.String_Substring.restype=c_wchar_p
|
|
438
|
+
# ret = CallCFunction(dlllib.String_Substring,self.Ptr, startIndex)
|
|
439
|
+
# return ret
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
# @dispatch
|
|
443
|
+
|
|
444
|
+
# def Substring(self ,startIndex:int,length:int)->str:
|
|
445
|
+
# """
|
|
446
|
+
|
|
447
|
+
# """
|
|
448
|
+
|
|
449
|
+
# dlllib.String_SubstringSL.argtypes=[c_void_p ,c_int,c_int]
|
|
450
|
+
# dlllib.String_SubstringSL.restype=c_wchar_p
|
|
451
|
+
# ret = CallCFunction(dlllib.String_SubstringSL,self.Ptr, startIndex,length)
|
|
452
|
+
# return ret
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
## @dispatch
|
|
456
|
+
##
|
|
457
|
+
## def Trim(self ,trimChars:'Char[]')->str:
|
|
458
|
+
## """
|
|
459
|
+
##
|
|
460
|
+
## """
|
|
461
|
+
## #arraytrimChars:ArrayTypetrimChars = ""
|
|
462
|
+
## counttrimChars = len(trimChars)
|
|
463
|
+
## ArrayTypetrimChars = c_void_p * counttrimChars
|
|
464
|
+
## arraytrimChars = ArrayTypetrimChars()
|
|
465
|
+
## for i in range(0, counttrimChars):
|
|
466
|
+
## arraytrimChars[i] = trimChars[i].Ptr
|
|
467
|
+
##
|
|
468
|
+
##
|
|
469
|
+
## dlllib.String_Trim.argtypes=[c_void_p ,ArrayTypetrimChars]
|
|
470
|
+
## dlllib.String_Trim.restype=c_wchar_p
|
|
471
|
+
## ret = CallCFunction(dlllib.String_Trim,self.Ptr, arraytrimChars)
|
|
472
|
+
## return ret
|
|
473
|
+
##
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
##
|
|
477
|
+
## def TrimStart(self ,trimChars:'Char[]')->str:
|
|
478
|
+
## """
|
|
479
|
+
##
|
|
480
|
+
## """
|
|
481
|
+
## #arraytrimChars:ArrayTypetrimChars = ""
|
|
482
|
+
## counttrimChars = len(trimChars)
|
|
483
|
+
## ArrayTypetrimChars = c_void_p * counttrimChars
|
|
484
|
+
## arraytrimChars = ArrayTypetrimChars()
|
|
485
|
+
## for i in range(0, counttrimChars):
|
|
486
|
+
## arraytrimChars[i] = trimChars[i].Ptr
|
|
487
|
+
##
|
|
488
|
+
##
|
|
489
|
+
## dlllib.String_TrimStart.argtypes=[c_void_p ,ArrayTypetrimChars]
|
|
490
|
+
## dlllib.String_TrimStart.restype=c_wchar_p
|
|
491
|
+
## ret = CallCFunction(dlllib.String_TrimStart,self.Ptr, arraytrimChars)
|
|
492
|
+
## return ret
|
|
493
|
+
##
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
##
|
|
497
|
+
## def TrimEnd(self ,trimChars:'Char[]')->str:
|
|
498
|
+
## """
|
|
499
|
+
##
|
|
500
|
+
## """
|
|
501
|
+
## #arraytrimChars:ArrayTypetrimChars = ""
|
|
502
|
+
## counttrimChars = len(trimChars)
|
|
503
|
+
## ArrayTypetrimChars = c_void_p * counttrimChars
|
|
504
|
+
## arraytrimChars = ArrayTypetrimChars()
|
|
505
|
+
## for i in range(0, counttrimChars):
|
|
506
|
+
## arraytrimChars[i] = trimChars[i].Ptr
|
|
507
|
+
##
|
|
508
|
+
##
|
|
509
|
+
## dlllib.String_TrimEnd.argtypes=[c_void_p ,ArrayTypetrimChars]
|
|
510
|
+
## dlllib.String_TrimEnd.restype=c_wchar_p
|
|
511
|
+
## ret = CallCFunction(dlllib.String_TrimEnd,self.Ptr, arraytrimChars)
|
|
512
|
+
## return ret
|
|
513
|
+
##
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
# @dispatch
|
|
517
|
+
# def IsNormalized(self)->bool:
|
|
518
|
+
# """
|
|
519
|
+
|
|
520
|
+
# """
|
|
521
|
+
# dlllib.String_IsNormalized.argtypes=[c_void_p]
|
|
522
|
+
# dlllib.String_IsNormalized.restype=c_bool
|
|
523
|
+
# ret = CallCFunction(dlllib.String_IsNormalized,self.Ptr)
|
|
524
|
+
# return ret
|
|
525
|
+
|
|
526
|
+
## @dispatch
|
|
527
|
+
##
|
|
528
|
+
## def IsNormalized(self ,normalizationForm:'NormalizationForm')->bool:
|
|
529
|
+
## """
|
|
530
|
+
##
|
|
531
|
+
## """
|
|
532
|
+
## enumnormalizationForm:c_int = normalizationForm.value
|
|
533
|
+
##
|
|
534
|
+
## dlllib.String_IsNormalizedN.argtypes=[c_void_p ,c_int]
|
|
535
|
+
## dlllib.String_IsNormalizedN.restype=c_bool
|
|
536
|
+
## ret = CallCFunction(dlllib.String_IsNormalizedN,self.Ptr, enumnormalizationForm)
|
|
537
|
+
## return ret
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
# @dispatch
|
|
541
|
+
|
|
542
|
+
# def Normalize(self)->str:
|
|
543
|
+
# """
|
|
544
|
+
|
|
545
|
+
# """
|
|
546
|
+
# dlllib.String_Normalize.argtypes=[c_void_p]
|
|
547
|
+
# dlllib.String_Normalize.restype=c_wchar_p
|
|
548
|
+
# ret = CallCFunction(dlllib.String_Normalize,self.Ptr)
|
|
549
|
+
# return ret
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
## @dispatch
|
|
553
|
+
##
|
|
554
|
+
## def Normalize(self ,normalizationForm:'NormalizationForm')->str:
|
|
555
|
+
## """
|
|
556
|
+
##
|
|
557
|
+
## """
|
|
558
|
+
## enumnormalizationForm:c_int = normalizationForm.value
|
|
559
|
+
##
|
|
560
|
+
## dlllib.String_NormalizeN.argtypes=[c_void_p ,c_int]
|
|
561
|
+
## dlllib.String_NormalizeN.restype=c_wchar_p
|
|
562
|
+
## ret = CallCFunction(dlllib.String_NormalizeN,self.Ptr, enumnormalizationForm)
|
|
563
|
+
## return ret
|
|
564
|
+
##
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
# @staticmethod
|
|
568
|
+
# @dispatch
|
|
569
|
+
|
|
570
|
+
# def Compare(strA:str,strB:str)->int:
|
|
571
|
+
# """
|
|
572
|
+
|
|
573
|
+
# """
|
|
574
|
+
|
|
575
|
+
# dlllib.String_Compare.argtypes=[ c_void_p,c_void_p]
|
|
576
|
+
# dlllib.String_Compare.restype=c_int
|
|
577
|
+
# ret = CallCFunction(dlllib.String_Compare, strA,strB)
|
|
578
|
+
# return ret
|
|
579
|
+
|
|
580
|
+
# @staticmethod
|
|
581
|
+
# @dispatch
|
|
582
|
+
|
|
583
|
+
# def Compare(strA:str,strB:str,ignoreCase:bool)->int:
|
|
584
|
+
# """
|
|
585
|
+
|
|
586
|
+
# """
|
|
587
|
+
|
|
588
|
+
# dlllib.String_CompareSSI.argtypes=[ c_void_p,c_void_p,c_bool]
|
|
589
|
+
# dlllib.String_CompareSSI.restype=c_int
|
|
590
|
+
# ret = CallCFunction(dlllib.String_CompareSSI, strA,strB,ignoreCase)
|
|
591
|
+
# return ret
|
|
592
|
+
|
|
593
|
+
## @staticmethod
|
|
594
|
+
## @dispatch
|
|
595
|
+
##
|
|
596
|
+
## def Compare(strA:str,strB:str,comparisonType:'StringComparison')->int:
|
|
597
|
+
## """
|
|
598
|
+
##
|
|
599
|
+
## """
|
|
600
|
+
## enumcomparisonType:c_int = comparisonType.value
|
|
601
|
+
##
|
|
602
|
+
## dlllib.String_CompareSSC.argtypes=[ c_void_p,c_void_p,c_int]
|
|
603
|
+
## dlllib.String_CompareSSC.restype=c_int
|
|
604
|
+
## ret = CallCFunction(dlllib.String_CompareSSC, strA,strB,enumcomparisonType)
|
|
605
|
+
## return ret
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
## @staticmethod
|
|
609
|
+
## @dispatch
|
|
610
|
+
##
|
|
611
|
+
## def Compare(strA:str,strB:str,culture:CultureInfo,options:'CompareOptions')->int:
|
|
612
|
+
## """
|
|
613
|
+
##
|
|
614
|
+
## """
|
|
615
|
+
## intPtrculture:c_void_p = culture.Ptr
|
|
616
|
+
## enumoptions:c_int = options.value
|
|
617
|
+
##
|
|
618
|
+
## dlllib.String_CompareSSCO.argtypes=[ c_void_p,c_void_p,c_void_p,c_int]
|
|
619
|
+
## dlllib.String_CompareSSCO.restype=c_int
|
|
620
|
+
## ret = CallCFunction(dlllib.String_CompareSSCO, strA,strB,intPtrculture,enumoptions)
|
|
621
|
+
## return ret
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
# @staticmethod
|
|
625
|
+
# @dispatch
|
|
626
|
+
|
|
627
|
+
# def Compare(strA:str,strB:str,ignoreCase:bool,culture:CultureInfo)->int:
|
|
628
|
+
# """
|
|
629
|
+
|
|
630
|
+
# """
|
|
631
|
+
# intPtrculture:c_void_p = culture.Ptr
|
|
632
|
+
|
|
633
|
+
# dlllib.String_CompareSSIC.argtypes=[ c_void_p,c_void_p,c_bool,c_void_p]
|
|
634
|
+
# dlllib.String_CompareSSIC.restype=c_int
|
|
635
|
+
# ret = CallCFunction(dlllib.String_CompareSSIC, strA,strB,ignoreCase,intPtrculture)
|
|
636
|
+
# return ret
|
|
637
|
+
|
|
638
|
+
# @staticmethod
|
|
639
|
+
# @dispatch
|
|
640
|
+
|
|
641
|
+
# def Compare(strA:str,indexA:int,strB:str,indexB:int,length:int)->int:
|
|
642
|
+
# """
|
|
643
|
+
|
|
644
|
+
# """
|
|
645
|
+
|
|
646
|
+
# dlllib.String_CompareSISIL.argtypes=[ c_void_p,c_int,c_void_p,c_int,c_int]
|
|
647
|
+
# dlllib.String_CompareSISIL.restype=c_int
|
|
648
|
+
# ret = CallCFunction(dlllib.String_CompareSISIL, strA,indexA,strB,indexB,length)
|
|
649
|
+
# return ret
|
|
650
|
+
|
|
651
|
+
# @staticmethod
|
|
652
|
+
# @dispatch
|
|
653
|
+
|
|
654
|
+
# def Compare(strA:str,indexA:int,strB:str,indexB:int,length:int,ignoreCase:bool)->int:
|
|
655
|
+
# """
|
|
656
|
+
|
|
657
|
+
# """
|
|
658
|
+
|
|
659
|
+
# dlllib.String_CompareSISILI.argtypes=[ c_void_p,c_int,c_void_p,c_int,c_int,c_bool]
|
|
660
|
+
# dlllib.String_CompareSISILI.restype=c_int
|
|
661
|
+
# ret = CallCFunction(dlllib.String_CompareSISILI, strA,indexA,strB,indexB,length,ignoreCase)
|
|
662
|
+
# return ret
|
|
663
|
+
|
|
664
|
+
# @staticmethod
|
|
665
|
+
# @dispatch
|
|
666
|
+
|
|
667
|
+
# def Compare(strA:str,indexA:int,strB:str,indexB:int,length:int,ignoreCase:bool,culture:CultureInfo)->int:
|
|
668
|
+
# """
|
|
669
|
+
|
|
670
|
+
# """
|
|
671
|
+
# intPtrculture:c_void_p = culture.Ptr
|
|
672
|
+
|
|
673
|
+
# dlllib.String_CompareSISILIC.argtypes=[ c_void_p,c_int,c_void_p,c_int,c_int,c_bool,c_void_p]
|
|
674
|
+
# dlllib.String_CompareSISILIC.restype=c_int
|
|
675
|
+
# ret = CallCFunction(dlllib.String_CompareSISILIC, strA,indexA,strB,indexB,length,ignoreCase,intPtrculture)
|
|
676
|
+
# return ret
|
|
677
|
+
|
|
678
|
+
## @staticmethod
|
|
679
|
+
## @dispatch
|
|
680
|
+
##
|
|
681
|
+
## def Compare(strA:str,indexA:int,strB:str,indexB:int,length:int,culture:CultureInfo,options:'CompareOptions')->int:
|
|
682
|
+
## """
|
|
683
|
+
##
|
|
684
|
+
## """
|
|
685
|
+
## intPtrculture:c_void_p = culture.Ptr
|
|
686
|
+
## enumoptions:c_int = options.value
|
|
687
|
+
##
|
|
688
|
+
## dlllib.String_CompareSISILCO.argtypes=[ c_void_p,c_int,c_void_p,c_int,c_int,c_void_p,c_int]
|
|
689
|
+
## dlllib.String_CompareSISILCO.restype=c_int
|
|
690
|
+
## ret = CallCFunction(dlllib.String_CompareSISILCO, strA,indexA,strB,indexB,length,intPtrculture,enumoptions)
|
|
691
|
+
## return ret
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
## @staticmethod
|
|
695
|
+
## @dispatch
|
|
696
|
+
##
|
|
697
|
+
## def Compare(strA:str,indexA:int,strB:str,indexB:int,length:int,comparisonType:'StringComparison')->int:
|
|
698
|
+
## """
|
|
699
|
+
##
|
|
700
|
+
## """
|
|
701
|
+
## enumcomparisonType:c_int = comparisonType.value
|
|
702
|
+
##
|
|
703
|
+
## dlllib.String_CompareSISILC.argtypes=[ c_void_p,c_int,c_void_p,c_int,c_int,c_int]
|
|
704
|
+
## dlllib.String_CompareSISILC.restype=c_int
|
|
705
|
+
## ret = CallCFunction(dlllib.String_CompareSISILC, strA,indexA,strB,indexB,length,enumcomparisonType)
|
|
706
|
+
## return ret
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
# @dispatch
|
|
710
|
+
|
|
711
|
+
# def CompareTo(self ,value:SpireObject)->int:
|
|
712
|
+
# """
|
|
713
|
+
|
|
714
|
+
# """
|
|
715
|
+
# intPtrvalue:c_void_p = value.Ptr
|
|
716
|
+
|
|
717
|
+
# dlllib.String_CompareTo.argtypes=[c_void_p ,c_void_p]
|
|
718
|
+
# dlllib.String_CompareTo.restype=c_int
|
|
719
|
+
# ret = CallCFunction(dlllib.String_CompareTo,self.Ptr, intPtrvalue)
|
|
720
|
+
# return ret
|
|
721
|
+
|
|
722
|
+
# @dispatch
|
|
723
|
+
|
|
724
|
+
# def CompareTo(self ,strB:str)->int:
|
|
725
|
+
# """
|
|
726
|
+
|
|
727
|
+
# """
|
|
728
|
+
|
|
729
|
+
# dlllib.String_CompareToS.argtypes=[c_void_p ,c_void_p]
|
|
730
|
+
# dlllib.String_CompareToS.restype=c_int
|
|
731
|
+
# ret = CallCFunction(dlllib.String_CompareToS,self.Ptr, strB)
|
|
732
|
+
# return ret
|
|
733
|
+
|
|
734
|
+
# @staticmethod
|
|
735
|
+
# @dispatch
|
|
736
|
+
|
|
737
|
+
# def CompareOrdinal(strA:str,strB:str)->int:
|
|
738
|
+
# """
|
|
739
|
+
|
|
740
|
+
# """
|
|
741
|
+
|
|
742
|
+
# dlllib.String_CompareOrdinal.argtypes=[ c_void_p,c_void_p]
|
|
743
|
+
# dlllib.String_CompareOrdinal.restype=c_int
|
|
744
|
+
# ret = CallCFunction(dlllib.String_CompareOrdinal, strA,strB)
|
|
745
|
+
# return ret
|
|
746
|
+
|
|
747
|
+
# @staticmethod
|
|
748
|
+
# @dispatch
|
|
749
|
+
|
|
750
|
+
# def CompareOrdinal(strA:str,indexA:int,strB:str,indexB:int,length:int)->int:
|
|
751
|
+
# """
|
|
752
|
+
|
|
753
|
+
# """
|
|
754
|
+
|
|
755
|
+
# dlllib.String_CompareOrdinalSISIL.argtypes=[ c_void_p,c_int,c_void_p,c_int,c_int]
|
|
756
|
+
# dlllib.String_CompareOrdinalSISIL.restype=c_int
|
|
757
|
+
# ret = CallCFunction(dlllib.String_CompareOrdinalSISIL, strA,indexA,strB,indexB,length)
|
|
758
|
+
# return ret
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
# def Contains(self ,value:str)->bool:
|
|
762
|
+
# """
|
|
763
|
+
|
|
764
|
+
# """
|
|
765
|
+
|
|
766
|
+
# dlllib.String_Contains.argtypes=[c_void_p ,c_void_p]
|
|
767
|
+
# dlllib.String_Contains.restype=c_bool
|
|
768
|
+
# ret = CallCFunction(dlllib.String_Contains,self.Ptr, value)
|
|
769
|
+
# return ret
|
|
770
|
+
|
|
771
|
+
# @dispatch
|
|
772
|
+
|
|
773
|
+
# def EndsWith(self ,value:str)->bool:
|
|
774
|
+
# """
|
|
775
|
+
|
|
776
|
+
# """
|
|
777
|
+
|
|
778
|
+
# dlllib.String_EndsWith.argtypes=[c_void_p ,c_void_p]
|
|
779
|
+
# dlllib.String_EndsWith.restype=c_bool
|
|
780
|
+
# ret = CallCFunction(dlllib.String_EndsWith,self.Ptr, value)
|
|
781
|
+
# return ret
|
|
782
|
+
|
|
783
|
+
## @dispatch
|
|
784
|
+
##
|
|
785
|
+
## def EndsWith(self ,value:str,comparisonType:'StringComparison')->bool:
|
|
786
|
+
## """
|
|
787
|
+
##
|
|
788
|
+
## """
|
|
789
|
+
## enumcomparisonType:c_int = comparisonType.value
|
|
790
|
+
##
|
|
791
|
+
## dlllib.String_EndsWithVC.argtypes=[c_void_p ,c_void_p,c_int]
|
|
792
|
+
## dlllib.String_EndsWithVC.restype=c_bool
|
|
793
|
+
## ret = CallCFunction(dlllib.String_EndsWithVC,self.Ptr, value,enumcomparisonType)
|
|
794
|
+
## return ret
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
# @dispatch
|
|
798
|
+
|
|
799
|
+
# def EndsWith(self ,value:str,ignoreCase:bool,culture:CultureInfo)->bool:
|
|
800
|
+
# """
|
|
801
|
+
|
|
802
|
+
# """
|
|
803
|
+
# intPtrculture:c_void_p = culture.Ptr
|
|
804
|
+
|
|
805
|
+
# dlllib.String_EndsWithVIC.argtypes=[c_void_p ,c_void_p,c_bool,c_void_p]
|
|
806
|
+
# dlllib.String_EndsWithVIC.restype=c_bool
|
|
807
|
+
# ret = CallCFunction(dlllib.String_EndsWithVIC,self.Ptr, value,ignoreCase,intPtrculture)
|
|
808
|
+
# return ret
|
|
809
|
+
|
|
810
|
+
# @dispatch
|
|
811
|
+
|
|
812
|
+
# def IndexOf(self ,value:int)->int:
|
|
813
|
+
# """
|
|
814
|
+
|
|
815
|
+
# """
|
|
816
|
+
|
|
817
|
+
# dlllib.String_IndexOf.argtypes=[c_void_p ,c_void_p]
|
|
818
|
+
# dlllib.String_IndexOf.restype=c_int
|
|
819
|
+
# ret = CallCFunction(dlllib.String_IndexOf,self.Ptr, value)
|
|
820
|
+
# return ret
|
|
821
|
+
|
|
822
|
+
# @dispatch
|
|
823
|
+
|
|
824
|
+
# def IndexOf(self ,value:int,startIndex:int)->int:
|
|
825
|
+
# """
|
|
826
|
+
|
|
827
|
+
# """
|
|
828
|
+
|
|
829
|
+
# dlllib.String_IndexOfVS.argtypes=[c_void_p ,c_void_p,c_int]
|
|
830
|
+
# dlllib.String_IndexOfVS.restype=c_int
|
|
831
|
+
# ret = CallCFunction(dlllib.String_IndexOfVS,self.Ptr, value,startIndex)
|
|
832
|
+
# return ret
|
|
833
|
+
|
|
834
|
+
## @dispatch
|
|
835
|
+
##
|
|
836
|
+
## def IndexOfAny(self ,anyOf:'Char[]')->int:
|
|
837
|
+
## """
|
|
838
|
+
##
|
|
839
|
+
## """
|
|
840
|
+
## #arrayanyOf:ArrayTypeanyOf = ""
|
|
841
|
+
## countanyOf = len(anyOf)
|
|
842
|
+
## ArrayTypeanyOf = c_void_p * countanyOf
|
|
843
|
+
## arrayanyOf = ArrayTypeanyOf()
|
|
844
|
+
## for i in range(0, countanyOf):
|
|
845
|
+
## arrayanyOf[i] = anyOf[i].Ptr
|
|
846
|
+
##
|
|
847
|
+
##
|
|
848
|
+
## dlllib.String_IndexOfAny.argtypes=[c_void_p ,ArrayTypeanyOf]
|
|
849
|
+
## dlllib.String_IndexOfAny.restype=c_int
|
|
850
|
+
## ret = CallCFunction(dlllib.String_IndexOfAny,self.Ptr, arrayanyOf)
|
|
851
|
+
## return ret
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
## @dispatch
|
|
855
|
+
##
|
|
856
|
+
## def IndexOfAny(self ,anyOf:'Char[]',startIndex:int)->int:
|
|
857
|
+
## """
|
|
858
|
+
##
|
|
859
|
+
## """
|
|
860
|
+
## #arrayanyOf:ArrayTypeanyOf = ""
|
|
861
|
+
## countanyOf = len(anyOf)
|
|
862
|
+
## ArrayTypeanyOf = c_void_p * countanyOf
|
|
863
|
+
## arrayanyOf = ArrayTypeanyOf()
|
|
864
|
+
## for i in range(0, countanyOf):
|
|
865
|
+
## arrayanyOf[i] = anyOf[i].Ptr
|
|
866
|
+
##
|
|
867
|
+
##
|
|
868
|
+
## dlllib.String_IndexOfAnyAS.argtypes=[c_void_p ,ArrayTypeanyOf,c_int]
|
|
869
|
+
## dlllib.String_IndexOfAnyAS.restype=c_int
|
|
870
|
+
## ret = CallCFunction(dlllib.String_IndexOfAnyAS,self.Ptr, arrayanyOf,startIndex)
|
|
871
|
+
## return ret
|
|
872
|
+
|
|
873
|
+
|
|
874
|
+
# @dispatch
|
|
875
|
+
|
|
876
|
+
# def IndexOf(self ,value:str)->int:
|
|
877
|
+
# """
|
|
878
|
+
|
|
879
|
+
# """
|
|
880
|
+
|
|
881
|
+
# dlllib.String_IndexOfV.argtypes=[c_void_p ,c_void_p]
|
|
882
|
+
# dlllib.String_IndexOfV.restype=c_int
|
|
883
|
+
# ret = CallCFunction(dlllib.String_IndexOfV,self.Ptr, value)
|
|
884
|
+
# return ret
|
|
885
|
+
|
|
886
|
+
# @dispatch
|
|
887
|
+
|
|
888
|
+
# def IndexOf(self ,value:str,startIndex:int)->int:
|
|
889
|
+
# """
|
|
890
|
+
|
|
891
|
+
# """
|
|
892
|
+
|
|
893
|
+
# dlllib.String_IndexOfVS1.argtypes=[c_void_p ,c_void_p,c_int]
|
|
894
|
+
# dlllib.String_IndexOfVS1.restype=c_int
|
|
895
|
+
# ret = CallCFunction(dlllib.String_IndexOfVS1,self.Ptr, value,startIndex)
|
|
896
|
+
# return ret
|
|
897
|
+
|
|
898
|
+
# @dispatch
|
|
899
|
+
|
|
900
|
+
# def IndexOf(self ,value:str,startIndex:int,count:int)->int:
|
|
901
|
+
# """
|
|
902
|
+
|
|
903
|
+
# """
|
|
904
|
+
|
|
905
|
+
# dlllib.String_IndexOfVSC.argtypes=[c_void_p ,c_void_p,c_int,c_int]
|
|
906
|
+
# dlllib.String_IndexOfVSC.restype=c_int
|
|
907
|
+
# ret = CallCFunction(dlllib.String_IndexOfVSC,self.Ptr, value,startIndex,count)
|
|
908
|
+
# return ret
|
|
909
|
+
|
|
910
|
+
## @dispatch
|
|
911
|
+
##
|
|
912
|
+
## def IndexOf(self ,value:str,comparisonType:'StringComparison')->int:
|
|
913
|
+
## """
|
|
914
|
+
##
|
|
915
|
+
## """
|
|
916
|
+
## enumcomparisonType:c_int = comparisonType.value
|
|
917
|
+
##
|
|
918
|
+
## dlllib.String_IndexOfVC.argtypes=[c_void_p ,c_void_p,c_int]
|
|
919
|
+
## dlllib.String_IndexOfVC.restype=c_int
|
|
920
|
+
## ret = CallCFunction(dlllib.String_IndexOfVC,self.Ptr, value,enumcomparisonType)
|
|
921
|
+
## return ret
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
## @dispatch
|
|
925
|
+
##
|
|
926
|
+
## def IndexOf(self ,value:str,startIndex:int,comparisonType:'StringComparison')->int:
|
|
927
|
+
## """
|
|
928
|
+
##
|
|
929
|
+
## """
|
|
930
|
+
## enumcomparisonType:c_int = comparisonType.value
|
|
931
|
+
##
|
|
932
|
+
## dlllib.String_IndexOfVSC1.argtypes=[c_void_p ,c_void_p,c_int,c_int]
|
|
933
|
+
## dlllib.String_IndexOfVSC1.restype=c_int
|
|
934
|
+
## ret = CallCFunction(dlllib.String_IndexOfVSC1,self.Ptr, value,startIndex,enumcomparisonType)
|
|
935
|
+
## return ret
|
|
936
|
+
|
|
937
|
+
|
|
938
|
+
## @dispatch
|
|
939
|
+
##
|
|
940
|
+
## def IndexOf(self ,value:str,startIndex:int,count:int,comparisonType:'StringComparison')->int:
|
|
941
|
+
## """
|
|
942
|
+
##
|
|
943
|
+
## """
|
|
944
|
+
## enumcomparisonType:c_int = comparisonType.value
|
|
945
|
+
##
|
|
946
|
+
## dlllib.String_IndexOfVSCC.argtypes=[c_void_p ,c_void_p,c_int,c_int,c_int]
|
|
947
|
+
## dlllib.String_IndexOfVSCC.restype=c_int
|
|
948
|
+
## ret = CallCFunction(dlllib.String_IndexOfVSCC,self.Ptr, value,startIndex,count,enumcomparisonType)
|
|
949
|
+
## return ret
|
|
950
|
+
|
|
951
|
+
|
|
952
|
+
# @dispatch
|
|
953
|
+
|
|
954
|
+
# def LastIndexOf(self ,value:int)->int:
|
|
955
|
+
# """
|
|
956
|
+
|
|
957
|
+
# """
|
|
958
|
+
|
|
959
|
+
# dlllib.String_LastIndexOf.argtypes=[c_void_p ,c_void_p]
|
|
960
|
+
# dlllib.String_LastIndexOf.restype=c_int
|
|
961
|
+
# ret = CallCFunction(dlllib.String_LastIndexOf,self.Ptr, value)
|
|
962
|
+
# return ret
|
|
963
|
+
|
|
964
|
+
# @dispatch
|
|
965
|
+
|
|
966
|
+
# def LastIndexOf(self ,value:int,startIndex:int)->int:
|
|
967
|
+
# """
|
|
968
|
+
|
|
969
|
+
# """
|
|
970
|
+
|
|
971
|
+
# dlllib.String_LastIndexOfVS.argtypes=[c_void_p ,c_void_p,c_int]
|
|
972
|
+
# dlllib.String_LastIndexOfVS.restype=c_int
|
|
973
|
+
# ret = CallCFunction(dlllib.String_LastIndexOfVS,self.Ptr, value,startIndex)
|
|
974
|
+
# return ret
|
|
975
|
+
|
|
976
|
+
## @dispatch
|
|
977
|
+
##
|
|
978
|
+
## def LastIndexOfAny(self ,anyOf:'Char[]')->int:
|
|
979
|
+
## """
|
|
980
|
+
##
|
|
981
|
+
## """
|
|
982
|
+
## #arrayanyOf:ArrayTypeanyOf = ""
|
|
983
|
+
## countanyOf = len(anyOf)
|
|
984
|
+
## ArrayTypeanyOf = c_void_p * countanyOf
|
|
985
|
+
## arrayanyOf = ArrayTypeanyOf()
|
|
986
|
+
## for i in range(0, countanyOf):
|
|
987
|
+
## arrayanyOf[i] = anyOf[i].Ptr
|
|
988
|
+
##
|
|
989
|
+
##
|
|
990
|
+
## dlllib.String_LastIndexOfAny.argtypes=[c_void_p ,ArrayTypeanyOf]
|
|
991
|
+
## dlllib.String_LastIndexOfAny.restype=c_int
|
|
992
|
+
## ret = CallCFunction(dlllib.String_LastIndexOfAny,self.Ptr, arrayanyOf)
|
|
993
|
+
## return ret
|
|
994
|
+
|
|
995
|
+
|
|
996
|
+
## @dispatch
|
|
997
|
+
##
|
|
998
|
+
## def LastIndexOfAny(self ,anyOf:'Char[]',startIndex:int)->int:
|
|
999
|
+
## """
|
|
1000
|
+
##
|
|
1001
|
+
## """
|
|
1002
|
+
## #arrayanyOf:ArrayTypeanyOf = ""
|
|
1003
|
+
## countanyOf = len(anyOf)
|
|
1004
|
+
## ArrayTypeanyOf = c_void_p * countanyOf
|
|
1005
|
+
## arrayanyOf = ArrayTypeanyOf()
|
|
1006
|
+
## for i in range(0, countanyOf):
|
|
1007
|
+
## arrayanyOf[i] = anyOf[i].Ptr
|
|
1008
|
+
##
|
|
1009
|
+
##
|
|
1010
|
+
## dlllib.String_LastIndexOfAnyAS.argtypes=[c_void_p ,ArrayTypeanyOf,c_int]
|
|
1011
|
+
## dlllib.String_LastIndexOfAnyAS.restype=c_int
|
|
1012
|
+
## ret = CallCFunction(dlllib.String_LastIndexOfAnyAS,self.Ptr, arrayanyOf,startIndex)
|
|
1013
|
+
## return ret
|
|
1014
|
+
|
|
1015
|
+
|
|
1016
|
+
# @dispatch
|
|
1017
|
+
|
|
1018
|
+
# def LastIndexOf(self ,value:str)->int:
|
|
1019
|
+
# """
|
|
1020
|
+
|
|
1021
|
+
# """
|
|
1022
|
+
|
|
1023
|
+
# dlllib.String_LastIndexOfV.argtypes=[c_void_p ,c_void_p]
|
|
1024
|
+
# dlllib.String_LastIndexOfV.restype=c_int
|
|
1025
|
+
# ret = CallCFunction(dlllib.String_LastIndexOfV,self.Ptr, value)
|
|
1026
|
+
# return ret
|
|
1027
|
+
|
|
1028
|
+
# @dispatch
|
|
1029
|
+
|
|
1030
|
+
# def LastIndexOf(self ,value:str,startIndex:int)->int:
|
|
1031
|
+
# """
|
|
1032
|
+
|
|
1033
|
+
# """
|
|
1034
|
+
|
|
1035
|
+
# dlllib.String_LastIndexOfVS1.argtypes=[c_void_p ,c_void_p,c_int]
|
|
1036
|
+
# dlllib.String_LastIndexOfVS1.restype=c_int
|
|
1037
|
+
# ret = CallCFunction(dlllib.String_LastIndexOfVS1,self.Ptr, value,startIndex)
|
|
1038
|
+
# return ret
|
|
1039
|
+
|
|
1040
|
+
# @dispatch
|
|
1041
|
+
|
|
1042
|
+
# def LastIndexOf(self ,value:str,startIndex:int,count:int)->int:
|
|
1043
|
+
# """
|
|
1044
|
+
|
|
1045
|
+
# """
|
|
1046
|
+
|
|
1047
|
+
# dlllib.String_LastIndexOfVSC.argtypes=[c_void_p ,c_void_p,c_int,c_int]
|
|
1048
|
+
# dlllib.String_LastIndexOfVSC.restype=c_int
|
|
1049
|
+
# ret = CallCFunction(dlllib.String_LastIndexOfVSC,self.Ptr, value,startIndex,count)
|
|
1050
|
+
# return ret
|
|
1051
|
+
|
|
1052
|
+
## @dispatch
|
|
1053
|
+
##
|
|
1054
|
+
## def LastIndexOf(self ,value:str,comparisonType:'StringComparison')->int:
|
|
1055
|
+
## """
|
|
1056
|
+
##
|
|
1057
|
+
## """
|
|
1058
|
+
## enumcomparisonType:c_int = comparisonType.value
|
|
1059
|
+
##
|
|
1060
|
+
## dlllib.String_LastIndexOfVC.argtypes=[c_void_p ,c_void_p,c_int]
|
|
1061
|
+
## dlllib.String_LastIndexOfVC.restype=c_int
|
|
1062
|
+
## ret = CallCFunction(dlllib.String_LastIndexOfVC,self.Ptr, value,enumcomparisonType)
|
|
1063
|
+
## return ret
|
|
1064
|
+
|
|
1065
|
+
|
|
1066
|
+
## @dispatch
|
|
1067
|
+
##
|
|
1068
|
+
## def LastIndexOf(self ,value:str,startIndex:int,comparisonType:'StringComparison')->int:
|
|
1069
|
+
## """
|
|
1070
|
+
##
|
|
1071
|
+
## """
|
|
1072
|
+
## enumcomparisonType:c_int = comparisonType.value
|
|
1073
|
+
##
|
|
1074
|
+
## dlllib.String_LastIndexOfVSC1.argtypes=[c_void_p ,c_void_p,c_int,c_int]
|
|
1075
|
+
## dlllib.String_LastIndexOfVSC1.restype=c_int
|
|
1076
|
+
## ret = CallCFunction(dlllib.String_LastIndexOfVSC1,self.Ptr, value,startIndex,enumcomparisonType)
|
|
1077
|
+
## return ret
|
|
1078
|
+
|
|
1079
|
+
|
|
1080
|
+
## @dispatch
|
|
1081
|
+
##
|
|
1082
|
+
## def LastIndexOf(self ,value:str,startIndex:int,count:int,comparisonType:'StringComparison')->int:
|
|
1083
|
+
## """
|
|
1084
|
+
##
|
|
1085
|
+
## """
|
|
1086
|
+
## enumcomparisonType:c_int = comparisonType.value
|
|
1087
|
+
##
|
|
1088
|
+
## dlllib.String_LastIndexOfVSCC.argtypes=[c_void_p ,c_void_p,c_int,c_int,c_int]
|
|
1089
|
+
## dlllib.String_LastIndexOfVSCC.restype=c_int
|
|
1090
|
+
## ret = CallCFunction(dlllib.String_LastIndexOfVSCC,self.Ptr, value,startIndex,count,enumcomparisonType)
|
|
1091
|
+
## return ret
|
|
1092
|
+
|
|
1093
|
+
|
|
1094
|
+
# @dispatch
|
|
1095
|
+
|
|
1096
|
+
# def PadLeft(self ,totalWidth:int)->str:
|
|
1097
|
+
# """
|
|
1098
|
+
|
|
1099
|
+
# """
|
|
1100
|
+
|
|
1101
|
+
# dlllib.String_PadLeft.argtypes=[c_void_p ,c_int]
|
|
1102
|
+
# dlllib.String_PadLeft.restype=c_wchar_p
|
|
1103
|
+
# ret = CallCFunction(dlllib.String_PadLeft,self.Ptr, totalWidth)
|
|
1104
|
+
# return ret
|
|
1105
|
+
|
|
1106
|
+
|
|
1107
|
+
# @dispatch
|
|
1108
|
+
|
|
1109
|
+
# def PadLeft(self ,totalWidth:int,paddingChar:int)->str:
|
|
1110
|
+
# """
|
|
1111
|
+
|
|
1112
|
+
# """
|
|
1113
|
+
|
|
1114
|
+
# dlllib.String_PadLeftTP.argtypes=[c_void_p ,c_int,c_void_p]
|
|
1115
|
+
# dlllib.String_PadLeftTP.restype=c_wchar_p
|
|
1116
|
+
# ret = CallCFunction(dlllib.String_PadLeftTP,self.Ptr, totalWidth,paddingChar)
|
|
1117
|
+
# return ret
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
# @dispatch
|
|
1121
|
+
|
|
1122
|
+
# def PadRight(self ,totalWidth:int)->str:
|
|
1123
|
+
# """
|
|
1124
|
+
|
|
1125
|
+
# """
|
|
1126
|
+
|
|
1127
|
+
# dlllib.String_PadRight.argtypes=[c_void_p ,c_int]
|
|
1128
|
+
# dlllib.String_PadRight.restype=c_wchar_p
|
|
1129
|
+
# ret = CallCFunction(dlllib.String_PadRight,self.Ptr, totalWidth)
|
|
1130
|
+
# return ret
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
# @dispatch
|
|
1134
|
+
|
|
1135
|
+
# def PadRight(self ,totalWidth:int,paddingChar:int)->str:
|
|
1136
|
+
# """
|
|
1137
|
+
|
|
1138
|
+
# """
|
|
1139
|
+
|
|
1140
|
+
# dlllib.String_PadRightTP.argtypes=[c_void_p ,c_int,c_void_p]
|
|
1141
|
+
# dlllib.String_PadRightTP.restype=c_wchar_p
|
|
1142
|
+
# ret = CallCFunction(dlllib.String_PadRightTP,self.Ptr, totalWidth,paddingChar)
|
|
1143
|
+
# return ret
|
|
1144
|
+
|
|
1145
|
+
|
|
1146
|
+
# @dispatch
|
|
1147
|
+
|
|
1148
|
+
# def StartsWith(self ,value:str)->bool:
|
|
1149
|
+
# """
|
|
1150
|
+
|
|
1151
|
+
# """
|
|
1152
|
+
|
|
1153
|
+
# dlllib.String_StartsWith.argtypes=[c_void_p ,c_void_p]
|
|
1154
|
+
# dlllib.String_StartsWith.restype=c_bool
|
|
1155
|
+
# ret = CallCFunction(dlllib.String_StartsWith,self.Ptr, value)
|
|
1156
|
+
# return ret
|
|
1157
|
+
|
|
1158
|
+
## @dispatch
|
|
1159
|
+
##
|
|
1160
|
+
## def StartsWith(self ,value:str,comparisonType:'StringComparison')->bool:
|
|
1161
|
+
## """
|
|
1162
|
+
##
|
|
1163
|
+
## """
|
|
1164
|
+
## enumcomparisonType:c_int = comparisonType.value
|
|
1165
|
+
##
|
|
1166
|
+
## dlllib.String_StartsWithVC.argtypes=[c_void_p ,c_void_p,c_int]
|
|
1167
|
+
## dlllib.String_StartsWithVC.restype=c_bool
|
|
1168
|
+
## ret = CallCFunction(dlllib.String_StartsWithVC,self.Ptr, value,enumcomparisonType)
|
|
1169
|
+
## return ret
|
|
1170
|
+
|
|
1171
|
+
|
|
1172
|
+
# @dispatch
|
|
1173
|
+
|
|
1174
|
+
# def StartsWith(self ,value:str,ignoreCase:bool,culture:CultureInfo)->bool:
|
|
1175
|
+
# """
|
|
1176
|
+
|
|
1177
|
+
# """
|
|
1178
|
+
# intPtrculture:c_void_p = culture.Ptr
|
|
1179
|
+
|
|
1180
|
+
# dlllib.String_StartsWithVIC.argtypes=[c_void_p ,c_void_p,c_bool,c_void_p]
|
|
1181
|
+
# dlllib.String_StartsWithVIC.restype=c_bool
|
|
1182
|
+
# ret = CallCFunction(dlllib.String_StartsWithVIC,self.Ptr, value,ignoreCase,intPtrculture)
|
|
1183
|
+
# return ret
|
|
1184
|
+
|
|
1185
|
+
# @dispatch
|
|
1186
|
+
|
|
1187
|
+
# def ToLower(self)->str:
|
|
1188
|
+
# """
|
|
1189
|
+
|
|
1190
|
+
# """
|
|
1191
|
+
# dlllib.String_ToLower.argtypes=[c_void_p]
|
|
1192
|
+
# dlllib.String_ToLower.restype=c_wchar_p
|
|
1193
|
+
# ret = CallCFunction(dlllib.String_ToLower,self.Ptr)
|
|
1194
|
+
# return ret
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
# @dispatch
|
|
1198
|
+
|
|
1199
|
+
# def ToLower(self ,culture:CultureInfo)->str:
|
|
1200
|
+
# """
|
|
1201
|
+
|
|
1202
|
+
# """
|
|
1203
|
+
# intPtrculture:c_void_p = culture.Ptr
|
|
1204
|
+
|
|
1205
|
+
# dlllib.String_ToLowerC.argtypes=[c_void_p ,c_void_p]
|
|
1206
|
+
# dlllib.String_ToLowerC.restype=c_wchar_p
|
|
1207
|
+
# ret = CallCFunction(dlllib.String_ToLowerC,self.Ptr, intPtrculture)
|
|
1208
|
+
# return ret
|
|
1209
|
+
|
|
1210
|
+
|
|
1211
|
+
|
|
1212
|
+
# def ToLowerInvariant(self)->str:
|
|
1213
|
+
# """
|
|
1214
|
+
|
|
1215
|
+
# """
|
|
1216
|
+
# dlllib.String_ToLowerInvariant.argtypes=[c_void_p]
|
|
1217
|
+
# dlllib.String_ToLowerInvariant.restype=c_wchar_p
|
|
1218
|
+
# ret = CallCFunction(dlllib.String_ToLowerInvariant,self.Ptr)
|
|
1219
|
+
# return ret
|
|
1220
|
+
|
|
1221
|
+
|
|
1222
|
+
# @dispatch
|
|
1223
|
+
|
|
1224
|
+
# def ToUpper(self)->str:
|
|
1225
|
+
# """
|
|
1226
|
+
|
|
1227
|
+
# """
|
|
1228
|
+
# dlllib.String_ToUpper.argtypes=[c_void_p]
|
|
1229
|
+
# dlllib.String_ToUpper.restype=c_wchar_p
|
|
1230
|
+
# ret = CallCFunction(dlllib.String_ToUpper,self.Ptr)
|
|
1231
|
+
# return ret
|
|
1232
|
+
|
|
1233
|
+
|
|
1234
|
+
# @dispatch
|
|
1235
|
+
|
|
1236
|
+
# def ToUpper(self ,culture:CultureInfo)->str:
|
|
1237
|
+
# """
|
|
1238
|
+
|
|
1239
|
+
# """
|
|
1240
|
+
# intPtrculture:c_void_p = culture.Ptr
|
|
1241
|
+
|
|
1242
|
+
# dlllib.String_ToUpperC.argtypes=[c_void_p ,c_void_p]
|
|
1243
|
+
# dlllib.String_ToUpperC.restype=c_wchar_p
|
|
1244
|
+
# ret = CallCFunction(dlllib.String_ToUpperC,self.Ptr, intPtrculture)
|
|
1245
|
+
# return ret
|
|
1246
|
+
|
|
1247
|
+
|
|
1248
|
+
|
|
1249
|
+
# def ToUpperInvariant(self)->str:
|
|
1250
|
+
# """
|
|
1251
|
+
|
|
1252
|
+
# """
|
|
1253
|
+
# dlllib.String_ToUpperInvariant.argtypes=[c_void_p]
|
|
1254
|
+
# dlllib.String_ToUpperInvariant.restype=c_wchar_p
|
|
1255
|
+
# ret = CallCFunction(dlllib.String_ToUpperInvariant,self.Ptr)
|
|
1256
|
+
# return ret
|
|
1257
|
+
|
|
1258
|
+
|
|
1259
|
+
# @dispatch
|
|
1260
|
+
|
|
1261
|
+
# def ToString(self)->str:
|
|
1262
|
+
# """
|
|
1263
|
+
|
|
1264
|
+
# """
|
|
1265
|
+
# dlllib.String_ToString.argtypes=[c_void_p]
|
|
1266
|
+
# dlllib.String_ToString.restype=c_wchar_p
|
|
1267
|
+
# ret = CallCFunction(dlllib.String_ToString,self.Ptr)
|
|
1268
|
+
# return ret
|
|
1269
|
+
|
|
1270
|
+
|
|
1271
|
+
## @dispatch
|
|
1272
|
+
##
|
|
1273
|
+
## def ToString(self ,provider:'IFormatProvider')->str:
|
|
1274
|
+
## """
|
|
1275
|
+
##
|
|
1276
|
+
## """
|
|
1277
|
+
## intPtrprovider:c_void_p = provider.Ptr
|
|
1278
|
+
##
|
|
1279
|
+
## dlllib.String_ToStringP.argtypes=[c_void_p ,c_void_p]
|
|
1280
|
+
## dlllib.String_ToStringP.restype=c_wchar_p
|
|
1281
|
+
## ret = CallCFunction(dlllib.String_ToStringP,self.Ptr, intPtrprovider)
|
|
1282
|
+
## return ret
|
|
1283
|
+
##
|
|
1284
|
+
|
|
1285
|
+
|
|
1286
|
+
|
|
1287
|
+
# def Clone(self)->'SpireObject':
|
|
1288
|
+
# """
|
|
1289
|
+
|
|
1290
|
+
# """
|
|
1291
|
+
# dlllib.String_Clone.argtypes=[c_void_p]
|
|
1292
|
+
# dlllib.String_Clone.restype=c_void_p
|
|
1293
|
+
# intPtr = CallCFunction(dlllib.String_Clone,self.Ptr)
|
|
1294
|
+
# ret = None if intPtr==None else SpireObject(intPtr)
|
|
1295
|
+
# return ret
|
|
1296
|
+
|
|
1297
|
+
|
|
1298
|
+
# @dispatch
|
|
1299
|
+
|
|
1300
|
+
# def Trim(self)->str:
|
|
1301
|
+
# """
|
|
1302
|
+
|
|
1303
|
+
# """
|
|
1304
|
+
# dlllib.String_Trim1.argtypes=[c_void_p]
|
|
1305
|
+
# dlllib.String_Trim1.restype=c_wchar_p
|
|
1306
|
+
# ret = CallCFunction(dlllib.String_Trim1,self.Ptr)
|
|
1307
|
+
# return ret
|
|
1308
|
+
|
|
1309
|
+
|
|
1310
|
+
|
|
1311
|
+
# def Insert(self ,startIndex:int,value:str)->str:
|
|
1312
|
+
# """
|
|
1313
|
+
|
|
1314
|
+
# """
|
|
1315
|
+
|
|
1316
|
+
# dlllib.String_Insert.argtypes=[c_void_p ,c_int,c_void_p]
|
|
1317
|
+
# dlllib.String_Insert.restype=c_wchar_p
|
|
1318
|
+
# ret = CallCFunction(dlllib.String_Insert,self.Ptr, startIndex,value)
|
|
1319
|
+
# return ret
|
|
1320
|
+
|
|
1321
|
+
|
|
1322
|
+
# @dispatch
|
|
1323
|
+
|
|
1324
|
+
# def Replace(self ,oldChar:int,newChar:int)->str:
|
|
1325
|
+
# """
|
|
1326
|
+
|
|
1327
|
+
# """
|
|
1328
|
+
|
|
1329
|
+
# dlllib.String_Replace.argtypes=[c_void_p ,c_void_p,c_void_p]
|
|
1330
|
+
# dlllib.String_Replace.restype=c_wchar_p
|
|
1331
|
+
# ret = CallCFunction(dlllib.String_Replace,self.Ptr, oldChar,newChar)
|
|
1332
|
+
# return ret
|
|
1333
|
+
|
|
1334
|
+
|
|
1335
|
+
# @dispatch
|
|
1336
|
+
|
|
1337
|
+
# def Replace(self ,oldValue:str,newValue:str)->str:
|
|
1338
|
+
# """
|
|
1339
|
+
|
|
1340
|
+
# """
|
|
1341
|
+
|
|
1342
|
+
# dlllib.String_ReplaceON.argtypes=[c_void_p ,c_void_p,c_void_p]
|
|
1343
|
+
# dlllib.String_ReplaceON.restype=c_wchar_p
|
|
1344
|
+
# ret = CallCFunction(dlllib.String_ReplaceON,self.Ptr, oldValue,newValue)
|
|
1345
|
+
# return ret
|
|
1346
|
+
|
|
1347
|
+
|
|
1348
|
+
# @dispatch
|
|
1349
|
+
|
|
1350
|
+
# def Remove(self ,startIndex:int,count:int)->str:
|
|
1351
|
+
# """
|
|
1352
|
+
|
|
1353
|
+
# """
|
|
1354
|
+
|
|
1355
|
+
# dlllib.String_Remove.argtypes=[c_void_p ,c_int,c_int]
|
|
1356
|
+
# dlllib.String_Remove.restype=c_wchar_p
|
|
1357
|
+
# ret = CallCFunction(dlllib.String_Remove,self.Ptr, startIndex,count)
|
|
1358
|
+
# return ret
|
|
1359
|
+
|
|
1360
|
+
|
|
1361
|
+
# @dispatch
|
|
1362
|
+
|
|
1363
|
+
# def Remove(self ,startIndex:int)->str:
|
|
1364
|
+
# """
|
|
1365
|
+
|
|
1366
|
+
# """
|
|
1367
|
+
|
|
1368
|
+
# dlllib.String_RemoveS.argtypes=[c_void_p ,c_int]
|
|
1369
|
+
# dlllib.String_RemoveS.restype=c_wchar_p
|
|
1370
|
+
# ret = CallCFunction(dlllib.String_RemoveS,self.Ptr, startIndex)
|
|
1371
|
+
# return ret
|
|
1372
|
+
|
|
1373
|
+
|
|
1374
|
+
# @staticmethod
|
|
1375
|
+
# @dispatch
|
|
1376
|
+
|
|
1377
|
+
# def Format(format:str,arg0:SpireObject)->str:
|
|
1378
|
+
# """
|
|
1379
|
+
|
|
1380
|
+
# """
|
|
1381
|
+
# intPtrarg0:c_void_p = arg0.Ptr
|
|
1382
|
+
|
|
1383
|
+
# dlllib.String_Format.argtypes=[ c_void_p,c_void_p]
|
|
1384
|
+
# dlllib.String_Format.restype=c_wchar_p
|
|
1385
|
+
# ret = CallCFunction(dlllib.String_Format, format,intPtrarg0)
|
|
1386
|
+
# return ret
|
|
1387
|
+
|
|
1388
|
+
|
|
1389
|
+
# @staticmethod
|
|
1390
|
+
# @dispatch
|
|
1391
|
+
|
|
1392
|
+
# def Format(format:str,arg0:SpireObject,arg1:SpireObject)->str:
|
|
1393
|
+
# """
|
|
1394
|
+
|
|
1395
|
+
# """
|
|
1396
|
+
# intPtrarg0:c_void_p = arg0.Ptr
|
|
1397
|
+
# intPtrarg1:c_void_p = arg1.Ptr
|
|
1398
|
+
|
|
1399
|
+
# dlllib.String_FormatFAA.argtypes=[ c_void_p,c_void_p,c_void_p]
|
|
1400
|
+
# dlllib.String_FormatFAA.restype=c_wchar_p
|
|
1401
|
+
# ret = CallCFunction(dlllib.String_FormatFAA, format,intPtrarg0,intPtrarg1)
|
|
1402
|
+
# return ret
|
|
1403
|
+
|
|
1404
|
+
|
|
1405
|
+
# @staticmethod
|
|
1406
|
+
# @dispatch
|
|
1407
|
+
|
|
1408
|
+
# def Format(format:str,arg0:SpireObject,arg1:SpireObject,arg2:SpireObject)->str:
|
|
1409
|
+
# """
|
|
1410
|
+
|
|
1411
|
+
# """
|
|
1412
|
+
# intPtrarg0:c_void_p = arg0.Ptr
|
|
1413
|
+
# intPtrarg1:c_void_p = arg1.Ptr
|
|
1414
|
+
# intPtrarg2:c_void_p = arg2.Ptr
|
|
1415
|
+
|
|
1416
|
+
# dlllib.String_FormatFAAA.argtypes=[ c_void_p,c_void_p,c_void_p,c_void_p]
|
|
1417
|
+
# dlllib.String_FormatFAAA.restype=c_wchar_p
|
|
1418
|
+
# ret = CallCFunction(dlllib.String_FormatFAAA, format,intPtrarg0,intPtrarg1,intPtrarg2)
|
|
1419
|
+
# return ret
|
|
1420
|
+
|
|
1421
|
+
|
|
1422
|
+
## @staticmethod
|
|
1423
|
+
## @dispatch
|
|
1424
|
+
##
|
|
1425
|
+
## def Format(provider:'IFormatProvider',format:str,arg0:SpireObject)->str:
|
|
1426
|
+
## """
|
|
1427
|
+
##
|
|
1428
|
+
## """
|
|
1429
|
+
## intPtrprovider:c_void_p = provider.Ptr
|
|
1430
|
+
## intPtrarg0:c_void_p = arg0.Ptr
|
|
1431
|
+
##
|
|
1432
|
+
## dlllib.String_FormatPFA.argtypes=[ c_void_p,c_void_p,c_void_p]
|
|
1433
|
+
## dlllib.String_FormatPFA.restype=c_wchar_p
|
|
1434
|
+
## ret = CallCFunction(dlllib.String_FormatPFA, intPtrprovider,format,intPtrarg0)
|
|
1435
|
+
## return ret
|
|
1436
|
+
##
|
|
1437
|
+
|
|
1438
|
+
|
|
1439
|
+
## @staticmethod
|
|
1440
|
+
## @dispatch
|
|
1441
|
+
##
|
|
1442
|
+
## def Format(provider:'IFormatProvider',format:str,arg0:SpireObject,arg1:SpireObject)->str:
|
|
1443
|
+
## """
|
|
1444
|
+
##
|
|
1445
|
+
## """
|
|
1446
|
+
## intPtrprovider:c_void_p = provider.Ptr
|
|
1447
|
+
## intPtrarg0:c_void_p = arg0.Ptr
|
|
1448
|
+
## intPtrarg1:c_void_p = arg1.Ptr
|
|
1449
|
+
##
|
|
1450
|
+
## dlllib.String_FormatPFAA.argtypes=[ c_void_p,c_void_p,c_void_p,c_void_p]
|
|
1451
|
+
## dlllib.String_FormatPFAA.restype=c_wchar_p
|
|
1452
|
+
## ret = CallCFunction(dlllib.String_FormatPFAA, intPtrprovider,format,intPtrarg0,intPtrarg1)
|
|
1453
|
+
## return ret
|
|
1454
|
+
##
|
|
1455
|
+
|
|
1456
|
+
|
|
1457
|
+
## @staticmethod
|
|
1458
|
+
## @dispatch
|
|
1459
|
+
##
|
|
1460
|
+
## def Format(provider:'IFormatProvider',format:str,arg0:SpireObject,arg1:SpireObject,arg2:SpireObject)->str:
|
|
1461
|
+
## """
|
|
1462
|
+
##
|
|
1463
|
+
## """
|
|
1464
|
+
## intPtrprovider:c_void_p = provider.Ptr
|
|
1465
|
+
## intPtrarg0:c_void_p = arg0.Ptr
|
|
1466
|
+
## intPtrarg1:c_void_p = arg1.Ptr
|
|
1467
|
+
## intPtrarg2:c_void_p = arg2.Ptr
|
|
1468
|
+
##
|
|
1469
|
+
## dlllib.String_FormatPFAAA.argtypes=[ c_void_p,c_void_p,c_void_p,c_void_p,c_void_p]
|
|
1470
|
+
## dlllib.String_FormatPFAAA.restype=c_wchar_p
|
|
1471
|
+
## ret = CallCFunction(dlllib.String_FormatPFAAA, intPtrprovider,format,intPtrarg0,intPtrarg1,intPtrarg2)
|
|
1472
|
+
## return ret
|
|
1473
|
+
##
|
|
1474
|
+
|
|
1475
|
+
|
|
1476
|
+
# @staticmethod
|
|
1477
|
+
|
|
1478
|
+
# def Copy(str:str)->str:
|
|
1479
|
+
# """
|
|
1480
|
+
|
|
1481
|
+
# """
|
|
1482
|
+
|
|
1483
|
+
# dlllib.String_Copy.argtypes=[ c_void_p]
|
|
1484
|
+
# dlllib.String_Copy.restype=c_wchar_p
|
|
1485
|
+
# ret = CallCFunction(dlllib.String_Copy, str)
|
|
1486
|
+
# return ret
|
|
1487
|
+
|
|
1488
|
+
|
|
1489
|
+
# @staticmethod
|
|
1490
|
+
# @dispatch
|
|
1491
|
+
|
|
1492
|
+
# def Concat(arg0:SpireObject)->str:
|
|
1493
|
+
# """
|
|
1494
|
+
|
|
1495
|
+
# """
|
|
1496
|
+
# intPtrarg0:c_void_p = arg0.Ptr
|
|
1497
|
+
|
|
1498
|
+
# dlllib.String_Concat.argtypes=[ c_void_p]
|
|
1499
|
+
# dlllib.String_Concat.restype=c_wchar_p
|
|
1500
|
+
# ret = CallCFunction(dlllib.String_Concat, intPtrarg0)
|
|
1501
|
+
# return ret
|
|
1502
|
+
|
|
1503
|
+
|
|
1504
|
+
# @staticmethod
|
|
1505
|
+
# @dispatch
|
|
1506
|
+
|
|
1507
|
+
# def Concat(arg0:SpireObject,arg1:SpireObject)->str:
|
|
1508
|
+
# """
|
|
1509
|
+
|
|
1510
|
+
# """
|
|
1511
|
+
# intPtrarg0:c_void_p = arg0.Ptr
|
|
1512
|
+
# intPtrarg1:c_void_p = arg1.Ptr
|
|
1513
|
+
|
|
1514
|
+
# dlllib.String_ConcatAA.argtypes=[ c_void_p,c_void_p]
|
|
1515
|
+
# dlllib.String_ConcatAA.restype=c_wchar_p
|
|
1516
|
+
# ret = CallCFunction(dlllib.String_ConcatAA, intPtrarg0,intPtrarg1)
|
|
1517
|
+
# return ret
|
|
1518
|
+
|
|
1519
|
+
|
|
1520
|
+
# @staticmethod
|
|
1521
|
+
# @dispatch
|
|
1522
|
+
|
|
1523
|
+
# def Concat(arg0:SpireObject,arg1:SpireObject,arg2:SpireObject)->str:
|
|
1524
|
+
# """
|
|
1525
|
+
|
|
1526
|
+
# """
|
|
1527
|
+
# intPtrarg0:c_void_p = arg0.Ptr
|
|
1528
|
+
# intPtrarg1:c_void_p = arg1.Ptr
|
|
1529
|
+
# intPtrarg2:c_void_p = arg2.Ptr
|
|
1530
|
+
|
|
1531
|
+
# dlllib.String_ConcatAAA.argtypes=[ c_void_p,c_void_p,c_void_p]
|
|
1532
|
+
# dlllib.String_ConcatAAA.restype=c_wchar_p
|
|
1533
|
+
# ret = CallCFunction(dlllib.String_ConcatAAA, intPtrarg0,intPtrarg1,intPtrarg2)
|
|
1534
|
+
# return ret
|
|
1535
|
+
|
|
1536
|
+
|
|
1537
|
+
# @staticmethod
|
|
1538
|
+
# @dispatch
|
|
1539
|
+
|
|
1540
|
+
# def Concat(arg0:SpireObject,arg1:SpireObject,arg2:SpireObject,arg3:SpireObject)->str:
|
|
1541
|
+
# """
|
|
1542
|
+
|
|
1543
|
+
# """
|
|
1544
|
+
# intPtrarg0:c_void_p = arg0.Ptr
|
|
1545
|
+
# intPtrarg1:c_void_p = arg1.Ptr
|
|
1546
|
+
# intPtrarg2:c_void_p = arg2.Ptr
|
|
1547
|
+
# intPtrarg3:c_void_p = arg3.Ptr
|
|
1548
|
+
|
|
1549
|
+
# dlllib.String_ConcatAAAA.argtypes=[ c_void_p,c_void_p,c_void_p,c_void_p]
|
|
1550
|
+
# dlllib.String_ConcatAAAA.restype=c_wchar_p
|
|
1551
|
+
# ret = CallCFunction(dlllib.String_ConcatAAAA, intPtrarg0,intPtrarg1,intPtrarg2,intPtrarg3)
|
|
1552
|
+
# return ret
|
|
1553
|
+
|
|
1554
|
+
|
|
1555
|
+
# @staticmethod
|
|
1556
|
+
# @dispatch
|
|
1557
|
+
|
|
1558
|
+
# def Concat(args:List[SpireObject])->str:
|
|
1559
|
+
# """
|
|
1560
|
+
|
|
1561
|
+
# """
|
|
1562
|
+
# #arrayargs:ArrayTypeargs = ""
|
|
1563
|
+
# countargs = len(args)
|
|
1564
|
+
# ArrayTypeargs = c_void_p * countargs
|
|
1565
|
+
# arrayargs = ArrayTypeargs()
|
|
1566
|
+
# for i in range(0, countargs):
|
|
1567
|
+
# arrayargs[i] = args[i].Ptr
|
|
1568
|
+
|
|
1569
|
+
|
|
1570
|
+
# dlllib.String_ConcatA.argtypes=[ ArrayTypeargs,c_int]
|
|
1571
|
+
# dlllib.String_ConcatA.restype=c_wchar_p
|
|
1572
|
+
# ret = CallCFunction(dlllib.String_ConcatA, arrayargs,countargs)
|
|
1573
|
+
# return ret
|
|
1574
|
+
|
|
1575
|
+
|
|
1576
|
+
## @staticmethod
|
|
1577
|
+
## @dispatch
|
|
1578
|
+
##
|
|
1579
|
+
## def Concat(values:'IEnumerable1')->str:
|
|
1580
|
+
## """
|
|
1581
|
+
##
|
|
1582
|
+
## """
|
|
1583
|
+
## intPtrvalues:c_void_p = values.Ptr
|
|
1584
|
+
##
|
|
1585
|
+
## dlllib.String_ConcatV.argtypes=[ c_void_p]
|
|
1586
|
+
## dlllib.String_ConcatV.restype=c_wchar_p
|
|
1587
|
+
## ret = CallCFunction(dlllib.String_ConcatV, intPtrvalues)
|
|
1588
|
+
## return ret
|
|
1589
|
+
##
|
|
1590
|
+
|
|
1591
|
+
|
|
1592
|
+
# @staticmethod
|
|
1593
|
+
# @dispatch
|
|
1594
|
+
|
|
1595
|
+
# def Concat(str0:str,str1:str)->str:
|
|
1596
|
+
# """
|
|
1597
|
+
|
|
1598
|
+
# """
|
|
1599
|
+
|
|
1600
|
+
# dlllib.String_ConcatSS.argtypes=[ c_void_p,c_void_p]
|
|
1601
|
+
# dlllib.String_ConcatSS.restype=c_wchar_p
|
|
1602
|
+
# ret = CallCFunction(dlllib.String_ConcatSS, str0,str1)
|
|
1603
|
+
# return ret
|
|
1604
|
+
|
|
1605
|
+
|
|
1606
|
+
# @staticmethod
|
|
1607
|
+
# @dispatch
|
|
1608
|
+
|
|
1609
|
+
# def Concat(str0:str,str1:str,str2:str)->str:
|
|
1610
|
+
# """
|
|
1611
|
+
|
|
1612
|
+
# """
|
|
1613
|
+
|
|
1614
|
+
# dlllib.String_ConcatSSS.argtypes=[ c_void_p,c_void_p,c_void_p]
|
|
1615
|
+
# dlllib.String_ConcatSSS.restype=c_wchar_p
|
|
1616
|
+
# ret = CallCFunction(dlllib.String_ConcatSSS, str0,str1,str2)
|
|
1617
|
+
# return ret
|
|
1618
|
+
|
|
1619
|
+
|
|
1620
|
+
# @staticmethod
|
|
1621
|
+
# @dispatch
|
|
1622
|
+
|
|
1623
|
+
# def Concat(str0:str,str1:str,str2:str,str3:str)->str:
|
|
1624
|
+
# """
|
|
1625
|
+
|
|
1626
|
+
# """
|
|
1627
|
+
|
|
1628
|
+
# dlllib.String_ConcatSSSS.argtypes=[ c_void_p,c_void_p,c_void_p,c_void_p]
|
|
1629
|
+
# dlllib.String_ConcatSSSS.restype=c_wchar_p
|
|
1630
|
+
# ret = CallCFunction(dlllib.String_ConcatSSSS, str0,str1,str2,str3)
|
|
1631
|
+
# return ret
|
|
1632
|
+
|
|
1633
|
+
|
|
1634
|
+
# @staticmethod
|
|
1635
|
+
# @dispatch
|
|
1636
|
+
|
|
1637
|
+
# def Concat(values:List[str])->str:
|
|
1638
|
+
# """
|
|
1639
|
+
|
|
1640
|
+
# """
|
|
1641
|
+
# #arrayvalues:ArrayTypevalues = ""
|
|
1642
|
+
# countvalues = len(values)
|
|
1643
|
+
# ArrayTypevalues = c_wchar_p * countvalues
|
|
1644
|
+
# arrayvalues = ArrayTypevalues()
|
|
1645
|
+
# for i in range(0, countvalues):
|
|
1646
|
+
# arrayvalues[i] = values[i]
|
|
1647
|
+
|
|
1648
|
+
|
|
1649
|
+
# dlllib.String_ConcatV1.argtypes=[ ArrayTypevalues,c_int]
|
|
1650
|
+
# dlllib.String_ConcatV1.restype=c_wchar_p
|
|
1651
|
+
# ret = CallCFunction(dlllib.String_ConcatV1, arrayvalues,countvalues)
|
|
1652
|
+
# return ret
|
|
1653
|
+
|
|
1654
|
+
|
|
1655
|
+
# @staticmethod
|
|
1656
|
+
|
|
1657
|
+
# def Intern(str:str)->str:
|
|
1658
|
+
# """
|
|
1659
|
+
|
|
1660
|
+
# """
|
|
1661
|
+
|
|
1662
|
+
# dlllib.String_Intern.argtypes=[ c_void_p]
|
|
1663
|
+
# dlllib.String_Intern.restype=c_wchar_p
|
|
1664
|
+
# ret = CallCFunction(dlllib.String_Intern, str)
|
|
1665
|
+
# return ret
|
|
1666
|
+
|
|
1667
|
+
|
|
1668
|
+
# @staticmethod
|
|
1669
|
+
|
|
1670
|
+
# def IsInterned(str:str)->str:
|
|
1671
|
+
# """
|
|
1672
|
+
|
|
1673
|
+
# """
|
|
1674
|
+
|
|
1675
|
+
# dlllib.String_IsInterned.argtypes=[ c_void_p]
|
|
1676
|
+
# dlllib.String_IsInterned.restype=c_wchar_p
|
|
1677
|
+
# ret = CallCFunction(dlllib.String_IsInterned, str)
|
|
1678
|
+
# return ret
|
|
1679
|
+
|
|
1680
|
+
|
|
1681
|
+
##
|
|
1682
|
+
## def GetTypeCode(self)->'TypeCode':
|
|
1683
|
+
## """
|
|
1684
|
+
##
|
|
1685
|
+
## """
|
|
1686
|
+
## dlllib.String_GetTypeCode.argtypes=[c_void_p]
|
|
1687
|
+
## dlllib.String_GetTypeCode.restype=c_int
|
|
1688
|
+
## ret = CallCFunction(dlllib.String_GetTypeCode,self.Ptr)
|
|
1689
|
+
## objwraped = TypeCode(ret)
|
|
1690
|
+
## return objwraped
|
|
1691
|
+
|
|
1692
|
+
|
|
1693
|
+
##
|
|
1694
|
+
## def GetEnumerator(self)->'CharEnumerator':
|
|
1695
|
+
## """
|
|
1696
|
+
##
|
|
1697
|
+
## """
|
|
1698
|
+
## dlllib.String_GetEnumerator.argtypes=[c_void_p]
|
|
1699
|
+
## dlllib.String_GetEnumerator.restype=c_void_p
|
|
1700
|
+
## intPtr = CallCFunction(dlllib.String_GetEnumerator,self.Ptr)
|
|
1701
|
+
## ret = None if intPtr==None else CharEnumerator(intPtr)
|
|
1702
|
+
## return ret
|
|
1703
|
+
##
|
|
1704
|
+
|
|
1705
|
+
|
|
1706
|
+
## @staticmethod
|
|
1707
|
+
## @dispatch
|
|
1708
|
+
##
|
|
1709
|
+
## def Join(separator:str,values:'IEnumerable1')->str:
|
|
1710
|
+
## """
|
|
1711
|
+
##
|
|
1712
|
+
## """
|
|
1713
|
+
## intPtrvalues:c_void_p = values.Ptr
|
|
1714
|
+
##
|
|
1715
|
+
## dlllib.String_JoinSV11.argtypes=[ c_void_p,c_void_p]
|
|
1716
|
+
## dlllib.String_JoinSV11.restype=c_wchar_p
|
|
1717
|
+
## ret = CallCFunction(dlllib.String_JoinSV11, separator,intPtrvalues)
|
|
1718
|
+
## return ret
|
|
1719
|
+
##
|
|
1720
|
+
|
|
1721
|
+
|
|
1722
|
+
|
|
1723
|
+
# def get_Chars(self ,index:int)->int:
|
|
1724
|
+
# """
|
|
1725
|
+
|
|
1726
|
+
# """
|
|
1727
|
+
|
|
1728
|
+
# dlllib.String_get_Chars.argtypes=[c_void_p ,c_int]
|
|
1729
|
+
# dlllib.String_get_Chars.restype=c_int
|
|
1730
|
+
# ret = CallCFunction(dlllib.String_get_Chars,self.Ptr, index)
|
|
1731
|
+
# return ret
|
|
1732
|
+
|
|
1733
|
+
# @property
|
|
1734
|
+
# def Length(self)->int:
|
|
1735
|
+
# """
|
|
1736
|
+
|
|
1737
|
+
# """
|
|
1738
|
+
# dlllib.String_get_Length.argtypes=[c_void_p]
|
|
1739
|
+
# dlllib.String_get_Length.restype=c_int
|
|
1740
|
+
# ret = CallCFunction(dlllib.String_get_Length,self.Ptr)
|
|
1741
|
+
# return ret
|
|
1742
|
+
|
|
1743
|
+
## @staticmethod
|
|
1744
|
+
## @dispatch
|
|
1745
|
+
##
|
|
1746
|
+
## def Concat(values:'IEnumerable1')->str:
|
|
1747
|
+
## """
|
|
1748
|
+
##
|
|
1749
|
+
## """
|
|
1750
|
+
## intPtrvalues:c_void_p = values.Ptr
|
|
1751
|
+
##
|
|
1752
|
+
## dlllib.String_ConcatV11.argtypes=[ c_void_p]
|
|
1753
|
+
## dlllib.String_ConcatV11.restype=c_wchar_p
|
|
1754
|
+
## ret = CallCFunction(dlllib.String_ConcatV11, intPtrvalues)
|
|
1755
|
+
## return ret
|
|
1756
|
+
##
|
|
1757
|
+
|
|
1758
|
+
|
|
1759
|
+
# @dispatch
|
|
1760
|
+
|
|
1761
|
+
# def IndexOf(self ,value:int,startIndex:int,count:int)->int:
|
|
1762
|
+
# """
|
|
1763
|
+
|
|
1764
|
+
# """
|
|
1765
|
+
|
|
1766
|
+
# dlllib.String_IndexOfVSC11.argtypes=[c_void_p ,c_void_p,c_int,c_int]
|
|
1767
|
+
# dlllib.String_IndexOfVSC11.restype=c_int
|
|
1768
|
+
# ret = CallCFunction(dlllib.String_IndexOfVSC11,self.Ptr, value,startIndex,count)
|
|
1769
|
+
# return ret
|
|
1770
|
+
|
|
1771
|
+
## @dispatch
|
|
1772
|
+
##
|
|
1773
|
+
## def IndexOfAny(self ,anyOf:'Char[]',startIndex:int,count:int)->int:
|
|
1774
|
+
## """
|
|
1775
|
+
##
|
|
1776
|
+
## """
|
|
1777
|
+
## #arrayanyOf:ArrayTypeanyOf = ""
|
|
1778
|
+
## countanyOf = len(anyOf)
|
|
1779
|
+
## ArrayTypeanyOf = c_void_p * countanyOf
|
|
1780
|
+
## arrayanyOf = ArrayTypeanyOf()
|
|
1781
|
+
## for i in range(0, countanyOf):
|
|
1782
|
+
## arrayanyOf[i] = anyOf[i].Ptr
|
|
1783
|
+
##
|
|
1784
|
+
##
|
|
1785
|
+
## dlllib.String_IndexOfAnyASC.argtypes=[c_void_p ,ArrayTypeanyOf,c_int,c_int]
|
|
1786
|
+
## dlllib.String_IndexOfAnyASC.restype=c_int
|
|
1787
|
+
## ret = CallCFunction(dlllib.String_IndexOfAnyASC,self.Ptr, arrayanyOf,startIndex,count)
|
|
1788
|
+
## return ret
|
|
1789
|
+
|
|
1790
|
+
|
|
1791
|
+
# @dispatch
|
|
1792
|
+
|
|
1793
|
+
# def LastIndexOf(self ,value:int,startIndex:int,count:int)->int:
|
|
1794
|
+
# """
|
|
1795
|
+
|
|
1796
|
+
# """
|
|
1797
|
+
|
|
1798
|
+
# dlllib.String_LastIndexOfVSC11.argtypes=[c_void_p ,c_void_p,c_int,c_int]
|
|
1799
|
+
# dlllib.String_LastIndexOfVSC11.restype=c_int
|
|
1800
|
+
# ret = CallCFunction(dlllib.String_LastIndexOfVSC11,self.Ptr, value,startIndex,count)
|
|
1801
|
+
# return ret
|
|
1802
|
+
|
|
1803
|
+
## @dispatch
|
|
1804
|
+
##
|
|
1805
|
+
## def LastIndexOfAny(self ,anyOf:'Char[]',startIndex:int,count:int)->int:
|
|
1806
|
+
## """
|
|
1807
|
+
##
|
|
1808
|
+
## """
|
|
1809
|
+
## #arrayanyOf:ArrayTypeanyOf = ""
|
|
1810
|
+
## countanyOf = len(anyOf)
|
|
1811
|
+
## ArrayTypeanyOf = c_void_p * countanyOf
|
|
1812
|
+
## arrayanyOf = ArrayTypeanyOf()
|
|
1813
|
+
## for i in range(0, countanyOf):
|
|
1814
|
+
## arrayanyOf[i] = anyOf[i].Ptr
|
|
1815
|
+
##
|
|
1816
|
+
##
|
|
1817
|
+
## dlllib.String_LastIndexOfAnyASC.argtypes=[c_void_p ,ArrayTypeanyOf,c_int,c_int]
|
|
1818
|
+
## dlllib.String_LastIndexOfAnyASC.restype=c_int
|
|
1819
|
+
## ret = CallCFunction(dlllib.String_LastIndexOfAnyASC,self.Ptr, arrayanyOf,startIndex,count)
|
|
1820
|
+
## return ret
|
|
1821
|
+
|
|
1822
|
+
|
|
1823
|
+
# @staticmethod
|
|
1824
|
+
# @dispatch
|
|
1825
|
+
|
|
1826
|
+
# def Format(format:str,args:List[SpireObject])->str:
|
|
1827
|
+
# """
|
|
1828
|
+
|
|
1829
|
+
# """
|
|
1830
|
+
# #arrayargs:ArrayTypeargs = ""
|
|
1831
|
+
# countargs = len(args)
|
|
1832
|
+
# ArrayTypeargs = c_void_p * countargs
|
|
1833
|
+
# arrayargs = ArrayTypeargs()
|
|
1834
|
+
# for i in range(0, countargs):
|
|
1835
|
+
# arrayargs[i] = args[i].Ptr
|
|
1836
|
+
|
|
1837
|
+
|
|
1838
|
+
# dlllib.String_FormatFA.argtypes=[ c_void_p,ArrayTypeargs,c_int]
|
|
1839
|
+
# dlllib.String_FormatFA.restype=c_wchar_p
|
|
1840
|
+
# ret = CallCFunction(dlllib.String_FormatFA, format,arrayargs,countargs)
|
|
1841
|
+
# return ret
|
|
1842
|
+
|
|
1843
|
+
|
|
1844
|
+
## @staticmethod
|
|
1845
|
+
## @dispatch
|
|
1846
|
+
##
|
|
1847
|
+
## def Format(provider:'IFormatProvider',format:str,args:List[SpireObject])->str:
|
|
1848
|
+
## """
|
|
1849
|
+
##
|
|
1850
|
+
## """
|
|
1851
|
+
## intPtrprovider:c_void_p = provider.Ptr
|
|
1852
|
+
## #arrayargs:ArrayTypeargs = ""
|
|
1853
|
+
## countargs = len(args)
|
|
1854
|
+
## ArrayTypeargs = c_void_p * countargs
|
|
1855
|
+
## arrayargs = ArrayTypeargs()
|
|
1856
|
+
## for i in range(0, countargs):
|
|
1857
|
+
## arrayargs[i] = args[i].Ptr
|
|
1858
|
+
##
|
|
1859
|
+
##
|
|
1860
|
+
## dlllib.String_FormatPFA1.argtypes=[ c_void_p,c_void_p,ArrayTypeargs]
|
|
1861
|
+
## dlllib.String_FormatPFA1.restype=c_wchar_p
|
|
1862
|
+
## ret = CallCFunction(dlllib.String_FormatPFA1, intPtrprovider,format,arrayargs)
|
|
1863
|
+
## return ret
|
|
1864
|
+
##
|
|
1865
|
+
|
|
1866
|
+
|
|
1867
|
+
# @staticmethod
|
|
1868
|
+
|
|
1869
|
+
# def Empty()->str:
|
|
1870
|
+
# """
|
|
1871
|
+
|
|
1872
|
+
# """
|
|
1873
|
+
# #dlllib.String_Empty.argtypes=[]
|
|
1874
|
+
# dlllib.String_Empty.restype=c_wchar_p
|
|
1875
|
+
# ret = CallCFunction(dlllib.String_Empty)
|
|
1876
|
+
# return ret
|
|
1877
|
+
|
|
1878
|
+
|