Skip to content

Commit 7ab7760

Browse files
update to 24.1
1 parent eb47ff5 commit 7ab7760

File tree

338 files changed

+365
-355
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

338 files changed

+365
-355
lines changed

README.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,11 @@ 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.12
34-
- Support to update bookmark in password protected PDF document.
35-
- Support to delete bookmarks from password protected PDF document.
36-
- Support to add bookmarks to password protected PDF document.
37-
- Support to delete properties of password protected PDF document.
38-
- Support to add properties of password protected PDF document.
39-
- Support to read properties of password protected PDF document.
33+
## Enhancements in Version 24.1
34+
- Add support to convert password protected PDF to SVG in PutPdfInRequestToSvg API.
35+
- Add support to convert password protected PDF to SVG in PutPdfInStorageToSvg API.
4036
- A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
4137

42-
## Bugs fixed in Version 23.12
43-
- PDF to XLSX Conversion clubs data in one cell.
44-
- GetDocumentBookmarks does not get bookmarks from protected PDF.
45-
4638
## Installation
4739

4840
### NPM

docs/PdfApi.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3776,7 +3776,7 @@ Name | Type | Description | Notes
37763776

37773777
<a name="getPdfInStorageToSvg"></a>
37783778
## **getPdfInStorageToSvg**
3779-
> getPdfInStorageToSvg(name, compressOutputToZipArchive, folder, storage)
3779+
> getPdfInStorageToSvg(name, compressOutputToZipArchive, folder, storage, password)
37803780
37813781
Converts PDF document (located on storage) to SVG format and returns resulting file in response content
37823782

@@ -3787,6 +3787,7 @@ Name | Type | Description | Notes
37873787
**compressOutputToZipArchive** | **boolean** | Specifies whether output will be created as one zip-archive. | [optional]
37883788
**folder** | **string** | The document folder. | [optional]
37893789
**storage** | **string** | The document storage. | [optional]
3790+
**password** | **string** | The password (Base64). | [optional]
37903791

37913792
### Return type
37923793

@@ -7621,7 +7622,7 @@ Name | Type | Description | Notes
76217622

76227623
<a name="putPdfInRequestToSvg"></a>
76237624
## **putPdfInRequestToSvg**
7624-
> putPdfInRequestToSvg(outPath, storage, file)
7625+
> putPdfInRequestToSvg(outPath, storage, password, file)
76257626
76267627
Converts PDF document (in request content) to SVG format and uploads resulting file to storage.
76277628

@@ -7630,6 +7631,7 @@ Name | Type | Description | Notes
76307631
------------- | ------------- | ------------- | -------------
76317632
**outPath** | **string** | Full resulting filename (ex. /folder1/folder2/result.svg) |
76327633
**storage** | **string** | The document storage. | [optional]
7634+
**password** | **string** | The password (Base64). | [optional]
76337635
**file** | **Buffer** | A file to be converted. | [optional]
76347636

76357637
### Return type
@@ -7983,7 +7985,7 @@ Name | Type | Description | Notes
79837985

79847986
<a name="putPdfInStorageToSvg"></a>
79857987
## **putPdfInStorageToSvg**
7986-
> putPdfInStorageToSvg(name, outPath, folder, storage)
7988+
> putPdfInStorageToSvg(name, outPath, folder, storage, password)
79877989
79887990
Converts PDF document (located on storage) to SVG format and uploads resulting file to storage
79897991

@@ -7994,6 +7996,7 @@ Name | Type | Description | Notes
79947996
**outPath** | **string** | Full resulting filename (ex. /folder1/folder2/result.svg) |
79957997
**folder** | **string** | The document folder. | [optional]
79967998
**storage** | **string** | The document storage. | [optional]
7999+
**password** | **string** | The password (Base64). | [optional]
79978000

