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

20 lines
452 B
TypeScript

import { XmlAttributeComponent } from "file/xml-components";
export enum HeaderReferenceType {
DEFAULT = "default",
FIRST = "first",
EVEN = "even",
}
export interface IHeaderReferenceAttributes {
readonly type: string;
readonly id: string;
}
export class HeaderReferenceAttributes extends XmlAttributeComponent<IHeaderReferenceAttributes> {
protected readonly xmlKeys = {
type: "w:type",
id: "r:id",
};
}