Optional background property

This commit is contained in:
Dolan
2022-12-09 21:07:08 +00:00
parent 3ea453a07f
commit f789f60e22
2 changed files with 5 additions and 3 deletions

View File

@ -73,7 +73,7 @@ export class File {
this.appProperties = new AppProperties();
this.footnotesWrapper = new FootnotesWrapper();
this.contentTypes = new ContentTypes();
this.documentWrapper = new DocumentWrapper({ background: options.background || {} });
this.documentWrapper = new DocumentWrapper({ background: options.background });
this.settings = new Settings({
compatibilityModeVersion: options.compatabilityModeVersion,
compatibility: options.compatibility,