spire-pdf 11.6.1__py3-none-macosx_10_7_universal.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.

Potentially problematic release.


This version of spire-pdf might be problematic. Click here for more details.

Files changed (566) hide show
  1. spire/__init__.py +0 -0
  2. spire/pdf/ArtifactPropertyList.py +13 -0
  3. spire/pdf/AspectRatio.py +16 -0
  4. spire/pdf/BookletOptions.py +40 -0
  5. spire/pdf/Clip.py +16 -0
  6. spire/pdf/Collections_PdfCollection.py +121 -0
  7. spire/pdf/CompressionLevel.py +26 -0
  8. spire/pdf/ConfiguerGraphicType.py +18 -0
  9. spire/pdf/CustomFieldType.py +20 -0
  10. spire/pdf/DataFormat.py +16 -0
  11. spire/pdf/DocxOptions.py +228 -0
  12. spire/pdf/FileFormat.py +26 -0
  13. spire/pdf/FileRelatedFieldType.py +24 -0
  14. spire/pdf/Find_TextFindParameter.py +17 -0
  15. spire/pdf/GraphicMode.py +17 -0
  16. spire/pdf/HtmlConverter.py +564 -0
  17. spire/pdf/HtmlToPdfLayoutParams.py +93 -0
  18. spire/pdf/HtmlToPdfResult.py +36 -0
  19. spire/pdf/HttpMethod.py +14 -0
  20. spire/pdf/HttpReadType.py +15 -0
  21. spire/pdf/IOCSPService.py +27 -0
  22. spire/pdf/IPdfComboBoxField.py +388 -0
  23. spire/pdf/IPdfSignatureAppearance.py +20 -0
  24. spire/pdf/IPdfSignatureFormatter.py +31 -0
  25. spire/pdf/IPdfTextBoxField.py +305 -0
  26. spire/pdf/IStructureNode.py +12 -0
  27. spire/pdf/ITSAService.py +27 -0
  28. spire/pdf/ImageFormatType.py +16 -0
  29. spire/pdf/ImageQuality.py +15 -0
  30. spire/pdf/ImageType.py +14 -0
  31. spire/pdf/ImgData.py +208 -0
  32. spire/pdf/LayerExportState.py +15 -0
  33. spire/pdf/LayerPrintState.py +20 -0
  34. spire/pdf/LayerViewState.py +20 -0
  35. spire/pdf/LineBorder.py +73 -0
  36. spire/pdf/LineInfo.py +53 -0
  37. spire/pdf/LineType.py +17 -0
  38. spire/pdf/LoadHtmlType.py +18 -0
  39. spire/pdf/MergerOptions.py +39 -0
  40. spire/pdf/OCSPHttpService.py +32 -0
  41. spire/pdf/OfdConverter.py +89 -0
  42. spire/pdf/OptimizationOptions.py +85 -0
  43. spire/pdf/PDF3DAnimationType.py +15 -0
  44. spire/pdf/Pdf3DActivation.py +113 -0
  45. spire/pdf/Pdf3DActivationMode.py +20 -0
  46. spire/pdf/Pdf3DActivationState.py +14 -0
  47. spire/pdf/Pdf3DAnimation.py +69 -0
  48. spire/pdf/Pdf3DAnnotation.py +167 -0
  49. spire/pdf/Pdf3DBackground.py +84 -0
  50. spire/pdf/Pdf3DCrossSection.py +144 -0
  51. spire/pdf/Pdf3DCrossSectionCollection.py +117 -0
  52. spire/pdf/Pdf3DDeactivationMode.py +15 -0
  53. spire/pdf/Pdf3DDeactivationState.py +15 -0
  54. spire/pdf/Pdf3DLighting.py +42 -0
  55. spire/pdf/Pdf3DLightingStyle.py +24 -0
  56. spire/pdf/Pdf3DNode.py +98 -0
  57. spire/pdf/Pdf3DNodeCollection.py +123 -0
  58. spire/pdf/Pdf3DProjection.py +120 -0
  59. spire/pdf/Pdf3DProjectionClipStyle.py +15 -0
  60. spire/pdf/Pdf3DProjectionOrthoScaleMode.py +18 -0
  61. spire/pdf/Pdf3DProjectionType.py +15 -0
  62. spire/pdf/Pdf3DRenderStyle.py +44 -0
  63. spire/pdf/Pdf3DRendermode.py +158 -0
  64. spire/pdf/Pdf3DView.py +213 -0
  65. spire/pdf/Pdf3DViewCollection.py +124 -0
  66. spire/pdf/PdfAction.py +31 -0
  67. spire/pdf/PdfActionAnnotation.py +28 -0
  68. spire/pdf/PdfActionCollection.py +110 -0
  69. spire/pdf/PdfActionDestination.py +22 -0
  70. spire/pdf/PdfActionLinkAnnotation.py +37 -0
  71. spire/pdf/PdfAlignmentStyle.py +22 -0
  72. spire/pdf/PdfAnnotation.py +161 -0
  73. spire/pdf/PdfAnnotationActions.py +202 -0
  74. spire/pdf/PdfAnnotationBorder.py +86 -0
  75. spire/pdf/PdfAnnotationCollection.py +164 -0
  76. spire/pdf/PdfAnnotationException.py +13 -0
  77. spire/pdf/PdfAnnotationFlags.py +22 -0
  78. spire/pdf/PdfAnnotationIntent.py +14 -0
  79. spire/pdf/PdfAnnotationWidget.py +47 -0
  80. spire/pdf/PdfAnnotationWidgetCollection.py +68 -0
  81. spire/pdf/PdfAnnotationWidgetTypes.py +46 -0
  82. spire/pdf/PdfAppearance.py +113 -0
  83. spire/pdf/PdfAppearanceField.py +26 -0
  84. spire/pdf/PdfAppearanceState.py +94 -0
  85. spire/pdf/PdfApplicationData.py +24 -0
  86. spire/pdf/PdfAttachment.py +39 -0
  87. spire/pdf/PdfAttachmentAnnotation.py +93 -0
  88. spire/pdf/PdfAttachmentAnnotationWidget.py +61 -0
  89. spire/pdf/PdfAttachmentCollection.py +112 -0
  90. spire/pdf/PdfAttachmentIcon.py +17 -0
  91. spire/pdf/PdfAttachmentRelationship.py +24 -0
  92. spire/pdf/PdfAttributeOwner.py +132 -0
  93. spire/pdf/PdfAutomaticField.py +154 -0
  94. spire/pdf/PdfBarcode.py +180 -0
  95. spire/pdf/PdfBarcodeException.py +13 -0
  96. spire/pdf/PdfBarcodeQuietZones.py +112 -0
  97. spire/pdf/PdfBarcodeTextAlignment.py +15 -0
  98. spire/pdf/PdfBitmap.py +112 -0
  99. spire/pdf/PdfBlend.py +36 -0
  100. spire/pdf/PdfBlendBase.py +37 -0
  101. spire/pdf/PdfBlendMode.py +29 -0
  102. spire/pdf/PdfBookletBindingMode.py +18 -0
  103. spire/pdf/PdfBookletCreator.py +67 -0
  104. spire/pdf/PdfBookmark.py +135 -0
  105. spire/pdf/PdfBookmarkCollection.py +95 -0
  106. spire/pdf/PdfBookmarkWidget.py +87 -0
  107. spire/pdf/PdfBorderEffect.py +15 -0
  108. spire/pdf/PdfBorderOverlapStyle.py +14 -0
  109. spire/pdf/PdfBorderStyle.py +17 -0
  110. spire/pdf/PdfBorders.py +113 -0
  111. spire/pdf/PdfBrush.py +25 -0
  112. spire/pdf/PdfBrushes.py +1846 -0
  113. spire/pdf/PdfButtonField.py +221 -0
  114. spire/pdf/PdfButtonIconLayout.py +92 -0
  115. spire/pdf/PdfButtonIconScaleMode.py +14 -0
  116. spire/pdf/PdfButtonIconScaleReason.py +16 -0
  117. spire/pdf/PdfButtonLayoutMode.py +28 -0
  118. spire/pdf/PdfButtonWidgetFieldWidget.py +92 -0
  119. spire/pdf/PdfButtonWidgetItemCollection.py +23 -0
  120. spire/pdf/PdfButtonWidgetWidgetItem.py +63 -0
  121. spire/pdf/PdfCalGrayColor.py +44 -0
  122. spire/pdf/PdfCalGrayColorSpace.py +96 -0
  123. spire/pdf/PdfCalRGBColor.py +102 -0
  124. spire/pdf/PdfCalRGBColorSpace.py +132 -0
  125. spire/pdf/PdfCanvas.py +1714 -0
  126. spire/pdf/PdfCaretAnnotationWidget.py +21 -0
  127. spire/pdf/PdfCellStyle.py +126 -0
  128. spire/pdf/PdfCertificate.py +19 -0
  129. spire/pdf/PdfCertificationFlags.py +15 -0
  130. spire/pdf/PdfCheckBoxField.py +47 -0
  131. spire/pdf/PdfCheckBoxStyle.py +20 -0
  132. spire/pdf/PdfCheckBoxWidgetFieldWidget.py +61 -0
  133. spire/pdf/PdfCheckBoxWidgetWidgetItem.py +16 -0
  134. spire/pdf/PdfCheckBoxWidgetWidgetItemCollection.py +23 -0
  135. spire/pdf/PdfCheckFieldBase.py +37 -0
  136. spire/pdf/PdfChoiceWidgetFieldWidget.py +114 -0
  137. spire/pdf/PdfCjkFontFamily.py +19 -0
  138. spire/pdf/PdfCjkStandardFont.py +70 -0
  139. spire/pdf/PdfCodabarBarcode.py +38 -0
  140. spire/pdf/PdfCode11Barcode.py +36 -0
  141. spire/pdf/PdfCode128ABarcode.py +36 -0
  142. spire/pdf/PdfCode128BBarcode.py +28 -0
  143. spire/pdf/PdfCode128CBarcode.py +14 -0
  144. spire/pdf/PdfCode32Barcode.py +37 -0
  145. spire/pdf/PdfCode39Barcode.py +37 -0
  146. spire/pdf/PdfCode39ExtendedBarcode.py +25 -0
  147. spire/pdf/PdfCode93Barcode.py +37 -0
  148. spire/pdf/PdfCode93ExtendedBarcode.py +36 -0
  149. spire/pdf/PdfCollection.py +46 -0
  150. spire/pdf/PdfColorBlend.py +37 -0
  151. spire/pdf/PdfColorMask.py +50 -0
  152. spire/pdf/PdfColorSpace.py +17 -0
  153. spire/pdf/PdfColorSpaces.py +12 -0
  154. spire/pdf/PdfColumn.py +67 -0
  155. spire/pdf/PdfColumnCollection.py +34 -0
  156. spire/pdf/PdfComboBoxField.py +47 -0
  157. spire/pdf/PdfComboBoxWidgetFieldWidget.py +74 -0
  158. spire/pdf/PdfComboBoxWidgetItemCollection.py +29 -0
  159. spire/pdf/PdfComboBoxWidgetWidgetItem.py +16 -0
  160. spire/pdf/PdfCompareOptions.py +82 -0
  161. spire/pdf/PdfComparer.py +63 -0
  162. spire/pdf/PdfComplexColor.py +23 -0
  163. spire/pdf/PdfCompositeField.py +205 -0
  164. spire/pdf/PdfCompressionLevel.py +42 -0
  165. spire/pdf/PdfCompressor.py +79 -0
  166. spire/pdf/PdfConformanceException.py +13 -0
  167. spire/pdf/PdfConformanceLevel.py +20 -0
  168. spire/pdf/PdfConvertOptions.py +222 -0
  169. spire/pdf/PdfCreationDateField.py +81 -0
  170. spire/pdf/PdfCrossReferenceType.py +16 -0
  171. spire/pdf/PdfCustomAppearance.py +28 -0
  172. spire/pdf/PdfDashStyle.py +19 -0
  173. spire/pdf/PdfDateTimeField.py +91 -0
  174. spire/pdf/PdfDestination.py +225 -0
  175. spire/pdf/PdfDestinationMode.py +17 -0
  176. spire/pdf/PdfDestinationPageNumberField.py +111 -0
  177. spire/pdf/PdfDeviceColorSpace.py +31 -0
  178. spire/pdf/PdfDockStyle.py +18 -0
  179. spire/pdf/PdfDocument.py +1759 -0
  180. spire/pdf/PdfDocumentActions.py +162 -0
  181. spire/pdf/PdfDocumentAuthorField.py +67 -0
  182. spire/pdf/PdfDocumentBase.py +744 -0
  183. spire/pdf/PdfDocumentException.py +13 -0
  184. spire/pdf/PdfDocumentInformation.py +207 -0
  185. spire/pdf/PdfDocumentLinkAnnotation.py +54 -0
  186. spire/pdf/PdfDocumentLinkAnnotationWidget.py +40 -0
  187. spire/pdf/PdfDocumentPageCollection.py +79 -0
  188. spire/pdf/PdfDocumentPrivilege.py +163 -0
  189. spire/pdf/PdfDocumentTemplate.py +241 -0
  190. spire/pdf/PdfDrawWidget.py +28 -0
  191. spire/pdf/PdfDynamicField.py +13 -0
  192. spire/pdf/PdfEdges.py +99 -0
  193. spire/pdf/PdfEmbeddedFileSpecification.py +135 -0
  194. spire/pdf/PdfEmbeddedGoToAction.py +91 -0
  195. spire/pdf/PdfEncryptionAlgorithm.py +16 -0
  196. spire/pdf/PdfEncryptionKeySize.py +20 -0
  197. spire/pdf/PdfException.py +21 -0
  198. spire/pdf/PdfExtend.py +17 -0
  199. spire/pdf/PdfExtendedAppearance.py +48 -0
  200. spire/pdf/PdfField.py +144 -0
  201. spire/pdf/PdfFieldActions.py +201 -0
  202. spire/pdf/PdfFieldCollection.py +111 -0
  203. spire/pdf/PdfFieldWidget.py +154 -0
  204. spire/pdf/PdfFieldWidgetImportError.py +23 -0
  205. spire/pdf/PdfFieldWidgetItem.py +80 -0
  206. spire/pdf/PdfFileAnnotation.py +49 -0
  207. spire/pdf/PdfFileInfo.py +85 -0
  208. spire/pdf/PdfFileLinkAnnotation.py +76 -0
  209. spire/pdf/PdfFileLinkAnnotationWidget.py +39 -0
  210. spire/pdf/PdfFilePathType.py +14 -0
  211. spire/pdf/PdfFileSpecificationBase.py +36 -0
  212. spire/pdf/PdfFillElement.py +31 -0
  213. spire/pdf/PdfFillMode.py +18 -0
  214. spire/pdf/PdfFolder.py +100 -0
  215. spire/pdf/PdfFont.py +61 -0
  216. spire/pdf/PdfFontBase.py +298 -0
  217. spire/pdf/PdfFontFamily.py +24 -0
  218. spire/pdf/PdfFontStyle.py +17 -0
  219. spire/pdf/PdfFontType.py +20 -0
  220. spire/pdf/PdfForm.py +123 -0
  221. spire/pdf/PdfFormAction.py +54 -0
  222. spire/pdf/PdfFormFieldCollection.py +12 -0
  223. spire/pdf/PdfFormFieldWidgetCollection.py +84 -0
  224. spire/pdf/PdfFormWidget.py +148 -0
  225. spire/pdf/PdfFreeTextAnnotation.py +291 -0
  226. spire/pdf/PdfFreeTextAnnotationWidget.py +129 -0
  227. spire/pdf/PdfGoToAction.py +64 -0
  228. spire/pdf/PdfGotoNameAction.py +32 -0
  229. spire/pdf/PdfGradientBrush.py +65 -0
  230. spire/pdf/PdfGraphicsState.py +12 -0
  231. spire/pdf/PdfGraphicsUnit.py +19 -0
  232. spire/pdf/PdfGraphicsWidget.py +55 -0
  233. spire/pdf/PdfGrayConverter.py +60 -0
  234. spire/pdf/PdfGrid.py +91 -0
  235. spire/pdf/PdfGridCell.py +110 -0
  236. spire/pdf/PdfGridCellCollection.py +71 -0
  237. spire/pdf/PdfGridCellContent.py +158 -0
  238. spire/pdf/PdfGridCellContentList.py +23 -0
  239. spire/pdf/PdfGridCellStyle.py +84 -0
  240. spire/pdf/PdfGridColumn.py +65 -0
  241. spire/pdf/PdfGridColumnCollection.py +119 -0
  242. spire/pdf/PdfGridHeaderCollection.py +73 -0
  243. spire/pdf/PdfGridLayoutFormat.py +12 -0
  244. spire/pdf/PdfGridLayoutResult.py +12 -0
  245. spire/pdf/PdfGridRow.py +89 -0
  246. spire/pdf/PdfGridRowCollection.py +50 -0
  247. spire/pdf/PdfGridRowStyle.py +35 -0
  248. spire/pdf/PdfGridStyle.py +105 -0
  249. spire/pdf/PdfGridStyleBase.py +125 -0
  250. spire/pdf/PdfHTMLTextElement.py +142 -0
  251. spire/pdf/PdfHeaderSource.py +14 -0
  252. spire/pdf/PdfHighlightMode.py +18 -0
  253. spire/pdf/PdfHorizontalAlignment.py +16 -0
  254. spire/pdf/PdfHorizontalOverflowType.py +18 -0
  255. spire/pdf/PdfHtmlLayoutFormat.py +148 -0
  256. spire/pdf/PdfICCColor.py +48 -0
  257. spire/pdf/PdfICCColorSpace.py +80 -0
  258. spire/pdf/PdfImage.py +170 -0
  259. spire/pdf/PdfImageHelper.py +81 -0
  260. spire/pdf/PdfImageMask.py +34 -0
  261. spire/pdf/PdfImageType.py +14 -0
  262. spire/pdf/PdfInkAnnotation.py +28 -0
  263. spire/pdf/PdfInkAnnotationWidget.py +21 -0
  264. spire/pdf/PdfJavaScript.py +214 -0
  265. spire/pdf/PdfJavaScriptAction.py +48 -0
  266. spire/pdf/PdfKnownColor.py +39 -0
  267. spire/pdf/PdfKnownColorSpace.py +61 -0
  268. spire/pdf/PdfLabColor.py +102 -0
  269. spire/pdf/PdfLabColorSpace.py +102 -0
  270. spire/pdf/PdfLaunchAction.py +69 -0
  271. spire/pdf/PdfLayer.py +128 -0
  272. spire/pdf/PdfLayerCollection.py +172 -0
  273. spire/pdf/PdfLayerOutline.py +62 -0
  274. spire/pdf/PdfLayoutBreakType.py +14 -0
  275. spire/pdf/PdfLayoutHTMLResult.py +23 -0
  276. spire/pdf/PdfLayoutParams.py +60 -0
  277. spire/pdf/PdfLayoutResult.py +41 -0
  278. spire/pdf/PdfLayoutType.py +15 -0
  279. spire/pdf/PdfLayoutWidget.py +165 -0
  280. spire/pdf/PdfLineAnnotation.py +310 -0
  281. spire/pdf/PdfLineAnnotationWidget.py +241 -0
  282. spire/pdf/PdfLineBorderStyle.py +17 -0
  283. spire/pdf/PdfLineCap.py +15 -0
  284. spire/pdf/PdfLineCaptionType.py +18 -0
  285. spire/pdf/PdfLineEndingStyle.py +22 -0
  286. spire/pdf/PdfLineIntent.py +14 -0
  287. spire/pdf/PdfLineJoin.py +16 -0
  288. spire/pdf/PdfLinearGradientBrush.py +146 -0
  289. spire/pdf/PdfLinearGradientMode.py +16 -0
  290. spire/pdf/PdfLinkAnnotation.py +31 -0
  291. spire/pdf/PdfList.py +122 -0
  292. spire/pdf/PdfListBase.py +143 -0
  293. spire/pdf/PdfListBoxField.py +50 -0
  294. spire/pdf/PdfListBoxWidgetFieldWidget.py +52 -0
  295. spire/pdf/PdfListField.py +79 -0
  296. spire/pdf/PdfListFieldItem.py +83 -0
  297. spire/pdf/PdfListFieldItemCollection.py +121 -0
  298. spire/pdf/PdfListFieldWidgetItem.py +16 -0
  299. spire/pdf/PdfListItem.py +122 -0
  300. spire/pdf/PdfListItemCollection.py +166 -0
  301. spire/pdf/PdfListMarkerAlignment.py +14 -0
  302. spire/pdf/PdfListWidgetFieldItemCollection.py +23 -0
  303. spire/pdf/PdfListWidgetItem.py +74 -0
  304. spire/pdf/PdfListWidgetItemCollection.py +64 -0
  305. spire/pdf/PdfMDPSignatureMaker.py +54 -0
  306. spire/pdf/PdfMargins.py +170 -0
  307. spire/pdf/PdfMarkUpAnnotationWidget.py +111 -0
  308. spire/pdf/PdfMarker.py +100 -0
  309. spire/pdf/PdfMarkerBase.py +107 -0
  310. spire/pdf/PdfMask.py +13 -0
  311. spire/pdf/PdfMatrix.py +269 -0
  312. spire/pdf/PdfMatrixOrder.py +18 -0
  313. spire/pdf/PdfMerger.py +57 -0
  314. spire/pdf/PdfMetafile.py +83 -0
  315. spire/pdf/PdfMetafileLayoutFormat.py +48 -0
  316. spire/pdf/PdfMultipleNumberValueField.py +37 -0
  317. spire/pdf/PdfMultipleValueField.py +12 -0
  318. spire/pdf/PdfNamedAction.py +37 -0
  319. spire/pdf/PdfNewDocument.py +117 -0
  320. spire/pdf/PdfNewPage.py +34 -0
  321. spire/pdf/PdfNumberStyle.py +18 -0
  322. spire/pdf/PdfOrderedMarker.py +112 -0
  323. spire/pdf/PdfOrdinarySignatureMaker.py +32 -0
  324. spire/pdf/PdfPKCS1Formatter.py +59 -0
  325. spire/pdf/PdfPKCS7Formatter.py +55 -0
  326. spire/pdf/PdfPaddings.py +99 -0
  327. spire/pdf/PdfPageBase.py +665 -0
  328. spire/pdf/PdfPageCollection.py +384 -0
  329. spire/pdf/PdfPageCountField.py +92 -0
  330. spire/pdf/PdfPageLabels.py +124 -0
  331. spire/pdf/PdfPageLayout.py +26 -0
  332. spire/pdf/PdfPageMode.py +18 -0
  333. spire/pdf/PdfPageNumberField.py +67 -0
  334. spire/pdf/PdfPageOrientation.py +15 -0
  335. spire/pdf/PdfPageRotateAngle.py +16 -0
  336. spire/pdf/PdfPageSettings.py +275 -0
  337. spire/pdf/PdfPageSize.py +389 -0
  338. spire/pdf/PdfPageTemplateElement.py +271 -0
  339. spire/pdf/PdfPageTransition.py +172 -0
  340. spire/pdf/PdfPageWidget.py +45 -0
  341. spire/pdf/PdfPageWidgetEnumerator.py +54 -0
  342. spire/pdf/PdfPasswordSecurityPolicy.py +22 -0
  343. spire/pdf/PdfPath.py +420 -0
  344. spire/pdf/PdfPen.py +236 -0
  345. spire/pdf/PdfPens.py +1845 -0
  346. spire/pdf/PdfPermissionsFlags.py +23 -0
  347. spire/pdf/PdfPieceInfo.py +42 -0
  348. spire/pdf/PdfPolyLineAnnotation.py +76 -0
  349. spire/pdf/PdfPolyLineAnnotationWidget.py +21 -0
  350. spire/pdf/PdfPolygonAndPolyLineAnnotationWidget.py +21 -0
  351. spire/pdf/PdfPolygonAnnotation.py +129 -0
  352. spire/pdf/PdfPolygonAnnotationWidget.py +21 -0
  353. spire/pdf/PdfPopupAnnotation.py +118 -0
  354. spire/pdf/PdfPopupAnnotationWidget.py +58 -0
  355. spire/pdf/PdfPopupIcon.py +19 -0
  356. spire/pdf/PdfRGBColor.py +351 -0
  357. spire/pdf/PdfRadialGradientBrush.py +136 -0
  358. spire/pdf/PdfRadioButtonItemCollection.py +124 -0
  359. spire/pdf/PdfRadioButtonListField.py +102 -0
  360. spire/pdf/PdfRadioButtonListFieldWidget.py +114 -0
  361. spire/pdf/PdfRadioButtonListItem.py +91 -0
  362. spire/pdf/PdfRadioButtonWidgetItem.py +60 -0
  363. spire/pdf/PdfRadioButtonWidgetWidgetItemCollection.py +29 -0
  364. spire/pdf/PdfResetAction.py +40 -0
  365. spire/pdf/PdfRow.py +36 -0
  366. spire/pdf/PdfRowCollection.py +50 -0
  367. spire/pdf/PdfRubberStampAnnotation.py +163 -0
  368. spire/pdf/PdfRubberStampAnnotationIcon.py +27 -0
  369. spire/pdf/PdfRubberStampAnnotationWidget.py +40 -0
  370. spire/pdf/PdfSection.py +91 -0
  371. spire/pdf/PdfSectionCollection.py +96 -0
  372. spire/pdf/PdfSectionNumberField.py +67 -0
  373. spire/pdf/PdfSectionPageCollection.py +112 -0
  374. spire/pdf/PdfSectionPageCountField.py +64 -0
  375. spire/pdf/PdfSectionPageNumberField.py +64 -0
  376. spire/pdf/PdfSectionTemplate.py +102 -0
  377. spire/pdf/PdfSecurity.py +158 -0
  378. spire/pdf/PdfSecurityPolicy.py +59 -0
  379. spire/pdf/PdfSeparationColor.py +36 -0
  380. spire/pdf/PdfSeparationColorSpace.py +69 -0
  381. spire/pdf/PdfShapeWidget.py +25 -0
  382. spire/pdf/PdfSignature.py +97 -0
  383. spire/pdf/PdfSignatureAppearance.py +153 -0
  384. spire/pdf/PdfSignatureAppearanceField.py +26 -0
  385. spire/pdf/PdfSignatureField.py +79 -0
  386. spire/pdf/PdfSignatureFieldWidget.py +41 -0
  387. spire/pdf/PdfSignatureMaker.py +165 -0
  388. spire/pdf/PdfSignatureProperties.py +61 -0
  389. spire/pdf/PdfSignatureStyledField.py +192 -0
  390. spire/pdf/PdfSinglePageScalingMode.py +22 -0
  391. spire/pdf/PdfSingleValueField.py +13 -0
  392. spire/pdf/PdfSolidBrush.py +78 -0
  393. spire/pdf/PdfSortedList.py +146 -0
  394. spire/pdf/PdfSound.py +104 -0
  395. spire/pdf/PdfSoundAction.py +176 -0
  396. spire/pdf/PdfSoundAnnotation.py +86 -0
  397. spire/pdf/PdfSoundAnnotationWidget.py +69 -0
  398. spire/pdf/PdfSoundChannels.py +18 -0
  399. spire/pdf/PdfSoundEncoding.py +22 -0
  400. spire/pdf/PdfSoundIcon.py +15 -0
  401. spire/pdf/PdfSquareAnnotationWidget.py +45 -0
  402. spire/pdf/PdfStampCollection.py +115 -0
  403. spire/pdf/PdfStandardStructTypes.py +630 -0
  404. spire/pdf/PdfStandardsConverter.py +217 -0
  405. spire/pdf/PdfStateFieldWidget.py +32 -0
  406. spire/pdf/PdfStateItemCollection.py +29 -0
  407. spire/pdf/PdfStateWidgetItem.py +30 -0
  408. spire/pdf/PdfStateWidgetItemCollection.py +23 -0
  409. spire/pdf/PdfStaticField.py +13 -0
  410. spire/pdf/PdfStringFormat.py +284 -0
  411. spire/pdf/PdfStringLayoutResult.py +54 -0
  412. spire/pdf/PdfStringLayouter.py +44 -0
  413. spire/pdf/PdfStructContentItem.py +13 -0
  414. spire/pdf/PdfStructureAttributes.py +83 -0
  415. spire/pdf/PdfStructureElement.py +135 -0
  416. spire/pdf/PdfStructureTreeRoot.py +51 -0
  417. spire/pdf/PdfStyledAnnotationWidget.py +153 -0
  418. spire/pdf/PdfStyledField.py +233 -0
  419. spire/pdf/PdfStyledFieldWidget.py +329 -0
  420. spire/pdf/PdfSubSuperScript.py +15 -0
  421. spire/pdf/PdfSubmitAction.py +212 -0
  422. spire/pdf/PdfSubmitFormFlags.py +25 -0
  423. spire/pdf/PdfTable.py +421 -0
  424. spire/pdf/PdfTableDataSourceType.py +15 -0
  425. spire/pdf/PdfTableException.py +13 -0
  426. spire/pdf/PdfTableExtractor.py +42 -0
  427. spire/pdf/PdfTableLayoutFormat.py +42 -0
  428. spire/pdf/PdfTableLayoutResult.py +22 -0
  429. spire/pdf/PdfTableStyle.py +199 -0
  430. spire/pdf/PdfTaggedContent.py +45 -0
  431. spire/pdf/PdfTemplate.py +124 -0
  432. spire/pdf/PdfTexBoxWidgetItem.py +12 -0
  433. spire/pdf/PdfTextAlignment.py +16 -0
  434. spire/pdf/PdfTextAnnotationIcon.py +19 -0
  435. spire/pdf/PdfTextAnnotationWidget.py +21 -0
  436. spire/pdf/PdfTextBoxField.py +220 -0
  437. spire/pdf/PdfTextBoxFieldWidget.py +212 -0
  438. spire/pdf/PdfTextBoxWidgetItemCollection.py +29 -0
  439. spire/pdf/PdfTextExtractOptions.py +75 -0
  440. spire/pdf/PdfTextExtractor.py +35 -0
  441. spire/pdf/PdfTextFind.py +308 -0
  442. spire/pdf/PdfTextFindCollection.py +23 -0
  443. spire/pdf/PdfTextFindOptions.py +71 -0
  444. spire/pdf/PdfTextFinder.py +81 -0
  445. spire/pdf/PdfTextFragment.py +105 -0
  446. spire/pdf/PdfTextLayout.py +101 -0
  447. spire/pdf/PdfTextLayoutResult.py +33 -0
  448. spire/pdf/PdfTextMarkupAnnotation.py +126 -0
  449. spire/pdf/PdfTextMarkupAnnotationType.py +22 -0
  450. spire/pdf/PdfTextMarkupAnnotationWidget.py +53 -0
  451. spire/pdf/PdfTextReplaceOptions.py +37 -0
  452. spire/pdf/PdfTextReplacer.py +89 -0
  453. spire/pdf/PdfTextState.py +83 -0
  454. spire/pdf/PdfTextStyle.py +15 -0
  455. spire/pdf/PdfTextWebLink.py +63 -0
  456. spire/pdf/PdfTextWebLinkAnnotationWidget.py +39 -0
  457. spire/pdf/PdfTextWidget.py +227 -0
  458. spire/pdf/PdfTilingBrush.py +103 -0
  459. spire/pdf/PdfToDocConverter.py +123 -0
  460. spire/pdf/PdfToHtmlParameter.py +48 -0
  461. spire/pdf/PdfToLinearizedPdfConverter.py +65 -0
  462. spire/pdf/PdfToWordConverter.py +90 -0
  463. spire/pdf/PdfTransitionDimension.py +18 -0
  464. spire/pdf/PdfTransitionDirection.py +17 -0
  465. spire/pdf/PdfTransitionMotion.py +15 -0
  466. spire/pdf/PdfTransitionStyle.py +38 -0
  467. spire/pdf/PdfTrueTypeFont.py +58 -0
  468. spire/pdf/PdfUnidimensionalBarcode.py +173 -0
  469. spire/pdf/PdfUnitConvertor.py +151 -0
  470. spire/pdf/PdfUnorderedMarkerStyle.py +21 -0
  471. spire/pdf/PdfUriAction.py +30 -0
  472. spire/pdf/PdfUriAnnotation.py +72 -0
  473. spire/pdf/PdfUriAnnotationWidget.py +39 -0
  474. spire/pdf/PdfUsedFont.py +83 -0
  475. spire/pdf/PdfVersion.py +20 -0
  476. spire/pdf/PdfVerticalAlignment.py +16 -0
  477. spire/pdf/PdfViewerPreferences.py +162 -0
  478. spire/pdf/PdfVisibility.py +15 -0
  479. spire/pdf/PdfWatermarkAnnotation.py +86 -0
  480. spire/pdf/PdfWatermarkAnnotationWidget.py +19 -0
  481. spire/pdf/PdfWebLinkAnnotationWidget.py +21 -0
  482. spire/pdf/PdfWordWrapType.py +16 -0
  483. spire/pdf/PrintScalingMode.py +16 -0
  484. spire/pdf/ReplaceActionType.py +24 -0
  485. spire/pdf/Security_GraphicMode.py +17 -0
  486. spire/pdf/Security_IPdfSignatureFormatter.py +27 -0
  487. spire/pdf/Security_PdfSignature.py +703 -0
  488. spire/pdf/Security_SignImageLayout.py +18 -0
  489. spire/pdf/SignImageLayout.py +15 -0
  490. spire/pdf/SignInfoType.py +22 -0
  491. spire/pdf/SignTextAlignment.py +15 -0
  492. spire/pdf/SignatureConfiguerText.py +30 -0
  493. spire/pdf/SimpleTextExtractionStrategy.py +17 -0
  494. spire/pdf/StoreType.py +17 -0
  495. spire/pdf/SubmitDataFormat.py +16 -0
  496. spire/pdf/TSAHttpService.py +36 -0
  497. spire/pdf/TabOrder.py +22 -0
  498. spire/pdf/TableWidthType.py +14 -0
  499. spire/pdf/TextAlign.py +22 -0
  500. spire/pdf/TextFindParameter.py +22 -0
  501. spire/pdf/TextLocation.py +15 -0
  502. spire/pdf/Utilities_PdfImageInfo.py +68 -0
  503. spire/pdf/Utilities_PdfTable.py +48 -0
  504. spire/pdf/XFAForm.py +68 -0
  505. spire/pdf/XfaBarcodeField.py +84 -0
  506. spire/pdf/XfaButtonField.py +12 -0
  507. spire/pdf/XfaCheckButtonField.py +30 -0
  508. spire/pdf/XfaChoiceListField.py +53 -0
  509. spire/pdf/XfaDateTimeField.py +43 -0
  510. spire/pdf/XfaDoubleField.py +30 -0
  511. spire/pdf/XfaField.py +43 -0
  512. spire/pdf/XfaFloatField.py +30 -0
  513. spire/pdf/XfaImageField.py +49 -0
  514. spire/pdf/XfaIntField.py +30 -0
  515. spire/pdf/XfaSignatureField.py +12 -0
  516. spire/pdf/XfaTextField.py +30 -0
  517. spire/pdf/XlsxLineLayoutOptions.py +69 -0
  518. spire/pdf/XlsxOptions.py +12 -0
  519. spire/pdf/XlsxTextLayoutOptions.py +18 -0
  520. spire/pdf/__init__.py +699 -0
  521. spire/pdf/common/Boolean.py +194 -0
  522. spire/pdf/common/Byte.py +258 -0
  523. spire/pdf/common/Char.py +742 -0
  524. spire/pdf/common/Color.py +2189 -0
  525. spire/pdf/common/Common.py +152 -0
  526. spire/pdf/common/CultureInfo.py +567 -0
  527. spire/pdf/common/DateTime.py +1149 -0
  528. spire/pdf/common/Double.py +440 -0
  529. spire/pdf/common/EmfType.py +25 -0
  530. spire/pdf/common/Encoding.py +930 -0
  531. spire/pdf/common/FontStyle.py +27 -0
  532. spire/pdf/common/GraphicsUnit.py +29 -0
  533. spire/pdf/common/ICollection.py +73 -0
  534. spire/pdf/common/IDictionary.py +124 -0
  535. spire/pdf/common/IEnumerable.py +44 -0
  536. spire/pdf/common/IEnumerator.py +62 -0
  537. spire/pdf/common/IList.py +148 -0
  538. spire/pdf/common/Int16.py +274 -0
  539. spire/pdf/common/Int32.py +282 -0
  540. spire/pdf/common/Int64.py +258 -0
  541. spire/pdf/common/License.py +177 -0
  542. spire/pdf/common/PixelFormat.py +45 -0
  543. spire/pdf/common/Point.py +300 -0
  544. spire/pdf/common/PointF.py +276 -0
  545. spire/pdf/common/Rectangle.py +451 -0
  546. spire/pdf/common/RectangleF.py +438 -0
  547. spire/pdf/common/Regex.py +964 -0
  548. spire/pdf/common/RegexOptions.py +31 -0
  549. spire/pdf/common/Single.py +418 -0
  550. spire/pdf/common/Size.py +273 -0
  551. spire/pdf/common/SizeF.py +261 -0
  552. spire/pdf/common/SpireObject.py +81 -0
  553. spire/pdf/common/Stream.py +552 -0
  554. spire/pdf/common/String.py +1880 -0
  555. spire/pdf/common/TimeSpan.py +874 -0
  556. spire/pdf/common/UInt16.py +274 -0
  557. spire/pdf/common/UInt32.py +274 -0
  558. spire/pdf/common/UInt64.py +274 -0
  559. spire/pdf/common/__init__.py +383 -0
  560. spire/pdf/lib/Spire.Pdf.Base.dylib +0 -0
  561. spire/pdf/lib/__init__.py +0 -0
  562. spire/pdf/lib/libSkiaSharp.dylib +0 -0
  563. spire_pdf-11.6.1.dist-info/METADATA +149 -0
  564. spire_pdf-11.6.1.dist-info/RECORD +566 -0
  565. spire_pdf-11.6.1.dist-info/WHEEL +5 -0
  566. spire_pdf-11.6.1.dist-info/top_level.txt +1 -0
