spire-pdf 11.7.0__py3-none-manylinux2014_aarch64.whl → 11.9.2__py3-none-manylinux2014_aarch64.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.

spire/pdf/PdfDocument.py CHANGED
@@ -283,7 +283,6 @@ class PdfDocument (SpireObject) :
283
283
  fileFormat (FileFormat): File format for the file.
284
284
  """
285
285
  enumfileFormat:c_int = fileFormat.value
286
-
287
286
  GetDllLibPdf().PdfDocument_SaveToFileFF.argtypes=[c_void_p ,c_wchar_p,c_int]
288
287
  CallCFunction(GetDllLibPdf().PdfDocument_SaveToFileFF,self.Ptr, filename,enumfileFormat)
289
288
 
@@ -323,24 +322,24 @@ class PdfDocument (SpireObject) :
323
322
  return ret
324
323
 
325
324
 
326
- #@dispatch
325
+ @dispatch
327
326
 
328
- #def SaveAsImage(self ,pageIndex:int,dpiX:int,dpiY:int)->Image:
329
- # """
330
- #<summary>
331
- # Saves PDF document page as image,Set image Dpi
332
- #</summary>
333
- #<param name="pageIndex">Page with page index to save as image</param>
334
- #<param name="dpiX">Pictures X resolution</param>
335
- #<param name="dpiY">Pictures Y resolution</param>
336
- #<returns>Returns page as Image</returns>
337
- # """
327
+ def SaveAsImage(self ,pageIndex:int,dpiX:int,dpiY:int)->Stream:
328
+ """
329
+ <summary>
330
+ Saves PDF document page as image,Set image Dpi
331
+ </summary>
332
+ <param name="pageIndex">Page with page index to save as image</param>
333
+ <param name="dpiX">Pictures X resolution</param>
334
+ <param name="dpiY">Pictures Y resolution</param>
335
+ <returns>Returns page as Image</returns>
336
+ """
338
337
 
339
- # GetDllLibPdf().PdfDocument_SaveAsImagePDD.argtypes=[c_void_p ,c_int,c_int,c_int]
340
- # GetDllLibPdf().PdfDocument_SaveAsImagePDD.restype=c_void_p
341
- # intPtr = CallCFunction(GetDllLibPdf().PdfDocument_SaveAsImagePDD,self.Ptr, pageIndex,dpiX,dpiY)
342
- # ret = None if intPtr==None else Image(intPtr)
343
- # return ret
338
+ GetDllLibPdf().PdfDocument_SaveAsImagePDD.argtypes=[c_void_p ,c_int,c_int,c_int]
339
+ GetDllLibPdf().PdfDocument_SaveAsImagePDD.restype=c_void_p
340
+ intPtr = CallCFunction(GetDllLibPdf().PdfDocument_SaveAsImagePDD,self.Ptr, pageIndex,dpiX,dpiY)
341
+ ret = None if intPtr==None else Stream(intPtr)
342
+ return ret
344
343
 
345
344
 
346
345
  #@dispatch
@@ -1541,7 +1540,7 @@ class PdfDocument (SpireObject) :
1541
1540
 
1542
1541
 
1543
1542
  #@dispatch
1544
-
1543
+ #@dispatch
1545
1544
  #def LoadFromXPS(self ,fileName:str):
1546
1545
  # """
1547
1546
  #<summary>
@@ -38,6 +38,27 @@ class PdfTextMarkupAnnotation(PdfAnnotation):
38
38
  intPtr = CallCFunction(GetDllLibPdf().PdfTextMarkupAnnotation_CreatePdfTextMarkupAnnotationMTMPP,markupTitle, text, markupText, ptrP, ptrF)
39
39
  super(PdfTextMarkupAnnotation, self).__init__(intPtr)
40
40
 
41
+ @dispatch
42
+ def __init__(self, rect: RectangleF,points: List[PointF]):
43
+ """
44
+ Initializes a new instance of the PdfTextMarkupAnnotation class with the rectangle and points.
45
+
46
+ Args: rectangle: The bounds of the annotation.
47
+ Args: quadPoints: The points specifying the coordinates of n quadrilaterals.
48
+ """
49
+ ptrR: c_void_p = rect.Ptr
50
+
51
+ countnewValues = len(points)
52
+ ArrayTypenewValues = c_void_p * countnewValues
53
+ arraynewValues = ArrayTypenewValues()
54
+ for i in range(0, countnewValues):
55
+ arraynewValues[i] = points[i].Ptr
56
+
57
+ GetDllLibPdf().PdfTextMarkupAnnotation_CreatePdfTextMarkupAnnotationRPPC.argtypes = [c_void_p,ArrayTypenewValues, c_int]
58
+ GetDllLibPdf().PdfTextMarkupAnnotation_CreatePdfTextMarkupAnnotationRPPC.restype = c_void_p
59
+ intPtr = CallCFunction(GetDllLibPdf().PdfTextMarkupAnnotation_CreatePdfTextMarkupAnnotationRPPC,ptrR, arraynewValues, countnewValues)
60
+ super(PdfTextMarkupAnnotation, self).__init__(intPtr)
61
+
41
62
  @dispatch
