docx
Version:
Generate .docx documents with JavaScript (formerly Office-Clippy)
16 lines (13 loc) • 435 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",
};
}