docx
Version:
Generate .docx documents with JavaScript (formerly Office-Clippy)
24 lines (19 loc) • 633 B
text/typescript
import { XmlAttributeComponent } from "file/xml-components";
export interface IBookmarkStartAttributesProperties {
readonly id: string;
readonly name: string;
}
export class BookmarkStartAttributes extends XmlAttributeComponent<IBookmarkStartAttributesProperties> {
protected readonly xmlKeys = {
id: "w:id",
name: "w:name",
};
}
export interface IBookmarkEndAttributesProperties {
readonly id: string;
}
export class BookmarkEndAttributes extends XmlAttributeComponent<IBookmarkEndAttributesProperties> {
protected readonly xmlKeys = {
id: "w:id",
};
}