Skip to content

Commit 8957d39

Browse files
authored
Merge pull request #61 from aspose-pdf-cloud/develop
update to 23.9
2 parents f462bf3 + e88dfd8 commit 8957d39

File tree

6 files changed

+29
-17
lines changed

6 files changed

+29
-17
lines changed

README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +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 23.8
34-
- Support to split password protected PDF documents.
35-
- Support to convert password Protected PDF to Xlsx.
36-
- Support to convert password Protected PDF to Excel.
37-
- Replace a single image using multiple Image Ids.
33+
## Enhancements in Version 23.9
34+
- Support to convert password protected PDF documents to PDFA.
3835
- A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
3936

40-
## Bugs fixed in Version 23.8
41-
- The putMergeDocuments API method in Node.js Throws Gateway Error.
42-
- Text Replacement Changes the Background.
37+
## Bugs fixed in Version 23.9
38+
- Rotate Property not working with FreeTextAnnotation.
39+
- PutAnnotationsFlatten not working correctly when passing multiple annotation types.
4340

4441
## Requirements.
4542
Python 2.7 and 3.4+

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'] = '23.8.0'
86+
self.default_headers['x-aspose-client-version'] = '23.9.0'
8787

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

asposepdfcloud/apis/pdf_api.py

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17197,6 +17197,7 @@ def get_pdf_in_storage_to_pdf_a(self, name, type, **kwargs):
1719717197
:param str type: Type of PdfA format. (required)
1719817198
:param str folder: The document folder.
1719917199
:param str storage: The document storage.
17200+
:param str password: The password (Base64).
1720017201
:return: file
1720117202
If the method is called asynchronously,
1720217203
returns the request thread.
@@ -17225,12 +17226,13 @@ def get_pdf_in_storage_to_pdf_a_with_http_info(self, name, type, **kwargs):
1722517226
:param str type: Type of PdfA format. (required)
1722617227
:param str folder: The document folder.
1722717228
:param str storage: The document storage.
17229+
:param str password: The password (Base64).
1722817230
:return: file
1722917231
If the method is called asynchronously,
1723017232
returns the request thread.
1723117233
"""
1723217234

17233-
all_params = ['name', 'type', 'folder', 'storage']
17235+
all_params = ['name', 'type', 'folder', 'storage', 'password']
1723417236
all_params.append('callback')
1723517237
all_params.append('_return_http_data_only')
1723617238
all_params.append('_preload_content')
@@ -17266,6 +17268,8 @@ def get_pdf_in_storage_to_pdf_a_with_http_info(self, name, type, **kwargs):
1726617268
query_params.append(('folder', params['folder']))
1726717269
if 'storage' in params:
1726817270
query_params.append(('storage', params['storage']))
17271+
if 'password' in params:
17272+
query_params.append(('password', params['password']))
1726917273

1727017274
header_params = {}
1727117275

@@ -36820,6 +36824,7 @@ def put_pdf_in_request_to_pdf_a(self, out_path, type, **kwargs):
3682036824
:param str out_path: Full resulting filename (ex. /folder1/folder2/result.pdf) (required)
3682136825
:param str type: Type of PdfA format. (required)
3682236826
:param str storage: The document storage.
36827+
:param str password: The password (Base64).
3682336828
:param file file: A file to be converted.
3682436829
:return: AsposeResponse
3682536830
If the method is called asynchronously,
@@ -36848,13 +36853,14 @@ def put_pdf_in_request_to_pdf_a_with_http_info(self, out_path, type, **kwargs):
3684836853
:param str out_path: Full resulting filename (ex. /folder1/folder2/result.pdf) (required)
3684936854
:param str type: Type of PdfA format. (required)
3685036855
:param str storage: The document storage.
36856+
:param str password: The password (Base64).
3685136857
:param file file: A file to be converted.
3685236858
:return: AsposeResponse
3685336859
If the method is called asynchronously,
3685436860
returns the request thread.
3685536861
"""
3685636862

36857-
all_params = ['out_path', 'type', 'storage', 'file']
36863+
all_params = ['out_path', 'type', 'storage', 'password', 'file']
3685836864
all_params.append('callback')
3685936865
all_params.append('_return_http_data_only')
3686036866
all_params.append('_preload_content')
@@ -36888,6 +36894,8 @@ def put_pdf_in_request_to_pdf_a_with_http_info(self, out_path, type, **kwargs):
3688836894
query_params.append(('type', params['type']))
3688936895
if 'storage' in params:
3689036896
query_params.append(('storage', params['storage']))
36897+
if 'password' in params:
36898+
query_params.append(('password', params['password']))
3689136899

3689236900
header_params = {}
3689336901

