mdast2docx logo Md2Docx
Version 0.1.2API DocsInterfaces

IFirstRowCellProps

Updated 5 min ago

Defined in: packages/table/src/index.ts:43

Props for the first row cell component.

Extends

Properties

alignment?

optional alignment?: "center" | "left" | "right" | "start" | "end" | "both" | "mediumKashida" | "distribute" | "numTab" | "highKashida" | "lowKashida" | "thaiDistribute"

Defined in: packages/table/src/index.ts:49

Text alignment for the cell.

Deprecated

Use the data.alignment property instead.

borders?

readonly optional borders?: ITableCellBorders

Defined in: node_modules/.pnpm/docx@9.12.0/node_modules/docx/dist/index.d.ts:7545

Border settings for the cell edges

Inherited from

CellProps.borders

cellMerge?

readonly optional cellMerge?: ICellMergeAttributes

Defined in: node_modules/.pnpm/docx@9.12.0/node_modules/docx/dist/index.d.ts:7548

Inherited from

CellProps.cellMerge

columnSpan?

readonly optional columnSpan?: number

Defined in: node_modules/.pnpm/docx@9.12.0/node_modules/docx/dist/index.d.ts:7541

Number of columns this cell spans (horizontal merge)

Inherited from

CellProps.columnSpan

data?

optional data?: Omit<Mutable<IParagraphOptions>, "children"> & object & Mutable<Omit<IRunOptions, "children">> & object

Defined in: packages/table/src/index.ts:57

Content and styling options for the cell.

Combines mutable paragraph and run options, and optionally supports alignment.

Type Declaration

checked?

optional checked?: boolean | null

pre?

optional pre?: boolean

pre?

optional pre?: boolean

deletion?

readonly optional deletion?: IChangedAttributesProperties

Defined in: node_modules/.pnpm/docx@9.12.0/node_modules/docx/dist/index.d.ts:7547

Inherited from

CellProps.deletion

includeIfEmpty?

readonly optional includeIfEmpty?: boolean

Defined in: node_modules/.pnpm/docx@9.12.0/node_modules/docx/dist/index.d.ts:7524

Inherited from

CellProps.includeIfEmpty

insertion?

readonly optional insertion?: IChangedAttributesProperties

Defined in: node_modules/.pnpm/docx@9.12.0/node_modules/docx/dist/index.d.ts:7546

Inherited from

CellProps.insertion

margins?

readonly optional margins?: ITableCellMarginOptions

Defined in: node_modules/.pnpm/docx@9.12.0/node_modules/docx/dist/index.d.ts:7531

Cell margins (padding) for the cell content

Inherited from

CellProps.margins

revision?

readonly optional revision?: ITableCellPropertiesChangeOptions

Defined in: node_modules/.pnpm/docx@9.12.0/node_modules/docx/dist/index.d.ts:7523

Inherited from

CellProps.revision

rowSpan?

readonly optional rowSpan?: number

Defined in: node_modules/.pnpm/docx@9.12.0/node_modules/docx/dist/index.d.ts:7543

Number of rows this cell spans (vertical merge)

Inherited from

CellProps.rowSpan

shading?

readonly optional shading?: IShadingAttributesProperties

Defined in: node_modules/.pnpm/docx@9.12.0/node_modules/docx/dist/index.d.ts:7529

Shading (background color/pattern) for the cell

Inherited from

CellProps.shading

textDirection?

readonly optional textDirection?: "btLr" | "lrTb" | "tbRl"

Defined in: node_modules/.pnpm/docx@9.12.0/node_modules/docx/dist/index.d.ts:7535

Text direction/flow within the cell

Inherited from

CellProps.textDirection

verticalAlign?

readonly optional verticalAlign?: TableVerticalAlign

Defined in: node_modules/.pnpm/docx@9.12.0/node_modules/docx/dist/index.d.ts:7533

Vertical alignment of content within the cell

Inherited from

CellProps.verticalAlign

verticalMerge?

readonly optional verticalMerge?: "continue" | "restart"

Defined in: node_modules/.pnpm/docx@9.12.0/node_modules/docx/dist/index.d.ts:7537

Vertical merge setting for the cell

Inherited from

CellProps.verticalMerge

width?

readonly optional width?: ITableWidthProperties

Defined in: node_modules/.pnpm/docx@9.12.0/node_modules/docx/dist/index.d.ts:7539

Width specification for the cell

Inherited from

CellProps.width

On this page