RunProperties
Defined in: src/core/document-model/types.ts:51
ECMA-376 Part 1 §17.3.2 — Run Properties (rPr). All fields optional so the
cascade can inherit them (undefined = “inherit from parent in the style
chain”). Boolean toggle properties follow §17.17.4: an absent <w:b/> means
“inherit”; a present <w:b/> with no val (or val=true/1/on) means true;
val=false/0/off means explicit false.
Properties
Section titled “Properties”
readonlyoptionalbold?:boolean
Defined in: src/core/document-model/types.ts:53
colorHex?
Section titled “colorHex?”
readonlyoptionalcolorHex?:string
Defined in: src/core/document-model/types.ts:58
fontFamily?
Section titled “fontFamily?”
readonlyoptionalfontFamily?:FontFamilyMap
Defined in: src/core/document-model/types.ts:59
fontSizePt?
Section titled “fontSizePt?”
readonlyoptionalfontSizePt?:Pt
Defined in: src/core/document-model/types.ts:57
italic?
Section titled “italic?”
readonlyoptionalitalic?:boolean
Defined in: src/core/document-model/types.ts:54
readonlyoptionallang?:string
Defined in: src/core/document-model/types.ts:70
ECMA-376 §17.3.2.20 — w:lang @w:val (e.g. "en-US", "ru-RU"). Used for
the tagged-PDF per-element /Lang; does not affect visual layout.
readonlyoptionalrtl?:boolean
Defined in: src/core/document-model/types.ts:65
ECMA-376 §17.3.2.30 — w:rtl. Marks the run as right-to-left, which seeds
the BiDi algorithm with an R/AL bias even for neutral characters.
strike?
Section titled “strike?”
readonlyoptionalstrike?:boolean
Defined in: src/core/document-model/types.ts:56
styleId?
Section titled “styleId?”
readonlyoptionalstyleId?:string
Defined in: src/core/document-model/types.ts:52
underline?
Section titled “underline?”
readonlyoptionalunderline?:UnderlineStyle
Defined in: src/core/document-model/types.ts:55
verticalAlign?
Section titled “verticalAlign?”
readonlyoptionalverticalAlign?:VerticalAlign
Defined in: src/core/document-model/types.ts:60