Skip to content

Commit 0c52677

Browse files
Merge remote-tracking branch 'origin/master' into release
2 parents a0cbe6f + 5ecff10 commit 0c52677

File tree

14 files changed

+163
-108
lines changed

14 files changed

+163
-108
lines changed

JenkinsfileRelease

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ node('words-linux') {
7979

8080
gitlabCommitStatus("audit security") {
8181
stage('audit security'){
82-
sh "npm audit fix"
83-
sh "npm audit --production --audit-level=moderate"
82+
//sh "npm audit fix"
83+
//sh "npm audit --production --audit-level=moderate"
8484
}
8585
}
8686
}

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 23.3
20+
21+
- Fix compatibility between CreateDocument API and Dropbox storage.
22+
- Fix compatibility for property PageCount for FixedPageSaveOptionsData.
23+
24+
1925
## Enhancements in Version 23.2
2026

2127
- Added operations to manipulate with Structure Document Tags (SDT) in documents.

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.2.0",
3+
"version": "23.3.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"] = "23.2";
134+
requestOptions.headers["x-aspose-client-version"] = "23.3";
135135
requestOptions.encoding = null;
136136

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

src/model/bookmarkInsert.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
import { AttributeInfo } from '../internal/attributeInfo';
2929
import { ModelInterface } from './modelInterface';
3030
import { BookmarkData } from './bookmarkData';
31-
import { DocumentPosition } from './documentPosition';
31+
import { NewDocumentPosition } from './newDocumentPosition';
3232

3333
export const importsMapBookmarkInsert = {
3434
BookmarkData,
35-
DocumentPosition,
35+
NewDocumentPosition,
3636
};
3737

3838
/**
@@ -46,12 +46,12 @@ export class BookmarkInsert extends BookmarkData {
4646
{
4747
name: "endRange",
4848
baseName: "EndRange",
49-
type: "DocumentPosition",
49+
type: "NewDocumentPosition",
5050
},
5151
{
5252
name: "startRange",
5353
baseName: "StartRange",
54-
type: "DocumentPosition",
54+
type: "NewDocumentPosition",
5555
}
5656
];
5757

@@ -65,12 +65,12 @@ export class BookmarkInsert extends BookmarkData {
6565
/**
6666
* Gets or sets the link to end bookmark node.
6767
*/
68-
public endRange: DocumentPosition;
68+
public endRange: NewDocumentPosition;
6969

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

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

src/model/commentBase.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727

2828
import { AttributeInfo } from '../internal/attributeInfo';
2929
import { ModelInterface } from './modelInterface';
30-
import { DocumentPosition } from './documentPosition';
30+
import { NewDocumentPosition } from './newDocumentPosition';
3131

3232
export const importsMapCommentBase = {
33-
DocumentPosition,
33+
NewDocumentPosition,
3434
};
3535

3636
/**
@@ -59,12 +59,12 @@ export abstract class CommentBase implements ModelInterface {
5959
{
6060
name: "rangeEnd",
6161
baseName: "RangeEnd",
62-
type: "DocumentPosition",
62+
type: "NewDocumentPosition",
6363
},
6464
{
6565
name: "rangeStart",
6666
baseName: "RangeStart",
67-
type: "DocumentPosition",
67+
type: "NewDocumentPosition",
6868
},
6969
{
7070
name: "text",
@@ -98,12 +98,12 @@ export abstract class CommentBase implements ModelInterface {
9898
/**
9999
* Gets or sets the link to comment range end node.
100100
*/
101-
public rangeEnd: DocumentPosition;
101+
public rangeEnd: NewDocumentPosition;
102102

103103
/**
104104
* Gets or sets the link to comment range start node.
105105
*/
106-
public rangeStart: DocumentPosition;
106+
public rangeStart: NewDocumentPosition;
107107

108108
/**
109109
* Gets or sets text of the comment.

src/model/drawingObjectInsert.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727

2828
import { AttributeInfo } from '../internal/attributeInfo';
2929
import { ModelInterface } from './modelInterface';
30-
import { DocumentPosition } from './documentPosition';
30+
import { NewDocumentPosition } from './newDocumentPosition';
3131

3232
export const importsMapDrawingObjectInsert = {
33-
DocumentPosition,
33+
NewDocumentPosition,
3434
};
3535

3636
/**
@@ -54,7 +54,7 @@ export class DrawingObjectInsert implements ModelInterface {
5454
{
5555
name: "position",
5656
baseName: "Position",
57-
type: "DocumentPosition",
57+
type: "NewDocumentPosition",
5858
},
5959
{
6060
name: "relativeHorizontalPosition",
@@ -103,7 +103,7 @@ export class DrawingObjectInsert implements ModelInterface {
103103
/**
104104
* Gets or sets the position, before which the DrawingObject will be inserted.
105105
*/
106-
public position: DocumentPosition;
106+
public position: NewDocumentPosition;
107107

108108
/**
109109
* Gets or sets the relative horizontal position, from which the distance to the image is measured.

src/model/footnoteBase.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727

2828
import { AttributeInfo } from '../internal/attributeInfo';
2929
import { ModelInterface } from './modelInterface';
30-
import { DocumentPosition } from './documentPosition';
30+
import { NewDocumentPosition } from './newDocumentPosition';
3131

3232
export const importsMapFootnoteBase = {
33-
DocumentPosition,
33+
NewDocumentPosition,
3434
};
3535

3636
/**
@@ -49,7 +49,7 @@ export abstract class FootnoteBase implements ModelInterface {
4949
{
5050
name: "position",
5151
baseName: "Position",
52-
type: "DocumentPosition",
52+
type: "NewDocumentPosition",
5353
},
5454
{
5555
name: "referenceMark",
@@ -78,7 +78,7 @@ export abstract class FootnoteBase implements ModelInterface {
7878
/**
7979
* Gets or sets the link to comment range start node.
8080
*/
81-
public position: DocumentPosition;
81+
public position: NewDocumentPosition;
8282

8383
/**
8484
* Gets or sets the custom reference mark to be used for this footnote.

src/model/model.ts

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ import * as importedMarkdownSaveOptionsData from './markdownSaveOptionsData';
179179
import * as importedMetafileRenderingOptionsData from './metafileRenderingOptionsData';
180180
import * as importedMhtmlSaveOptionsData from './mhtmlSaveOptionsData';
181181
import * as importedModificationOperationResult from './modificationOperationResult';
182+
import * as importedNewDocumentPosition from './newDocumentPosition';
182183
import * as importedNodeLink from './nodeLink';
183184
import * as importedOdtSaveOptionsData from './odtSaveOptionsData';
184185
import * as importedOfficeMathLink from './officeMathLink';
@@ -460,6 +461,7 @@ export * from './markdownSaveOptionsData';
460461
export * from './metafileRenderingOptionsData';
461462
export * from './mhtmlSaveOptionsData';
462463
export * from './modificationOperationResult';
464+
export * from './newDocumentPosition';
463465
export * from './nodeLink';
464466
export * from './odtSaveOptionsData';
465467
export * from './officeMathLink';
@@ -871,6 +873,7 @@ const typeMap = {
871873
MetafileRenderingOptionsData: importedMetafileRenderingOptionsData.MetafileRenderingOptionsData,
872874
MhtmlSaveOptionsData: importedMhtmlSaveOptionsData.MhtmlSaveOptionsData,
873875
ModificationOperationResult: importedModificationOperationResult.ModificationOperationResult,
876+
NewDocumentPosition: importedNewDocumentPosition.NewDocumentPosition,
874877
NodeLink: importedNodeLink.NodeLink,
875878
OdtSaveOptionsData: importedOdtSaveOptionsData.OdtSaveOptionsData,
876879
OfficeMathLink: importedOfficeMathLink.OfficeMathLink,
@@ -22344,12 +22347,12 @@ export class GetRangeTextRequest implements RequestInterface {
2234422347
public name: string;
2234522348

2234622349
/**
22347-
* The range start identifier.
22350+
* The range start identifier. Identifier examples: id0.0.0, page0.
2234822351
*/
2234922352
public rangeStartIdentifier: string;
2235022353

2235122354
/**
22352-
* The range end identifier.
22355+
* The range end identifier. Identifier examples: id1.0.0, id0.0.0:end, page1, page1:end, document:end.
2235322356
*/
2235422357
public rangeEndIdentifier: string;
2235522358

@@ -22476,12 +22479,12 @@ export class GetRangeTextOnlineRequest implements RequestInterface {
2247622479
public document: Readable;
2247722480

2247822481
/**
22479-
* The range start identifier.
22482+
* The range start identifier. Identifier examples: id0.0.0, page0.
2248022483
*/
2248122484
public rangeStartIdentifier: string;
2248222485

2248322486
/**
22484-
* The range end identifier.
22487+
* The range end identifier. Identifier examples: id1.0.0, id0.0.0:end, page1, page1:end, document:end.
2248522488
*/
2248622489
public rangeEndIdentifier: string;
2248722490

@@ -34389,12 +34392,12 @@ export class RemoveRangeRequest implements RequestInterface {
3438934392
public name: string;
3439034393

3439134394
/**
34392-
* The range start identifier.
34395+
* The range start identifier. Identifier examples: id0.0.0, page0.
3439334396
*/
3439434397
public rangeStartIdentifier: string;
3439534398

3439634399
/**
34397-
* The range end identifier.
34400+
* The range end identifier. Identifier examples: id1.0.0, id0.0.0:end, page1, page1:end, document:end.
3439834401
*/
3439934402
public rangeEndIdentifier: string;
3440034403

@@ -34527,12 +34530,12 @@ export class RemoveRangeOnlineRequest implements RequestInterface {
3452734530
public document: Readable;
3452834531

3452934532
/**
34530-
* The range start identifier.
34533+
* The range start identifier. Identifier examples: id0.0.0, page0.
3453134534
*/
3453234535
public rangeStartIdentifier: string;
3453334536

3453434537
/**
34535-
* The range end identifier.
34538+
* The range end identifier. Identifier examples: id1.0.0, id0.0.0:end, page1, page1:end, document:end.
3453634539
*/
3453734540
public rangeEndIdentifier: string;
3453834541

@@ -36483,7 +36486,7 @@ export class ReplaceWithTextRequest implements RequestInterface {
3648336486
public name: string;
3648436487

3648536488
/**
36486-
* The range start identifier.
36489+
* The range start identifier. Identifier examples: id0.0.0, page0.
3648736490
*/
3648836491
public rangeStartIdentifier: string;
3648936492

@@ -36493,7 +36496,7 @@ export class ReplaceWithTextRequest implements RequestInterface {
3649336496
public rangeText: importedReplaceRange.ReplaceRange;
3649436497

3649536498
/**
36496-
* The range end identifier.
36499+
* The range end identifier. Identifier examples: id1.0.0, id0.0.0:end, page1, page1:end, document:end.
3649736500
*/
3649836501
public rangeEndIdentifier: string;
3649936502

@@ -36640,7 +36643,7 @@ export class ReplaceWithTextOnlineRequest implements RequestInterface {
3664036643
public document: Readable;
3664136644

3664236645
/**
36643-
* The range start identifier.
36646+
* The range start identifier. Identifier examples: id0.0.0, page0.
3664436647
*/
3664536648
public rangeStartIdentifier: string;
3664636649

@@ -36650,7 +36653,7 @@ export class ReplaceWithTextOnlineRequest implements RequestInterface {
3665036653
public rangeText: importedReplaceRange.ReplaceRange;
3665136654

3665236655
/**
36653-
* The range end identifier.
36656+
* The range end identifier. Identifier examples: id1.0.0, id0.0.0:end, page1, page1:end, document:end.
3665436657
*/
3665536658
public rangeEndIdentifier: string;
3665636659

@@ -37130,7 +37133,7 @@ export class SaveAsRangeRequest implements RequestInterface {
3713037133
public name: string;
3713137134

3713237135
/**
37133-
* The range start identifier.
37136+
* The range start identifier. Identifier examples: id0.0.0, page0.
3713437137
*/
3713537138
public rangeStartIdentifier: string;
3713637139

@@ -37140,7 +37143,7 @@ export class SaveAsRangeRequest implements RequestInterface {
3714037143
public documentParameters: importedRangeDocument.RangeDocument;
3714137144

3714237145
/**
37143-
* The range end identifier.
37146+
* The range end identifier. Identifier examples: id1.0.0, id0.0.0:end, page1, page1:end, document:end.
3714437147
*/
3714537148
public rangeEndIdentifier: string;
3714637149

@@ -37281,7 +37284,7 @@ export class SaveAsRangeOnlineRequest implements RequestInterface {
3728137284
public document: Readable;
3728237285

3728337286
/**
37284-
* The range start identifier.
37287+
* The range start identifier. Identifier examples: id0.0.0, page0.
3728537288
*/
3728637289
public rangeStartIdentifier: string;
3728737290

@@ -37291,7 +37294,7 @@ export class SaveAsRangeOnlineRequest implements RequestInterface {
3729137294
public documentParameters: importedRangeDocument.RangeDocument;
3729237295

3729337296
/**
37294-
* The range end identifier.
37297+
* The range end identifier. Identifier examples: id1.0.0, id0.0.0:end, page1, page1:end, document:end.
3729537298
*/
3729637299
public rangeEndIdentifier: string;
3729737300

0 commit comments

Comments
 (0)