Skip to content

TabStop

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

§17.3.1.38 w:tab — one stop in a paragraph’s tab list: where the text after a tab character goes, how it sits against that position, and what fills the gap on the way there.

readonly alignment: "right" | "left" | "center" | "decimal"

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

§17.18.90 ST_TabJc — how the text after the tab sits against the stop.


readonly optional leader?: "dot" | "hyphen" | "underscore" | "middleDot"

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

§17.18.89 ST_TabTlc — the character drawn across the gap.


readonly positionPt: Pt

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

Distance from the text margin, in points (w:pos, twips). Ignored when relativeTo names an edge — a §17.3.3.15 w:ptab positions against the column itself, whose width only the layout knows.


readonly optional relativeTo?: "right" | "center"

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

§17.3.3.15 w:ptab — an ABSOLUTE position tab, which goes to the middle or the far side of the text column rather than to a stated distance.