docx
Version:
Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.
18 lines (17 loc) • 554 B
TypeScript
import { XmlComponent } from "../../../file/xml-components";
import { ParagraphChild } from "../paragraph";
export declare class Bookmark {
readonly start: BookmarkStart;
readonly children: ParagraphChild[];
readonly end: BookmarkEnd;
constructor(options: {
readonly id: string;
readonly children: ParagraphChild[];
});
}
export declare class BookmarkStart extends XmlComponent {
constructor(id: string, linkId: string);
}
export declare class BookmarkEnd extends XmlComponent {
constructor(linkId: string);
}