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

18 lines
380 B
TypeScript
Raw Normal View History

2018-01-29 02:56:35 +00:00
import { XmlAttributeComponent } from "file/xml-components";
export enum HeaderReferenceType {
DEFAULT = "default",
FIRST = "first",
EVEN = "even",
}
2021-03-15 00:11:39 +00:00
export class HeaderReferenceAttributes extends XmlAttributeComponent<{
readonly type: string;
readonly id: string;
2021-03-15 00:11:39 +00:00
}> {
protected readonly xmlKeys = {
2018-01-29 02:56:35 +00:00
type: "w:type",
id: "r:id",
};
}