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