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) 594 B
import { IParagraphStylePropertiesOptions } from "../../../file/paragraph/properties"; import { IRunStylePropertiesOptions } from "../../../file/paragraph/run/properties"; import { XmlComponent } from "../../../file/xml-components"; export interface IDocumentDefaultsOptions { readonly paragraph?: IParagraphStylePropertiesOptions; readonly run?: IRunStylePropertiesOptions; } export declare class DocumentDefaults extends XmlComponent { private readonly runPropertiesDefaults; private readonly paragraphPropertiesDefaults; constructor(options: IDocumentDefaultsOptions); }