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.

Constructors

Link copied to clipboard
constructor(alignment: RtfAlignment = RtfAlignment.Left, spaceBeforeTwips: Int = 0, spaceAfterTwips: Int = 0, firstLineIndentTwips: Int = 0, leftIndentTwips: Int = 0, keepWithNext: Boolean = false, bottomBorder: RtfBorder? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard