Improuvments in headers and footers docs
This commit is contained in:
@ -37,8 +37,12 @@ Also all the supported section properties are implemented according to: http://o
|
|||||||
|
|
||||||
// Add new section with another header and footer
|
// Add new section with another header and footer
|
||||||
doc.addSection({
|
doc.addSection({
|
||||||
headerId: header.Header.ReferenceId,
|
headers: {
|
||||||
footerId: footer.Footer.ReferenceId,
|
default: header
|
||||||
|
},
|
||||||
|
footers: {
|
||||||
|
default: footer
|
||||||
|
},
|
||||||
pageNumberStart: 1,
|
pageNumberStart: 1,
|
||||||
pageNumberFormatType: docx.PageNumberFormat.DECIMAL,
|
pageNumberFormatType: docx.PageNumberFormat.DECIMAL,
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user