Add header objects and demo

This commit is contained in:
Dolan
2018-01-29 02:56:35 +00:00
parent 079334f71b
commit 8b8c664f0f
9 changed files with 54 additions and 15 deletions

View File

@ -42,6 +42,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));
this.archive.append(xmlDocument, {
name: "word/document.xml",
@ -59,6 +60,10 @@ export class Compiler {
name: "word/numbering.xml",
});
this.archive.append(xmlHeader, {
name: "word/header1.xml",
});
this.archive.append(xmlRelationships, {
name: "word/_rels/document.xml.rels",
});