Improuvments in headers and footers docs

This commit is contained in:
Sergio Mendonça
2018-11-09 10:37:36 -02:00
parent 8df78e45d9
commit 8ad5485347

View File

@ -37,8 +37,12 @@ Also all the supported section properties are implemented according to: http://o
// Add new section with another header and footer
doc.addSection({
headerId: header.Header.ReferenceId,
footerId: footer.Footer.ReferenceId,
headers: {
default: header
},
footers: {
default: footer
},
pageNumberStart: 1,
pageNumberFormatType: docx.PageNumberFormat.DECIMAL,
});