Skip to content

Commit 3924168

Browse files
authored
Merge pull request #51 from aspose-pdf-cloud/develop
update to 22.11
2 parents 55aca59 + bf0de79 commit 3924168

File tree

8 files changed

+37
-43
lines changed

8 files changed

+37
-43
lines changed

README.md

Lines changed: 5 additions & 12 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
## Installation
4437
To install the API client library to your local Maven repository, simply execute:
4538

@@ -62,7 +55,7 @@ Add this dependency to your project's POM:
6255
<dependency>
6356
<groupId>com.aspose</groupId>
6457
<artifactId>aspose-cloud-pdf</artifactId>
65-
<version>22.10.0</version>
58+
<version>22.11.0</version>
6659
<scope>compile</scope>
6760
</dependency>
6861
```
@@ -71,7 +64,7 @@ Add this dependency to your project's POM:
7164
Add this dependency to your project's build file:
7265

7366
```groovy
74-
compile "com.aspose:aspose-cloud-pdf:22.10.0"
67+
compile "com.aspose:aspose-cloud-pdf:22.11.0"
7568
```
7669

7770
### Others
@@ -82,7 +75,7 @@ At first generate the JAR by executing:
8275

8376
Then manually install the following JARs:
8477

85-
* target/aspose-cloud-pdf-22.10.0.jar
78+
* target/aspose-cloud-pdf-22.11.0.jar
8679
* target/lib/*.jar
8780

8881
## Getting Started
@@ -372,7 +365,7 @@ Class | Method | HTTP request | Description
372365
*PdfApi* | [**postSignPage**](docs/PdfApi.md#postSignPage) | **POST** /pdf/\{name}/pages/\{pageNumber}/sign | Sign page.
373366
*PdfApi* | [**postSignatureField**](docs/PdfApi.md#postSignatureField) | **POST** /pdf/\{name}/fields/signature | Add document signature field.
374367
*PdfApi* | [**postSplitDocument**](docs/PdfApi.md#postSplitDocument) | **POST** /pdf/\{name}/split | Split document to parts.
375-
*PdfApi* | [**postSplitRangePdfDocument**](docs/PdfApi.md#postSplitRangePdfDocument) | **POST** /pdf/\{name}/splitrangepdf |
368+
*PdfApi* | [**postSplitRangePdfDocument**](docs/PdfApi.md#postSplitRangePdfDocument) | **POST** /pdf/\{name}/splitrangepdf | Split document into ranges.
376369
*PdfApi* | [**postTextBoxFields**](docs/PdfApi.md#postTextBoxFields) | **POST** /pdf/\{name}/fields/textbox | Add document text box fields.
377370
*PdfApi* | [**putAddNewPage**](docs/PdfApi.md#putAddNewPage) | **PUT** /pdf/\{name}/pages | Add new page to end of the document.
378371
*PdfApi* | [**putAddText**](docs/PdfApi.md#putAddText) | **PUT** /pdf/\{name}/pages/\{pageNumber}/text | Add text to PDF document page.

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ apply plugin: 'idea'
2020
apply plugin: 'eclipse'
2121

2222
group = 'com.aspose'
23-
version = '22.10.0'
23+
version = '22.11.0'
2424

2525
buildscript {
2626
repositories {
@@ -84,7 +84,7 @@ dependencies {
8484
publish {
8585
groupId = 'com.aspose'
8686
artifactId = 'aspose-pdf-cloud'
87-
publishVersion = '22.10.0'
87+
publishVersion = '22.11.0'
8888
desc = 'Aspose.PDF Cloud is a REST API for creating and editing PDF files. Most popular features proposed by Aspose.PDF Cloud: PDF to Word, Convert PDF to Image, Merge PDF, Split PDF, Add Images to PDF, Rotate PDF. It can also be used to convert PDF files to different formats like DOC, HTML, XPS, TIFF and many more. Aspose.PDF Cloud gives you control: create PDFs from scratch or from HTML, XML, template, database, XPS or an image. Render PDFs to image formats such as JPEG, PNG, GIF, BMP, TIFF and many others. Aspose.PDF Cloud helps you manipulate elements of a PDF file like text, annotations, watermarks, signatures, bookmarks, stamps and so on. Its REST API also allows you to manage PDF pages by using features like merging, splitting, and inserting. Add images to a PDF file or convert PDF pages to images.'
8989
licences = ['MIT']
9090
website = 'https://products.aspose.cloud/pdf/cloud'

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
[**postSignPage**](PdfApi.md#postSignPage) | **POST** /pdf/\{name}/pages/\{pageNumber}/sign | Sign page.
247247
[**postSignatureField**](PdfApi.md#postSignatureField) | **POST** /pdf/\{name}/fields/signature | Add document signature field.
248248
[**postSplitDocument**](PdfApi.md#postSplitDocument) | **POST** /pdf/\{name}/split | Split document to parts.
249-
[**postSplitRangePdfDocument**](PdfApi.md#postSplitRangePdfDocument) | **POST** /pdf/\{name}/splitrangepdf |
249+
[**postSplitRangePdfDocument**](PdfApi.md#postSplitRangePdfDocument) | **POST** /pdf/\{name}/splitrangepdf | Split document into ranges.
250250
[**postTextBoxFields**](PdfApi.md#postTextBoxFields) | **POST** /pdf/\{name}/fields/textbox | Add document text box fields.
251251
[**putAddNewPage**](PdfApi.md#putAddNewPage) | **PUT** /pdf/\{name}/pages | Add new page to end of the document.
252252
[**putAddText**](PdfApi.md#putAddText) | **PUT** /pdf/\{name}/pages/\{pageNumber}/text | Add text to PDF document page.
@@ -6271,16 +6271,16 @@ Name | Type | Description | Notes
62716271
# **postSplitRangePdfDocument**
62726272
> SplitResultResponse postSplitRangePdfDocument(name, options, storage, folder)
62736273
6274-
6274+
Split document into ranges.
62756275

62766276
### Parameters
62776277

62786278
Name | Type | Description | Notes
62796279
------------- | ------------- | ------------- | -------------
6280-
**name** | **String**| |
6281-
**options** | [**SplitRangePdfOptions**](SplitRangePdfOptions.md)| |
6282-
**storage** | **String**| | [optional]
6283-
**folder** | **String**| | [optional]
6280+
**name** | **String**| The document name. |
6281+
**options** | [**SplitRangePdfOptions**](SplitRangePdfOptions.md)| The splitting options. |
6282+
**storage** | **String**| The document storage. | [optional]
6283+
**folder** | **String**| The document folder. | [optional]
62846284

62856285
### Return type
62866286

docs/SplitRangePdfOptions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
# SplitRangePdfOptions
3-
3+
Represents Pdf split into ranges options.
44

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

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<artifactId>aspose-pdf-cloud</artifactId>
77
<packaging>jar</packaging>
88
<name>aspose-pdf-cloud</name>
9-
<version>22.10.0</version>
9+
<version>22.11.0</version>
1010
<url>https://www.aspose.cloud/</url>
1111
<description>Aspose.PDF Cloud is a REST API for creating and editing PDF files.
1212
Most popular features proposed by Aspose.PDF Cloud: PDF to Word, Convert PDF to Image, Merge PDF, Split PDF, Add Images to PDF, Rotate PDF.

src/main/java/com/aspose/asposecloudpdf/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public ApiClient() {
9292

9393
// Add custom headers
9494
addDefaultHeader("x-aspose-client", "java sdk");
95-
addDefaultHeader("x-aspose-client-version", "22.10.0");
95+
addDefaultHeader("x-aspose-client-version", "22.11.0");
9696

9797
// PDFCLOUD-418 Set default Connect Timeout
9898
setConnectTimeout(5 * 60 * 1000);

src/main/java/com/aspose/asposecloudpdf/api/PdfApi.java

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -38824,10 +38824,10 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
3882438824
}
3882538825
/**
3882638826
* Build call for postSplitRangePdfDocument
38827-
* @param name (required)
38828-
* @param options (required)
38829-
* @param storage (optional)
38830-
* @param folder (optional)
38827+
* @param name The document name. (required)
38828+
* @param options The splitting options. (required)
38829+
* @param storage The document storage. (optional)
38830+
* @param folder The document folder. (optional)
3883138831
* @param progressListener Progress listener
3883238832
* @param progressRequestListener Progress request listener
3883338833
* @return Call to execute
@@ -38899,12 +38899,12 @@ private com.squareup.okhttp.Call postSplitRangePdfDocumentValidateBeforeCall(Str
3889938899
}
3890038900

3890138901
/**
38902+
* Split document into ranges.
3890238903
*
38903-
*
38904-
* @param name (required)
38905-
* @param options (required)
38906-
* @param storage (optional)
38907-
* @param folder (optional)
38904+
* @param name The document name. (required)
38905+
* @param options The splitting options. (required)
38906+
* @param storage The document storage. (optional)
38907+
* @param folder The document folder. (optional)
3890838908
* @return SplitResultResponse
3890938909
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
3891038910
*/
@@ -38927,12 +38927,12 @@ public SplitResultResponse postSplitRangePdfDocument(String name, SplitRangePdfO
3892738927
}
3892838928

3892938929
/**
38930+
* Split document into ranges.
3893038931
*
38931-
*
38932-
* @param name (required)
38933-
* @param options (required)
38934-
* @param storage (optional)
38935-
* @param folder (optional)
38932+
* @param name The document name. (required)
38933+
* @param options The splitting options. (required)
38934+
* @param storage The document storage. (optional)
38935+
* @param folder The document folder. (optional)
3893638936
* @return ApiResponse&lt;SplitResultResponse&gt;
3893738937
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
3893838938
*/
@@ -38943,12 +38943,12 @@ public ApiResponse<SplitResultResponse> postSplitRangePdfDocumentWithHttpInfo(St
3894338943
}
3894438944

3894538945
/**
38946-
* (asynchronously)
38946+
* Split document into ranges. (asynchronously)
3894738947
*
38948-
* @param name (required)
38949-
* @param options (required)
38950-
* @param storage (optional)
38951-
* @param folder (optional)
38948+
* @param name The document name. (required)
38949+
* @param options The splitting options. (required)
38950+
* @param storage The document storage. (optional)
38951+
* @param folder The document folder. (optional)
3895238952
* @param callback The callback to be executed when the API call finishes
3895338953
* @return The request call
3895438954
* @throws ApiException If fail to process the API call, e.g. serializing the request body object

src/main/java/com/aspose/asposecloudpdf/model/SplitRangePdfOptions.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@
3636
import java.util.List;
3737

3838
/**
39-
* SplitRangePdfOptions
39+
* Represents Pdf split into ranges options.
4040
*/
41+
@ApiModel(description = "Represents Pdf split into ranges options.")
4142

4243
public class SplitRangePdfOptions {
4344
@SerializedName("PageRanges")

0 commit comments

Comments
 (0)