Remove old implementation of first page header

This commit is contained in:
Dolan
2018-06-25 22:13:12 +01:00
parent 2a0b45dc20
commit 84ebf8e6c3
5 changed files with 12 additions and 80 deletions

View File

@ -33,7 +33,6 @@ export class Compiler {
const xmlNumbering = xml(this.formatter.format(this.file.Numbering));
const xmlRelationships = xml(this.formatter.format(this.file.DocumentRelationships));
const xmlFileRelationships = xml(this.formatter.format(this.file.FileRelationships));
const xmlHeader2 = xml(this.formatter.format(this.file.firstPageHeader.Header));
const xmlContentTypes = xml(this.formatter.format(this.file.ContentTypes));
const xmlAppProperties = xml(this.formatter.format(this.file.AppProperties));
@ -57,10 +56,6 @@ export class Compiler {
name: "word/numbering.xml",
});
this.archive.append(xmlHeader2, {
name: "word/header2.xml",
});
// headers
for (let i = 0; i < this.file.Headers.length; i++) {
const element = this.file.Headers[i];