UNPKG

docx

Version:

Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.

20 lines (19 loc) 647 B
import { XmlComponent } from '../../xml-components'; import { ParagraphChild } from '../paragraph'; export type IBookmarkOptions = { readonly id: string; readonly children: readonly ParagraphChild[]; }; export declare class Bookmark { private readonly bookmarkUniqueNumericId; readonly start: BookmarkStart; readonly children: readonly ParagraphChild[]; readonly end: BookmarkEnd; constructor(options: IBookmarkOptions); } export declare class BookmarkStart extends XmlComponent { constructor(id: string, linkId: number); } export declare class BookmarkEnd extends XmlComponent { constructor(linkId: number); }