UNPKG

docx

Version:

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

15 lines (14 loc) 609 B
import { IParagraphStylePropertiesOptions, IRunStylePropertiesOptions } from '../../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; } export declare class StyleForParagraph extends Style { private readonly paragraphProperties; private readonly runProperties; constructor(options: IParagraphStyleOptions); }