Skip to content

Commit fee5cc0

Browse files
authored
Merge pull request #81 from aspose-pdf-cloud/develop
update to 23.7
2 parents 021ea91 + f618782 commit fee5cc0

File tree

7 files changed

+26
-15
lines changed

7 files changed

+26
-15
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,12 @@ 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.6
34-
- Support to convert password protected PDF documents to PPTX.
33+
## Enhancements in Version 23.7
34+
- Form Field MappingName property support.
3535
- A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
3636

37-
## Bugs fixed in Version 23.6
38-
- Text Replacement API constantly hitting 504 Gateway Timeout.
39-
37+
## Bugs fixed in Version 23.7
38+
- Adding Radio Button throws Internal Error.
4039

4140
## Installation
4241

docs/Field.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Represents form field.
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**name** | **string** | Field name. | [optional]
9+
**mappingName** | **string** | Mapping name. | [optional]
910
**selectedItems** | **Array<number>** | Selected items. | [optional]
1011
**type** | [**FieldType**](FieldType.md) | Field type. | [optional]
1112
**rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional]

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.6.0",
3+
"version": "23.7.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/models/field.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ export class Field extends LinkElement {
3232
*/
3333
'name': string;
3434
/**
35+
* Mapping name.
36+
*/
37+
'mappingName': string;
38+
/**
3539
* Selected items.
3640
*/
3741
'selectedItems': Array<number>;
@@ -56,6 +60,11 @@ export class Field extends LinkElement {
5660
"baseName": "Name",
5761
"type": "string"
5862
},
63+
{
64+
"name": "mappingName",
65+
"baseName": "MappingName",
66+
"type": "string"
67+
},
5968
{
6069
"name": "selectedItems",
6170
"baseName": "SelectedItems",

src/requestHelper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ async function invokeApiMethodInternal(requestOptions: request.Options, confgura
9393
//headers
9494
sa.set("User-Agent", "pdf nodejs sdk");
9595
sa.set("x-aspose-client", "nodejs sdk");
96-
sa.set("x-aspose-client-version", "23.6.0");
96+
sa.set("x-aspose-client-version", "23.7.0");
9797

9898
if (!requestOptions.headers) {
9999
requestOptions.headers = {};

test/testFields.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,13 @@ describe("Fields Tests", () => {
105105
const fieldName = "textField";
106106

107107
const field = {
108+
links: null,
108109
name: fieldName,
109-
type: FieldType.Text,
110-
values: ["Text field updated value."],
110+
mappingName: null,
111111
selectedItems: null,
112+
type: FieldType.Text,
112113
rect: null,
113-
links: null
114+
values: ["Text field updated value."]
114115
}
115116

116117
return BaseTest.getPdfApi().putUpdateField(name, fieldName, field, null, BaseTest.remoteTempFolder)
@@ -130,12 +131,13 @@ describe("Fields Tests", () => {
130131
const fieldName = "textField";
131132

132133
const field = {
134+
links: null,
133135
name: fieldName,
134-
type: FieldType.Text,
135-
values: ["Text field updated value."],
136+
mappingName: null,
136137
selectedItems: null,
138+
type: FieldType.Text,
137139
rect: null,
138-
links: null
140+
values: ["Text field updated value."]
139141
}
140142

141143
const fields = {links: null, list: [field]}

0 commit comments

Comments
 (0)