#332 Compatability mode

This commit is contained in:
Dolan
2021-02-27 01:40:55 +00:00
parent 84f48446df
commit 10455a534f
8 changed files with 108 additions and 37 deletions

View File

@ -86,7 +86,9 @@ export class File {
this.footNotes = new FootNotes();
this.contentTypes = new ContentTypes();
this.document = new Document({ background: options.background || {} });
this.settings = new Settings();
this.settings = new Settings({
compatabilityModeVersion: options.compatabilityModeVersion,
});
this.media = fileProperties.template && fileProperties.template.media ? fileProperties.template.media : new Media();