Skip to content

Commit b940067

Browse files
committed
Updated sources
1 parent 68c854f commit b940067

21 files changed

Lines changed: 95 additions & 28 deletions

package-lock.json

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "groupdocs-viewer-cloud",
3-
"version": "24.12.0",
3+
"version": "25.3.0",
44
"description": "GroupDocs.Viewer Cloud SDK for Node.js",
55
"homepage": "https://products.groupdocs.cloud/viewer",
66
"author": {
@@ -31,7 +31,7 @@
3131
"build:package": "npm pack"
3232
},
3333
"dependencies": {
34-
"axios": "1.7.5",
34+
"axios": "1.8.4",
3535
"form-data": "*",
3636
"jsonwebtoken": "9.0.1",
3737
"qs": "6.11.2"

src/api_client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* The MIT License (MIT)
33
*
4-
* Copyright (c) 2003-2024 Aspose Pty Ltd
4+
* Copyright (c) Aspose Pty Ltd
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal

src/api_error.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* The MIT License (MIT)
33
*
4-
* Copyright (c) 2003-2024 Aspose Pty Ltd
4+
* Copyright (c) Aspose Pty Ltd
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal

src/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* The MIT License (MIT)
33
*
4-
* Copyright (c) 2003-2024 Aspose Pty Ltd
4+
* Copyright (c) Aspose Pty Ltd
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal

src/configuration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* The MIT License (MIT)
33
*
4-
* Copyright (c) 2003-2024 Aspose Pty Ltd
4+
* Copyright (c) Aspose Pty Ltd
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal

src/model.ts

Lines changed: 67 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* The MIT License (MIT)
33
*
4-
* Copyright (c) 2003-2024 Aspose Pty Ltd
4+
* Copyright (c) Aspose Pty Ltd
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal
@@ -2996,6 +2996,26 @@ export class WordProcessingOptions {
29962996
name: "bottomMargin",
29972997
baseName: "bottomMargin",
29982998
type: "number",
2999+
},
3000+
{
3001+
name: "pageSize",
3002+
baseName: "pageSize",
3003+
type: "WordProcessingOptions.PageSizeEnum",
3004+
},
3005+
{
3006+
name: "enableOpenTypeFeatures",
3007+
baseName: "enableOpenTypeFeatures",
3008+
type: "boolean",
3009+
},
3010+
{
3011+
name: "unlinkTableOfContents",
3012+
baseName: "unlinkTableOfContents",
3013+
type: "boolean",
3014+
},
3015+
{
3016+
name: "updateFields",
3017+
baseName: "updateFields",
3018+
type: "boolean",
29993019
} ];
30003020

30013021
/**
@@ -3030,12 +3050,47 @@ export class WordProcessingOptions {
30303050
*/
30313051
public bottomMargin: number;
30323052

3053+
/**
3054+
* The size of the page.
3055+
*/
3056+
public pageSize: WordProcessingOptions.PageSizeEnum;
3057+
3058+
/**
3059+
* This option enables kerning and other OpenType Features when rendering Arabic, Hebrew, Indian Latin-based, or Cyrillic-based scripts.
3060+
*/
3061+
public enableOpenTypeFeatures: boolean;
3062+
3063+
/**
3064+
* When rendering to HTML or PDF, you can set this option to `true` to disable navigation from the table of contents. For HTML rendering, `a` tags with relative links will be replaced with `span` tags, removing functionality but preserving visual appearance. For PDF rendering, the table of contents will be rendered as plain text without links to document sections.
3065+
*/
3066+
public unlinkTableOfContents: boolean;
3067+
3068+
/**
3069+
* Determines if fields of certain types should be updated before saving the input WordProcessing document to the HTML, PDF, PNG, or JPEG output formats. Default value for this property is true — fields will be updated before saving.
3070+
*/
3071+
public updateFields: boolean;
3072+
30333073
public constructor(init?: Partial<WordProcessingOptions>) {
30343074

30353075
Object.assign(this, init);
30363076
}
30373077
}
30383078

3079+
// tslint:disable:quotemark
3080+
// tslint:disable-next-line:no-namespace
3081+
export namespace WordProcessingOptions {
3082+
export enum PageSizeEnum {
3083+
Unspecified = 'Unspecified' as any,
3084+
Letter = 'Letter' as any,
3085+
Ledger = 'Ledger' as any,
3086+
A0 = 'A0' as any,
3087+
A1 = 'A1' as any,
3088+
A2 = 'A2' as any,
3089+
A3 = 'A3' as any,
3090+
A4 = 'A4' as any,
3091+
}
3092+
}
3093+
// tslint:enable:quotemark
30393094
/**
30403095
* Attachment
30413096
*/
@@ -3204,6 +3259,11 @@ export class HtmlOptions extends RenderOptions {
32043259
name: "renderToSinglePage",
32053260
baseName: "renderToSinglePage",
32063261
type: "boolean",
3262+
},
3263+
{
3264+
name: "removeJavaScript",
3265+
baseName: "removeJavaScript",
3266+
type: "boolean",
32073267
} ];
32083268

32093269
/**
@@ -3273,6 +3333,11 @@ export class HtmlOptions extends RenderOptions {
32733333
*/
32743334
public renderToSinglePage: boolean;
32753335

3336+
/**
3337+
* Allows to remove the JavaScript source code from the links in resultant HTML documents, when rendering input documents, which have the scripts. By default is enabled (true).
3338+
*/
3339+
public removeJavaScript: boolean;
3340+
32763341
public constructor(init?: Partial<HtmlOptions>) {
32773342
super(init);
32783343
Object.assign(this, init);
@@ -3617,6 +3682,7 @@ const enumsMap = {
36173682
"ViewOptions.ViewFormatEnum": ViewOptions.ViewFormatEnum,
36183683
"Watermark.PositionEnum": Watermark.PositionEnum,
36193684
"WebDocumentOptions.PageSizeEnum": WebDocumentOptions.PageSizeEnum,
3685+
"WordProcessingOptions.PageSizeEnum": WordProcessingOptions.PageSizeEnum,
36203686
};
36213687

36223688
const typeMap = {

src/package_version.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* The MIT License (MIT)
33
*
4-
* Copyright (c) 2003-2024 Aspose Pty Ltd
4+
* Copyright (c) Aspose Pty Ltd
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal
@@ -25,4 +25,4 @@
2525
/**
2626
* Package version
2727
*/
28-
export const PackageVersion: string = "24.12.0";
28+
export const PackageVersion: string = "25.3.0";

src/serializer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* The MIT License (MIT)
33
*
4-
* Copyright (c) 2003-2024 Aspose Pty Ltd
4+
* Copyright (c) Aspose Pty Ltd
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal

src/viewer_api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* The MIT License (MIT)
33
*
4-
* Copyright (c) 2003-2024 Aspose Pty Ltd
4+
* Copyright (c) Aspose Pty Ltd
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)