Revert "Revert "Add back relationships""

This reverts commit 52b07fd9cb.
This commit is contained in:
amitm02
2018-09-26 12:03:52 +03:00
parent 52b07fd9cb
commit 60dbb32e9e

View File

@ -249,6 +249,22 @@ export class File {
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",
"docProps/app.xml", "docProps/app.xml",
); );
this.docRelationships.createRelationship(
this.currentRelationshipId++,
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",
"styles.xml",
);
this.docRelationships.createRelationship(
this.currentRelationshipId++,
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering",
"numbering.xml",
);
this.docRelationships.createRelationship(
this.currentRelationshipId++,
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes",
"footnotes.xml",
);
} }
public get Document(): Document { public get Document(): Document {