UNPKG

docx

Version:

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

21 lines (20 loc) 985 B
import { VerticalAlign } from '../../vertical-align'; import { IgnoreIfEmptyXmlComponent } from '../../xml-components'; import { IShadingAttributesProperties } from "../../shading"; import { ITableCellMarginOptions } from "../table-properties/table-cell-margin"; import { ITableWidthProperties } from "../table-width"; import { ITableCellBorders, TextDirection, VerticalMergeType } from "./table-cell-components"; export interface ITableCellPropertiesOptions { readonly shading?: IShadingAttributesProperties; readonly margins?: ITableCellMarginOptions; readonly verticalAlign?: VerticalAlign; readonly textDirection?: TextDirection; readonly verticalMerge?: VerticalMergeType; readonly width?: ITableWidthProperties; readonly columnSpan?: number; readonly rowSpan?: number; readonly borders?: ITableCellBorders; } export declare class TableCellProperties extends IgnoreIfEmptyXmlComponent { constructor(options: ITableCellPropertiesOptions); }