Files
docx-js/src/file/document/body/section-properties/header-reference/header-reference.ts

15 lines
403 B
TypeScript
Raw Normal View History

2018-01-29 02:56:35 +00:00
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}`,
}),
);
}
}