added relationships

This commit is contained in:
Dolan Miu
2017-03-27 01:28:52 +01:00
parent 68fe380575
commit ad462dfe10
3 changed files with 25 additions and 0 deletions

14
ts/relationships/index.ts Normal file
View File

@ -0,0 +1,14 @@
import { XmlComponent } from "../docx/xml-components";
import { RelationshipsAttributes } from "./attributes";
export class Relationships extends XmlComponent {
constructor() {
super("Relationships");
this.root.push(new RelationshipsAttributes({
xmlns: "http://schemas.openxmlformats.org/package/2006/relationships",
}));
// this.root.push(new Created());
}
}