UNPKG

docx

Version:

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

10 lines (9 loc) 396 B
import { InitializableXmlComponent, XmlComponent } from "../../file/xml-components"; import { Paragraph } from "../paragraph"; import { Table } from "../table"; export declare class Header extends InitializableXmlComponent { private readonly refId; constructor(referenceNumber: number, initContent?: XmlComponent); get ReferenceId(): number; add(item: Paragraph | Table): void; }