spartaxx.businessmodels 1.0.104 → 1.0.106
Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,11 @@
|
|
1
|
+
import { PuppeteerOptions } from "./PuppeteerOptions";
|
2
|
+
export interface GeneratePdfServiceParams {
|
3
|
+
HtmlTemplatePath?: string;
|
4
|
+
HtmlContent?: string;
|
5
|
+
OutputFileName?: string;
|
6
|
+
OutputFileSharedPath?: string;
|
7
|
+
OutputFileAppUrl?: string;
|
8
|
+
IsNeedBase64?: boolean;
|
9
|
+
Base64String?: string;
|
10
|
+
PuppeteerOptions?: PuppeteerOptions;
|
11
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
export interface PuppeteerOptions {
|
2
|
+
Format?: string;
|
3
|
+
Landscape?: boolean;
|
4
|
+
Width?: string;
|
5
|
+
Height?: string;
|
6
|
+
PuppeteerOptionsMargin?: PuppeteerOptionsMargin;
|
7
|
+
PrintBackground?: boolean;
|
8
|
+
HeaderTemplate?: string;
|
9
|
+
FooterTemplate?: string;
|
10
|
+
PageRanges?: string;
|
11
|
+
preferCSSPageSize?: boolean;
|
12
|
+
}
|
13
|
+
|
14
|
+
export interface PuppeteerOptionsMargin {
|
15
|
+
Top?: string;
|
16
|
+
Right?: string;
|
17
|
+
Bottom?: string;
|
18
|
+
Left?: string;
|
19
|
+
}
|
20
|
+
|