@@ -0,0 +1,1880 @@
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
+ elif __package__ == "spire.ocr.common" :
11
+ from spire.ocr.common import *
12
+ else :
13
+ from spire.presentation.common import *
14
+ #from spire.xls import *
15
+ from ctypes import *
16
+ import abc
17
+
18
+ class String ( SpireObject) :
19
+ """
20
+
21
+ """
22
+ @dispatch
23
+ def __init__(self):
24
+ dlllib.String_Create.restype = c_void_p
25
+ intPtr = CallCFunction(dlllib.String_Create)
26
+ super(String, self).__init__(intPtr)
27
+ @dispatch
28
+ def __init__(self, value:str):
29
+ if __package__ == "spire.presentation.common":
30
+ valuePtr = StrToPtr(value)
31
+ dlllib.String_CreateV.argtypes=[ c_void_p]
32
+ dlllib.String_CreateV.restype = c_void_p
33
+ intPtr = CallCFunction(dlllib.String_CreateV,valuePtr)
34
+ super(String, self).__init__(intPtr)
35
+ else:
36
+ dlllib.String_CreateV.argtypes=[ c_wchar_p]
37
+ dlllib.String_CreateV.restype = c_void_p
38
+ intPtr = CallCFunction(dlllib.String_CreateV,value)
39
+ super(String, self).__init__(intPtr)
40
+
41
+ def __str__(self):
42
+ return self.Value
43
+
44
+ @property
45
+ def Value(self)->str:
46
+ """
47
+
48
+ """
49
+ dlllib.String_Value.argtypes=[ c_void_p]
50
+ dlllib.String_Value.restype=c_void_p
51
+ ret = PtrToStr(CallCFunction(dlllib.String_Value, self.Ptr))
52
+ return ret
53
+
54
+ # @staticmethod
55
+ # @dispatch
56
+
57
+ # def Join(separator:str,value:List[str])->str:
58
+ # """
59
+
60
+ # """
61
+ # #arrayvalue:ArrayTypevalue = ""
62
+ # countvalue = len(value)
63
+ # ArrayTypevalue = c_wchar_p * countvalue
64
+ # arrayvalue = ArrayTypevalue()
65
+ # for i in range(0, countvalue):
66
+ # arrayvalue[i] = value[i]
67
+
68
+
69
+ # dlllib.String_Join.argtypes=[ c_void_p,ArrayTypevalue,c_int]
70
+ # dlllib.String_Join.restype=c_wchar_p
71
+ # ret = CallCFunction(dlllib.String_Join, separator,arrayvalue,countvalue)
72
+ # return ret
73
+
74
+
75
+ # @staticmethod
76
+ # @dispatch
77
+
78
+ # def Join(separator:str,values:List[SpireObject])->str:
79
+ # """
80
+
81
+ # """
82
+ # #arrayvalues:ArrayTypevalues = ""
83
+ # countvalues = len(values)
84
+ # ArrayTypevalues = c_void_p * countvalues
85
+ # arrayvalues = ArrayTypevalues()
86
+ # for i in range(0, countvalues):
87
+ # arrayvalues[i] = values[i].Ptr
88
+
89
+
90
+ # dlllib.String_JoinSV.argtypes=[ c_void_p,ArrayTypevalues,c_int]
91
+ # dlllib.String_JoinSV.restype=c_wchar_p
92
+ # ret = CallCFunction(dlllib.String_JoinSV, separator,arrayvalues,countvalue)
93
+ # return ret
94
+
95
+
96
+ ## @staticmethod
97
+ ## @dispatch
98
+ ##
99
+ ## def Join(separator:str,values:'IEnumerable1')->str:
100
+ ## """
101
+ ##
102
+ ## """
103
+ ## intPtrvalues:c_void_p = values.Ptr
104
+ ##
105
+ ## dlllib.String_JoinSV1.argtypes=[ c_void_p,c_void_p]
106
+ ## dlllib.String_JoinSV1.restype=c_wchar_p
107
+ ## ret = CallCFunction(dlllib.String_JoinSV1, separator,intPtrvalues)
108
+ ## return ret
109
+ ##
110
+
111
+
112
+ # @staticmethod
113
+ # @dispatch
114
+
115
+ # def Join(separator:str,value:List[str],startIndex:int,count:int)->str:
116
+ # """
117
+
118
+ # """
119
+ # #arrayvalue:ArrayTypevalue = ""
120
+ # countvalue = len(value)
121
+ # ArrayTypevalue = c_wchar_p * countvalue
122
+ # arrayvalue = ArrayTypevalue()
123
+ # for i in range(0, countvalue):
124
+ # arrayvalue[i] = value[i]
125
+
126
+
127
+ # dlllib.String_JoinSVSC.argtypes=[ c_void_p,ArrayTypevalue,c_int,c_int,c_int]
128
+ # dlllib.String_JoinSVSC.restype=c_wchar_p
129
+ # ret = CallCFunction(dlllib.String_JoinSVSC, separator,arrayvalue,startIndex,count,countvalue)
130
+ # return ret
131
+
132
+
133
+ # @dispatch
134
+
135
+ # def Equals(self ,obj:SpireObject)->bool:
136
+ # """
137
+
138
+ # """
139
+ # intPtrobj:c_void_p = obj.Ptr
140
+
141
+ # dlllib.String_Equals.argtypes=[c_void_p ,c_void_p]
142
+ # dlllib.String_Equals.restype=c_bool
143
+ # ret = CallCFunction(dlllib.String_Equals,self.Ptr, intPtrobj)
144
+ # return ret
145
+
146
+ # @dispatch
147
+
148
+ # def Equals(self ,value:str)->bool:
149
+ # """
150
+
151
+ # """
152
+
153
+ # dlllib.String_EqualsV.argtypes=[c_void_p ,c_void_p]
154
+ # dlllib.String_EqualsV.restype=c_bool
155
+ # ret = CallCFunction(dlllib.String_EqualsV,self.Ptr, value)
156
+ # return ret
157
+
158
+ ## @dispatch
159
+ ##
160
+ ## def Equals(self ,value:str,comparisonType:'StringComparison')->bool:
161
+ ## """
162
+ ##
163
+ ## """
164
+ ## enumcomparisonType:c_int = comparisonType.value
165
+ ##
166
+ ## dlllib.String_EqualsVC.argtypes=[c_void_p ,c_void_p,c_int]
167
+ ## dlllib.String_EqualsVC.restype=c_bool
168
+ ## ret = CallCFunction(dlllib.String_EqualsVC,self.Ptr, value,enumcomparisonType)
169
+ ## return ret
170
+
171
+
172
+ # @staticmethod
173
+ # @dispatch
174
+
175
+ # def Equals(a:str,b:str)->bool:
176
+ # """
177
+
178
+ # """
179
+
180
+ # dlllib.String_EqualsAB.argtypes=[ c_void_p,c_void_p]
181
+ # dlllib.String_EqualsAB.restype=c_bool
182
+ # ret = CallCFunction(dlllib.String_EqualsAB, a,b)
183
+ # return ret
184
+
185
+ ## @staticmethod
186
+ ## @dispatch
187
+ ##
188
+ ## def Equals(a:str,b:str,comparisonType:'StringComparison')->bool:
189
+ ## """
190
+ ##
191
+ ## """
192
+ ## enumcomparisonType:c_int = comparisonType.value
193
+ ##
194
+ ## dlllib.String_EqualsABC.argtypes=[ c_void_p,c_void_p,c_int]
195
+ ## dlllib.String_EqualsABC.restype=c_bool
196
+ ## ret = CallCFunction(dlllib.String_EqualsABC, a,b,enumcomparisonType)
197
+ ## return ret
198
+
199
+
200
+ # @staticmethod
201
+
202
+ # def op_Equality(a:str,b:str)->bool:
203
+ # """
204
+
205
+ # """
206
+
207
+ # dlllib.String_op_Equality.argtypes=[ c_void_p,c_void_p]
208
+ # dlllib.String_op_Equality.restype=c_bool
209
+ # ret = CallCFunction(dlllib.String_op_Equality, a,b)
210
+ # return ret
211
+
212
+ # @staticmethod
213
+
214
+ # def op_Inequality(a:str,b:str)->bool:
215
+ # """
216
+
217
+ # """
218
+
219
+ # dlllib.String_op_Inequality.argtypes=[ c_void_p,c_void_p]
220
+ # dlllib.String_op_Inequality.restype=c_bool
221
+ # ret = CallCFunction(dlllib.String_op_Inequality, a,b)
222
+ # return ret
223
+
224
+ ##
225
+ ## def CopyTo(self ,sourceIndex:int,destination:'Char[]',destinationIndex:int,count:int):
226
+ ## """
227
+ ##
228
+ ## """
229
+ ## #arraydestination:ArrayTypedestination = ""
230
+ ## countdestination = len(destination)
231
+ ## ArrayTypedestination = c_void_p * countdestination
232
+ ## arraydestination = ArrayTypedestination()
233
+ ## for i in range(0, countdestination):
234
+ ## arraydestination[i] = destination[i].Ptr
235
+ ##
236
+ ##
237
+ ## dlllib.String_CopyTo.argtypes=[c_void_p ,c_int,ArrayTypedestination,c_int,c_int]
238
+ ## CallCFunction(dlllib.String_CopyTo,self.Ptr, sourceIndex,arraydestination,destinationIndex,count)
239
+
240
+
241
+ ## @dispatch
242
+ ##
243
+ ## def ToCharArray(self)->List[Char]:
244
+ ## """
245
+ ##
246
+ ## """
247
+ ## dlllib.String_ToCharArray.argtypes=[c_void_p]
248
+ ## dlllib.String_ToCharArray.restype=IntPtrArray
249
+ ## intPtrArray = CallCFunction(dlllib.String_ToCharArray,self.Ptr)
250
+ ## ret = GetVectorFromArray(intPtrArray, Char)
251
+ ## return ret
252
+
253
+
254
+ ## @dispatch
255
+ ##
256
+ ## def ToCharArray(self ,startIndex:int,length:int)->List[Char]:
257
+ ## """
258
+ ##
259
+ ## """
260
+ ##
261
+ ## dlllib.String_ToCharArraySL.argtypes=[c_void_p ,c_int,c_int]
262
+ ## dlllib.String_ToCharArraySL.restype=IntPtrArray
263
+ ## intPtrArray = CallCFunction(dlllib.String_ToCharArraySL,self.Ptr, startIndex,length)
264
+ ## ret = GetObjVectorFromArray(intPtrArray, Char)
265
+ ## return ret
266
+
267
+
268
+ # @staticmethod
269
+
270
+ # def IsNullOrEmpty(value:str)->bool:
271
+ # """
272
+
273
+ # """
274
+
275
+ # dlllib.String_IsNullOrEmpty.argtypes=[ c_void_p]
276
+ # dlllib.String_IsNullOrEmpty.restype=c_bool
277
+ # ret = CallCFunction(dlllib.String_IsNullOrEmpty, value)
278
+ # return ret
279
+
280
+ # @staticmethod
281
+
282
+ # def IsNullOrWhiteSpace(value:str)->bool:
283
+ # """
284
+
285
+ # """
286
+
287
+ # dlllib.String_IsNullOrWhiteSpace.argtypes=[ c_void_p]
288
+ # dlllib.String_IsNullOrWhiteSpace.restype=c_bool
289
+ # ret = CallCFunction(dlllib.String_IsNullOrWhiteSpace, value)
290
+ # return ret
291
+
292
+ # def GetHashCode(self)->int:
293
+ # """
294
+
295
+ # """
296
+ # dlllib.String_GetHashCode.argtypes=[c_void_p]
297
+ # dlllib.String_GetHashCode.restype=c_int
298
+ # ret = CallCFunction(dlllib.String_GetHashCode,self.Ptr)
299
+ # return ret
300
+
301
+ ## @dispatch
302
+ ##
303
+ ## def Split(self ,separator:'Char[]')->List[str]:
304
+ ## """
305
+ ##
306
+ ## """
307
+ ## #arrayseparator:ArrayTypeseparator = ""
308
+ ## countseparator = len(separator)
309
+ ## ArrayTypeseparator = c_void_p * countseparator
310
+ ## arrayseparator = ArrayTypeseparator()
311
+ ## for i in range(0, countseparator):
312
+ ## arrayseparator[i] = separator[i].Ptr
313
+ ##
314
+ ##
315
+ ## dlllib.String_Split.argtypes=[c_void_p ,ArrayTypeseparator]
316
+ ## dlllib.String_Split.restype=IntPtrArray
317
+ ## intPtrArray = CallCFunction(dlllib.String_Split,self.Ptr, arrayseparator)
318
+ ## ret = GetVectorFromArray(intPtrArray, c_wchar_p)
319
+ ## return ret
320
+
321
+
322
+ ## @dispatch
323
+ ##
324
+ ## def Split(self ,separator:'Char[]',count:int)->List[str]:
325
+ ## """
326
+ ##
327
+ ## """
328
+ ## #arrayseparator:ArrayTypeseparator = ""
329
+ ## countseparator = len(separator)
330
+ ## ArrayTypeseparator = c_void_p * countseparator
331
+ ## arrayseparator = ArrayTypeseparator()
332
+ ## for i in range(0, countseparator):
333
+ ## arrayseparator[i] = separator[i].Ptr
334
+ ##
335
+ ##
336
+ ## dlllib.String_SplitSC.argtypes=[c_void_p ,ArrayTypeseparator,c_int]
337
+ ## dlllib.String_SplitSC.restype=IntPtrArray
338
+ ## intPtrArray = CallCFunction(dlllib.String_SplitSC,self.Ptr, arrayseparator,count)
339
+ ## ret = GetVectorFromArray(intPtrArray, c_wchar_p)
340
+ ## return ret
341
+
342
+
343
+ ## @dispatch
344
+ ##
345
+ ## def Split(self ,separator:'Char[]',options:'StringSplitOptions')->List[str]:
346
+ ## """
347
+ ##
348
+ ## """
349
+ ## #arrayseparator:ArrayTypeseparator = ""
350
+ ## countseparator = len(separator)
351
+ ## ArrayTypeseparator = c_void_p * countseparator
352
+ ## arrayseparator = ArrayTypeseparator()
353
+ ## for i in range(0, countseparator):
354
+ ## arrayseparator[i] = separator[i].Ptr
355
+ ##
356
+ ## enumoptions:c_int = options.value
357
+ ##
358
+ ## dlllib.String_SplitSO.argtypes=[c_void_p ,ArrayTypeseparator,c_int]
359
+ ## dlllib.String_SplitSO.restype=IntPtrArray
360
+ ## intPtrArray = CallCFunction(dlllib.String_SplitSO,self.Ptr, arrayseparator,enumoptions)
361
+ ## ret = GetVectorFromArray(intPtrArray, c_wchar_p)
362
+ ## return ret
363
+
364
+
365
+ ## @dispatch
366
+ ##
367
+ ## def Split(self ,separator:'Char[]',count:int,options:'StringSplitOptions')->List[str]:
368
+ ## """
369
+ ##
370
+ ## """
371
+ ## #arrayseparator:ArrayTypeseparator = ""
372
+ ## countseparator = len(separator)
373
+ ## ArrayTypeseparator = c_void_p * countseparator
374
+ ## arrayseparator = ArrayTypeseparator()
375
+ ## for i in range(0, countseparator):
376
+ ## arrayseparator[i] = separator[i].Ptr
377
+ ##
378
+ ## enumoptions:c_int = options.value
379
+ ##
380
+ ## dlllib.String_SplitSCO.argtypes=[c_void_p ,ArrayTypeseparator,c_int,c_int]
381
+ ## dlllib.String_SplitSCO.restype=IntPtrArray
382
+ ## intPtrArray = CallCFunction(dlllib.String_SplitSCO,self.Ptr, arrayseparator,count,enumoptions)
383
+ ## ret = GetVectorFromArray(intPtrArray, c_wchar_p)
384
+ ## return ret
385
+
386
+
387
+ ## @dispatch
388
+ ##
389
+ ## def Split(self ,separator:List[str],options:'StringSplitOptions')->List[str]:
390
+ ## """
391
+ ##
392
+ ## """
393
+ ## #arrayseparator:ArrayTypeseparator = ""
394
+ ## countseparator = len(separator)
395
+ ## ArrayTypeseparator = c_wchar_p * countseparator
396
+ ## arrayseparator = ArrayTypeseparator()
397
+ ## for i in range(0, countseparator):
398
+ ## arrayseparator[i] = separator[i]
399
+ ##
400
+ ## enumoptions:c_int = options.value
401
+ ##
402
+ ## dlllib.String_SplitSO1.argtypes=[c_void_p ,ArrayTypeseparator,c_int]
403
+ ## dlllib.String_SplitSO1.restype=IntPtrArray
404
+ ## intPtrArray = CallCFunction(dlllib.String_SplitSO1,self.Ptr, arrayseparator,enumoptions)
405
+ ## ret = GetVectorFromArray(intPtrArray, c_wchar_p)
406
+ ## return ret
407
+
408
+
409
+ ## @dispatch
410
+ ##
411
+ ## def Split(self ,separator:List[str],count:int,options:'StringSplitOptions')->List[str]:
412
+ ## """
413
+ ##
414
+ ## """
415
+ ## #arrayseparator:ArrayTypeseparator = ""
416
+ ## countseparator = len(separator)
417
+ ## ArrayTypeseparator = c_wchar_p * countseparator
418
+ ## arrayseparator = ArrayTypeseparator()
419
+ ## for i in range(0, countseparator):
420
+ ## arrayseparator[i] = separator[i]
421
+ ##
422
+ ## enumoptions:c_int = options.value
423
+ ##
424
+ ## dlllib.String_SplitSCO1.argtypes=[c_void_p ,ArrayTypeseparator,c_int,c_int]
425
+ ## dlllib.String_SplitSCO1.restype=IntPtrArray
426
+ ## intPtrArray = CallCFunction(dlllib.String_SplitSCO1,self.Ptr, arrayseparator,count,enumoptions)
427
+ ## ret = GetVectorFromArray(intPtrArray, c_wchar_p)
428
+ ## return ret
429
+
430
+
431
+ # @dispatch
432
+
433
+ # def Substring(self ,startIndex:int)->str:
434
+ # """
435
+
436
+ # """
437
+
438
+ # dlllib.String_Substring.argtypes=[c_void_p ,c_int]
439
+ # dlllib.String_Substring.restype=c_wchar_p
440
+ # ret = CallCFunction(dlllib.String_Substring,self.Ptr, startIndex)
441
+ # return ret
442
+
443
+
444
+ # @dispatch
445
+
446
+ # def Substring(self ,startIndex:int,length:int)->str:
447
+ # """
448
+
449
+ # """
450
+
451
+ # dlllib.String_SubstringSL.argtypes=[c_void_p ,c_int,c_int]
452
+ # dlllib.String_SubstringSL.restype=c_wchar_p
453
+ # ret = CallCFunction(dlllib.String_SubstringSL,self.Ptr, startIndex,length)
454
+ # return ret
455
+
456
+
457
+ ## @dispatch
458
+ ##
459
+ ## def Trim(self ,trimChars:'Char[]')->str:
460
+ ## """
461
+ ##
462
+ ## """
463
+ ## #arraytrimChars:ArrayTypetrimChars = ""
464
+ ## counttrimChars = len(trimChars)
465
+ ## ArrayTypetrimChars = c_void_p * counttrimChars
466
+ ## arraytrimChars = ArrayTypetrimChars()
467
+ ## for i in range(0, counttrimChars):
468
+ ## arraytrimChars[i] = trimChars[i].Ptr
469
+ ##
470
+ ##
471
+ ## dlllib.String_Trim.argtypes=[c_void_p ,ArrayTypetrimChars]
472
+ ## dlllib.String_Trim.restype=c_wchar_p
473
+ ## ret = CallCFunction(dlllib.String_Trim,self.Ptr, arraytrimChars)
474
+ ## return ret
475
+ ##
476
+
477
+
478
+ ##
479
+ ## def TrimStart(self ,trimChars:'Char[]')->str:
480
+ ## """
481
+ ##
482
+ ## """
483
+ ## #arraytrimChars:ArrayTypetrimChars = ""
484
+ ## counttrimChars = len(trimChars)
485
+ ## ArrayTypetrimChars = c_void_p * counttrimChars
486
+ ## arraytrimChars = ArrayTypetrimChars()
487
+ ## for i in range(0, counttrimChars):
488
+ ## arraytrimChars[i] = trimChars[i].Ptr
489
+ ##
490
+ ##
491
+ ## dlllib.String_TrimStart.argtypes=[c_void_p ,ArrayTypetrimChars]
492
+ ## dlllib.String_TrimStart.restype=c_wchar_p
493
+ ## ret = CallCFunction(dlllib.String_TrimStart,self.Ptr, arraytrimChars)
494
+ ## return ret
495
+ ##
496
+
497
+
498
+ ##
499
+ ## def TrimEnd(self ,trimChars:'Char[]')->str:
500
+ ## """
501
+ ##
502
+ ## """
503
+ ## #arraytrimChars:ArrayTypetrimChars = ""
504
+ ## counttrimChars = len(trimChars)
505
+ ## ArrayTypetrimChars = c_void_p * counttrimChars
506
+ ## arraytrimChars = ArrayTypetrimChars()
507
+ ## for i in range(0, counttrimChars):
508
+ ## arraytrimChars[i] = trimChars[i].Ptr
509
+ ##
510
+ ##
511
+ ## dlllib.String_TrimEnd.argtypes=[c_void_p ,ArrayTypetrimChars]
512
+ ## dlllib.String_TrimEnd.restype=c_wchar_p
513
+ ## ret = CallCFunction(dlllib.String_TrimEnd,self.Ptr, arraytrimChars)
514
+ ## return ret
515
+ ##
516
+
517
+
518
+ # @dispatch
519
+ # def IsNormalized(self)->bool:
520
+ # """
521
+
522
+ # """
523
+ # dlllib.String_IsNormalized.argtypes=[c_void_p]
524
+ # dlllib.String_IsNormalized.restype=c_bool
525
+ # ret = CallCFunction(dlllib.String_IsNormalized,self.Ptr)
526
+ # return ret
527
+
528
+ ## @dispatch
529
+ ##
530
+ ## def IsNormalized(self ,normalizationForm:'NormalizationForm')->bool:
531
+ ## """
532
+ ##
533
+ ## """
534
+ ## enumnormalizationForm:c_int = normalizationForm.value
535
+ ##
536
+ ## dlllib.String_IsNormalizedN.argtypes=[c_void_p ,c_int]
537
+ ## dlllib.String_IsNormalizedN.restype=c_bool
538
+ ## ret = CallCFunction(dlllib.String_IsNormalizedN,self.Ptr, enumnormalizationForm)
539
+ ## return ret
540
+
541
+
542
+ # @dispatch
543
+
544
+ # def Normalize(self)->str:
545
+ # """
546
+
547
+ # """
548
+ # dlllib.String_Normalize.argtypes=[c_void_p]
549
+ # dlllib.String_Normalize.restype=c_wchar_p
550
+ # ret = CallCFunction(dlllib.String_Normalize,self.Ptr)
551
+ # return ret
552
+
553
+
554
+ ## @dispatch
555
+ ##
556
+ ## def Normalize(self ,normalizationForm:'NormalizationForm')->str:
557
+ ## """
558
+ ##
559
+ ## """
560
+ ## enumnormalizationForm:c_int = normalizationForm.value
561
+ ##
562
+ ## dlllib.String_NormalizeN.argtypes=[c_void_p ,c_int]
563
+ ## dlllib.String_NormalizeN.restype=c_wchar_p
564
+ ## ret = CallCFunction(dlllib.String_NormalizeN,self.Ptr, enumnormalizationForm)
565
+ ## return ret
566
+ ##
567
+
568
+
569
+ # @staticmethod
570
+ # @dispatch
571
+
572
+ # def Compare(strA:str,strB:str)->int:
573
+ # """
574
+
575
+ # """
576
+
577
+ # dlllib.String_Compare.argtypes=[ c_void_p,c_void_p]
578
+ # dlllib.String_Compare.restype=c_int
579
+ # ret = CallCFunction(dlllib.String_Compare, strA,strB)
580
+ # return ret
581
+
582
+ # @staticmethod
583
+ # @dispatch
584
+
585
+ # def Compare(strA:str,strB:str,ignoreCase:bool)->int:
586
+ # """
587
+
588
+ # """
589
+
590
+ # dlllib.String_CompareSSI.argtypes=[ c_void_p,c_void_p,c_bool]
591
+ # dlllib.String_CompareSSI.restype=c_int
592
+ # ret = CallCFunction(dlllib.String_CompareSSI, strA,strB,ignoreCase)
593
+ # return ret
594
+
595
+ ## @staticmethod
596
+ ## @dispatch
597
+ ##
598
+ ## def Compare(strA:str,strB:str,comparisonType:'StringComparison')->int:
599
+ ## """
600
+ ##
601
+ ## """
602
+ ## enumcomparisonType:c_int = comparisonType.value
603
+ ##
604
+ ## dlllib.String_CompareSSC.argtypes=[ c_void_p,c_void_p,c_int]
605
+ ## dlllib.String_CompareSSC.restype=c_int
606
+ ## ret = CallCFunction(dlllib.String_CompareSSC, strA,strB,enumcomparisonType)
607
+ ## return ret
608
+
609
+
610
+ ## @staticmethod
611
+ ## @dispatch
612
+ ##
613
+ ## def Compare(strA:str,strB:str,culture:CultureInfo,options:'CompareOptions')->int:
614
+ ## """
615
+ ##
616
+ ## """
617
+ ## intPtrculture:c_void_p = culture.Ptr
618
+ ## enumoptions:c_int = options.value
619
+ ##
620
+ ## dlllib.String_CompareSSCO.argtypes=[ c_void_p,c_void_p,c_void_p,c_int]
621
+ ## dlllib.String_CompareSSCO.restype=c_int
622
+ ## ret = CallCFunction(dlllib.String_CompareSSCO, strA,strB,intPtrculture,enumoptions)
623
+ ## return ret
624
+
625
+
626
+ # @staticmethod
627
+ # @dispatch
628
+
629
+ # def Compare(strA:str,strB:str,ignoreCase:bool,culture:CultureInfo)->int:
630
+ # """
631
+
632
+ # """
633
+ # intPtrculture:c_void_p = culture.Ptr
634
+
635
+ # dlllib.String_CompareSSIC.argtypes=[ c_void_p,c_void_p,c_bool,c_void_p]
636
+ # dlllib.String_CompareSSIC.restype=c_int
637
+ # ret = CallCFunction(dlllib.String_CompareSSIC, strA,strB,ignoreCase,intPtrculture)
638
+ # return ret
639
+
640
+ # @staticmethod
641
+ # @dispatch
642
+
643
+ # def Compare(strA:str,indexA:int,strB:str,indexB:int,length:int)->int:
644
+ # """
645
+
646
+ # """
647
+
648
+ # dlllib.String_CompareSISIL.argtypes=[ c_void_p,c_int,c_void_p,c_int,c_int]
649
+ # dlllib.String_CompareSISIL.restype=c_int
650
+ # ret = CallCFunction(dlllib.String_CompareSISIL, strA,indexA,strB,indexB,length)
651
+ # return ret
652
+
653
+ # @staticmethod
654
+ # @dispatch
655
+
656
+ # def Compare(strA:str,indexA:int,strB:str,indexB:int,length:int,ignoreCase:bool)->int:
657
+ # """
658
+
659
+ # """
660
+
661
+ # dlllib.String_CompareSISILI.argtypes=[ c_void_p,c_int,c_void_p,c_int,c_int,c_bool]
662
+ # dlllib.String_CompareSISILI.restype=c_int
663
+ # ret = CallCFunction(dlllib.String_CompareSISILI, strA,indexA,strB,indexB,length,ignoreCase)
664
+ # return ret
665
+
666
+ # @staticmethod
667
+ # @dispatch
668
+
669
+ # def Compare(strA:str,indexA:int,strB:str,indexB:int,length:int,ignoreCase:bool,culture:CultureInfo)->int:
670
+ # """
671
+
672
+ # """
673
+ # intPtrculture:c_void_p = culture.Ptr
674
+
675
+ # dlllib.String_CompareSISILIC.argtypes=[ c_void_p,c_int,c_void_p,c_int,c_int,c_bool,c_void_p]
676
+ # dlllib.String_CompareSISILIC.restype=c_int
677
+ # ret = CallCFunction(dlllib.String_CompareSISILIC, strA,indexA,strB,indexB,length,ignoreCase,intPtrculture)
678
+ # return ret
679
+
680
+ ## @staticmethod
681
+ ## @dispatch
682
+ ##
683
+ ## def Compare(strA:str,indexA:int,strB:str,indexB:int,length:int,culture:CultureInfo,options:'CompareOptions')->int:
684
+ ## """
685
+ ##
686
+ ## """
687
+ ## intPtrculture:c_void_p = culture.Ptr
688
+ ## enumoptions:c_int = options.value
689
+ ##
690
+ ## dlllib.String_CompareSISILCO.argtypes=[ c_void_p,c_int,c_void_p,c_int,c_int,c_void_p,c_int]
691
+ ## dlllib.String_CompareSISILCO.restype=c_int
692
+ ## ret = CallCFunction(dlllib.String_CompareSISILCO, strA,indexA,strB,indexB,length,intPtrculture,enumoptions)
693
+ ## return ret
694
+
695
+
696
+ ## @staticmethod
697
+ ## @dispatch
698
+ ##
699
+ ## def Compare(strA:str,indexA:int,strB:str,indexB:int,length:int,comparisonType:'StringComparison')->int:
700
+ ## """
701
+ ##
702
+ ## """
703
+ ## enumcomparisonType:c_int = comparisonType.value
704
+ ##
705
+ ## dlllib.String_CompareSISILC.argtypes=[ c_void_p,c_int,c_void_p,c_int,c_int,c_int]
706
+ ## dlllib.String_CompareSISILC.restype=c_int
707
+ ## ret = CallCFunction(dlllib.String_CompareSISILC, strA,indexA,strB,indexB,length,enumcomparisonType)
708
+ ## return ret
709
+
710
+
711
+ # @dispatch
712
+
713
+ # def CompareTo(self ,value:SpireObject)->int:
714
+ # """
715
+
716
+ # """
717
+ # intPtrvalue:c_void_p = value.Ptr
718
+
719
+ # dlllib.String_CompareTo.argtypes=[c_void_p ,c_void_p]
720
+ # dlllib.String_CompareTo.restype=c_int
721
+ # ret = CallCFunction(dlllib.String_CompareTo,self.Ptr, intPtrvalue)
722
+ # return ret
723
+
724
+ # @dispatch
725
+
726
+ # def CompareTo(self ,strB:str)->int:
727
+ # """
728
+
729
+ # """
730
+
731
+ # dlllib.String_CompareToS.argtypes=[c_void_p ,c_void_p]
732
+ # dlllib.String_CompareToS.restype=c_int
733
+ # ret = CallCFunction(dlllib.String_CompareToS,self.Ptr, strB)
734
+ # return ret
735
+
736
+ # @staticmethod
737
+ # @dispatch
738
+
739
+ # def CompareOrdinal(strA:str,strB:str)->int:
740
+ # """
741
+
742
+ # """
743
+
744
+ # dlllib.String_CompareOrdinal.argtypes=[ c_void_p,c_void_p]
745
+ # dlllib.String_CompareOrdinal.restype=c_int
746
+ # ret = CallCFunction(dlllib.String_CompareOrdinal, strA,strB)
747
+ # return ret
748
+
749
+ # @staticmethod
750
+ # @dispatch
751
+
752
+ # def CompareOrdinal(strA:str,indexA:int,strB:str,indexB:int,length:int)->int:
753
+ # """
754
+
755
+ # """
756
+
757
+ # dlllib.String_CompareOrdinalSISIL.argtypes=[ c_void_p,c_int,c_void_p,c_int,c_int]
758
+ # dlllib.String_CompareOrdinalSISIL.restype=c_int
759
+ # ret = CallCFunction(dlllib.String_CompareOrdinalSISIL, strA,indexA,strB,indexB,length)
760
+ # return ret
761
+
762
+
763
+ # def Contains(self ,value:str)->bool:
764
+ # """
765
+
766
+ # """
767
+
768
+ # dlllib.String_Contains.argtypes=[c_void_p ,c_void_p]
769
+ # dlllib.String_Contains.restype=c_bool
770
+ # ret = CallCFunction(dlllib.String_Contains,self.Ptr, value)
771
+ # return ret
772
+
773
+ # @dispatch
774
+
775
+ # def EndsWith(self ,value:str)->bool:
776
+ # """
777
+
778
+ # """
779
+
780
+ # dlllib.String_EndsWith.argtypes=[c_void_p ,c_void_p]
781
+ # dlllib.String_EndsWith.restype=c_bool
782
+ # ret = CallCFunction(dlllib.String_EndsWith,self.Ptr, value)
783
+ # return ret
784
+
785
+ ## @dispatch
786
+ ##
787
+ ## def EndsWith(self ,value:str,comparisonType:'StringComparison')->bool:
788
+ ## """
789
+ ##
790
+ ## """
791
+ ## enumcomparisonType:c_int = comparisonType.value
792
+ ##
793
+ ## dlllib.String_EndsWithVC.argtypes=[c_void_p ,c_void_p,c_int]
794
+ ## dlllib.String_EndsWithVC.restype=c_bool
795
+ ## ret = CallCFunction(dlllib.String_EndsWithVC,self.Ptr, value,enumcomparisonType)
796
+ ## return ret
797
+
798
+
799
+ # @dispatch
800
+
801
+ # def EndsWith(self ,value:str,ignoreCase:bool,culture:CultureInfo)->bool:
802
+ # """
803
+
804
+ # """
805
+ # intPtrculture:c_void_p = culture.Ptr
806
+
807
+ # dlllib.String_EndsWithVIC.argtypes=[c_void_p ,c_void_p,c_bool,c_void_p]
808
+ # dlllib.String_EndsWithVIC.restype=c_bool
809
+ # ret = CallCFunction(dlllib.String_EndsWithVIC,self.Ptr, value,ignoreCase,intPtrculture)
810
+ # return ret
811
+
812
+ # @dispatch
813
+
814
+ # def IndexOf(self ,value:int)->int:
815
+ # """
816
+
817
+ # """
818
+
819
+ # dlllib.String_IndexOf.argtypes=[c_void_p ,c_void_p]
820
+ # dlllib.String_IndexOf.restype=c_int
821
+ # ret = CallCFunction(dlllib.String_IndexOf,self.Ptr, value)
822
+ # return ret
823
+
824
+ # @dispatch
825
+
826
+ # def IndexOf(self ,value:int,startIndex:int)->int:
827
+ # """
828
+
829
+ # """
830
+
831
+ # dlllib.String_IndexOfVS.argtypes=[c_void_p ,c_void_p,c_int]
832
+ # dlllib.String_IndexOfVS.restype=c_int
833
+ # ret = CallCFunction(dlllib.String_IndexOfVS,self.Ptr, value,startIndex)
834
+ # return ret
835
+
836
+ ## @dispatch
837
+ ##
838
+ ## def IndexOfAny(self ,anyOf:'Char[]')->int:
839
+ ## """
840
+ ##
841
+ ## """
842
+ ## #arrayanyOf:ArrayTypeanyOf = ""
843
+ ## countanyOf = len(anyOf)
844
+ ## ArrayTypeanyOf = c_void_p * countanyOf
845
+ ## arrayanyOf = ArrayTypeanyOf()
846
+ ## for i in range(0, countanyOf):
847
+ ## arrayanyOf[i] = anyOf[i].Ptr
848
+ ##
849
+ ##
850
+ ## dlllib.String_IndexOfAny.argtypes=[c_void_p ,ArrayTypeanyOf]
851
+ ## dlllib.String_IndexOfAny.restype=c_int
852
+ ## ret = CallCFunction(dlllib.String_IndexOfAny,self.Ptr, arrayanyOf)
853
+ ## return ret
854
+
855
+
856
+ ## @dispatch
857
+ ##
858
+ ## def IndexOfAny(self ,anyOf:'Char[]',startIndex:int)->int:
859
+ ## """
860
+ ##
861
+ ## """
862
+ ## #arrayanyOf:ArrayTypeanyOf = ""
863
+ ## countanyOf = len(anyOf)
864
+ ## ArrayTypeanyOf = c_void_p * countanyOf
865
+ ## arrayanyOf = ArrayTypeanyOf()
866
+ ## for i in range(0, countanyOf):
867
+ ## arrayanyOf[i] = anyOf[i].Ptr
868
+ ##
869
+ ##
870
+ ## dlllib.String_IndexOfAnyAS.argtypes=[c_void_p ,ArrayTypeanyOf,c_int]
871
+ ## dlllib.String_IndexOfAnyAS.restype=c_int
872
+ ## ret = CallCFunction(dlllib.String_IndexOfAnyAS,self.Ptr, arrayanyOf,startIndex)
873
+ ## return ret
874
+
875
+
876
+ # @dispatch
877
+
878
+ # def IndexOf(self ,value:str)->int:
879
+ # """
880
+
881
+ # """
882
+
883
+ # dlllib.String_IndexOfV.argtypes=[c_void_p ,c_void_p]
884
+ # dlllib.String_IndexOfV.restype=c_int
885
+ # ret = CallCFunction(dlllib.String_IndexOfV,self.Ptr, value)
886
+ # return ret
887
+
888
+ # @dispatch
889
+
890
+ # def IndexOf(self ,value:str,startIndex:int)->int:
891
+ # """
892
+
893
+ # """
894
+
895
+ # dlllib.String_IndexOfVS1.argtypes=[c_void_p ,c_void_p,c_int]
896
+ # dlllib.String_IndexOfVS1.restype=c_int
897
+ # ret = CallCFunction(dlllib.String_IndexOfVS1,self.Ptr, value,startIndex)
898
+ # return ret
899
+
900
+ # @dispatch
901
+
902
+ # def IndexOf(self ,value:str,startIndex:int,count:int)->int:
903
+ # """
904
+
905
+ # """
906
+
907
+ # dlllib.String_IndexOfVSC.argtypes=[c_void_p ,c_void_p,c_int,c_int]
908
+ # dlllib.String_IndexOfVSC.restype=c_int
909
+ # ret = CallCFunction(dlllib.String_IndexOfVSC,self.Ptr, value,startIndex,count)
910
+ # return ret
911
+
912
+ ## @dispatch
913
+ ##
914
+ ## def IndexOf(self ,value:str,comparisonType:'StringComparison')->int:
915
+ ## """
916
+ ##
917
+ ## """
918
+ ## enumcomparisonType:c_int = comparisonType.value
919
+ ##
920
+ ## dlllib.String_IndexOfVC.argtypes=[c_void_p ,c_void_p,c_int]
921
+ ## dlllib.String_IndexOfVC.restype=c_int
922
+ ## ret = CallCFunction(dlllib.String_IndexOfVC,self.Ptr, value,enumcomparisonType)
923
+ ## return ret
924
+
925
+
926
+ ## @dispatch
927
+ ##
928
+ ## def IndexOf(self ,value:str,startIndex:int,comparisonType:'StringComparison')->int:
929
+ ## """
930
+ ##
931
+ ## """
932
+ ## enumcomparisonType:c_int = comparisonType.value
933
+ ##
934
+ ## dlllib.String_IndexOfVSC1.argtypes=[c_void_p ,c_void_p,c_int,c_int]
935
+ ## dlllib.String_IndexOfVSC1.restype=c_int
936
+ ## ret = CallCFunction(dlllib.String_IndexOfVSC1,self.Ptr, value,startIndex,enumcomparisonType)
937
+ ## return ret
938
+
939
+
940
+ ## @dispatch
941
+ ##
942
+ ## def IndexOf(self ,value:str,startIndex:int,count:int,comparisonType:'StringComparison')->int:
943
+ ## """
944
+ ##
945
+ ## """
946
+ ## enumcomparisonType:c_int = comparisonType.value
947
+ ##
948
+ ## dlllib.String_IndexOfVSCC.argtypes=[c_void_p ,c_void_p,c_int,c_int,c_int]
949
+ ## dlllib.String_IndexOfVSCC.restype=c_int
950
+ ## ret = CallCFunction(dlllib.String_IndexOfVSCC,self.Ptr, value,startIndex,count,enumcomparisonType)
951
+ ## return ret
952
+
953
+
954
+ # @dispatch
955
+
956
+ # def LastIndexOf(self ,value:int)->int:
957
+ # """
958
+
959
+ # """
960
+
961
+ # dlllib.String_LastIndexOf.argtypes=[c_void_p ,c_void_p]
962
+ # dlllib.String_LastIndexOf.restype=c_int
963
+ # ret = CallCFunction(dlllib.String_LastIndexOf,self.Ptr, value)
964
+ # return ret
965
+
966
+ # @dispatch
967
+
968
+ # def LastIndexOf(self ,value:int,startIndex:int)->int:
969
+ # """
970
+
971
+ # """
972
+
973
+ # dlllib.String_LastIndexOfVS.argtypes=[c_void_p ,c_void_p,c_int]
974
+ # dlllib.String_LastIndexOfVS.restype=c_int
975
+ # ret = CallCFunction(dlllib.String_LastIndexOfVS,self.Ptr, value,startIndex)
976
+ # return ret
977
+
978
+ ## @dispatch
979
+ ##
980
+ ## def LastIndexOfAny(self ,anyOf:'Char[]')->int:
981
+ ## """
982
+ ##
983
+ ## """
984
+ ## #arrayanyOf:ArrayTypeanyOf = ""
985
+ ## countanyOf = len(anyOf)
986
+ ## ArrayTypeanyOf = c_void_p * countanyOf
987
+ ## arrayanyOf = ArrayTypeanyOf()
988
+ ## for i in range(0, countanyOf):
989
+ ## arrayanyOf[i] = anyOf[i].Ptr
990
+ ##
991
+ ##
992
+ ## dlllib.String_LastIndexOfAny.argtypes=[c_void_p ,ArrayTypeanyOf]
993
+ ## dlllib.String_LastIndexOfAny.restype=c_int
994
+ ## ret = CallCFunction(dlllib.String_LastIndexOfAny,self.Ptr, arrayanyOf)
995
+ ## return ret
996
+
997
+
998
+ ## @dispatch
999
+ ##
1000
+ ## def LastIndexOfAny(self ,anyOf:'Char[]',startIndex:int)->int:
1001
+ ## """
1002
+ ##
1003
+ ## """
1004
+ ## #arrayanyOf:ArrayTypeanyOf = ""
1005
+ ## countanyOf = len(anyOf)
1006
+ ## ArrayTypeanyOf = c_void_p * countanyOf
1007
+ ## arrayanyOf = ArrayTypeanyOf()
1008
+ ## for i in range(0, countanyOf):
1009
+ ## arrayanyOf[i] = anyOf[i].Ptr
1010
+ ##
1011
+ ##
1012
+ ## dlllib.String_LastIndexOfAnyAS.argtypes=[c_void_p ,ArrayTypeanyOf,c_int]
1013
+ ## dlllib.String_LastIndexOfAnyAS.restype=c_int
1014
+ ## ret = CallCFunction(dlllib.String_LastIndexOfAnyAS,self.Ptr, arrayanyOf,startIndex)
1015
+ ## return ret
1016
+
1017
+
1018
+ # @dispatch
1019
+
1020
+ # def LastIndexOf(self ,value:str)->int:
1021
+ # """
1022
+
1023
+ # """
1024
+
1025
+ # dlllib.String_LastIndexOfV.argtypes=[c_void_p ,c_void_p]
1026
+ # dlllib.String_LastIndexOfV.restype=c_int
1027
+ # ret = CallCFunction(dlllib.String_LastIndexOfV,self.Ptr, value)
1028
+ # return ret
1029
+
1030
+ # @dispatch
1031
+
1032
+ # def LastIndexOf(self ,value:str,startIndex:int)->int:
1033
+ # """
1034
+
1035
+ # """
1036
+
1037
+ # dlllib.String_LastIndexOfVS1.argtypes=[c_void_p ,c_void_p,c_int]
1038
+ # dlllib.String_LastIndexOfVS1.restype=c_int
1039
+ # ret = CallCFunction(dlllib.String_LastIndexOfVS1,self.Ptr, value,startIndex)
1040
+ # return ret
1041
+
1042
+ # @dispatch
1043
+
1044
+ # def LastIndexOf(self ,value:str,startIndex:int,count:int)->int:
1045
+ # """
1046
+
1047
+ # """
1048
+
1049
+ # dlllib.String_LastIndexOfVSC.argtypes=[c_void_p ,c_void_p,c_int,c_int]
1050
+ # dlllib.String_LastIndexOfVSC.restype=c_int
1051
+ # ret = CallCFunction(dlllib.String_LastIndexOfVSC,self.Ptr, value,startIndex,count)
1052
+ # return ret
1053
+
1054
+ ## @dispatch
1055
+ ##
1056
+ ## def LastIndexOf(self ,value:str,comparisonType:'StringComparison')->int:
1057
+ ## """
1058
+ ##
1059
+ ## """
1060
+ ## enumcomparisonType:c_int = comparisonType.value
1061
+ ##
1062
+ ## dlllib.String_LastIndexOfVC.argtypes=[c_void_p ,c_void_p,c_int]
1063
+ ## dlllib.String_LastIndexOfVC.restype=c_int
1064
+ ## ret = CallCFunction(dlllib.String_LastIndexOfVC,self.Ptr, value,enumcomparisonType)
1065
+ ## return ret
1066
+
1067
+
1068
+ ## @dispatch
1069
+ ##
1070
+ ## def LastIndexOf(self ,value:str,startIndex:int,comparisonType:'StringComparison')->int:
1071
+ ## """
1072
+ ##
1073
+ ## """
1074
+ ## enumcomparisonType:c_int = comparisonType.value
1075
+ ##
1076
+ ## dlllib.String_LastIndexOfVSC1.argtypes=[c_void_p ,c_void_p,c_int,c_int]
1077
+ ## dlllib.String_LastIndexOfVSC1.restype=c_int
1078
+ ## ret = CallCFunction(dlllib.String_LastIndexOfVSC1,self.Ptr, value,startIndex,enumcomparisonType)
1079
+ ## return ret
1080
+
1081
+
1082
+ ## @dispatch
1083
+ ##
1084
+ ## def LastIndexOf(self ,value:str,startIndex:int,count:int,comparisonType:'StringComparison')->int:
1085
+ ## """
1086
+ ##
1087
+ ## """
1088
+ ## enumcomparisonType:c_int = comparisonType.value
1089
+ ##
1090
+ ## dlllib.String_LastIndexOfVSCC.argtypes=[c_void_p ,c_void_p,c_int,c_int,c_int]
1091
+ ## dlllib.String_LastIndexOfVSCC.restype=c_int
1092
+ ## ret = CallCFunction(dlllib.String_LastIndexOfVSCC,self.Ptr, value,startIndex,count,enumcomparisonType)
1093
+ ## return ret
1094
+
1095
+
1096
+ # @dispatch
1097
+
1098
+ # def PadLeft(self ,totalWidth:int)->str:
1099
+ # """
1100
+
1101
+ # """
1102
+
1103
+ # dlllib.String_PadLeft.argtypes=[c_void_p ,c_int]
1104
+ # dlllib.String_PadLeft.restype=c_wchar_p
1105
+ # ret = CallCFunction(dlllib.String_PadLeft,self.Ptr, totalWidth)
1106
+ # return ret
1107
+
1108
+
1109
+ # @dispatch
1110
+
1111
+ # def PadLeft(self ,totalWidth:int,paddingChar:int)->str:
1112
+ # """
1113
+
1114
+ # """
1115
+
1116
+ # dlllib.String_PadLeftTP.argtypes=[c_void_p ,c_int,c_void_p]
1117
+ # dlllib.String_PadLeftTP.restype=c_wchar_p
1118
+ # ret = CallCFunction(dlllib.String_PadLeftTP,self.Ptr, totalWidth,paddingChar)
1119
+ # return ret
1120
+
1121
+
1122
+ # @dispatch
1123
+
1124
+ # def PadRight(self ,totalWidth:int)->str:
1125
+ # """
1126
+
1127
+ # """
1128
+
1129
+ # dlllib.String_PadRight.argtypes=[c_void_p ,c_int]
1130
+ # dlllib.String_PadRight.restype=c_wchar_p
1131
+ # ret = CallCFunction(dlllib.String_PadRight,self.Ptr, totalWidth)
1132
+ # return ret
1133
+
1134
+
1135
+ # @dispatch
1136
+
1137
+ # def PadRight(self ,totalWidth:int,paddingChar:int)->str:
1138
+ # """
1139
+
1140
+ # """
1141
+
1142
+ # dlllib.String_PadRightTP.argtypes=[c_void_p ,c_int,c_void_p]
1143
+ # dlllib.String_PadRightTP.restype=c_wchar_p
1144
+ # ret = CallCFunction(dlllib.String_PadRightTP,self.Ptr, totalWidth,paddingChar)
1145
+ # return ret
1146
+
1147
+
1148
+ # @dispatch
1149
+
1150
+ # def StartsWith(self ,value:str)->bool:
1151
+ # """
1152
+
1153
+ # """
1154
+
1155
+ # dlllib.String_StartsWith.argtypes=[c_void_p ,c_void_p]
1156
+ # dlllib.String_StartsWith.restype=c_bool
1157
+ # ret = CallCFunction(dlllib.String_StartsWith,self.Ptr, value)
1158
+ # return ret
1159
+
1160
+ ## @dispatch
1161
+ ##
1162
+ ## def StartsWith(self ,value:str,comparisonType:'StringComparison')->bool:
1163
+ ## """
1164
+ ##
1165
+ ## """
1166
+ ## enumcomparisonType:c_int = comparisonType.value
1167
+ ##
1168
+ ## dlllib.String_StartsWithVC.argtypes=[c_void_p ,c_void_p,c_int]
1169
+ ## dlllib.String_StartsWithVC.restype=c_bool
1170
+ ## ret = CallCFunction(dlllib.String_StartsWithVC,self.Ptr, value,enumcomparisonType)
1171
+ ## return ret
1172
+
1173
+
1174
+ # @dispatch
1175
+
1176
+ # def StartsWith(self ,value:str,ignoreCase:bool,culture:CultureInfo)->bool:
1177
+ # """
1178
+
1179
+ # """
1180
+ # intPtrculture:c_void_p = culture.Ptr
1181
+
1182
+ # dlllib.String_StartsWithVIC.argtypes=[c_void_p ,c_void_p,c_bool,c_void_p]
1183
+ # dlllib.String_StartsWithVIC.restype=c_bool
1184
+ # ret = CallCFunction(dlllib.String_StartsWithVIC,self.Ptr, value,ignoreCase,intPtrculture)
1185
+ # return ret
1186
+
1187
+ # @dispatch
1188
+
1189
+ # def ToLower(self)->str:
1190
+ # """
1191
+
1192
+ # """
1193
+ # dlllib.String_ToLower.argtypes=[c_void_p]
1194
+ # dlllib.String_ToLower.restype=c_wchar_p
1195
+ # ret = CallCFunction(dlllib.String_ToLower,self.Ptr)
1196
+ # return ret
1197
+
1198
+
1199
+ # @dispatch
1200
+
1201
+ # def ToLower(self ,culture:CultureInfo)->str:
1202
+ # """
1203
+
1204
+ # """
1205
+ # intPtrculture:c_void_p = culture.Ptr
1206
+
1207
+ # dlllib.String_ToLowerC.argtypes=[c_void_p ,c_void_p]
1208
+ # dlllib.String_ToLowerC.restype=c_wchar_p
1209
+ # ret = CallCFunction(dlllib.String_ToLowerC,self.Ptr, intPtrculture)
1210
+ # return ret
1211
+
1212
+
1213
+
1214
+ # def ToLowerInvariant(self)->str:
1215
+ # """
1216
+
1217
+ # """
1218
+ # dlllib.String_ToLowerInvariant.argtypes=[c_void_p]
1219
+ # dlllib.String_ToLowerInvariant.restype=c_wchar_p
1220
+ # ret = CallCFunction(dlllib.String_ToLowerInvariant,self.Ptr)
1221
+ # return ret
1222
+
1223
+
1224
+ # @dispatch
1225
+
1226
+ # def ToUpper(self)->str:
1227
+ # """
1228
+
1229
+ # """
1230
+ # dlllib.String_ToUpper.argtypes=[c_void_p]
1231
+ # dlllib.String_ToUpper.restype=c_wchar_p
1232
+ # ret = CallCFunction(dlllib.String_ToUpper,self.Ptr)
1233
+ # return ret
1234
+
1235
+
1236
+ # @dispatch
1237
+
1238
+ # def ToUpper(self ,culture:CultureInfo)->str:
1239
+ # """
1240
+
1241
+ # """
1242
+ # intPtrculture:c_void_p = culture.Ptr
1243
+
1244
+ # dlllib.String_ToUpperC.argtypes=[c_void_p ,c_void_p]
1245
+ # dlllib.String_ToUpperC.restype=c_wchar_p
1246
+ # ret = CallCFunction(dlllib.String_ToUpperC,self.Ptr, intPtrculture)
1247
+ # return ret
1248
+
1249
+
1250
+
1251
+ # def ToUpperInvariant(self)->str:
1252
+ # """
1253
+
1254
+ # """
1255
+ # dlllib.String_ToUpperInvariant.argtypes=[c_void_p]
1256
+ # dlllib.String_ToUpperInvariant.restype=c_wchar_p
1257
+ # ret = CallCFunction(dlllib.String_ToUpperInvariant,self.Ptr)
1258
+ # return ret
1259
+
1260
+
1261
+ # @dispatch
1262
+
1263
+ # def ToString(self)->str:
1264
+ # """
1265
+
1266
+ # """
1267
+ # dlllib.String_ToString.argtypes=[c_void_p]
1268
+ # dlllib.String_ToString.restype=c_wchar_p
1269
+ # ret = CallCFunction(dlllib.String_ToString,self.Ptr)
1270
+ # return ret
1271
+
1272
+
1273
+ ## @dispatch
1274
+ ##
1275
+ ## def ToString(self ,provider:'IFormatProvider')->str:
1276
+ ## """
1277
+ ##
1278
+ ## """
1279
+ ## intPtrprovider:c_void_p = provider.Ptr
1280
+ ##
1281
+ ## dlllib.String_ToStringP.argtypes=[c_void_p ,c_void_p]
1282
+ ## dlllib.String_ToStringP.restype=c_wchar_p
1283
+ ## ret = CallCFunction(dlllib.String_ToStringP,self.Ptr, intPtrprovider)
1284
+ ## return ret
1285
+ ##
1286
+
1287
+
1288
+
1289
+ # def Clone(self)->'SpireObject':
1290
+ # """
1291
+
1292
+ # """
1293
+ # dlllib.String_Clone.argtypes=[c_void_p]
1294
+ # dlllib.String_Clone.restype=c_void_p
1295
+ # intPtr = CallCFunction(dlllib.String_Clone,self.Ptr)
1296
+ # ret = None if intPtr==None else SpireObject(intPtr)
1297
+ # return ret
1298
+
1299
+
1300
+ # @dispatch
1301
+
1302
+ # def Trim(self)->str:
1303
+ # """
1304
+
1305
+ # """
1306
+ # dlllib.String_Trim1.argtypes=[c_void_p]
1307
+ # dlllib.String_Trim1.restype=c_wchar_p
1308
+ # ret = CallCFunction(dlllib.String_Trim1,self.Ptr)
1309
+ # return ret
1310
+
1311
+
1312
+
1313
+ # def Insert(self ,startIndex:int,value:str)->str:
1314
+ # """
1315
+
1316
+ # """
1317
+
1318
+ # dlllib.String_Insert.argtypes=[c_void_p ,c_int,c_void_p]
1319
+ # dlllib.String_Insert.restype=c_wchar_p
1320
+ # ret = CallCFunction(dlllib.String_Insert,self.Ptr, startIndex,value)
1321
+ # return ret
1322
+
1323
+
1324
+ # @dispatch
1325
+
1326
+ # def Replace(self ,oldChar:int,newChar:int)->str:
1327
+ # """
1328
+
1329
+ # """
1330
+
1331
+ # dlllib.String_Replace.argtypes=[c_void_p ,c_void_p,c_void_p]
1332
+ # dlllib.String_Replace.restype=c_wchar_p
1333
+ # ret = CallCFunction(dlllib.String_Replace,self.Ptr, oldChar,newChar)
1334
+ # return ret
1335
+
1336
+
1337
+ # @dispatch
1338
+
1339
+ # def Replace(self ,oldValue:str,newValue:str)->str:
1340
+ # """
1341
+
1342
+ # """
1343
+
1344
+ # dlllib.String_ReplaceON.argtypes=[c_void_p ,c_void_p,c_void_p]
1345
+ # dlllib.String_ReplaceON.restype=c_wchar_p
1346
+ # ret = CallCFunction(dlllib.String_ReplaceON,self.Ptr, oldValue,newValue)
1347
+ # return ret
1348
+
1349
+
1350
+ # @dispatch
1351
+
1352
+ # def Remove(self ,startIndex:int,count:int)->str:
1353
+ # """
1354
+
1355
+ # """
1356
+
1357
+ # dlllib.String_Remove.argtypes=[c_void_p ,c_int,c_int]
1358
+ # dlllib.String_Remove.restype=c_wchar_p
1359
+ # ret = CallCFunction(dlllib.String_Remove,self.Ptr, startIndex,count)
1360
+ # return ret
1361
+
1362
+
1363
+ # @dispatch
1364
+
1365
+ # def Remove(self ,startIndex:int)->str:
1366
+ # """
1367
+
1368
+ # """
1369
+
1370
+ # dlllib.String_RemoveS.argtypes=[c_void_p ,c_int]
1371
+ # dlllib.String_RemoveS.restype=c_wchar_p
1372
+ # ret = CallCFunction(dlllib.String_RemoveS,self.Ptr, startIndex)
1373
+ # return ret
1374
+
1375
+
1376
+ # @staticmethod
1377
+ # @dispatch
1378
+
1379
+ # def Format(format:str,arg0:SpireObject)->str:
1380
+ # """
1381
+
1382
+ # """
1383
+ # intPtrarg0:c_void_p = arg0.Ptr
1384
+
1385
+ # dlllib.String_Format.argtypes=[ c_void_p,c_void_p]
1386
+ # dlllib.String_Format.restype=c_wchar_p
1387
+ # ret = CallCFunction(dlllib.String_Format, format,intPtrarg0)
1388
+ # return ret
1389
+
1390
+
1391
+ # @staticmethod
1392
+ # @dispatch
1393
+
1394
+ # def Format(format:str,arg0:SpireObject,arg1:SpireObject)->str:
1395
+ # """
1396
+
1397
+ # """
1398
+ # intPtrarg0:c_void_p = arg0.Ptr
1399
+ # intPtrarg1:c_void_p = arg1.Ptr
1400
+
1401
+ # dlllib.String_FormatFAA.argtypes=[ c_void_p,c_void_p,c_void_p]
1402
+ # dlllib.String_FormatFAA.restype=c_wchar_p
1403
+ # ret = CallCFunction(dlllib.String_FormatFAA, format,intPtrarg0,intPtrarg1)
1404
+ # return ret
1405
+
1406
+
1407
+ # @staticmethod
1408
+ # @dispatch
1409
+
1410
+ # def Format(format:str,arg0:SpireObject,arg1:SpireObject,arg2:SpireObject)->str:
1411
+ # """
1412
+
1413
+ # """
1414
+ # intPtrarg0:c_void_p = arg0.Ptr
1415
+ # intPtrarg1:c_void_p = arg1.Ptr
1416
+ # intPtrarg2:c_void_p = arg2.Ptr
1417
+
1418
+ # dlllib.String_FormatFAAA.argtypes=[ c_void_p,c_void_p,c_void_p,c_void_p]
1419
+ # dlllib.String_FormatFAAA.restype=c_wchar_p
1420
+ # ret = CallCFunction(dlllib.String_FormatFAAA, format,intPtrarg0,intPtrarg1,intPtrarg2)
1421
+ # return ret
1422
+
1423
+
1424
+ ## @staticmethod
1425
+ ## @dispatch
1426
+ ##
1427
+ ## def Format(provider:'IFormatProvider',format:str,arg0:SpireObject)->str:
1428
+ ## """
1429
+ ##
1430
+ ## """
1431
+ ## intPtrprovider:c_void_p = provider.Ptr
1432
+ ## intPtrarg0:c_void_p = arg0.Ptr
1433
+ ##
1434
+ ## dlllib.String_FormatPFA.argtypes=[ c_void_p,c_void_p,c_void_p]
1435
+ ## dlllib.String_FormatPFA.restype=c_wchar_p
1436
+ ## ret = CallCFunction(dlllib.String_FormatPFA, intPtrprovider,format,intPtrarg0)
1437
+ ## return ret
1438
+ ##
1439
+
1440
+
1441
+ ## @staticmethod
1442
+ ## @dispatch
1443
+ ##
1444
+ ## def Format(provider:'IFormatProvider',format:str,arg0:SpireObject,arg1:SpireObject)->str:
1445
+ ## """
1446
+ ##
1447
+ ## """
1448
+ ## intPtrprovider:c_void_p = provider.Ptr
1449
+ ## intPtrarg0:c_void_p = arg0.Ptr
1450
+ ## intPtrarg1:c_void_p = arg1.Ptr
1451
+ ##
1452
+ ## dlllib.String_FormatPFAA.argtypes=[ c_void_p,c_void_p,c_void_p,c_void_p]
1453
+ ## dlllib.String_FormatPFAA.restype=c_wchar_p
1454
+ ## ret = CallCFunction(dlllib.String_FormatPFAA, intPtrprovider,format,intPtrarg0,intPtrarg1)
1455
+ ## return ret
1456
+ ##
1457
+
1458
+
1459
+ ## @staticmethod
1460
+ ## @dispatch
1461
+ ##
1462
+ ## def Format(provider:'IFormatProvider',format:str,arg0:SpireObject,arg1:SpireObject,arg2:SpireObject)->str:
1463
+ ## """
1464
+ ##
1465
+ ## """
1466
+ ## intPtrprovider:c_void_p = provider.Ptr
1467
+ ## intPtrarg0:c_void_p = arg0.Ptr
1468
+ ## intPtrarg1:c_void_p = arg1.Ptr
1469
+ ## intPtrarg2:c_void_p = arg2.Ptr
1470
+ ##
1471
+ ## dlllib.String_FormatPFAAA.argtypes=[ c_void_p,c_void_p,c_void_p,c_void_p,c_void_p]
1472
+ ## dlllib.String_FormatPFAAA.restype=c_wchar_p
1473
+ ## ret = CallCFunction(dlllib.String_FormatPFAAA, intPtrprovider,format,intPtrarg0,intPtrarg1,intPtrarg2)
1474
+ ## return ret
1475
+ ##
1476
+
1477
+
1478
+ # @staticmethod
1479
+
1480
+ # def Copy(str:str)->str:
1481
+ # """
1482
+
1483
+ # """
1484
+
1485
+ # dlllib.String_Copy.argtypes=[ c_void_p]
1486
+ # dlllib.String_Copy.restype=c_wchar_p
1487
+ # ret = CallCFunction(dlllib.String_Copy, str)
1488
+ # return ret
1489
+
1490
+
1491
+ # @staticmethod
1492
+ # @dispatch
1493
+
1494
+ # def Concat(arg0:SpireObject)->str:
1495
+ # """
1496
+
1497
+ # """
1498
+ # intPtrarg0:c_void_p = arg0.Ptr
1499
+
1500
+ # dlllib.String_Concat.argtypes=[ c_void_p]
1501
+ # dlllib.String_Concat.restype=c_wchar_p
1502
+ # ret = CallCFunction(dlllib.String_Concat, intPtrarg0)
1503
+ # return ret
1504
+
1505
+
1506
+ # @staticmethod
1507
+ # @dispatch
1508
+
1509
+ # def Concat(arg0:SpireObject,arg1:SpireObject)->str:
1510
+ # """
1511
+
1512
+ # """
1513
+ # intPtrarg0:c_void_p = arg0.Ptr
1514
+ # intPtrarg1:c_void_p = arg1.Ptr
1515
+
1516
+ # dlllib.String_ConcatAA.argtypes=[ c_void_p,c_void_p]
1517
+ # dlllib.String_ConcatAA.restype=c_wchar_p
1518
+ # ret = CallCFunction(dlllib.String_ConcatAA, intPtrarg0,intPtrarg1)
1519
+ # return ret
1520
+
1521
+
1522
+ # @staticmethod
1523
+ # @dispatch
1524
+
1525
+ # def Concat(arg0:SpireObject,arg1:SpireObject,arg2:SpireObject)->str:
1526
+ # """
1527
+
1528
+ # """
1529
+ # intPtrarg0:c_void_p = arg0.Ptr
1530
+ # intPtrarg1:c_void_p = arg1.Ptr
1531
+ # intPtrarg2:c_void_p = arg2.Ptr
1532
+
1533
+ # dlllib.String_ConcatAAA.argtypes=[ c_void_p,c_void_p,c_void_p]
1534
+ # dlllib.String_ConcatAAA.restype=c_wchar_p
1535
+ # ret = CallCFunction(dlllib.String_ConcatAAA, intPtrarg0,intPtrarg1,intPtrarg2)
1536
+ # return ret
1537
+
1538
+
1539
+ # @staticmethod
1540
+ # @dispatch
1541
+
1542
+ # def Concat(arg0:SpireObject,arg1:SpireObject,arg2:SpireObject,arg3:SpireObject)->str:
1543
+ # """
1544
+
1545
+ # """
1546
+ # intPtrarg0:c_void_p = arg0.Ptr
1547
+ # intPtrarg1:c_void_p = arg1.Ptr
1548
+ # intPtrarg2:c_void_p = arg2.Ptr
1549
+ # intPtrarg3:c_void_p = arg3.Ptr
1550
+
1551
+ # dlllib.String_ConcatAAAA.argtypes=[ c_void_p,c_void_p,c_void_p,c_void_p]
1552
+ # dlllib.String_ConcatAAAA.restype=c_wchar_p
1553
+ # ret = CallCFunction(dlllib.String_ConcatAAAA, intPtrarg0,intPtrarg1,intPtrarg2,intPtrarg3)
1554
+ # return ret
1555
+
1556
+
1557
+ # @staticmethod
1558
+ # @dispatch
1559
+
1560
+ # def Concat(args:List[SpireObject])->str:
1561
+ # """
1562
+
1563
+ # """
1564
+ # #arrayargs:ArrayTypeargs = ""
1565
+ # countargs = len(args)
1566
+ # ArrayTypeargs = c_void_p * countargs
1567
+ # arrayargs = ArrayTypeargs()
1568
+ # for i in range(0, countargs):
1569
+ # arrayargs[i] = args[i].Ptr
1570
+
1571
+
1572
+ # dlllib.String_ConcatA.argtypes=[ ArrayTypeargs,c_int]
1573
+ # dlllib.String_ConcatA.restype=c_wchar_p
1574
+ # ret = CallCFunction(dlllib.String_ConcatA, arrayargs,countargs)
1575
+ # return ret
1576
+
1577
+
1578
+ ## @staticmethod
1579
+ ## @dispatch
1580
+ ##
1581
+ ## def Concat(values:'IEnumerable1')->str:
1582
+ ## """
1583
+ ##
1584
+ ## """
1585
+ ## intPtrvalues:c_void_p = values.Ptr
1586
+ ##
1587
+ ## dlllib.String_ConcatV.argtypes=[ c_void_p]
1588
+ ## dlllib.String_ConcatV.restype=c_wchar_p
1589
+ ## ret = CallCFunction(dlllib.String_ConcatV, intPtrvalues)
1590
+ ## return ret
1591
+ ##
1592
+
1593
+
1594
+ # @staticmethod
1595
+ # @dispatch
1596
+
1597
+ # def Concat(str0:str,str1:str)->str:
1598
+ # """
1599
+
1600
+ # """
1601
+
1602
+ # dlllib.String_ConcatSS.argtypes=[ c_void_p,c_void_p]
1603
+ # dlllib.String_ConcatSS.restype=c_wchar_p
1604
+ # ret = CallCFunction(dlllib.String_ConcatSS, str0,str1)
1605
+ # return ret
1606
+
1607
+
1608
+ # @staticmethod
1609
+ # @dispatch
1610
+
1611
+ # def Concat(str0:str,str1:str,str2:str)->str:
1612
+ # """
1613
+
1614
+ # """
1615
+
1616
+ # dlllib.String_ConcatSSS.argtypes=[ c_void_p,c_void_p,c_void_p]
1617
+ # dlllib.String_ConcatSSS.restype=c_wchar_p
1618
+ # ret = CallCFunction(dlllib.String_ConcatSSS, str0,str1,str2)
1619
+ # return ret
1620
+
1621
+
1622
+ # @staticmethod
1623
+ # @dispatch
1624
+
1625
+ # def Concat(str0:str,str1:str,str2:str,str3:str)->str:
1626
+ # """
1627
+
1628
+ # """
1629
+
1630
+ # dlllib.String_ConcatSSSS.argtypes=[ c_void_p,c_void_p,c_void_p,c_void_p]
1631
+ # dlllib.String_ConcatSSSS.restype=c_wchar_p
1632
+ # ret = CallCFunction(dlllib.String_ConcatSSSS, str0,str1,str2,str3)
1633
+ # return ret
1634
+
1635
+
1636
+ # @staticmethod
1637
+ # @dispatch
1638
+
1639
+ # def Concat(values:List[str])->str:
1640
+ # """
1641
+
1642
+ # """
1643
+ # #arrayvalues:ArrayTypevalues = ""
1644
+ # countvalues = len(values)
1645
+ # ArrayTypevalues = c_wchar_p * countvalues
1646
+ # arrayvalues = ArrayTypevalues()
1647
+ # for i in range(0, countvalues):
1648
+ # arrayvalues[i] = values[i]
1649
+
1650
+
1651
+ # dlllib.String_ConcatV1.argtypes=[ ArrayTypevalues,c_int]
1652
+ # dlllib.String_ConcatV1.restype=c_wchar_p
1653
+ # ret = CallCFunction(dlllib.String_ConcatV1, arrayvalues,countvalues)
1654
+ # return ret
1655
+
1656
+
1657
+ # @staticmethod
1658
+
1659
+ # def Intern(str:str)->str:
1660
+ # """
1661
+
1662
+ # """
1663
+
1664
+ # dlllib.String_Intern.argtypes=[ c_void_p]
1665
+ # dlllib.String_Intern.restype=c_wchar_p
1666
+ # ret = CallCFunction(dlllib.String_Intern, str)
1667
+ # return ret
1668
+
1669
+
1670
+ # @staticmethod
1671
+
1672
+ # def IsInterned(str:str)->str:
1673
+ # """
1674
+
1675
+ # """
1676
+
1677
+ # dlllib.String_IsInterned.argtypes=[ c_void_p]
1678
+ # dlllib.String_IsInterned.restype=c_wchar_p
1679
+ # ret = CallCFunction(dlllib.String_IsInterned, str)
1680
+ # return ret
1681
+
1682
+
1683
+ ##
1684
+ ## def GetTypeCode(self)->'TypeCode':
1685
+ ## """
1686
+ ##
1687
+ ## """
1688
+ ## dlllib.String_GetTypeCode.argtypes=[c_void_p]
1689
+ ## dlllib.String_GetTypeCode.restype=c_int
1690
+ ## ret = CallCFunction(dlllib.String_GetTypeCode,self.Ptr)
1691
+ ## objwraped = TypeCode(ret)
1692
+ ## return objwraped
1693
+
1694
+
1695
+ ##
1696
+ ## def GetEnumerator(self)->'CharEnumerator':
1697
+ ## """
1698
+ ##
1699
+ ## """
1700
+ ## dlllib.String_GetEnumerator.argtypes=[c_void_p]
1701
+ ## dlllib.String_GetEnumerator.restype=c_void_p
1702
+ ## intPtr = CallCFunction(dlllib.String_GetEnumerator,self.Ptr)
1703
+ ## ret = None if intPtr==None else CharEnumerator(intPtr)
1704
+ ## return ret
1705
+ ##
1706
+
1707
+
1708
+ ## @staticmethod
1709
+ ## @dispatch
1710
+ ##
1711
+ ## def Join(separator:str,values:'IEnumerable1')->str:
1712
+ ## """
1713
+ ##
1714
+ ## """
1715
+ ## intPtrvalues:c_void_p = values.Ptr
1716
+ ##
1717
+ ## dlllib.String_JoinSV11.argtypes=[ c_void_p,c_void_p]
1718
+ ## dlllib.String_JoinSV11.restype=c_wchar_p
1719
+ ## ret = CallCFunction(dlllib.String_JoinSV11, separator,intPtrvalues)
1720
+ ## return ret
1721
+ ##
1722
+
1723
+
1724
+
1725
+ # def get_Chars(self ,index:int)->int:
1726
+ # """
1727
+
1728
+ # """
1729
+
1730
+ # dlllib.String_get_Chars.argtypes=[c_void_p ,c_int]
1731
+ # dlllib.String_get_Chars.restype=c_int
1732
+ # ret = CallCFunction(dlllib.String_get_Chars,self.Ptr, index)
1733
+ # return ret
1734
+
1735
+ # @property
1736
+ # def Length(self)->int:
1737
+ # """
1738
+
1739
+ # """
1740
+ # dlllib.String_get_Length.argtypes=[c_void_p]
1741
+ # dlllib.String_get_Length.restype=c_int
1742
+ # ret = CallCFunction(dlllib.String_get_Length,self.Ptr)
1743
+ # return ret
1744
+
1745
+ ## @staticmethod
1746
+ ## @dispatch
1747
+ ##
1748
+ ## def Concat(values:'IEnumerable1')->str:
1749
+ ## """
1750
+ ##
1751
+ ## """
1752
+ ## intPtrvalues:c_void_p = values.Ptr
1753
+ ##
1754
+ ## dlllib.String_ConcatV11.argtypes=[ c_void_p]
1755
+ ## dlllib.String_ConcatV11.restype=c_wchar_p
1756
+ ## ret = CallCFunction(dlllib.String_ConcatV11, intPtrvalues)
1757
+ ## return ret
1758
+ ##
1759
+
1760
+
1761
+ # @dispatch
1762
+
1763
+ # def IndexOf(self ,value:int,startIndex:int,count:int)->int:
1764
+ # """
1765
+
1766
+ # """
1767
+
1768
+ # dlllib.String_IndexOfVSC11.argtypes=[c_void_p ,c_void_p,c_int,c_int]
1769
+ # dlllib.String_IndexOfVSC11.restype=c_int
1770
+ # ret = CallCFunction(dlllib.String_IndexOfVSC11,self.Ptr, value,startIndex,count)
1771
+ # return ret
1772
+
1773
+ ## @dispatch
1774
+ ##
1775
+ ## def IndexOfAny(self ,anyOf:'Char[]',startIndex:int,count:int)->int:
1776
+ ## """
1777
+ ##
1778
+ ## """
1779
+ ## #arrayanyOf:ArrayTypeanyOf = ""
1780
+ ## countanyOf = len(anyOf)
1781
+ ## ArrayTypeanyOf = c_void_p * countanyOf
1782
+ ## arrayanyOf = ArrayTypeanyOf()
1783
+ ## for i in range(0, countanyOf):
1784
+ ## arrayanyOf[i] = anyOf[i].Ptr
1785
+ ##
1786
+ ##
1787
+ ## dlllib.String_IndexOfAnyASC.argtypes=[c_void_p ,ArrayTypeanyOf,c_int,c_int]
1788
+ ## dlllib.String_IndexOfAnyASC.restype=c_int
1789
+ ## ret = CallCFunction(dlllib.String_IndexOfAnyASC,self.Ptr, arrayanyOf,startIndex,count)
1790
+ ## return ret
1791
+
1792
+
1793
+ # @dispatch
1794
+
1795
+ # def LastIndexOf(self ,value:int,startIndex:int,count:int)->int:
1796
+ # """
1797
+
1798
+ # """
1799
+
1800
+ # dlllib.String_LastIndexOfVSC11.argtypes=[c_void_p ,c_void_p,c_int,c_int]
1801
+ # dlllib.String_LastIndexOfVSC11.restype=c_int
1802
+ # ret = CallCFunction(dlllib.String_LastIndexOfVSC11,self.Ptr, value,startIndex,count)
1803
+ # return ret
1804
+
1805
+ ## @dispatch
1806
+ ##
1807
+ ## def LastIndexOfAny(self ,anyOf:'Char[]',startIndex:int,count:int)->int:
1808
+ ## """
1809
+ ##
1810
+ ## """
1811
+ ## #arrayanyOf:ArrayTypeanyOf = ""
1812
+ ## countanyOf = len(anyOf)
1813
+ ## ArrayTypeanyOf = c_void_p * countanyOf
1814
+ ## arrayanyOf = ArrayTypeanyOf()
1815
+ ## for i in range(0, countanyOf):
1816
+ ## arrayanyOf[i] = anyOf[i].Ptr
1817
+ ##
1818
+ ##
1819
+ ## dlllib.String_LastIndexOfAnyASC.argtypes=[c_void_p ,ArrayTypeanyOf,c_int,c_int]
1820
+ ## dlllib.String_LastIndexOfAnyASC.restype=c_int
1821
+ ## ret = CallCFunction(dlllib.String_LastIndexOfAnyASC,self.Ptr, arrayanyOf,startIndex,count)
1822
+ ## return ret
1823
+
1824
+
1825
+ # @staticmethod
1826
+ # @dispatch
1827
+
1828
+ # def Format(format:str,args:List[SpireObject])->str:
1829
+ # """
1830
+
1831
+ # """
1832
+ # #arrayargs:ArrayTypeargs = ""
1833
+ # countargs = len(args)
1834
+ # ArrayTypeargs = c_void_p * countargs
1835
+ # arrayargs = ArrayTypeargs()
1836
+ # for i in range(0, countargs):
1837
+ # arrayargs[i] = args[i].Ptr
1838
+
1839
+
1840
+ # dlllib.String_FormatFA.argtypes=[ c_void_p,ArrayTypeargs,c_int]
1841
+ # dlllib.String_FormatFA.restype=c_wchar_p
1842
+ # ret = CallCFunction(dlllib.String_FormatFA, format,arrayargs,countargs)
1843
+ # return ret
1844
+
1845
+
1846
+ ## @staticmethod
1847
+ ## @dispatch
1848
+ ##
1849
+ ## def Format(provider:'IFormatProvider',format:str,args:List[SpireObject])->str:
1850
+ ## """
1851
+ ##
1852
+ ## """
1853
+ ## intPtrprovider:c_void_p = provider.Ptr
1854
+ ## #arrayargs:ArrayTypeargs = ""
1855
+ ## countargs = len(args)
1856
+ ## ArrayTypeargs = c_void_p * countargs
1857
+ ## arrayargs = ArrayTypeargs()
1858
+ ## for i in range(0, countargs):
1859
+ ## arrayargs[i] = args[i].Ptr
1860
+ ##
1861
+ ##
1862
+ ## dlllib.String_FormatPFA1.argtypes=[ c_void_p,c_void_p,ArrayTypeargs]
1863
+ ## dlllib.String_FormatPFA1.restype=c_wchar_p
1864
+ ## ret = CallCFunction(dlllib.String_FormatPFA1, intPtrprovider,format,arrayargs)
1865
+ ## return ret
1866
+ ##
1867
+
1868
+
1869
+ # @staticmethod
1870
+
1871
+ # def Empty()->str:
1872
+ # """
1873
+
1874
+ # """
1875
+ # #dlllib.String_Empty.argtypes=[]
1876
+ # dlllib.String_Empty.restype=c_wchar_p
1877
+ # ret = CallCFunction(dlllib.String_Empty)
1878
+ # return ret
1879
+
1880
+