42
63
  def __init__(self, title: str, text: str, rect: RectangleF, pdfFont: PdfFontBase):
43
64
  """
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: spire-pdf
3
- Version: 11.7.0
3
+ Version: 11.9.2
4
4
  Summary: A 100% standalone Pdf Python API for Processing Pdf Files
5
5
  Home-page: https://www.e-iceblue.com
6
6
  Author: E-iceblue
@@ -11,7 +11,7 @@ spire/pdf/PdfConformanceLevel.py,sha256=1Pvghctuym6kNqNSMWFJmwbz1zbFs7KEF_8CoO-0
11
11
  spire/pdf/PdfConvertOptions.py,sha256=fPY535qBwXfnh3Ke-jTCRjMJrKf4fqk9a-B1393j9Iw,9544
12
12
  spire/pdf/PdfCrossReferenceType.py,sha256=1D3WyOSqe3-lV5ELBJ2XB2RCInjmUSfZk5p-NcxHsz0,413
13
13
  spire/pdf/PdfDockStyle.py,sha256=gD541cPdBT2EdNm2bUZ4mOAY1PLRNoyOfJjK7yUGgn4,384
14
- spire/pdf/PdfDocument.py,sha256=RXSRK0ySWc5nDiJuOzZoLN0z7E5lRAV1NiuQOAGgLbA,68874
14
+ spire/pdf/PdfDocument.py,sha256=4wVp5xL4moIxIwJ3asrE_kef31cOLfdckulSSsvVIWQ,68872
15
15
  spire/pdf/PdfDocumentBase.py,sha256=A2QMB2zfkWnZlptROyFaXUBIevOPMVLEdv7Twfr5Vwk,27420
16
16
  spire/pdf/PdfDocumentInformation.py,sha256=ivaUnpzNJnzTJVtTvqwjr8bKru5RyGEBVWQq0V1kKNE,8929
17
17
  spire/pdf/PdfDocumentPrivilege.py,sha256=vxBdSTZ7n5_ThnWJzblhFA3DBpkqeFO7keXbRhvuwPY,7359
@@ -149,7 +149,7 @@ spire/pdf/annotations/PdfSquareAnnotationWidget.py,sha256=5x5a31Ay4aWyaKBIK3_kvk
149
149
  spire/pdf/annotations/PdfStyledAnnotationWidget.py,sha256=x7BHMVXwBw14kw_iMoHxkqHRRgYhl3tE4DvbDLMKyqA,6039
150
150
  spire/pdf/annotations/PdfTextAnnotationIcon.py,sha256=MX9QVhIw46xWctoDS43jpw9QVDSZ1QUiRBhsg7ijY50,425
151
151
  spire/pdf/annotations/PdfTextAnnotationWidget.py,sha256=F79ilFegO4CqQvnG44kQHaV2VE2rs11IlixA9CB7tTw,684
152
- spire/pdf/annotations/PdfTextMarkupAnnotation.py,sha256=4qACrLvotXqUFzUP5p2F0n2blMTFmzY3VvqA0Gf0mZA,6019
152
+ spire/pdf/annotations/PdfTextMarkupAnnotation.py,sha256=2Ycb3e33wbdKU4v7n2Rpo1W1Cxr9WJtGrzwp29DIgrw,7098
153
153
  spire/pdf/annotations/PdfTextMarkupAnnotationType.py,sha256=mtvNo8RbwXEBoVKG8OoN5xSbzxcU2gK8lq0vP84P-lk,634
154
154
  spire/pdf/annotations/PdfTextMarkupAnnotationWidget.py,sha256=CB1O0Q16ez5HqtOXPlFhSVVN5js7qxEF4AOlXhht094,2435
155
155
  spire/pdf/annotations/PdfTextWebLink.py,sha256=ScqRwhq3nU8EaxOYUv70uY_8m84kxZYRqadyPw62MJU,2537
@@ -287,7 +287,6 @@ spire/pdf/document/CompressionLevel.py,sha256=XXi9RvuiV5So6_DjWWA9YLyHdsqsVOwGS7
287
287
  spire/pdf/document/CustomFieldType.py,sha256=kKXtQWCbAwjgXf4XfTMxLnypSLmOjNQkAJqq58tDAUQ,512
288
288
  spire/pdf/document/HttpReadType.py,sha256=8ZIZh2CBA8fkA5O8OxL35nxMkBKQvPsr2wipjal3lIc,358
289
289
  spire/pdf/document/ImageFormatType.py,sha256=ehUtrjp8u-ghzrY4bShzx5UrcYROJCFEhXj3LMODJMI,349
290
- spire/pdf/document/PdfDocument.py,sha256=4tZXQTPN7X0HO3Gh5nW9EidGDINNKocv5bA0uoiHH_w,68893
291
290
  spire/pdf/document/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
292
291
  spire/pdf/document/collections/Collections_PdfCollection.py,sha256=8AeD3SH933Ubel_MJXOsAzSEl84ZQMq5QfRGhmTUUPs,5532
293
292
  spire/pdf/document/collections/FileRelatedFieldType.py,sha256=2i_lsDOycVprjQHsR7_VuQYHHPYfkzWQkpbZjcyvq10,660
@@ -477,7 +476,7 @@ spire/pdf/interchange/taggedpdf/PdfStructureElement.py,sha256=80SZUotCo88x-7mFDW
477
476
  spire/pdf/interchange/taggedpdf/PdfStructureTreeRoot.py,sha256=zLjkFgdXqd2ZNJSZrYdctOIW4sA4ElcMvCFSyrefsDM,2122
478
477
  spire/pdf/interchange/taggedpdf/PdfTaggedContent.py,sha256=JSpbBlenLsq4zzAZTXdmRMzpXuyMCwEmaSIGZ_Ynsj4,1739
479
478
  spire/pdf/interchange/taggedpdf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
480
- spire/pdf/lib/Spire.Pdf.Base.so,sha256=T15k2ADYv57IxvUY4rwIQ8GdRYPi1cL2nrKYRTBjlEk,46886128
479
+ spire/pdf/lib/Spire.Pdf.Base.so,sha256=dDD0q8bAZLxJwO1LCe5lWrFhFBLY3n2YaOTu9iU0CbA,46816984
481
480
  spire/pdf/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
482
481
  spire/pdf/lib/libSkiaSharp.so,sha256=dvuXEtlj091YO22tsGC3r-1AChozeMoCA9d1xX-_LwU,7969416
483
482
  spire/pdf/license/LicenseProvider.py,sha256=AtBr_VRuPYgn4PgkbFKVEJwE66DrrSGkDiqV0E4M_Pk,5838
@@ -600,7 +599,7 @@ spire/pdf/widget/XfaIntField.py,sha256=2UeHYl-TI2D0aFA82LipCPdYaJiRJKfbFaTgqhgjv
600
599
  spire/pdf/widget/XfaSignatureField.py,sha256=TzeO-nx_0OsP-FpoB0ist1iQ4gq61IgdY1uMYPsgsI4,256
601
600
  spire/pdf/widget/XfaTextField.py,sha256=puzY8UthgUGQbTbEKnUKSH9Pku24h3tMA7m_i-nT6Es,931
602
601
  spire/pdf/widget/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
603
- spire_pdf-11.7.0.dist-info/METADATA,sha256=fl5XKfS8T0-PJqC2O0zy2bIXA95Dpwf-QmddyI-_kQg,6999
604
- spire_pdf-11.7.0.dist-info/WHEEL,sha256=lHpra08VITqrpDQOOT229OKVi0OezJvWnrQ8s_dxmPA,110
605
- spire_pdf-11.7.0.dist-info/top_level.txt,sha256=WxTypv85IOx5WpDWDS_HpIgu5l722KWSil7EHZwF08M,6
606
- spire_pdf-11.7.0.dist-info/RECORD,,
602
+ spire_pdf-11.9.2.dist-info/METADATA,sha256=rNqUE_nECruKIYeMAn0ywm0sCete7LTYKzSlKOer8Hk,6999
603
+ spire_pdf-11.9.2.dist-info/WHEEL,sha256=lHpra08VITqrpDQOOT229OKVi0OezJvWnrQ8s_dxmPA,110
604
+ spire_pdf-11.9.2.dist-info/top_level.txt,sha256=WxTypv85IOx5WpDWDS_HpIgu5l722KWSil7EHZwF08M,6
605
+ spire_pdf-11.9.2.dist-info/RECORD,,