@ironsoftware/ironpdf 2024.12.9 → 2025.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -3
- package/src/internal/IronPdfEngine.ProtoFiles/chrome_render.proto +1 -0
- package/src/internal/IronPdfEngine.ProtoFiles/iron_pdf_service.proto +2 -0
- package/src/internal/IronPdfEngine.ProtoFiles/pdfium_annotation.proto +9 -14
- package/src/internal/IronPdfEngine.ProtoFiles/pdfium_page.proto +13 -0
- package/src/internal/IronPdfEngine.ProtoFiles/pdfium_pdf_document.proto +13 -0
- package/src/internal/access.d.ts +2 -3
- package/src/internal/access.d.ts.map +1 -1
- package/src/internal/access.ts +0 -2
- package/src/internal/generated_proto/iron_pdf_service.d.ts +3 -0
- package/src/internal/generated_proto/iron_pdf_service.d.ts.map +1 -1
- package/src/internal/generated_proto/iron_pdf_service.ts +3 -0
- package/src/internal/generated_proto/ironpdfengineproto/ChromePdfRenderOptionsP.d.ts +3 -0
- package/src/internal/generated_proto/ironpdfengineproto/ChromePdfRenderOptionsP.d.ts.map +1 -1
- package/src/internal/generated_proto/ironpdfengineproto/ChromePdfRenderOptionsP.ts +3 -0
- package/src/internal/generated_proto/ironpdfengineproto/IronPdfService.d.ts +23 -0
- package/src/internal/generated_proto/ironpdfengineproto/IronPdfService.d.ts.map +1 -1
- package/src/internal/generated_proto/ironpdfengineproto/IronPdfService.ts +27 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddLinkAnnotationRequestP.d.ts +9 -8
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddLinkAnnotationRequestP.d.ts.map +1 -1
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddLinkAnnotationRequestP.ts +9 -8
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddPageRequestP.d.ts +12 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddPageRequestP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddPageRequestP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddPageRequestP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddPageRequestP.ts +15 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddPageResultP.d.ts +11 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddPageResultP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddPageResultP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddPageResultP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddPageResultP.ts +14 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumConvertToPdfUAForScreenReaderRequestP.d.ts +12 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumConvertToPdfUAForScreenReaderRequestP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumConvertToPdfUAForScreenReaderRequestP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumConvertToPdfUAForScreenReaderRequestP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumConvertToPdfUAForScreenReaderRequestP.ts +15 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumEmbedFileToPdfARequestStreamP.d.ts +14 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumEmbedFileToPdfARequestStreamP.d.ts.map +1 -1
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumEmbedFileToPdfARequestStreamP.ts +14 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfAnnotationP.d.ts +9 -8
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfAnnotationP.d.ts.map +1 -1
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfAnnotationP.ts +9 -8
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumTextAnnotationP.d.ts +4 -12
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumTextAnnotationP.d.ts.map +1 -1
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumTextAnnotationP.ts +4 -12
- package/src/internal/grpc_layer/chrome/converter.d.ts +23 -23
- package/src/internal/grpc_layer/chrome/converter.d.ts.map +1 -1
- package/src/internal/grpc_layer/chrome/converter.js +93 -102
- package/src/internal/grpc_layer/chrome/converter.js.map +1 -1
- package/src/internal/grpc_layer/chrome/converter.ts +140 -145
- package/src/internal/grpc_layer/chrome/render.d.ts +5 -5
- package/src/internal/grpc_layer/chrome/render.d.ts.map +1 -1
- package/src/internal/grpc_layer/chrome/render.js.map +1 -1
- package/src/internal/grpc_layer/chrome/render.ts +7 -7
- package/src/internal/grpc_layer/chrome/stamp.d.ts +16 -16
- package/src/internal/grpc_layer/chrome/stamp.d.ts.map +1 -1
- package/src/internal/grpc_layer/chrome/stamp.js.map +1 -1
- package/src/internal/grpc_layer/chrome/stamp.ts +16 -16
- package/src/internal/grpc_layer/handshake.js +1 -1
- package/src/internal/grpc_layer/handshake.js.map +1 -1
- package/src/internal/grpc_layer/handshake.ts +1 -1
- package/src/internal/grpc_layer/pdfium/converter.d.ts.map +1 -1
- package/src/internal/grpc_layer/pdfium/converter.js +3 -4
- package/src/internal/grpc_layer/pdfium/converter.js.map +1 -1
- package/src/internal/grpc_layer/pdfium/converter.ts +3 -4
- package/src/internal/grpc_layer/pdfium/headerFooter.d.ts.map +1 -1
- package/src/internal/grpc_layer/pdfium/headerFooter.js.map +1 -1
- package/src/internal/grpc_layer/pdfium/headerFooter.ts +0 -2
- package/src/internal/grpc_layer/pdfium/image.d.ts.map +1 -1
- package/src/internal/grpc_layer/pdfium/image.js +8 -5
- package/src/internal/grpc_layer/pdfium/image.js.map +1 -1
- package/src/internal/grpc_layer/pdfium/image.ts +9 -8
- package/src/internal/grpc_layer/pdfium/io.d.ts +5 -5
- package/src/internal/grpc_layer/pdfium/io.d.ts.map +1 -1
- package/src/internal/grpc_layer/pdfium/io.js +6 -5
- package/src/internal/grpc_layer/pdfium/io.js.map +1 -1
- package/src/internal/grpc_layer/pdfium/io.ts +5 -5
- package/src/internal/grpc_layer/pdfium/page.d.ts.map +1 -1
- package/src/internal/grpc_layer/pdfium/page.js +27 -21
- package/src/internal/grpc_layer/pdfium/page.js.map +1 -1
- package/src/internal/grpc_layer/pdfium/page.ts +32 -27
- package/src/internal/grpc_layer/pdfium/pdfa.d.ts.map +1 -1
- package/src/internal/grpc_layer/pdfium/pdfa.js.map +1 -1
- package/src/internal/grpc_layer/pdfium/pdfa.ts +0 -2
- package/src/internal/grpc_layer/pdfium/security.d.ts.map +1 -1
- package/src/internal/grpc_layer/pdfium/security.js +9 -6
- package/src/internal/grpc_layer/pdfium/security.js.map +1 -1
- package/src/internal/grpc_layer/pdfium/security.ts +6 -7
- package/src/internal/grpc_layer/pdfium/signing.js +15 -15
- package/src/internal/grpc_layer/pdfium/signing.js.map +1 -1
- package/src/internal/grpc_layer/pdfium/signing.ts +4 -4
- package/src/internal/grpc_layer/pdfium/text.d.ts.map +1 -1
- package/src/internal/grpc_layer/pdfium/text.js.map +1 -1
- package/src/internal/grpc_layer/pdfium/text.ts +0 -2
- package/src/internal/grpc_layer/util.d.ts +6 -6
- package/src/internal/grpc_layer/util.d.ts.map +1 -1
- package/src/internal/grpc_layer/util.js +25 -14
- package/src/internal/grpc_layer/util.js.map +1 -1
- package/src/internal/grpc_layer/util.ts +35 -17
- package/src/internal/zod/ironpdfglobalconfigSchema.d.ts.map +1 -1
- package/src/internal/zod/ironpdfglobalconfigSchema.ts +1 -1
- package/src/internal/zod/stampSchema.d.ts +6 -6
- package/src/public/affix.d.ts +11 -11
- package/src/public/affix.d.ts.map +1 -1
- package/src/public/affix.ts +12 -12
- package/src/public/ironpdfglobalconfig.d.ts +9 -9
- package/src/public/ironpdfglobalconfig.d.ts.map +1 -1
- package/src/public/ironpdfglobalconfig.ts +9 -9
- package/src/public/pdfDocument.d.ts +52 -52
- package/src/public/pdfDocument.d.ts.map +1 -1
- package/src/public/pdfDocument.js +21 -17
- package/src/public/pdfDocument.js.map +1 -1
- package/src/public/pdfDocument.ts +134 -138
- package/src/public/pdfGenerator.d.ts +1 -1
- package/src/public/pdfGenerator.d.ts.map +1 -1
- package/src/public/pdfGenerator.ts +1 -1
- package/src/public/render.d.ts +33 -33
- package/src/public/render.d.ts.map +1 -1
- package/src/public/render.ts +37 -37
- package/src/public/security.d.ts +10 -10
- package/src/public/security.d.ts.map +1 -1
- package/src/public/security.ts +10 -10
- package/src/public/signature.d.ts +12 -12
- package/src/public/signature.d.ts.map +1 -1
- package/src/public/signature.ts +12 -12
- package/src/public/stamp.d.ts +26 -26
- package/src/public/stamp.d.ts.map +1 -1
- package/src/public/stamp.ts +27 -27
- package/src/public/types.d.ts +15 -15
- package/src/public/types.d.ts.map +1 -1
- package/src/public/types.ts +14 -14
package/src/public/affix.d.ts
CHANGED
|
@@ -22,19 +22,19 @@ export interface HtmlAffix {
|
|
|
22
22
|
* Maximum Height of the HTML Header / Footer in millimeters. This value must be set sufficiently high to display the
|
|
23
23
|
* full HTML header / footer content.
|
|
24
24
|
*/
|
|
25
|
-
maxHeight?: number;
|
|
25
|
+
maxHeight?: number | undefined;
|
|
26
26
|
/**
|
|
27
27
|
* Adds a horizontal line divider between the header / footer and the page content on every page of the PDF document.
|
|
28
28
|
*
|
|
29
29
|
* @default false
|
|
30
30
|
*/
|
|
31
|
-
dividerLine?: boolean;
|
|
31
|
+
dividerLine?: boolean | undefined;
|
|
32
32
|
/**
|
|
33
33
|
* A html color code for divider line color see {@link dividerLine}
|
|
34
34
|
*
|
|
35
35
|
* @default #b1b1b1
|
|
36
36
|
*/
|
|
37
|
-
dividerLineColor?: string;
|
|
37
|
+
dividerLineColor?: string | undefined;
|
|
38
38
|
/**
|
|
39
39
|
* Loads style code blocks and links to CSS style sheets from the main HTML document (which provides the PDF content) into the {@link HtmlAffix}.
|
|
40
40
|
*
|
|
@@ -48,7 +48,7 @@ export interface HtmlAffix {
|
|
|
48
48
|
*
|
|
49
49
|
* @default false
|
|
50
50
|
*/
|
|
51
|
-
loadStylesAndCSSFromMainHtmlDocument?: boolean;
|
|
51
|
+
loadStylesAndCSSFromMainHtmlDocument?: boolean | undefined;
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
54
|
* Defines PDF Header and Footer display options.
|
|
@@ -64,42 +64,42 @@ export interface TextAffix {
|
|
|
64
64
|
* Merge meta-data into your header using any of these placeholder strings:
|
|
65
65
|
* {page} {total-pages} {url} {date} {time} {html-title} {pdf-title}
|
|
66
66
|
*/
|
|
67
|
-
leftText?: string;
|
|
67
|
+
leftText?: string | undefined;
|
|
68
68
|
/**
|
|
69
69
|
* Sets the centered header text for the PDF document.
|
|
70
70
|
*
|
|
71
71
|
* Merge meta-data into your header using any of these placeholder strings:
|
|
72
72
|
* {page} {total-pages} {url} {date} {time} {html-title} {pdf-title}
|
|
73
73
|
*/
|
|
74
|
-
centerText?: string;
|
|
74
|
+
centerText?: string | undefined;
|
|
75
75
|
/**
|
|
76
76
|
* Sets the right-hand side header text for the PDF document.
|
|
77
77
|
*
|
|
78
78
|
* Merge meta-data into your header using any of these placeholder strings:
|
|
79
79
|
* {page} {total-pages} {url} {date} {time} {html-title} {pdf-title}
|
|
80
80
|
*/
|
|
81
|
-
rightText?: string;
|
|
81
|
+
rightText?: string | undefined;
|
|
82
82
|
/**
|
|
83
83
|
* Adds a horizontal line divider between the header / footer and the page content on every page of the PDF document.
|
|
84
84
|
*
|
|
85
85
|
* @default false
|
|
86
86
|
*/
|
|
87
|
-
dividerLine?: boolean;
|
|
87
|
+
dividerLine?: boolean | undefined;
|
|
88
88
|
/**
|
|
89
89
|
* A html color code for divider line color see {@link dividerLine}
|
|
90
90
|
*
|
|
91
91
|
* @default #b1b1b1
|
|
92
92
|
*/
|
|
93
|
-
dividerLineColor?: string;
|
|
93
|
+
dividerLineColor?: string | undefined;
|
|
94
94
|
/**
|
|
95
95
|
* Font family. Default is {@link AffixFonts.Arial}.
|
|
96
96
|
*/
|
|
97
|
-
font?: AffixFonts;
|
|
97
|
+
font?: AffixFonts | undefined;
|
|
98
98
|
/**
|
|
99
99
|
* Font size in px.
|
|
100
100
|
* @default 10
|
|
101
101
|
*/
|
|
102
|
-
fontSize?: number;
|
|
102
|
+
fontSize?: number | undefined;
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
105
105
|
* Supported Affix Fonts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"affix.d.ts","sourceRoot":"","sources":["affix.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,WAAW,SAAS;IACzB;;;;;;;;;;OAUG;IACH,YAAY,EAAE,MAAM,CAAC;IAUrB;;;OAGG;IACH,
|
|
1
|
+
{"version":3,"file":"affix.d.ts","sourceRoot":"","sources":["affix.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,WAAW,SAAS;IACzB;;;;;;;;;;OAUG;IACH,YAAY,EAAE,MAAM,CAAC;IAUrB;;;OAGG;IACH,SAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;;;OAIG;IACH,WAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC;;;;OAIG;IACH,gBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC;;;;;;;;;;;;OAYG;IACH,oCAAqC,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC5D;AAED;;;;;;GAMG;AACH,MAAM,WAAW,SAAS;IACzB;;;;;OAKG;IACH,QAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;;;;OAKG;IACH,UAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;;;;OAKG;IACH,SAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;;;OAIG;IACH,WAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC;;;;OAIG;IACH,gBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAC9B;;;OAGG;IACH,QAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B;AAED;;GAEG;AACH,oBAAY,UAAU;IACrB,KAAK,IAAA;IACL,UAAU,IAAA;IACV,gBAAgB,IAAA;IAChB,YAAY,IAAA;IACZ,OAAO,IAAA;IACP,mBAAmB,IAAA;IACnB,eAAe,IAAA;IACf,YAAY,IAAA;IACZ,UAAU,IAAA;IACV,eAAe,IAAA;IACf,qBAAqB,KAAA;IACrB,iBAAiB,KAAA;IACjB,SAAS,KAAA;IACT,cAAc,KAAA;IACd,qBAAqB,KAAA;IACrB,iBAAiB,KAAA;IACjB,MAAM,KAAA;IACN,aAAa,KAAA;IACb,kBAAkB,KAAA;IAClB,wBAAwB,KAAA;IACxB,oBAAoB,KAAA;IACpB,YAAY,KAAA;CACZ"}
|
package/src/public/affix.ts
CHANGED
|
@@ -26,24 +26,24 @@ export interface HtmlAffix {
|
|
|
26
26
|
// * Base URL accepts file paths as well as URLs. If no BaseUrl is given,
|
|
27
27
|
// * the HtmlHeaderFooter BaseUrl will be inherited from the main HTML document where possible.
|
|
28
28
|
// */
|
|
29
|
-
// baseUrl?: string; //not supported
|
|
29
|
+
// baseUrl ?: string | undefined; //not supported
|
|
30
30
|
/**
|
|
31
31
|
* Maximum Height of the HTML Header / Footer in millimeters. This value must be set sufficiently high to display the
|
|
32
32
|
* full HTML header / footer content.
|
|
33
33
|
*/
|
|
34
|
-
maxHeight?: number;
|
|
34
|
+
maxHeight ?: number | undefined;
|
|
35
35
|
/**
|
|
36
36
|
* Adds a horizontal line divider between the header / footer and the page content on every page of the PDF document.
|
|
37
37
|
*
|
|
38
38
|
* @default false
|
|
39
39
|
*/
|
|
40
|
-
dividerLine?: boolean;
|
|
40
|
+
dividerLine ?: boolean | undefined;
|
|
41
41
|
/**
|
|
42
42
|
* A html color code for divider line color see {@link dividerLine}
|
|
43
43
|
*
|
|
44
44
|
* @default #b1b1b1
|
|
45
45
|
*/
|
|
46
|
-
dividerLineColor?: string;
|
|
46
|
+
dividerLineColor ?: string | undefined;
|
|
47
47
|
/**
|
|
48
48
|
* Loads style code blocks and links to CSS style sheets from the main HTML document (which provides the PDF content) into the {@link HtmlAffix}.
|
|
49
49
|
*
|
|
@@ -57,7 +57,7 @@ export interface HtmlAffix {
|
|
|
57
57
|
*
|
|
58
58
|
* @default false
|
|
59
59
|
*/
|
|
60
|
-
loadStylesAndCSSFromMainHtmlDocument?: boolean;
|
|
60
|
+
loadStylesAndCSSFromMainHtmlDocument ?: boolean | undefined;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
/**
|
|
@@ -74,42 +74,42 @@ export interface TextAffix {
|
|
|
74
74
|
* Merge meta-data into your header using any of these placeholder strings:
|
|
75
75
|
* {page} {total-pages} {url} {date} {time} {html-title} {pdf-title}
|
|
76
76
|
*/
|
|
77
|
-
leftText?: string;
|
|
77
|
+
leftText ?: string | undefined;
|
|
78
78
|
/**
|
|
79
79
|
* Sets the centered header text for the PDF document.
|
|
80
80
|
*
|
|
81
81
|
* Merge meta-data into your header using any of these placeholder strings:
|
|
82
82
|
* {page} {total-pages} {url} {date} {time} {html-title} {pdf-title}
|
|
83
83
|
*/
|
|
84
|
-
centerText?: string;
|
|
84
|
+
centerText ?: string | undefined;
|
|
85
85
|
/**
|
|
86
86
|
* Sets the right-hand side header text for the PDF document.
|
|
87
87
|
*
|
|
88
88
|
* Merge meta-data into your header using any of these placeholder strings:
|
|
89
89
|
* {page} {total-pages} {url} {date} {time} {html-title} {pdf-title}
|
|
90
90
|
*/
|
|
91
|
-
rightText?: string;
|
|
91
|
+
rightText ?: string | undefined;
|
|
92
92
|
/**
|
|
93
93
|
* Adds a horizontal line divider between the header / footer and the page content on every page of the PDF document.
|
|
94
94
|
*
|
|
95
95
|
* @default false
|
|
96
96
|
*/
|
|
97
|
-
dividerLine?: boolean;
|
|
97
|
+
dividerLine ?: boolean | undefined;
|
|
98
98
|
/**
|
|
99
99
|
* A html color code for divider line color see {@link dividerLine}
|
|
100
100
|
*
|
|
101
101
|
* @default #b1b1b1
|
|
102
102
|
*/
|
|
103
|
-
dividerLineColor?: string;
|
|
103
|
+
dividerLineColor ?: string | undefined;
|
|
104
104
|
/**
|
|
105
105
|
* Font family. Default is {@link AffixFonts.Arial}.
|
|
106
106
|
*/
|
|
107
|
-
font?: AffixFonts;
|
|
107
|
+
font?: AffixFonts | undefined;
|
|
108
108
|
/**
|
|
109
109
|
* Font size in px.
|
|
110
110
|
* @default 10
|
|
111
111
|
*/
|
|
112
|
-
fontSize?: number;
|
|
112
|
+
fontSize ?: number | undefined;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
/**
|
|
@@ -26,7 +26,7 @@ export interface IronPdfConfig {
|
|
|
26
26
|
* An address of IronPdf subprocess.
|
|
27
27
|
* @default 127.0.0.1:33350
|
|
28
28
|
*/
|
|
29
|
-
ironPdfEngineAddress?: string;
|
|
29
|
+
ironPdfEngineAddress?: string | undefined;
|
|
30
30
|
/**
|
|
31
31
|
* An address of IronPdfEngine Docker.
|
|
32
32
|
*
|
|
@@ -36,7 +36,7 @@ export interface IronPdfConfig {
|
|
|
36
36
|
*
|
|
37
37
|
* @default undefined
|
|
38
38
|
*/
|
|
39
|
-
ironPdfEngineDockerAddress?: string;
|
|
39
|
+
ironPdfEngineDockerAddress?: string | undefined;
|
|
40
40
|
/**
|
|
41
41
|
* Enable debug mode
|
|
42
42
|
*
|
|
@@ -44,7 +44,7 @@ export interface IronPdfConfig {
|
|
|
44
44
|
*
|
|
45
45
|
* @default false
|
|
46
46
|
*/
|
|
47
|
-
debugMode?: boolean;
|
|
47
|
+
debugMode?: boolean | undefined;
|
|
48
48
|
/**
|
|
49
49
|
* Removes watermarks. Get licensed at https://ironpdf.com/nodejs/licensing.
|
|
50
50
|
*
|
|
@@ -58,27 +58,27 @@ export interface IronPdfConfig {
|
|
|
58
58
|
*
|
|
59
59
|
* @default undefined
|
|
60
60
|
*/
|
|
61
|
-
licenseKey?: string;
|
|
61
|
+
licenseKey?: string | undefined;
|
|
62
62
|
/**
|
|
63
63
|
* SingleProcess mode Forces Chrome renderer to perform everything in the current process, rather than using subprocesses (default true for macOS, false for other OS)
|
|
64
64
|
* @default false
|
|
65
65
|
*/
|
|
66
|
-
singleProcess?: boolean;
|
|
66
|
+
singleProcess?: boolean | undefined;
|
|
67
67
|
/**
|
|
68
68
|
* Set Maximum number of concurrent browsers when using the Chrome renderer
|
|
69
69
|
* @default 30
|
|
70
70
|
*/
|
|
71
|
-
chromeBrowserLimit?: number;
|
|
71
|
+
chromeBrowserLimit?: number | undefined;
|
|
72
72
|
/**
|
|
73
73
|
* Disk cache path for Chrome browser instances
|
|
74
74
|
* @default undefined
|
|
75
75
|
*/
|
|
76
|
-
chromeBrowserCachePath?: string;
|
|
76
|
+
chromeBrowserCachePath?: string | undefined;
|
|
77
77
|
/**
|
|
78
78
|
* Chrome renderer GPU compatibility mode. In special environment like Docker or Cloud Service please use ChromeGpuModes "Disabled"
|
|
79
79
|
* @default {@link ChromeGpuModes.Disabled}
|
|
80
80
|
*/
|
|
81
|
-
chromeGpuMode?: ChromeGpuModes;
|
|
81
|
+
chromeGpuMode?: ChromeGpuModes | undefined;
|
|
82
82
|
/**
|
|
83
83
|
* If true The necessary package dependencies for IronPDF rendering will we automatically installed to
|
|
84
84
|
* Docker and Debian / Ubuntu Linux deployments.
|
|
@@ -87,6 +87,6 @@ export interface IronPdfConfig {
|
|
|
87
87
|
* <a href="https://ironpdf.com/docs/questions/docker-linux/">more info</a>
|
|
88
88
|
* @default true
|
|
89
89
|
*/
|
|
90
|
-
autoInstallDependency?: boolean;
|
|
90
|
+
autoInstallDependency?: boolean | undefined;
|
|
91
91
|
}
|
|
92
92
|
//# sourceMappingURL=ironpdfglobalconfig.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ironpdfglobalconfig.d.ts","sourceRoot":"","sources":["ironpdfglobalconfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,SAAS,CAAC;AAEvC;;;;GAIG;AACH,qBAAa,mBAAmB;IAC/B,OAAO,CAAC,MAAM,CAAC,SAAS,CAAsB;IAE9C,OAAO,CAAC,MAAM,CAAC,OAAO,CAKpB;IACF,OAAO;WASO,WAAW;IAIzB;;;;OAIG;WACW,SAAS,CAAC,aAAa,EAAE,aAAa;WAiBtC,SAAS,IAAI,aAAa;IAIxC,OAAc,oBAAoB,EAAE,MAAM,CAEU;CACpD;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC7B;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"ironpdfglobalconfig.d.ts","sourceRoot":"","sources":["ironpdfglobalconfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,SAAS,CAAC;AAEvC;;;;GAIG;AACH,qBAAa,mBAAmB;IAC/B,OAAO,CAAC,MAAM,CAAC,SAAS,CAAsB;IAE9C,OAAO,CAAC,MAAM,CAAC,OAAO,CAKpB;IACF,OAAO;WASO,WAAW;IAIzB;;;;OAIG;WACW,SAAS,CAAC,aAAa,EAAE,aAAa;WAiBtC,SAAS,IAAI,aAAa;IAIxC,OAAc,oBAAoB,EAAE,MAAM,CAEU;CACpD;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC7B;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C;;;;;;;;OAQG;IACH,0BAA0B,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChD;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC;;;;;;;;;;;;OAYG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACpC;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC;;;OAGG;IACH,sBAAsB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5C;;;OAGG;IACH,aAAa,CAAC,EAAC,cAAc,GAAG,SAAS,CAAC;IAC1C;;;;;;;OAOG;IACH,qBAAqB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC5C"}
|
|
@@ -66,7 +66,7 @@ export interface IronPdfConfig {
|
|
|
66
66
|
* An address of IronPdf subprocess.
|
|
67
67
|
* @default 127.0.0.1:33350
|
|
68
68
|
*/
|
|
69
|
-
ironPdfEngineAddress?: string;
|
|
69
|
+
ironPdfEngineAddress?: string | undefined;
|
|
70
70
|
/**
|
|
71
71
|
* An address of IronPdfEngine Docker.
|
|
72
72
|
*
|
|
@@ -76,7 +76,7 @@ export interface IronPdfConfig {
|
|
|
76
76
|
*
|
|
77
77
|
* @default undefined
|
|
78
78
|
*/
|
|
79
|
-
ironPdfEngineDockerAddress?: string;
|
|
79
|
+
ironPdfEngineDockerAddress?: string | undefined;
|
|
80
80
|
/**
|
|
81
81
|
* Enable debug mode
|
|
82
82
|
*
|
|
@@ -84,7 +84,7 @@ export interface IronPdfConfig {
|
|
|
84
84
|
*
|
|
85
85
|
* @default false
|
|
86
86
|
*/
|
|
87
|
-
debugMode?: boolean;
|
|
87
|
+
debugMode?: boolean | undefined;
|
|
88
88
|
/**
|
|
89
89
|
* Removes watermarks. Get licensed at https://ironpdf.com/nodejs/licensing.
|
|
90
90
|
*
|
|
@@ -98,27 +98,27 @@ export interface IronPdfConfig {
|
|
|
98
98
|
*
|
|
99
99
|
* @default undefined
|
|
100
100
|
*/
|
|
101
|
-
licenseKey?: string;
|
|
101
|
+
licenseKey?: string | undefined;
|
|
102
102
|
/**
|
|
103
103
|
* SingleProcess mode Forces Chrome renderer to perform everything in the current process, rather than using subprocesses (default true for macOS, false for other OS)
|
|
104
104
|
* @default false
|
|
105
105
|
*/
|
|
106
|
-
singleProcess?: boolean;
|
|
106
|
+
singleProcess?: boolean | undefined;
|
|
107
107
|
/**
|
|
108
108
|
* Set Maximum number of concurrent browsers when using the Chrome renderer
|
|
109
109
|
* @default 30
|
|
110
110
|
*/
|
|
111
|
-
chromeBrowserLimit?: number;
|
|
111
|
+
chromeBrowserLimit?: number | undefined;
|
|
112
112
|
/**
|
|
113
113
|
* Disk cache path for Chrome browser instances
|
|
114
114
|
* @default undefined
|
|
115
115
|
*/
|
|
116
|
-
chromeBrowserCachePath?: string;
|
|
116
|
+
chromeBrowserCachePath?: string | undefined;
|
|
117
117
|
/**
|
|
118
118
|
* Chrome renderer GPU compatibility mode. In special environment like Docker or Cloud Service please use ChromeGpuModes "Disabled"
|
|
119
119
|
* @default {@link ChromeGpuModes.Disabled}
|
|
120
120
|
*/
|
|
121
|
-
chromeGpuMode?:ChromeGpuModes;
|
|
121
|
+
chromeGpuMode?:ChromeGpuModes | undefined;
|
|
122
122
|
/**
|
|
123
123
|
* If true The necessary package dependencies for IronPDF rendering will we automatically installed to
|
|
124
124
|
* Docker and Debian / Ubuntu Linux deployments.
|
|
@@ -127,5 +127,5 @@ export interface IronPdfConfig {
|
|
|
127
127
|
* <a href="https://ironpdf.com/docs/questions/docker-linux/">more info</a>
|
|
128
128
|
* @default true
|
|
129
129
|
*/
|
|
130
|
-
autoInstallDependency?: boolean;
|
|
130
|
+
autoInstallDependency?: boolean | undefined;
|
|
131
131
|
}
|
|
@@ -19,34 +19,34 @@ export declare class PdfDocument {
|
|
|
19
19
|
* required for open a protected PDF file
|
|
20
20
|
* @default undefined
|
|
21
21
|
*/
|
|
22
|
-
password?: PdfPassword;
|
|
22
|
+
password?: PdfPassword | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* Apply renderOptions if PdfInput is a {@link HtmlString} or {@link HtmlFilePath} or {@link ZipFilePath} or {@link Url}}
|
|
25
25
|
* @default undefined
|
|
26
26
|
*/
|
|
27
|
-
renderOptions?: ChromePdfRenderOptions;
|
|
27
|
+
renderOptions?: ChromePdfRenderOptions | undefined;
|
|
28
28
|
/**
|
|
29
29
|
* Apply httpLoginCredentials if PdfInput is a {@link HtmlString} or {@link HtmlFilePath} or {@link ZipFilePath} or {@link Url}}
|
|
30
30
|
* @default undefined
|
|
31
31
|
*/
|
|
32
|
-
httpLoginCredentials?: HttpLoginCredentials;
|
|
32
|
+
httpLoginCredentials?: HttpLoginCredentials | undefined;
|
|
33
33
|
/**
|
|
34
34
|
* Apply mainHtmlFile if PdfInput is {@link ZipFilePath}
|
|
35
35
|
* @default index.html
|
|
36
36
|
*/
|
|
37
|
-
mainHtmlFile?: string;
|
|
37
|
+
mainHtmlFile?: string | undefined;
|
|
38
38
|
/**
|
|
39
39
|
* Optionally track changes to the document (for use with incremental saves)
|
|
40
40
|
* @default {@link ChangeTrackingModes.AutoChangeTracking}
|
|
41
41
|
*/
|
|
42
|
-
trackChanges?: ChangeTrackingModes;
|
|
43
|
-
}): Promise<PdfDocument>;
|
|
42
|
+
trackChanges?: ChangeTrackingModes | undefined;
|
|
43
|
+
} | undefined): Promise<PdfDocument>;
|
|
44
44
|
/**
|
|
45
45
|
* Open a PdfDocument from .pdf file
|
|
46
46
|
* @param pdfFilePath A path to .pdf file
|
|
47
47
|
* @param Optionally track changes to the document (for use with incremental saves)
|
|
48
48
|
*/
|
|
49
|
-
static fromFile(pdfFilePath: string, trackChanges?: ChangeTrackingModes): Promise<PdfDocument>;
|
|
49
|
+
static fromFile(pdfFilePath: string, trackChanges?: ChangeTrackingModes | undefined): Promise<PdfDocument>;
|
|
50
50
|
/**
|
|
51
51
|
* Create a PdfDocument from an Url
|
|
52
52
|
* @param url A website Url
|
|
@@ -57,8 +57,8 @@ export declare class PdfDocument {
|
|
|
57
57
|
* Apply renderOptions if PdfInput is a {@link HtmlString} or {@link HtmlFilePath} or {@link ZipFilePath} or {@link Url}}
|
|
58
58
|
* @default undefined
|
|
59
59
|
*/
|
|
60
|
-
renderOptions?: ChromePdfRenderOptions;
|
|
61
|
-
}): Promise<PdfDocument>;
|
|
60
|
+
renderOptions?: ChromePdfRenderOptions | undefined;
|
|
61
|
+
} | undefined): Promise<PdfDocument>;
|
|
62
62
|
/**
|
|
63
63
|
* Creates a PDF file from a local Zip file, and returns it as a {@link PdfDocument}.
|
|
64
64
|
* IronPDF is a W3C standards compliant HTML rendering based on Google's Chromium browser.
|
|
@@ -78,12 +78,12 @@ export declare class PdfDocument {
|
|
|
78
78
|
* Apply renderOptions if PdfInput is a {@link HtmlString} or {@link HtmlFilePath} or {@link ZipFilePath} or {@link Url}}
|
|
79
79
|
* @default undefined
|
|
80
80
|
*/
|
|
81
|
-
renderOptions?: ChromePdfRenderOptions;
|
|
81
|
+
renderOptions?: ChromePdfRenderOptions | undefined;
|
|
82
82
|
/**
|
|
83
83
|
* a main .html file default: `index.html`
|
|
84
84
|
*/
|
|
85
|
-
mainHtmlFile?: string;
|
|
86
|
-
}): Promise<PdfDocument>;
|
|
85
|
+
mainHtmlFile?: string | undefined;
|
|
86
|
+
} | undefined): Promise<PdfDocument>;
|
|
87
87
|
/**
|
|
88
88
|
* Creates a PDF file from a Html string, and returns it as an {@link PdfDocument} object which can be edited and saved to disk or served on a website.
|
|
89
89
|
* @param htmlStringOrHtmlFilePath The Html to be rendered as a PDF.
|
|
@@ -94,8 +94,8 @@ export declare class PdfDocument {
|
|
|
94
94
|
* Apply renderOptions if PdfInput is a {@link HtmlString} or {@link HtmlFilePath} or {@link ZipFilePath} or {@link Url}}
|
|
95
95
|
* @default undefined
|
|
96
96
|
*/
|
|
97
|
-
renderOptions?: ChromePdfRenderOptions;
|
|
98
|
-
}): Promise<PdfDocument>;
|
|
97
|
+
renderOptions?: ChromePdfRenderOptions | undefined;
|
|
98
|
+
} | undefined): Promise<PdfDocument>;
|
|
99
99
|
/**
|
|
100
100
|
* Converts multiple image files to a PDF document. Each image creates 1 page which matches the image
|
|
101
101
|
* dimensions. The default PaperSize is A4. You can set it via ImageToPdfConverter.PaperSize.
|
|
@@ -108,7 +108,7 @@ export declare class PdfDocument {
|
|
|
108
108
|
* Apply renderOptions if PdfInput is a {@link HtmlString} or {@link HtmlFilePath} or {@link ZipFilePath} or {@link Url}}
|
|
109
109
|
* @default undefined
|
|
110
110
|
*/
|
|
111
|
-
imageToPdfOptions?: ImageToPdfOptions;
|
|
111
|
+
imageToPdfOptions?: ImageToPdfOptions | undefined;
|
|
112
112
|
}): Promise<PdfDocument>;
|
|
113
113
|
/**
|
|
114
114
|
* Static method that joins (concatenates) multiple PDF documents together into one compiled PDF document.
|
|
@@ -121,12 +121,12 @@ export declare class PdfDocument {
|
|
|
121
121
|
* @param filePath Target file path
|
|
122
122
|
* @param saveOptions see {@link SaveOptions}
|
|
123
123
|
*/
|
|
124
|
-
saveAs(filePath: string, saveOptions?: SaveOptions): Promise<void>;
|
|
124
|
+
saveAs(filePath: string, saveOptions?: SaveOptions | undefined): Promise<void>;
|
|
125
125
|
/**
|
|
126
126
|
* Saves the PdfDocument to a binary (Buffer)
|
|
127
127
|
* @param saveOptions see {@link SaveOptions}
|
|
128
128
|
*/
|
|
129
|
-
saveAsBuffer(saveOptions?: SaveOptions): Promise<Buffer>;
|
|
129
|
+
saveAsBuffer(saveOptions?: SaveOptions | undefined): Promise<Buffer>;
|
|
130
130
|
/**
|
|
131
131
|
* Compress existing PDF images using JPG encoding and the specified settings
|
|
132
132
|
* @param imageQuality Quality (1 - 100) to use during compression
|
|
@@ -156,8 +156,8 @@ export declare class PdfDocument {
|
|
|
156
156
|
/**
|
|
157
157
|
* @default "all"
|
|
158
158
|
*/
|
|
159
|
-
pdfPageSelection?: PdfPageSelection;
|
|
160
|
-
}): Promise<void>;
|
|
159
|
+
pdfPageSelection?: PdfPageSelection | undefined;
|
|
160
|
+
} | undefined): Promise<void>;
|
|
161
161
|
/**
|
|
162
162
|
* Resize a page to the specified dimensions
|
|
163
163
|
* @param newSize {@link PdfPaperSize}
|
|
@@ -167,8 +167,8 @@ export declare class PdfDocument {
|
|
|
167
167
|
/**
|
|
168
168
|
* @default "all"
|
|
169
169
|
*/
|
|
170
|
-
pdfPageSelection?: PdfPageSelection;
|
|
171
|
-
}): Promise<void>;
|
|
170
|
+
pdfPageSelection?: PdfPageSelection | undefined;
|
|
171
|
+
} | undefined): Promise<void>;
|
|
172
172
|
/**
|
|
173
173
|
* Adds another PDF to the beginning of the current PdfDocument
|
|
174
174
|
* If AnotherPdfFile contains form fields, those fields will be appended with '_' in the resulting PDF. e.g. 'Name' will be 'Name_'
|
|
@@ -207,7 +207,7 @@ export declare class PdfDocument {
|
|
|
207
207
|
* @default "all"
|
|
208
208
|
*/
|
|
209
209
|
fromPages?: PdfPageSelection;
|
|
210
|
-
}): Promise<Buffer[]>;
|
|
210
|
+
} | undefined): Promise<Buffer[]>;
|
|
211
211
|
/**
|
|
212
212
|
* Renders the PDF and exports image Files in convenient formats. 1 image file is created for each
|
|
213
213
|
* page.
|
|
@@ -220,12 +220,12 @@ export declare class PdfDocument {
|
|
|
220
220
|
/**
|
|
221
221
|
* @default "all"
|
|
222
222
|
*/
|
|
223
|
-
fromPages?: PdfPageSelection;
|
|
223
|
+
fromPages?: PdfPageSelection | undefined;
|
|
224
224
|
/**
|
|
225
225
|
* @default {@link ImageType.PNG}
|
|
226
226
|
*/
|
|
227
|
-
imageType?: ImageType;
|
|
228
|
-
}): Promise<Buffer[]>;
|
|
227
|
+
imageType?: ImageType | undefined;
|
|
228
|
+
} | undefined): Promise<Buffer[]>;
|
|
229
229
|
/**
|
|
230
230
|
* Renders the PDF and exports image Files in convenient formats. 1 image file is created for each
|
|
231
231
|
* page. Running number will append output file path.
|
|
@@ -239,25 +239,25 @@ export declare class PdfDocument {
|
|
|
239
239
|
/**
|
|
240
240
|
* @default "all"
|
|
241
241
|
*/
|
|
242
|
-
fromPages?: PdfPageSelection;
|
|
242
|
+
fromPages?: PdfPageSelection | undefined;
|
|
243
243
|
/**
|
|
244
244
|
* @default {@link ImageType.PNG}
|
|
245
245
|
*/
|
|
246
|
-
type?: ImageType;
|
|
247
|
-
}): Promise<string[]>;
|
|
246
|
+
type?: ImageType | undefined;
|
|
247
|
+
} | undefined): Promise<string[]>;
|
|
248
248
|
/**
|
|
249
249
|
* Replace the specified old text with new text on a given page
|
|
250
250
|
* @param oldText Old text to remove
|
|
251
251
|
* @param newText New text to add
|
|
252
252
|
* @param onPages Page index to search for old text to replace (default "all")
|
|
253
253
|
*/
|
|
254
|
-
replaceText(oldText: string, newText: string, onPages?: PdfPageSelection): Promise<void>;
|
|
255
|
-
extractText(onPages?: PdfPageSelection): Promise<string>;
|
|
254
|
+
replaceText(oldText: string, newText: string, onPages?: PdfPageSelection | undefined): Promise<void>;
|
|
255
|
+
extractText(onPages?: PdfPageSelection | undefined): Promise<string>;
|
|
256
256
|
/**
|
|
257
257
|
* Convert the current document into the specified PDF-A standard format
|
|
258
258
|
* @param customICC (Optional) Custom color profile file path
|
|
259
259
|
*/
|
|
260
|
-
convertToPdfA(customICC?: string): Promise<void>;
|
|
260
|
+
convertToPdfA(customICC?: string | undefined): Promise<void>;
|
|
261
261
|
/**
|
|
262
262
|
* Convert the current document into the specified PDF/UA standard format
|
|
263
263
|
*/
|
|
@@ -304,52 +304,52 @@ export declare class PdfDocument {
|
|
|
304
304
|
* @param header {@link TextAffix}
|
|
305
305
|
* @param toPages {@link PdfPageSelection}
|
|
306
306
|
*/
|
|
307
|
-
addTextHeader(header: TextAffix, toPages?: PdfPageSelection): Promise<void>;
|
|
307
|
+
addTextHeader(header: TextAffix, toPages?: PdfPageSelection | undefined): Promise<void>;
|
|
308
308
|
/**
|
|
309
309
|
* Apply page footer on top of an existing Pdf.
|
|
310
310
|
* @param footer {@link TextAffix}
|
|
311
311
|
* @param toPages {@link PdfPageSelection}
|
|
312
312
|
*/
|
|
313
|
-
addTextFooter(footer: TextAffix, toPages?: PdfPageSelection): Promise<void>;
|
|
313
|
+
addTextFooter(footer: TextAffix, toPages?: PdfPageSelection | undefined): Promise<void>;
|
|
314
314
|
/**
|
|
315
315
|
* Apply HTML header on top of an existing Pdf.
|
|
316
316
|
* @param header {@link HtmlAffix}
|
|
317
317
|
* @param toPages {@link PdfPageSelection}
|
|
318
318
|
*/
|
|
319
|
-
addHtmlHeader(header: HtmlAffix, toPages?: PdfPageSelection): Promise<void>;
|
|
319
|
+
addHtmlHeader(header: HtmlAffix, toPages?: PdfPageSelection | undefined): Promise<void>;
|
|
320
320
|
/**
|
|
321
321
|
* Apply HTML footer on top of an existing Pdf.
|
|
322
322
|
* @param footer {@link HtmlAffix}
|
|
323
323
|
* @param toPages {@link PdfPageSelection}
|
|
324
324
|
*/
|
|
325
|
-
addHtmlFooter(footer: HtmlAffix, toPages?: PdfPageSelection): Promise<void>;
|
|
325
|
+
addHtmlFooter(footer: HtmlAffix, toPages?: PdfPageSelection | undefined): Promise<void>;
|
|
326
326
|
/**
|
|
327
327
|
* Edits the PDF by applying the HTML's rendered to only selected page(s).
|
|
328
328
|
* @param htmlStringOrHtmlFilePath
|
|
329
329
|
* @param options including {@link HtmlStampOptions} {@link PdfPageSelection}
|
|
330
330
|
*/
|
|
331
331
|
stampHtml(htmlStringOrHtmlFilePath: HtmlFilePath | HtmlString, options?: {
|
|
332
|
-
htmlStampOptions?: HtmlStampOptions;
|
|
333
|
-
toPages?: PdfPageSelection;
|
|
334
|
-
}): Promise<void>;
|
|
332
|
+
htmlStampOptions?: HtmlStampOptions | undefined;
|
|
333
|
+
toPages?: PdfPageSelection | undefined;
|
|
334
|
+
} | undefined): Promise<void>;
|
|
335
335
|
/**
|
|
336
336
|
* Edits the PDF by applying the image to only selected page(s).
|
|
337
337
|
* @param image image file path or image buffer
|
|
338
338
|
* @param options including {@link ImageStampOptions} {@link PdfPageSelection}
|
|
339
339
|
*/
|
|
340
340
|
stampImage(image: ImageFilePath | ImageBuffer, options?: {
|
|
341
|
-
imageStampOptions?: ImageStampOptions;
|
|
342
|
-
toPages?: PdfPageSelection;
|
|
343
|
-
}): Promise<void>;
|
|
341
|
+
imageStampOptions?: ImageStampOptions | undefined;
|
|
342
|
+
toPages?: PdfPageSelection | undefined;
|
|
343
|
+
} | undefined): Promise<void>;
|
|
344
344
|
/**
|
|
345
345
|
* Edits the PDF by applying the text to only selected page(s).
|
|
346
346
|
* @param text text to stamp
|
|
347
347
|
* @param options including {@link TextStampOptions} {@link PdfPageSelection}
|
|
348
348
|
*/
|
|
349
349
|
stampText(text: string, options?: {
|
|
350
|
-
textStampOptions?: TextStampOptions;
|
|
351
|
-
toPages?: PdfPageSelection;
|
|
352
|
-
}): Promise<void>;
|
|
350
|
+
textStampOptions?: TextStampOptions | undefined;
|
|
351
|
+
toPages?: PdfPageSelection | undefined;
|
|
352
|
+
} | undefined): Promise<void>;
|
|
353
353
|
/**
|
|
354
354
|
* Edits the PDF by applying the barcode to only selected page(s).
|
|
355
355
|
* @param barcodeValue barcode
|
|
@@ -357,9 +357,9 @@ export declare class PdfDocument {
|
|
|
357
357
|
*/
|
|
358
358
|
stampBarcode(barcodeValue: string, options?: {
|
|
359
359
|
barcodeEncoding: BarcodeType;
|
|
360
|
-
barcodeStampOptions?: BarcodeStampOptions;
|
|
361
|
-
toPages?: PdfPageSelection;
|
|
362
|
-
}): Promise<void>;
|
|
360
|
+
barcodeStampOptions?: BarcodeStampOptions | undefined;
|
|
361
|
+
toPages?: PdfPageSelection | undefined;
|
|
362
|
+
} | undefined): Promise<void>;
|
|
363
363
|
/**
|
|
364
364
|
* Adds a background to each page of this PDF. The background is copied from a first page in the
|
|
365
365
|
* backgroundPdf document.
|
|
@@ -368,7 +368,7 @@ export declare class PdfDocument {
|
|
|
368
368
|
* @param sourcePageIndex Index (zero-based page number) of the page to copy from the Background/Foreground PDF. Default is 0.
|
|
369
369
|
* @param applyToPages PageSelection to which the background/foreground will be added. Default is "all"
|
|
370
370
|
*/
|
|
371
|
-
addBackgroundFromAnotherPdf(fromPdf: PdfDocument, sourcePageIndex?: number, applyToPages?: PdfPageSelection): Promise<void>;
|
|
371
|
+
addBackgroundFromAnotherPdf(fromPdf: PdfDocument, sourcePageIndex?: number, applyToPages?: PdfPageSelection | undefined): Promise<void>;
|
|
372
372
|
/**
|
|
373
373
|
* Adds a foreground to each page of this PDF. The background is copied from a first page in the
|
|
374
374
|
* backgroundPdf document.
|
|
@@ -377,7 +377,7 @@ export declare class PdfDocument {
|
|
|
377
377
|
* @param sourcePageIndex Index (zero-based page number) of the page to copy from the Background/Foreground PDF. Default is 0.
|
|
378
378
|
* @param applyToPages PageSelection to which the background/foreground will be added. Default is "all"
|
|
379
379
|
*/
|
|
380
|
-
addForegroundFromAnotherPdf(fromPdf: PdfDocument, sourcePageIndex?: number, applyToPages?: PdfPageSelection): Promise<void>;
|
|
380
|
+
addForegroundFromAnotherPdf(fromPdf: PdfDocument, sourcePageIndex?: number, applyToPages?: PdfPageSelection | undefined): Promise<void>;
|
|
381
381
|
/**
|
|
382
382
|
* Removes all user and owner password security for a PDF document. Also disables content
|
|
383
383
|
* encryption.
|
|
@@ -437,11 +437,11 @@ export declare class PdfDocument {
|
|
|
437
437
|
* Create a PdfDocument object from a {@link PdfInput}
|
|
438
438
|
* For more specific way to create/open PdfDocument see {@link fromUrl} {@link fromZip} {@link fromHtml} {@link fromImage} {@link open}
|
|
439
439
|
*
|
|
440
|
-
* @param pdfInput see {@link PdfInput} (required)
|
|
441
|
-
* @param password a password to open the PDF required if PDF file was private
|
|
440
|
+
* @param pdfInput see {@link PdfInput} (required) (pdfInput is {@link PdfFilePath} or {@link Buffer})
|
|
441
|
+
* @param password a password to open the PDF required if PDF file was private.
|
|
442
442
|
* @param trackChanges Optionally track changes to the document (for use with incremental saves)
|
|
443
443
|
*/
|
|
444
|
-
constructor(pdfInput?: PdfInput, password?: PdfPassword, trackChanges?: ChangeTrackingModes);
|
|
444
|
+
constructor(pdfInput?: PdfInput | undefined, password?: PdfPassword | undefined, trackChanges?: ChangeTrackingModes | undefined);
|
|
445
445
|
/**
|
|
446
446
|
* Dispose this PdfDocument object (clean up the resource)
|
|
447
447
|
* This is necessary to free the memory used by PdfDocument. See {@link cleanUp}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pdfDocument.d.ts","sourceRoot":"","sources":["pdfDocument.ts"],"names":[],"mappings":";;AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;AAC9B,OAAO,EACN,mBAAmB,EACnB,WAAW,EAAE,mBAAmB,EAChC,sBAAsB,EACtB,gBAAgB,EAChB,SAAS,EACT,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACV,oBAAoB,EACpB,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EACjB,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,gBAAgB,EAChB,YAAY,EACZ,WAAW,EAAE,aAAa,EAC1B,WAAW,EACX,SAAS,EACT,gBAAgB,EAChB,MAAM,SAAS,CAAC;AAiEjB,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD;;;;GAIG;AACH,qBAAa,WAAW;IAIvB;;;;OAIG;WACiB,IAAI,CACvB,QAAQ,EAAE,QAAQ,EAClB,OAAO,CAAC,EAAE;QACT;;;WAGG;QACH,QAAQ,CAAC,EAAE,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"pdfDocument.d.ts","sourceRoot":"","sources":["pdfDocument.ts"],"names":[],"mappings":";;AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;AAC9B,OAAO,EACN,mBAAmB,EACnB,WAAW,EAAE,mBAAmB,EAChC,sBAAsB,EACtB,gBAAgB,EAChB,SAAS,EACT,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACV,oBAAoB,EACpB,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EACjB,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,gBAAgB,EAChB,YAAY,EACZ,WAAW,EAAE,aAAa,EAC1B,WAAW,EACX,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