Merge pull request #789 from dolanmiu/feat/compat-mode
#627 Add footnotes relationships
This commit is contained in:
@ -26,6 +26,7 @@ interface IXmlifyedFileMapping {
|
||||
readonly CustomProperties: IXmlifyedFile;
|
||||
readonly AppProperties: IXmlifyedFile;
|
||||
readonly FootNotes: IXmlifyedFile;
|
||||
readonly FootNotesRelationships: IXmlifyedFile;
|
||||
readonly Settings: IXmlifyedFile;
|
||||
}
|
||||
|
||||
@ -189,9 +190,13 @@ export class Compiler {
|
||||
path: "docProps/app.xml",
|
||||
},
|
||||
FootNotes: {
|
||||
data: xml(this.formatter.format(file.FootNotes, file.Document), prettify),
|
||||
data: xml(this.formatter.format(file.FootNotes.View, file.FootNotes), prettify),
|
||||
path: "word/footnotes.xml",
|
||||
},
|
||||
FootNotesRelationships: {
|
||||
data: xml(this.formatter.format(file.FootNotes.Relationships, file.FootNotes), prettify),
|
||||
path: "word/_rels/footnotes.xml.rels",
|
||||
},
|
||||
Settings: {
|
||||
data: xml(this.formatter.format(file.Settings, file.Document), prettify),
|
||||
path: "word/settings.xml",
|
||||
|
Reference in New Issue
Block a user