UNPKG

docx

Version:

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

13 lines (12 loc) 568 B
import { IParagraphStylePropertiesOptions } from '../../paragraph/properties'; import { IRunStylePropertiesOptions } from '../../paragraph/run/properties'; import { XmlComponent } from '../../xml-components'; export type IDocumentDefaultsOptions = { readonly paragraph?: IParagraphStylePropertiesOptions; readonly run?: IRunStylePropertiesOptions; }; export declare class DocumentDefaults extends XmlComponent { private readonly runPropertiesDefaults; private readonly paragraphPropertiesDefaults; constructor(options: IDocumentDefaultsOptions); }