Skip to content

Commit 2f5770a

Browse files
authored
Merge pull request #86 from aspose-pdf-cloud/develop
update to 25.5
2 parents a48bcd0 + 4411fe2 commit 2f5770a

File tree

8 files changed

+362
-32
lines changed

8 files changed

+362
-32
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ 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 25.4
34-
- Add method for adding Stamp per page in batch.
33+
## Enhancements in Version 25.5
34+
- Add a method for comparing pdf files.
3535
- A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
3636

3737
## Installation
@@ -56,7 +56,7 @@ Add this dependency to your project's POM:
5656
<dependency>
5757
<groupId>com.aspose</groupId>
5858
<artifactId>aspose-cloud-pdf</artifactId>
59-
<version>25.4.0</version>
59+
<version>25.5.0</version>
6060
<scope>compile</scope>
6161
</dependency>
6262
```
@@ -65,7 +65,7 @@ Add this dependency to your project's POM:
6565
Add this dependency to your project's build file:
6666

6767
```groovy
68-
compile "com.aspose:aspose-cloud-pdf:25.4.0"
68+
compile "com.aspose:aspose-cloud-pdf:25.5.0"
6969
```
7070

7171
### Others
@@ -75,7 +75,7 @@ At first generate the JAR by executing:
7575

7676
Then manually install the following JARs:
7777

78-
* target/aspose-cloud-pdf-25.4.0.jar
78+
* target/aspose-cloud-pdf-25.5.0.jar
7979
* target/lib/*.jar
8080

8181
## Getting Started

build.gradle

Lines changed: 1 addition & 1 deletion
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 = '25.4.0'
23+
version = '25.5.0'
2424

2525
buildscript {
2626
repositories {

docs/PdfApi.md

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ Method | HTTP request | Description
203203
[**postChangePasswordDocumentInStorage**](PdfApi.md#postChangePasswordDocumentInStorage) | **POST** /pdf/\{name}/changepassword | Change document password in storage.
204204
[**postCheckBoxFields**](PdfApi.md#postCheckBoxFields) | **POST** /pdf/\{name}/fields/checkbox | Add document checkbox fields.
205205
[**postComboBoxFields**](PdfApi.md#postComboBoxFields) | **POST** /pdf/\{name}/fields/combobox | Add document combobox fields.
206+
[**postComparePdf**](PdfApi.md#postComparePdf) | **POST** /pdf/compare | Compare two PDF documents.
206207
[**postCreateDocument**](PdfApi.md#postCreateDocument) | **POST** /pdf/\{name} | Create empty document.
207208
[**postCreateField**](PdfApi.md#postCreateField) | **POST** /pdf/\{name}/fields | Create field.
208209
[**postDecryptDocumentInStorage**](PdfApi.md#postDecryptDocumentInStorage) | **POST** /pdf/\{name}/decrypt | Decrypt document in storage.
@@ -2755,7 +2756,7 @@ Name | Type | Description | Notes
27552756

27562757
<a name="getMhtInStorageToPdf"></a>
27572758
# **getMhtInStorageToPdf**
2758-
> File getMhtInStorageToPdf(srcPath, storage)
2759+
> File getMhtInStorageToPdf(srcPath, height, width, marginLeft, marginBottom, marginRight, marginTop, storage)
27592760
27602761
Convert MHT file (located on storage) to PDF format and return resulting file in response.
27612762

@@ -2764,6 +2765,12 @@ Convert MHT file (located on storage) to PDF format and return resulting file in
27642765
Name | Type | Description | Notes
27652766
------------- | ------------- | ------------- | -------------
27662767
**srcPath** | **String**| Full source filename (ex. /folder1/folder2/template.mht) |
2768+
**height** | **Double**| Page height | [optional]
2769+
**width** | **Double**| Page width | [optional]
2770+
**marginLeft** | **Double**| Page margin left | [optional]
2771+
**marginBottom** | **Double**| Page margin bottom | [optional]
2772+
**marginRight** | **Double**| Page margin right | [optional]
2773+
**marginTop** | **Double**| Page margin top | [optional]
27672774
**storage** | **String**| The document storage. | [optional]
27682775

27692776
### Return type
@@ -5214,6 +5221,30 @@ Name | Type | Description | Notes
52145221

52155222
[**AsposeResponse**](AsposeResponse.md)
52165223

5224+
### HTTP request headers
5225+
5226+
- **Content-Type**: application/json
5227+
- **Accept**: application/json
5228+
5229+
<a name="postComparePdf"></a>
5230+
# **postComparePdf**
5231+
> AsposeResponse postComparePdf(path1, path2, outPath, storage)
5232+
5233+
Compare two PDF documents.
5234+
5235+
### Parameters
5236+
5237+
Name | Type | Description | Notes
5238+
------------- | ------------- | ------------- | -------------
5239+
**path1** | **String**| Path to first PDF document. |
5240+
**path2** | **String**| Path to second PDF document. |
5241+
**outPath** | **String**| Full filename of the resulting document. |
5242+
**storage** | **String**| The documents storage. | [optional]
5243+
5244+
### Return type
5245+
5246+
[**AsposeResponse**](AsposeResponse.md)
5247+
52175248
### HTTP request headers
52185249

52195250
- **Content-Type**: application/json
@@ -7820,7 +7851,7 @@ Name | Type | Description | Notes
78207851

78217852
<a name="putMhtInStorageToPdf"></a>
78227853
# **putMhtInStorageToPdf**
7823-
> AsposeResponse putMhtInStorageToPdf(name, srcPath, dstFolder, storage)
7854+
> AsposeResponse putMhtInStorageToPdf(name, srcPath, height, width, marginLeft, marginBottom, marginRight, marginTop, dstFolder, storage)
78247855
78257856
Convert MHT file (located on storage) to PDF format and upload resulting file to storage.
78267857

@@ -7830,6 +7861,12 @@ Name | Type | Description | Notes
78307861
------------- | ------------- | ------------- | -------------
78317862
**name** | **String**| The document name. |
78327863
**srcPath** | **String**| Full source filename (ex. /folder1/folder2/template.mht) |
7864+
**height** | **Double**| Page height | [optional]
7865+
**width** | **Double**| Page width | [optional]
7866+
**marginLeft** | **Double**| Page margin left | [optional]
7867+
**marginBottom** | **Double**| Page margin bottom | [optional]
7868+
**marginRight** | **Double**| Page margin right | [optional]
7869+
**marginTop** | **Double**| Page margin top | [optional]
78337870
**dstFolder** | **String**| The destination document folder. | [optional]
78347871
**storage** | **String**| The document storage. | [optional]
78357872

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>25.4.0</version>
9+
<version>25.5.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
@@ -94,7 +94,7 @@ public ApiClient() {
9494

9595
// Add custom headers
9696
addDefaultHeader("x-aspose-client", "java sdk");
97-
addDefaultHeader("x-aspose-client-version", "25.4.0");
97+
addDefaultHeader("x-aspose-client-version", "25.5.0");
9898

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

0 commit comments

Comments
 (0)