Appearance
@shbernal/ts-pptx / index / MasterTextStyleLevel
Interface: MasterTextStyleLevel
Defined in: src/types/master.ts:75
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?
optionalalign?:HAlign
Defined in: src/types/master.ts:87
Horizontal alignment (a:lvlNpPr@algn).
bold?
optionalbold?:boolean
Defined in: src/types/master.ts:83
Bold text (a:defRPr@b).
bullet?
optionalbullet?:boolean|MasterBulletProps
Defined in: src/types/master.ts:93
Bullet config: false emits a:buNone; an object configures a char/number bullet. Unset keeps the level default.
color?
optionalcolor?:string
Defined in: src/types/master.ts:81
Text color — hex ('C00000') or theme slot ('tx1') — emitted as a:defRPr/a:solidFill.
fontFace?
optionalfontFace?:string
Defined in: src/types/master.ts:79
Font face (a:defRPr/a:latin@typeface). Unset keeps the theme font (+mn-lt/+mj-lt).
fontSize?
optionalfontSize?:number
Defined in: src/types/master.ts:77
Font size in points (a:defRPr@sz), e.g. 24.
indent?
optionalindent?:number
Defined in: src/types/master.ts:91
First-line indent in inches (a:lvlNpPr@indent); negative produces a hanging bullet.
italic?
optionalitalic?:boolean
Defined in: src/types/master.ts:85
Italic text (a:defRPr@i).
marginLeft?
optionalmarginLeft?:number
Defined in: src/types/master.ts:89
Left margin in inches (a:lvlNpPr@marL); for a hanging bullet this is the text indent.