UNPKG

docx

Version:

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

11 lines (10 loc) 471 B
import { IContext, IXmlableObject, XmlComponent } from "../../../file/xml-components"; import { ISectionPropertiesOptions } from "./section-properties/section-properties"; export declare class Body extends XmlComponent { private readonly sections; constructor(); addSection(options: ISectionPropertiesOptions): void; prepForXml(context: IContext): IXmlableObject | undefined; push(component: XmlComponent): void; private createSectionParagraph; }