File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,11 @@ full fledged examples can be found under `example/`
83
83
- ` lang ` <?[ String] > language localization code for spell checker to work properly. Defaults to ` en-US ` .
84
84
- ` preProcessing ` <?[ Object] >
85
85
- ` skipHTMLMinify ` <?[ Boolean] > flag to skip minification of HTML. Defaults to ` false ` .
86
+ - ` hrStyles ` <?[ Object] >
87
+ - ` val ` <String > The border style (e.g., ` single ` , ` dashed ` ). Defaults to ` single ` .
88
+ - ` sz ` <Number > The size of the border. Defaults to ` 24 ` .
89
+ - ` space ` <Number > The space around border. Defaults to ` 1 ` .
90
+ - ` color ` <String > The color of the border. Defaults to ` 000000 ` .
86
91
- ` footerHTMLString ` <[ String] > clean html string equivalent of footer. Defaults to ` <p></p> ` if footer flag is ` true ` .
87
92
88
93
### Returns
Original file line number Diff line number Diff line change @@ -34,6 +34,12 @@ const defaultTableBorderAttributeOptions = {
34
34
size : 1 ,
35
35
stroke : 'single' ,
36
36
} ;
37
+ const defaultHorizontalRuleOptions = {
38
+ val : 'single' ,
39
+ sz : '24' ,
40
+ space : '1' ,
41
+ color : '000000' ,
42
+ } ;
37
43
const defaultDocumentOptions = {
38
44
orientation : defaultOrientation ,
39
45
margins : cloneDeep ( portraitMargins ) ,
@@ -124,6 +130,7 @@ export {
124
130
defaultDocumentOptions ,
125
131
defaultTableBorderOptions ,
126
132
defaultHTMLString ,
133
+ defaultHorizontalRuleOptions ,
127
134
relsFolderName ,
128
135
headerFileName ,
129
136
footerFileName ,
You can’t perform that action at this time.
0 commit comments