RtfParagraphStyle
data class RtfParagraphStyle(val alignment: RtfAlignment = RtfAlignment.Left, val spaceBeforeTwips: Int = 0, val spaceAfterTwips: Int = 0, val firstLineIndentTwips: Int = 0, val leftIndentTwips: Int = 0, val keepWithNext: Boolean = false, val bottomBorder: RtfBorder? = null)(source)
Paragraph-level formatting. All measurements are in twips (twentieths of a point; 1440 = 1 inch); firstLineIndentTwips may be negative for a hanging indent.
Parameters
spaceBeforeTwips
\sbN space above the paragraph.
spaceAfterTwips
\saN space below the paragraph.
firstLineIndentTwips
\fiN first-line indent (negative hangs).
leftIndentTwips
\liN left indent for the whole paragraph.
keepWithNext
\keepn — keep this paragraph on the same page as the next.
bottomBorder
a rule drawn below the paragraph; an empty paragraph with one renders a \hr.