Skip to main content

Interface: FlowTableOptions

Options for placing tables through the flow layout API.

Extends

Properties

PropertyTypeDescriptionInherited from
align?TextAlignHorizontal alignment for laid-out content.TableOptions.align
borderColor?ColorInputColor 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
borderWidth?numberWidth of the cell grid lines in PDF points. Defaults to 0.75 when borderColor is set.TableOptions.borderWidth
cellPadding?numberPadding inside table cells in PDF points.TableOptions.cellPadding
characterSpacing?numberAdditional spacing between characters in PDF points.TableOptions.characterSpacing
color?ColorInputColor used for drawing, text, or highlighting.TableOptions.color
columnWidths?readonly number[]Explicit table column widths in PDF points.TableOptions.columnWidths
direction?TextDirectionText direction used for shaping and layout.TableOptions.direction
fallbackFonts?PdfFont[]Fallback fonts used when the primary font lacks a glyph.TableOptions.fallbackFonts
font?PdfFontFont used to render text.TableOptions.font
fontSize?numberFont size in PDF points.TableOptions.fontSize
headerBackground?ColorInputBackground fill behind header cells (header rows/columns and cells marked header: true).TableOptions.headerBackground
headerColumns?numberNumber of leading columns treated as table headers.TableOptions.headerColumns
headerRows?numberNumber of leading rows treated as table headers.TableOptions.headerRows
kerning?booleanWhether kerning should be applied where supported.TableOptions.kerning
lineHeight?numberLine height in PDF points.TableOptions.lineHeight
margin?FlowMarginShorthandCSS-like margin shorthand in PDF points.FlowBlockSpacingOptions.margin
marginBottom?numberBottom margin in PDF points.FlowBlockSpacingOptions.marginBottom
marginLeft?numberLeft margin in PDF points.FlowBlockSpacingOptions.marginLeft
marginRight?numberRight margin in PDF points.FlowBlockSpacingOptions.marginRight
marginTop?numberTop margin in PDF points.FlowBlockSpacingOptions.marginTop
rowGap?numberGap between table rows in PDF points.TableOptions.rowGap
structure?PdfStructureOptionsAdditional structure metadata for tagged PDF output.TableOptions.structure
summary?stringTable summary for accessibility (/Summary attribute on the table structure element). Provides a description of the table for screen readers.TableOptions.summary
verticalAlign?VerticalAlignVertical 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
width?numberWidth in PDF points.-
wordSpacing?numberAdditional spacing between words in PDF points.TableOptions.wordSpacing
zebra?boolean | ColorInputAlternate-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