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) 675 B
import { XmlComponent } from '../../xml-components'; import { PositiveUniversalMeasure, UniversalMeasure } from '../../../util/values'; export type IIndentAttributesProperties = { readonly start?: number | UniversalMeasure; readonly end?: number | UniversalMeasure; readonly left?: number | UniversalMeasure; readonly right?: number | UniversalMeasure; readonly hanging?: number | PositiveUniversalMeasure; readonly firstLine?: number | PositiveUniversalMeasure; readonly firstLineChars?: number; }; export declare const createIndent: ({ start, end, left, right, hanging, firstLine, firstLineChars }: IIndentAttributesProperties) => XmlComponent;