Initial Commit

This commit is contained in:
Tyler Bell
2018-05-12 20:04:54 -04:00
parent 4d7bdc2ed9
commit 87648a742c
14 changed files with 301 additions and 8 deletions

View File

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