Skip to content

Commit a5c8fb9

Browse files
authored
Merge pull request #62 from aspose-pdf-cloud/develop
update to 23.10
2 parents 5e052a1 + 52e705e commit a5c8fb9

File tree

12 files changed

+565
-155
lines changed

12 files changed

+565
-155
lines changed

README.md

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,23 @@ 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.9
34-
- Support to convert password protected PDF documents to PDFA.
33+
## Enhancements in Version 23.10
34+
- Support of reading common info of password protected PDF in GetDocument API.
35+
- Support stamp password protected document using DeleteDocumentStamps API method.
36+
- Support stamp password protected document using DeleteStamp API method.
37+
- Support stamp password protected document using PostDocumentPageNumberStamps API method.
38+
- Support stamp password protected document using PostPageImageStamps API method.
39+
- Support stamp password protected document using PostPageTextStamps API method.
40+
- Support stamp password protected document using GetPageStamps API method.
41+
- Support stamp password protected document using GetDocumentStamps API method.
42+
- Support stamp password protected document using PostPagePdfPageStamps API method.
43+
- Support stamp password protected document using DeletePageStamps API method.
44+
- Develop a method to add an attachment file to a PDF document.
3545
- A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
3646

37-
## Bugs fixed in Version 23.9
38-
- Rotate Property not working with FreeTextAnnotation.
39-
- PutAnnotationsFlatten not working correctly when passing multiple annotation types.
47+
## Bugs fixed in Version 23.10
48+
- Aspose.PDF Cloud PostFlattenDocument API Issue.
49+
- The GetPages API throws timeout error for PDF files larger than 10 Mb.
4050

