(
self,
rows: Sequence[RowDefinition],
col_max: int = 30,
col_spacing: int = 2,
)
| 57 | super().write_heading(style(heading, bold=True)) |
| 58 | |
| 59 | def write_rd( |
| 60 | self, |
| 61 | rows: Sequence[RowDefinition], |
| 62 | col_max: int = 30, |
| 63 | col_spacing: int = 2, |
| 64 | ) -> None: |
| 65 | modified_rows = [] |
| 66 | for row in rows: |
| 67 | extra_row_modifiers = row.extra_row_modifiers or [] |
| 68 | modified_row = row |
| 69 | for row_modifier in self.modifiers + extra_row_modifiers: |
| 70 | modified_row = row_modifier.apply(row=modified_row, justification_length=self.left_justification_length) |
| 71 | modified_rows.append((modified_row.name, modified_row.text)) |
| 72 | |
| 73 | super().write_dl(modified_rows, col_max=col_max, col_spacing=col_spacing) |
| 74 | |
| 75 | def write_text_rows( |
| 76 | self, |
no test coverage detected