UNPKG

docx

Version:

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

12 lines (11 loc) 527 B
import { WidthType } from '..'; import { XmlComponent } from '../../xml-components'; export type ITableCellMarginOptions = { readonly marginUnitType?: (typeof WidthType)[keyof typeof WidthType]; readonly top?: number; readonly bottom?: number; readonly left?: number; readonly right?: number; }; export declare const createTableCellMargin: (options: ITableCellMarginOptions) => XmlComponent | undefined; export declare const createCellMargin: (options: ITableCellMarginOptions) => XmlComponent | undefined;