Skip to content

Commit a135824

Browse files
Merge remote-tracking branch 'origin/master' into release
2 parents fc84233 + 979e98e commit a135824

File tree

10 files changed

+392
-4
lines changed

10 files changed

+392
-4
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ 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 24.4
20+
21+
- Added the 'MergeWithNext' method to merge a section with the next one.
22+
23+
1924
## Enhancements in Version 24.3
2025

2126
- Added support for 'RemoveEmptyCells' option for the 'Cleanup' parameter in the insert 'MailMerge' API method.

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": "24.3.0",
3+
"version": "24.4.0",
44
"description": "Aspose.Words Cloud SDK for Node.js",
55
"homepage": "https://products.aspose.cloud/words/cloud",
66
"author": {

src/api.ts

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4597,6 +4597,39 @@ export class WordsApi implements Encryptor {
45974597
return Promise.resolve(result);
45984598
}
45994599

4600+
/**
4601+
* Merge the section with the next one.
4602+
* @param requestObj contains request parameters
4603+
*/
4604+
public async mergeWithNext(requestObj: model.MergeWithNextRequest): Promise< http.IncomingMessage > {
4605+
if (requestObj === null || requestObj === undefined) {
4606+
throw new Error('Required parameter "request" was null or undefined when calling mergeWithNext.');
4607+
}
4608+
4609+
const requestOptions = await requestObj.createRequestOptions(this.configuration, this);
4610+
4611+
const response = await invokeApiMethod(requestOptions, this.configuration);
4612+
return Promise.resolve(response);
4613+
}
4614+
4615+
/**
4616+
* Merge the section with the next one.
4617+
* @param requestObj contains request parameters
4618+
*/
4619+
public async mergeWithNextOnline(requestObj: model.MergeWithNextOnlineRequest): Promise< model.WordsIncomingMessage< Map<string, Buffer> > > {
4620+
if (requestObj === null || requestObj === undefined) {
4621+
throw new Error('Required parameter "request" was null or undefined when calling mergeWithNextOnline.');
4622+
}
4623+
4624+
const requestOptions = await requestObj.createRequestOptions(this.configuration, this);
4625+
4626+
const response = await invokeApiMethod(requestOptions, this.configuration);
4627+
const result = new model.WordsIncomingMessage< Map<string, Buffer> >();
4628+
result.response = response;
4629+
result.body = requestObj.createResponse(response.body, response.headers);
4630+
return Promise.resolve(result);
4631+
}
4632+
46004633
/**
46014634
* Move file.
46024635
* @param requestObj contains request parameters

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"] = "24.3";
134+
requestOptions.headers["x-aspose-client-version"] = "24.4";
135135
requestOptions.encoding = null;
136136

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

src/model/drawingObjectInsert.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ export class DrawingObjectInsert implements ModelInterface {
8080
name: "wrapType",
8181
baseName: "WrapType",
8282
type: "DrawingObjectInsert.WrapTypeEnum",
83+
},
84+
{
85+
name: "aspectRatioLocked",
86+
baseName: "AspectRatioLocked",
87+
type: "boolean",
8388
}
8489
];
8590

@@ -130,6 +135,11 @@ export class DrawingObjectInsert implements ModelInterface {
130135
*/
131136
public wrapType: DrawingObjectInsert.WrapTypeEnum;
132137

138+
/**
139+
* Gets or sets a value indicating whether AspectRatioLocked option on or off.
140+
*/
141+
public aspectRatioLocked: boolean;
142+
133143
public constructor(init?: Partial< DrawingObjectInsert >) {
134144
Object.assign(this, init);
135145
}
@@ -176,6 +186,7 @@ export class DrawingObjectInsert implements ModelInterface {
176186

177187

178188

189+
179190
}
180191
}
181192

src/model/drawingObjectUpdate.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ export class DrawingObjectUpdate implements ModelInterface {
7373
name: "wrapType",
7474
baseName: "WrapType",
7575
type: "DrawingObjectUpdate.WrapTypeEnum",
76+
},
77+
{
78+
name: "aspectRatioLocked",
79+
baseName: "AspectRatioLocked",
80+
type: "boolean",
7681
}
7782
];
7883

@@ -118,6 +123,11 @@ export class DrawingObjectUpdate implements ModelInterface {
118123
*/
119124
public wrapType: DrawingObjectUpdate.WrapTypeEnum;
120125

126+
/**
127+
* Gets or sets a value indicating whether AspectRatioLocked option on or off.
128+
*/
129+
public aspectRatioLocked: boolean;
130+
121131
public constructor(init?: Partial< DrawingObjectUpdate >) {
122132
Object.assign(this, init);
123133
}

0 commit comments

Comments
 (0)