Skip to content

Style

Defined in: src/core/document-model/types.ts:723

ECMA-376 §17.7 — one style definition: its id, category, basedOn parent, and the run/paragraph properties it contributes (plus the table-style layers for type === 'table').

readonly optional basedOn?: string

Defined in: src/core/document-model/types.ts:726


readonly optional colBandSize?: number

Defined in: src/core/document-model/types.ts:735


readonly id: string

Defined in: src/core/document-model/types.ts:724


readonly isDefault: boolean

Defined in: src/core/document-model/types.ts:727


readonly paragraphProperties: ParagraphProperties

Defined in: src/core/document-model/types.ts:729


readonly optional rowBandSize?: number

Defined in: src/core/document-model/types.ts:734

w:tblPr/w:tblStyleRowBandSize / ColBandSize (default 1).


readonly runProperties: RunProperties

Defined in: src/core/document-model/types.ts:728


readonly optional tableConditions?: readonly TableStyleCondition[]

Defined in: src/core/document-model/types.ts:732


readonly optional tableLayer?: TableStyleLayer

Defined in: src/core/document-model/types.ts:731

Table styles only (§17.7.6): the base layer and conditional overrides.


readonly type: StyleType

Defined in: src/core/document-model/types.ts:725