4151
## Installation
4252
To install the API client library to your local Maven repository, simply execute:
@@ -60,7 +70,7 @@ Add this dependency to your project's POM:
6070
<dependency>
6171
<groupId>com.aspose</groupId>
6272
<artifactId>aspose-cloud-pdf</artifactId>
63-
<version>23.9.0</version>
73+
<version>23.10.0</version>
6474
<scope>compile</scope>
6575
</dependency>
6676
```
@@ -69,7 +79,7 @@ Add this dependency to your project's POM:
6979
Add this dependency to your project's build file:
7080

7181
```groovy
72-
compile "com.aspose:aspose-cloud-pdf:23.9.0"
82+
compile "com.aspose:aspose-cloud-pdf:23.10.0"
7383
```
7484

7585
### Others
@@ -79,7 +89,7 @@ At first generate the JAR by executing:
7989

8090
Then manually install the following JARs:
8191

82-
* target/aspose-cloud-pdf-23.9.0.jar
92+
* target/aspose-cloud-pdf-23.10.0.jar
8393
* target/lib/*.jar
8494

8595
## Getting Started

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 = '23.9.0'
23+
version = '23.10.0'
2424

2525
buildscript {
2626
repositories {
@@ -84,7 +84,7 @@ dependencies {
8484
publish {
8585
groupId = 'com.aspose'
8686
artifactId = 'aspose-pdf-cloud'
87-
publishVersion = '23.9.0'
87+
publishVersion = '23.10.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/AttachmentInfo.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
# AttachmentInfo
3+
Attachment Info.
4+
5+
## Properties
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**path** | **String** | Attachment file path. |
9+
**description** | **String** | Attachment file description. | [optional]
10+
**name** | **String** | Attachment file name. | [optional]
11+
**mimeType** | **String** | Attachment file MIME type. | [optional]
12+
13+
14+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
15+
16+

docs/Page.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Provides link to page.
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**id** | **Integer** | Page's id. |
9-
**images** | [**Images**](Images.md) | Page's images | [optional]
109
**rectangle** | [**Rectangle**](Rectangle.md) | Page's rectangle | [optional]
1110
**links** | [**List&lt;Link&gt;**](Link.md) | Link to the document. | [optional]
1211

docs/PdfApi.md

Lines changed: 43 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ Method | HTTP request | Description
191191
[**moveFile**](PdfApi.md#moveFile) | **PUT** /pdf/storage/file/move/\{srcPath} | Move file
192192
[**moveFolder**](PdfApi.md#moveFolder) | **PUT** /pdf/storage/folder/move/\{srcPath} | Move folder
193193
[**objectExists**](PdfApi.md#objectExists) | **GET** /pdf/storage/exist/\{path} | Check if file or folder exists
194+
[**postAddDocumentAttachment**](PdfApi.md#postAddDocumentAttachment) | **POST** /pdf/\{name}/attachments | Adds a file attachment to the PDF document.
194195
[**postAppendDocument**](PdfApi.md#postAppendDocument) | **POST** /pdf/\{name}/appendDocument | Append document to existing one.
195196
[**postBookmark**](PdfApi.md#postBookmark) | **POST** /pdf/\{name}/bookmarks/bookmark/\{bookmarkPath} | Add document bookmarks.
196197
[**postChangePasswordDocumentInStorage**](PdfApi.md#postChangePasswordDocumentInStorage) | **POST** /pdf/\{name}/changepassword | Change document password in storage.
@@ -557,7 +558,7 @@ Name | Type | Description | Notes
557558

558559
<a name="deleteDocumentStamps"></a>
559560
# **deleteDocumentStamps**
560-
> AsposeResponse deleteDocumentStamps(name, storage, folder)
561+
> AsposeResponse deleteDocumentStamps(name, storage, folder, password)
561562
562563
Delete all stamps from the document
563564

@@ -568,6 +569,7 @@ Name | Type | Description | Notes
568569
**name** | **String**| The document name. |
569570
**storage** | **String**| The document storage. | [optional]
570571
**folder** | **String**| The document folder. | [optional]
572+
**password** | **String**| Base64 encoded password. | [optional]
571573

572574
### Return type
573575

@@ -793,7 +795,7 @@ Name | Type | Description | Notes
793795

794796
<a name="deletePageStamps"></a>
795797
# **deletePageStamps**
796-
> AsposeResponse deletePageStamps(name, pageNumber, storage, folder)
798+
> AsposeResponse deletePageStamps(name, pageNumber, storage, folder, password)
797799
798800
Delete all stamps from the page
799801

@@ -805,6 +807,7 @@ Name | Type | Description | Notes
805807
**pageNumber** | **Integer**| The page number. |
806808
**storage** | **String**| The document storage. | [optional]
807809
**folder** | **String**| The document folder. | [optional]
810+
**password** | **String**| Base64 encoded password. | [optional]
808811

809812
### Return type
810813

@@ -888,7 +891,7 @@ Name | Type | Description | Notes
888891

889892
<a name="deleteStamp"></a>
890893
# **deleteStamp**
891-
> AsposeResponse deleteStamp(name, stampId, storage, folder)
894+
> AsposeResponse deleteStamp(name, stampId, storage, folder, password)
892895
893896
Delete document stamp by ID
894897

@@ -900,6 +903,7 @@ Name | Type | Description | Notes
900903
**stampId** | **String**| The stamp ID. |
901904
**storage** | **String**| The document storage. | [optional]
902905
**folder** | **String**| The document folder. | [optional]
906+
**password** | **String**| Base64 encoded password. | [optional]
903907

904908
### Return type
905909

@@ -1124,7 +1128,7 @@ Name | Type | Description | Notes
11241128

11251129
<a name="getDocument"></a>
11261130
# **getDocument**
1127-
> DocumentResponse getDocument(name, storage, folder)
1131+
> DocumentResponse getDocument(name, storage, folder, password)
11281132
11291133
Read common document info.
11301134

@@ -1135,6 +1139,7 @@ Name | Type | Description | Notes
11351139
**name** | **String**| The document name. |
11361140
**storage** | **String**| The document storage. | [optional]
11371141
**folder** | **String**| The document folder. | [optional]
1142+
**password** | **String**| Base64 encoded password. | [optional]
11381143

11391144
### Return type
11401145

@@ -3485,7 +3490,7 @@ Name | Type | Description | Notes
34853490

34863491
<a name="getPageStamps"></a>
34873492
# **getPageStamps**
3488-
> StampsInfoResponse getPageStamps(name, pageNumber, storage, folder)
3493+
> StampsInfoResponse getPageStamps(name, pageNumber, storage, folder, password)
34893494
34903495
Read page document stamps.
34913496

@@ -3497,6 +3502,7 @@ Name | Type | Description | Notes
34973502
**pageNumber** | **Integer**| The page number. |
34983503
**storage** | **String**| The document storage. | [optional]
34993504
**folder** | **String**| The document folder. | [optional]
3505+
**password** | **String**| Base64 encoded password. | [optional]
35003506

35013507
### Return type
35023508

@@ -4888,6 +4894,30 @@ Name | Type | Description | Notes
48884894

48894895
[**ObjectExist**](ObjectExist.md)
48904896

4897+
### HTTP request headers
4898+
4899+
- **Content-Type**: application/json
4900+
- **Accept**: application/json
4901+
4902+
<a name="postAddDocumentAttachment"></a>
4903+
# **postAddDocumentAttachment**
4904+
> AttachmentsResponse postAddDocumentAttachment(name, attachmentInfo, storage, folder)
4905+
4906+
Adds a file attachment to the PDF document.
4907+
4908+
### Parameters
4909+
4910+
Name | Type | Description | Notes
4911+
------------- | ------------- | ------------- | -------------
4912+
**name** | **String**| The document name. |
4913+
**attachmentInfo** | [**AttachmentInfo**](AttachmentInfo.md)| AttachmentInfoAttachmentInfo instance. |
4914+
**storage** | **String**| The document storage. | [optional]
4915+
**folder** | **String**| The document folder. | [optional]
4916+
4917+
### Return type
4918+
4919+
[**AttachmentsResponse**](AttachmentsResponse.md)
4920+
48914921
### HTTP request headers
48924922

48934923
- **Content-Type**: application/json
@@ -5145,7 +5175,7 @@ Name | Type | Description | Notes
51455175

51465176
<a name="postDocumentPageNumberStamps"></a>
51475177
# **postDocumentPageNumberStamps**
5148-
> AsposeResponse postDocumentPageNumberStamps(name, stamp, startPageNumber, endPageNumber, storage, folder)
5178+
> AsposeResponse postDocumentPageNumberStamps(name, stamp, startPageNumber, endPageNumber, storage, folder, password)
51495179
51505180
Add document page number stamps.
51515181

@@ -5159,6 +5189,7 @@ Name | Type | Description | Notes
51595189
**endPageNumber** | **Integer**| The end page number. | [optional]
51605190
**storage** | **String**| The document storage. | [optional]
51615191
**folder** | **String**| The document folder. | [optional]
5192+
**password** | **String**| Base64 encoded password. | [optional]
51625193

51635194
### Return type
51645195

@@ -5675,7 +5706,7 @@ Name | Type | Description | Notes
56755706

56765707
<a name="postPageImageStamps"></a>
56775708
# **postPageImageStamps**
5678-
> AsposeResponse postPageImageStamps(name, pageNumber, stamps, storage, folder)
5709+
> AsposeResponse postPageImageStamps(name, pageNumber, stamps, storage, folder, password)
56795710
56805711
Add document page image stamps.
56815712

@@ -5688,6 +5719,7 @@ Name | Type | Description | Notes
56885719
**stamps** | [**List&lt;ImageStamp&gt;**](ImageStamp.md)| The array of stamp. |
56895720
**storage** | **String**| The document storage. | [optional]
56905721
**folder** | **String**| The document folder. | [optional]
5722+
**password** | **String**| Base64 encoded password. | [optional]
56915723

56925724
### Return type
56935725

@@ -5800,7 +5832,7 @@ Name | Type | Description | Notes
58005832

58015833
<a name="postPagePdfPageStamps"></a>
58025834
# **postPagePdfPageStamps**
5803-
> AsposeResponse postPagePdfPageStamps(name, pageNumber, stamps, storage, folder)
5835+
> AsposeResponse postPagePdfPageStamps(name, pageNumber, stamps, storage, folder, password)
58045836
58055837
Add document pdf page stamps.
58065838

@@ -5813,6 +5845,7 @@ Name | Type | Description | Notes
58135845
**stamps** | [**List&lt;PdfPageStamp&gt;**](PdfPageStamp.md)| The array of stamp. |
58145846
**storage** | **String**| The document storage. | [optional]
58155847
**folder** | **String**| The document folder. | [optional]
5848+
**password** | **String**| Base64 encoded password. | [optional]
58165849

58175850
### Return type
58185851

@@ -6126,7 +6159,7 @@ Name | Type | Description | Notes
61266159

61276160
<a name="postPageTextStamps"></a>
61286161
# **postPageTextStamps**
6129-
> AsposeResponse postPageTextStamps(name, pageNumber, stamps, storage, folder)
6162+
> AsposeResponse postPageTextStamps(name, pageNumber, stamps, storage, folder, password)
61306163
61316164
Add document page text stamps.
61326165

@@ -6139,6 +6172,7 @@ Name | Type | Description | Notes
61396172
**stamps** | [**List&lt;TextStamp&gt;**](TextStamp.md)| The array of stamp. |
61406173
**storage** | **String**| The document storage. | [optional]
61416174
**folder** | **String**| The document folder. | [optional]
6175+
**password** | **String**| Base64 encoded password. | [optional]
61426176

61436177
### Return type
61446178

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>23.9.0</version>
9+
<version>23.10.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", "23.9.0");
95+
addDefaultHeader("x-aspose-client-version", "23.10.0");
9696

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

0 commit comments

Comments
 (0)