Skip to content

@shbernal/pptxgenjs


@shbernal/pptxgenjs / index / TableLayoutResult

Interface: TableLayoutResult

Defined in: core-interfaces.ts:2118

Result of PptxGenJS.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[]

Defined in: core-interfaces.ts:2120

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


heightExact

heightExact: boolean

Defined in: core-interfaces.ts:2126

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


heightIn

heightIn: number

Defined in: core-interfaces.ts:2124

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


widthIn

widthIn: number

Defined in: core-interfaces.ts:2122

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