UNPKG

docx

Version:

Generate .docx documents with JavaScript (formerly Office-Clippy)

16 lines (15 loc) 906 B
import { IgnoreIfEmptyXmlComponent } from "../../../file/xml-components"; import { ITableShadingAttributesProperties } from "../shading"; import { ITableCellMarginOptions } from "./cell-margin/table-cell-margins"; import { TableCellBorders, VerticalAlign, VMergeType, WidthType } from "./table-cell-components"; export declare class TableCellProperties extends IgnoreIfEmptyXmlComponent { private readonly cellBorder; constructor(); readonly Borders: TableCellBorders; addGridSpan(cellSpan: number): TableCellProperties; addVerticalMerge(type: VMergeType): TableCellProperties; setVerticalAlign(type: VerticalAlign): TableCellProperties; setWidth(width: string | number, type?: WidthType): TableCellProperties; setShading(attrs: ITableShadingAttributesProperties): TableCellProperties; addMargins(options: ITableCellMarginOptions): TableCellProperties; }