Skip to content

Interface: TableLayoutResult ​

Result of TsPptx.tableLayout: per-cell geometry plus overall table bounds, for placing images/shapes over a table without rendering it. Geometry is for a single, un-paginated table laid out at opts.x/y/w; autoPage paging is not modeled. Widths are exact; auto-height row heights are conservative estimates (see TableCellLayout.heightExact).

Properties ​

cells ​

cells: TableCellLayout[]

One entry per non-merged origin cell, in row-major order.


heightExact ​

heightExact: boolean

false if any row height was estimated (the total errs tall, like measureText).


heightIn ​

heightIn: number

Overall table height in inches (sum of row heights; may include estimates).


widthIn ​

widthIn: number

Overall table width in inches (sum of column widths).