UNPKG

docx

Version:

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

14 lines (13 loc) 525 B
import { IRunStylePropertiesOptions } from "../../../file/paragraph/run/properties"; import { IStyleOptions, Style } from "./style"; export interface IBaseCharacterStyleOptions extends IStyleOptions { readonly run?: IRunStylePropertiesOptions; } export interface ICharacterStyleOptions extends IBaseCharacterStyleOptions { readonly id: string; readonly name?: string; } export declare class StyleForCharacter extends Style { private readonly runProperties; constructor(options: ICharacterStyleOptions); }