Skip to content

Interface: MasterTextStyleLevel ​

Styling for one paragraph level (a:lvlNpPr) of a slide-master text style. Every field is optional; an unset field keeps PowerPoint's built-in default for that level. Configure via SlideMasterProps.textStyles.

Properties ​

align? ​

optional align?: HAlign

Horizontal alignment (a:lvlNpPr@algn).


bold? ​

optional bold?: boolean

Bold text (a:defRPr@b).


bullet? ​

optional bullet?: boolean | MasterBulletProps

Bullet config: false emits a:buNone; an object configures a char/number bullet. Unset keeps the level default.


color? ​

optional color?: string

Text color — hex ('C00000') or theme slot ('tx1') — emitted as a:defRPr/a:solidFill.


fontFace? ​

optional fontFace?: string

Font face (a:defRPr/a:latin@typeface). Unset keeps the theme font (+mn-lt/+mj-lt).


fontSize? ​

optional fontSize?: number

Font size in points (a:defRPr@sz), e.g. 24.


indent? ​

optional indent?: number

First-line indent in inches (a:lvlNpPr@indent); negative produces a hanging bullet.


italic? ​

optional italic?: boolean

Italic text (a:defRPr@i).


marginLeft? ​

optional marginLeft?: number

Left margin in inches (a:lvlNpPr@marL); for a hanging bullet this is the text indent.