Skip to content

Row

rtflite.row

TextContent

Bases: BaseModel

Represents RTF text with formatting.

_as_rtf(method)

Format source as RTF.

_convert_special_chars()

Convert special characters to RTF codes.

_get_paragraph_formatting()

Get RTF paragraph formatting codes.

_get_text_formatting()

Get RTF text formatting codes.

Border

Bases: BaseModel

Represents a single border's style, color, and width.

_as_rtf()

Get RTF border style codes.

Cell

Bases: BaseModel

Represents a cell in an RTF table.

_as_rtf()

Format a single table cell in RTF.

Row

Bases: BaseModel

Represents a row in an RTF table.

_as_rtf()

Format a row of cells in RTF. Returns mutable list since we're building it.