Skip to content

Commit 825282d

Browse files
update to 22.2
1 parent de65d4d commit 825282d

File tree

10 files changed

+31
-306
lines changed

10 files changed

+31
-306
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,13 @@ XLS, XLSX, PPTX, DOC, DOCX, MobiXML, JPEG, EMF, PNG, BMP, GIF, TIFF, Text
3030
## Read PDF Formats
3131
MHT, PCL, PS, XSLFO, MD
3232

33-
## Enhancements in Version 22.1
33+
## Enhancements in Version 22.2
3434
- A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
3535

36+
## Bugs fixed in Version 22.2
37+
- PDF to XLSX: Google sheet does not recognize output excel sheet.
38+
- Text Replace API method throws Internal Error.
39+
3640
## Enhancements in Version 20.9
3741
* Implemented custom fonts for Text API.
3842
* Added custom fonts for Table API.
@@ -184,7 +188,6 @@ Class | Method | HTTP request | Description
184188
*PdfApi* | [**get_import_fields_from_xfdf_in_storage**](docs/PdfApi.md#get_import_fields_from_xfdf_in_storage) | **GET** /pdf/\{name}/import/xfdf | Update fields from XFDF file in storage.
185189
*PdfApi* | [**get_import_fields_from_xml_in_storage**](docs/PdfApi.md#get_import_fields_from_xml_in_storage) | **GET** /pdf/\{name}/import/xml | Import from XML file (located on storage) to PDF format and return resulting file in response.
186190
*PdfApi* | [**get_ink_annotation**](docs/PdfApi.md#get_ink_annotation) | **GET** /pdf/\{name}/annotations/ink/\{annotationId} | Read document page ink annotation by ID.
187-
*PdfApi* | [**get_la_te_x_in_storage_to_pdf**](docs/PdfApi.md#get_la_te_x_in_storage_to_pdf) | **GET** /pdf/create/latex | Convert TeX file (located on storage) to PDF format and return resulting file in response.
188191
*PdfApi* | [**get_line_annotation**](docs/PdfApi.md#get_line_annotation) | **GET** /pdf/\{name}/annotations/line/\{annotationId} | Read document page line annotation by ID.
189192
*PdfApi* | [**get_link_annotation**](docs/PdfApi.md#get_link_annotation) | **GET** /pdf/\{name}/links/\{linkId} | Read document link annotation by ID.
190193
*PdfApi* | [**get_list_box_field**](docs/PdfApi.md#get_list_box_field) | **GET** /pdf/\{name}/fields/listbox/\{fieldName} | Read document listbox field by name.
@@ -371,7 +374,6 @@ Class | Method | HTTP request | Description
371374
*PdfApi* | [**put_import_fields_from_xfdf_in_storage**](docs/PdfApi.md#put_import_fields_from_xfdf_in_storage) | **PUT** /pdf/\{name}/import/xfdf | Update fields from XFDF file in storage.
372375
*PdfApi* | [**put_import_fields_from_xml_in_storage**](docs/PdfApi.md#put_import_fields_from_xml_in_storage) | **PUT** /pdf/\{name}/import/xml | Update fields from XML file in storage.
373376
*PdfApi* | [**put_ink_annotation**](docs/PdfApi.md#put_ink_annotation) | **PUT** /pdf/\{name}/annotations/ink/\{annotationId} | Replace document ink annotation
374-
*PdfApi* | [**put_la_te_x_in_storage_to_pdf**](docs/PdfApi.md#put_la_te_x_in_storage_to_pdf) | **PUT** /pdf/\{name}/create/latex | Convert TeX file (located on storage) to PDF format and upload resulting file to storage.
375377
*PdfApi* | [**put_line_annotation**](docs/PdfApi.md#put_line_annotation) | **PUT** /pdf/\{name}/annotations/line/\{annotationId} | Replace document line annotation
376378
*PdfApi* | [**put_link_annotation**](docs/PdfApi.md#put_link_annotation) | **PUT** /pdf/\{name}/links/\{linkId} | Replace document page link annotations
377379
*PdfApi* | [**put_list_box_field**](docs/PdfApi.md#put_list_box_field) | **PUT** /pdf/\{name}/fields/listbox/\{fieldName} | Replace document listbox field

asposepdfcloud/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def __init__(self, app_key, app_sid, host=None):
8383
self.rest_client = RESTClientObject()
8484
self.default_headers = {}
8585
self.default_headers['x-aspose-client'] = 'python sdk'
86-
self.default_headers['x-aspose-client-version'] = '22.1.0'
86+
self.default_headers['x-aspose-client-version'] = '22.2.0'
8787

8888
self.app_key = app_key
8989
self.app_sid = app_sid

asposepdfcloud/apis/pdf_api.py

Lines changed: 12 additions & 239 deletions
Large diffs are not rendered by default.

asposepdfcloud/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,5 +199,5 @@ def to_debug_report(self):
199199
"OS: {env}\n"\
200200
"Python Version: {pyversion}\n"\
201201
"Version of the API: 3.0\n"\
202-
"SDK Package Version: 22.1.0".\
202+
"SDK Package Version: 22.2.0".\
203203
format(env=sys.platform, pyversion=sys.version)

asposepdfcloud/models/document_property.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def links(self, links):
106106
def name(self):
107107
"""
108108
Gets the name of this DocumentProperty.
109-
Pame of the property.
109+
Name of the property.
110110
111111
:return: The name of this DocumentProperty.
112112
:rtype: str
@@ -117,7 +117,7 @@ def name(self):
117117
def name(self, name):
118118
"""
119119
Sets the name of this DocumentProperty.
120-
Pame of the property.
120+
Name of the property.
121121
122122
:param name: The name of this DocumentProperty.
123123
:type: str

asposepdfcloud/models/signature.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Aspose.PDF Cloud API Reference
55
66
7-
Copyright (c) 2022 Aspose.PDF Cloud
7+
Copyright (c) 2021 Aspose.PDF Cloud
88
Permission is hereby granted, free of charge, to any person obtaining a copy
99
of this software and associated documentation files (the "Software"), to deal
1010
in the Software without restriction, including without limitation the rights

asposepdfcloud/models/sound_annotation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Aspose.PDF Cloud API Reference
55
66
7-
Copyright (c) 2022 Aspose.PDF Cloud
7+
Copyright (c) 2021 Aspose.PDF Cloud
88
Permission is hereby granted, free of charge, to any person obtaining a copy
99
of this software and associated documentation files (the "Software"), to deal
1010
in the Software without restriction, including without limitation the rights

docs/DocumentProperty.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Pdf document property.
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**links** | [**list[Link]**](Link.md) | Link to the document. | [optional]
8-
**name** | **str** | Pame of the property. | [optional]
8+
**name** | **str** | Name of the property. | [optional]
99
**value** | **str** | Property value. | [optional]
1010
**built_in** | **bool** | Value indicating whether it is a built-in property. |
1111

docs/PdfApi.md

Lines changed: 6 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ Method | HTTP request | Description
9797
[**get_import_fields_from_xfdf_in_storage**](PdfApi.md#get_import_fields_from_xfdf_in_storage) | **GET** /pdf/\{name}/import/xfdf | Update fields from XFDF file in storage.
9898
[**get_import_fields_from_xml_in_storage**](PdfApi.md#get_import_fields_from_xml_in_storage) | **GET** /pdf/\{name}/import/xml | Import from XML file (located on storage) to PDF format and return resulting file in response.
9999
[**get_ink_annotation**](PdfApi.md#get_ink_annotation) | **GET** /pdf/\{name}/annotations/ink/\{annotationId} | Read document page ink annotation by ID.
100-
[**get_la_te_x_in_storage_to_pdf**](PdfApi.md#get_la_te_x_in_storage_to_pdf) | **GET** /pdf/create/latex | Convert TeX file (located on storage) to PDF format and return resulting file in response.
101100
[**get_line_annotation**](PdfApi.md#get_line_annotation) | **GET** /pdf/\{name}/annotations/line/\{annotationId} | Read document page line annotation by ID.
102101
[**get_link_annotation**](PdfApi.md#get_link_annotation) | **GET** /pdf/\{name}/links/\{linkId} | Read document link annotation by ID.
103102
[**get_list_box_field**](PdfApi.md#get_list_box_field) | **GET** /pdf/\{name}/fields/listbox/\{fieldName} | Read document listbox field by name.
@@ -284,7 +283,6 @@ Method | HTTP request | Description
284283
[**put_import_fields_from_xfdf_in_storage**](PdfApi.md#put_import_fields_from_xfdf_in_storage) | **PUT** /pdf/\{name}/import/xfdf | Update fields from XFDF file in storage.
285284
[**put_import_fields_from_xml_in_storage**](PdfApi.md#put_import_fields_from_xml_in_storage) | **PUT** /pdf/\{name}/import/xml | Update fields from XML file in storage.
286285
[**put_ink_annotation**](PdfApi.md#put_ink_annotation) | **PUT** /pdf/\{name}/annotations/ink/\{annotationId} | Replace document ink annotation
287-
[**put_la_te_x_in_storage_to_pdf**](PdfApi.md#put_la_te_x_in_storage_to_pdf) | **PUT** /pdf/\{name}/create/latex | Convert TeX file (located on storage) to PDF format and upload resulting file to storage.
288286
[**put_line_annotation**](PdfApi.md#put_line_annotation) | **PUT** /pdf/\{name}/annotations/line/\{annotationId} | Replace document line annotation
289287
[**put_link_annotation**](PdfApi.md#put_link_annotation) | **PUT** /pdf/\{name}/links/\{linkId} | Replace document page link annotations
290288
[**put_list_box_field**](PdfApi.md#put_list_box_field) | **PUT** /pdf/\{name}/fields/listbox/\{fieldName} | Replace document listbox field
@@ -2647,29 +2645,6 @@ Name | Type | Description | Notes
26472645

26482646
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
26492647

2650-
# **get_la_te_x_in_storage_to_pdf**
2651-
> file get_la_te_x_in_storage_to_pdf(src_path, storage=storage)
2652-
2653-
Convert TeX file (located on storage) to PDF format and return resulting file in response.
2654-
2655-
### Parameters
2656-
2657-
Name | Type | Description | Notes
2658-
------------- | ------------- | ------------- | -------------
2659-
**src_path** | **str**| Full source filename (ex. /folder1/folder2/template.tex) |
2660-
**storage** | **str**| The document storage. | [optional]
2661-
2662-
### Return type
2663-
2664-
**file**
2665-
2666-
### HTTP request headers
2667-
2668-
- **Content-Type**: application/json
2669-
- **Accept**: multipart/form-data
2670-
2671-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
2672-
26732648
# **get_line_annotation**
26742649
> LineAnnotationResponse get_line_annotation(name, annotation_id, storage=storage, folder=folder)
26752650
@@ -4167,7 +4142,7 @@ Name | Type | Description | Notes
41674142
**name** | **str**| The document name. |
41684143
**insert_blank_column_at_first** | **bool**| Insert blank column at first | [optional]
41694144
**minimize_the_number_of_worksheets** | **bool**| Minimize the number of worksheets | [optional]
4170-
**scale_factor** | **float**| Scale factor | [optional]
4145+
**scale_factor** | **float**| Scale factor (Obsolete) | [optional]
41714146
**uniform_worksheets** | **bool**| Uniform worksheets | [optional]
41724147
**folder** | **str**| The document folder. | [optional]
41734148
**storage** | **str**| The document storage. | [optional]
@@ -4195,7 +4170,7 @@ Name | Type | Description | Notes
41954170
**name** | **str**| The document name. |
41964171
**insert_blank_column_at_first** | **bool**| Insert blank column at first | [optional]
41974172
**minimize_the_number_of_worksheets** | **bool**| Minimize the number of worksheets | [optional]
4198-
**scale_factor** | **float**| Scale factor | [optional]
4173+
**scale_factor** | **float**| Scale factor (Obsolete) | [optional]
41994174
**uniform_worksheets** | **bool**| Uniform worksheets | [optional]
42004175
**folder** | **str**| The document folder. | [optional]
42014176
**storage** | **str**| The document storage. | [optional]
@@ -7499,31 +7474,6 @@ Name | Type | Description | Notes
74997474

75007475
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
75017476

7502-
# **put_la_te_x_in_storage_to_pdf**
7503-
> AsposeResponse put_la_te_x_in_storage_to_pdf(name, src_path, dst_folder=dst_folder, storage=storage)
7504-
7505-
Convert TeX file (located on storage) to PDF format and upload resulting file to storage.
7506-
7507-
### Parameters
7508-
7509-
Name | Type | Description | Notes
7510-
------------- | ------------- | ------------- | -------------
7511-
**name** | **str**| The document name. |
7512-
**src_path** | **str**| Full source filename (ex. /folder1/folder2/template.tex) |
7513-
**dst_folder** | **str**| The destination document folder. | [optional]
7514-
**storage** | **str**| The document storage. | [optional]
7515-
7516-
### Return type
7517-
7518-
[**AsposeResponse**](AsposeResponse.md)
7519-
7520-
### HTTP request headers
7521-
7522-
- **Content-Type**: application/json
7523-
- **Accept**: application/json
7524-
7525-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
7526-
75277477
# **put_line_annotation**
75287478
> LineAnnotationResponse put_line_annotation(name, annotation_id, annotation, storage=storage, folder=folder)
75297479
@@ -8233,7 +8183,7 @@ Name | Type | Description | Notes
82338183
**out_path** | **str**| Full resulting filename (ex. /folder1/folder2/result.xls) |
82348184
**insert_blank_column_at_first** | **bool**| Insert blank column at first | [optional]
82358185
**minimize_the_number_of_worksheets** | **bool**| Minimize the number of worksheets | [optional]
8236-
**scale_factor** | **float**| Scale factor | [optional]
8186+
**scale_factor** | **float**| Scale factor (Obsolete) | [optional]
82378187
**uniform_worksheets** | **bool**| Uniform worksheets | [optional]
82388188
**storage** | **str**| The document storage. | [optional]
82398189
**file** | **file**| A file to be converted. | [optional]
@@ -8261,7 +8211,7 @@ Name | Type | Description | Notes
82618211
**out_path** | **str**| Full resulting filename (ex. /folder1/folder2/result.xlsx) |
82628212
**insert_blank_column_at_first** | **bool**| Insert blank column at first | [optional]
82638213
**minimize_the_number_of_worksheets** | **bool**| Minimize the number of worksheets | [optional]
8264-
**scale_factor** | **float**| Scale factor | [optional]
8214+
**scale_factor** | **float**| Scale factor (Obsolete) | [optional]
82658215
**uniform_worksheets** | **bool**| Uniform worksheets | [optional]
82668216
**storage** | **str**| The document storage. | [optional]
82678217
**file** | **file**| A file to be converted. | [optional]
@@ -8620,7 +8570,7 @@ Name | Type | Description | Notes
86208570
**out_path** | **str**| Full resulting filename (ex. /folder1/folder2/result.xls) |
86218571
**insert_blank_column_at_first** | **bool**| Insert blank column at first | [optional]
86228572
**minimize_the_number_of_worksheets** | **bool**| Minimize the number of worksheets | [optional]
8623-
**scale_factor** | **float**| Scale factor | [optional]
8573+
**scale_factor** | **float**| Scale factor (Obsolete) | [optional]
86248574
**uniform_worksheets** | **bool**| Uniform worksheets | [optional]
86258575
**folder** | **str**| The document folder. | [optional]
86268576
**storage** | **str**| The document storage. | [optional]
@@ -8649,7 +8599,7 @@ Name | Type | Description | Notes
86498599
**out_path** | **str**| Full resulting filename (ex. /folder1/folder2/result.xlsx) |
86508600
**insert_blank_column_at_first** | **bool**| Insert blank column at first | [optional]
86518601
**minimize_the_number_of_worksheets** | **bool**| Minimize the number of worksheets | [optional]
8652-
**scale_factor** | **float**| Scale factor | [optional]
8602+
**scale_factor** | **float**| Scale factor (Obsolete) | [optional]
86538603
**uniform_worksheets** | **bool**| Uniform worksheets | [optional]
86548604
**folder** | **str**| The document folder. | [optional]
86558605
**storage** | **str**| The document storage. | [optional]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
from setuptools import setup, find_packages
3333

3434
NAME = "asposepdfcloud"
35-
VERSION = "22.1.0"
35+
VERSION = "22.2.0"
3636
# To install the library, run the following
3737
#
3838
# python setup.py install

0 commit comments

Comments
 (0)