docx
Version:
Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.
16 lines (13 loc) • 420 B
text/typescript
import { XmlAttributeComponent } from "file/xml-components";
export interface IHyperlinkAttributesProperties {
readonly id?: string;
readonly anchor?: string;
readonly history: number;
}
export class HyperlinkAttributes extends XmlAttributeComponent<IHyperlinkAttributesProperties> {
protected readonly xmlKeys = {
id: "r:id",
history: "w:history",
anchor: "w:anchor",
};
}