Skip to content

Input

rtflite.input

TextAttributes

Bases: BaseModel

Base class for text-related attributes in RTF components

TableAttributes

Bases: TextAttributes

Base class for table-related attributes in RTF components

BroadcastValue

Bases: BaseModel

iloc(row_index, column_index)

Access a value using row and column indices, based on the data type.

Parameters: - row_index: The row index or slice (for lists and DataFrames). - column_index: The column index or slice (for DataFrames and dictionaries). Optional for lists.

Returns: - The accessed value or an appropriate error message.

to_dataframe()

Convert the value to a pandas DataFrame based on the dimension variable if it is not None.

Returns: - A pandas DataFrame representation of the value.

Raises: - ValueError: If the dimension is None or if the value cannot be converted to a DataFrame.

RTFPage

Bases: BaseModel

RTF page configuration

RTFTitle

RTFColumnHeader

Bases: TableAttributes

Class for RTF column header settings

RTFBody

Bases: TableAttributes

Class for RTF document body settings