Add footer

This commit is contained in:
Dolan
2018-01-29 21:53:22 +00:00
parent 8b8c664f0f
commit 5e921f1dfc
13 changed files with 210 additions and 19 deletions

View File

@ -43,6 +43,7 @@ export class Compiler {
const xmlNumbering = xml(this.formatter.format(this.file.Numbering));
const xmlRelationships = xml(this.formatter.format(this.file.Relationships));
const xmlHeader = xml(this.formatter.format(this.file.Header));
const xmlFooter = xml(this.formatter.format(this.file.Footer));
this.archive.append(xmlDocument, {
name: "word/document.xml",
@ -64,6 +65,10 @@ export class Compiler {
name: "word/header1.xml",
});
this.archive.append(xmlFooter, {
name: "word/footer1.xml",
});
this.archive.append(xmlRelationships, {
name: "word/_rels/document.xml.rels",
});