From 60dbb32e9ee80af750be8dd8b177e550b60b1449 Mon Sep 17 00:00:00 2001 From: amitm02 Date: Wed, 26 Sep 2018 12:03:52 +0300 Subject: [PATCH] Revert "Revert "Add back relationships"" This reverts commit 52b07fd9cb00de1492941d33b6bba2396832eb17. --- src/file/file.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/file/file.ts b/src/file/file.ts index 57c42977a5..3bf43eb9d7 100644 --- a/src/file/file.ts +++ b/src/file/file.ts @@ -249,6 +249,22 @@ export class File { "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties", "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 {