Skip to content

Commit a3aab84

Browse files
Merge remote-tracking branch 'origin/master' into release
2 parents 2a191fd + 630ba50 commit a3aab84

File tree

9 files changed

+381
-2
lines changed

9 files changed

+381
-2
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ Feel free to explore the [Developer's Guide](https://docs.aspose.cloud/display/w
1616
- Add & remove watermarks and protection.
1717
- Read & write access to Document Object Model.
1818

19+
## Enhancements in Version 25.5
20+
21+
- Added data models support for classes 'CommentRangeStart', 'CommentRangeEnd'.
22+
- Added data models support for classes 'FormFieldCheckboxLink', 'FormFieldDropDownLink', 'FormFieldTextInputLink'.
23+
24+
1925
## Enhancements in Version 25.4
2026

2127
- Added 'AttachmentsEmbeddingMode' property for PdfSaveOptionsData class.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "asposewordscloud",
3-
"version": "25.4.0",
3+
"version": "25.5.0",
44
"description": "Aspose.Words Cloud SDK for Node.js",
55
"homepage": "https://products.aspose.cloud/words/cloud",
66
"author": {

src/internal/requestHelper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ async function invokeApiMethodInternal(requestOptions: request.OptionsWithUri, c
131131
requestOptions.timeout = 1000 * confguration.timeout;
132132

133133
requestOptions.headers["x-aspose-client"] = "nodejs sdk";
134-
requestOptions.headers["x-aspose-client-version"] = "25.4";
134+
requestOptions.headers["x-aspose-client-version"] = "25.5";
135135
requestOptions.encoding = null;
136136

137137
requestOptions.uri = encodeURI(requestOptions.uri.toString());

src/model/commentRangeEnd.ts

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
/*
2+
* --------------------------------------------------------------------------------
3+
* <copyright company="Aspose" file="commentRangeEnd.ts">
4+
* Copyright (c) 2025 Aspose.Words for Cloud
5+
* </copyright>
6+
* <summary>
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in all
15+
* copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
* SOFTWARE.
24+
* </summary>
25+
* --------------------------------------------------------------------------------
26+
*/
27+
28+
import { AttributeInfo } from '../internal/attributeInfo';
29+
import { ModelInterface } from './modelInterface';
30+
import { CommentLink } from './commentLink';
31+
import { NodeLink } from './nodeLink';
32+
33+
export const importsMapCommentRangeEnd = {
34+
CommentLink,
35+
NodeLink,
36+
};
37+
38+
/**
39+
* Comment range end link.
40+
*/
41+
export class CommentRangeEnd extends NodeLink {
42+
/**
43+
* Attribute type map
44+
*/
45+
public static attributeTypeMap: Array<AttributeInfo> = [
46+
{
47+
name: "commentLink",
48+
baseName: "CommentLink",
49+
type: "CommentLink",
50+
}
51+
];
52+
53+
/**
54+
* Returns attribute type map
55+
*/
56+
public static getAttributeTypeMap() {
57+
return super.getAttributeTypeMap().concat(CommentRangeEnd.attributeTypeMap);
58+
}
59+
60+
/**
61+
* Gets or sets the link to comment.
62+
*/
63+
public commentLink: CommentLink;
64+
65+
public constructor(init?: Partial< CommentRangeEnd >) {
66+
super(init);
67+
Object.assign(this, init);
68+
}
69+
70+
public collectFilesContent(_resultFilesContent: Array<any>) {
71+
}
72+
73+
public validate() {
74+
super.validate();
75+
76+
this.commentLink?.validate();
77+
78+
}
79+
}
80+

src/model/commentRangeStart.ts

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
/*
2+
* --------------------------------------------------------------------------------
3+
* <copyright company="Aspose" file="commentRangeStart.ts">
4+
* Copyright (c) 2025 Aspose.Words for Cloud
5+
* </copyright>
6+
* <summary>
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in all
15+
* copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
* SOFTWARE.
24+
* </summary>
25+
* --------------------------------------------------------------------------------
26+
*/
27+
28+
import { AttributeInfo } from '../internal/attributeInfo';
29+
import { ModelInterface } from './modelInterface';
30+
import { CommentLink } from './commentLink';
31+
import { NodeLink } from './nodeLink';
32+
33+
export const importsMapCommentRangeStart = {
34+
CommentLink,
35+
NodeLink,
36+
};
37+
38+
/**
39+
* Comment range start link.
40+
*/
41+
export class CommentRangeStart extends NodeLink {
42+
/**
43+
* Attribute type map
44+
*/
45+
public static attributeTypeMap: Array<AttributeInfo> = [
46+
{
47+
name: "commentLink",
48+
baseName: "CommentLink",
49+
type: "CommentLink",
50+
}
51+
];
52+
53+
/**
54+
* Returns attribute type map
55+
*/
56+
public static getAttributeTypeMap() {
57+
return super.getAttributeTypeMap().concat(CommentRangeStart.attributeTypeMap);
58+
}
59+
60+
/**
61+
* Gets or sets the link to comment.
62+
*/
63+
public commentLink: CommentLink;
64+
65+
public constructor(init?: Partial< CommentRangeStart >) {
66+
super(init);
67+
Object.assign(this, init);
68+
}
69+
70+
public collectFilesContent(_resultFilesContent: Array<any>) {
71+
}
72+
73+
public validate() {
74+
super.validate();
75+
76+
this.commentLink?.validate();
77+
78+
}
79+
}
80+

src/model/formFieldCheckboxLink.ts

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
/*
2+
* --------------------------------------------------------------------------------
3+
* <copyright company="Aspose" file="formFieldCheckboxLink.ts">
4+
* Copyright (c) 2025 Aspose.Words for Cloud
5+
* </copyright>
6+
* <summary>
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in all
15+
* copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
* SOFTWARE.
24+
* </summary>
25+
* --------------------------------------------------------------------------------
26+
*/
27+
28+
import { AttributeInfo } from '../internal/attributeInfo';
29+
import { ModelInterface } from './modelInterface';
30+
import { NodeLink } from './nodeLink';
31+
32+
export const importsMapFormFieldCheckboxLink = {
33+
NodeLink,
34+
};
35+
36+
/**
37+
* Link to FormField checkbox element.
38+
*/
39+
export class FormFieldCheckboxLink extends NodeLink {
40+
/**
41+
* Attribute type map
42+
*/
43+
public static attributeTypeMap: Array<AttributeInfo> = [
44+
];
45+
46+
/**
47+
* Returns attribute type map
48+
*/
49+
public static getAttributeTypeMap() {
50+
return super.getAttributeTypeMap().concat(FormFieldCheckboxLink.attributeTypeMap);
51+
}
52+
53+
54+
public constructor(init?: Partial< FormFieldCheckboxLink >) {
55+
super(init);
56+
Object.assign(this, init);
57+
}
58+
59+
public collectFilesContent(_resultFilesContent: Array<any>) {
60+
}
61+
62+
public validate() {
63+
super.validate();
64+
}
65+
}
66+

src/model/formFieldDropDownLink.ts

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
/*
2+
* --------------------------------------------------------------------------------
3+
* <copyright company="Aspose" file="formFieldDropDownLink.ts">
4+
* Copyright (c) 2025 Aspose.Words for Cloud
5+
* </copyright>
6+
* <summary>
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in all
15+
* copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
* SOFTWARE.
24+
* </summary>
25+
* --------------------------------------------------------------------------------
26+
*/
27+
28+
import { AttributeInfo } from '../internal/attributeInfo';
29+
import { ModelInterface } from './modelInterface';
30+
import { NodeLink } from './nodeLink';
31+
32+
export const importsMapFormFieldDropDownLink = {
33+
NodeLink,
34+
};
35+
36+
/**
37+
* Link to FormField DropDown element.
38+
*/
39+
export class FormFieldDropDownLink extends NodeLink {
40+
/**
41+
* Attribute type map
42+
*/
43+
public static attributeTypeMap: Array<AttributeInfo> = [
44+
];
45+
46+
/**
47+
* Returns attribute type map
48+
*/
49+
public static getAttributeTypeMap() {
50+
return super.getAttributeTypeMap().concat(FormFieldDropDownLink.attributeTypeMap);
51+
}
52+
53+
54+
public constructor(init?: Partial< FormFieldDropDownLink >) {
55+
super(init);
56+
Object.assign(this, init);
57+
}
58+
59+
public collectFilesContent(_resultFilesContent: Array<any>) {
60+
}
61+
62+
public validate() {
63+
super.validate();
64+
}
65+
}
66+
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
/*
2+
* --------------------------------------------------------------------------------
3+
* <copyright company="Aspose" file="formFieldTextInputLink.ts">
4+
* Copyright (c) 2025 Aspose.Words for Cloud
5+
* </copyright>
6+
* <summary>
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in all
15+
* copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
* SOFTWARE.
24+
* </summary>
25+
* --------------------------------------------------------------------------------
26+
*/
27+
28+
import { AttributeInfo } from '../internal/attributeInfo';
29+
import { ModelInterface } from './modelInterface';
30+
import { NodeLink } from './nodeLink';
31+
32+
export const importsMapFormFieldTextInputLink = {
33+
NodeLink,
34+
};
35+
36+
/**
37+
* Link to FormField text input element.
38+
*/
39+
export class FormFieldTextInputLink extends NodeLink {
40+
/**
41+
* Attribute type map
42+
*/
43+
public static attributeTypeMap: Array<AttributeInfo> = [
44+
];
45+
46+
/**
47+
* Returns attribute type map
48+
*/
49+
public static getAttributeTypeMap() {
50+
return super.getAttributeTypeMap().concat(FormFieldTextInputLink.attributeTypeMap);
51+
}
52+
53+
54+
public constructor(init?: Partial< FormFieldTextInputLink >) {
55+
super(init);
56+
Object.assign(this, init);
57+
}
58+
59+
public collectFilesContent(_resultFilesContent: Array<any>) {
60+
}
61+
62+
public validate() {
63+
super.validate();
64+
}
65+
}
66+

0 commit comments

Comments
 (0)