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) 441 B
import { IContext, IXmlableObject, XmlComponent } from "../../file/xml-components"; import { ICustomPropertyOptions } from "./custom-property"; export declare class CustomProperties extends XmlComponent { private nextId; private readonly properties; constructor(properties: ICustomPropertyOptions[]); prepForXml(context: IContext): IXmlableObject | undefined; addCustomProperty(property: ICustomPropertyOptions): void; }