Appearance
zeropdf / FlowTableOptions
Interface: FlowTableOptions
Defined in: src/types.ts:1231
Options for placing tables through the flow layout API.
Extends
Omit<TableOptions,"x"|"y"|"width">.FlowBlockSpacingOptions
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
align? | TextAlign | Horizontal alignment for laid-out content. | TableOptions.align | src/types.ts:2081 |
cellPadding? | number | Padding inside table cells in PDF points. | TableOptions.cellPadding | src/types.ts:2061 |
characterSpacing? | number | Additional spacing between characters in PDF points. | TableOptions.characterSpacing | src/types.ts:2075 |
color? | ColorInput | Color used for drawing, text, or highlighting. | TableOptions.color | src/types.ts:2073 |
columnWidths? | readonly number[] | Explicit table column widths in PDF points. | TableOptions.columnWidths | src/types.ts:2055 |
direction? | TextDirection | Text direction used for shaping and layout. | TableOptions.direction | src/types.ts:2069 |
fallbackFonts? | PdfFont[] | Fallback fonts used when the primary font lacks a glyph. | TableOptions.fallbackFonts | src/types.ts:2067 |
font? | PdfFont | Font used to render text. | TableOptions.font | src/types.ts:2065 |
fontSize? | number | Font size in PDF points. | TableOptions.fontSize | src/types.ts:2071 |
headerColumns? | number | Number of leading columns treated as table headers. | TableOptions.headerColumns | src/types.ts:2059 |
headerRows? | number | Number of leading rows treated as table headers. | TableOptions.headerRows | src/types.ts:2057 |
kerning? | boolean | Whether kerning should be applied where supported. | TableOptions.kerning | src/types.ts:2089 |
lineHeight? | number | Line height in PDF points. | TableOptions.lineHeight | src/types.ts:2079 |
margin? | FlowMarginShorthand | CSS-like margin shorthand in PDF points. | FlowBlockSpacingOptions.margin | src/types.ts:1137 |
marginBottom? | number | Bottom margin in PDF points. | FlowBlockSpacingOptions.marginBottom | src/types.ts:1143 |
marginLeft? | number | Left margin in PDF points. | FlowBlockSpacingOptions.marginLeft | src/types.ts:1145 |
marginRight? | number | Right margin in PDF points. | FlowBlockSpacingOptions.marginRight | src/types.ts:1141 |
marginTop? | number | Top margin in PDF points. | FlowBlockSpacingOptions.marginTop | src/types.ts:1139 |
rowGap? | number | Gap between table rows in PDF points. | TableOptions.rowGap | src/types.ts:2063 |
structure? | PdfStructureOptions | Additional structure metadata for tagged PDF output. | TableOptions.structure | src/types.ts:2091 |
summary? | string | Table summary for accessibility (/Summary attribute on the table structure element). Provides a description of the table for screen readers. | TableOptions.summary | src/types.ts:2096 |
verticalAlign? | VerticalAlign | Vertical alignment of each cell's content within its row height. Applies to cells shorter than the tallest cell in the row. Defaults to "top". Can be overridden per cell via TableCellDefinition.verticalAlign. | TableOptions.verticalAlign | src/types.ts:2087 |
width? | number | Width in PDF points. | - | src/types.ts:1234 |
wordSpacing? | number | Additional spacing between words in PDF points. | TableOptions.wordSpacing | src/types.ts:2077 |