Skip to content

Commit 4af3887

Browse files
authored
Merge pull request #85 from aspose-pdf-cloud/develop
update to 23.10
2 parents a1b2449 + 8ec07ab commit 4af3887

File tree

11 files changed

+263
-38
lines changed

11 files changed

+263
-38
lines changed

README.md

Lines changed: 15 additions & 5 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

docs/AttachmentInfo.md

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

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** | **number** | Page's id. |
9-
**images** | [**Images**](Images.md) | Page's images | [optional]
109
**rectangle** | [**Rectangle**](Rectangle.md) | Page's rectangle | [optional]
1110
**links** | [**Array&lt;Link&gt;**](Link.md) | Link to the document.<br />*Inherited from [LinkElement](LinkElement.md)* | [optional]
1211

docs/PdfApi.md

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

548549
<a name="deleteDocumentStamps"></a>
549550
## **deleteDocumentStamps**
550-
> deleteDocumentStamps(name, storage, folder)
551+
> deleteDocumentStamps(name, storage, folder, password)
551552
552553
Delete all stamps from the document
553554

@@ -557,6 +558,7 @@ Name | Type | Description | Notes
557558
**name** | **string** | The document name. |
558559
**storage** | **string** | The document storage. | [optional]
559560
**folder** | **string** | The document folder. | [optional]
561+
**password** | **string** | Base64 encoded password. | [optional]
560562

561563
### Return type
562564

@@ -773,7 +775,7 @@ Name | Type | Description | Notes
773775

774776
<a name="deletePageStamps"></a>
775777
## **deletePageStamps**
776-
> deletePageStamps(name, pageNumber, storage, folder)
778+
> deletePageStamps(name, pageNumber, storage, folder, password)
777779
778780
Delete all stamps from the page
779781

@@ -784,6 +786,7 @@ Name | Type | Description | Notes
784786
**pageNumber** | **number** | The page number. |
785787
**storage** | **string** | The document storage. | [optional]
786788
**folder** | **string** | The document folder. | [optional]
789+
**password** | **string** | Base64 encoded password. | [optional]
787790

788791
### Return type
789792

@@ -864,7 +867,7 @@ Name | Type | Description | Notes
864867

865868
<a name="deleteStamp"></a>
866869
## **deleteStamp**
867-
> deleteStamp(name, stampId, storage, folder)
870+
> deleteStamp(name, stampId, storage, folder, password)
868871
869872
Delete document stamp by ID
870873

@@ -875,6 +878,7 @@ Name | Type | Description | Notes
875878
**stampId** | **string** | The stamp ID. |
876879
**storage** | **string** | The document storage. | [optional]
877880
**folder** | **string** | The document folder. | [optional]
881+
**password** | **string** | Base64 encoded password. | [optional]
878882

879883
### Return type
880884

@@ -1090,7 +1094,7 @@ Name | Type | Description | Notes
10901094

10911095
<a name="getDocument"></a>
10921096
## **getDocument**
1093-
> getDocument(name, storage, folder)
1097+
> getDocument(name, storage, folder, password)
10941098
10951099
Read common document info.
10961100

@@ -1100,6 +1104,7 @@ Name | Type | Description | Notes
11001104
**name** | **string** | The document name. |
11011105
**storage** | **string** | The document storage. | [optional]
11021106
**folder** | **string** | The document folder. | [optional]
1107+
**password** | **string** | Base64 encoded password. | [optional]
11031108

11041109
### Return type
11051110

@@ -3374,7 +3379,7 @@ Name | Type | Description | Notes
33743379

33753380
<a name="getPageStamps"></a>
33763381
## **getPageStamps**
3377-
> getPageStamps(name, pageNumber, storage, folder)
3382+
> getPageStamps(name, pageNumber, storage, folder, password)
33783383
33793384
Read page document stamps.
33803385

@@ -3385,6 +3390,7 @@ Name | Type | Description | Notes
33853390
**pageNumber** | **number** | The page number. |
33863391
**storage** | **string** | The document storage. | [optional]
33873392
**folder** | **string** | The document folder. | [optional]
3393+
**password** | **string** | Base64 encoded password. | [optional]
33883394

33893395
### Return type
33903396

@@ -4699,6 +4705,29 @@ Name | Type | Description | Notes
46994705

47004706
[**ObjectExist**](ObjectExist.md)
47014707

