Skip to content

Commit 62a6fa0

Browse files
Merge remote-tracking branch 'origin/master' into release
2 parents 7a15908 + 979b9ad commit 62a6fa0

File tree

118 files changed

+863
-848
lines changed

Some content is hidden

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

118 files changed

+863
-848
lines changed

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": "23.9.0",
3+
"version": "23.10.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: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ export class WordsApi implements Encryptor {
340340
}
341341

342342
/**
343+
* Compress and resize images inside the document.
343344
* The default settings allows to reduce the size of the document without any visible degradation of images quality.
344345
* @param requestObj contains request parameters
345346
*/
@@ -359,6 +360,7 @@ export class WordsApi implements Encryptor {
359360

360361
/**
361362
* Compress and resize images inside the document.
363+
* The default settings allows to reduce the size of the document without any visible degradation of images quality.
362364
* @param requestObj contains request parameters
363365
*/
364366
public async compressDocumentOnline(requestObj: model.CompressDocumentOnlineRequest): Promise< model.WordsIncomingMessage< model.CompressDocumentOnlineResponse > > {
@@ -478,6 +480,7 @@ export class WordsApi implements Encryptor {
478480
}
479481

480482
/**
483+
* Creates a new document in cloud storage in the format, determined by the file extension.
481484
* Supported all save format extensions.
482485
* @param requestObj contains request parameters
483486
*/
@@ -649,6 +652,7 @@ export class WordsApi implements Encryptor {
649652
}
650653

651654
/**
655+
* Removes a border from the document node.
652656
* The 'nodePath' parameter should refer to a paragraph, a cell or a row.
653657
* @param requestObj contains request parameters
654658
*/
@@ -668,6 +672,7 @@ export class WordsApi implements Encryptor {
668672

669673
/**
670674
* Removes a border from the document node.
675+
* The 'nodePath' parameter should refer to a paragraph, a cell or a row.
671676
* @param requestObj contains request parameters
672677
*/
673678
public async deleteBorderOnline(requestObj: model.DeleteBorderOnlineRequest): Promise< model.WordsIncomingMessage< model.DeleteBorderOnlineResponse > > {
@@ -685,6 +690,7 @@ export class WordsApi implements Encryptor {
685690
}
686691

687692
/**
693+
* Removes borders from the document node.
688694
* The 'nodePath' parameter should refer to a paragraph, a cell or a row.
689695
* @param requestObj contains request parameters
690696
*/
@@ -704,6 +710,7 @@ export class WordsApi implements Encryptor {
704710

705711
/**
706712
* Removes borders from the document node.
713+
* The 'nodePath' parameter should refer to a paragraph, a cell or a row.
707714
* @param requestObj contains request parameters
708715
*/
709716
public async deleteBordersOnline(requestObj: model.DeleteBordersOnlineRequest): Promise< model.WordsIncomingMessage< model.DeleteBordersOnlineResponse > > {
@@ -1696,6 +1703,7 @@ export class WordsApi implements Encryptor {
16961703
}
16971704

16981705
/**
1706+
* Reads a border from the document node.
16991707
* The 'nodePath' parameter should refer to a paragraph, a cell or a row.
17001708
* @param requestObj contains request parameters
17011709
*/
@@ -1715,6 +1723,7 @@ export class WordsApi implements Encryptor {
17151723

17161724
/**
17171725
* Reads a border from the document node.
1726+
* The 'nodePath' parameter should refer to a paragraph, a cell or a row.
17181727
* @param requestObj contains request parameters
17191728
*/
17201729
public async getBorderOnline(requestObj: model.GetBorderOnlineRequest): Promise< model.WordsIncomingMessage< model.BorderResponse > > {
@@ -4972,7 +4981,7 @@ export class WordsApi implements Encryptor {
49724981
}
49734982

49744983
/**
4975-
* Converts a document to the specified format.
4984+
* Converts a document in cloud storage to the specified format.
49764985
* @param requestObj contains request parameters
49774986
*/
49784987
public async saveAsOnline(requestObj: model.SaveAsOnlineRequest): Promise< model.WordsIncomingMessage< model.SaveAsOnlineResponse > > {
@@ -5027,6 +5036,7 @@ export class WordsApi implements Encryptor {
50275036

50285037
/**
50295038
* Converts a document in cloud storage to TIFF format using detailed conversion settings.
5039+
* @deprecated This operation will be removed in the future.
50305040
* @param requestObj contains request parameters
50315041
*/
50325042
public async saveAsTiff(requestObj: model.SaveAsTiffRequest): Promise< model.WordsIncomingMessage< model.SaveResponse > > {
@@ -5044,7 +5054,8 @@ export class WordsApi implements Encryptor {
50445054
}
50455055

50465056
/**
5047-
* Converts a document to TIFF format using detailed conversion settings.
5057+
* Converts a document in cloud storage to TIFF format using detailed conversion settings.
5058+
* @deprecated This operation will be removed in the future.
50485059
* @param requestObj contains request parameters
50495060
*/
50505061
public async saveAsTiffOnline(requestObj: model.SaveAsTiffOnlineRequest): Promise< model.WordsIncomingMessage< model.SaveAsTiffOnlineResponse > > {
@@ -5206,6 +5217,7 @@ export class WordsApi implements Encryptor {
52065217
}
52075218

52085219
/**
5220+
* Updates a border in the document node.
52095221
* The 'nodePath' parameter should refer to a paragraph, a cell or a row.
52105222
* @param requestObj contains request parameters
52115223
*/
@@ -5225,6 +5237,7 @@ export class WordsApi implements Encryptor {
52255237

52265238
/**
52275239
* Updates a border in the document node.
5240+
* The 'nodePath' parameter should refer to a paragraph, a cell or a row.
52285241
* @param requestObj contains request parameters
52295242
*/
52305243
public async updateBorderOnline(requestObj: model.UpdateBorderOnlineRequest): Promise< model.WordsIncomingMessage< model.UpdateBorderOnlineResponse > > {

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

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

src/model/bookmarkInsert.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ export class BookmarkInsert extends BookmarkData {
4444
*/
4545
public static attributeTypeMap: Array<AttributeInfo> = [
4646
{
47-
name: "endRange",
48-
baseName: "EndRange",
47+
name: "startRange",
48+
baseName: "StartRange",
4949
type: "NewDocumentPosition",
5050
},
5151
{
52-
name: "startRange",
53-
baseName: "StartRange",
52+
name: "endRange",
53+
baseName: "EndRange",
5454
type: "NewDocumentPosition",
5555
}
5656
];
@@ -63,14 +63,14 @@ export class BookmarkInsert extends BookmarkData {
6363
}
6464

6565
/**
66-
* Gets or sets the link to end bookmark node.
66+
* Gets or sets the link to start bookmark node.
6767
*/
68-
public endRange: NewDocumentPosition;
68+
public startRange: NewDocumentPosition;
6969

7070
/**
71-
* Gets or sets the link to start bookmark node.
71+
* Gets or sets the link to end bookmark node.
7272
*/
73-
public startRange: NewDocumentPosition;
73+
public endRange: NewDocumentPosition;
7474

7575
public constructor(init?: Partial< BookmarkInsert >) {
7676
super(init);

src/model/bookmarkResponse.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export const importsMapBookmarkResponse = {
3737

3838
/**
3939
* The REST response with a bookmark.
40+
* This response should be returned by the service when handling: GET bookmarks/{bookmarkName}.
4041
*/
4142
export class BookmarkResponse extends WordsResponse {
4243
/**

src/model/bookmarksResponse.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export const importsMapBookmarksResponse = {
3737

3838
/**
3939
* The REST response with a collection of bookmarks.
40+
* This response should be returned by the service when handling: GET bookmarks.
4041
*/
4142
export class BookmarksResponse extends WordsResponse {
4243
/**

src/model/border.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export const importsMapBorder = {
3737

3838
/**
3939
* Represents a border of an object.
40+
* Borders can be applied to various document elements including paragraph, run of text inside a paragraph or a table cell.
4041
*/
4142
export class Border extends LinkElement {
4243
/**
@@ -94,21 +95,25 @@ export class Border extends LinkElement {
9495

9596
/**
9697
* Gets or sets the distance of the border from text or from the page edge in points.
98+
* Has no effect and will be automatically reset to zero for borders of table cells.
9799
*/
98100
public distanceFromText: number;
99101

100102
/**
101103
* Gets or sets the border style.
104+
* If you set line style to none, then line width is automatically changed to zero.
102105
*/
103106
public lineStyle: Border.LineStyleEnum;
104107

105108
/**
106109
* Gets or sets the border width in points.
110+
* If you set line width greater than zero when line style is none, the line style is automatically changed to single line.
107111
*/
108112
public lineWidth: number;
109113

110114
/**
111115
* Gets or sets a value indicating whether the border has a shadow.
116+
* In Microsoft Word, for a border to have a shadow, the borders on all four sides (left, top, right and bottom) should be of the same type, width, color and all should have the Shadow property set to true.
112117
*/
113118
public shadow: boolean;
114119

src/model/borderResponse.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export const importsMapBorderResponse = {
3737

3838
/**
3939
* The REST response with a border.
40+
* This response is returned by the Service when handling "GET {nodeWithBorders}/borders" REST API requests.
4041
*/
4142
export class BorderResponse extends WordsResponse {
4243
/**

src/model/bordersResponse.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export const importsMapBordersResponse = {
3737

3838
/**
3939
* The REST response with a collection of borders.
40+
* This response is returned by the Service when handling "GET {nodeWithBorders}/borders" REST API requests.
4041
*/
4142
export class BordersResponse extends WordsResponse {
4243
/**

src/model/classificationResponse.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export const importsMapClassificationResponse = {
3737

3838
/**
3939
* The REST response with data on multi-class text classification.
40+
* This response is returned by the Service when handling "PUT https://api.aspose.cloud/v4.0/words/classify" REST API requests.
4041
*/
4142
export class ClassificationResponse extends WordsResponse {
4243
/**

0 commit comments

Comments
 (0)