API reference / Common / Engine types / TextParagraphSpacing
Type Alias: TextParagraphSpacing
ts
type TextParagraphSpacing =
| {
points: number;
}
| "auto";The gap above or below a paragraph (a:spcBef / a:spcAft / w:spacing@before / @after).
A measured gap is Points — pptx's spcPct and docx's @beforeLines / @afterLines resolve to points at import. Auto is docx's @beforeAutospacing / @afterAutospacing, which HTML-authored documents use constantly and which leaves the amount to the consumer; exporting one to pptx resolves it to points.