UNPKG

docx

Version:

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

16 lines (15 loc) 645 B
import { IParagraphStylePropertiesOptions, IRunStylePropertiesOptions } from "../../../file/paragraph"; import { IStyleOptions, Style } from "./style"; export interface IBaseParagraphStyleOptions extends IStyleOptions { readonly paragraph?: IParagraphStylePropertiesOptions; readonly run?: IRunStylePropertiesOptions; } export interface IParagraphStyleOptions extends IBaseParagraphStyleOptions { readonly id: string; readonly name?: string; } export declare class StyleForParagraph extends Style { private readonly paragraphProperties; private readonly runProperties; constructor(options: IParagraphStyleOptions); }