Skip to content

Commit 2275dd3

Browse files
authored
Merge pull request #50 from aspose-pdf-cloud/develop
update to 22.11
2 parents 4e51bb7 + 9fa3e27 commit 2275dd3

File tree

7 files changed

+22
-27
lines changed

7 files changed

+22
-27
lines changed

README.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,9 @@ 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.10
34-
- Convert password protected PDF to DOC.
35-
- Support to convert password protected document to graphic formats.
36-
- Support to convert pages of password protected PDF to JPEG using GetPageConvertToJpeg.
37-
- Add new REST API endpoint to parse PDF document into PDF parts containing specified page ranges.
33+
## Enhancements in Version 22.11
3834
- A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
3935

40-
## Bugs fixed in Version 22.10
41-
- The PostSplitDocument API method is throwing 504 Gateway Error.
42-
4336
## Requirements.
4437
Python 2.7 and 3.4+
4538

@@ -334,7 +327,7 @@ Class | Method | HTTP request | Description
334327
*PdfApi* | [**post_sign_page**](docs/PdfApi.md#post_sign_page) | **POST** /pdf/\{name}/pages/\{pageNumber}/sign | Sign page.
335328
*PdfApi* | [**post_signature_field**](docs/PdfApi.md#post_signature_field) | **POST** /pdf/\{name}/fields/signature | Add document signature field.
336329
*PdfApi* | [**post_split_document**](docs/PdfApi.md#post_split_document) | **POST** /pdf/\{name}/split | Split document to parts.
337-
*PdfApi* | [**post_split_range_pdf_document**](docs/PdfApi.md#post_split_range_pdf_document) | **POST** /pdf/\{name}/splitrangepdf |
330+
*PdfApi* | [**post_split_range_pdf_document**](docs/PdfApi.md#post_split_range_pdf_document) | **POST** /pdf/\{name}/splitrangepdf | Split document into ranges.
338331
*PdfApi* | [**post_text_box_fields**](docs/PdfApi.md#post_text_box_fields) | **POST** /pdf/\{name}/fields/textbox | Add document text box fields.
339332
*PdfApi* | [**put_add_new_page**](docs/PdfApi.md#put_add_new_page) | **PUT** /pdf/\{name}/pages | Add new page to end of the document.
340333
*PdfApi* | [**put_add_text**](docs/PdfApi.md#put_add_text) | **PUT** /pdf/\{name}/pages/\{pageNumber}/text | Add text to PDF document page.

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

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

asposepdfcloud/apis/pdf_api.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29127,6 +29127,7 @@ def post_split_document_with_http_info(self, name, **kwargs):
2912729127

2912829128
def post_split_range_pdf_document(self, name, options, **kwargs):
2912929129
"""
29130+
Split document into ranges.
2913029131
This method makes a synchronous HTTP request by default. To make an
2913129132
asynchronous HTTP request, please define a `callback` function
2913229133
to be invoked when receiving the response.
@@ -29137,10 +29138,10 @@ def post_split_range_pdf_document(self, name, options, **kwargs):
2913729138

2913829139
:param callback function: The callback function
2913929140
for asynchronous request. (optional)
29140-
:param str name: (required)
29141-
:param SplitRangePdfOptions options: (required)
29142-
:param str storage:
29143-
:param str folder:
29141+
:param str name: The document name. (required)
29142+
:param SplitRangePdfOptions options: The splitting options. (required)
29143+
:param str storage: The document storage.
29144+
:param str folder: The document folder.
2914429145
:return: SplitResultResponse
2914529146
If the method is called asynchronously,
2914629147
returns the request thread.
@@ -29154,6 +29155,7 @@ def post_split_range_pdf_document(self, name, options, **kwargs):
2915429155

2915529156
def post_split_range_pdf_document_with_http_info(self, name, options, **kwargs):
2915629157
"""
29158+
Split document into ranges.
2915729159
This method makes a synchronous HTTP request by default. To make an
2915829160
asynchronous HTTP request, please define a `callback` function
2915929161
to be invoked when receiving the response.
@@ -29164,10 +29166,10 @@ def post_split_range_pdf_document_with_http_info(self, name, options, **kwargs):
2916429166

2916529167
:param callback function: The callback function
2916629168
for asynchronous request. (optional)
29167-
:param str name: (required)
29168-
:param SplitRangePdfOptions options: (required)
29169-
:param str storage:
29170-
:param str folder:
29169+
:param str name: The document name. (required)
29170+
:param SplitRangePdfOptions options: The splitting options. (required)
29171+
:param str storage: The document storage.
29172+
:param str folder: The document folder.
2917129173
:return: SplitResultResponse
2917229174
If the method is called asynchronously,
2917329175
returns the request thread.

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

docs/PdfApi.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ Method | HTTP request | Description
246246
[**post_sign_page**](PdfApi.md#post_sign_page) | **POST** /pdf/\{name}/pages/\{pageNumber}/sign | Sign page.
247247
[**post_signature_field**](PdfApi.md#post_signature_field) | **POST** /pdf/\{name}/fields/signature | Add document signature field.
248248
[**post_split_document**](PdfApi.md#post_split_document) | **POST** /pdf/\{name}/split | Split document to parts.
249-
[**post_split_range_pdf_document**](PdfApi.md#post_split_range_pdf_document) | **POST** /pdf/\{name}/splitrangepdf |
249+
[**post_split_range_pdf_document**](PdfApi.md#post_split_range_pdf_document) | **POST** /pdf/\{name}/splitrangepdf | Split document into ranges.
250250
[**post_text_box_fields**](PdfApi.md#post_text_box_fields) | **POST** /pdf/\{name}/fields/textbox | Add document text box fields.
251251
[**put_add_new_page**](PdfApi.md#put_add_new_page) | **PUT** /pdf/\{name}/pages | Add new page to end of the document.
252252
[**put_add_text**](PdfApi.md#put_add_text) | **PUT** /pdf/\{name}/pages/\{pageNumber}/text | Add text to PDF document page.
@@ -6512,16 +6512,16 @@ Name | Type | Description | Notes
65126512
# **post_split_range_pdf_document**
65136513
> SplitResultResponse post_split_range_pdf_document(name, options, storage=storage, folder=folder)
65146514
6515-
6515+
Split document into ranges.
65166516

65176517
### Parameters
65186518

65196519
Name | Type | Description | Notes
65206520
------------- | ------------- | ------------- | -------------
6521-
**name** | **str**| |
6522-
**options** | [**SplitRangePdfOptions**](SplitRangePdfOptions.md)| |
6523-
**storage** | **str**| | [optional]
6524-
**folder** | **str**| | [optional]
6521+
**name** | **str**| The document name. |
6522+
**options** | [**SplitRangePdfOptions**](SplitRangePdfOptions.md)| The splitting options. |
6523+
**storage** | **str**| The document storage. | [optional]
6524+
**folder** | **str**| The document folder. | [optional]
65256525

65266526
### Return type
65276527

docs/SplitRangePdfOptions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SplitRangePdfOptions
2-
2+
Represents Pdf split into ranges options.
33

44
## Properties
55
Name | Type | Description | Notes

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

0 commit comments

Comments
 (0)