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

@ -0,0 +1,14 @@
import { XmlComponent } from "file/xml-components";
import { HeaderReferenceAttributes } from "./header-reference-attributes";
export class HeaderReference extends XmlComponent {
constructor() {
super("w:headerReference");
this.root.push(
new HeaderReferenceAttributes({
type: "default",
id: `rId${3}`,
}),
);
}
}