UNPKG

docx

Version:

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

19 lines (18 loc) 528 B
import { XmlComponent } from '../../xml-components'; export declare enum LineRuleType { AT_LEAST = "atLeast", EXACTLY = "exactly", EXACT = "exact", AUTO = "auto" } export interface ISpacingProperties { readonly after?: number; readonly before?: number; readonly line?: number; readonly lineRule?: LineRuleType; readonly beforeAutoSpacing?: boolean; readonly afterAutoSpacing?: boolean; } export declare class Spacing extends XmlComponent { constructor(options: ISpacingProperties); }