Appearance
a11ydocs / 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:2120 |
borderColor? | ColorInput | Color of the cell grid lines. Setting this (or borderWidth) draws a border around every cell. Drawn as an artifact (not part of the structure tree). | TableOptions.borderColor | src/types.ts:2141 |
borderWidth? | number | Width of the cell grid lines in PDF points. Defaults to 0.75 when borderColor is set. | TableOptions.borderWidth | src/types.ts:2143 |
cellPadding? | number | Padding inside table cells in PDF points. | TableOptions.cellPadding | src/types.ts:2100 |
characterSpacing? | number | Additional spacing between characters in PDF points. | TableOptions.characterSpacing | src/types.ts:2114 |
color? | ColorInput | Color used for drawing, text, or highlighting. | TableOptions.color | src/types.ts:2112 |
columnWidths? | readonly number[] | Explicit table column widths in PDF points. | TableOptions.columnWidths | src/types.ts:2094 |
direction? | TextDirection | Text direction used for shaping and layout. | TableOptions.direction | src/types.ts:2108 |
fallbackFonts? | PdfFont[] | Fallback fonts used when the primary font lacks a glyph. | TableOptions.fallbackFonts | src/types.ts:2106 |
font? | PdfFont | Font used to render text. | TableOptions.font | src/types.ts:2104 |
fontSize? | number | Font size in PDF points. | TableOptions.fontSize | src/types.ts:2110 |
headerBackground? | ColorInput | Background fill behind header cells (header rows/columns and cells marked header: true). | TableOptions.headerBackground | src/types.ts:2145 |
headerColumns? | number | Number of leading columns treated as table headers. | TableOptions.headerColumns | src/types.ts:2098 |
headerRows? | number | Number of leading rows treated as table headers. | TableOptions.headerRows | src/types.ts:2096 |
kerning? | boolean | Whether kerning should be applied where supported. | TableOptions.kerning | src/types.ts:2128 |
lineHeight? | number | Line height in PDF points. | TableOptions.lineHeight | src/types.ts:2118 |
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:2102 |
structure? | PdfStructureOptions | Additional structure metadata for tagged PDF output. | TableOptions.structure | src/types.ts:2130 |
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:2135 |
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:2126 |
width? | number | Width in PDF points. | - | src/types.ts:1234 |
wordSpacing? | number | Additional spacing between words in PDF points. | TableOptions.wordSpacing | src/types.ts:2116 |
zebra? | boolean | ColorInput | Alternate-row striping for body rows: true fills every second body row with a light gray, or pass a color. Header rows are not striped. | TableOptions.zebra | src/types.ts:2150 |