Appearance
@shbernal/pptxgenjs / index / MasterTextStyleLevel
Interface: MasterTextStyleLevel
Defined in: core-interfaces.ts:3120
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: core-interfaces.ts:3132
Horizontal alignment (a:lvlNpPr@algn).
bold?
optionalbold?:boolean
Defined in: core-interfaces.ts:3128
Bold text (a:defRPr@b).
bullet?
optionalbullet?:boolean|MasterBulletProps
Defined in: core-interfaces.ts:3138
Bullet config: false emits a:buNone; an object configures a char/number bullet. Unset keeps the level default.
color?
optionalcolor?:string
Defined in: core-interfaces.ts:3126
Text color — hex ('C00000') or theme slot ('tx1') — emitted as a:defRPr/a:solidFill.
fontFace?
optionalfontFace?:string
Defined in: core-interfaces.ts:3124
Font face (a:defRPr/a:latin@typeface). Unset keeps the theme font (+mn-lt/+mj-lt).
fontSize?
optionalfontSize?:number
Defined in: core-interfaces.ts:3122
Font size in points (a:defRPr@sz), e.g. 24.
indent?
optionalindent?:number
Defined in: core-interfaces.ts:3136
First-line indent in inches (a:lvlNpPr@indent); negative produces a hanging bullet.
italic?
optionalitalic?:boolean
Defined in: core-interfaces.ts:3130
Italic text (a:defRPr@i).
marginLeft?
optionalmarginLeft?:number
Defined in: core-interfaces.ts:3134
Left margin in inches (a:lvlNpPr@marL); for a hanging bullet this is the text indent.