@@ -38586,6 +38594,7 @@ def put_pdf_in_storage_to_pdf_a(self, name, out_path, type, **kwargs):
3858638594
:param str type: Type of PdfA format. (required)
3858738595
:param str folder: The document folder.
3858838596
:param str storage: The document storage.
38597+
:param str password: The password (Base64).
3858938598
:return: AsposeResponse
3859038599
If the method is called asynchronously,
3859138600
returns the request thread.
@@ -38615,12 +38624,13 @@ def put_pdf_in_storage_to_pdf_a_with_http_info(self, name, out_path, type, **kwa
3861538624
:param str type: Type of PdfA format. (required)
3861638625
:param str folder: The document folder.
3861738626
:param str storage: The document storage.
38627+
:param str password: The password (Base64).
3861838628
:return: AsposeResponse
3861938629
If the method is called asynchronously,
3862038630
returns the request thread.
3862138631
"""
3862238632

38623-
all_params = ['name', 'out_path', 'type', 'folder', 'storage']
38633+
all_params = ['name', 'out_path', 'type', 'folder', 'storage', 'password']
3862438634
all_params.append('callback')
3862538635
all_params.append('_return_http_data_only')
3862638636
all_params.append('_preload_content')
@@ -38661,6 +38671,8 @@ def put_pdf_in_storage_to_pdf_a_with_http_info(self, name, out_path, type, **kwa
3866138671
query_params.append(('folder', params['folder']))
3866238672
if 'storage' in params:
3866338673
query_params.append(('storage', params['storage']))
38674+
if 'password' in params:
38675+
query_params.append(('password', params['password']))
3866438676

3866538677
header_params = {}
3866638678

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: 23.8.0".\
202+
"SDK Package Version: 23.9.0".\
203203
format(env=sys.platform, pyversion=sys.version)

docs/PdfApi.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4003,7 +4003,7 @@ Name | Type | Description | Notes
40034003
[[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)
40044004

40054005
# **get_pdf_in_storage_to_pdf_a**
4006-
> file get_pdf_in_storage_to_pdf_a(name, type, folder=folder, storage=storage)
4006+
> file get_pdf_in_storage_to_pdf_a(name, type, folder=folder, storage=storage, password=password)
40074007
40084008
Converts PDF document (located on storage) to PdfA format and returns resulting file in response content
40094009

@@ -4015,6 +4015,7 @@ Name | Type | Description | Notes
40154015
**type** | **str**| Type of PdfA format. |
40164016
**folder** | **str**| The document folder. | [optional]
40174017
**storage** | **str**| The document storage. | [optional]
4018+
**password** | **str**| The password (Base64). | [optional]
40184019

40194020
### Return type
40204021

@@ -8132,7 +8133,7 @@ Name | Type | Description | Notes
81328133
[[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)
81338134

81348135
# **put_pdf_in_request_to_pdf_a**
8135-
> AsposeResponse put_pdf_in_request_to_pdf_a(out_path, type, storage=storage, file=file)
8136+
> AsposeResponse put_pdf_in_request_to_pdf_a(out_path, type, storage=storage, password=password, file=file)
81368137
81378138
Converts PDF document (in request content) to PdfA format and uploads resulting file to storage.
81388139

@@ -8143,6 +8144,7 @@ Name | Type | Description | Notes
81438144
**out_path** | **str**| Full resulting filename (ex. /folder1/folder2/result.pdf) |
81448145
**type** | **str**| Type of PdfA format. |
81458146
**storage** | **str**| The document storage. | [optional]
8147+
**password** | **str**| The password (Base64). | [optional]
81468148
**file** | **file**| A file to be converted. | [optional]
81478149

81488150
### Return type
@@ -8517,7 +8519,7 @@ Name | Type | Description | Notes
85178519
[[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)
85188520

85198521
# **put_pdf_in_storage_to_pdf_a**
8520-
> AsposeResponse put_pdf_in_storage_to_pdf_a(name, out_path, type, folder=folder, storage=storage)
8522+
> AsposeResponse put_pdf_in_storage_to_pdf_a(name, out_path, type, folder=folder, storage=storage, password=password)
85218523
85228524
Converts PDF document (located on storage) to PdfA format and uploads resulting file to storage
85238525

@@ -8530,6 +8532,7 @@ Name | Type | Description | Notes
85308532
**type** | **str**| Type of PdfA format. |
85318533
**folder** | **str**| The document folder. | [optional]
85328534
**storage** | **str**| The document storage. | [optional]
8535+
**password** | **str**| The password (Base64). | [optional]
85338536

85348537
### Return type
85358538

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 = "23.8.0"
35+
VERSION = "23.9.0"
3636
# To install the library, run the following
3737
#
3838
# python setup.py install

0 commit comments

Comments
 (0)