OOXML Structure
Use case
- Visual hierarchy - Different sizes for headers, body, and footnotes
- Emphasis - Larger text draws attention without bold
- Readability - Adjust size for screen distance and user preference
- Professional documents - Match specific formatting requirements
Options
Configure the extension behavior:Array<string>
default:"['textStyle','tableCell']"
Node/mark types to add font size support to
FontSizeDefaults
Default size configuration
Attributes
Node attributes that can be set and retrieved:FontSizeValue
Font size with unit
Commands
setFontSize
Set font size
Automatically clamps to min/max values
FontSizeValue
required
Size to apply (with optional unit)
unsetFontSize
Remove font size
Reverts to default document size