4708+
### HTTP request headers
4709+
4710+
- **Content-Type**: application/json
4711+
- **Accept**: application/json
4712+
4713+
<a name="postAddDocumentAttachment"></a>
4714+
## **postAddDocumentAttachment**
4715+
> postAddDocumentAttachment(name, attachmentInfo, storage, folder)
4716+
4717+
Adds a file attachment to the PDF document.
4718+
4719+
### Parameters
4720+
Name | Type | Description | Notes
4721+
------------- | ------------- | ------------- | -------------
4722+
**name** | **string** | The document name. |
4723+
**attachmentInfo** | [**AttachmentInfo**](AttachmentInfo.md) | AttachmentInfoAttachmentInfo instance. |
4724+
**storage** | **string** | The document storage. | [optional]
4725+
**folder** | **string** | The document folder. | [optional]
4726+
4727+
### Return type
4728+
4729+
[**AttachmentsResponse**](AttachmentsResponse.md)
4730+
47024731
### HTTP request headers
47034732

47044733
- **Content-Type**: application/json
@@ -4946,7 +4975,7 @@ Name | Type | Description | Notes
49464975

49474976
<a name="postDocumentPageNumberStamps"></a>
49484977
## **postDocumentPageNumberStamps**
4949-
> postDocumentPageNumberStamps(name, stamp, startPageNumber, endPageNumber, storage, folder)
4978+
> postDocumentPageNumberStamps(name, stamp, startPageNumber, endPageNumber, storage, folder, password)
49504979
49514980
Add document page number stamps.
49524981

@@ -4959,6 +4988,7 @@ Name | Type | Description | Notes
49594988
**endPageNumber** | **number** | The end page number. | [optional]
49604989
**storage** | **string** | The document storage. | [optional]
49614990
**folder** | **string** | The document folder. | [optional]
4991+
**password** | **string** | Base64 encoded password. | [optional]
49624992

49634993
### Return type
49644994

@@ -5455,7 +5485,7 @@ Name | Type | Description | Notes
54555485

54565486
<a name="postPageImageStamps"></a>
54575487
## **postPageImageStamps**
5458-
> postPageImageStamps(name, pageNumber, stamps, storage, folder)
5488+
> postPageImageStamps(name, pageNumber, stamps, storage, folder, password)
54595489
54605490
Add document page image stamps.
54615491

@@ -5467,6 +5497,7 @@ Name | Type | Description | Notes
54675497
**stamps** | [**Array&lt;ImageStamp&gt;**](ImageStamp.md) | The array of stamp. |
54685498
**storage** | **string** | The document storage. | [optional]
54695499
**folder** | **string** | The document folder. | [optional]
5500+
**password** | **string** | Base64 encoded password. | [optional]
54705501

54715502
### Return type
54725503

@@ -5575,7 +5606,7 @@ Name | Type | Description | Notes
55755606

55765607
<a name="postPagePdfPageStamps"></a>
55775608
## **postPagePdfPageStamps**
5578-
> postPagePdfPageStamps(name, pageNumber, stamps, storage, folder)
5609+
> postPagePdfPageStamps(name, pageNumber, stamps, storage, folder, password)
55795610
55805611
Add document pdf page stamps.
55815612

@@ -5587,6 +5618,7 @@ Name | Type | Description | Notes
55875618
**stamps** | [**Array&lt;PdfPageStamp&gt;**](PdfPageStamp.md) | The array of stamp. |
55885619
**storage** | **string** | The document storage. | [optional]
55895620
**folder** | **string** | The document folder. | [optional]
5621+
**password** | **string** | Base64 encoded password. | [optional]
55905622

55915623
### Return type
55925624

@@ -5888,7 +5920,7 @@ Name | Type | Description | Notes
58885920

58895921
<a name="postPageTextStamps"></a>
58905922
## **postPageTextStamps**
5891-
> postPageTextStamps(name, pageNumber, stamps, storage, folder)
5923+
> postPageTextStamps(name, pageNumber, stamps, storage, folder, password)
58925924
58935925
Add document page text stamps.
58945926

@@ -5900,6 +5932,7 @@ Name | Type | Description | Notes
59005932
**stamps** | [**Array&lt;TextStamp&gt;**](TextStamp.md) | The array of stamp. |
59015933
**storage** | **string** | The document storage. | [optional]
59025934
**folder** | **string** | The document folder. | [optional]
5935+
**password** | **string** | Base64 encoded password. | [optional]
59035936

59045937
### Return type
59055938

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "asposepdfcloud",
3-
"version": "23.9.0",
3+
"version": "23.10.0",
44
"description": "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.",
55
"homepage": "https://products.aspose.cloud/pdf/cloud",
66
"author": {

0 commit comments

Comments
 (0)