Called by a row when its height changes. Triggers the graphic frame to recalculate its total height (as the sum of the row heights).
(self)
| 120 | self._tbl.lastRow = value |
| 121 | |
| 122 | def notify_height_changed(self) -> None: |
| 123 | """Called by a row when its height changes. |
| 124 | |
| 125 | Triggers the graphic frame to recalculate its total height (as the sum of the row |
| 126 | heights). |
| 127 | """ |
| 128 | new_table_height = Emu(sum([row.height for row in self.rows])) |
| 129 | self._graphic_frame.height = new_table_height |
| 130 | |
| 131 | def notify_width_changed(self) -> None: |
| 132 | """Called by a column when its width changes. |