fix: relationship and content type for settings

This commit is contained in:
fmuscolino
2019-03-01 16:12:15 +01:00
parent 4580a65a84
commit db60270e1f
3 changed files with 30 additions and 4 deletions

View File

@ -324,6 +324,11 @@ export class File {
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes",
"footnotes.xml",
);
this.docRelationships.createRelationship(
this.currentRelationshipId++,
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings",
"settings.xml",
);
}
private groupHeaders(headers: IDocumentHeader[], group: IHeaderFooterGroup<HeaderWrapper> = {}): IHeaderFooterGroup<HeaderWrapper> {