#613 #439 Even and odd headers

This commit is contained in:
Dolan
2021-03-16 00:57:27 +00:00
parent 8b2aa58198
commit 131183ae19
7 changed files with 143 additions and 11 deletions

View File

@ -86,6 +86,7 @@ export class File {
this.documentWrapper = new DocumentWrapper({ background: options.background || {} });
this.settings = new Settings({
compatabilityModeVersion: options.compatabilityModeVersion,
evenAndOddHeaders: options.evenAndOddHeaderAndFooters ? true : false,
});
this.media = fileProperties.template && fileProperties.template.media ? fileProperties.template.media : new Media();