Skip to content

Commit 5bbdeda

Browse files
committed
Updated sources
1 parent 481eed7 commit 5bbdeda

File tree

4 files changed

+51
-4
lines changed

4 files changed

+51
-4
lines changed

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "groupdocs-conversion-cloud",
3-
"version": "24.1.0",
3+
"version": "24.2.0",
44
"description": "GroupDocs.Conversion Cloud SDK for Node.js",
55
"homepage": "https://products.groupdocs.cloud/conversion",
66
"author": {

src/model.ts

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2060,6 +2060,16 @@ export class PdfConvertOptions extends ConvertOptions {
20602060
name: "rotate",
20612061
baseName: "rotate",
20622062
type: "PdfConvertOptions.RotateEnum",
2063+
},
2064+
{
2065+
name: "pageSize",
2066+
baseName: "pageSize",
2067+
type: "PdfConvertOptions.PageSizeEnum",
2068+
},
2069+
{
2070+
name: "pageOrientation",
2071+
baseName: "pageOrientation",
2072+
type: "PdfConvertOptions.PageOrientationEnum",
20632073
} ];
20642074

20652075
/**
@@ -2219,6 +2229,16 @@ export class PdfConvertOptions extends ConvertOptions {
22192229
*/
22202230
public rotate: PdfConvertOptions.RotateEnum;
22212231

2232+
/**
2233+
* Specifies page size
2234+
*/
2235+
public pageSize: PdfConvertOptions.PageSizeEnum;
2236+
2237+
/**
2238+
* Specifies page orientation
2239+
*/
2240+
public pageOrientation: PdfConvertOptions.PageOrientationEnum;
2241+
22222242
public constructor(init?: Partial<PdfConvertOptions>) {
22232243
super(init);
22242244
Object.assign(this, init);
@@ -2281,6 +2301,31 @@ export namespace PdfConvertOptions {
22812301
On180 = 'On180' as any,
22822302
On270 = 'On270' as any,
22832303
}
2304+
export enum PageSizeEnum {
2305+
Default = 'Default' as any,
2306+
A3 = 'A3' as any,
2307+
Statement = 'Statement' as any,
2308+
Quarto = 'Quarto' as any,
2309+
Paper11x17 = 'Paper11x17' as any,
2310+
Paper10x14 = 'Paper10x14' as any,
2311+
Letter = 'Letter' as any,
2312+
Legal = 'Legal' as any,
2313+
Ledger = 'Ledger' as any,
2314+
Folio = 'Folio' as any,
2315+
Executive = 'Executive' as any,
2316+
EnvelopeDL = 'EnvelopeDL' as any,
2317+
Custom = 'Custom' as any,
2318+
B5 = 'B5' as any,
2319+
B4 = 'B4' as any,
2320+
A5 = 'A5' as any,
2321+
A4 = 'A4' as any,
2322+
Tabloid = 'Tabloid' as any,
2323+
}
2324+
export enum PageOrientationEnum {
2325+
Default = 'Default' as any,
2326+
Landscape = 'Landscape' as any,
2327+
Portrait = 'Portrait' as any,
2328+
}
22842329
}
22852330
// tslint:enable:quotemark
22862331
/**
@@ -6722,6 +6767,8 @@ const enumsMap = {
67226767
"PdfConvertOptions.PageLayoutEnum": PdfConvertOptions.PageLayoutEnum,
67236768
"PdfConvertOptions.PageModeEnum": PdfConvertOptions.PageModeEnum,
67246769
"PdfConvertOptions.RotateEnum": PdfConvertOptions.RotateEnum,
6770+
"PdfConvertOptions.PageSizeEnum": PdfConvertOptions.PageSizeEnum,
6771+
"PdfConvertOptions.PageOrientationEnum": PdfConvertOptions.PageOrientationEnum,
67256772
"TxtLoadOptions.TrailingSpacesOptionsEnum": TxtLoadOptions.TrailingSpacesOptionsEnum,
67266773
"TxtLoadOptions.LeadingSpacesOptionsEnum": TxtLoadOptions.LeadingSpacesOptionsEnum,
67276774
"WordProcessingConvertOptions.PdfRecognitionModeEnum": WordProcessingConvertOptions.PdfRecognitionModeEnum,

src/package_version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@
2525
/**
2626
* Package version
2727
*/
28-
export const PackageVersion: string = "24.1.0";
28+
export const PackageVersion: string = "24.2.0";

0 commit comments

Comments
 (0)