Skip to content

@shbernal/ts-pptx


@shbernal/ts-pptx / index / TableLayoutResult

Interface: TableLayoutResult

Defined in: src/types/text.ts:651

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[]

Defined in: src/types/text.ts:653

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


heightExact

heightExact: boolean

Defined in: src/types/text.ts:659

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


heightIn

heightIn: number

Defined in: src/types/text.ts:657

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


widthIn

widthIn: number

Defined in: src/types/text.ts:655

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