Skip to content

Interface: TableCellLayout ​

One cell's computed rectangle from TsPptx.tableLayout. All values are inches; x/y are absolute (offset from the table's x/y). For a merged cell, row/col are the top-left origin and wIn/hIn cover the whole span; the cells it covers are not emitted separately.

Properties ​

col ​

col: number

Zero-based grid column of the cell's top-left origin.


colSpan ​

colSpan: number

Number of columns the cell spans (1 if not merged).


heightExact ​

heightExact: boolean

true when hIn/yIn are pinned by an explicit rowH (array or scalar) or table h; false when the row is auto-height and the value is a conservative (tall) estimate from the same text model as TsPptx.measureText.


hIn ​

hIn: number

Outer cell height in inches (sum of spanned row heights).


row ​

row: number

Zero-based grid row of the cell's top-left origin.


rowSpan ​

rowSpan: number

Number of rows the cell spans (1 if not merged).


wIn ​

wIn: number

Outer cell width in inches (sum of spanned column widths).


xIn ​

xIn: number

Left edge in inches (absolute).


yIn ​

yIn: number

Top edge in inches (absolute).