Initial Commit
This commit is contained in:
@ -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}`,
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user