79988001
### Return type
79998002

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.12.0",
3+
"version": "24.1.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": {

src/api/api.ts

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
 /**
22
*
3-
* Copyright (c) 2023 Aspose.PDF Cloud
3+
* Copyright (c) 2024 Aspose.PDF Cloud
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal
66
* in the Software without restriction, including without limitation the rights
@@ -9099,8 +9099,9 @@ export class PdfApi {
90999099
* @param compressOutputToZipArchive Specifies whether output will be created as one zip-archive.
91009100
* @param folder The document folder.
91019101
* @param storage The document storage.
9102+
* @param password The password (Base64).
91029103
*/
9103-
public async getPdfInStorageToSvg (name: string, compressOutputToZipArchive?: boolean, folder?: string, storage?: string) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
9104+
public async getPdfInStorageToSvg (name: string, compressOutputToZipArchive?: boolean, folder?: string, storage?: string, password?: string) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
91049105
const localVarPath = this.basePath + '/pdf/{name}/convert/svg'
91059106
.replace('{' + 'name' + '}', encodeURIComponent(String(name)).replace('%2F', '/'));
91069107
let localVarQueryParameters: any = {};
@@ -9124,6 +9125,10 @@ export class PdfApi {
91249125
localVarQueryParameters['storage'] = ObjectSerializer.serialize(storage, "string");
91259126
}
91269127

9128+
if (password !== undefined && null !== password) {
9129+
localVarQueryParameters['password'] = ObjectSerializer.serialize(password, "string");
9130+
}
9131+
91279132

91289133
let localVarUseFormData = false;
91299134
let fileData = null;
@@ -19790,9 +19795,10 @@ export class PdfApi {
1979019795
* @summary Converts PDF document (in request content) to SVG format and uploads resulting file to storage.
1979119796
* @param outPath Full resulting filename (ex. /folder1/folder2/result.svg)
1979219797
* @param storage The document storage.
19798+
* @param password The password (Base64).
1979319799
* @param file A file to be converted.
1979419800
*/
19795-
public async putPdfInRequestToSvg (outPath: string, storage?: string, file?: Buffer) : Promise<{ response: http.IncomingMessage; body: AsposeResponse; }> {
19801+
public async putPdfInRequestToSvg (outPath: string, storage?: string, password?: string, file?: Buffer) : Promise<{ response: http.IncomingMessage; body: AsposeResponse; }> {
1979619802
const localVarPath = this.basePath + '/pdf/convert/svg';
1979719803
let localVarQueryParameters: any = {};
1979819804
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -19811,6 +19817,10 @@ export class PdfApi {
1981119817
localVarQueryParameters['storage'] = ObjectSerializer.serialize(storage, "string");
1981219818
}
1981319819

19820+
if (password !== undefined && null !== password) {
19821+
localVarQueryParameters['password'] = ObjectSerializer.serialize(password, "string");
19822+
}
19823+
1981419824

1981519825
let localVarUseFormData = false;
1981619826
let fileData = null;
@@ -20925,8 +20935,9 @@ export class PdfApi {
2092520935
* @param outPath Full resulting filename (ex. /folder1/folder2/result.svg)
2092620936
* @param folder The document folder.
2092720937
* @param storage The document storage.
20938+
* @param password The password (Base64).
2092820939
*/
20929-
public async putPdfInStorageToSvg (name: string, outPath: string, folder?: string, storage?: string) : Promise<{ response: http.IncomingMessage; body: AsposeResponse; }> {
20940+
public async putPdfInStorageToSvg (name: string, outPath: string, folder?: string, storage?: string, password?: string) : Promise<{ response: http.IncomingMessage; body: AsposeResponse; }> {
2093020941
const localVarPath = this.basePath + '/pdf/{name}/convert/svg'
2093120942
.replace('{' + 'name' + '}', encodeURIComponent(String(name)).replace('%2F', '/'));
2093220943
let localVarQueryParameters: any = {};
@@ -20955,6 +20966,10 @@ export class PdfApi {
2095520966
localVarQueryParameters['storage'] = ObjectSerializer.serialize(storage, "string");
2095620967
}
2095720968

20969+
if (password !== undefined && null !== password) {
20970+
localVarQueryParameters['password'] = ObjectSerializer.serialize(password, "string");
20971+
}
20972+
2095820973

2095920974
let localVarUseFormData = false;
2096020975
let fileData = null;

src/models/annotation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
 /**
22
*
3-
* Copyright (c) 2023 Aspose.PDF Cloud
3+
* Copyright (c) 2024 Aspose.PDF Cloud
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal
66
* in the Software without restriction, including without limitation the rights

src/models/annotationFlags.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
 /**
22
*
3-
* Copyright (c) 2023 Aspose.PDF Cloud
3+
* Copyright (c) 2024 Aspose.PDF Cloud
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal
66
* in the Software without restriction, including without limitation the rights

src/models/annotationInfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
 /**
22
*
3-
* Copyright (c) 2023 Aspose.PDF Cloud
3+
* Copyright (c) 2024 Aspose.PDF Cloud
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal
66
* in the Software without restriction, including without limitation the rights

src/models/annotationState.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
 /**
22
*
3-
* Copyright (c) 2023 Aspose.PDF Cloud
3+
* Copyright (c) 2024 Aspose.PDF Cloud
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal
66
* in the Software without restriction, including without limitation the rights

src/models/annotationType.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
 /**
22
*
3-
* Copyright (c) 2023 Aspose.PDF Cloud
3+
* Copyright (c) 2024 Aspose.PDF Cloud
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal
66
* in the Software without restriction, including without limitation the rights

0 commit comments

Comments
 (0)